
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
21/56
DRAW.NO.
3.2.4 Signed Binary Comparison (<)
LTB (1-byte length: SUB 209)
LTW (2-bytes length: SUB 210)
LTD (4-bytes length: SUB 211)
Using this instruction, you can know whether the "Data 1" is smaller than
the "Data 2" or not.
The LTB instruction handles 1-byte length signed binary data.
The LTW instruction handles 2-bytes length signed binary data.
The LTD instruction handles 4-bytes length signed binary data.
Format
Fig. 3.2.4 shows the ladder format and Table 3.2.4 shows the mnemonic
format.
Fig. 3.2.4 Format of LTB, LTW and LTD instructions
Table 3.2.4 Mnemonic of LTB, LTW and LTD 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 209
210
211
LTB instruction
LTW instruction
LTD instruction
3 (PRM)
{{{{
Data 1 (Constant or Address)
4 (PRM)
{{{{
Data 2 (Constant or Address)
5 WRT
{{{{
. { Result W1
SUB 209
LTB
Data 1
(Constant
or
Address)
ACT W1
Data 2
(Constant
or
Address)
SUB 210
LTW
Data 1
(Constant
or
Address)
ACT W1
Data 2
(Constant
or
Address)
SUB 211
LTD
Data 1
(Constant
or
Address)
ACT W1
Data 2
(Constant
or
Address)