Hitachi NJI-350B User Manual

Page 86

Advertising
background image

Chapter 5 Instruction Specifications

5-36

Item number

Basic instructions-27

Name

Counter clear (COUNTER CLEAR)

Ladder format

Condition code

Processing time (

µs)

Remark

R7F4

R7F3

R7F2

R7F1

R7F0

Average Maximum

DER

ERR

SD

V

C

CL n

z

z

z

z

z

Instruction format

Number of steps

0.9

Condition

Steps

OUT CL n s

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

n

Counter number

{ 0 to 255 (Decimal)

Function

• Clears the progress values of the integral timer and switches off the timer coil.
• In the case of WDT, the time monitor check is performed (see WDT for details).
• In the case of counters, the progress value is cleared and the counter coil is switched off.
• The clearing operation is conducted immediately before execution of the counter or timer coil instruction indicated by the

clear coil.

Example:

X00000

CL10

X00001

CU10

X00002

CL10

1) When X00000 is turned on, the CL10 immediately prior to CU10, and CU10

is cleared.

2) Even if X00002 turns on, if X00001 is off, the CL10 is turned off by the

circuit before CU10 is executed. Thus, the CU10 will not be cleared.

Notes

• The same number should be used for the timer number and counter number.

O

U

T

CL
n

s

Advertising