EasyManua.ls Logo

WEIHONG ELECTRONIC Ncstudio - 3.2 Format of Program Block; 3.3 Format of Subprogram

Default Icon
74 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
上海维宏电子科技股份有限公司
Weihong Electronic Technology Co., Ltd.
6 Specialized, Concentrated, Focused
Address
Symbol
Description
B: Basic Function
O: Optional Function
Arc radius designation
S
Spindle speed in r/min
B
T
Tool function
B
X
X axis coordinate value designation
B
Y
Y axis coordinate value designation
B
Z
Z axis coordinate value designation
B
3.2 Format of Program Block
A program block defines a line of instructions to be executed by CNC device. The format of
program block defines the syntax of function word in each program block, as shown in Fig. 3-2.
N.. G.. X.. F.. M.. S..
Program Block No.
Preparatory F.
Dimension W.
Feed F.W.
Miscellaneous F.W.
Spindle F.W.
F.: Function
W.: Word
Program Block
Fig. 3-2 Format of Program Block
3.3 Format of Subprogram
A subprogram is a section of machining codes which can be called repeatedly. It must begin with
the address word O and subprogram no. as the first line and end with M17 as the last line. On
principle, commands like M30 and M17 are not allowed to appear among the subprogram, but nested
subprogram is acceptable.

Table of Contents

Related product manuals