Lenze Global Drive PLC Developer Studio Manual de usuario Pagina 21

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 27
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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);
Vista de pagina 20
1 2 ... 16 17 18 19 20 21 22 23 24 25 26 27

Comentarios a estos manuales

Sin comentarios