Industry Automation and Control Forum
This forum is addressing industrial automation design & engineering, operations, asset performance, cyber security and digital transformation for Plants & Machines.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-02-28 10:27 PM . Last Modified: 2023-02-28 10:48 PM
HI,
I am trying to connect A9MEM2050 to PLC TM221CE24R using the PLC serial port. On the PLC when I try to read a register like 1830 (power on off counter), I am getting CommError 255, OperError: 6.
In terms of physical connections I am connecting pin 4 (D1) of the SL1 (PLC side) to port 23 of the A9MEM2050 and pin 5 (D0) of the SL1 (PLC side) to port 24 of the A9MEM2050.
All the other pins (common/5v) are left unconnected. I am not using any terminator resistor between PLC and A9MEM2050 (following the recommendation from the TM221 manual)
(1) TM221 embedded SL1 and embedded SL2 contains fixed internal high impedance bias network resistors (4.7 kΩ). Do not use external line termination resistors (standard 150 Ω) without additional external low impedance line polarization resistors (standard 450 Ω…650 Ω) to secure a proper idle voltage state of minimum 200 mV between the D1 and D0 data lines.
Screenshots attached with ladder example and PLC SL1 configuration
Any ideas?
Thanks,
Paulo
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: 2023-03-02 02:18 AM
Please change the wires, so far I see they are crossed. Alternativ add or sub the Modbus Register Address 1830 with 1. They are two different versions available. Sometime products start with Modbus Register Address 1 and sometimes with 0. I´m not sure which is the true for the PLC and the Energymeter.
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: 2023-03-02 02:18 AM
Please change the wires, so far I see they are crossed. Alternativ add or sub the Modbus Register Address 1830 with 1. They are two different versions available. Sometime products start with Modbus Register Address 1 and sometimes with 0. I´m not sure which is the true for the PLC and the Energymeter.
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: 2023-03-02 11:52 PM
Physical I/O pins are correct, addressing -1 fixed the issue. Thanks
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.