Description of Manual (Built-in Positioning Function)
2. If it is necessary to use the CLEAR signal device specification function:
4.5 Setting of Various Items on PLC Side
4.5.1 Setting of Common Items Using Program
For each pulse output destination device (Y000, Y001, Y002*1, Y003*2), set the items shown in the following table without using the operand of the instruction.
Setting item
Setting device Instruction
Refer to Y000 Y001 Y002*1 Y003*2 DSZR ZRN ABS TBL*3 PLSV DVIT*4 DRVI DRVA
Items related to speed Maximum
speed*5
D8344, D8343
D8354, D8353
D8364, D8363
D8374,
D8373
-
*6
Subsec-tion4.2.5
Bias speed D8342 D8352 D8362 D8372
-
*6
Subsec-tion4.2.6 Acceleration
time*7 D8348 D8358 D8368 D8378
-
*6
Subsec-tion4.2.7 Deceleration
time*7 D8349 D8359 D8369 D8379
-
*6
Subsec-tion4.2.8 Zero return
speed*5
D8347, D8346
D8357, D8356
D8367, D8366
D8377,
D8376
- - - - - - - Subsec-tion4.2.3
Creep speed D8345 D8355 D8365 D8375
- - - - - - - Subsec-tion4.2.4 Items needed for (DSZR) zero return instruction with DOG search function and (ZRN) zero return instruction) Zero return
direction M8342 M8352 M8362 M8372
-*8 - - - - -- Subsec-tion 4.3.3 CLEAR
signal output M8341 M8351 M8361 M8371
- - - - - - Subsec-tion4.3.4 CLEAR
signal device change*9
M8464 D8464
M8465 D8465
M8466 D8466
M8467
D8467
- - - - - - Subsec-tion4.3.4 Logic of
near-point signal
M8345 M8355 M8365 M8375
- - - - - - - Subsec-tion4.3.5 Logic of
zero-phase signal
M8346 M8356 M8366 M8376
- - - - - - - Subsec-tion4.3.6 Items needed for variable speed pulse output (PLSV) instruction
Acceleration/
deceleration Operation*7
M8338 - - - -
- - - Subsec-tion4.3.9 Items needed for interrupt positioning (DVIT) instruction*4
Interrupt input signal device change*10
M8336
D8336 - - -
*6 -
- - Subsec-tion4.3.7
FX /FX /FX /FX /FX PLC User's Manual - Positioning Control Edition
Built-in Positioning Functions 4.5 Setting of Various Items on PLC Side
*1. Y002 is not available in FX3G PLC (14-point and 24-point type) and FX3S/FX3GC PLC.
*2. Y003 is available only when two high-speed output special adapters are connected to the FX3U PLC.
*3. This instruction is not supported in the FX3S PLC.
*4. Only available for FX3U and FX3UC PLCs.
*5. 32 bits are used for the maximum speed setting device and the zero return speed setting device.
*6. Set this item by selecting "PLC Parameter" → "Positioning Instruction Settings" of GX Works2 in the FX3UC PLC Ver. 2.20 or later or FX3G/FX3GC/FX3U PLC.
The data set by the parameter will be stored in the corresponding setting device.
*7. To accelerate or decelerate the operation using the variable speed pulse output (PLSV) instruction with an FX3UC PLC Ver. 2.20 or later and FX3S/FX3G/FX3GC/FX3U PLC, it is necessary to set this item.
If the operation is not accelerated or decelerated, or if an FX3UC PLC below Ver. 2.20 is used, the PLSV instruction will not use this item even if it is set.
*8. The ZRN instruction will not use any zero return direction setting devices. Using the program, adjust the rotation direction output to the zero return direction.
*9. This item can be set using an FX3UC PLC Ver. 2.20 or later and FX3S/FX3G/FX3GC/FX3U PLC.
*10. Only available for FX3UC PLC Ver. 1.30 or later and FX3U PLC.
However, the user interrupt input command can be specified only if the FX3U/FX3UC PLC Ver. 2.20 or later is used.
*11. Use this function only if immediate stop is absolutely needed to avoid danger.
User interrupt input command *10
M8460 M8461 M8462 M8463 - - -
*6 -
- - Subsec-tion4.3.7 Logic of
interrupt input signal
M8347 M8357 M8367 M8377 - - -
-
- - Subsec-tion4.3.8 Forward limit, reverse limit, and immediate stop of pulse output
Forward limit M8343 M8353 M8363 M8373
-
Subsec-tion4.3.1
Reverse limit M8344 M8354 M8364 M8374
-
Subsec-tion4.3.1 Immediate
stop of pulse output*11
M8349 M8359 M8369 M8379
-
Subsec-tion4.3.2 Setting
item
Setting device Instruction
Refer to Y000 Y001 Y002*1 Y003*2 DSZR ZRN ABS TBL*3 PLSV DVIT*4 DRVI DRVA
FX /FX /FX /FX /FX PLC User's Manual - Positioning Control Edition
Built-in Positioning Functions 4.5 Setting of Various Items on PLC Side
A
Common Items
Functions Positioning
B
Built-inApx.
Connection ExampleExample program:
In the following program, the zero return instruction with DOG search function (DSZR), variable speed pulse output (PLSV) instruction, and interrupt positioning (DVIT) instruction are used for the pulse output
destination (Y000) under the conditions shown in the following table.
1) Set conditions
*1. Only available for FX3U and FX3UC PLCs.
Setting item Description of setting Related
device
Setting value or condition Items related to speed
Maximum speed 30000Hz
D8344, D8343 (32-bit)
K30000
Bias speed 10Hz D8342 K10
Acceleration time 200ms D8348 K200
Deceleration time 200ms D8349 K200
Zero return speed 5000Hz
D8347, D8346 (32-bit)
K5000
Creep speed 500Hz D8345 K500
Items needed for DSZR instruction (zero return instruction with DOG search function)
Zero return direction Reverse rotation direction M8342 OFF
CLEAR signal output
Output to Y010
M8341 ON
CLEAR signal device change M8464 ON
D8464 H0010
Logic of near-point signal Sets the positive logic (turning on the input will
turn on the near-point signal). M8345 OFF
Logic of zero-phase signal Sets the positive logic (turning on the input will
turn on the zero-phase signal). M8346 OFF
Items needed for variable speed pulse output (PLSV) instruction Acceleration/deceleration Operation
If X012 is turned on, the variable speed pulse output (PLSV) instruction will be activated to accelerate or decelerate the operation.
M8338 ON:
If X012 = ON Items needed for interrupt positioning (DVIT) instruction*1
Interrupt input signal device change
Sets X007 for interrupt inputs.
Interrupt positioning (DVIT) instruction will not be used for the pulse output destinations Y001, Y002, and Y003.
M8336 ON
D8336 HFFF7
User interrupt input command Do not use. M8460
-Logic of interrupt input signal Sets the negative logic (turning off the input
will turn on the interruption signal). M8347 ON 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
Immediate stop of pulse output Do not use. M8349
-FX /FX /FX /FX /FX PLC User's Manual - Positioning Control Edition
Built-in Positioning Functions 4.5 Setting of Various Items on PLC Side
2) Set program
Zero return direction (for Y000, DSZR instruction) :Reverse rotation direction
M8342 M8000
RUN monitor
M8002 Maximum speed (for Y000):
30000 Hz → (D8344, D8343) Initial pulse
Bias speed (for Y000):
10 Hz → D8342
Acceleration time (for Y000):
200 ms → D8348
Deceleration time (for Y000):
200 ms → D8349
Zero return speed (for Y000, DSZR instruction) :5000 Hz → (D8347, D8346)
Creep speed (for Y000, DSZR instruction) :500 Hz, D8345
D8343 K30000
FNC 12 DMOV
D8342 FNC 12 K10
MOV
D8348 K200
D8349 K200
D8346 K5000
D8345 K500
FNC 12 DMOV FNC 12
MOV FNC 12
MOV
FNC 12 MOV
M8000 CLEAR signal output (for Y000)
:Y010 monitorRUN
D8464 H0010
FNC 12 MOVP
Logic of near-point signal (for Y000) :Positive logic
M8345 M8000
Logic for zero-phase signal (for Y000, DSZR instruction) :Positive logic
M8346
Acceleration/deceleration operation (PLSV instruction)
:Enabled if X012 = ON M8338
X012
M8000
Interruption input signal device (for Y000, DVIT instruction)
:X007 (Y001 to Y003 will not be used.) monitorRUN
D8336 HFFF7
FNC 12 MOVP
Logic of interruption input signal:Negative logic M8347
M8000 RUN monitor
Forward rotation limit (for Y000) M8343
X010
Reverse rotation limit (for Y000) M8344
X011 RUN monitor
M8464
M8341
M8336
FX /FX /FX /FX /FX PLC User's Manual - Positioning Control Edition
Built-in Positioning Functions 4.5 Setting of Various Items on PLC Side
A
Common Items
Functions Positioning
B
Built-inApx.
Connection Example4.5.2 Setting of High-Speed Output Special Adapter
If a high-speed output special adapter (FX3U-2HSY-ADP) is used, the pulse output method can be selected from "pulse train + direction" method and "forward/reverse rotation pulse train" method.