63
2
3
4
5
6
7
8
2.5
A
pp
lication Instr
uctions
2.5.10
D
ebugging and failure diagnosis instructions
2.5.10
Debugging and failure diagnosis instructions
2.5.11
Character string processing instructions
Category
In
struction
Symb
ol
Symbol
Processing Details
Execution
Condition
Nu
mb
er of
Basic S
tep
s
Su
bset
See fo
r D
escript
ion
Checks
CHKST
• The CHK instruction is executed when
CHKST is executable.
• Jumps to the step following the CHK
instruction when CHKST is in a
non-executable status.
1
-
CHK
• During normal conditions SM80
:
OFF,
SD80 : 0
• During abnormal conditions SM80
:
ON, SD80
: Failure No.
CHKCIR
• Starts update in ladder pattern being
checked by the CHK instruction.
1
-
CHKEND
• Ends update in ladder pattern being
checked by the CHK instruction.
Category
Instru
ctio
n Sym
bol
Symbol
Processing Details
Execution
Condition
Num
b
er o
f Basic
S
tep
s
Sub
set
See f
o
r Descrip
tio
n
BIN
Decimal
ASCII
BINDA
• Converts 1-word BIN value designated by (S)
to a 5-digit, decimal ASCII value, and stores
it at the word device designated by (D).
3
-
BINDAP
DBINDA
• Converts 2-word BIN value designated by (S)
to a 10-digit, decimal ASCII value, and stores
it at word devices following the word device
number designated by (D).
3
-
DBINDAP
BIN
Hexadecimal
ASCII
BINHA
• Converts 1-word BIN value designated by (S)
to a 4-digit, hexadecimal ASCII value, and
stores it at a word device following the word
device number designated by (D).
3
-
BINHAP
DBINHA
• Converts 2-word BIN value designated by (S)
to an 8-digit, hexadecimal ASCII value, and
stores it at word devices following the word
device number designated by (D).
3
-
DBINHAP
CHKST
Ch
ec
k
co
ndi
t
i
o
n
CHK
CHKCIR
CHKEND
BINDA
S
D
BINDAP
S D
DBINDA
S D
DBINDAP S
D
BINHA
S D
BINHAP
D
S
DBINHA
S D
DBINHAP
S D