Reading the configuration of axis-specific workspaces

Description

The function block KRC_ReadAxWorkspace reads the configuration of the axis-specific workspaces for the robot.

Reading the configuration of axis-specific workspaces 1:
Function block KRC_ReadAxWorkspace

Inputs

Parameter

Type

Description

AxisGroupIdx

INT

Index of axis group

  • 1 … 5

ExecuteCmd

BOOL

Starts/buffers the motion in the case of a rising edge of the signal.

WorkspaceNo

INT

Number of workspace

  • 1 … 8

Outputs

Parameter

Type

Description

Done

BOOL

TRUE = statement has been executed

WorkspaceMode

INT

Mode for workspaces

  • 0: #OFF
  • 1: #INSIDE
  • 2: #OUTSIDE
  • 3: #INSIDE_STOP
  • 4: #OUTSIDE_STOP

Note: Further information about the mode for workspaces is contained in the operating and programming instructions for the KUKA System Software (KSS).

WorkspaceData

AXBOX

Data of the workspace

(>>> Data of an axis-specific workspace)

Error

BOOL

TRUE = error in function block

ErrorID

DINT

Error number