FX Series Programmable Controllers

Basic Program Instructions 2

2.16Timer, Counter (Out & Reset)

FX1S

FX1N

FX2N

FX2NC

Mnemonic

Function

Format

Devices

Program steps

OUT

Driving timer or

 

 

32 bit

 

T, C

counters:5

(OUT)

counter coils

 

 

 

Others: 3

 

 

 

 

 

Resets timer and

 

T, C

 

 

 

(see section

 

RST

counter, coils

 

 

RST

2.15 for other

T, C:2

(ReSeT)

contacts and

 

resetable

 

 

current values

 

 

 

 

devices)

 

 

 

 

 

Program example:

X0

RST T246

X1

T246 K1234

T246

Y0

X2

M8200

X3

RST C200

X4

C200

D0

C200

Y1

2.16.1Basic Timers, Retentive Timers And Counters

These devices can all be reset at any time by driving the RST instruction (with the number of the device to be reset).

On resetting, all active contacts, coils and current value registers are reset for the selected device. In the example, T246, a 1msec retentive timer, is activate while X1 is ON. When the current value of T246 reaches the preset ‘K’ value, i.e. 1234, the timer coil for T246 will be activated. This drives the NO contact ON. Hence, Y0 is switched ON. Turning ON X0 will reset timer T246 in the manner described previously.

Because the T246 contacts are reset, the output Y0 will be turned OFF.

Retentive timers:

• For more information on retentive timers please see page 4-17.

2-18

Page 44
Image 44
Mitsubishi Electronics FX1S Timer, Counter Out & Reset, Retentive timers, 16.1Basic Timers, Retentive Timers And Counters