Lenze ETC Motion Control Bedienungsanleitung Seite 367

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 428
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 366
PLC programming
Library
General functions
8
8.8
8.8.1
l
367
EDSTCXN EN 2.0
8.8.1.14 READ_TOOLDATA (only ETCxC)
FUNCTION READ_TOOLDATA: INT
VAR_INPUT
tnr_dw : DWORD; * T (tool number) *)
anzahl_dw : DWORD; (* number of tool data *)
puffer_p : DINT; (* Address after which the data should be stored *)
END_VAR
The function reads the tool data for the defined T (tools).
TYPE TOOL_TR
STRUCT
radius_lr : LREAL; (* tool radius in mm *)
typ_lr : LREAL; (* tool type *)
schwester_lr : LREAL; (* no. of the sister tool *)
original_lr : LREAL; (* no. of the original tool *)
magazin_lr : LREAL; (* magazine location *)
s_zugeordnet_lr : LREAL; (* S allocated to the magazine location *)
s_zeit_vorgabe_lr : LREAL; (* default tool life *)
s_zeit_aktuell_lr : LREAL; (* actual tool life *)
wz_aktuell_lr : LREAL; (* actual tool *)
drehzahl_lr : LREAL; (* tool speed *)
END_STRUCT
END_TYPE
wzdaten_tr : TOOL_TR;
ret_i : INT;
ret_i := READ_TOOLDATA(2, 10, ADR(wzdaten_tr));
The tool data for tool 2 (T2) are stored in the structural variable wzdaten_tr.
Declaration
Description
Example
Seitenansicht 366
1 2 ... 362 363 364 365 366 367 368 369 370 371 372 ... 427 428

Kommentare zu diesen Handbüchern

ama 11 Jan 2025 | 19:35:39

rasha