Manual
Operation
(Home Return)
11-12
11.3 Sample Programs
11.3.1 Sample Program (Home Return)
The operation for starting the home return operation is mainly divided into five steps on a user
program.
•
Read flags stored in the unit memories (input control area).
•
Control the Servo ON/OFF.
•
Check the condition if the control of each axis can be started.
•
Confirm the condition and start the home return.
•
Write operation results in the unit memories (output control area).
(Note): The sample program on the next page is for activating the home return of the axis number 1 for the FP7 MC
Unit installed in the slot number 1. To simplify the explanation, the part related to the home return operation is
extracted.
Contents of sample program
Mark
Description
①
Read flags indicating states from the input control area of the unit memories (UM) to arbitrary areas
(WR).
Read flags such as connection confirmation flag, servo lock flag, busy flag, and error flag.
②
Servo ON/OFF control program
③
Check required conditions and replace it with the start enabled flag (R110) in the program.
④
Home return start program.
⑤
Write flags to the output control area of the unit memoires (UM) from arbitrary area (WR) where the
start conditions are written.
Home return start
KEY POINTS
•
Parameters related to the home return operation are set in the axis
parameter of CMI. Refer to “5.2.4 Axis Parameters (Operation)”.
Содержание AFP7MC16EC
Страница 1: ......
Страница 19: ...1 Unit Functions and Restrictions ...
Страница 28: ...Unit Functions and Restrictions 1 10 ...
Страница 29: ...2 Names and Functions of Parts ...
Страница 33: ...3 Installation and Wiring ...
Страница 47: ...4 Basic Procedure ...
Страница 75: ...5 Settings of FP7 MC Unit Using CMI Tool ...
Страница 97: ...6 Data Transfer to MC Unit and Test Operation ...
Страница 122: ...Data Transfer to MC Unit and Test Operation 6 26 ...
Страница 123: ...7 Creation of User Programs ...
Страница 131: ...8 Automatic Operation Position Control ...
Страница 143: ...8 2 Interpolation Control 8 13 ...
Страница 193: ...9 Automatic Operation Synchronous Control ...
Страница 251: ...10 Manual Operation JOG Operation ...
Страница 257: ...10 2 Changing Speed During JOG Operation 10 7 MEMO ...
Страница 263: ...11 Manual Operation Home Return ...
Страница 277: ...12 Stop Functions ...
Страница 286: ...Stop Functions 12 10 ...
Страница 287: ...13 Supplementary Functions ...
Страница 336: ...Supplementary Functions 13 50 ...
Страница 337: ...14 CMTimeChart Monitor ...
Страница 338: ...CMTimeChart Monitor 14 2 14 1 Overview of Function ...
Страница 365: ...15 Troubleshooting ...
Страница 396: ...Troubleshooting 15 32 ...
Страница 397: ...16 Specifications ...
Страница 500: ...Specifications 16 104 16 13Dimensions AFP7MC16EC AFP7MC32EC AFP7MC64EC 90 28 80 4 Unit mm ...
Страница 502: ......
Страница 503: ......
Страница 504: ......