Lenze DDS System bus CAN for PLC Manual do Utilizador Página 147

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 178
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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 página 146
1 2 ... 142 143 144 145 146 147 148 149 150 151 152 ... 177 178

Comentários a estes Manuais

Sem comentários