FX Series Positioning Controllers
4) Program
Line No.
O0,N0
N1
N2
N3
N4
N5
N6
N7
N8
N9
N10
N11
N12
N13
N14
N15
N16
N17
N18
N19
N20
N21
5) Parameter
Set the positioning parameter No. 16 (mechanical zero point address) to "0". For other
parameters, refer to Paragraph 9.2.4.
Instruction
LD M9057;
FNC00(CJ) P254;
cod28(DRVZ);
P254;
cod01(LIN) x400;
SET Y00;
cod04(TMR) K150;
FNC08(RPT) K10;
cod01(LIN) y300 f1200;
cod03(CCW) x300 y400 i-100; The center coordinate "j" is omitted because it
cod01(LIN) x-300;
cod03(CCW) x-400 y300 j-100;Moves the machine from the point E to the
cod01(LIN) y-300;
cod03(CCW) x-300 y-400 i100;Moves the machine from the point G to the
cod01(LIN) x300;
cod03(CCW) x400 y-300 j100; Moves the machine from the point I to the point
cod01(LIN) y0;
FNC09(RPE);
RST Y00;
cod04(TMR) K150;
cod01(LIN) x0 y0;
Description
Jumps to P254 if the zero point return
completion flag M9057 is ON.
Returns the machine to the zero point
(mechanical zero point address = 0, 0).
Moves the machine from the point A to the
point B.
Turns on Y00.
Sets the operation wait time to "1.5 sec".
Sets the number of times of repetition to "10".
Moves the machine from the point B to the
point C.
is incremental address.
"f" is omitted because it is equivalent to that in
the cod01.
Moves the machine from the point D to the
point E.
point F.
Moves the machine from the point F to the
point G.
point H.
Moves the machine from the point H to the
point I.
J.
Moves the machine from the point J to the
point B. (The machine moves among point s
"J → B → C" at a constant speed without stop.)
Turns off Y00.
Sets the OFF wait time to "1.5 sec".
Returns the machine to the zero point.
m02 (END);
Program Examples 9
9-22