Pressbrake CNC Control Setup Questions

More
5 years 4 months ago - 5 years 4 months ago #213133 by andypugh

I'm interested in this. Does anyone have a simulation configuration on this yet?
 
Yes, in fact that is all that I have.

See attached, that's my development folder.  Unzip it into "configs", halcompile --install the ,comp file, and it should just run.

Note that you don't start it from the LinuxCNC config picker, it is started with the ./bender command.
Last edit: 5 years 4 months ago by andypugh.
The following user(s) said Thank You: Diederik

Please Log in or Create an account to join the conversation.

More
5 years 4 months ago - 5 years 4 months ago #213163 by EW_CNC
Andy, I'm still struggling to get the homing working right.
The ram axis with hydraulic homes ok, but it makes a fast move when it homes on the index. Is it applying the offset?
With the other axis it makes that move very rapid, seemingly without velocity control.
I attached a halscope of it homing the the ram axis.

 Note how it does not pay any attention to index as long as the axis home-switch it active, so you need to set up some sort of target for the home switch that remains active until just after the last index. (this might be easier with a short target an an inverted input in HAL)

The the machine will run one way until home-switch goes false, then reverse direction and home to the index. You just need to ensure that this ends up always being the same index.


 

 
If you notice on the halscope, that it is applying the offset on index with the home switch active. (edit, the halscope is actually showing the reverse direction. so it is working like it should, but has that fast correction move.)
Had you taken notice that earlier I had changed the press.comp to subtract instead of adding the offset? press.comp change
Would this be causing other issues for me?
I attached my .hal file
Thanks, EW
Last edit: 5 years 4 months ago by EW_CNC. Reason: edit comment

Please Log in or Create an account to join the conversation.

More
5 years 4 months ago #213166 by PCW
What is intended to happen is that on index detection (hardware index when
index enable is true) is that the encoder position is reset to 0 and LinuxCNC
resets the commanded position to 0 when it detects the falling edge of index enable.

Please Log in or Create an account to join the conversation.

More
5 years 4 months ago #213176 by EW_CNC
So it seems that the problem that I'm having is when the encoder position gets reset, the move to the new commanded position is not controlled by the home-search-velocity.
Would it be possible to change the press component to stop homing when the encoder gets reset to 0 and have a separate move, if we still need it, to move to the new 0 offset point?

Please Log in or Create an account to join the conversation.

More
5 years 4 months ago #213178 by PCW
The reset should not cause a move. When the the search for index
is complete the motion should stop (obeying acceleration constraints)
and then move to the final home position with HOME_FINAL_VEL

Please Log in or Create an account to join the conversation.

More
5 years 4 months ago #213189 by BigJohnT
You need to set HOME_FINAL_VEL in your ini file for each axis.
Code:
HOME_FINAL_VEL = 0.0 - Velocity in machine units per second from home latch position to home position. If left at 0 or not included in the joint rapid velocity is used. Must be a positive number.

JT

Please Log in or Create an account to join the conversation.

Time to create page: 0.075 seconds
Powered by Kunena Forum