Programming
10.1 Fundamental Principles of NC Programming
Cylindrical grinding
Programming and Operating Manual, 07/2009, 6FC5398-4CP10-2BA0
221
10.1.3 Word structure and address
Functionality/structure
A word is a block element and mainly constitutes a control command. The word consists of
● address character: generally a letter
● numerical value: a sequence of digits which with certain addresses can be added by a
sign put in front of the address, and a decimal point.
A positive sign (+) can be omitted.
:RUG :RUG :RUG
$GGUHVV 9DOXH $GGUHVV 9DOXH
$GGUHVV 9DOXH
([DPSOH
([SODQDWLRQ
*
;
)
7UDYHUVHZLWK
/LQHDU
LQWHUSRODWLRQ
3DWKRUHQG
SRVLWLRQIRUWKH
;D[LVPP
)HHGUDWH
PPPLQ
Figure 10-1 Word structure (example)
Several address characters
A word can also contain several address letters. In this case, however, the numerical value
must be assigned via the intermediate character "=".
Example: CR=5.23
Additionally, it is also possible to call G functions using a symbolic name (see also section
"Overview of instructions").
Example: SCALE ; Enable scaling factor
Extended address
With the addresses
R Arithmetic parameters
H H function
I, J, K Interpolation parameters/intermediate point
M Special function M, only affecting the spindle
S Spindle speed (Spindle 1 or 2)
the address is extended by 1 to 4 digits to obtain a higher number of addresses. In this case,
the value must be assigned using an equality sign "=" (see also section "List of instructions").
Table 10- 2 Examples:
R10=6.234 H5=12.1 I1=32.67 M2=5 S2=400