Saia-Burgess Controls AG
Manual for PCD2.W745 and PCD3.W745
│
Document 26-796 E
NG06 │ 2018-10-12
Appendix
A
A-4
Programming examples for PCD Classic systems
Use of FB Init in XOB 16:
(Located in xob16.src)
$INCLUDE D2W745_b.equ ;makes the FB’s available in the file
xob16.src
XOB 16
; ... ;Other code in XOB 16
; ...
$GROUP W745 ;References the W745 group
CFB Init
K 1 ;[K] Module Number
TC_K ;[K] Sensor Type CH0
CJCint ;[K] Connection CH0
TC_K ;[K] Sensor Type CH1
CJCint ;[K] Connection CH1
TC_K ;[K] Sensor Type CH2
CJCint ;[K] Connection CH2
TC_K ;[K] Sensor Type CH3
CJCint ;[K] Connection CH3
Celsius ;[K] Measurement Unit
F 13 ;[F] Return InitError
F 14 ;[F] Return WrongConfig
F 15 ;[F] Return NoCalibration
$ENDGROUP ;End W745 group
; ... ;Other code in XOB 16
; ...
; ...
EXOB