20: PULSE INSTRUCTIONS
20-24 « FC4A MICROSMART USER’S MANUAL »
ZRN1 (Zero Return 1)
ZRN2 (Zero Return 2)
Note: The ZRN1 and ZRN2 instructions can be used only once in a user program. When ZRN1 or ZRN2 is not used, unused
output Q0 or Q1 can be used for another pulse instruction or ordinar y output.
Applicable CPU Modules
Valid Operands
Source operand S1 (control register) uses 5 data registers starting with the operand designated as S1. Data registers D0
through D1295 and D2000 through D7995 can be designated as S1. For details, see the following pages.
Source operand S2 (deceleration input) can designate inputs I0 through I307 and internal relays M0 through M1277. Spe-
cial internal relays cannot be designated as S2.
Destination operand D1 (status relay) uses 2 internal relays starting with the operand designated as D1. Internal relays M0
through M1270 can be designated as D1. Special internal relays cannot be designated as D1. For details, see page 6-2.
Source Operand S1 (Control Register)
Store appropriate values to data registers starting with the operand designated by S1 before executing the ZRN instruction
as required, and make sure that the values are within the valid range. Operand S1+4 is for read only.
FC4A-C10R2/C FC4A-C16R2/C FC4A-C24R2/C FC4A-D20K3/S3 FC4A-D20RK1/RS1 & FC4A-D40K3/S3
——— — X
Operand Function I Q M R T C D Constant Repeat
S1 (Source 1) Control register —————— X — —
S2 (Source 2) Deceleration input X — ▲ ———— — —
D1 (Destination 1) Status relay — — ▲ ———— — —
Operand Function Description R/W
S1+0 Initial operation mode
0: 10 to 1,000 Hz
1: 100 to 10,000 Hz
2: 1,000 to 20,000 Hz
R/W
S1+1 Initial pulse frequency
When S1+0 (initial operation mode) = 0 or 1: 1 to 100 (%)
(1% to 100% of the maximum frequency of selected mode S1+0)
When S1+0 (initial operation mode) = 2: 1 to 20 (×5%)
(5% to 100% of the maximum frequency of selected mode S1+0)
R/W
S1+2 Creep operation mode
0: 10 to 1,000 Hz
1: 100 to 10,000 Hz
2: 1,000 to 20,000 Hz
R/W
S1+3 Creep pulse frequency
When S1+2 (creep operation mode) = 0 or 1: 1 to 100 (%)
(1% to 100% of the maximum frequency of selected mode S1+2)
When S1+2 (creep operation mode) = 2: 1 to 20 (×5%)
(5% to 100% of the maximum frequency of selected mode S1+2)
R/W
S1+4 Error status 0 to 2 R
ating output pulses.
The output pulse width ratio is fixed at 50%.
ating output pulses.
The output pulse width ratio is fixed at 50%.