MC_Reset: Acknowledge fault, restart technology object as of V6 (S7-1200) - Motion Control

S7-1200 Motion Control (S7-1200)

ft:publication_title
S7-1200 Motion Control (S7-1200)
Product
Motion Control
Version
V20
Publication date
11/2024
Language
en-US
MC_Reset: Acknowledge fault, restart technology object as of V6

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:

  1. Check the requirements indicated above.

  2. 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.

  3. 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.