5 Operation Test
5.2 Creation of Test Program
B - 96
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
 PLC User's Manual - Positioning Control Edition
Built-in Positioning Functions
5.2 Creation of Test Program
1. Input/output assignment
Inputs/outputs are assigned as shown in the following table:
2. Setting of related devices
The following related devices depend on the pulse output destination device that is set for the positioning 
instruction.  If the pulse output destination device is changed, it is necessary to change the related devices.
For setting items of the related devices, refer to Subsection 4.5.1.
Signal Input/output number
Limit switch
Forward rotation limit 1 NC contact X010
Reverse rotation limit 1 NC contact X011
Manual switch
Forward rotation (JOG+) NO contact X012
Reverse rotation (JOG-) NO contact X013
"Pulse train" signal or "forward rotation pulse train" signal (output specified for pulse output 
destination)
Y000
"Direction" signal or "reverse rotation pulse train" signal (output specified for rotation 
direction signal)
Y004
Setting item Description of setting
Related 
device
Setting value or 
condition
Items related to speed
Maximum speed 100,000Hz
D8344,D8343
(32-bit)
K100000 Initial value
Bias speed 0Hz D8342 K0 Initial value
Acceleration time 100ms D8348 K100 Initial value
Deceleration time 100ms D8349 K100 Initial value
Forward/reverse rotation speed 30,000Hz - K30000 -
Forward limit, reverse limit, and immediate stop of pulse output
Forward limit
If X010 is turned off (if the NC contact is 
turned on), the limit switch will be 
activated.
M8343 ON: If X010 = OFF
Reverse limit
If X011 is turned off (if the NC contact is 
turned on), the limit switch will be 
activated.
M8344 ON: If X011 = OFF
Status check items
Positioning (Y000)
Use this device to check whether the 
positioning instruction is being 
activated.
M8348
Turns on when the 
positioning instruction is 
activated.
"Instruction execution abnormal
end" flag
Use this device to check whether or not 
the forward/reverse rotation limit switch 
turns ON.
M8329
Turns on when the limit 
switch is activated 
during a positioning 
operation.
Current value register (Y000)
Stores the current value of the 
positioning operation in Y000.
D8341,D8340
(32-bit)
Varies when a positioning
instruction turns ON.
Downloaded from ManualsNet.com search engine