looking for help on basic (sim-)setup
27 Feb 2017 14:36 #88666
by Reinhard
looking for help on basic (sim-)setup was created by Reinhard
Hello,
I want to work with hal and therefor I'm looking for a simple way to process gcode-files without bothering with limit- or home-switches, homing and whatever might popup errors before gcode-processing.
I created axis- and joint-definitions with pretty big positive and negative limits - to not touch them.
Additionally I used NO_FORCE_HOMING=1 and HOME_IGNORE_LIMITS=yes
... but linuxcnc stil pops up errors like "need to home axis before switching to mdi" and the like.
How can I setup a fake-linuxcnc that just processes gcode-files through motion and trajectory planner, so that I can use the motion-pins in hal?
I want to work with hal and therefor I'm looking for a simple way to process gcode-files without bothering with limit- or home-switches, homing and whatever might popup errors before gcode-processing.
I created axis- and joint-definitions with pretty big positive and negative limits - to not touch them.
Additionally I used NO_FORCE_HOMING=1 and HOME_IGNORE_LIMITS=yes
... but linuxcnc stil pops up errors like "need to home axis before switching to mdi" and the like.
How can I setup a fake-linuxcnc that just processes gcode-files through motion and trajectory planner, so that I can use the motion-pins in hal?
Please Log in or Create an account to join the conversation.
- Todd Zuercher
-
- Away
- Platinum Member
-
Less
More
- Posts: 4978
- Thank you received: 1377
27 Feb 2017 15:15 - 27 Feb 2017 15:25 #88670
by Todd Zuercher
Replied by Todd Zuercher on topic looking for help on basic (sim-)setup
In you ini for the axis in question you need to follow the settings here.
linuxcnc.org/docs/html/config/ini-homing.html#_immediate_homing
Where did you place the NO_FORCE_HOMING=1 in your ini file? It would need to be under the [TRAJ] section.
linuxcnc.org/docs/html/config/ini-homing.html#_immediate_homing
Where did you place the NO_FORCE_HOMING=1 in your ini file? It would need to be under the [TRAJ] section.
Last edit: 27 Feb 2017 15:25 by Todd Zuercher.
Please Log in or Create an account to join the conversation.
27 Feb 2017 15:32 #88673
by Reinhard
Replied by Reinhard on topic looking for help on basic (sim-)setup
yes, NO_FORCE_HOMING is in TRAJ section.
following the recommendations from link did not change anything.
Stil get the errors
following the recommendations from link did not change anything.
Stil get the errors
all joints must be homed before going into teleop mode
all joints must be homed before going into coordinated mode
Please Log in or Create an account to join the conversation.
- Todd Zuercher
-
- Away
- Platinum Member
-
Less
More
- Posts: 4978
- Thank you received: 1377
27 Feb 2017 18:07 #88689
by Todd Zuercher
Replied by Todd Zuercher on topic looking for help on basic (sim-)setup
What version of Linuxcnc are you trying to use?
Please Log in or Create an account to join the conversation.
28 Feb 2017 05:10 #88716
by Reinhard
Replied by Reinhard on topic looking for help on basic (sim-)setup
master build as uspace only (no rt-kernel).
To understand hal I don't care about jitter of servo-thread ...
To understand hal I don't care about jitter of servo-thread ...
Please Log in or Create an account to join the conversation.
- Todd Zuercher
-
- Away
- Platinum Member
-
Less
More
- Posts: 4978
- Thank you received: 1377
28 Feb 2017 06:15 - 28 Feb 2017 06:16 #88717
by Todd Zuercher
Replied by Todd Zuercher on topic looking for help on basic (sim-)setup
Would you mind posting the ini file you are trying to use.
I believe in Master the homing info in the link I posted needs to be set in the [JOINT_N] section(s) rather than the [AXIS_N] as in the previous versions of Linuxcnc, and it looks like the docs have not been updated to reflect those changes yet.
I believe in Master the homing info in the link I posted needs to be set in the [JOINT_N] section(s) rather than the [AXIS_N] as in the previous versions of Linuxcnc, and it looks like the docs have not been updated to reflect those changes yet.
Last edit: 28 Feb 2017 06:16 by Todd Zuercher.
Please Log in or Create an account to join the conversation.
28 Feb 2017 06:33 #88718
by Reinhard
Replied by Reinhard on topic looking for help on basic (sim-)setup
No, I don't mind ![:) :)](/media/kunena/emoticons/smile.png)
I started with a copy of sim.axis/gantry_mm and for so, the tags where already placed at joints.
After your hint, I just copied the tags to the axis sections too, without removing them from the joints.
axis-UI has different sliders for feed-override and fast-move-override.
I found one feed-override input on motion only. So how should I wire the signals for correct usage?
![:) :)](/media/kunena/emoticons/smile.png)
I started with a copy of sim.axis/gantry_mm and for so, the tags where already placed at joints.
After your hint, I just copied the tags to the axis sections too, without removing them from the joints.
axis-UI has different sliders for feed-override and fast-move-override.
I found one feed-override input on motion only. So how should I wire the signals for correct usage?
Please Log in or Create an account to join the conversation.
28 Feb 2017 07:17 #88720
by Reinhard
Replied by Reinhard on topic looking for help on basic (sim-)setup
Ok, I changed to gmoccapy and the homing macro seems to work.
The cursor behaviour is a little bit confusing, but after all, it works.![:) :)](/media/kunena/emoticons/smile.png)
Thank you.
The cursor behaviour is a little bit confusing, but after all, it works.
![:) :)](/media/kunena/emoticons/smile.png)
Thank you.
Please Log in or Create an account to join the conversation.
Time to create page: 0.127 seconds