12 Device SpecificThe block library can be found for download in the ‘Service/Support’ area ofwww.vipa.com at ‘Downloads è VIPA Lib’ as ‘Block library Device Specific -SW90LS0MA’ . The library is available as packed zip file. As soon as you want to usethese blocks you have to import them into your project.Ä Chap. 5 ‘Include VIPA library’page 6912.1 Frequency Measurement12.1.1 FC 300 ... 303 - Frequency measurement SLIO consistentThe following VIPA specific functions are used to control the System SLIO frequencymeasurement modules, which are connected via PROFIBUS, PROFINET or EtherCAT.The usage with EtherCAT is only possible at an EtherCAT CPU from VIPA. By this func-tions SFC 14 - DPRD_DAT respectively SFC 15 - DPWR_DAT for consistent readrespectively write access to the data are internally called. Error messages of these blocksare reported by the parameter ERROR.Function Symbol CommentFC 300 FM_SET_CONTROL Function to control the frequency measurement with integratedconsistent access.FC 301 FM_GET_PERIOD Function to calculate the period duration with integrated consistentaccess.FC 302 FM_GET_FREQUENCY Function to calculate the frequency with integrated consistentaccess.FC 303 FM_GET_SPEED Function to calculate the rotational speed with integrated consistentaccess.12.1.2 FC 300 - FM_SET_CONTROL - Control frequency measurement consistentThe System SLIO Frequency measurement module is controlled by the FC 300FM_SET_CONTROL. By this function the SFC 15 - DPWR_DAT for consistent writeaccess of data is called. Here error messages of the block are reported by ERROR.ParametersParameter Declaration Data type Memory block DescriptionENABLE_FM INPUT BOOL I, Q, M, D, L Enable frequency measurementLADDR_OUT /HW_IDINPUT WORD /HW_IOI, Q, M, D, L n LADDR_OUT– Logical base output address ofthe frequency measurementmodule.– When used in CPUs from VIPA orin S7-300 CPUs from Siemens.n HW_ID– HW identifier to address the fre-quency measurement module.– When used in S7-1500 CPUsfrom Siemens.PRESET_CH0 INPUT DINT I, Q, M, D, L Channel 0: Measurement periodBlock library "Device Spe-cific"OverviewDescriptionVIPA SPEED7Device SpecificFrequency Measurement > FC 300 - FM_SET_CONTROL - Control frequency measurement consistentHB00 | OPL_SP7 | Operation list | en | 18-30246