Reading digital inputs 1 to 8

Description

The function block KRC_ReadDigitalInput1To8 polls and reads the digital inputs 1 to 8 of the robot controller.

Reading digital inputs 1 to 8 1:
Function block KRC_ReadDigitalInput1To8

Inputs

Parameter

Type

Description

AxisGroupIdx

INT

Index of axis group

  • 1 … 5

Outputs

Parameter

Type

Description

Valid

BOOL

TRUE = data are valid

IN1 … IN8

BOOL

Actual value of the digital input $IN[1] … $IN[8]

Error

BOOL

TRUE = error in function block

ErrorID

DINT

Error number