5 l_iocounterdatafromio - counter function, L_iocounterdatafromio − counter function, Function library lenzeiosystem.lib – Lenze DDS Function library IOSystem User Manual
Page 59: Function blocks, 5 l_iocounterdatafromio − counter function
Function library LenzeIOSystem.lib
Function blocks
5.5
L_IOCounterDataFromIO − Counter function
5−13
L
LenzeIOSystem.lib EN 1.7
5.5
L_IOCounterDataFromIO − Counter function
Function block L_IOCounterDataFromIO supplies the counter module’s counting information.
·
Counting information from 4 counters with a 16−bit data width is supplied at the following
outputs:
– wCounter01_16Bit
– wCounter02_16Bit
– wCounter11_16Bit
– wCounter12_16Bit
·
Counting information from 2 counters with a 32−bit data width is supplied at the following
outputs:
– dwCounter0_32Bit
– dwCounter1_32Bit
L_IOCounterDataFromIO
wCounter01_16Bit
abyPDO_DataFromIO
Byte
0
DO
Byte
1
DO
Byte
2
DO
Byte
3
DO
Byte
4
DO
Byte
5
DO
Byte
6
DO
Byte
7
DO
16 Bit
LowWord
16 Bit
LowWord
16 Bit
LowWord
16 Bit
LowWord
dwCounter0_32Bit
wCounter02_16Bit
dwCounter1_32Bit
wCounter11_16Bit
wCounter12_16Bit
ð Inputs
(Variable type: VAR_INPUT)
Variable name
Data type
Information/possible settings
abyPDO_DataFromIO
Byte array
Interface with the outputs of function blocks L_IOPDO15 or L_IOPDO610 for the
transfer of information from the counter module.
Outputs
ð
(Variable type: VAR_OUTPUT)
Identifier
Data type
Value/meaning
wCounter01_16Bit
wCounter02_16Bit
wCounter11_16Bit
wCounter12_16Bit
Word
16−bit width counter data
dwCounter0_32Bit
dwCounter1_32Bit
Double word
32−bit width counter data