I'll assume the input from the windmill is coming into a standard input.
The following are in rung order. Read all three then come back and read them again. The rungs have to be in this order.
Create a one shot of the input, the Differential contact going to a 'C' bit would work fine (let's say you use C20).
Create a rung which is triggered by C20. LD the accumulator of the timer set up below (CTA10). Convert to a real by BIN then BTOR. Store the result in a double location (OUTD V2000 - which uses V2001 also). Now LDR R6000.0, DIVR by V2000. OUTD to V2002. This should be your RPM as a Real.
Set up a timer (TMRF - let's say T10) which is enabled by the NOT of that 'C' (C20) bit
Here's a post of what I just described.
PLC 260
// Rung 1
// Address 0
STRPD X10
OUT C20
// Rung 2
// Address 2
STR C20
LD CTA10
BIN
BTOR
OUTD V2000
LDR R6000
DIVR V2000
OUTD V2002
// Rung 3
// Address 12
STRN C20
TMRF T10 K9999
// Rung 4
// Address 16
END
// Rung 5
// Address 17
NOP
#BEGIN ELEMENT_DOC
"X10","Windmill Pulse","",""
"C20","Pulse Edge","",""
"T10","Pulse Timer","",""
"CTA10","Pulse Time","","(BCD)"
"V2000","Time BTW Pulses","","Time between pulses (Real)"
"V2002","Windmill RPM","","(Real)"
#END