Parameter Declaration Data type Memory block Description
PRESET_CH1 INPUT DINT I, Q, M, D, L Channel 1: Measurement period
DONE OUTPUT BOOL I, Q, M, D, L Ready signal (TRUE = OK)
ERROR OUTPUT WORD I, Q, M, D, L Return value (0 = OK)
With setting ENABLE_FM the measuring periods, which were preset by PRESET_CH0/1,
are transferred to the channels and the measurement of both channels are started. Both
frequency meters are stopped by resetting ENABLE_FM.
Only while ENABLE_FM is set, evaluated values can be retrieved from
the module. Otherwise you get the error message that the channels are
disabled.
Peripheral address:
n This parameter is available in CPUs from VIPA or in S7-300 CPUs from Siemens.
n Configured base address of the output area of the System SLIO frequency measure-
ment module, which is to be written to. The address is hexadecimal.
n (Example: Address 100: LADDR_OUT: = 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
Enter here the measurement period in µs for the corresponding channel.
Range of values: 1µs ... 8 388 607µs
Ready signal of the function
n TRUE: Function was finished without error.
n FALSE: Function is not active respectively there is an error.
The following code can be reported:
Code Description
0x0000 No error
0x80D2 Channel 0:
Input value measurement period £ 0
0x80D3 Channel 1:
Input value measurement period £ 0
ENABLE_FM
LADDR_OUT
HW_ID
PRESET_CHx
DONE
ERROR (Return value)
VIPA SPEED7
Device Specific
Frequency Measurement > FC 300 - FM_SET_CONTROL - Control frequency measurement consistent
HB00 | OPL_SP7 | Operation list | en | 18-30 247