ModbusTCP Status, Monitor, and Troubleshooting
This procedure will walk through verifying, monitoring, and troubleshooting read/write communications between the LS XEM PLC and a drive using the Modbus TCP protocol.
In this example, we will confirm communications between the LS XEM PLC and Ironhorse ACN VFD.
-
Go Online with the XEM Processor.
-
Go to Online menu è Communication Module Setting and Diagnosisè System Diagnosis.
System Diagnosis Window
-
In the System Diagnosis window, right-click on the Ethernet Port, then choose Status by Service.
-
Choose the P2P Service tab.
-
Enable Online Monitor.
-
Select any Monitor window.
-
Type the direct memory addresses into the Variable/Device field.
-
Right-click the Value field to change from Hexadecimal to Signed Decimal.
-
Double-click the Value field.
-
Enter the frequency value in %MW900, 1010 = 10.1 Hz. Select OK. This value will write to the drive.
-
Run the drive via drive keypad.
-
Monitor %MW800/801 to see the actual current and output frequency of the drive match the commanded frequency.
If you are unsure which PLC memory registers are used or want to see a summary. Use the following:
-
Go to the Used Device window.
-
Click Refresh.
-
Choose the memory type. In this case M and click OK. The program will tell you each location the memory address is used. Instances in the Project Configuration will show up as well as the programming tasks.
-
Double-click each instance to see where in the program it is located. We can see in this example %MW800 is located in the P2P Block area , Index 0.
-
Click Go to to open the P2P Block config window.
LP202