Since the PLC does not support floating point, you can use the PULSEPERIOD to measure the period in microseconds and then convert it to Hz. In that case you could use a fixed point number to represent your frequency. E.g. each unit represent 0.1Hz, 123 means 12.3 Hz.
x10Hz = 1000000*10/(period in microsecond).