Yaskawa YASNAC PC NC Programming Manual User Manual
Page 304

4 - 167
YASNAC PCNC Programming Manual
Chapter 4: Enhanced Level Commands
(b) Calling up a microprogram by using G65
Example of Microprogram Call Up Program (P4)
G91;
G65 P9082
X100. Y50. R–80. Z–40.
U3.0 F250.;
Use the example program (P4) as the macroprogram and assign program number
“O9082” to this macroprogram.
O9082;
G00X#24 Y#25;
G00Z#18;
G0lZ#26 F#9;
G04P#21;
G00Z- [ROUND [#l8] + ROUND [#26] ];
M99;
ó With the microprogram indicated above, it is necessary to specify the R-point and Z-
point levels for each execution of the macroprogram. Therefore, another micropro-
gram should be written which specifies the position of the R-point and Z-point levels.
O9000;
#100 = #18;
#101 = #26;
#l02 = #21;
#l03 = #9;
M99;
O9082;
G00X#24 Y#25;
G00Z#l00;
G01Z#l01 FI03;
G04P#l02;
G01Z- [ROUND [#100] + ROUND [#101] ];
M99;
ì The program used to call the macroprograms indicated in item Ç above is indicated
below.
G91;
G65 P9000 R-80. Z–40. U3.0 F250.;
G65 P9082 X100. Y50.;
G65 P9082 X • • • Y • • •;
• • • • •
- Tag Generator (30 pages)
- MP3300iec (82 pages)
- 1000 Hz High Frequency (18 pages)
- 1000 Series (7 pages)
- PS-A10LB (39 pages)
- iQpump Micro User Manual (300 pages)
- 1000 Series Drive Option - Digital Input (30 pages)
- 1000 Series Drive Option - CANopen (39 pages)
- 1000 Series Drive Option - Analog Monitor (27 pages)
- 1000 Series Drive Option - CANopen Technical Manual (37 pages)
- 1000 Series Drive Option - CC-Link (38 pages)
- 1000 Series Drive Option - CC-Link Technical Manual (36 pages)
- 1000 Series Drive Option - DeviceNet (37 pages)
- 1000 Series Drive Option - DeviceNet Technical Manual (81 pages)
- 1000 Series Drive Option - MECHATROLINK-II (32 pages)
- 1000 Series Drive Option - Digital Output (31 pages)
- 1000 Series Drive Option - MECHATROLINK-II Technical Manual (41 pages)
- 1000 Series Drive Option - Profibus-DP (35 pages)
- AC Drive 1000-Series Option PG-RT3 Motor (36 pages)
- Z1000U HVAC MATRIX Drive Quick Start (378 pages)
- 1000 Series Operator Mounting Kit NEMA Type 4X (20 pages)
- 1000 Series Drive Option - Profibus-DP Technical Manual (44 pages)
- CopyUnitManager (38 pages)
- 1000 Series Option - JVOP-182 Remote LED (58 pages)
- 1000 Series Option - PG-X3 Line Driver (31 pages)
- SI-EN3 Technical Manual (68 pages)
- JVOP-181 (22 pages)
- JVOP-181 USB Copy Unit (2 pages)
- SI-EN3 (54 pages)
- SI-ET3 (49 pages)
- MECHATROLINK-III (35 pages)
- EtherNet/IP (50 pages)
- SI-EM3 (51 pages)
- 1000-Series Option PG-E3 Motor Encoder Feedback (33 pages)
- 1000-Series Option SI-EP3 PROFINET (56 pages)
- PROFINET (62 pages)
- AC Drive 1000-Series Option PG-RT3 Motor (45 pages)
- SI-EP3 PROFINET Technical Manual (53 pages)
- A1000 Drive Option - BACnet MS/TP (48 pages)
- 120 Series I/O Modules (308 pages)
- A1000 12-Pulse (92 pages)
- A1000 Drive Software Technical Manual (16 pages)
- A1000 Quick Start (2 pages)
- JUNMA Series AC SERVOMOTOR (1 page)
- A1000 Option DI-101 120 Vac Digital Input Option (24 pages)