Siemens SIMATIC NET CP 243-1 IT Technical Manual page 126

Communications processor for industrial ethernet and information technology
Table of Contents

Advertisement

Example
Symbol
ETH0_XFR
start
Write_1
NETWORK 5
The local S7- 200 station now reads out data from the VB200 of another S7-200
station and stores these in the VB500 of the local S7-200 station.
Before the read command is executed, the two variables, "ch0_done_write" and
"ch0_ready", are evaluated to ensure that, firstly, the preceding write command is
finished and, secondly, that the status of channel 0 is "ready".
LD
Always_On
=
L60.0
LD
ch0_done_write
EU
U
ch0_ready
=
L63.7
LD
L60.0
CALL
ETH0_XFR, L63.7, Connection0_0, Read_1, Connec-
tion_abort, ch0_done_read, ch0_error_read
Symbol
Always_On
ch0_done_read
ch0_done_write
ch0_error_read
ch0_ready
Connection0_0
Connection_abort
ETH0_XFR
Read_1
126
Address
SBR2
This POU was generated by the Internet wizard for use with the
CP243-1 IT.
M4.0
Flip flop for automatic start of the data transmission
VB234
Address
SM0.0
Always ON
M5.0
Done bit of the read command
M5.1
Done bit of the write command
MB6
Error flag of channel 0, "read" command
M8.0
Bit for channel 0 in the CH_READY return value of the
ETH0_CTRL subroutine
VB233
M7.0
Transmission aboarted
SBR2
This POU was generated by the Internet wizard for use with the
CP243-1 IT.
VB235
Comment
Comment
J31069-D0429-U001-A0-7618
03/03
CP 243-1 IT

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cp 243-1 it

Table of Contents