EasyManua.ls Logo

Siemens SIMATIC S7-200

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-184
S7-200 Programmable Controller System Manual
A5E00066097-02
Network 1
LD SM0.1
MOVB 2, SMB30
FILL 0, VW200, 68
Network 2
LD V200.7
AW= VW208, 100
MOVB 2, VB301
MOVD &VB101, VD302
MOVB 2, VB306
MOVW 0, VW307
NETW VB300, 0
Network 3
LD V200.7
MOVB VB207, VB400
Network 4
LDN SM0.1
AN V200.6
AN V200.5
MOVB 2, VB201
MOVD &VB100, VD202
MOVB 3, VB206
NETR VB200, 0
IN2
MOV_B
OUT VB301
EN
V200.7
IN2
MOV_B
OUT VB306
EN
IN0
MOV_W
OUT VW307
EN
TBL
VB300
NETW
EN
PORT
0
FILL_N
IN
N
0
68
Clear all receive
and transmit
buffers.
EN
On the first scan,
enable the PPI+
protocol.
IN2
MOV_B
OUT SMB30
EN
SM0.1
Network 1
VW200OUT
VW20
8==I
IN
&VB101
MOV_D
OUT VD302
EN
INVB207
MOV_B
OUT VB400
EN
V200.7
When the NETR
Done bit is set and
100 cases have
been packed, load
the station address
of case packer #1.
Load a pointer to
the data in the
remote station.
Load the length of
the data to be
transmitted.
Load the data to
be transmitted.
Reset the number
of cases packed by
case packer #1.
When the NETR
is not active and
there is no error,
load the station
address of case
packer #1.
IN2
MOV_B
OUT VB201
EN
SM0.1
IN3
MOV_B
OUT
EN
TBL
VB200
NETR
EN
V200.5
IN
&VB100
MOV_D
OUT VD202
EN
Load a pointer to
the data in the
remote station.
Load the length of
the data to be
received.
Read the control
and status data in
case packer #1.
V200.6
VB206
PORT
0
When the Done
bit is set, save the
control data from
case packer #1.
// /
100
Network 2
Network 4
Network 3
LAD STL
ENO
ENO
ENO
ENO
ENO
ENO
ENO
ENO
ENO
ENO
ENO
ENO
Figure 9-70 Example of NETR and NETW Instructions for SIMATIC LAD and STL

Table of Contents

Other manuals for Siemens SIMATIC S7-200

Related product manuals