JOG operation with LS_Jog
LS_Jog is used to make the selected axis perform a jog operation. Jogging is a manual operation function often used for testing. Jog uses the High Speed and Low Speed axis parameter settings. Jog should be stopped by turning off the Enable.
-
MC_Stop and MC_Halt can stop a jog function execution, but the LS_Jog function block will return an error if the enable is still ‘1’.
-
LS_Connect and MC_Power/MC_PowerAll must be executed before these function blocks can be used.
-
The following examples can be found in the XMC_LSDedicated_FBs.zip downloadable from Example Applications.
Element Name | Element Type | Description |
---|---|---|
Enable | Input | Level detected request to execute the function block. |
Axis | Input/Output | Specify the axis to be jogged. |
Direction | Input |
Set the jog direction.
|
Low_High | Input |
Set the jog speed.
|
Enabled | Output | Indicates the selected axis is currently performing a jog movement. |
Busy | Output | Indicates the function block is performing the operation. |
Error | Output | Indicates the function block has an error. |
ErrorID | Output | Error Identification for the function block. |
Step | Action |
---|---|
1 |
Double-click any axis in the Axis parameter section of the Project window.
|
2 |
The Jog settings are in the Extended Settings section. JOG high speed, JOG low speed, JOG acceleration, JOG deceleration, and JOG jerk can be configured for your project.
|
Forward LS_Jog
Reverse LS_Jog
LM803