Please Help with Error...

More
10 years 5 months ago #74700 by mjohnsonsa
I am trying to use the Gantry Component with the Parallel Port but am having the following error whenever trying to start up LinuxCNC:

HAL: ERROR: function 'gantry.0.read' need FP
addf failed

My .ini and .hal file are attached, I am trying to get this done ASAP so if you can help give guidance I would really appreciate it. I have been trying to piece together a working solution for 3 days now and am getting discouraged...

Matt

Please Log in to join the conversation.

More
10 years 5 months ago #74701 by PCW
Replied by PCW on topic Please Help with Error...
The gantry component functions need to be added to the servo thread, not the base thread

Please Log in to join the conversation.

More
10 years 5 months ago #74705 by mjohnsonsa
Thank you, can I add just the gantry component to the servo thread while leaving the parport and stepgen in the base-thread or will that cause some kind of synchronization problem? The reason I ask is because I know the base-thread is the preferred thread since it is faster.

Please Log in to join the conversation.

More
10 years 5 months ago #74712 by PCW
Replied by PCW on topic Please Help with Error...
The gantry component will only run in the servo thread
(and there is no advantage to running it in the base thread)

Please Log in to join the conversation.

More
10 years 5 months ago #74714 by mjohnsonsa
My question was supposed to read if I can move just the Gantry Component to the Servo thread and leave the others in the base thread?

Please Log in to join the conversation.

More
10 years 5 months ago #74715 by PCW
Replied by PCW on topic Please Help with Error...
Yes

The gantry comp needs floating point so cannot run in the base thread (where floating point is not supported)

Please Log in to join the conversation.

More
10 years 5 months ago #74823 by BigJohnT
Replied by BigJohnT on topic Please Help with Error...
I would use the JA14 branch for a gantry, it is now gantry friendly.

JT

Please Log in to join the conversation.

Time to create page: 0.080 seconds
Powered by Kunena Forum