13-32Communications Protocols
Ethernet
Trio Motion Technology
2. Table memory can be read and written to instead of the VR() variables.
3. Function number 23 (17 Hex) “Read / Write 4x Registers” is supported.
Modbus TCP connects via Ethernet Port 502.
The following ETHERNET command is used to set which data type, integer or
floating point, is used for communications.
ETHERNET(2, slot number, 7, data type)
slot number = comms slot where Ethernet Daughter Board is installed
data type = 0, for 16-bit signed integer data communication (default)
data type = 1, for 32-bit signed floating point data communication
This parameter only needs to be initialized if passing floating point data, and
must be set before Modbus/TCP communications are attempted. It is not main-
tained through power cycles, so it must be initialized once after each power-up.
It should be noted that floating point mode isn't covered by the Modbus specifica-
tion, so each manufacturer's chosen implementation may differ.
To use the TABLE memory instead of VR() variables set ETHERNET function 9 to 1.
ETHERNET(2, slot number, 9, data target)
slot number = comms slot where Ethernet Daughter Board is installed
data target = 0, for read/write VR() variables (default)
data target = 1, for read/write TABLE memory (TABLE(0) to TABLE(16384) max)
This parameter only needs to be initialized if TABLE mamory is required, and
must be set before Modbus/TCP communications are attempted. It is not main-
tained through power cycles, so it must be initialized once after each power-up.