Hitachi HIDIC MICRO-EH Applications Manual page 114

Table of Contents

Advertisement

Item number
Arithmetic instructions-19
Ladder format
d = s1 < s2
Instruction format
d = s1 < s2
Usable I/O
d
Substitution destination
s1
Comparand
s2
Relational number
Function
Substitutes "1" when s1 is less than s2 and otherwise "0" into d, assuming s1 and s2 as binary data.
Notes
The combinations of d, s1 and s2 are as follows:
d
Bit
Bit
Double word
Program example
R0 = TC100 < TC101
Program description
When TC100 < TC101, R0 is set to "1." Otherwise, R0 is reset to "0."
(TC n is the progress value of the no. n timer or counter.)
Name
Condition code
R7F4
R7F3
R7F2
DER
ERR
SD
Number of steps
Condition
s is a word
s is a double word
Bit
R,
TD, SS,
X
Y
M
CU, CT
WX WY
s1
s2
Word
Word
Double word
5-64
Chapter 5 Instruction Specifications
< Relational expression
Processing time (µs)
R7F1
R7F0
Average Maximum
V
C
40
Steps
4
70
6
Word
Double word
WR,
DR,
WM TC DX DY
DM
[
R0 = TC100 < TC101
]
Remark
Upper case: W
Lower case: DW
Other

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents