Siemens SIMATIC S7-200 System Manual page 96

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

Advertisement

S7-200 Programmable Controller System Manual
Figure 6-5 describes the table that is referenced by the TBL parameter, and Table 6-11 lists the
error codes.
Byte
7
Offset
0
D
A
E
1
Remote station address
2
Pointer to the data
3
area in the
remote station
4
5
(I, Q, M, or V)
6
Data length
7
Data byte 0
8
Data byte 1
22
Data byte 15
Figure 6-5
TBL Parameter for the Network Read and Network Write Instructions
Table 6-11
Error Codes for the TBL Parameter
Code
Definition
0
No error.
1
Time-out error: Remote station not responding.
2
Receive error: Parity, framing, or checksum error in the response.
3
Offline error: Collisions caused by duplicate station addresses or failed hardware.
4
Queue overflow error: More than 8 Network Read or Network Write instructions have been activated.
5
Protocol violation: Attempt to execute a Network Read or Network Write instruction without enabling
the PPI Master Mode in SMB30 or SMB130.
6
Illegal parameter: TBL parameter contains an illegal or invalid value.
7
No resource: Remote station is busy. (An upload or a download sequence is in process.)
8
Layer 7 error: Application protocol violation
9
Message error: Wrong data address or incorrect data length
A to F
Not used. (Reserved)
Figure 6-6 shows an example to illustrate the utility of the Network Read and Network Write
instructions. For this example, consider a production line where tubs of butter are being filled and
sent to one of four boxing machines (case packers). The case packer packs eight tubs of butter
into a single cardboard box. A diverter machine controls the flow of butter tubs to each of the case
packers. Four S7-200s control the case packers, and an S7-200 with a TD 200 operator interface
controls the diverter.
82
D Done (function has been completed):
0
A Active (function has been queued):
E Error (function returned an error):
0
Error code
Remote station address: the address of the PLC whose data is to be
accessed.
Pointer to the data area in the remote station: an indirect pointer to
the data that is to be accessed.
Data length: the number of bytes of data that are to be accessed
in the remote station (1 to 16 bytes).
Receive or transmit data area. 1 to 16 bytes reserved for the data.
For a Network Read instruction, stores the values that were read
from the remote station when the instruction was executed.
For a Network Write instruction, stores the values to be sent to the
remote station when the instruction is executed.
0 = not done
1 = done
0 = not active
1 = active
0 = no error
1 = error

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents