PMAC Product Guide If there is no READ statement in the subroutine, or if not all the letter values in the CALL line are read (the READ statement stops as soon as it sees a letter in the calling line that is not in its list of letters to read), the remaining letter commands are executed upon return from the subroutine according to their normal function. For example, G01 X10 Y10 is equivalent to a CALL 1000.01 X10 Y10 . To implement the normal function for G01 (linear move mode), there would be the following subroutine in PROG 1000: N1000 LINEAR RETURN Upon the return, X10 Y10 would be executed as a move according to the move mode in force, which is LINEAR .
If the specified program and line label do not exist, the CALL command is ignored, and the program continues as if it were not there. Examples: CALL500 ; to Prog 500 at the top (N0) CALL500.1 ; to Prog 500 label N10000 CALL500.12 ; to Prog 500 label N12000 CALL500.123 ; to Prog 500 label N12300 CALL500.1234 ; to Prog 500 label N12340 CALL500.12345 ; to Prog 500 label N12345 CALL700 D10 E20 ; to Prog 700 passing D and E CIRCLE1 Function : Set blended clockwise circular move mode Type : Motion program (PROG and ROT) Syntax : CIRCLE1 CIR1 This command puts the program into clockwise circular move mode.
The plane for the circular interpolation is defined by the most recent NORMAL command which has also defined the sense of clockwise and counterclockwise in the plane. The program is taken out of this circular move mode by another move mode command: the other CIRCLE mode, LINEAR , PVT , RAPID etc. Any circular move command must have either an R or an IJK vector specification; otherwise it will be performed as a linear move even when in CIRCLE mode. PMAC must be in move segmentation mode (I13>0) in order to perform circular interpolation. If I13=0 (no move segmentation), the moves will be linearly interpolated. Note: Examples:
LINEAR ; Linear interpolation mode X10Y10 F2 ; Linear move CIRCLE1 ; Clockwise circular interpolation mode X20 Y20 I10 ; Arc of 10-unit radius X25 Y15 J-5 ; Arc of 5-unit radius LINEAR ; Go back to linear mode X25 Y5 ; Linear move 206 Buffer Commands