EasyManua.ls Logo

Siemens S7-1200 - Page 740

Siemens S7-1200
1028 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Communication processor and Modbus TCP
12.5 Modbus communication
S7-1200 Programmable controller
740 System Manual, 03/2014, A5E02486680-AG
Table 12- 61 Example of Modbus holding register addressing
HR_Start_Offset
Address
Minimum
Maximum
0
Modbus address (Word)
40001
40099
S7-1200 address
MW100
MW298
20
Modbus address (Word)
40021
40119
S7-1200 address
MW100
MW298
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.
Entering a Modbus server
variable using the default DB name:
1.
Set the cursor in the parameter field and
type an m character.
2.
Select "MB_SERVER_DB" from the drop-
list of DB names.
3.
Select
"MB_SERVER_DB.HR_Start_Offset" from
the drop-list of DB variables.

Table of Contents

Other manuals for Siemens S7-1200

Related product manuals