Libraries
9.2 Overview of Modbus communication
S7-200 SMART
474
System Manual, V2.3, 07/2017, A5E03822230-AF
Mapping Modbus addresses to CPU addresses
All Modbus addresses are one-based.
Table 9- 1
Mapping Modbus addresses to CPU addresses
Modbus address
CPU address
00001
Q0.0
00002
Q0.1
00003
Q0.2
...
...
00255
Q31.6
00256
Q31.7
10001
I0.0
10002
I0.1
10003
I0.2
...
...
10255
I31.6
10256
I31.7
30001
AIW0
30002
AIW2
30003
AIW4
...
...
30056
AIW110
40001
400001
Vx (Holding reg. start)
40002
400002
Vx+2 =(Hold reg. start+2)
40003
400003
Vx+4 =(Hold reg. start+4)
...
...
4yyyy
4zzzzz
Vx+2(yyyy-1) or Vx+2(zzzzz-1)
MBUS_INIT parameters that limit slave accessibility
The Modbus slave/protocol allows you to limit the number of inputs, outputs, analog inputs,
and holding registers (V memory) that are accessible to a Modbus master.
●
MaxIQ assigns the maximum number of discrete inputs or outputs (Is or Qs) a Modbus
master is allowed to access.
●
MaxAI assigns the maximum number of input registers (AIWs) a Modbus master is
allowed to access.
●
MaxHold assigns the maximum number of holding registers (V memory words) a Modbus
master is allowed to access.
See the description of the MBUS_INIT (Page 491) instruction for more information on setting
up the memory restrictions for the Modbus slave.
Содержание SIMATIC S7-200
Страница 30: ...Product overview 1 7 Programming software S7 200 SMART 30 System Manual V2 3 07 2017 A5E03822230 AF ...
Страница 267: ...Program instructions 7 6 Counters S7 200 SMART System Manual V2 3 07 2017 A5E03822230 AF 267 HSC modes 3 and 4 ...
Страница 394: ...Program instructions 7 18 Subroutine S7 200 SMART 394 System Manual V2 3 07 2017 A5E03822230 AF ...
Страница 425: ...Communication 8 5 PROFIBUS S7 200 SMART System Manual V2 3 07 2017 A5E03822230 AF 425 ...
Страница 786: ...Technical specifications A 11 S7 200 SMART cables S7 200 SMART 786 System Manual V2 3 07 2017 A5E03822230 AF ...
Страница 798: ...Error codes C 4 PLC fatal error codes S7 200 SMART 798 System Manual V2 3 07 2017 A5E03822230 AF ...
Страница 848: ...Ordering information F 6 Human Machine Interface devices S7 200 SMART 848 System Manual V2 3 07 2017 A5E03822230 AF ...