MC_Reset

Functional Description

This function block acknowledges an error message. The error memory is cleared so that it is available for new error messages. If the power stage is disabled by the automatic error response, it can be enabled again if the cause of the detected error has been rectified when the error message is acknowledged.

NOTE: If there is no drive error active, the function block itself will set ErrorId = 109 (Device state invalid).

Library and Namespace

Library name: GMC Independent PLCopen MC

Namespace: GIPLC

Graphical Representation

G-SE-0047259.1.gif-high.gif

 

 

Inputs

Input

Data type

Description

Execute

BOOL

Value range: FALSE, TRUE.

Default value: FALSE.

A rising edge of the input Execute starts the function block. The function block continues execution and the output Busy is set to TRUE.

A rising edge at the input Execute is ignored while the function block is being executed.

oFALSE: If Enable is set to FALSE, the outputs Done, Error, or CommandAborted are set to TRUE for one cycle.

oTRUE: If Enable is set to FALSE, the outputs Done, Error, or CommandAborted remain set to TRUE.

Outputs

Output

Data type

Description

Done

BOOL

Value range: FALSE, TRUE.

Default value: FALSE.

oFALSE: Execution has not been started, or an error has been detected.

oTRUE: Execution terminated without an error detected.

Busy

BOOL

Value range: FALSE, TRUE.

Default value: FALSE.

oFALSE: Function block is not being executed.

oTRUE: Function block is being executed.

Error

BOOL

Value range: FALSE, TRUE.

Default value: FALSE.

oFALSE: Execution of the function block is running, no error has been detected.

oTRUE: An error has been detected in the execution of the function block.

ErrorID

WORD

Returns the value of a diagnostic code. Refer to Library Diagnostic Codes. If the value is 0 and if the output Error of this function block is set to TRUE, then the diagnostic code can be read with the output AxisErrorID of the function block MC_ReadAxisError.

Inputs/Outputs

Input/Output

Data type

Description

Axis

Axis_Ref

Reference to the axis (instance) for which the function block is to be executed (corresponds to the name of the axis). The name of the axis must be defined in the EcoStruxure Machine Expert Devices tree.

Notes

If you have activated this function block, simultaneous use of the Control_ATV function block leads to unintended behavior.

Warning_Color.gifWARNING

UNINTENDED EQUIPMENT OPERATION

oDo not activate the Control_ATV function block when this function block is active.

oDeactivate this function block or allow the function block to terminate before activating the Control_ATV function block.

Failure to follow these instructions can result in death, serious injury, or equipment damage.

Additional Information

Error Handling