How to configure the 7i77 electronic board to always start with a + 10 V ?

More
1 year 9 months ago #319840 by programador
How to configure the 7i77 electronic board to always start with a positive output of 10 volts before home referencing?

Good afternoon everyone, please, I need help with the following situation:

Just to give an example of a stepper motor drive device, when we connect the machine is enabled or amplifier enable input, it physically stops the motor with power to the coils and only moves when there is a Step and Dir pulse, that is, the axis does not move while the machine is on.
Unfortunately, what I am controlling is not a simple stepper motor, and neither is a Step and Dir pulse used. In my case, I am analogically controlling a hydraulic cylinder in the z-axis movement with the 7i77 electronic board.

This hydraulic cylinder, when the machine's hydraulic pump is turned on, slowly descends on its own, due to the pressure and the force of gravity itself. To keep it high, it is necessary to press jog + on the Z axis, which injects positive voltage and causes the hydraulic cylinder to rise, but as the analog output returns to zero, the cylinder descends gradually, unlike a stepper motor that remains locked until further notice. In other words, you have to keep pressing the jog + button on the z axis to keep it high.

below illustration:

1 - initial situation before axis home

 

Attachment not found



2- jog +Z situation

 

Attachment not found



3- jog situation -Z

 

Attachment not found



below video demonstration



This situation in the video may show that when moving the tool wheel, it will collide with the Z axis.

 

Attachment not found



To avoid such a collision, I need the Z axis in the case of the 7i77 board output to always have a positive output of +10 volts, this before the home position and before running the g-code program, but when running the g-code program, it will have to obey the commands, when stopping the g-code, it will return to +10 volts. I accept any help or suggestion, I thank everyone who can contribute.

How to configure the 7i77 electronic board to always start with a positive output of 10 volts before home referencing?
 

Please Log in to join the conversation.

More
1 year 9 months ago #319842 by PCW
Not quite sure I understand. the position feedback should work whenever LinuxCNC is running
so is seems you should just set the position to retract the head at the end of the Gcode.
In addition the initial Z position should be in the retracted position.


 

Please Log in to join the conversation.

More
1 year 9 months ago #319852 by programador
Thank you for your response.
Yes, you are correct. The position feedback should function properly as long as LinuxCNC is running, so I just need to set the position to retract the head at the end of the G-code, and the initial Z position should be in the retracted state.
However, when starting the machine, the process must be done manually to ensure that the Z-axis is retracted, preventing a potential mechanical issue where the Z-axis could be extended and collide with the punches.
How can I ensure that the Z-axis is retracted before executing the G-code program?

Please Log in to join the conversation.

More
1 year 9 months ago #319855 by tommylight
Is it setup as a normal axis?
Adding a switch and using it for homing would work in that case.
Adding the switch would be advisable in any case and set it in hal so it does not allow anything to move if the cylinder is not in the upper position.

Please Log in to join the conversation.

More
1 year 9 months ago #319856 by tommylight
Is the cylinder controlled by +-10V or just 0-10V?

Please Log in to join the conversation.

More
1 year 9 months ago #319858 by programador
Thanks for the feedback, good suggestion, but since I'm very late on this project, physically installing a sensor will take more time and I don't know if the client will accept it on the next visit. Your idea helped me to try a different way, maybe never tried before in LinuxCNC, which would be to take the analog voltage reading from the inductive sensor that is present and already part of the original machine and create a logical ladder to compare the voltage from zero to 10V where 8.6 volts would be the virtual limit switch. With your experience, do you think it is possible to use an analog reading and determine certain thresholds to turn on and off a bit memory in the ladder and use it as a limit switch?

Please Log in to join the conversation.

More
1 year 9 months ago #319859 by programador
Is the cylinder controlled by -10 volts advances and +10 volts retracted position 0 volts gradually descends
Note: I am using translate google sorry for any inconvenience

Please Log in to join the conversation.

More
1 year 9 months ago #319861 by tommylight
Analog voltage from inductive sensor? Is that the position sensor for the ram/cylinder?
Maybe using the values from that sensor to home or to check and retract the ram at LinuxCNC start?
Also use the value from that sensor to stop the machine from moving anything else if not in upper position. I would strictly tie this to motion feed hold if this is punch press so the part can not move until the ram is up. This i think is a must on such machines. Also to make sure the material has stopped before ramming down...

Please Log in to join the conversation.

More
1 year 9 months ago #319876 by programador
Thanks for the feedback
Yes =>  inductive sensor
Yes=> position sensor for the ram/cylinder
Yes=>Maybe using the values from that sensor to home or to check and retract the ram at LinuxCNC start

I am currently in the electronics lab, I will do some simulations and post them here for everyone to see. And when I go to the machine I will already have a theory to be applied. Thank you very much to everyone, I am available if anyone needs any more information about this machine or the process I am doing with the electronic boards from the manufacturer Mesa 7i77.

 

Attachment not found



I will attach the technical data in case anyone needs to work with this type of machine.

 

Attachment not found



 

Attachment not found




Repeat accuracy ± 10 µm
Voltage output 0 ... 10 V

​​​​​​​note: I used google translate, sorry for any inconsistency

Please Log in to join the conversation.

Time to create page: 0.106 seconds
Powered by Kunena Forum