MC_ChangeDynamic: Change dynamic settings of axis V2...3 (S7-1200) - Motion Control

S7-1200 Motion Control (S7-1200)

ft:publication_title
S7-1200 Motion Control (S7-1200)
Product
Motion Control
Version
V20
Publication date
11/2024
Language
en-US
MC_ChangeDynamic: Change dynamic settings of axis V2...3

Description

Motion Control instruction "MC_ChangeDynamic" allows you to change the following settings of the axis:

  • Change the ramp-up time (acceleration) value

  • Change the ramp-down time (deceleration) value

  • Change the emergency stop ramp-down time (emergency stop deceleration) value

  • Change the smoothing time (jerk) value

For the effectiveness of the change, refer to the description of the tag.

Requirements

  • The axis technology object has been inserted in Version V2.

  • The axis technology object has been configured correctly.

Override response

A MC_ChangeDynamic command cannot be aborted by any other Motion Control command.

A new MC_ChangeDynamic command does not abort any active Motion Control commands.

Parameters

Parameter

Declaration

Data type

Default value

Description

Axis

INPUT

TO_Axis_1

-

Axis technology object

Execute

INPUT

BOOL

FALSE

Start of the command with a positive edge

ChangeRampUp

INPUT

BOOL

FALSE

TRUE

Change ramp-up time in line with input parameter "RampUpTime"

RampUpTime

INPUT

REAL

5.00

Time (in seconds) to accelerate axis from standstill to configured maximum velocity without jerk limit.

The change will influence the tag <Axis name>. Config.DynamicDefaults.Acceleration. For the effectiveness of the change, refer to the description of this tag.

ChangeRampDown

INPUT

BOOL

FALSE

TRUE

Change ramp-down time in line with input parameter "RampDownTime"

RampDownTime

INPUT

REAL

5.00

Time (in seconds) to decelerate axis from the configured maximum velocity to standstill without jerk limiter.

The change will influence the tag <Axis name>. Config.DynamicDefaults.Deceleration . For the effectiveness of the change, refer to the description of this tag.

ChangeEmergency

INPUT

BOOL

FALSE

TRUE

Change emergency stop ramp-down time in line with input parameter "EmergencyRampTime"

EmergencyRampTime

INPUT

REAL

2.00

Time (in seconds) to decelerate the axis from configured maximum velocity to standstill without jerk limiter in emergency stop mode.

The change will influence the tag <Axis name>. Config.DynamicDefaults.EmergencyDeceleration . For the effectiveness of the change, refer to the description of this tag.

ChangeJerkTime

INPUT

BOOL

FALSE

TRUE

Change smoothing time according to the input parameter "JerkTime"

JerkTime

INPUT

REAL

0.25

Smoothing time (in seconds) used for the axis acceleration and deceleration ramps

The change will influence the tag <Axis name>. Config.DynamicDefaults.Jerk . For the effectiveness of the change, refer to the description of this tag.

Done

OUTPUT

BOOL

FALSE

TRUE

The changed values have been written to the technology data block. The description of the tags will show when the change becomes effective.

Error

OUTPUT

BOOL

FALSE

TRUE

An error occurred during execution of the command. The cause of the error can be found in parameters "ErrorID" and "ErrorInfo".

ErrorID

OUTPUT

WORD

16#0000

Error ID for parameter "Error"

ErrorInfo

OUTPUT

WORD

16#0000

Error info ID for parameter "ErrorID"

Note

At the input parameters "RampUpTime", "RampDownTime", "EmergencyRampTime" and "JerkTime", values can be entered which exceed the admissible limits of the resulting parameters: "Acceleration", "Deceleration", "Emergency stop deceleration" and "Jerk".

Please note the equations and limits in "Axis technology object" -> "Configuring the technology object" -> "Dynamics" and ensure that the values you input are within the valid range.