
5. FUNCTIONAL INSTRUCTIONS
B–61863E/15
PMC SEQUENCE PROGRAM
230
Checks whether the input value and comparison value coincide.
This instruction is available with BCD data.
Fig.5.27.2 shows the expression format and Table 5.27.2 shows the
coding format.
COIN
(SUB 16)
BYT
(1)
f
fff.f
ACT
fff.f
W1
ffff.f
(2)
ffff
(3)
ffff
Instruction
Input value format (constant or address)
Input value
Comparison value
address
Result
(1)
(0)
Control conditions
Output
Fig. 5.27.2 COIN instruction format
Table 5.27.2 COIN instruction coding
Coding sheet Memory status of control condition
Step
Number
Instruc-
tion
Address
No.
Bit No. Remarks ST3 ST2 ST1 ST0
1 RD fff . f BYT BYT
2 RD. STK fff . f ACT BYT ACT
3 SUB 16 COIN instruction
4 (PRM) f Reference value format
5 (PRM) ffff Reference value
6 (PRM) ffff Comparison value address
7 WRT fff . f W1: Checking result output W1
5.27
COIN (COINCIDENCE
CHECK)
5.27.1
Function
5.27.2
Format