4) control instructions – Hitachi NJI-350B User Manual

Page 150

Advertising
background image

Chapter 5 Instruction Specifications

5-100

Item number

Control instructions-1

Name

Normal scan end

Ladder format

Condition code

Processing time (

µs)

Remark

R7F4

R7F3

R7F2

R7F1

R7F0

Average Maximum

END

DER

ERR

SD

V

C

z

z

z

z

z

Instruction format

Number of steps

714

Condition

Steps

END

1

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

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

Error code

Error description

H0010

There is no END instruction.

34

WRF001

H0022

There are two or more END instructions.

H0032

A startup condition is used with the END
instruction.

Instruction for use

END

SB n

INT n

END instruction

Normal scan program

Subroutine program

Interrupt program

EN
D

Advertising