Programming manual.
CNC 8070
CREATING A PROGRAM.
1.
Program block structure.
·37·
(REF: 1709)
·S· Spindle speed.
This function sets the spindle speed.
The spindle name is defined by 1 or 2 characters. The first character is the letter S and the
second character is optional, it must be a numerical suffix between 1 and 9. This way, the
name of the spindles may be within the range S, S1 ... S9.
The feedrate is represented by the axis letter followed by the target position for the axis. For
spindles like S1, S2, etc. the "=" sign must be included between the axis name and the speed.
·T· Tool number.
This function selects the tool to be used to carry out the programmed machining operation.
The tool is represented by the letter "T" followed by the tool number (0-4294967295).
·D· Tool offset number.
This function selects the tool offset. The tool offset is represented by the letter "D" followed
by the tool offset number. The number of offsets available for each tool is defined in the tool
table.
·M H· Auxiliary functions.
With the auxiliary functions, it is possible to control machine elements such as spindle turning
direction, coolant, etc. These functions are represented by the letters "M" or "H" followed by
the function number (0-65535)
·NR· Number of block repetitions.
This indicates the number of times the block will be executed. It can only be programmed
in blocks containing a movement.
If the block is under the influence of a modal canned cycle, the latter will be repeated as many
times as the block repetition has been programmed. When programming NR0, the
movements will be executed, but the modal canned cycle is not executed at the end of each
one.
Block comment .
Any comment may be associated with the blocks. When executing the program, the CNC
ignores this information.
The CNC offers various methods to include comments in the program. See "1.8 Comment
programming." on page 47.
S1000
S1=334
G91 G01 X34.678 F150 NR4