![](/images/backgrounds/137609/bgf.png)
15
Table of Contents
I/O UDP...................................................................................... 264
UDP Unicast Format............................................................................. 264
UDP Broadcast Packet .................................................................... 264
Analog Section............................................................................... 265
Digital/Relay Section...................................................................... 266
Serial Pin Signal Section............................................................... 266
UDP Unicast Example.......................................................................... 267
I/O Modbus Slave..................................................................... 267
Modbus Serial Application Connected to the Serial Port................. 267
Modbus Serial Application Connected to the Network..................... 267
Modbus TCP Application..................................................................... 268
Modbus I/O Access.................................................................. 268
Function Codes .................................................................................... 268
I/O Coil/Register Descriptions............................................................. 269
Serial Port Coil/Register Descriptions................................................ 270
A4/T4 Registers . ................................................................................... 270
A4D2/A4R2 Registers........................................................................... 271
D4/D2R2 Registers ............................................................................... 272
Serial Pin Signals ................................................................................. 272
TruePort I/O .............................................................................. 273
TruePort/Modbus Combination........................................................... 273
API Over TruePort Only ....................................................................... 274
Accessing I/O Data Via TruePort............................................ 275
Introduction........................................................................................... 275
Setup...................................................................................................... 275
Format of API Commands ................................................................... 276
Get Commands..................................................................................... 276
Command Format............................................................................ 276
Response Format............................................................................. 276
Set Commands ..................................................................................... 277
Command Format............................................................................ 277
Successful Response Format .......................................................... 278
Unsuccessful Response Format ...................................................... 278
Error Codes........................................................................................... 279