RE_240-1CA20

Manual VIPA System 200V Chapter 3 Deployment
HB97E - CP - RE_240-1CA20 - Rev. 12/42 3-11
The block must be called within the cyclic program section. This function is
used to acknowledge the start-up ID of the CP 240 and thus the synchro-
nization between CPU and CP. Furthermore it allows to set back the CP in
case of a communication interruption to enable a synchronous start-up.
Note!
A communication with SEND and RECEIVE blocks is only possible when
the parameter ANL of the SYNCHRON block has been set in the start-up
OB before.
Declaration Name Type Comment
in ADR INT Logical Address
in TIMER_NR WORD No of timer for idle time
in_out ANL BOOL restart progressed
in_out NULL BOOL internal use
in_out RESET BOOL 1 = Reset the CP
in_out STEUERB_S BYTE internal use
in_out STEUERB_R BYTE internal use
Periphery address with which you may call the CP 240. Via the hardware
configuration you may set the periphery address.
Number of the timer for the delay time.
With ANL = 1 the handling block is informed that a STOP/START res.
NETZ-AUS/NETZ-EIN has been executed at the CPU and now a
synchronization is required. After the synchronization, ANL is automatically
set back.
Parameter is used internally.
RESET = 1 allows you to set back the CP out of your user application.
Here you have to set the bit memory byte where the control bits
ENDE_KOM, LETZTER_BLOCK, SENDEN_LAEUFT and FEHLER_KOM
for the SEND-FC are stored.
Here you have to set the bit memory byte where the control bits
LETZTER_BLOCK, EMPF_LAEUFT and FEHLER_EMPF for the
RECEIVE-FC are stored.
SYNCHRON_
RESET
Synchronization and
reset (FC 9)
ADR
TIMER_NR
ANL
NULL
RESET
STEUERB_S
STEUERB_R