Mc_Movejog (Move Axis In Jog Mode) Instruction - Siemens SIMATIC S7-1200 Manual

Easy book
Hide thumbs Also See for SIMATIC S7-1200:
Table of Contents

Advertisement

Note
Behavior with zero set velocity (Velocity = 0.0)
An MC_MoveVelocity task with "Velocity" = 0.0 (such as an MC_Halt task) aborts active
motion tasks and stops the axis with the configured deceleration. When the axis comes to a
standstill, output parameter "InVelocity" indicates TRUE for at least one program cycle.
"Busy" indicates the value TRUE during the deceleration operation and changes to FALSE
together with "InVelocity". If parameter "Execute" = TRUE is set, "InVelocity" and "Busy" are
latched.
When the MC_MoveVelocity task is started, status bit "SpeedCommand" is set in the
technology object. Status bit "ConstantVelocity" is set upon axis standstill. Both bits are
adapted to the new situation when a new motion task is started.
10.5.9

MC_MoveJog (Move axis in jog mode) instruction

Table 10- 22 MC_MoveJog instruction
LAD / FBD
STEP 7 automatically creates the DB when you insert the instruction.
1
In the SCL example, "MC_MoveJog_DB " is the name of the instance DB.
2
Table 10- 23 Parameters for the MC_MoveJog instruction
Parameter and type
Axis
IN
JogForward
IN
1
JogBackward
IN
1
Easy Book
Manual, 03/2014, A5E02486774-AF
SCL
"MC_MoveJog_DB"(
Axis:=_multi_fb_in_,
JogForward:=_bool_in_,
JogBackward:=_bool_in_,
Velocity:=_real_in_,
InVelocity=>_bool_out_,
Busy=>_bool_out_,
CommandAborted=>_bool_out_,
Error=>_bool_out_,
ErrorID=>_word_out_,
ErrorInfo=>_word_out_);
Data type
Description
TO_Axis_1
Axis technology object
Bool
As long as the parameter is TRUE, the axis moves in the positive
direction at the velocity specified in parameter "Velocity". The sign of
the value in parameter "Velocity" is ignored. (Default value: False)
Bool
As long as the parameter is TRUE, the axis moves in the negative
direction at the velocity specified in parameter "Velocity". The sign of
the value in parameter "Velocity" is ignored. (Default value: False)
Motion control is easy
10.5 Motion control instructions
Description
Use the MC_MoveJog instruction to move
the axis constantly at the specified
velocity in jog mode. This instruction is
typically used for testing and
commissioning purposes.
In order to use the MC_MoveJog
instruction, the axis must first be enabled.
233

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents