3. Instruction Set
7. When assigning Y0 and Y2 output mode as Pulse, i.e. D1220 = K0, D1221 = K0, the available
range for S
2
is 1~32,767 (16-bit instruction) and 1~2,147,483,647 (32-bit instruction).
8. When assigning Y0 and Y2 output mode as Pulse/Dir, i.e. D1220 = K1, D1221 = K1, 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)
9. When assigning output device as Y1 and Y3, the available range for S
2
is 1~32,767 (16-bit
instruction) and 1~2,147,483,647 (32-bit instruction).
10. S
3
: Ramp up/down time (unit: ms, min. 20ms).
When assigning output device as Y1 and Y3, the set value of ramp up and ramp down time
should be the same.
When assigning output device as Y0 and Y2, and if:
M1534 = OFF (Y0) and M1535 = OFF (Y2), the ramp up and ramp down time should be
the same.
M1534 = ON and M1535 = ON, then S
3
specifies ramp up time only. The ramp down time
is specified by value set in D1348 (Y0) and D1349 (Y2).
11. 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
12. 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.
13. Flags for indicating pulse output status:
a) When pulse output on Y0/Y1 specified as Pulse/Dir (D1220 = K1) is completed,
completion flag M1029 = ON.
b) When pulse output on Y2/Y3 specified as Pulse/Dir (D1221 = K1) is completed,
completion flag M1102 = On。
c) When PLSR/DPLSR instruction is activated again, the completion flags will automatically
be reset.
14. 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.
15. 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.