Hitachi HIDIC MICRO-EH Applications Manual page 150

Table of Contents

Advertisement

Item number
Control instructions-1
Ladder format
END
Instruction format
END
Usable I/O
Function
Indicates the end of a normal scan program. (The execution of this instruction returns to the beginning of the program, and
a normal scan is executed.)
This instruction is not required when there are no subroutine programs or interrupt scan programs.
If there is a subroutine program or interrupting program, write this instruction at the end of the normal scan program.
This instruction is used only once in a program. Do not use any startup conditions with this instruction.
Notes
The END instruction is checked prior to the execution, and if there is an error, the following error codes are 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
END
SB n
INT n
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
H0010
WRF001
H0022
H0032
Normal scan program
END instruction
Subroutine program
Interrupt program
5-100
Chapter 5 Instruction Specifications
Normal scan end
Processing time (µs)
R7F1
R7F0
Average Maximum
V
C
714
Steps
1
Word
Double word
WR,
DR,
WM TC DX DY
DM
Error description
There is no END instruction.
There are two or more END instructions.
A startup condition is used with the END
instruction.
Remark
Other

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents