FX
3G
/FX
3U
/FX
3UC
PLC User's Manual - Positioning Control Edition
Built-in Positioning Functions
5 Operation Test
5.2 Creation of Test Program
B - 87
A
Common Items
B
Built-in
Positioning
Functions
Apx.
Example
Connection
3. Example program
Performs jogging operation
in the forward rotation direction
using the drive to Increment
instruction.
M8002
Maximum speed (for Y000)
100,000Hz
→
[D8344,D8343]
Bias speed (for Y000)
0Hz
→
D8342
Acceleration time (for Y000)
100ms
→
D8348
Deceleration time (for Y000)
100ms
→
D8349
D8343K100000
FNC 12
DMOV
D8342K0
FNC 12
MOV
D8348K100
D8349K100
FNC 12
MOV
FNC 12
MOV
X012
JOG+
M8348
Positioning
(Y000)
M101
JOG(+)
operation
completed
Y004Y000
FNC158
DDRVI
K30000K999999
X012
JOG+
M8329
Instruction execution
abnormal completion
M101
Forward limit (for Y000)M8343
X010
Reverse limit (for Y000)
M8344
X011
Completes the JOG+ operation.
X013
JOG-
M8348
Positioning
(Y000)
M103
Y004Y000
FNC158
DDRVI
K30000K-999999
X013
JOG-
M8329
Instruction execution
abnormal completion
M103
Performs jogging operation in the
reverse rotation direction using the
drive to Increment instruction.
Completes the JOG- operation.
END
Initial pulse
Forward rotation limit 1
Reverse rotation limit 1
JOG(-)
operation
completed
M100
JOG(+)
operation
being
performed
M100
JOG+ operation is being performed.
M102
JOG- operation is being performed.
M102
JOG(-)
operation
being
performed