Here is the deal, hope this help…….
I have one machine, a packing one, that was done by other people. This one packs sugar, the small packs for a coffee shop
The other one, puts 12 packs in a box and then this box is closed and finished.
The first machine has its own motor and encoder for all the movements and control needs.
From this machine, the only information I have is a digital PLC Output that is in logical 1 from 0 to90º of its encoder and from 180 to 270º, the others 180º this output goes to logical 0.
On the second machine, MINE ONE, I would read that output on one of my inputs and do the maths to calculate speed, I know that in a T time, that motor has rotated 90º so I can calculate the speed.
Made something similar in MY PLC (with my encoder) to compare both windows of measurement and then I can take an action on MY motor, I cannot change speed of the first machine.
I have an analog output to control the ATV, and my idea is to change this value to reach main machine speed.
Synchro MUST be done in 720º (we call a 360º rotation of the packing machine a HIT, where all mechanical movements are done to have one pack at the output), so I have 2 hits to do the synchro.
They MUST be at the same speed because in MY machine I have some mechanical movements, not controlled with the PLC, that need to be in synchro with the main speed (that can be changed)
Phase synchro: Only thing I need is that them both get in phase, no matter if the first encoder is in 48º and the second in 150º, but what matters is that they have this values ALWAYS at some point of view (this is where I look for it in a window).
Hope this would be more clear for everyone, to try helping me
THANX A LOT TO ALL OF YOU GUYS!!!!!