Reading outputs of the robot system

Description

The function block KRC_ReadAxisGroup is used to assign the parameter KRC4_Input to the parameter AxisGroupIdx. The following function blocks always refer to the same robot system using the parameter AxisGroupIdx.

Reading outputs of the robot system 1:

The function block KRC_ReadAxisGroup must always be called at the start of the program. Access to the parameter AxisGroupIdx is only permissible between the function blocks KRC_ReadAxisGroup and KRC_WriteAxisGroup.

Reading outputs of the robot system 2:

The function block may only be instanced once per axis group. In the case of multiple instancing, the signals of the most recently called function block are output.

Reading outputs of the robot system 3:
Function block KRC_ReadAxisGroup

Inputs

Parameter

Type

Description

KRC4_Input

POINTER TO BYTE

Defines the start index of the output range of the robot controller

AxisGroupIdx

INT

Index of axis group

  • 1 … 5

Outputs

Parameter

Type

Description

ErrorID

DINT

Error number

Error

BOOL

TRUE = error in function block