Specifications

© Systeme Lauer GmbH & Co KG • Kelterstr.59 • 72669 Unterensingen • Tel. (07022) 96 60-0 • Fax (07022) 96 60-103
D-16
D Buep 19e-Direct driver
-TEST PB1 PCS data access example
-TIMER T0 PCS communication watch dog timer
; set fault watch dog has triggered
;—————————————————————————————
-KOM_FEL
28 S B -P3 ; watch dog is active
29 X0 W D,D
; initialize application data block
;————————————————————————————-
30 BA -P0 ; open user data block
31 BA -P5 ; COFF
32 BE ; ————————————————————>
; End watch dog
; *******************************************************************
; *******************************************************************
; Start communication
-START_K0 ; <————
; time routine 0 edge
; ——————————-
33 L W -P2,D ; time value for watch dog
PZ: 7
34 U B -LOG0
35 SE D,-TIMER ; time routine = 0
; reset fault
; —————-
PZ: 8
36 U B -LOG1
37 R B -P3 ; watch dog is active = 0
; initialize application data block
; ——————————————————
38 BA -P0 ; open user data block 1.DB
39 BA -P4 ; INIT
40 BE ; ————————————————————>
; End start communication
; *******************************************************************
; Program end
-LOG0 SM30.3 logical 0
-LOG1 SM31.1 logical 1
-P0 P0 DB application data block, keys, variable, ...
-P2 P2 K time value for watch dog
-P3 P3 M comm. error output
-P4 P4 PB communication start presetting
-P5 P5 PB communication loss presetting
-TIMER T0 PCS communication watch dog timer