401
FX
3G
/FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
13 High Speed Processing – FNC 50 to FNC 59
13.10 FNC 59 – PLSR / Acceleration/Deceleration Setup
11
FNC3
0-F
NC3
9
R
otati
on and
Shif
t
12
FNC4
0-F
NC4
9
D
ata
O
per
ati
on
13
FN
C
50-FN
C
59
H
igh Speed
Pr
ocess
ing
14
FM
C
60-
FN
C
69
H
andy
In
st
ru
ct
ion
15
FNC7
0-F
N
C7
9
Ex
ter
nal
FX
I/O
D
evice
16
FN
C
80-FN
C
89
Ext
ernal FX
De
vic
e
17
FN
C
100-
FN
C
109
Da
ta
Transf
er 2
18
FN
C
110-
FN
C
139
Fl
oati
ng Poi
nt
19
FN
C
140
-F
N
C
14
9
Da
ta
O
per
ati
on 2
20
FN
C
150-
FN
C
159
Posit
ioning
C
ontr
ol
Related devices
1. Instruction execution complete flag
→
For the instruction execution complete flag use method,
refer to Subsection 6.5.2.
2. Monitoring the number of generated pulses
The number of pulses output from Y000 or Y001 is stored in the following special data registers:
The contents of each data register can be cleared using the following program:
3. How to stop the pulse output
• When the command input is set to OFF, the pulse generation is immediately stopped. When the command
input is set to ON again, pulse generation operation restarts from the beginning.
• When the special auxiliary relays (M) shown below are set to ON, the pulse output is stopped.
To restart pulse output pulses again, set the device (FX
3G
: M8145, M8146, M8349, M8359
FX
3U
/FX
3UC
: M8349, M8359) corresponding to the output signal to OFF, and then drive the pulse output
instruction again.
Cautions
1. Frequency
When using transistor outputs on the main unit, set the output frequency
to "100,000 Hz" or less.
If the load is operated using pulses at a frequency higher than 100,000 Hz from transistor outputs in the main
unit, the PLC may be damaged.
2. Pulse output
• Only a transistor output on the main unit or Y000 or Y001 on a special high speed output adapter*1 can be
specified in
.
*1.
High-speed output special adapters can be connected only to FX
3U
PLC.
When using the PLSR (FNC 59) instruction with a relay output type FX
3U
PLC, a special high speed
output adapter is required.
• The duration of the ON/OFF pulses is 50% (ON = 50%, OFF = 50%).
• The pulse output is controlled by the dedicated hardware not affected by the sequence program (operation
cycle).
• If the command input is set to OFF during continuous pulse output, the output from
turns OFF.
Device
Name
Description
M8029
Instruction execution
complete
OFF: The input command is OFF, or pulses are being output. (This flag does not turn
ON if the pulse output is interrupted in the middle of output.)
ON: Output of the number of pulses set in
is completed.
Device
Description
Contents of data
High
order
Low
order
D8141
D8140
Accumulated number of pulses
output from Y000
Accumulated number of pulses output from Y000 by PLSY and PLSR
instructions
D8143
D8142
Accumulated number of pulses
output from Y001
Accumulated number of pulses output from Y001 by PLSY and PLSR
instructions
D8137
D8136
Total accumulated number of
pulses output from Y000 and
Y001
Total accumulated number of pulses output from Y000 and Y001 by
PLSY and PLSR instructions
Device
Description
FX
3G
FX
3U
•FX
3UC
M8145,M8349
M8349
Immediately stops pulse output from Y000.
M8146,M8359
M8359
Immediately stops pulse output from Y001.
S
2
FNC 12
DMOV
K0
Low-order device shown in
above table
Command
input
S
1
S
1
D
D