Very clever sir! Unfortunately it won't always be the same ratio. The ratio will change as the bobbin fills with cable. I would need to be constantly computing new integers for the changing ratio and I think that would probably add a layer of complexity that would undermine the elegance of your solution.I don' know the capabilities of a PLC so I don't know if you could implement this idea.
Each motor would have an encoder with the same number of pulses per rev.
From the 342 rpm motor we would divide the pulses by 200. From the other motor we would divide the pulses by 177. (The smallest integers to get a ratio of 88.5%) The outputs of the dividers would clock a counter. one would clock it up the other would clock it down. For example if we made this an 8 bit counter and initialised it to a value of 128 when the motor speeds were in the correct ratio it would would remain within 1 count of that value. If the speed ratio was wrong it would increase or decrease from the value of 128. The value of this counter would be the error signal with 128 being zero error. The value from this counter could be fed into a DAC and used to adjust the control voltage to the slave VFD.
Les.
It's actually easy (too easy) to multiply floating point numbers in the PLC. I try avoid using floating point when I can, as (I think) it's costly in terms of cycle time, but the PLC's processor is no slouch and in this case I think it's called for.
