Lenze ETC Motion Control Manuel d'utilisateur Page 368

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 428
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 367
1 2 ... 363 364 365 366 367 368 369 370 371 372 373 ... 427 428

Commentaires sur ces manuels

ama 11 Jan 2025 | 19:35:39

rasha