Hitachi NJI-350B User Manual

Page 151

Advertising
background image

Chapter 5 Instruction Specifications

5-101

Item number

Control instructions-2

Name

Scan conditional end

Ladder format

Condition code

Processing time (

µs)

Remark

R7F4

R7F3

R7F2

R7F1

R7F0

Average Maximum

CEND (s)

DER

ERR

SD

V

C

Upper case :

z

z

z

z

z

5

Conditions

Instruction format

Number of steps

do not meet

Condition

Steps

Lower case :

CEND (s)

2

707

Conditions meet

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

o

nstant

Other

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

Error code

Error description

34

WRF001

H0023

The CEND instruction is found after the END
instruction.

Instruction for use

CEND (R000)

CEND (R001)

END

Program head

Normal scan program

Normal scan program

Normal scan program

When R000 is on, to
program head

When R000 is off, the next
instruction is executed.
When R001 is on, to
program

When R001 is off, the next
instruction is executed.

CE

ND (s

)

Advertising