Lenze DDS System bus CAN for PLC Manual de usuario Pagina 147

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 178
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de 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)
Vista de pagina 146
1 2 ... 142 143 144 145 146 147 148 149 150 151 152 ... 177 178

Comentarios a estos manuales

Sin comentarios