Communication processor and Modbus TCP
13.8 Legacy Modbus TCP communication
S7-1200 Programmable controller
1262 System Manual, V4.2, 09/2016, A5E02486680-AK
HR_Start_Offset is a word value that specifies the starting address of the Modbus holding
register and is stored in the MB_SERVER instance data block. You can set this public static
variable value by using the parameter helper drop-list, after MB_SERVER is placed in your
program.
For example, after MB_SERVER is placed in a LAD network, you can go to a previous
network and assign the HR_Start_Offset value. The value must be assigned prior to
execution of MB_SERVER.
variable using the default DB name:
Set the cursor in the parameter field and
type an m character.
Select "MB_SERVER_DB" from the drop-
list of DB names.
Select
"MB_SERVER_DB.HR_Start_Offset" from
the drop-list of DB variables.