Issue
The M340 and M580 Modbus Serial and Modbus TCP/IP protocols require particular settings in Vijeo Designer in order for a Harmony/Magelis HMI to communicate to them via IEC61131 Syntax.
Product Line
Modicon M340 PLC, Modicon M580 PLC, Harmony/Magelis HMI (all series), Vijeo Designer (all versions)
Environment
Modbus protocol setup in Vijeo Designer
Resolution
To access the Modbus Equipment Node for Modbus TCP/IP, double-click on the IO Manager -> ModbusTCPIP01 -> ModbusEquipment0x node.
Likewise, for Modbus RTU (Serial), double-click on the IO Manager -> ModbusRTU0x-> ModbusEquipment0x node.
In this window, confirm the following 3 settings:
- Tick the IEC61131 Syntax checkbox (this uses %M, %MW addressing instead of “00001, 40001” addressing)
- Select Addressing Mode = 0-based (Default) – The M580 starts at %MW0 (unlike some older PLCs that start at %MW1).
- Choose Double Word word order = Low word first