Example
03/03
CP 243-1 IT
J31069-D0429-U001-A0-7618
126
Symbol
Address
Comment
ETH0_XFR
SBR2
This POU was generated by the Internet wizard for use with the
CP243-1 IT.
start
M4.0
Flip flop for automatic start of the data transmission
Write_1
VB234
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
Address
Comment
Always_On
SM0.0 Always
ON
ch0_done_read
M5.0
Done bit of the read command
ch0_done_write
M5.1
Done bit of the write command
ch0_error_read
MB6
Error flag of channel 0, "read" command
ch0_ready
M8.0
Bit for channel 0 in the CH_READY return value of the
ETH0_CTRL subroutine
Connection0_0
VB233
Connection_abort
M7.0 Transmission
aboarted
ETH0_XFR
SBR2
This POU was generated by the Internet wizard for use with the
CP243-1 IT.
Read_1
VB235
Содержание CP 243-1 IT
Страница 46: ...Installation and Commissioning 03 03 CP 243 1 IT J31069 D0429 U001 A0 7618 46 ...
Страница 94: ...Programming 03 03 CP 243 1 IT J31069 D0429 U001 A0 7618 94 ...
Страница 106: ...Diagnosis 03 03 CP 243 1 IT J31069 D0429 U001 A0 7618 106 ...
Страница 120: ...Technical Data 03 03 CP 243 1 IT J31069 D0429 U001 A0 7618 120 ...
Страница 130: ...Example 03 03 CP 243 1 IT J31069 D0429 U001 A0 7618 130 ...