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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 27
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 20
LenzeFpiDrv.lib function library
Functions
3.4 Send status (L_Rs232GetSendState)
3−6
L
LenzeFpiDrv.lib EN 1.1
3.4 Send status (L_Rs232GetSendState)
INT L_Rs232GetSendState (wDrvNr)
Use this function to find out about the current status of a send order.
L_Rs232GetSendState
wDrvNr
Fig. 3−4 Send status (L_Rs232GetSendState)
Transmission parameters
Identifier Data type Possible settings Info
wDrvNr Word 30 AIF interface
Feedback value
Data type Value Meaning Priority
Integer
−1 Wrong driver number ( wDrvNr ) or driver not initialised.
0 All data bytes have been sent, the memory is ready for further orders.
1 ... 32767 Number of data bytes to be sent when a send order is active.
Example
Calling up the function in ST:
g_dnStatusOfSend := L_Rs232GetSendState(30);
Przeglądanie stron 20
1 2 ... 16 17 18 19 20 21 22 23 24 25 26 27

Komentarze do niniejszej Instrukcji

Brak uwag