Using 6 digits address register with the modbus xdriver

Issue

Some modbus device documentation indicate that there are 6 digits in a register to obtain certain information

Product Line

Andover Continuum

Environment

Continuum

Xdriver

Modbus

Cause

The Modbus xdriver only allows for 5 digits 

Resolution

The modbus range is from 0-65535, so 6 digits is too large

Some PLCs used the 40,000 and 30,000 notation which embeds the function code in the address.

For example:

30,001= function code 4 start address 0

30,234= function code 4 start address 233

40,001= function code 3 start address 0