Programming
10.1 Fundamental principles of NC programming
Surface grinding
194
Programming and Operating Manual, 11/2012, 6FC5398-5CP10-3BA0
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 characters: generally a letter and a
●
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.
)HHGUDWH
PPPLQ
'LVWDQFHWREH
WUDYHUVHGRUHQG
SRVLWLRQIRUWKH;
D[LVPP
7UDYHUVHZLWK
OLQHDU
LQWHUSRODWLRQ
([SODQDWLRQ
)
9DOXH
$GGUHVV
:RUG
;
9DOXH
$GGUHVV
:RUG
*
([DPSOH
9DOXH
$GGUHVV
:RUG
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
"List of instructions").
Example: SCALE ; Enable scaling factor
Extended address
For the following addresses, the address is extended by 1 to 4 digits to obtain a higher
number of addresses.
R: Arithmetic parameters
H: H function
I, J, K: Interpolation parameters/intermediate point
In this case, the value must be assigned using an equality sign "=" (see also Section "List of
instructions").
Example: R10=6.234 H5=12.1 I1=32.67