Lenze ETC Motion Control Manual do Utilizador Página 368

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 428
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 367
PLC programming
Library
General functions
8
8.8
8.8.1
l
368
EDSTCXN EN 2.0
8.8.1.15 SAVE_PARAM (only ETCxC)
FUNCTION SAVE_PARAM: DINT
VAR_INPUT
dateiname_s : STRING(15); (* "device:filename" *)
pindex_di : DINT; (* P field index *)
anzahl_di : DINT; (* number of the P field values *)
END_VAR
SAVE_PARAM saves anzahl_di P field values after index pindex_di under the
file name " dateiname_s" on the RAM disk (device: rd), in the FLASHPROM
(device: sd) or on a floppy disk (device: fd).
A return value other than 0 signals an error ( 391).
ret_di : DINT;
ret_di : = SAVE_PARAM(’rd:daten.dat’, 1200, 30);
30 P field values are saved after index 1200 in the file "daten.dat" on the RAM
disk.
8.8.1.16 SETINPUT_BIT
FUNCTION SETINPUT_BIT: BOOL
VAR_INPUT
WORD_W : WORD; (* No. of the data word *)
bit_w : WORD; (* input of the IO card *)
END_VAR
The function sets a bit in the input process image. In the inputprocess image
of the data word word_w (value range 0 ... 63) a bit bit_w (value range 0 ... 31)
is set. This allows for a test environment to be created (without hardware).
The return value FALSE indicates a wrong transfer parameter.
Declaration
Description
Example
Declaration
Description
Vista de página 367
1 2 ... 363 364 365 366 367 368 369 370 371 372 373 ... 427 428

Comentários a estes Manuais

ama 11 Jan 2025 | 19:35:39

rasha