Chapter 5 Instruction Specifications

Item number

 

FUN instructions-16

 

 

Name

 

Pulse output with acceleration/deceleration

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Ladder format

 

 

 

 

Condition code

 

Processing time (s)

 

Remark

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

R7F4

 

R7F3

 

R7F2

R7F1

R7F0

Average

Maximum

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

FUN 151 (s)

DER

 

ERR

 

SD

 

V

 

 

C

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

z

 

 

z

 

z

 

 

z

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Instruction format

 

 

 

 

Number of steps

 

919

 

 

 

 

 

 

 

 

 

 

 

Condition

 

 

 

Steps

 

 

 

 

 

 

 

 

 

 

FUN 151 (s)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit

 

 

 

 

 

 

 

Word

 

Double word

 

Constant

 

 

 

 

Usable I/O

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Other

 

 

 

 

 

L,

 

TMR, CU,

 

 

 

WR,

 

 

 

 

DR,

 

 

 

 

 

 

 

 

 

 

 

TD, SS,

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

R,

 

WDT, MS,

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

X

 

Y

M

 

RCU, CT

WX

WY

WM

 

TC

DX

DY

DM

 

 

 

 

 

s

Pulse output No.

 

 

 

 

 

 

 

 

 

 

 

 

{

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

s+1

Total No. of output

 

 

 

 

 

 

 

 

 

 

 

 

{

 

 

 

 

 

 

 

 

 

 

pulses

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

s+2

Maximum frequency

 

 

 

 

 

 

 

 

 

 

 

 

{

 

 

 

 

 

 

 

 

 

 

(Hz)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

s+3

Initial frequency (Hz)

 

 

 

 

 

 

 

 

 

 

 

{

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

s+4

Acceleration/deceleration

 

 

 

 

 

 

 

 

 

 

 

 

{

 

 

 

 

 

 

 

 

 

 

time (ms)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Function

 

15

8

7

0

s

Pulse output No.

 

* *

s+1

 

Total No. of output pulses N

 

 

 

 

s+2

 

Maximum frequency F (Hz)

 

 

 

 

s+3

 

Initial frequency F0 (Hz)

 

 

 

 

s+4

Acceleration/deceleration time T (ms)

Pulse output No.:

H01 to H04

**:

Invalid area

Total No. of output pulses:

H0000 to HFFFF (0 to 65535)

Maximum frequency (Hz):

HA to H1388 (10 to 5000)

Initial frequency (Hz):

HA to H1388 (10 to 5000)

Acceleration/deceleration time (ms):

H0000 to HFFFF (0 to 65535)

This instruction outputs pulses with the acceleration/deceleration function.

It outputs pulses from the pulse output terminal set with the pulse output number s until the total number of output pulses set with s+1 is reached.

Since the output of pulses starts from the one having the frequency set with s+3, set the parameters so that the stepping motor and other devices will not become out of tune.

Acceleration is performed at the acceleration time set with s+4 in 10 steps until the maximum frequency set with s+2 is reached. Deceleration is performed at the deceleration time set with s+4 until the total number of output pulses set with s+1 is reached. The ratio of frequency change for the deceleration is the same as for the acceleration.

Pulse frequency (Hz)

F:S+2

 

 

 

 

T / 10

9

1

 

 

8

2

 

 

7

3

 

(F-F0) / 10

6

4

 

5

 

5

 

4

 

6

 

3

 

7

 

2

 

8

F0:S+3

1

 

9

0

 

10

 

 

 

 

 

Time (sec)

 

Acceleration time

Deceleration time

 

T:S+4

 

T:S+4

 

 

 

5-143

FUN 151 (s)

Page 193
Image 193
Hitachi NJI-350B manual FUN instructions-16, Pulse output with acceleration/deceleration, 919, 143