EasyManua.ls Logo

Siemens Simatic S7 Series

Siemens Simatic S7 Series
726 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...
Program instructions
7.3 Communication
S7-200 SMART
System Manual, 09/2015, A5E03822230-AC
175
The following figure shows the GET table (VB200) and PUT table (VB300) for accessing the
data in station 2. The Diverter CPU uses a GET instruction to read the control and status
information on a continuous basis from each of the case packers. Each time a case packer
has packed 100 cases, the diverter notes this and sends a message to clear the status word
using a PUT instruction.
Table 7- 5 GET and PUT instructions buffer for reading from and clearing the count of Case Packer
1
GET_
TABLE
buffer
Bit
7
Bit
6
Bit
5
Bit
4
Bit
3
Bit
2
Bit
1
Bit
0
PUT_
TABLE
buffer
Bit
7
Bit
6
Bit
5
Bit
4
Bit
3
Bit
2
Bit
1
Bit
0
VB200
D
A
E
0
Error code
VB300
D
A
E
0
Error code
VB201 Remote station IP address = 192. VB301 Remote station IP address = 192.
VB202
168.
VB302
168.
VB203
50.
VB303
50.
VB204
2
VB304
2
VB205
Reserved = 0 (Must be set to zero)
VB305
Reserved = 0 (Must be set to zero)
VB206
Reserved = 0 (Must be set to zero)
VB306
Reserved = 0 (Must be set to zero)
VB207
Pointer to the data
VB307
Pointer to the data
VB208
area in the
VB308
area in the
VB209
remote station =
VB309
remote station =
VB210
(&VB100)
VB310
(&VB101)
VB211
Data length = 3 bytes
VB311
Data length = 2 bytes
VB212
Pointer to the data
VB312
Pointer to the data
VB213
area in the
VB313
area in the
VB214
local station (this CPU) =
VB314
local station (this CPU) =
VB215
(&VB216)
VB315
(&VB316)
VB216
Control
VB316
0
VB217
Status MSB
VB317
0
VB218
Status LSB
In this example, the data immediately follows the PUT and GET tables. This data can be
placed anywhere in the CPU memory since it is pointed to by the local station pointer in a
table (for example, VB212 - VB215).

Table of Contents

Other manuals for Siemens Simatic S7 Series

Related product manuals