EasyManua.ls Logo

Siemens SIMATIC S7-200 - Network Read, Network Write

Siemens SIMATIC S7-200
606 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...
SIMATIC Instructions
9-180
S7-200 Programmable Controller System Manual
A5E00066097-02
Network Read, Network Write
The Network Read instruction initiates a communication
operation to gather data from a remote device through
the specified port (PORT), as defined by the table (TBL).
The Network Write instruction initiates a communication
operation to write data to a remote device through the
specified port (PORT), as defined by the table (TBL).
The NETR instruction can read up to 16 bytes of
information from a remote station, and the NETW
instruction can write up to 16 bytes of information to a
remote station. You may have any number of
NETR/NETW instructions in the program, but only a
maximum of eight NETR and NETW instructions may be
activated at any one time. For example, you can have
four NETRs and four NETWs, or two NETRs and six
NETWs active at the same time in a given S7-200.
Figure 9-67 defines the table that is referenced by the
TBL parameter in the NETR and NETW instructions.
NETR: Error conditions that set ENO = 0:
SM4.3 (run-time), 0006 (indirect address)
NETW: Error conditions that set ENO = 0:
SM4.3 (run-time), 0006 (indirect address)
Inputs/Outputs Operands Data Types
TBL VB, MB, *VD, *AC, *LD BYTE
PORT Constant BYTE
L
A
D
S
T
L
NETR TBL,PORT
NETW TBL,PORT
NETR
EN
TBL
PORT
NETW
EN
TBL
PORT
F
B
D
ENO
ENO
222
224
✓✓
221 226

Table of Contents

Other manuals for Siemens SIMATIC S7-200

Related product manuals