This is part of 2.1.0latest release.

MLxAppDataCubicIZ

0.1.0

Data type for storing interference zone data.

Data structure used by MLxRobotSetCubicIZByCenterPoint and MLxRobotSetCubicIZByTwoCorners commands. Contains the interference zone data.

Relevant parameters for MLxRobotSetCubicIZByCenterPoint are :

Relevant parameters for MLxRobotSetCubicIZByTwoCorners are :

  • CubicIZType set to 0
  • Corner1 defining the first corner position [X,Y,Z]
  • Corner2 defining the second corner position [X,Y,Z]
  • CoordFrame defining the frame in which corners position are given

Version history

0.1.0

  deGroot

Changes

Changed:

Overview

nametypedefaultcomment
Name_LENDINTStringlength for platform compatibility
NameSTRING[82]User-defined name of the Cubic IZ.
CubicIZTypeDINT-1 = IZ not defined, 0 = Two Corners, 1 = Center Point
ZoneActionDINT0 = Status Only, 1 = Stop Motion, 2 = Clear IZ
Corner1ARRAY[0..2] OF REALVALID ONLY WITH CubicIZType = 0. Defines first corner of the Cubic IZ.
Corner2ARRAY[0..2] OF REALVALID ONLY WITH CubicIZType = 0. Defines second corner of the Cubic IZ.
CoordFrameDINTVALID ONLY WITH CubicIZType = 0. 0 = Robot, 1 = Base, 2 = User.
CenterPointARRAY[0..5] OF REALVALID ONLY WITH CubicIZType = 1. Defines the [X,Y,Z,RX,RY,RZ] position of the center of the Cubic IZ.
DimensionsARRAY[0..2] OF REALVALID ONLY WITH CubicIZType = 1. Defines the length (X), width (Y), and height (Z) of the Cubic IZ around the Center Point.
RobotActiveStatusARRAY[0..1] OF SINTContains the active IZ Type for each robot (index 0 = Robot 0, index 1 = Robot 1).
PaddingARRAY[0..1] OF SINTPlaceholder for platform compatibility

Details

Name_LEN

DINT

Stringlength for platform compatibility

Name

STRING[82]

User-defined name of the Cubic IZ.

CubicIZType

DINT

Type of interference zone definition

VariableDefinition
-1IZ not defined
0By Two Corners
1By Center Point

ZoneAction

DINT

Action of the IZ

VariableDefinitionDescription
0Status OnlyAs long as the TCP is inside the IZ , the bit in MLX.Robot[].CubicIZStatus corresponding to the ZoneID will is ON. This can then be used in application logic to perform or prevent certain operations while the robot is inside the zone
1Stop MotionWhen the TCP attempts to enter the IZ, the Robot will Abort and transition to ServosOffAborted state. This is useful when the Robot has delicate items in the workspace that should be avoided
2Clear IZDeactivate the current IZ

Corner1

ARRAY[0..2] OF REAL

VALID ONLY WITH CubicIZType = 0.

Defines first corner of the Cubic IZ [X,Y,Z].

Corner2

ARRAY[0..2] OF REAL

VALID ONLY WITH CubicIZType = 0.

Defines second corner of the Cubic IZ [X,Y,Z].

CoordFrame

DINT

VALID ONLY WITH CubicIZType = 0.

VariableDefinition
0Robot
1Base
2User

CenterPoint

ARRAY[0..5] OF REAL

VALID ONLY WITH CubicIZType = 1.

Defines the [X,Y,Z,RX,RY,RZ] position of the center of the Cubic IZ.

Dimensions

ARRAY[0..2] OF REAL

VALID ONLY WITH CubicIZType = 1.

Defines the length (X), width (Y), and height (Z) of the Cubic IZ around the Center Point.

RobotActiveStatus

ARRAY[0..1] OF SINT

Contains the active IZ Type for each robot (index 0 = Robot 0, index 1 = Robot 1).

Padding

ARRAY[0..1] OF SINT

Placeholder for platform compatibility

Pages built with Hugo - 04 Oct 2024 15:36 CEST