
Appendix B: Modbus Address Notation – AutomationDirect Devices
Stride MQTT Gateway User Manual, 1st Edition
B-4
DirectLogic PLCs
Reading Coils (Function Code 1)
Function Code MQTT Gateway Modbus Address
Data Format
DirectLogic Address
1
0
1 bit
GY0
1
2047
GY3777
1
2048
Y0
1
3071
Y1777
1
3072
C0
1
5119
C3777
1
5120
S0
1
6143
S1777
1
6144
T0
1
6399
T377
1
6400
CT0
1
6655
CT377
Reading Input Bits (Function Code 2)
Function Code MQTT Gateway Modbus Address
Data Format
DirectLogic Address
2
0
1 bit
GX0
2
2047
GX3777
2
2048
X0
2
3071
X1777
2
3072
SP0
2
3583
SP777
Reading Input Registers (Function Code 4)
Function Code MQTT Gateway Modbus Address
Data Format
DirectLogic Address
4
0
16 bit (INT) or
1 bit
V0
4
17055
V41237
4
0/1
32 bit (INT)
V0/V1
4
1/2
V1/V2
4
17054/17055
V41236/V41237
4
0/1
32 bit (FP)
V0/V1
4
1/2
V1/V2
4
17054/17055
V41236/V41237
Reading Holding Registers (Function Code 3)
Function Code MQTT Gateway Modbus Address
Data Format
DirectLogic Address
3
0
16 bit (INT) or
1 bit
V0
3
17055
V41237
3
0/1
32 bit (INT)
V0/V1
3
1/2
V1/V2
3
17054/17055
V41236/V41237
3
0/1
32 bit (FP)
V0/V1
3
1/2
V1/V2
3
17054/17055
V41236/V41237