Lenze DDS System bus CAN for PLC Manuale Utente Pagina 147

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 178
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 146
System bus (CAN) for Lenze PLC devices
LenzeCanDrv.lib function library
10.4 L_CanClose − deactivating the CAN driver
10−5
L
PLC−Systembus EN 2.0
10.4 L_CanClose − deactivating the CAN driver
Function
BOOL L_CanClose (wDrvNr)
By means of this function the CAN driver is deactivated.
· Transmission and reception tasks which are still available are cancelled when this function is
called.
L_CanClose
wDrvNr
Transfer parameters
Identifier Data type Possible settings Notes
wDrvNr Word 10 System bus
Return value
Data type Value Meaning Priority
Bool
0 Error while activating the driver
(incorrect driver number, or driver was not initialised.)
1 Driver has been deactivated.
Example
Calling the function in ST:
(* close CAN driver − returns g_bCanCloseState *)
g_bCanCloseState := L_CanClose(10)
Vedere la pagina 146
1 2 ... 142 143 144 145 146 147 148 149 150 151 152 ... 177 178

Commenti su questo manuale

Nessun commento