Structures for motion programming (STRUCT)
Predefined data structures (STRUCT) can be used in the PLC library.
Overview
|
Structure |
Description |
|---|---|
|
APO |
Approximation parameters for a Move motion command (>>> APO) |
|
COORDSYS |
Coordinate system to which the Cartesian coordinates of the target position refer in a Move or Jog motion command (>>> COORDSYS) |
|
E6AXIS |
Angular values or translation values of the axes in an axis group for a MoveAxis motion command (>>> E6AXIS) |
|
E6POS |
Cartesian coordinates of the target position for a Move or Jog motion command (>>> E6POS) |
|
FRAME |
Space coordinates and orientation for the TOOL or BASE coordinate system (>>> FRAME) |
|
POSITION |
Contains all positions and the coordinate system to which a point refers (>>> POSITION) |
|
POSITION_ARRAY |
Array of 100 positions of structure type POSITION (>>> POSITION_ARRAY) |
APO
|
Element |
Type |
Description |
|---|---|---|
|
PTP_MODE |
INT |
Specifies whether and how the end point of a PTP motion is approximated.
|
|
CP_MODE |
INT |
Specifies whether and how the end point of a CP motion (LIN, CIRC) is approximated.
|
|
CPTP |
INT |
Approximation distance for PTP motions (= furthest distance before the end point at which approximate positioning can begin)
Maximum distance 100 %: half the distance between the start point and the end point relative to the contour of the PTP motion without approximate positioning |
|
CDIS |
REAL |
Distance parameter (unit: mm) Approximation starts, at the earliest, when the distance to the end point falls below the value specified here. |
|
CORI |
REAL |
Orientation parameter (unit: °) Approximation starts, at the earliest, when the dominant orientation angle (rotation or swiveling of the longitudinal axis of the tool) falls below the angle distance to the end point specified here. |
|
CVEL |
INT |
Speed parameter
The approximation parameter specifies the percentage of the programmed speed at which the approximate positioning process is started, at the earliest, in the deceleration phase towards the end point. Notice: This parameter cannot be used in the case of individual spline motions. |
COORDSYS
|
Element |
Type |
Description |
|---|---|---|
|
Tool |
INT |
Number of the TOOL coordinate system
Default: -1 |
|
Base |
INT |
Number of the BASE coordinate system
Default: -1 |
|
IPO_MODE |
INT |
Interpolation mode
Default: 0 |
E6AXIS
|
Element |
Type |
Description |
|---|---|---|
|
A1 |
REAL |
Position of robot axis A1 (unit: mm or °) |
|
A2 |
REAL |
Position of robot axis A2 (unit: mm or °) |
|
A3 |
REAL |
Position of robot axis A3 (unit: mm or °) |
|
A4 |
REAL |
Position of robot axis A4 (unit: mm or °) |
|
A5 |
REAL |
Position of robot axis A5 (unit: mm or °) |
|
A6 |
REAL |
Position of robot axis A6 (unit: mm or °) |
|
E1 |
REAL |
Position of external axis E1 (optional), (unit: mm or °) |
|
E2 |
REAL |
Position of external axis E2 (optional), (unit: mm or °) |
|
E3 |
REAL |
Position of external axis E3 (optional), (unit: mm or °) |
|
E4 |
REAL |
Position of external axis E4 (optional), (unit: mm or °) |
|
E5 |
REAL |
Position of external axis E5 (optional), (unit: mm or °) |
|
E6 |
REAL |
Position of external axis E6 (optional), (unit: mm or °) |
E6POS
|
Element |
Type |
Description | |
|---|---|---|---|
|
X |
REAL |
Position on the X axis (unit: mm) | |
|
Y |
REAL |
Position on the Y axis (unit: mm) | |
|
Z |
REAL |
Position on the Z axis (unit: mm) | |
|
A |
REAL |
Rotation around the Z axis
| |
|
B |
REAL |
Rotation around the Y axis
| |
|
C |
REAL |
Rotation around the X axis
| |
|
S |
INT |
Status |
The position (X, Y, Z) and orientation (A, B, C) values of the TCP are not sufficient to define the robot position unambiguously, as different axis positions are possible for the same TCP. Status and Turn serve to define an unambiguous position that can be achieved with different axis positions. Notice: Further information about Status and Turn is provided the operating and programming instructions of the system software. |
|
T |
INT |
Turn | |
|
E1 |
REAL |
Position of external axis E1 (optional), (unit: mm or °) | |
|
E2 |
REAL |
Position of external axis E2 (optional), (unit: mm or °) | |
|
E3 |
REAL |
Position of external axis E3 (optional), (unit: mm or °) | |
|
E4 |
REAL |
Position of external axis E4 (optional), (unit: mm or °) | |
|
E5 |
REAL |
Position of external axis E5 (optional), (unit: mm or °) | |
|
E6 |
REAL |
Position of external axis E6 (optional), (unit: mm or °) | |
FRAME
|
Element |
Type |
Description |
|---|---|---|
|
X |
REAL |
Position on the X axis (unit: mm) |
|
Y |
REAL |
Position on the Y axis (unit: mm) |
|
Z |
REAL |
Position on the Z axis (unit: mm) |
|
A |
REAL |
Orientation of the Z axis
|
|
B |
REAL |
Orientation of the Y axis
|
|
C |
REAL |
Orientation of the X axis
|