Parameters
Parameter Declaration Data type Memory block Description
LADDR_IN /
HW_ID
INPUT WORD /
HW_IO
I, Q, M, D, L
n LADDR_OUT
– Logical base input address of the
frequency measurement module.
– When used in CPUs from VIPA or
in S7-300 CPUs from Siemens.
n HW_ID
– HW identifier to address the fre-
quency measurement module.
– When used in S7-1500 CPUs
from Siemens.
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
Peripheral address:
n This parameter is available in CPUs from VIPA or in S7-300 CPUs from Siemens.
n Configured base address of the input area of the System SLIO frequency measure-
ment module, which is to be read from. The address is hexadecimal.
n (Example: Address 100: LADDR_IN: = W#16#64)
HW identifier:
n This parameter is only available in S7-1500 CPUs of Siemens.
n Enter at HW_ID the HW identifier, with which your module can be addressed accord-
ingly.
Ä
Chap. 4.1 ‘HW identifier - HW_ID’ page 66
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.
LADDR_IN
HW_ID
DONE
PERIOD_CHx
VIPA SPEED7
Device Specific
Frequency Measurement > FC 301 - FM_GET_PERIOD - Calculate period duration consistent
HB00 | OPL_SP7 | Operation list | en | 18-30 249