Prise d'origine Machine

More
27 Jul 2022 10:34 #248404 by JackRay
Hello everyone,

I have the version 2.9 pre , and each time I turn on the machine I have to do my original plugs , while 
POSITION_FILE = position.txt & NO_FORCE_HOMING = 1 are valid in my .ini file.

Does anyone have the same PB & especially the solution 

Thanks

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

More
31 Jul 2022 12:00 - 31 Jul 2022 12:00 #248725 by andypugh
Replied by andypugh on topic Prise d'origine Machine
Try also setting HOME_SEARCH_VELOCITY = 0 for each joint too.
Last edit: 31 Jul 2022 12:00 by andypugh.
The following user(s) said Thank You: JackRay

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

More
07 Aug 2022 09:33 #249262 by JackRay
Replied by JackRay on topic Prise d'origine Machine
Hello ,

I come back holidays , and i tried HOME_SEARCH_VELOCITY = 0 on each axes but don't fonction .
for your information , i work with the 2.9 Version  xyzac-trt "TCP"

Thank you

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

More
07 Aug 2022 23:32 #249312 by andypugh
Replied by andypugh on topic Prise d'origine Machine
Are you trying to avoid having to press the "home" button?

I have my lathe set up with absolute encoders and have just got used to pressing the button (nothing moves, it just flags everything as homed)

You could try connecting the halui.home-all pin to joint.0.amp-enable-out

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

More
08 Aug 2022 08:01 #249329 by JackRay
Replied by JackRay on topic Prise d'origine Machine
Hello ,
No, I just want to avoid redoing my origins every time I reallume my machine. 
My positions are well recorded in the file position.txt 

POSITION_FILE= position.txt
NO_FORCE_HOMING = 1
&
HOME_SEARCH_VEL = 0 on all my axes .

Despite this, Linuxcnc does not start on the positions from where I stopped the machine. I can't have the control without redoing my origins.

Thanks



 

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

More
10 Aug 2022 12:41 #249448 by andypugh
Replied by andypugh on topic Prise d'origine Machine
I have tested on an Axis simulator, and it seems to work as I expect.

If you have position.txt defined then the machine position at power-on will be displayed the same as it was at power-off.

If you have [TRAJ]NO_FORCE_HOMING = 1 in the INI then you can start running G-code immediately without homing.

If you want to be able to home (though I am not sure why you would?) then you can experiment with adding HOME_ABSOLUTE_ENCODER = 2 to each [JOINT_N] section.

Is it possible that your NO_FORCE_HOMING = 1 is not in the correct section of the INI?

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

More
10 Aug 2022 16:38 #249455 by dgarrett
Replied by dgarrett on topic Prise d'origine Machine
> If you have [TRAJ]NO_FORCE_HOMING = 1 in the INI then you
> can start running G-code immediately without homing.

In all LinuxCNC branches to date, NO_FORCE_HOMING
applies to identity kinematics only.

>> NO_FORCE_HOMING = 1 - The default behavior is for LinuxCNC
>> to force the user to home the machine before any MDI command
>> or a program is run. Normally, only jogging is allowed
>> before homing. For configurations using identity kinematics,
>> setting NO_FORCE_HOMING = 1 allows the user to make MDI
>> moves and run programs without homing the machine first.
>> Interfaces using identity kinematics without homing ability
>> will need to have this option set to 1.

Ref: linuxcnc.org/docs/html/config/ini-config.html

>>> i work with the 2.9 Version xyzac-trt "TCP"
Ref: forum.linuxcnc.org/38-general-linuxcnc-q...igine-machine#249262

The xyzac-trt kinematics uses switchkins
Ref: github.com/LinuxCNC/linuxcnc/blob/master...xyzac-trt-kins.c#L17

which uses KINEMATICS_BOTH (not KINEMATICS_IDENTITY)
Ref: github.com/LinuxCNC/linuxcnc/blob/master...cs/switchkins.c#L226


Code Refs:
github.com/LinuxCNC/linuxcnc/blob/master...motion/motion.c#L167
github.com/LinuxCNC/linuxcnc/blob/master...otion/command.c#L581
The following user(s) said Thank You: JT

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

More
11 Aug 2022 16:07 #249533 by JackRay
Replied by JackRay on topic Prise d'origine Machine
Hello ,
This is my .ini File .

Thank you
Attachments:

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

Time to create page: 0.100 seconds
Powered by Kunena Forum