FX Series Positioning Controllers
Program format 5
5-2
•
The END instruction ("m02" for simultaneous 2-axis operation, X axis operation or Y axis
operation and "m102" for subtasks) must be provided at the end of each program.
•
Program No.00 to 99 (100 in total) are available as follows. ("O100" only is available for
subtasks.)
O00 to O99
Ox00 to Ox99
Oy00 to Oy99
O100
•
In the FX
2N
-20GM, programs for simultaneous 2-axis operation and programs for inde-
pendent 2-axis operation cannot be mixed together. Only one type or the other is
allowed.
If both types of program are present, a program error (error code: 3010) occurs.
•
The program No. to be executed can be specified from a digital switch or programmable
controller depending on the setting of PARA. 30 (program No. specification method).
e
Program
•
When the START input is entered, the positioning program whose program No. is speci-
fied is executed step by step from the top.
Specified program No.
Ox20, N0;
N0000
cod28
(DRVZ);
N0001
cod00
(DRV)
x1000
f2000;
.
.
.
N0002
cod04
(TMR)
K100;
m02
(END);
N0003
Execution in the order programmed.
When execution of one instruction is finished, the instruction in the next line is executed.
For example, in the case of "N0001" shown on the left, when the X axis travel reaches
"1000", execution proceeds to the next line. In the line N0002, when the timer reaches
timeout, execution proceeds to the next line.
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 ...