7 Applied Instructions
7.14 Positioning Control
549
FXCPU Structured Programming Manual
(Basic & Applied Instruction)
1
Outline
2
Instruction List
3
Configuration of
Instruction
4
How to Read
Explanation of
Instructions
5
Basic Instruction
6
Step Ladder
Instructions
7
Applied
Instructions
8
Interrupt Function
and Pulse Catch
Function
A
Relationships
between devices
and addresses
Cautions
1) When handling 32-bit data in structured program, you cannot designate 16-bit device directly unlike the
simple project.
When handling 32-bit data, please use the label.
However, the 32-bit counter is a 32-bit long device, and 32-bit data can be specified directly.
When specifying the device, use the global label.
2) Instruction driving timing (FX
1S, FX1N, FX1NC PLCs)
This is an instruction allowed to program as many times as desired, but you are advised to design the
instruction driving timing according to the following cautions.
a) Do not drive simultaneously the positioning instruction using the same output relay (Y000 or Y001).
If driven simultaneously, it is handled as double coil, and normal function is disabled.
b) After turning OFF the direction input of the instruction, drive again after the following condition is
established.
Condition: Re-driving is allowed after one operation cycle or more from the OFF moment of "pulse
output mode monitor (Y000: [M8147], Y001: [M8148]" of the positioning instruction driven
previous time.
This is because one or more OFF operation is required for re-driving of the positioning instruction.
c) We recommend the step-ladder instruction (STL) as a method of programming correctly the
positioning instruction according to the cautions mentioned above.
3) When output pulse frequency is changed to K0 during pulse output (FX
1S, FX1N, FX1NC PLCs), the PLC
stops the pulse output.
When sending output again, once turn OFF the flag during pulse output (Y000: [M8147], Y001: [M8148]),
and after lapse of one operation cycle, set again (change) the output pulse frequency to other value than
K0.
a) Within one operation cycle, if the value is changed to other value than K0, the output maintains the
stop function. In this case, write K0 again for more than one operation cycle, or once turn OFF the
command input.
4) Applicable devices are limited.
S1: <FX
3U, FX3UC, FX3G PLCs>
Please specify Y000, Y001, Y002
*1
of transistor output of basic unit, or Y000, Y001, Y002
*3
, Y003
*3
of high speed output special adapter
*2
.
*1. Y002 cannot be used in the 14-point type or 24-point type of FX
3G PLC.
*2. High speed output special adapter can be connected only in FX
3U PLC.
*3. When using Y002, Y003 in high speed output special adapter, a second high speed output
special adapter is needed.
Points
• When using FX3U PLC of relay output type, high speed output special adapter is needed.
• The output of high speed output special adapter is a differential line driver.
<FX
1S, FX1N, FX1NC PLCs>
Specify Y000 or Y001.
As the output of the PLC, please use the transistor output.
S2: <FX
3U, FX3UC, FX3G PLCs>
When high speed output special adapter is used at the pulse output destination in the FX
3U PLC,
as the rotating direction signal, use the output shown in the table below.
When built-in transistor output is used at the pulse output destination in the FX
3U, FX3UC, FX3G
PLCs, as the rotating direction signal, use the transistor output.
Connection position of high speed
output special adapter
Pulse output
Rotating direction
signal
First unit
=Y000 =Y004
=Y001 =Y005
Second unit
=Y002 =Y006
=Y003 =Y007