C h a p t e r 1 F r a m e w o r k o f a n A H 5 0 0 S e r i e s M o t i o n C o n t r o l M o d u l e
5. The description of P subroutines is shown below.
P subroutine
Description
Enabling a P
subroutine
There are 256 P subroutines (P0~P255).
(If a P subroutine is a ladder diagram in PMSoft, the starting flag in the P
subroutine will be set automatically, and users do not have to write the
starting flag.)
Disabling a P
subroutine
Ending instruction SRET (If a P subroutine is a ladder diagram in PMSoft,
the ending instruction SRET will be set automatically, and users do not have
to write the ending instruction SRET.)
Executing a P
subroutine
1. O100 can call P subroutines.
2. Ox motion subroutines can call P subroutines.
Operation
characteristic
Whenever a P subroutine is enabled, it is executed once. If a Pn subroutine
needs to be executed again, it has to be enabled again.
Instruction
1. If P subroutines are called by O100, the P subroutines will support basic
instructions and applied instructions.
2. If P subroutines are called by Ox motion subroutines, the P subroutines
will support basic instructions, applied instructions, motion instructions,
and G-codes.
Note: If P subroutines are called by Ox motion subroutines, users have to
avoid using pulse instructions.
Number
There are 256 P subroutines.
Characteristic
and Function
1. P subroutines are general subroutines.
2. P subroutines can be called by O100 and Ox motion subroutines.
3. If P subroutines are used with O100 and Ox motion subroutines, the P
subroutines, O100, and the Ox motion subroutines can be arranged in
any order.
1 - 9
Содержание 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...