Issue:
SoMachine Basic is reading Modbus devices registers in reverse order.
Environment:
SoMachine basic
Resolution:
SoMachine READ_VAR function block reads register as Mid-Little Endian (CDAB). Many Modbus devices can send data in a Big Endian (ABCD) format.
This means the SoMachine Basic software will list the least significant word first (%MWi) followed up by the most significant word (%MWi+1).
This can be resolved through changing the Modbus device settings, the gateway settings or through additional functions in SoMachine Basic. (For example, you can use a concatenate function to list the most significant word before the least significant word)
SoMachine Basic is reading Modbus devices registers in reverse order.
Environment:
SoMachine basic
Resolution:
SoMachine READ_VAR function block reads register as Mid-Little Endian (CDAB). Many Modbus devices can send data in a Big Endian (ABCD) format.
This means the SoMachine Basic software will list the least significant word first (%MWi) followed up by the most significant word (%MWi+1).
This can be resolved through changing the Modbus device settings, the gateway settings or through additional functions in SoMachine Basic. (For example, you can use a concatenate function to list the most significant word before the least significant word)