Mitsubishi Electronics FX3G User Manual
557
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
Series
Programming Manual - Basic & Applied Instruction Edition
20 Positioning Control – FNC150 to FNC159
20.6 FNC157 – PLSV / Variable Speed Pulse Output
11
FN
C30
-FN
C3
C30
-FN
C3
9
R
ota
tion and
Shi
ft
ft
12
FN
C40-FN
C40-FN
C49
D
ata O
perati
perati
on
13
FNC
50-FNC
59
High-Speed
Proc
essing
14
FM
C60-FN
C60-FN
C69
H
andy
In
struction
15
FN
C70-FN
C70-FN
C79
E
xternal
F
X
I/O
De
vice
16
FNC
80-FNC
89
External
FX
Dev
ice
ice
17
FNC1
00-
FNC10
00-
FNC10
9
Dat
a
a
Transfer 2
18
FNC1
10-
FNC139
FNC139
Fl
oati
ng Poi
nt
19
FNC14
0-F
N
C
149
Da
ta
Operation 2
20
FNC1
50-
FNC159
FNC159
Pos
itioning
itioning
Control
S3 : "D .b" is available only in FX
3U
and FX
3UC
PLCs. However, index modifiers (V and Z) are not available.
S4 : This function is supported only in FX
3G
/FX
3GC
/FX
3U
/FX
3UC
PLCs.
S5 : 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.
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
3UC
PLC Ver. 2.20 or later and FX
3S
/FX
3G
/FX
3GC
/FX
3U
PLCs.
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.
PLC operation when writing is executed 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
3S
FX
3G
FX
3GC
FX
3U
FX
3UC
Ver. 1.00
or later
Ver. 1.00
or later
Ver. 1.40
or later
Ver. 2.20
or later
Ver. 2.20
or later
Acceleration/
deceleration
operation function
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.
Command
input
FNC157
PLSV
S
1
D
1
D
2
S
1
D
1
S
1