Sample Table Data For Netr And Netw Example - Siemens SIMATIC S7-200 System Manual

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 9-69.
The CPU 224 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 9-70.
VB200
VB201
VB202
VB203
VB204
VB205
VB206
VB207
VB208
VB209
Figure 9-69
S7-200 Programmable Controller System Manual
A5E00066097-02
Diverter's Receive Buffer
for reading from Case Packer #1
7
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

Diverter's Transmit Buffer
for clearing the count of Case Packer #1
0
7
VB300
D
A
E
VB301
Remote station address
VB302
Pointer to the
VB303
VB304
VB305
Remote station = (&VB101)
VB306
Data length = 2 bytes
VB307
VB308
SIMATIC Instructions
0
0
Error Code
data area
in the
0
0
9-183

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents