Description
Motion Control instruction "MC_Reset" can be used to acknowledge "Operating error with axis stop" and "Configuration error". The errors that require acknowledgement can be found in the "List of ErrorIDs and ErrorInfos" under "Remedy".
From version V3.0, the axis configuration can be downloaded to the work memory in RUN operating mode.
Requirements
-
The axis technology object has been configured correctly.
-
The cause of a pending configuration error requiring acknowledgement has been eliminated (for example, acceleration in positioning axis technology object has been changed to a valid value).
Override response
The MC_Reset command cannot be aborted by any other Motion Control command.
The new MC_Reset command does not abort any other 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 |
|
|
Restart |
INPUT |
BOOL |
FALSE |
(From version V3.0) |
|
|
TRUE |
Download the axis configuration from the load memory to the work memory. The command can only be executed when the axis is disabled. Refer to the notes on Download to the CPU. |
||||
|
FALSE |
Acknowledges pending errors |
||||
|
Done |
OUTPUT |
BOOL |
FALSE |
TRUE |
Error has been acknowledged. |
|
Busy |
OUTPUT |
BOOL |
FALSE |
TRUE |
The command is being executed. |
|
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" |
|
Acknowledging an error requiring acknowledgement with MC_Reset
To acknowledge an error, follow these steps:
-
Check the requirements indicated above.
-
Start the acknowledgement of the error with a rising edge at input parameter "Execute".
-
If output parameter "Done" indicates the value TRUE and tag of technology object <Axis name>.StatusBits.Error the value FALSE, the error has been acknowledged.
See also
S7-1200 Motion Control V4...5 (S7-1200)
MC_Power: Enable, disable axis 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)
MC_ChangeDynamic: Change dynamic settings of axis V2...3 (S7-1200)