4 send status (l_rs232getsendstate), Send status (l_rs232getsendstate), Lenzefpidrv.lib function library – Lenze Global Drive PLC Developer Studio User Manual
Page 21: Functions
Advertising
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);
Advertising