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 positioning 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_SpeedAxis |
- |
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 to correspond to 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". Ensure that your inputs are within the valid range, taking into consideration the equations and limits in section "Dynamic". |
See also
MC_Power: Enable, disable axis V4...5 (S7-1200)
MC_Reset: Acknowledge fault, restart technology object V4...5 (S7-1200)
MC_Home: Home axis, set home position V4...5 (S7-1200)
MC_Halt: Stop axis V4...5 (S7-1200)
MC_MoveAbsolute: Absolute positioning of axis V4...5 (S7-1200)
MC_MoveRelative: Relative positioning of axis V4...5 (S7-1200)
MC_MoveVelocity: Move axis at set velocity V4...5 (S7-1200)
MC_MoveJog: Move axis in jog mode V4...5 (S7-1200)
MC_CommandTable: Run axis commands as motion sequence V4...5 (S7-1200)
MC_ReadParam: Continuously read motion data of a positioning axis V4...5 (S7-1200)
MC_WriteParam: Write tag of positioning axis V4...5 (S7-1200)
S7-1200 Motion Control V1...3 (S7-1200)