Saia PCD Serie Manuel page 62

Table des Matières

Publicité

Exemples de programme utilisateur
PB
;-------------------------------; Key = F1 ?
CMP
R
K
ACC
Z
CFB
H
;-------------------------------; Key = F2 ?
CMP
R
K
ACC
Z
CFB
H
;-------------------------------; Key = F3 ?
CMP
R
K
ACC
Z
CFB
H
;-------------------------------; Key = F4 ?
CMP
R
K
ACC
Z
CFB
H
;-------------------------------
EPB
;===============================
FB
SRXD
=
EFB
;-------------------------------
FB
STXT
=
EFB
Page 8-16
Reconnaissance de la pression d'une touche en BLOCTEC
COMPARE
; Compare received character
RBUF_R
65
; F1
SEND
; Send text
1
; Text 1
RBUF_R
66
; F2
SEND
; Send text
2
; Text 2
RBUF_R
67
; F3
SEND
; Send text
3
; Text 3
RBUF_R
68
; F4
SEND
; Send text
4
; Text 4
READ
; Read character
1
; Interface 1
1
SEND
; Send text
1
; Interface 1
1
; Textnumber
© SAIA-Burgess Electronics AG
Edition 08.96

Publicité

Table des Matières
loading

Ce manuel est également adapté pour:

Pcd7.d202

Table des Matières