Lenze PLC Designer PLC-Designer (R2-x) SoftMotion Instrukcja Użytkownika Strona 202

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 290
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 201
DMS 5.2 EN 03/2011 TD17 L 202
L-force | PLC Designer - SoftMotion
The SM_CNC.lib library
Structures of SM_CNC.lib
7.16 Structures of SM_CNC.lib
The following section describes a selection of SM_CNC.lib structures, which are used by the
SM_CNC.lib program organisation units for saving positions, path segments (path objects)
and vectors: SMC_POSINFO, SMC_GEOINFO, SMC_VECTOR3D, SMC_VECTOR6D.
Furthermore, the SMC_OUTQUEUE structure helps you to manage GEOINFO objects in a
list of a defined size.
7.16.1 SMC_POSINFO
The SMC_POSINFO structure contained in SMC_CNC.lib stores the coordinates and
position of the additional axes for a particular position point.
Variables dX, dY and dZ contain the position in the coordinate system, dA1 to dA6 the
position of the additional axes. The user can store further information that is not relevant
to SoftMotion program organisation units in iFrame_Nr. dA, dB and dC are not currently
used.
wAuxData describes bit by bit which of the position axes are to be calculated by
SMC_Interpolator. wAuxData will be initialised with 111
bin
, i.e. the X, Y and Z axis will be
interpolated. If the first bit is set, the dX position will be calculated, bit 7 causes dA2 to be
processed, for example.
In the same way, wSProfile describes whether the additional axes (all of them apart from
the X and Y axis) are to be interpolated linearly (FALSE) or sigmoidally (TRUE) by the
interpolator. Bit 2 represents the Z axis, bit 6 P, bit 7 Q, bit 8 U, bit 9 V, and bit 10 W.
TYPE SMC_POSINFO:
STRUCT
iFrame_Nr:INT;
wAuxData:WORD;
wSProfile:WORD;
dX:LREAL;
dY:LREAL;
dZ:LREAL;
A:LREAL;
B:LREAL;
dC:LREAL;
dA1:LREAL;
dA2:LREAL;
dA3:LREAL;
dA4:LREAL;
dA5:LREAL;
dA6:LREAL;
END_STRUCT
END_TYPE
Przeglądanie stron 201
1 2 ... 197 198 199 200 201 202 203 204 205 206 207 ... 289 290

Komentarze do niniejszej Instrukcji

Brak uwag