I'm looking for help with an issue I've come across while trying to facilitate Modbus communication between a WAGO PFC200 PLC using a 750-652 communication module and an iEM2050 Series Single Phase Energy Meter.
I believe to have everything wired and setup correcty, but I keep running into a "Error time out" message, and by now I don't really know what else to try.
My setup is as follows: A PFC200 Wago PLC, which has 2 750-652 Serial Interfaces extension modules connected to its field bus. I'm using one of these to talk to a Schneider iEM2050 - kWh-meter over modbus.
I have connected terminal 23 (A) of the iEM2050 to connector 6 (A) on the 750-652. I have connected terminal 24 (B) of the iEM2050 to connector 2 (B) of the 750-652. I'm using 200mm of twisted together wires to connected them both, and I have placed a 120 ohm resistor between A and B at both ends. I've attached relevant pinout images to this post.
I then wrote a simple program that configures the Mobus port, as per the datasheet of the iEM2050. You can find an image of the relavent page attached to this post too.
This is my program:
PROGRAMPLC_PRGVARMaster:FbMbMasterSerial;xIsConnected:BOOL;xError:BOOL;iIndex:INT:=1;xTrigger:BOOL;utQuery:typMbQuery:=(bUnitId:=1,// The Modbus unit or slave addressbFunctionCode:=4,// Function code for reading input registersuiReadAddress:=1829,// adress for the Power on off counter uiReadQuantity:=1// Quantity of registers to read );iStep:INT;oStatusModbus:WagoSysErrorBase.FbResult;utResponseModbus:typMbResponse;xConnect:BOOL:=FALSE;delayTimer:TON;END_VAR
The TON delay before opening the port is due to a an error I encountered when opening it straight away. This seems to be a bug, as described here. However, the TON solved that particular issue.
I tried reading multiple registers, but like I said, I still always end up with the "Error time out".
Hi all,
I'm looking for help with an issue I've come across while trying to facilitate Modbus communication between a WAGO PFC200 PLC using a 750-652 communication module and an iEM2050 Series Single Phase Energy Meter.
I believe to have everything wired and setup correcty, but I keep running into a "Error time out" message, and by now I don't really know what else to try.
My setup is as follows: A PFC200 Wago PLC, which has 2 750-652 Serial Interfaces extension modules connected to its field bus. I'm using one of these to talk to a Schneider iEM2050 - kWh-meter over modbus.
I have connected terminal 23 (A) of the iEM2050 to connector 6 (A) on the 750-652. I have connected terminal 24 (B) of the iEM2050 to connector 2 (B) of the 750-652. I'm using 200mm of twisted together wires to connected them both, and I have placed a 120 ohm resistor between A and B at both ends. I've attached relevant pinout images to this post.
I then wrote a simple program that configures the Mobus port, as per the datasheet of the iEM2050. You can find an image of the relavent page attached to this post too.
This is my program:
The TON delay before opening the port is due to a an error I encountered when opening it straight away. This seems to be a bug, as described here. However, the TON solved that particular issue.
I tried reading multiple registers, but like I said, I still always end up with the "Error time out".
What else can I test or try at this point?
Did you manage to solve the problem with time out?
I got the same issue and I've no idea what I'm doing wrong.
Did you manage to solve the problem with time out?
I got the same issue and I've no idea what I'm doing wrong.
Last edit: dawidr 2024-04-07
I'm not sure, but maybe you have to configure the 750-652 first with the WAGO-IO-CHECK software to set it in RS485 mode?
Hello
I have the same problem, anyone have some idea??
Regards
Hello
I have the same problem, anyone have some idea??
Regards
Hello
I have the same problem, anyone have some idea??
Regards