MC_GroupReset

MC_GroupReset 1:

FUNCTION_BLOCK MC_GroupReset

This function blocks allows to reset all pending errors on robot side.Further actions might be executed by the MC_GroupReset function blockTelegrams transmitted between PLC and robot controller may end in a deadlock (e.g. one device is restarted during data exchange).In this situation, the function block resets the communication protocol. After this, new telegrams can be exchanged.

MC_GroupReset 2:

For CS8C controller ONLY

If the state of one dual channel contact in the CS8C E-Stop chain is not consistent, a hardware fault is registered and robot operation is not possible
until this hardware fault is repaired, tested, and acknowledged. (See CS8C instruction manual for further details)
Once the hardware fault is tested, the MC_GroupReset function block performs the required acknowledgment.

Syntax

Definition:

FUNCTION_BLOCK MC_GroupReset
VAR_INPUT
    Execute  : BOOL := FALSE;
END_VAR
VAR_OUTPUT
    Busy     : BOOL := FALSE;
    Done     : BOOL := FALSE;
    Error    : BOOL := FALSE;
    ErrorID  : UDINT := 0;
END_VAR
VAR_IN_OUT
    AxesGroup  : T_StaeubliRobot;
END_VAR

MC_GroupReset 3: Inputs

Name

Type

Description

Execute

BOOL

Rising edge triggers function execution

MC_GroupReset 4: Outputs

Name

Type

Description

Busy

BOOL

Set when function block is executing. Reset when Done or Error is set

Done

BOOL

This output is set when function block has terminated with success

Error

BOOL

This output is set when function block has terminated with error

ErrorID

UDINT

Error code

MC_GroupReset 5:/MC_GroupReset 6: Inputs/Outputs

Name

Type

Description

AxesGroup

T_StaeubliRobot

Data block for a robot