Example
03/03
CP 243-1 IT
J31069-D0429-U001-A0-7618
124
LD
Always_On
CALL
ETH0_CTRL, cp_ready, ch_ready, cp_error
Symbol
Address
Comment
Always_On
SM0.0
Always ON, always 1
ch_ready
MW8
cp_error
MW2
cp_ready
M0.0
ETH0_CTRL
SBR1
This POU was generated by the Internet wizard for use for the
CP243-1 IT.
NETWORK 2
As soon as channel 0 is ready for the transmission and "ch0_ready" is set, the
variable "start" is set. This may take several cycles.
LD
ch0_ready
S
start, 1
Symbol
Address
Comment
ch0_ready
M8.0
Bit for channel 0 in the return value CH_READY of the subroutine
ETH0_CTRL
start
M4.0
Flip flop for automatic start of the data transmission
NETWORK 3
For an S7-200, the “First_Scan_ON” bit is anly set in the first cycle for systemre-
lated reasons. Thus, the “start” variable is reset. This procedure is required so that
the “start” variable always generates a switching edge for the start of the
ETHx_XFR subroutine, even for repeated start/stop procedures of the CPU.
LD
First_Scan_On
R
start, 1
Symbol
Address
Comment
First_Scan_On
SM0.1
ON for the first scan cycle only
start
M4.0
Flip flop for automatic start of the data transmission
Содержание 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 ...