Lenze DDS Global Drive PLC Developer Studio Manual de usuario Pagina 13

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 14
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 12
Function library LenzeAifParMapDrv.lib
Functions
3.2 L_AifParMapOpen − activation of code mapping
3−3
L
LenzeAifParMapDrv.lib EN 1.1
3.2 L_AifParMapOpen − activation of code mapping
DWORD L_AifParMapOpen (bOpen)
This function is used to activate the mapping table and the redirection of codes.
· The transfer parameter bOpen must be set to TRUE.
· After this function has been executed, the codes accessed will be redirected via the AIF
interface to the corresponding codes listed in the mapping table.
Transfer parameters
Identifiers Data type Possible settings Info
bOpen Bool TRUE Activation of code redirections according to the mapping table.
· The AifParMap driver in the operating system is initialised.
Return value
Data type Bit Value Meaning
Double word 0
0 Driver is initialised.
1 Driver is not initialised.
· Remedy: Calling the function with transfer parameter bOpen = TRUE.
1−15 Reserved for future extensions (bits are set to 0).
· Invalid with bit 0 = 1
16−31 Version of the function library LenzeAifParMapDrv.lib
· Format: Main version/subversion (e. g. 0103hex = version 1.03)
· Invalid with bit 0 = 1
Note!
If the function L_AifParMapOpen is called while read or write requests for codes are active an error
may occur!
This is why all actions with code access should be completed before this function is called.
Example
Calling the function in ST:
IF bOpenParMapDriver AND NOT bOpen THEN
bOpen := TRUE;
dwReturnOpen := L_AifParMapOpen(bOpen:= TRUE);
END_IF
Vista de pagina 12
1 2 ... 8 9 10 11 12 13 14

Comentarios a estos manuales

Sin comentarios