Lenze DDS System bus CAN for PLC Manuale Utente Pagina 162

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 178
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la 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
Vedere la pagina 161
1 2 ... 157 158 159 160 161 162 163 164 165 166 167 ... 177 178

Commenti su questo manuale

Nessun commento