Please Help with Error...

More
15 May 2016 23:17 #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
Attachments:

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

More
15 May 2016 23:23 #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 or Create an account to join the conversation.

More
16 May 2016 00:04 - 16 May 2016 06:22 #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.
Last edit: 16 May 2016 06:22 by mjohnsonsa.

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

More
16 May 2016 02:40 - 16 May 2016 02:40 #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)
Last edit: 16 May 2016 02:40 by PCW.

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

More
16 May 2016 02:44 #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 or Create an account to join the conversation.

More
16 May 2016 02:49 #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 or Create an account to join the conversation.

More
18 May 2016 19:41 #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 or Create an account to join the conversation.

Time to create page: 0.104 seconds
Powered by Kunena Forum