F4200N Manual - Fisnar.fr
F4200N Manual - Fisnar.fr
F4200N Manual - Fisnar.fr
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>F4200N</strong> Operating <strong>Manual</strong><br />
Section 5: Point Type & Function Reference<br />
Part # 562187N<br />
Rev. C Jun 2011<br />
1.13 Call Subroutine<br />
A subroutine is a set of instructions that are located after the End Program instruction.<br />
Call Subroutine causes the machine to jump to a specified memory address and execute<br />
the instructions found there using coordinates specified at the Call Subroutine instruction.<br />
When the End Program instruction for the subroutine is reached, program execution will<br />
continue at the address immediately after the Call Subroutine instruction.<br />
The Call Subroutine function is most useful to repeat a pattern anywhere on the workpiece,<br />
as opposed to the Step & Repeat function where the pattern must be repeated in<br />
straight lines, at fixed distances <strong>fr</strong>om each other.<br />
The following example illustrates the use of the Call Subroutine instruction.<br />
explanation follows.<br />
An<br />
Address<br />
Instruction<br />
1 Line Speed = 20<br />
2 Call Subroutine (X1,Y1,Z1) address 7<br />
3 Call Subroutine (X2,Y2,Z2) address 7<br />
4 Call Subroutine (X3,Y3,Z3) address 7<br />
5 Call Subroutine (X4,Y4,Z4) address 7<br />
6 End Program<br />
7 Line Start (Xs,Ys,Zs)<br />
8 Line End (Xe,Ye,Ze)<br />
9 End Program<br />
START<br />
Add 2<br />
X1,Y1,Z1<br />
Add 3<br />
X2,Y2,Z2<br />
Add 4<br />
X3,Y3,Z3<br />
Add 5<br />
END<br />
X4,Y4,Z4<br />
- Page 48 - © 2011 <strong>Fisnar</strong> Inc.