So I thought I would update this thread as the machine went back into production this week.
It was a long 4 weeks on site finishing off the code and tweaking to get everything working.
The parts I thought would be easy, turned out to be quite tricky. The parts I thought would be tricky were done in a morning!
It was one of those great sites to work on, whereby the operators and management really wanted it to work and gave you all the help and
assistance that they could.
The web handling and dancers sort of took care of themselves, I geared everything to the Virtual Master and I started off with just P loops set at 0.5 and a + / - 10% trim, soon realised that it wasn't enough so most are at + / - 20% and the main drum is at 30%, that part was just fit and forget.
Servo drives and AC Motors are a pain in the bum, as you couldn't just enable them if the safety circuit was healthy, as they all started to overheat quite quickly.
Firstly I cammed the perforator to the main drive, but this just wasn't working. After watching the other machines start up, they weren't cammed at all, just geared together.
There was a prox on the main drum and a prox on the perforator, I used these to work out the bag length and just altered the gearing slightly to keep them in sync if you like. The only other factor in the gearing was the offset, which has to be changed every time the drum changes size.
The actual wind up operation was fairly straight forward, all the 'spindles' were in torque mode and with a couple of lines of code to restrict torque if ActualVelocity > 1250, stopped all run away issues. The biggest issue was recovering from mishaps without stopping the machine.
It tool about 20 minutes for 2 operators to initially thread the machine up, so if you made a mistake and it all went Pete Tong, they would have to do it all again. This was the most frustrating part of the job.
Anyway here is a video of it running and thanks for all the input earlier in the thread.
https://youtu.be/FIe2wFHxtfk