FX Series Positioning Controllers
Program Examples 9
9-23
9.5
Combination with PLC (FX
2N
-64MT)
9.5.1
Quantitative positioning (FX
2N
-10GM, FX
2N
-20GM)
1) Outline of positioning
When positioning is completed, the positioning unit transfers the m code signal to the FX
2N
Series PLC, and the PLC performs an auxiliary unit operation corresponding to the m code.
2) Operating procedure
c
When the start command (X000) is input, the machine returns to the zero point only at
the first time, and regards that position as the electrical zero point.
d
When the machine stops at the first point (A), the positioning unit transfers the m10 code
to the PLC. When receiving the M10 code, the PLC makes the auxiliary unit No. 1 (Y010)
operate. When operation of the auxiliary unit No. 1 is finished, the PLC turns off Y010,
and transfers the m code OFF command to the positioning unit.
e
When receiving the m code OFF command, the positioning unit turns off the m code, and
the machine moves to the second point (B). When the machine reaches the point B, the
positioning unit transfers the m11 code to the PLC. When receiving the m11 code, the
PLC makes the auxiliary unit No. 2 (Y011) operate. When operation of the auxiliary unit
No. 2 is finished, the PLC turns off Y011 and transfers the m code OFF command to the
positioning unit.
f
When receiving the m code OFF command, the positioning unit turns off the m code, and
the machine moves to the electrical zero point. Now, operation is finished.
3) Operation chart
4) Program
Speed
A(M10)
B(M11)
Zero point
Distance
(Return to the zero point)
Line No.
Instruction
Description
Ox0, N0
LD M9057;
N1
FNC00(CJ) P0;
Jumps to P0 if the zero point return completion flag
M9057 is ON.
N2
cod28(DRVZ);
Returns the machine to the zero point.
N3
cod29(SETR);
Sets the electrical zero point.
N4
P0;
N5
cod00(DRV) x5000;
Moves the machine to the point A.
N6
m10;
Outputs the m code 10.
N7
cod00(DRV) x9000;
Moves the machine to the point B.
N8
m11;
Outputs the m code 11.
N9
cod30(DRVR);
Moves the machine to the electrical zero point.
N10
m02(END);
Summary of Contents for FX2N-10GM
Page 1: ...HARDWARE PROGRAMMING MANUAL FX2N 10GM FX2N 20GM ...
Page 4: ...FX Series Positioning Controllers ii ...
Page 6: ...FX Series Positioning Controllers iv ...
Page 46: ...FX Series Positioning Controllers Introduction 1 1 34 MEMO ...
Page 76: ...FX Series Positioning Controllers Wiring 3 3 24 MEMO ...
Page 222: ...FX Series Positioning Controllers Operation Maintenance and Inspection 8 8 18 MEMO ...
Page 256: ...FX Series Positioning Controllers Program Examples 9 9 34 MEMO ...