ABB PM583 Pulse Counter

We are investigating interfacing a sensor that has a pulse-per-second style output (up to 1 kHz) with a PM583 that is connected to a DC523 (discrete interface module). I'm questioning if the PLC can respond fast enough to reliably measure the pulse rate, and what would the code look like to do this? I'm not aware if PLC controllers have a concept of an interrupt/interrupt handler which I could use to time tag the pulse. Any ideas?