Hi,
I recently developed code for a Hydraulic shear machine for metal cutting (Max. 1 inch thickness) with automatic Rake angle control (vertical movement and at an angle) and automatic stroke length control (vertical movement). We used 2 Linear transducers (0-10 V output , 0-310 mm stroke length)
Rake angle was a variable generated based on material thickness
Stroke length was a variable generated based on material length
We also had a servo drive backgauge for material width
The basic logic for hydraulic controls in this machine:
1. Scale the analog output , say 0-10 V to 0-xyz mm/inch and Linear transducer (going to the PLC as analog inputs). We have an analog scaling function block in the Schneider Electric software.
2. By trial and error figure out the tolerance window (abc millivolts)
Command = 1 inch , converted to xyz Volts(millivolts for better resolution)
Enable hydraulics
Monitor Analog output of the linear transducer via Analog inputs of PLC
If Linear encoder value is within +- abc millivolts then the position has reached the target.
Of course I used Schneider Electric PLC, HMI, Servo, IO
. The linear transducers were from Balluf.
Let me know if you have any questions.
Thanks.