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
9.5
O Pointers/M-codes
O
pointers
All O pointers which can be used are shown below. O100 is a main program pointer.
Ox0~Ox99 are motion subroutine pointers.
Instruction code
Operand
Function
O100 None
Main program pointer
Ox0~Ox99 None
G-code
motion subroutine pointers
Description:
O100 is a main program pointer. M102 indicates the end of O100.
Ox0~Ox99 are G-code motion subroutine pointers. Users can use them to create different
motion paths. A G-code subroutine pointer is stored in the low byte in SR1052. If users
want to store a G-code subroutine pointer in the low byte in SR1052, they have to set bit
14 or bit 15 in SR1052 to 1. After bit 12 in SR1030 is set to ON, the execution of the Ox
motion subroutine specified will start.
Example: The steps of starting the execution of the motion subroutine Ox98 are as follows.
(1) Setting a number: SR1052=16#8062 (or 16#4062/16#C062)
(2) Starting the execution of Ox98: SR1030=16#1000
M2: End of a motion subroutine
Example:
The main program O100 is composed of N0000~N0100, and the motion subroutine is
composed of N0102~N0304.
Line number Program
N0000 O100
N0001 LD M1000
N0002 MOV H8063 D1868
N0007 MOV H1000 D1846
:
:
N0099 OUT Y30
N0100 M102
N0101 NOP
N0102 OX50
N0103 G90 G00 X200.0 Y40.0
N0104 G01 X500.0 F25.0
:
:
N0304 M2
9 - 2 2
Содержание 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...