MCFB_Jog
Description
This function block is defined to jog an axis in the selected direction at a defined speed. The En input (FFLD editor only) must be high. Typically wired to the rail.
The AxisID selects the axis to jog. The JogPlus and JogMinus inputs select the direction the motion will occur in. Only one of these inputs should be enabled at a given time. If both are selected the motion will stop. If other motion is active when the jog is requested that motion will be aborted and the jog will start.
The following figure shows the function block I/O
Arguments
Input
En |
Description |
Enables execution (FFLD only ) |
Data type |
BOOL |
|
Range |
— |
|
Unit |
N/A |
|
Default |
— |
|
AxisID |
Description |
ID Name of the Axis |
Data type |
DINT |
|
Range |
— |
|
Unit |
N/A |
|
Default |
— |
|
JogPlus |
Description |
Enables a Jog in the plus direction |
Data type |
BOOL |
|
Range |
[0 , 1] |
|
Unit |
N/A |
|
Default |
— |
|
JogMinus |
Description |
Enables a Jog in the Minus direction |
Data type |
BOOL |
|
Range |
[0 , 1] |
|
Unit |
N/A |
|
Default |
— |
|
Speed |
Description |
Rate at which the axis will move |
Data type |
LREAL |
|
Range |
— |
|
Unit |
User unit/sec |
|
Default |
— |
|
Accel Decel |
Description |
Linear Acc/Dec rate |
Data type |
LREAL |
|
Range |
— |
|
Unit |
User unit/sec2 |
|
Default |
— |
Output
InMotion |
Description |
Jogging is active when TRUE |
Data type |
BOOL |
|
Unit |
N/A |
Usage
This function Block is used to command motion in a designated direction at a defined rate. This may be used where continuous motion required as in a conveyor system, or in a setup mode for manually jogging the axis. Motion will start when the JogPlus or JogMinus input is true. It will stop when the input goes false.
Related Functions
Example
Structured Text
InMotion := Inst_Jog_PLCopenA vendor -and product- independent worldwide association active in Industrial Control and aiming at standardizing PLC file formats based on XML(Axis1, Switch_1, Switch_2, 600, 10000);
|
Ladder Diagram
Function Block Diagram