This function block starts the operating mode Jog.
In the operating mode Jog, a movement is started via the inputs Forward and Backward.
If the inputs Forward and Backward are set to FALSE, the operating mode is terminated and the output Done is set to TRUE.
If the inputs Forward and Backward are set to TRUE, the operating mode remains active, the jog movement is stopped and the output Busy remains set to TRUE.
Input |
Data type |
Description |
---|---|---|
Forward |
BOOL |
Value range: FALSE, TRUE. Default value: FALSE.
|
Backward |
BOOL |
|
Fast |
BOOL |
Value range: FALSE, TRUE. Default value: FALSE. The velocity can be modified during the movement.
|
TipPos |
DINT |
Value range: 0...2147483647 Default value: 20
|
WaitTime |
UINT |
Value range: 1...32767 Default value: 500 Waiting time in ms. If TipPos is >0, the waiting time WaitTime starts as soon as the adjusted distance has been covered. After the waiting time WaitTime has elapsed, a continuous movement is started. |
VeloSlow |
DINT |
Value range: 1...3000 Default value: 60 Velocity in rpm. If Fast = FALSE, the movement is made at this velocity. |
VeloFast |
DINT |
Value range: 1...3000 Default value: 180 Velocity in rpm. If Fast = TRUE, the movement is made at this velocity. |
Output |
Data type |
Description |
---|---|---|
Done |
BOOL |
Value range: FALSE, TRUE. Default value: FALSE.
|
Busy |
BOOL |
Value range: FALSE, TRUE. Default value: FALSE.
|
CommandAborted |
BOOL |
Value range: FALSE, TRUE. Default value: FALSE.
|
Error |
BOOL |
Value range: FALSE, TRUE. Default value: FALSE.
|
ErrorID |
WORD |
Returns the value of a diagnostic code. Refer to Library Diagnostic Codes. If the value is 0 and if the output Error of this function block is set to TRUE, then the diagnostic code can be read with the output AxisErrorID of the function block MC_ReadAxisError. |