PCD7.D250
User program examples
26/770 E1
(D25-08-E.DOC)
SAIA-Burgess Electronics Ltd.
Page 8-21
;--------------------------------
; Coldstart
;--------------------------------
XOB
16
SASI
1
; Assignation interface n°1
100
; Text 100
;
.
termpoll:
stxt
1
; START OF THE POLL COMMAND
10
sth
O 22
jr
h -1
acc
h
; (ld T is accu dependent)
ld
T 0
; start short receive timeout
8
; (must be min. 10 mS)
9
termwait:
sth
O 16
; character received?
jr
h termok
; yes
sth
T 0
jr
h termwait
; loop for timeout period
jr
termpoll
; Terminal not ready, repeat the poll
termok:
srxd
1
; read the character
R 1
cmp
R 1
; SOH character ?
1
jr
z termready
; yes, Terminal is ready
jr
termpoll
; no, repeat the poll
termready:
ld
R 1
; clear receive register
0
; END OF THE POLL COMMAND
;
.
STXT
1
; Display mode : 4 x 20
5
sth
O 22
jr
h -1
STXT
1
; Text 1: Main menu
1
sth
O 22
jr
h -1
EXOB
;
.
Содержание PCD7.D250
Страница 1: ...SAIA PCD Process Control Devices Edition 26 770 E1 PCD7 D250 Industrial terminal Manual...
Страница 14: ...Dimensions PCD7 D250 Page 3 2 SAIA Burgess Electronics Ltd D25 03 E DOC 26 770 E1 Notes...
Страница 90: ...Comparison D202 D250 PCD7 D250 Page 9 2 SAIA Burgess Electronics Ltd D25 09 E DOC 26 770 E1 Notes...
Страница 94: ...SAIA Burgess Electronics Ltd Your suggestions...