3. Instruction Set
6. When assigning Y0, Y2, Y4, Y6 output mode as Pulse, i.e. D1220 = K0, D1221 = K0, D1341 =
K0, D1342 = K0), the available range for S
2
is 1~32,767 (16-bit instruction) and
1~2,147,483,647 (32-bit instruction).
7. When assigning Y0 and Y2 output mode as Pulse/Dir, i.e. D1220 = K1, D1221 = K1, D1341 =
K0, D1342 = K0, the available range for S
2
is 1~32,767 or -1~-32,768 (16-bit instruction) and
1~2,147,483,647 or -1~-2,147,483,648 (32-bit instruction)
8. S
3
: Ramp up/down time (unit: ms; minimum: 20ms).
When assigning output device as Y0, Y2, Y4 and Y6 and if:
M1534 = OFF (Y0), M1535 = OFF (Y2), M1536 = OFF (Y4), M1537 = OFF (Y6), the
ramp up and ramp down time should be the same.
M1534 = ON, M1535 = ON, M1536 = ON, M1537 = ON, then S
3
specifies ramp up time
only. The ramp down time is specified by value set in D1348 (Y0), D1349 (Y2), D1350 (Y4),
and D1351 (Y6).
9. When M1257 = OFF, ramp up/down curve of Y0 and Y2 is straight line. When M1257 = ON,
ramp up/down curve will be S curve. The ramp up/down curve of Y1 and Y3 is fixed as straight
line
10. The output will not be affected if S
1
, S
2
or S
3
are changed when PLSR instruction is being
executed. PLSR instruction has to be stopped if changing values in S
1
, S
2
or S
3
is required.
11. Flags for indicating pulse output status:
Completed Flag
M1029 M1102 M1321 M1322
M1078 M1104 M1310 M1311
a) M1029 = ON after Y0/Y1 (D1220=K1, pulse/Dir) output is completed.
M1102 = ON after Y2/Y3 (D1221=K1, pulse/Dir) output is completed.
M1321 = ON after the Y4/Y5 (D1341 = K1, pulse/Dir) output is completed.
M1322 = ON after the Y6/Y7 (D1342 = K1, pulse/Dir) output is completed.
b) When PLSY / DPLSY instruction is OFF, the pulse output completed flags will all be reset.
12. During the ramp up process, the pulse numbers (frequency x time) of each speed shift may not
all be integer values, but PLC will operate integer value only. In this case, the omitted decimals
will result in errors between each speed shift, i.e. pulse number for each shift may differ due to
this operation. For ensuring the required output pulse number, PLC will fill in pulses as need
automatically in order to correct the deviation.
13. There is no limitation on the times of using this instruction in the program. However, only 4
instructions can be executed at the same scan time. When several pulse output instructions
(PLSY, PWM, PLSR) use Y1 as the output device in the same scan cycle, PLC will execute
pulse output according to the driven order of these instructions.