IDEC MicroSmart User Manual

Page 354

Advertising
background image

20: P

ULSE

I

NSTRUCTIONS

20-26

« FC4A M

ICRO

S

MART

U

SER

S

M

ANUAL

»

Source Operand S2 (Deceleration Input)

When the deceleration input turns on while the ZRN instruction is generating output pulses of the initial pulse frequency,
the pulse frequency is changed to the creep pulse frequency. When the deceleration input turns off, the ZRN instruction
stops generating output pulses.

When using the ZRN1 and ZRN2 instructions, designate different input or internal relay numbers as deceleration inputs
for the ZRN1 and ZRN2 instructions. If the same deceleration input is used and both the ZRN1 and ZRN2 instructions are
executed at the same time, the pulse outputs may not turn off when the deceleration input turns on.

The deceleration input is available in two types depending on the designated operand number.

High-speed Deceleration Input (I2, I3, I4, I5)

The high-speed deceleration input uses interrupt processing to read the deceleration input signal immediately without
regard to the scan time.

When I2 through I5 are used as a deceleration input for the ZRN instruction, designate these input numbers as normal
inputs in the Function Area Settings. If I2 through I5 used as a deceleration input are designated as an interrupt input, catch
input, or high-speed counter input in the Function Area Settings, the inputs work as a deceleration input for the ZRN
instruction; the designation in the Function Area Settings will have no effect.

When using a high-speed deceleration input, make sure that the input contact does not bounce. If the input signal contains
chatter, the pulse output will be stopped immediately.

Normal Deceleration Input (I0, I1, I6 through I307, M0 through M1277)

The normal deceleration input reads the deceleration input signal when the input data is updated at the END processing, so
the timing of accepting the deceleration input depends on the scan time.

Destination Operand D1 (Status Relay)

Two internal relays starting with the operand designated by D1 indicate the status of the ZRN instruction. These operands
are for read only.

D1+0 Pulse Output ON

The internal relay designated by operand D1+0 remains on while the ZRN instruction generates output pulses. When the
start input or deceleration input for the ZRN instruction is turned off to stop generating output pulses, the internal relay
designated by operand D1+0 turns off.

D1+1 Pulse Output Complete

The internal relay designated by operand D1+1 turns on when the deceleration input for the ZRN instruction is turned off
to stop generating output pulses. When the start input for the ZRN instruction is turned on, the internal relay designated by
operand D1+1 turns off.

Operand

Function

Description

S2

High-speed deceleration input

I2, I3, I4, I5

Normal deceleration input

I0, I1, I6 through I307, M0 through M1277

Operand

Function

Description

R/W

D1+0

Pulse output ON

0: Pulse output OFF
1: Pulse output ON

R

D1+1

Pulse output complete

0: Pulse output not complete
1: Pulse output complete

R

Advertising