A H 5 0 0 M o t i o n C o n t r o l M o d u l e M a n u a l
1.2
Structure of O100
O100 is a sequence control program. It is the main program in an AH500 series motion control
module. It only supports basic instructions and applied instructions. Users can use these two types
of instructions to process I/O data, call P subroutines, and enable Ox motion subroutines
(Ox0~Ox99). O100 functions as a main program. Motion subroutines are enabled through O100.
There is hierarchical relation between O100 and motion subroutines. The characteristics of O100
are described below.
1. There are two methods of enabling O100.
If the “RUN-STOP” switch of an AH500 series motion control module is turned form the
“STOP” position to the “RUN” position when the AH500 series motion control module is
powered, SM072 will be ON, and O100 will run.
If an AH500 series motion control module is powered, users can use communication to set
SM072 to ON, and to run O100.
Communi cati on
"R UN-STOP switch
"
S
2
M07
O1 00
runs.
2. O100 is scanned cyclically. The scan of the main program O100 starts from the starting flag
O100. After the ending instruction M102 is scanned, the scan of the main program O100 will go
back to the starting flag O100.
O100
M102
.
.
.
The main program starts.
The main program ends.
The sequence control
program is scanned cyclically.
M
a
in
Program
3. There are three methods of disabling O100.
If the “RUN-STOP” switch of an AH500 series motion control module is turned form the
“RUN” position to the “STOP” position when the AH500 series motion control module is
powered, SM072 will be OFF, and O100 will stop. If O100 stops, Ox motion subroutines and
P subroutines will not be executed.
If an AH500 series motion control module is powered, users can use communication to set
SM072 to OFF, and to stop O100. If O100 stops, Ox motion subroutines and P subroutines
will not be executed.
If an error occurs when O100 is compiled or when O100 runs, O100 will stop automatically.
4. O100 supports basic instructions and applied instructions. Users can write a control program
according to their needs. They can set the parameters of motion instructions, and motion
subroutine numbers (Ox0~Ox99) in O100.
O100 does not support motion instructions and G-codes. Motion instructions and G-codes
must be used in the motion subroutines Ox0~Ox99. Please refer to section 1.2 for more
information.
O100 can call P subroutines. Please refer to section 1.4 for more information.
5. The description of O100 is shown below.
O100
Description
Enabling O100
Starting flag O100 (If O100 is a ladder diagram in PMSoft, the starting
flag in O100 will be set automatically, and users do not have to write the
starting flag.)
1 - 4
Содержание AH500
Страница 9: ...viii...
Страница 52: ...Chapter 2 Hardware Specifications and Wiring Wiring AH10PM 5A and a Panasonic CN5 series servo drive 2 31...
Страница 53: ...AH500 Motion Control Module Manual Wiring AH10PM 5A and a Yaskawa servo drive 2 32...
Страница 54: ...Chapter 2 Hardware Specifications and Wiring Wiring AH10PM 5A and a Mitsubishi MJR2 series servo drive 2 33...
Страница 55: ...AH500 Motion Control Module Manual Wiring AH10PM 5A and a Fuji servo drive 2 34...
Страница 115: ...AH500 Motion Control Module Manual 4 16 MEMO...
Страница 375: ...AH500 Motion Control Module Manual 5 260 MEMO...
Страница 376: ...Chapter 6 Data Transmission Table of Contents 6 1 Functions 6 2 6 2 Parameters 6 2 6 3 Usage 6 5 6 1...
Страница 383: ...AH500 Motion Control Module Manual 6 8 MEMO...
Страница 419: ...AH500 Motion Control Module Manual 7 36 MEMO...
Страница 436: ...Chapter 8 Electronic Cam 8 17...
Страница 482: ...Chapter 10 High speed Counters and High speed Timers 3 The cyclic mode is used to measure a frequency 10 7...
Страница 483: ...AH500 Motion Control Module Manual 10 8 MEMO...
Страница 505: ...AH500 Motion Control Module Manual 12 8 MEMO...
Страница 515: ...AH500 Motion Control Module Manual 13 10 MEMO...
Страница 544: ...Appendix A Error Code Table Table of Contents A 1 Error Code Table A 2 A 1...
Страница 547: ...AH500 Motion Control Module Manual A 4 MEMO...