Hitachi NJI-350B User Manual
Page 91

Chapter 5 Instruction Specifications
5-41
Item number
Basic instructions-32
Name
Ladder format Condition code Processing time ( µs) Remark R7F4 R7F3 R7F2 R7F1 R7F0 Average Maximum (See Function column) DER ERR SD V C Upper case: W z z z z z 26.8 40 Lower case: DW Instruction format Number of steps LD (s1 < s2) Condition Steps AND (s1 < s2) Word (See Notes) 37.5 52 OR (s1 < s2) Double word (See Notes) Bit Word Double word Usable I/O X Y R, M TD, SS, CU, CT WX WY WR, WM TC DX DY DR, DM C onstant Other s1 Relational number 1 { { { { { { { { s2 Relational number 2 { { { { { { { { Function [Ladder format] s1 s1 < s2 s1 < s2 • Compares s1 and s2 as unsigned numbers, and if s1 is less than s2, it enters the continuity status (on) and • When s1 and s2 are words: 0 to 65535 (decimal) or H0000 to HFFFF (hexadecimal) When s1 and s2 are double words: 0 to 4294967295 (decimal) or H00000000 to HFFFFFFFF (hexadecimal) Notes [Number of steps] Word Double word LD, AND (s1 OR (s1 LD (s1 < s2) 5 steps I/O I/O 5 steps 6 steps AND (s1 < s2) 5 steps I/O Constant 6 steps 7 steps OR (s1 < s2) 6 steps Constant I/O 6 steps 7 steps Constant Constant 7 steps 8 steps Program example R005 WR0000 < WR0002 LD (WR0000 < WR0002) OUT R007 Program description • When WR0000 < WR0002, R005 turns on. LD ( s1 < s 2) A ND ( s1 < s 2) OR (s 1 < s2 )
<
s2
if s1 is greater than or equal to s2, enters the noncontinuity status (off).