Pressbrake CNC Control Setup Questions

More
05 Jan 2022 22:20 - 05 Jan 2022 22:21 #230904 by PCW
Could you add a plot of the commanded position?
Does the PID component have index-enable connected?

What is supposed to happen on homing to index is that the when index is
detected, the encoder position is set to 0.0 and index-enable is set false.
LinuxCNC watches the index-enable signal, and when it has a high to low transition,
it sets the commanded position to 0.0 to match the feedback position.

In addition, the PID component watches index enable so that any derivative
or feed-forward term calculations ignore the position step in its commanded and
feedback inputs.
Last edit: 05 Jan 2022 22:21 by PCW.

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

More
25 Apr 2022 19:56 #241246 by andypugh
After recent discussion on the mailing list, can I repeat this question? I would like to see where the problem is.

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

More
25 Apr 2022 21:10 #241252 by EW_CNC
it looks like pid.1.index-enable is false before getting to the index.

 

are the pid connections wrong in the hal file? 

File Attachment:

File Name: bender_2022-04-25.hal
File Size:11 KB


i'll do some more testing.
Attachments:

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

More
25 Apr 2022 21:37 #241254 by EW_CNC
more testing: consistently pid.1.index-enable goes false, but pid.1.command does not set to 0.

 
Attachments:

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

More
26 Apr 2022 00:09 #241257 by andypugh
I have had a re-think, and this version of press.comp might work better. Or, at least, differently.

I am a bit concerned that the behaviour of the brake axis under homing will now be different, though.

if this doesn't work, then try setting the axis home positions to zero ( the press.axis.1.home-offset 50 line) just to see what changes.

reminder: sudo halcompile --install press.comp
 
Attachments:
The following user(s) said Thank You: EW_CNC

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

More
28 Apr 2022 01:22 #241424 by EW_CNC
Ok, I did some testing.
Backstop axis: If I starting homing with the home switch true, It moves at search velocity towards positive.
When it moves off home switch true and at the first index it does a very rapid jerk and proceeds with homing and completes homing. (Homing in the opposite direction resulted in a fast rapid move toward positive end of travel, not good!)
Screen Shot:
 
Also this last change causes the position after homing to be 0 right at the index, not at the point of index + home offset.

if this doesn't work, then try setting the axis home positions to zero ( the press.axis.1.home-offset 50 line) just to see what changes.

If I set it to zero homing doesn't work.
I'll keep doing more testing on my end to see if I can give you more info.
Thanks,
EW
Attachments:

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

More
02 Sep 2022 23:11 #251065 by slopez2022
Hello Rod:

This is Salvador Lopez

I saw your message about the icon controller

Can I talk about it with you a little more?

Regards

Salvador

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

More
03 Sep 2022 04:24 #251078 by rodw
Sure. You can send a message to me here. www.vmn.com.au/contact

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

More
08 Apr 2023 05:07 #268586 by santy
Hello Guys this would help me a lot as i have a old press brake with a dead old controller. Everything else is good. I know where all the pwm outputs and encoders go as well as signals for the main board, so i can deal with all pwm and IO, because i got the wiring diagrams and paperwork from the manufacturer. 

I have just  tried installing this as a simulation but didn’t succeed as i got an error when running ./bender

how would it work to run it as an actual machine, with a 7i92tm + 7i76e?

i can create a new config with this boards using pnc conf, then modify it as the ones you’ve sent right?

what i don’t understand is what does .comp do to my hal file and if i need to have done anything previously to run the installstion.


 
Attachments:

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

More
08 Apr 2023 12:46 #268605 by EW_CNC
Can you show what error your getting?

I have not been using the simulation since my setup uses imperial measurements instead of metric.

You will need to have the press.com file installed.
From a terminal you will need to install press.comp.
sudo halcompile --install press.comp

Make sure the press .comp file is in your home directory, or in the terminal, first CD to the directory the file is in before compiling it.

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

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