
Series 30i/ 31i/ 32i-MODEL A
PMC Supplemental Programming Manual
01 04.09.30
S. Hasegawa
New registration
B-63983EN/02-2
EDIT
DATE
DESIG.
DESCRIPTION
15/56
DRAW.NO.
3.2.1 Signed Binary Comparison (=)
EQB (1-byte length: SUB 200)
EQW (2-bytes length: SUB 201)
EQD (4-bytes length: SUB 202)
Using this instruction, you can know whether the "Data 1" equals to the
"Data 2" or not.
The EQB instruction handles 1-byte length signed binary data.
The EQW instruction handles 2-bytes length signed binary data.
The EQD instruction handles 4-bytes length signed binary data.
Format
Fig. 3.2.1 shows the ladder format and Table 3.2.1 shows the mnemonic
format.
Fig. 3.2.1 Format of EQB, EQW and EWD instructions
Table 3.2.1 Mnemonic of EQB, EQW and EWD instructions
Mnemonic format Status of operation result
Step
number
Instruction
Address
No.
Bit No. Remarks ST3 ST2 ST1 ST0
1 RD
{{{{
.{ ACT ACT
2 SUB 200
201
202
EQB instruction
EQW instruction
EQD instruction
3 (PRM)
{{{{
Data 1 (Constant or Address)
4 (PRM)
{{{{
Data 2 (Constant or Address)
5 WRT
{{{{
. { Result W1
SUB 200
EQB
Data1
(Constant
or
Address)
ACT W1
Data2
(Constant
or
Address)
SUB 201
EQW
Data1
(Constant
or
Address)
ACT W1
Data2
(Constant
or
Address)
SUB 202
EQD
Data1
(Constant
or
Address)
ACT W1
Data2
(Constant
or
Address)