
Stride Field I/O
1
SIO-MB12CDR User Guide, 1st Edition
GENERAL DESCRIPTION
Modbus data is mapped in tables and assigned an address. Data can be of two types:
• REGISTER, 2 bytes (word of 16 bits) that can be associated to an analog input or output, a variable, a setpoint, etc.
• COIL, 1 bit that can be associated to a digital input or output, or to a logic state.
A register could contain the image (mirror) of a group of coils; for example, the digital inputs or outputs of a device could be read or
written as individual bits addressing the coil related to each or can be read or written as a word addressing the register where each bit
corresponds to a coil. Modbus registers and coils are divided into the following groups of addresses:
• 0xxxx and 1xxxx = Coils (bit)
• 3xxxx and 4xxxx = Registers (word)
When reading functions are performed, use the tables indicated below to address the registers. These registers may be addressed by a
Modbus TCP/IP server or by the integrated web server.
COIL ADDRESSES
Coil (Hex) Coil (Dec) Description Access
0x00A1 00161 Watchdog Enable R/W
0x00A2 00162 Watchdog Event R/W
0x00A3 00163 Power Up Event R/W
0x01E9 00489 Output #0 R/W
0x01EA 00490 Output #1 R/W
0x01EB 00491 Output #2 R/W
0x01EC 00492 Output #3 R/W
0x01F9 00505 Input #0 RO
0x01FA 00506 Input #1 RO
0x01FB 00507 Input #2 RO
0x01FC 00508 Input #3 RO
0x01FD 00509 Input #4 RO
0x01FE 00510 Input #5 RO
0x01FF 00511 Input #6 RO
0x0200 00512 Input #7 RO
0x0209 00521 Rising Edge Latch #0 R/W
0x020A 00522 Rising Edge Latch #1 R/W
0x020B 00523 Rising Edge Latch #2 R/W
0x020C 00524 Rising Edge Latch #3 R/W
0x020D 00525 Rising Edge Latch #4 R/W
0x020E 00526 Rising Edge Latch #5 R/W
0x020F 00527 Rising Edge Latch #6 R/W
0x0210 00528 Rising Edge Latch #7 R/W
0x0219 00537 Falling Edge Latch #0 R/W
0x021A 00538 Falling Edge Latch #1 R/W
0x021B 00539 Falling Edge Latch #2 R/W
0x021C 00540 Falling Edge Latch #3 R/W
0x021D 00541 Falling Edge Latch #4 R/W
0x021E 00542 Falling Edge Latch #5 R/W
0x021F 00543 Falling Edge Latch #6 R/W
0x0220 00544 Falling Edge Latch #7 R/W
REGISTER ADDRESSES
Register Description Access
40002 Firmware [0] RO
40003 Firmware [1] RO
40004 -Reserved- RO
40005 -Reserved- RO
40007 Node ID R/W
40011 System Flags R/W
40012 Power Up / Safe R/W
40013 Watchdog timer R/W
40031 Digital Outputs R/W
40032 Digital Inputs RO
40033 Digital Inputs Rise Latch R/W
40034 Digital Inputs Fall Latch R/W
40035 Frequency, Digital Input 0 RO
40036 Frequency, Digital Input 1 RO
40037 Frequency, Digital Input 2 RO
40038 Frequency, Digital Input 3 RO
40039 32-bit Counter, Digital Input 0 R/W
40041 32-bit Counter, Digital Input 1 R/W
40043 32-bit Counter, Digital Input 2 R/W
40045 32-bit Counter, Digital Input 3 R/W
NOTES:
• Registers and coils marked as RO in the column ‘Access’ are Read Only registers.
• Registers and coils marked as R/W in the column ‘Access’ are Read and Write registers.
• The group of 0xxxx addresses mirrors the group of 1xxxx addresses; the group of 3xxxx addresses mirrors the 4xxxx addresses.
Therefore the first register could be addressed either as 30002 (with function 04) or 40002 ( with function 03).
• A maximum of
128 coils can be read through Modbus function codes 01 and 02 (see “Supported modbus functions codes”).
• A maximum of 64 registers can be read through Modbus function codes 03 and 04 (see “Supported modbus functions codes”).
• A maximum of
64 registers can be written by Modbus function code 16 (see “Supported modbus functions codes”).
• A maximum of
64 coils can be written by Modbus function code 15 (see “Supported modbus functions codes”).
SUPPORTED MODBUS FUNCTION CODES
Function Description
01 Read Coil Status (0xxxx)
02 Read Inputs Status (1xxxx)
03 Read Holding Registers (4xxxx)
04 Read Inputs Registers (3xxxx)
05 Force Single Coil
06 Preset Single Register
15 (0x0F) Force Multiple Coils
16 (0x10) Preset Multiple Registers