Hitachi HIDIC MICRO-EH Applications Manual page 155

Table of Contents

Advertisement

Item number
Control instructions-5
Ladder format
LBL n
Instruction format
LBL n
Usable I/O
n
Code number
Function
This instruction indicates the destination of the jump when the JMP n or CJMP n instruction is executed (n is always used in
pairs).
The n in the LBL n cannot be used multiple times in the same program.
This instruction itself does not perform any operation.
Even if a startup condition is used with LBL n, it will be ignored.
Notes
This instruction is checked prior to execution, and when there is an error, the following error code is set in the special
internal output WRF001. Also, the CPU error code '34' is set to special internal output WRF000.
CPU error code
Special internal output
34
Instruction for use
R100
R100
When R100 is on, JMP 0 will be executed but JMP 1 will not be executed.
Therefore, the content of WR0000 will decrement by one during each scan.
When R100 is off, JMP 0 will not be executed but JMP 1 will be executed.
Therefore, the content of WR0000 will increment by one during each scan.
Name
Condition code
R7F4
R7F3
R7F2
DER
ERR
SD
Number of steps
Condition
Bit
R,
TD, SS,
X
Y
M
CU, CT
WX WY
Error code
WRF001
H0001
JMP 0
WR0000 = WR0000
+ 1
LBL 0
JMP 1
WR0000 = WR0000
- 1
LBL 1
5-105
Chapter 5 Instruction Specifications
Label
Processing time (µs)
R7F1
R7F0
Average Maximum
V
C
0.5
Steps
1
Word
Double word
WR,
DR,
WM TC DX DY
DM
Error description
Duplicate definition of LBL
(00001)
(00002)
(00003)
(00004)
(00005)
(00006)
Remark
Other
0 to 255 (Decimal)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents