Siemens Simatic S7-200 System Manual page 323

Programmable controller
Hide thumbs Also See for Simatic S7-200:
Table of Contents

Advertisement

The receive and transmit buffers for accessing the data in station 2 (located at VB200 and
VB300, respectively) are shown in detail in Figure 10-62.
The CPU 214 uses a NETR 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 NETW
instruction.
The program required to read the control byte, the number of cases packed and to reset the
number of cases packed for a single case packer (case packer #1 ) is shown in
Figure 10-63.
Diverter's Receive Buffer
for reading from Case Packer #1
VB200
VB201
VB202
VB203
VB204
VB205
VB206
VB207
VB208
VB209
Figure 10-62
S7-200 Programmable Controller System Manual
C79000-G7076-C230-02
7
0
D
A
E
0
Error code
Remote station address
Pointer to the
data area
in the
Remote station = (&VB100)
Data length = 3 bytes
Control
Status (MSB)
Status (LSB)
Sample TABLE Data for NETR and NETW Example
Instruction Set
Diverter's Transmit Buffer
for clearing the count of Case Packer #1
7
VB300
D
A
E
0
ErrorcCode
VB301
Remote station address
VB302
Pointer to the
VB303
data area
VB304
in the
VB305
Remote station = (&VB101)
VB306
Data length = 2 bytes
VB307
0
0
VB308
0
10-135

Advertisement

Table of Contents
loading

Table of Contents