NC functions for AFC (#45 / #2-31-1)
Application
Adaptive Feed Control (AFC) is activated and deactivated from the NC program.
Requirements
- Adaptive Feed Contr. (#45 / #2-31-1) software option
- Control settings defined in the AFC.tab table
- Desired control setting defined for all tools
- AFC toggle switch active
Description of function
The control provides several functions that enable you to start and stop AFC:
- FUNCTION AFC CTRL: The AFC CTRL function activates feedback control mode starting with this NC block, even if the learning phase has not been completed yet.
- FUNCTION AFC CUT BEGIN TIME1 DIST2 LOAD3: The control starts a sequence of cuts with active AFC. The changeover from the teach-in cut to feedback control mode begins as soon as the reference power has been determined in the teach-in phase, or once one of the TIME, DIST or LOAD conditions has been met.
- FUNCTION AFC CUT END: The AFC CUT END function deactivates AFC control.
Input
FUNCTION AFC CTRL
NC programs contained in this User's Manual are suggestions for solutions. The NC programs or individual NC blocks must be adapted before being used on a machine.
Change the following contents as needed:
- Tools
- Cutting parameters
- Feed rates
- Clearance height or safe position
- Machine-specific positions (e.g., with M91)
- Paths of program calls
Some NC programs depend on the machine kinematics. Adapt these NC programs to your machine kinematics before the first test run.
In addition, test the NC programs using the simulation before the actual program run.
With a program test you determine whether the NC program can be used with the available software options, the active machine kinematics and the current machine configuration.
11 FUNCTION AFC CTRL | ; Start AFC in control mode |
The NC function includes the following syntax elements:
Syntax element | Meaning |
---|---|
FUNCTION AFC CTRL | Syntax initiator for the start of control mode |
FUNCTION AFC CUT
NC programs contained in this User's Manual are suggestions for solutions. The NC programs or individual NC blocks must be adapted before being used on a machine.
Change the following contents as needed:
- Tools
- Cutting parameters
- Feed rates
- Clearance height or safe position
- Machine-specific positions (e.g., with M91)
- Paths of program calls
Some NC programs depend on the machine kinematics. Adapt these NC programs to your machine kinematics before the first test run.
In addition, test the NC programs using the simulation before the actual program run.
With a program test you determine whether the NC program can be used with the available software options, the active machine kinematics and the current machine configuration.
11 FUNCTION AFC CUT BEGIN TIME10 DIST20 LOAD80 | ; Start AFC machining step, limit the duration of the teach-in phase |
The NC function includes the following syntax elements:
Syntax element | Meaning |
---|---|
FUNCTION AFC CUT | Syntax initiator for an AFC machining step |
BEGIN or END | Start or end machining step |
TIME | End teach-in phase after the defined time in seconds Optional syntax element Only if BEGIN has been selected |
DIST | End teach-in phase after the defined distance in mm Optional syntax element Only if BEGIN has been selected |
LOAD | Enter the reference load of the spindle directly, max. 100% Optional syntax element Only if BEGIN has been selected |
Notes
- The TIME, DIST and LOAD defaults are modally effective. They can be reset by entering 0.
- Execute the function AFC CUT BEGIN only after the starting rotational speed has been reached. If this is not the case, then the control issues an error message, and the AFC cut is not started.
- You can define a feedback-control reference power with the AFC LOAD tool table column and the LOAD input in the NC program. You can activate the AFC LOAD value via the tool call and the LOAD value with the FUNCTION AFC CUT BEGIN function.
If you program both values, the control will use the value programmed in the NC program!