Activating a path-related switching action

Description

The function block KRC_SetPathTrigger triggers a path-related switching action in the case of CP motions.

The Trigger triggers a defined statement. The statement refers to the end point of the motion block. The statement is executed parallel to the robot motion.

The statement can be shifted in time and/or space. It is then not triggered exactly at the end point, but beforehand or afterwards.

Activating a path-related switching action 1:

Path triggers can only be activated before CP motions. If the subsequent motion is not a CP motion, the robot controller issues an error message.

Activating a path-related switching action 2:

Further information on triggers, on offsetting the switching point and on the offset limits can be found in the operating and programming instructions for the KUKA System Software (KSS).

Activating a path-related switching action 3:
Function block KRC_SetPathTrigger

Inputs

Parameter

Type

Description

AxisGroupIdx

INT

Index of axis group

  • 1 … 5

ExecuteCmd

BOOL

The statement is buffered in the case of a rising edge of the signal.

Path

REAL

Statement offset

If the statement is to be shifted in space, the desired distance from the end point must be specified here. If this end point is approximated, Path is the distance to the position on the approximate positioning arc closest to the end point.

  • Path = 0.0 mm: no offset
  • Path > 0.0 mm: shifts the statement towards the end of the motion.
  • Path < 0.0 mm: shifts the statement towards the start of the motion.

Delay

INT

Statement delay

  • Delay = 0 ms: no delay

The statement cannot be shifted freely in time. The offsets that are possible depend on the value selected for Path. Further information about this is contained in the operating and programming instructions for the KUKA System Software (KSS).

Output

INT

Number of the digital output that can be set by the switching action

  • 1 … 2048

Note: It must be ensured that no outputs are used that are already assigned by the system. Example: $OUT[1025] is always TRUE.

Value

BOOL

TRUE = activate output

FALSE = deactivate output

Pulse

REAL

Length of the pulse

  • 0.0 s
  • No pulse active
  • 0.1 … 3.0 s
  • Pulse interval = 0.1 s

BufferMode

INT

Mode in which the statement is executed

  • 1: ABORTING
  • 2: BUFFERED

(>>> BufferMode)

Outputs

Parameter

Type

Description

Busy

BOOL

TRUE = statement is currently being transferred or has already been transferred

Done

BOOL

TRUE = statement has been processed

Note: The statement can no longer be aborted. Exception: Program is deselected or reset. The signal does not indicate whether the switching action has really been triggered.

Aborted

BOOL

TRUE = statement has been aborted

Error

BOOL

TRUE = error in function block

ErrorID

DINT

Error number