Technology instructions
9.3 Motion control
S7-1200 Programmable controller
476 System Manual, 03/2014, A5E02486680-AG
MC_ChangeDynamic (Change dynamc settings for the axis) instruction
Table 9- 48 MC_ChangeDynamic instruction
Execute:=_bool_in_,
ChangeRampUp:=_bool_in_,
RampUpTime:=_real_in_,
ChangeRampDown:=_bool_in_,
RampDownTime:=_real_in_,
ChangeEmergency:=_bool_in_,
EmergencyRampTime:=_real_in_,
ChangeJerkTime:=_bool_in_,
JerkTime:=_real_in_,
Done=>_bool_out_,
Error=>_bool_out_,
ErrorID=>_word_out_,
ErrorInfo=>_word_out_);
Changes the dynamic settings of
a motion control 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
STEP 7 automatically creates the DB when you insert the instruction.
2
In the SCL example, "MC_ChangeDynamic_DB " is the name of the instance DB.
Table 9- 49 Parameters for the MC_ChangeDynamic instruction
Execute IN Bool Start of the command with a positive edge. Default value:
ChangeRampUp IN Bool TRUE = Change ramp-up time in line with input parameter
"RampUpTime". Default value: FALSE
RampUpTime IN Real Time (in seconds) to accelerate from standstill to the configured
maximum velocity without jerk limit. Default value: 5.00
The change will influence the tag <Axis name>.
Config.DynamicDefaults.Acceleration. The effectiveness of the
change is shown in the description of this tag.
ChangeRampDown IN Bool TRUE = Change ramp-down time in line with input parameter
"RampDownTime". Default value: FALSE
RampDownTime IN Real Time (in seconds) to decelerate axis from the configured
maximum velocity to standstill without jerk limiter. Default value:
5.00
The change will influence the tag <Axis name>.
Config.DynamicDefaults.Deceleration. The effectiveness of the
change is shown in the description of this tag.
ChangeEmergency IN Bool TRUE = Change emergency stop ramp-down time in line with
input parameter "EmergencyRampTime" Default value: FALSE