Lenze Global Drive PLC Developer Studio Instrukcja Użytkownika Strona 18

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 27
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 17
LenzeFpiDrv.lib function library
Functions
3.2 Deactivation (L_Rs232Close)
3−3
L
LenzeFpiDrv.lib EN 1.1
3.2 Deactivation (L_Rs232Close)
BOOL L_Rs232Close (wDrvNr)
This function deactivates the FP interface so that the AIF interface can be used for other AIF modules
(keypad, INTERBUS−S, PROFIBUS−DP, etc.) again.
· All send and receipt orders not carried out yet are cancelled when this function is activated.
L_Rs232Close
wDrvNr
Fig. 3−2 Deactivation (L_Rs232Close)
Transmission parameters
Identifier Data type Possible settings Info
wDrvNr Word 30 AIF interface
Feedback value
Data type Value Meaning Priority
bool (boolean)
sends FALSE Error during deactivation of the driver
Wrong driver number ( wDrvNr ) or driver not initialised.
TRUE Driver has been deactivated.
Example
Calling up the function in ST:
(* close FPI − returns g_bFPICloseState *)
g_bFPICloseState := L_Rs232Close (30)
Przeglądanie stron 17
1 2 ... 13 14 15 16 17 18 19 20 21 22 23 ... 26 27

Komentarze do niniejszej Instrukcji

Brak uwag