![Mitsubishi Electric MELSEC FX3G Programming Manual Download Page 583](http://html.mh-extra.com/html/mitsubishi-electric/melsec-fx3g/melsec-fx3g_programming-manual_239083583.webp)
581
FX
3G
/FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
20 Positioning Control – FNC150 to FNC159
20.6 FNC157 – PLSV / Variable Speed Pulse Output
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
S
2 : When using a special high speed output adapter for the pulse output destination in an FX
3U
PLC, the
rotation direction signal must be used by the following table output.
When using a built-in transistor output for the pulse output destination in an FX
3G
/FX
3U
/FX
3UC
PLC, the
rotation direction signal must use transistor output.
S
3 : "D
.b" is available only in FX
3U
and FX
3U
C PLCs. However, index modifiers (V and Z) are not
available.
S
4 : This function is supported only in FX
3U
/FX
3UC
PLCs.
Explanation of function and operation
Caution on writing during RUN
During RUN, avoid writing while PLSV (FNC157) instruction is executed (that is, while pulses are output).
Note that if writing is executed during RUN to a circuit block including FNC157 instruction while pulses are
output, the PLC executes the operation shown below.
*1.
Only available for FX
3U
/FX
3UC
PLC Ver.2.20 or later and FX
3G
PLC.
Function change depending on the version
The function of the FNC157 instruction is changed depending on the version as shown in the table below.
→
For explanation of the instruction and the contents of function change,
refer to the Positioning Control Edition.
Special high speed output adapter No.
Pulse output
Rotation direction output
No. 1 (1st unit)
=Y000
=Y004
=Y001
=Y005
No. 2 (2nd unit)
=Y002
=Y006
=Y003
=Y007
PLC operation when writing is excuted during RUN while
instruction is executed
During operation with acceleration/deceleration
*1
Decelerates and stops pulse output.
During operation without acceleration/deceleration Immediately stops pulse output.
Applicable version
Item
Outline of function
FX
3G
FX
3U
FX
3UC
Ver.1.00
or later
Ver.2.20
or later
Ver.2.20
or later
Acceleration/
deceleration
operation function
When M8338 is set to ON, the PLC accelerates or decelerates up to
in the acceleration or deceleration time corresponding to
if
changes.
D
1
D
2
D
1
D
2
D
1
D
2
D
1
D
2
Command
input
FNC157
PLSV
S
1
D
1
D
2
S
1
D
1
S
1