Libraries
9.3 Modbus library instructions
S7-200 SMART
System Manual, 09/2015, A5E03822230-AC
435
Mapping Modbus addresses to CPU addresses
All Modbus addresses are one-based.
Table 9- 20 Mapping Modbus addresses to CPU addresses
00002 Q0.1
Vx+2 =(Hold reg. start+2)
Vx+4 =(Hold reg. start+4)
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.
●
assigns the maximum number of discrete inputs or outputs (Is or Qs) a Modbus
master is allowed to access.
●
assigns the maximum number of input registers (AIWs) a Modbus master is
allowed to access.
●
assigns the maximum number of holding registers (V memory words) a Modbus
master is allowed to access.
See the description of the MBUS_INIT instruction for more information on setting up the
memory restrictions for the Modbus slave.