IF_Motion - SetMotionParameterJogging (Method)

Overview

Type:

Method

Available as of:

V1.0.0.0

Task

Setting the motion parameters for jogging.

Description

With the method SetMotionParameterJogging, you can specify the maximum velocity (change of position per time unit), the maximum acceleration/deceleration (change of velocity per time unit), and the maximum jerk (change of acceleration per time unit) with which the jogging motion of the carrier must be executed.

NOTE: Modified motion values are not considered for the running move command but for the next move command.
NOTE: If one or more of the motion parameters are not within the valid value range, a diagnostic message is generated and the modified motion values are not considered for the next move command. The next move command uses the last valid set of motion parameters.
NOTE: The values defined with the method SetMotionParameterJogging must be smaller than the corresponding values defined with the method SetEmergencyParameter.

Inputs

Input

Data type

Value range

Unit

Description

i_lrMaxVelocity

LREAL

GCL.Gc_lrMinVelocity
i_lrMaxVelocity
GCL.Gc_lrMaxVelocity (1)

mm/s

Specifies the maximum velocity (change of position per time unit).

i_lrMaxAcceleration

LREAL

GCL.Gc_lrMinAcceleration
i_lrMaxAcceleration
GCL.Gc_lrMaxAcceleration (1)

mm/s2

Specifies the maximum acceleration (change of velocity per time unit).

i_lrMaxDeceleration

LREAL

GCL.Gc_lrMinDeceleration
i_lrMaxDeceleration
GCL.Gc_lrMaxDeceleration (1)

mm/s2

Specifies the maximum deceleration (change of velocity per time unit).

i_lrMaxAbsJerk

LREAL

GCL.Gc_lrMinAbsJerk
i_ lrMaxAbsJerk
GCL.Gc_lrMaxAbsJerk (1)

AND

i_ lrMaxAbsJerk
i_lrMaxAcceleration (2) × 10 (3)

mm/s3

Specifies the maximum jerk (change of acceleration per time unit).

(1) For more information on the value range, refer to the Global Constants List (GCL).

(2) Internally, it is determined which value, i_lrMaxAcceleration or i_lrMaxDeceleration, is greater. The greater value is used for this calculation.

(3) The value of i_ lrMaxAbsJerk must be greater than or equal to 10 times the value of i_lrMaxAcceleration (or i_lrMaxDeceleration, whichever of the two is greater). If this is not the case, it is internally set to a value that is 10 times the value of i_lrMaxAcceleration or i_lrMaxDeceleration.

Outputs

Output

Data type

Description

q_xError

BOOL

Indicates TRUE if an error has been detected. For details, refer to q_etResult and q_sResultMsg.

q_etResult

ET_Result

Provides diagnostic and status information as a numeric value.
If q_xError = FALSE, q_etResult provides status information.
If q_xError = TRUE, q_etResult provides diagnostic/error information.

q_sResultMsg

STRING [255]

Provides additional diagnostic and status information as a text message.