Lad Sample Program For Dp Communication To A Cpu 224 - Siemens SIMATIC S7-200 System Manual

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

Advertisement

S7-200 Specifications
Network 1
Calculate the output data pointer into V memory.
SMB224
==B
2
&VB0
SMW226
AC0
VD1000
Network 2
Calculate the input data pointer into V Memory.
SMB224
==B
2
VD1000
SMB228
ACO
AC0
VD1004
Network 3
Set amount of data to be copied.
SMB224
==B
2
SMB228
SMB229
Network 4
Transfer Master Outputs to CPU Outputs. Copy CPU inputs to the Master inputs.
SMB224
==B
2
*VD1000
VB1008
IB0
VB1009
Figure A-33

LAD Sample Program for DP Communication to a CPU 224

A-66
MOV_DW
EN
ENO
IN
OUT
VD1000
I_DI
EN
ENO
IN
OUT
AC0
ADD_DI
EN
ENO
IN1
OUT
OUT
VD1000
IN2
MOV_DW
EN
ENO
IN
OUT
VD1004
B_I
EN
ENO
IN
OUT
AC0
I_DI
EN
ENO
IN
OUT
AC0
ADD_DI
EN
ENO
IN1
OUT
OUT
VD1004
IN2
MOV_B
EN
ENO
IN
OUT
VB1008
MOV_B
EN
ENO
IN
OUT
VB1009
BLKMO~1
EN
ENO
IN
OUT
OUT
QB0
N
BLKMO~1
EN
ENO
IN
OUT
OUT
*VD1004
N
S7-200 Programmable Controller System Manual
A5E00066097-02
AC0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents