Hitachi HIDIC MICRO-EH Applications Manual page 151

Table of Contents

Advertisement

Item number
Control instructions-2
Ladder format
CEND (s)
Instruction format
CEND (s)
Usable I/O
s
Scan end condition
Function
If the scan end condition (s) is on, the execution of this instruction returns to the head of the scan program and executes the
program.
If (s) is off, the next instruction is executed.
This instruction can only be used in normal scan programs, and can be used as many times as desired.
This instruction can specify a startup condition. In this case, if the startup condition and (s) are both on, this instruction is
executed.
Notes
The CEND 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
Program head
Normal scan program
CEND (R000)
When R000 is off, the next
instruction is executed.
When R001 is on, to
Normal scan program
program
CEND (R001)
When R001 is off, the next
instruction is executed.
Normal scan program
END
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
When R000 is on, to
program head
5-101
Chapter 5 Instruction Specifications
Scan conditional end
Processing time (µs)
R7F1
R7F0
Average Maximum
V
C
5
Steps
2
707
Word
Double word
WR,
WM TC
DX DY
Error description
The CEND instruction is found after the END
H0023
instruction.
Remark
Upper case :
Conditions
do not meet
Lower case :
Conditions meet
DR,
Other
DM

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents