Hardware Manual for the PCD2.M5 Series│Document 26/856; Version EN 12│2014-07-24
Saia-Burgess Controls AG
Hardware clock/harware watchdog
PCD2.M5_ Classic CPUs and expansion housings
3-50
3
3.14 Hardware clock (Real Time Clock)
ThePCD2.M5_CPUsarettedwithahardwareclockonthemotherboard:
The presence of a hardware clock is an absolute requirement where the HeaVAC
library clock timers are used.
3.15 Hardwarewatchdog
PCD2.M5_CPUsarettedwithahardwarewatchdogasstandard.ArelayatI/O
address255canbetriggered;thisremainsactivatedaslongasthestatusofO255
changesperiodicallyatleastevery200ms.WithinPG5,FBoxesareprovidedforthis
purpose.
IfforanyreasontheprogramcomponentwiththewatchdogFBoxisnolongerbeing
processedatsufcientlyshortintervals,thewatchdogrelaywilldropoutandthe
amberwatchdogLEDwillgoout.PleasereadtheonlinehelpfortheseFBoxesfor
more details.
ThesamefunctioncanalsobeimplementedwithIL(AWL)instructions.Thisvariant
works independently of the cycle time of the user program.
Example:
COB 0 ; or 1 … 15
0
STL WD_Flag ;Invert help ag
OUT WD_Flag
OUT O 255 ;Set output 255 to ashing
: :
: :
ECOB
With the code shown in the example, the watchdog also drops out in the case of
loops caused by the programmer. With regard to the cycle time of the user program,
please note:
With cycle times over 200 ms, the code sequence must be repeated several times
in the user program, to prevent the watchdog dropping out in normal operation.