Forum Header

moving problem

More
7 years 2 months ago #141121 by PCW
Replied by PCW on topic moving problem
If you create the hal file with pncconf you can choose the polarity at that time

If you have a working hal file already, then yes, you will need to
add a '-not' to any 7I76 field I/O pin names used for limit/home switches

that is, change:
hm2_5i25.0.7i76.0.0.input-08 to
to:
hm2_5i25.0.7i76.0.0.input-08-not

(assuming your base FPGA card is a 5I25/6I25)

Please Log in to join the conversation.

More
7 years 2 months ago #141122 by RoberCNC
Replied by RoberCNC on topic moving problem
Yes my FPGA is an a 5i25, lets try wiring like the picture then. Thank you guys.

Please Log in to join the conversation.

More
7 years 2 months ago #141134 by RoberCNC
Replied by RoberCNC on topic moving problem
thank you very much guys, as you said and after adjusting the HAL file a little (I don't know why exactly it makes things bad for me ...) the operational limits are already there.

Now I would like to increase the movement speed, if I exceed maxvel = 12, the following join0 error is skipped. Is this my speed limit? I enclose INI file in case I am doing something wrong.

Attachment not found

Please Log in to join the conversation.

More
7 years 2 months ago #141135 by PCW
Replied by PCW on topic moving problem
I think this was done with a quite old version of pncconf
There will be errors in both the ini and hal files

In the INI file, replace the PID P values of 50 with 1000

Can you post your hal file, it will need work also

Please Log in to join the conversation.

More
7 years 2 months ago #141142 by RoberCNC
Replied by RoberCNC on topic moving problem
Sure, here you have

Please Log in to join the conversation.

More
7 years 2 months ago #141145 by PCW
Replied by PCW on topic moving problem
in the hal file, delete all lines like:

setp pid.N.maxerror .0005
and
net N-vel-cmd => pid.N.command-deriv

(where N is x,y,z,a etc)

Please Log in to join the conversation.

More
7 years 2 months ago #141149 by RoberCNC
Replied by RoberCNC on topic moving problem
Done.

what speeds could it reach, how do I determine them?

Following join error still remains

Please Log in to join the conversation.

More
7 years 2 months ago #141154 by PCW
Replied by PCW on topic moving problem
Speeds will be limited by your motor/drives

If you have step motors often the limitation is that you need to compromise speed
for acceleration since you lose so much torque at higher speeds
and you need enough margin that you never stall on rapids

Edit if you still have following errors, please post you current hal and ini files

Please Log in to join the conversation.

More
7 years 2 months ago #141169 by RoberCNC
Replied by RoberCNC on topic moving problem
I understand what you say PCW, I do not want frantic speeds either, I have no route for them hahaha, but if I would like something faster, especially when positioning machine, something about 20-30 would be fine I think. Indeed they are steppers, Nema23 of 425oz. Give me a few minutes and I put the files as I currently have them.

Following error still remain, specially in join 0.

Please Log in to join the conversation.

More
7 years 2 months ago #141178 by RoberCNC
Replied by RoberCNC on topic moving problem
There is no way to go from max_vel = 10 and now during machining I lose the Y axis, suddenly stop moving :(

Please Log in to join the conversation.

Time to create page: 0.142 seconds
Powered by Kunena Forum