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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 178
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 161
11.5 L_CanDSxClose − deactivating the index mapping
System bus (CAN) for Lenze PLC devices
LenzeCanDSxDrv.lib function library
11−6
L
PLC−Systembus EN 2.0
11.5 L_CanDSxClose − deactivating the index mapping
Function
By means of this function the mapping table and therefore the diversion of indexes is deactivated
again.
· For the deactivation the transfer parameter bClose has to be set to TRUE.
· After carrying out this function, index accesses via the system bus interface according to the
mapping table are not diverted to other codes anymore.
Declaration
BOOL L_CanDSxClose (bClose);
Transfer parameters Data type Information/possible settings
bClose Bool Deactivating the index diversions according to the mapping table.
TRUE The CanDSx driver in the operating system is deactivated.
Return value Data type Value/meaning
Bool Status
TRUE The CanDSx driver in the operating system has been deactivated.
FALSE The CanDSx driver in the operating system has not been deactivated.
· Remedy: function call via transfer parameter bClose = TRUE.
Note!
If the function L_CanDSxCloseis called up while write or read requests for codes are still active, they
are possibly disturbed!
Therefore all actions with a code access should be completed before this function is called.
Example
Calling the function in ST:
IF bCloseCanDSxDriver AND NOT bClose THEN
bClose := TRUE;
dwReturnClose := L_CanDSxClose(bClose:=TRUE);
END_IF
Vista de pagina 161
1 2 ... 157 158 159 160 161 162 163 164 165 166 167 ... 177 178

Comentarios a estos manuales

Sin comentarios