Prise d'origine Machine

More
4 years 3 months ago #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 to join the conversation.

More
4 years 3 months ago #248725 by andypugh
Replied by andypugh on topic Prise d'origine Machine
Try also setting HOME_SEARCH_VELOCITY = 0 for each joint too.

Please Log in to join the conversation.

More
4 years 2 months ago #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 to join the conversation.

More
4 years 2 months ago #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 to join the conversation.

More
4 years 2 months ago #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 to join the conversation.

More
4 years 2 months ago #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 to join the conversation.

More
4 years 2 months ago #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

Please Log in to join the conversation.

More
4 years 2 months ago #249533 by JackRay
Replied by JackRay on topic Prise d'origine Machine
Hello ,
This is my .ini File .

Thank you

Please Log in to join the conversation.

Time to create page: 0.089 seconds
Powered by Kunena Forum