Parameter Declaration Data type Memory block Description
FM_STATUS_CH1 INPUT WORD I, Q, M, D, L Actual value of frequency meas-
urement module input address:
+18
DONE OUTPUT BOOL I, Q, M, D, L Ready signal
(TRUE = OK)
ERROR OUTPUT WORD I, Q, M, D, L Return value
(0 = OK)
PERIOD_CH0 OUTPUT DINT I, Q, M, D, L Channel 0:
Period duration
PERIOD_CH1 OUTPUT DINT I, Q, M, D, L Channel 1:
Period duration
This parameter contains the measured time value of channel 0 respectively channel 1.
The content is to be consistent connected with address +0 respectively +4 of the input
area of the frequency measurement module, via the according bus system.
This parameter contains the determined number of rising edges for channel 0 respec-
tively channel 1. The content is to be consistent connected with address +8 respectively
+12 of the input area of the frequency measurement module, via the according bus
system.
This parameter contains the status of channel 0 respectively channel 1. The content is to
be consistent connected with address +16 respectively +18 of the input area of the fre-
quency measurement module, via the according bus system.
Ready signal of the function
n TRUE: Function was finished without error.
n FALSE: Function is not active respectively there is an error.
Currently determined period duration of the corresponding channel in 100ns.
FM_PERIOD_CHx
FM_RISING_ EDGES_CHx
FM_STATUS_CHx
DONE
PERIOD_CHx
VIPA SPEED7
Device Specific
Frequency Measurement > FC 311 - FM_CALC_PERIOD - Calculate period duration
HB00 | OPL_SP7 | Operation list | en | 18-30 259