Question: Modbus Plus 32 Bit Word Order Read/Write Driver Setting

Hi,

We are upgrading computer software, without using HDD cloning as a substantial portion of the software is obsolete and deprecated. The hardware includes a 416NHM30030 PCI85 card communicating with a Modicon 984 processor on the PLC. Main software components are MBPLUS.EXE and Schneider MBX driver 6.0.

Problem: The newly established computer writes and reads data with a swapped word order for 32 bit integers. And we do not intend on changing PLC code (for standardization). What software or driver setting can be used to do this? How can it be achieved?

New computer writes 123456 as 3456 in 41180 and 12 in register 41181.
Old (current) computer writes 123456 as 12 in 41180 and 3456 in 41181.

The issue is not likely hardware (concluded through exhaustive testing). A software workaround has been implemented but we would rather not have that as a steady state solution. I am not well versed on available software packages and programming methods.

Question 1: How can the word order for reading a 32 bit value be swapped? Such that the

Question 2 (Curiosity satiation): According to some documents, the defaults structure for a 32 bit data type is high word high order. Does this mean the number 987654 would be represented as 98 in address 41181 and 7654 in address 41180, or is it inverted?

Thanks in advance.
Best Regards,
 
Hi,

We are upgrading computer software, without using HDD cloning as a substantial portion of the software is obsolete and deprecated. The hardware includes a 416NHM30030 PCI85 card communicating with a Modicon 984 processor on the PLC. Main software components are MBPLUS.EXE and Schneider MBX driver 6.0.

Problem: The newly established computer writes and reads data with a swapped word order for 32 bit integers. And we do not intend on changing PLC code (for standardization). What software or driver setting can be used to do this? How can it be achieved?

New computer writes 123456 as 3456 in 41180 and 12 in register 41181.
Old (current) computer writes 123456 as 12 in 41180 and 3456 in 41181.

The issue is not likely hardware (concluded through exhaustive testing). A software workaround has been implemented but we would rather not have that as a steady state solution. I am not well versed on available software packages and programming methods.

Question 1: How can the word order for reading a 32 bit value be swapped? Such that the

Question 2 (Curiosity satiation): According to some documents, the defaults structure for a 32 bit data type is high word high order. Does this mean the number 987654 would be represented as 98 in address 41181 and 7654 in address 41180, or is it inverted?

Thanks in advance.
Best Regards,
Hello
Why not use something like Kepware's KEPServerEX where you can change the Data Encoding for the Byte Order etc.
 
Top