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. |
See also
S7-1200 Motion Control V4...5 (S7-1200)
MC_Power: Enable, disable axis V1...3 (S7-1200)
MC_Reset: Acknowledge fault, restart technology object V1...3 (S7-1200)
MC_Home: Home axis, set home position V1...3 (S7-1200)
MC_Halt: Stop axis V1...3 (S7-1200)
MC_MoveAbsolute: Absolute positioning of axis V1...3 (S7-1200)
MC_MoveRelative: Relative positioning of axis V1...3 (S7-1200)
MC_MoveVelocity: Move axis at set velocity V1...3 (S7-1200)
MC_MoveJog: Move axis in jog mode V1...3 (S7-1200)
MC_CommandTable: Run axis commands as motion sequence V2...3 (S7-1200)