Pressbrake CNC Control Setup Questions

More
03 Jul 2021 12:39 #213554 by EW_CNC
Here is the halscope plot.
Just to verify, when homing towards index, the home switch turns active just before reaching index point.
Index is on home switch active true side.

 
Attachments:

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

More
03 Jul 2021 13:26 #213558 by PCW
Can you plot the commanded and feedback point positions?
These should both be set to 0 when index is detected

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

More
03 Jul 2021 14:52 #213565 by EW_CNC

Can you plot the commanded and feedback point positions?
These should both be set to 0 when index is detected

 

Attachments:

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

More
03 Jul 2021 15:43 #213568 by PCW
That does look about like what is expected, on index both the commanded
and feedback positions are zeroed. What is the home final velocity?

Can you plot the joint equivalents of the feedback and commanded positions
(plus the joint following error)

Another useful thing to plot would be joint.0.home-state

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

More
03 Jul 2021 22:49 #213611 by andypugh

What is the home final velocity?
 

There isn't one here. This is a weird setup that I created that uses just a Python GUI and a HAL component. There is no INI. 

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

More
10 Aug 2021 20:55 #217424 by EW_CNC
I'm using the pressbrake to do simple bending jobs. Now I see the need to add the tonnage pressure limits we had mentioned earlier.

I think pressure limits need to go in the press .comp.
Adding another state "overpressure" that only allows motion up.

 

It would be nice to have a hal input pin to set the tonnage limit anytime the ram is moving down.
If the press exceeds the tonnage limit, motion should stop and only up motion allowed.
Depending on the tooling and job, the tonnage limit will need to be adjusted from the GUI.
 

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

More
10 Aug 2021 23:17 #217432 by andypugh
I have made a start at this, but I am short of time. 

 

The pressure gauge now updates as the max pressure is changed. 

I have also added an overload state to the state machine. I don't know if it works...

press.comp now needs it's max-pressure pin connecting to the UI max-pressure-f pin so that it is aware of the limit. 
Both the UI and the comp need to be connected to the pressure meter output. 

What is your current situation with homing? I have been sat on your last message in my inbox waiting for it to make it to the top of my queue. 

 
Attachments:
The following user(s) said Thank You: EW_CNC

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

More
11 Aug 2021 00:08 #217442 by EW_CNC

What is your current situation with homing? I have been sat on your last message in my inbox waiting for it to make it to the top of my queue. 

 

So far I'm only using the ram, not the backstop.
I can home the ram ok because with its shorter travel distance the rapid move during homing doesn't cause as much of an issue.

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

More
11 Aug 2021 13:18 #217541 by andypugh

So far I'm only using the ram, not the backstop.
I can home the ram ok because with its shorter travel distance the rapid move during homing doesn't cause as much of an issue.


I will try to get on to this, possibly at the weekend, but I am away from my LinuxCNC machines for the next few days.
The following user(s) said Thank You: EW_CNC

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

More
13 Aug 2021 00:56 #217644 by EW_CNC

I have also added an overload state to the state machine. I don't know if it works...

 

I halcompiled the press.comp with the overpressure changes, made the connections in the GUI and hal file.
The new pins show correctly in halscope, but down motion does not stop when pressure exceeds max pressure setting.

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

Moderators: cncbasher
Time to create page: 0.399 seconds
Powered by Kunena Forum