30.5.10.8 Abnormal Status of Acceleration/Deceleration Pulse Output - Acceleration/Deceleration Pulse Output (LT Series)

This function shows any error status in the output frequency and the initial output frequency during the pulse output. If the system variable (#L_IOStatus[1]) shows error code 101, you can acknowledge the error status from the system variable (#L_ExIOSpParmErr) value. The watch bit will differ, depending on the CH to which you allocate the pulse output.

#L_ExIOSpParmErr

Pulse output frequency error

a: CH1 pulse output frequency error

[1]: Frequency error, [0]: Normal

b: CH2 pulse output frequency error

[1]: Frequency error, [0]: Normal

c: CH3 pulse output frequency error

[1]: Frequency error, [0]: Normal

d: CH4 pulse output frequency error

[1]: Frequency error, [0]: Normal

Pulse output shot error

a: CH1 pulse output shot error

[1]: Pulse shot error, [0]: Normal

b: CH2 pulse output shot error

[1]: Pulse shot error, [0]: Normal

c: CH3 pulse output shot error

[1]: Pulse shot error, [0]: Normal

d: CH4 pulse output shot error

[1]: Pulse shot error, [0]: Normal

Pulse initial output frequency value error

a: CH1 pulse initial output frequency value error

[1]: Initial output frequency error

[0]: Normal

b: CH2 pulse initial output frequency value error

[1]: Initial output frequency error

[0]: Normal

c: CH3 pulse initial output frequency value error

[1]: Initial output frequency error

[0]: Normal

d: CH4 pulse initial output frequency value error

[1]: Initial output frequency error

[0]: Normal

Acceleration/Deceleration pulse parameter warning

a:CH1 acceleration/deceleration pulse parameter warning

[1]: Acceleration/deceleration warning

[0]: Normal

b: CH2 acceleration/deceleration pulse parameter warning

[1]: Acceleration/deceleration warning

[0]: Normal

c: CH3 acceleration/deceleration pulse parameter warning

[1]: Acceleration/deceleration warning

[0]: Normal

d: CH4 acceleration/deceleration pulse parameter warning acceleration/deceleration warning

[1]: Acceleration/deceleration warning

[0]: Normal

Control error

a: Pulse output control error

[1]: Abnormal Frequency Limit Occurred; [0]: Normal

Actions Upon Acceleration/Deceleration Pulse Error

In the cases below, no pulse is output. (Acceleration/Deceleration table available/not available flag does not turn ON.)

In the cases below, the output pulse does not depend on the setting parameter.

*1 The pulse output frequency error flag in special I/O parameter error turns ON.

*2 The acceleration/deceleration pulse meter warning flag in the special I/O parameter error turns ON. (The acceleration/deceleration pulse flag turns ON, and the acceleration/deceleration pulse output is available.)

 

How to calculate the frequency at each phase during acceleration/deceleration

Calculate the frequency for each phase.

Output frequency for n phase = Initial frequency + (Normal output frequency - Initial output frequency)/10 phases* (n phase -1 phase)

Truncate fractional values for the n phase output frequency.

Calculate the pulse shot for each phase.

Output pulse count for n phase = (Acceleration/Deceleration time/10 phases) * (Output frequency for n phase/1000 milliseconds)

Truncate fractional values for the n phase output pulse count.

At least 1 pulse is output. If the pulse shot is 0, use 1 for the pulse shot.

Acceleration/Deceleration pulses necessary for acceleration/deceleration pulse output = (Output pulse count for phase 1 + ... + Output pulse count for phase 10) * 2 + 1 pulse

If this output pulse count is larger than what you set, the acceleration/deceleration pulse parameter warning warns you acceleration/deceleration is excessive.

Calculate the acceleration/deceleration time for each phase

Acceleration/Deceleration time for phase n = Output pulse count for phase n * (1000 milliseconds/Output frequency for phase n)

Truncate fractional values for the n phase acceleration/deceleration time.

Acceleration/Deceleration time necessary for acceleration/deceleration pulse output = Acceleration/Deceleration time for 1st phase + . .+ Acceleration/Deceleration time for the 10th phase

If this acceleration/deceleration time is longer than what you set, the acceleration/deceleration pulse parameter warning warns you acceleration/deceleration is insufficient.

For example, based on the aforementioned calculation, creates the acceleration/deceleration pulse output table using the parameters below. It determines whether the calculated values are subject to "warning."

Output Frequency (Hz)

500

Output Pulses (pulse)

300

Initial Frequency (Hz)

10

Acceleration/Deceleration time (milliseconds)

600

The frequency, pulse shot and acceleration/deceleration time for each phase are as follows.

n phase

Frequency

Pulse shot

Acceleration/Deceleration time

1

10

1

100

2

59

3

50

3

108

6

55

4

157

9

57

5

206

12

58

6

255

15

58

7

304

18

59

8

353

21

59

9

402

24

59

10

451

27

59

Output Pulse Count Total

The total of output pulse counts for all phases is (1+3+6+ ...+27) x 2+1=273. Since the value is smaller than the output pulse count you set, it clears the "acceleration/deceleration is excessive" warning.

Acceleration/Deceleration time total

The total acceleration/deceleration time necessary for all phases is 100+50+55+...+59=61 Since the value is larger than the acceleration/deceleration time you set the "acceleration/deceleration time is insufficient" warning appears.