Lenze Global Drive PLC Developer Studio Uživatelský manuál Strana 21

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 27
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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);
Zobrazit stránku 20
1 2 ... 16 17 18 19 20 21 22 23 24 25 26 27

Komentáře k této Příručce

Žádné komentáře