Machine and Motion Control Forum
Support forum for Machine and Motion Control solutions, including Lexium MC12 and robotics, PacDrive, Modicon PLCs and I/Os, EcoStruxure Machine Expert Twin, … - from design, implementation to troubleshooting and more, by Schneider Electric
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-01-28 05:03 AM
Hello,
I have two PLCs: a TM251MESE (which is the master) and a TM221CE24R (which is the slave). On my slave I've set some values for three memory words (%MW100=13, %MW101=11 and %MW102=6). I want to see these values on my master PLC. I have followed this example.
My problem is that when PLC is RUN mode I don't get rid of that "The bus is nor running. The shown values are perhaps not actual." What I'm concerned of is the communication status. I have seen here that the red triangle (please see the attached photo) means the controller is unable to communicate with the device, but I really don't know why. I've used a software which connects to Modbus slave and I could seethe MWs values.
What should I do to see these values, through Modbus TCP, on my master PLC?
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-01-28 06:15 AM . Last Modified: 2021-01-28 06:16 AM
If you look at your capture for the M251, you have the configured settings on the left and the current settings on the right. On the right, your IP address is at the default IP 10.10.xxx.xxx . The controller typically revert to it's default address when there's an issue with the address. A possible reason could be an IP address conflict (there's already another device with the same IP address on the network). The other thing is you have to make sure that Ethernet 1 and Ethernet 2 on the M251 are on different subnet (both can't be at 192.168.44.xxx)
I didn't see your Slave configuration under the Industrial Ethernet Manager on the M251 but is it configured as Fixed IP address? Because under your M251 Ethernet port 2, the DHCP server is active (checkbox in the config tab). When this is active and you add a new generic slave, the slave is automatically added to receive an IP by DHCP instead of fixed address. You can configure that under the Industrial Ethernet Manager in the Network Manager tab.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-01-28 05:38 AM . Last Modified: 2021-01-28 05:39 AM
Can you share a screen capture of your Ethernet 2 port configuration while Online? Are you sure your IP and subnet mask is properly set?
Can you do the same with the M221?
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-01-28 06:15 AM . Last Modified: 2021-01-28 06:16 AM
If you look at your capture for the M251, you have the configured settings on the left and the current settings on the right. On the right, your IP address is at the default IP 10.10.xxx.xxx . The controller typically revert to it's default address when there's an issue with the address. A possible reason could be an IP address conflict (there's already another device with the same IP address on the network). The other thing is you have to make sure that Ethernet 1 and Ethernet 2 on the M251 are on different subnet (both can't be at 192.168.44.xxx)
I didn't see your Slave configuration under the Industrial Ethernet Manager on the M251 but is it configured as Fixed IP address? Because under your M251 Ethernet port 2, the DHCP server is active (checkbox in the config tab). When this is active and you add a new generic slave, the slave is automatically added to receive an IP by DHCP instead of fixed address. You can configure that under the Industrial Ethernet Manager in the Network Manager tab.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.
With achievable small steps, users progress and continually feel satisfaction in task accomplishment.
Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.
of