Quantcast

Which driver should be used for a Proface HMI communication with a Modbus master via Modbus TCP?

FA322043

01 March 2021

A Modbus Slave driver from the manufacturer of Schneider Electric SA needs to be created and configured from GP-Pro Ex. After the driver being created, you can see device addresses from the address window. These addresses can be used for the Modbus Master to read/write values from/to the Pro-face HMI which is Modbus Slave. From the driver settings, you can check IEC61131 syntax to use IEC61131 grammar for variables. Please check the following corresponding table for Modbus and IEC61131 syntax address descriptions:
DeviceMODBUS SyntaxIEC61131 Syntax
FormatRangeFirst elementFormat0-based1-based
RangeFirst elementRangeFirst element
Coil000001+ ii = 0 to 8191000001%Mii = 0 to 8191%M00000i = 1 to 8192%M00001
Discrete Input100001+ ii = 0 to 8191100001     
Input Register (Word)300001+ ii = 0 to 9999300001     
Input Register (Word bit)300001+ i, ji = 0 to 9999 j = 0 to 15300001,0 0     
Holding Register (Word)400001+ ii = 0 to 9999400001%MWii = 0 to 9999%MW00000i = 1 to 10000%MW00001
Holding Register (Word bit)400001+ i, ji = 0 to 9999 j = 0 to 15400001,0 0%MWi: Xji = 0 to 9999 j = 0 to 15%MW00000 :X00i = 1 to 10000 j = 0 to 15%MW00001 :X00