Specifications
© Systeme Lauer GmbH & Co KG • Kelterstr.59 • 72669 Unterensingen • Tel. (07022) 96 60-0 • Fax (07022) 96 60-103
D-14
D Buep 19e-Direct driver
D3 Program listing
;**************************************************************************
; OB1
;**************************************************************************
; File name: OB1
; Function: Organizational block
;**************************************************************************
; P r o g r a m
;**************************************************************************
1 BA -PCS_KOMM,6
P0 W -DB1
P1 B -RESTART
P2 W K4.2
P3 B M100.0
P4 W -INIT
P5 W -COFF
PZ: 1
2 U B M100.0 ; display communication loss
3 = B A0.0
4 PE ; ---------------------------------------------->
;Program end
-COFF PB3 PCS communication loss
-DB1 DB1 PCS data field
-INIT PB2 PCS initialization values
-PCS_KOMM PB0 SYNC block for the CL500
-RESTART E0.0 Restart input for communication loss
Para. Res. Ind Symbol < > Comment | Version: 1.0
P0 W P0 < DB Application db, keys, LED, variable, ...
P1 B P1 < E restart input
P2 W P2 < K „watch dog“ time value
P3 B P3 > M communication error output
P4 W P4 < PB communication start pre-assignments
P5 W P5 < PB communication loss pre-assignments
;**************************************************************************
; PCSKOMM
; Synchronization block for the communication with a PCS 090/095
; via 5P90BUEP.drv drivers
;**************************************************************************
; File name: PCS_KOMM
; Function: Sync block for the CL00
; Transfer format: BUEP19E
;
;**************************************************************************
; D e c l a r a t i o n
;**************************************************************************
; Block parameters:
;~~~~~~~~~~~~~~~~~~~~~~~~~~
;BA -PCS_KOMM,7
;P0 W DB1 ; <= DB Application db, keys, LED, variable ..
;P1 B m ; <= M autom. restart after „watch dog“
;P2 W k4.2 ; <= K „watch dog“ time value
;P3 B M100.0 ; => M communication error „watch dog“ active
;P4 W PB2 ; <= PB pre-assignment block start communication
;P5 W PB3 ; <= PB error block communication loss