Description
Motion Control instruction "MC_Reset" can be used to acknowledge "Operating error with axis stop" and "Configuration error". The errors that require acknowledgment can be found in the "List of ErrorIDs and ErrorInfos" under "Remedy".
The axis configuration can be downloaded to the work memory after a download in RUN mode.
Requirements
-
The positioning axis technology object has been configured correctly.
-
The cause of a pending configuration error requiring acknowledgment 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 |
- |
Axis technology object |
|
|
Execute |
INPUT |
BOOL |
FALSE |
Start of the command with a positive edge |
|
|
Restart |
INPUT |
BOOL |
FALSE |
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 acknowledgment with MC_Reset
To acknowledge an error, follow these steps:
-
Check the requirements indicated above.
-
Start the acknowledgment of the error with a rising edge at input parameter "Execute". With MC_Reset as of V7.0 or higher you can acknowledge switch-on prevention errors on the configured encoder or drive before the axis is enabled.
-
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.
|
Note Acknowledge with "Restart" = FALSE To acknowledge only the errors, set "Restart" = FALSE. The technology object cannot be used during a restart. All errors at axes and encoders are acknowledged even if they are not enabled or active. |
See also
MC_Power: Enable, disable axis as of V6 (S7-1200)
MC_Home: Home axes, set reference point as of V6 (S7-1200)
MC_Halt: Stop axis as of V6 (S7-1200)
MC_MoveAbsolute: Absolute positioning of axis as of V6 (S7-1200)
MC_MoveRelative: Relative positioning of axis as of V6 (S7-1200)
MC_MoveVelocity: Move axis at set velocity as of V6 (S7-1200)
MC_MoveJog: Move axis in jog mode as of V6 (S7-1200)
MC_CommandTable: Run axis commands as motion sequence as of V6 (S7-1200)
MC_ChangeDynamic: Change dynamic settings of axis as of V6 (S7-1200)
MC_ReadParam: Continuously read motion data of a positioning axis as of V6 (S7-1200)
MC_WriteParam: Write tag of positioning axis as of V6 (S7-1200)