Modifying settings for the advance run
Description
The settings for the advance run are modified using the function block KRC_SetAdvance.
The advance run is the maximum number of motion blocks that the robot controller calculates and plans in advance during program execution. The actual number is dependent on the capacity of the computer. The advance run is required, for example, in order to be able to calculate approximate positioning motions.
If the program execution is reset, the set values are reset to the default values. |
Inputs
Parameter |
Type |
Description |
---|---|---|
AxisGroupIdx |
INT |
Index of axis group
|
ExecuteCmd |
BOOL |
The statement is buffered in the case of a rising edge of the signal. |
Count |
INT |
Number of functions to be transferred before the first robot motion
Default value: 2 |
MaxWaitTime |
INT |
Maximum wait time before the beginning of program execution if the set number of functions is not reached in the parameter count.
Default value: 300 ms |
Mode |
INT |
Wait mode
Default value: 1 |
BufferMode |
INT |
Mode in which the statement is executed
(>>> BufferMode) |
Outputs
Parameter |
Type |
Description |
---|---|---|
Busy |
BOOL |
TRUE = statement has been transferred |
Done |
BOOL |
TRUE = statement has been executed |
Aborted |
BOOL |
TRUE = statement has been aborted |
Error |
BOOL |
TRUE = error in function block |
ErrorID |
DINT |
Error number |