MCFB_Jog

PLCopen motion icon

 Function - Define to jog an axis in the selected direction at a defined speed.

  • This function or function block can be used with PLCopen Motion engines.
  • This function or function block is used to command motion in a designated direction at a defined rate.
    • This may be used where continuous motion is required (e.g., a conveyor system or in a setup mode for manually jogging the axis).
  • The JogPlus and JogMinus inputs select the direction the motion occurs in.
    • Motion starts when the JogPlus or JogMinus input is TRUE.
      Motion stops when the input is FALSE.
    • Only one of these inputs should be enabled at a time.
    • If both are selected, the motion stops.
  • If another motion is active when the jog is requested, that motion is aborted and the jog starts.
  • The En input (FFLD editor only) must be high.
    • Typically wired to the rail.

Inputs

Input

Data Type

See Data Types.

Range

Unit

Default

Description

En

BOOL

No range

N/A

No default

  • Enables execution.
  • Used in the FFLD editor only.

AxisID

DINT

No range

N/A

No default

  • ID of the Axis block.
  • The AxisID selects the axis to jog.

JogPlus

BOOL

0 to 1

N/A

No default

Enables a jog in the plus direction.

JogMinus

BOOL

0 to 1

N/A

No default

Enables a jog in the minus direction.

Speed

LREAL

No range

User units / sec

No default

Rate the axis moves.

Accel Decel

LREAL

No range

User units / sec2

No default

Linear Acc/Dec rate.

Outputs

Output

Data Type

See Data Types.

Range

Unit

Description

InMotion

BOOL

FALSE, TRUE

N/A

Jogging is active when TRUE.

FBD Language Example

FFLD Language Example

IL Language Example

Not available.

ST Language Example

InMotion := Inst_Jog_PLCopen(Axis1, Switch_1, Switch_2, 600, 10000);

See Also

MLAxisMoveVel