6 l_iocounterdimoduledatatoio - counter function, L_iocounterdimoduledatatoio − counter function, Function library lenzeiosystem.lib – Lenze DDS Function library IOSystem User Manual
Page 60: Function blocks, 6 l_iocounterdimoduledatatoio − counter function

5.6
L_IOCounterDIModuleDataToIO − Counter function
Function library LenzeIOSystem.lib
Function blocks
5−14
L
LenzeIOSystem.lib EN 1.7
5.6
L_IOCounterDIModuleDataToIO − Counter function
The counter function of module EPM−T430 is set via process data block
L_IOCounterDIModuleDataToIO. Depending on the function settings for the inputs, the counter
may be preassigned values for counting.
In addition, function block L_IOCounterDIModuleDataToIO is used for start, stop, set, reset, etc.
L_IOCounterDIModuleDataToIO
bControl_LoaddwSetCounter
Byte
0
Byte
1
Byte
2
Byte
3
DI
DI
DI
DI
abyPDO_DataToIO
Converter
dw to byte
dwSetCounter
byByte_Reference
bControl_ResetCounter
bControl_StartCounter
Byte
5
DI
bControl_StopCounter
Byte
4
DI
ð Inputs
(Variable type: VAR_INPUT)
Variable name
Data type
Information/possible settings
dwSetCounter
Double word
Specified value for counter module
bControl_StartCounter
Bool
Start counter
bControl_StopCounter
Bool
Stop counter
bControl_LoaddwSetCounter
Bool
Specified value is set to counting value
bControl_ResetCounter
Bool
Counter is reset
byByte_Reference
Byte
Reference frequency
0 16 MHz
1 8 MHz
2 4 MHz
3 1 MHz
4 100 kHz
5 10 kHz
6 1000Hz
7 100Hz
Outputs
ð
(Variable type: VAR_OUTPUT)
Identifier
Data type
Value/meaning
abyPDOData1ToIO
Byte array
Interface with the inputs of function blocks L_IOPDO15 or L_IOPDO610 for the
transfer of information to the counter module.