load G code A axis is automatically reset to zero

If you have a question about the software please ask it here.

load G code A axis is automatically reset to zero

Postby DmitryS » Tue Oct 18, 2016 12:40 pm

Good afternoon. I have such a problem. Connected home sensors. And now when after tripping sensors if the load G code A axis is automatically reset to zero. For example axis A is rotated 180 degrees, load the G code and A axis is zeroed though physically she is in position 180. If before starting the machine does not send what it can be? I use UC400ETH ethernet motion controller
DmitryS
 
Posts: 8
Joined: Tue Oct 18, 2016 11:54 am

Re: load G code A axis is automatically reset to zero

Postby cncdrive » Tue Oct 18, 2016 4:45 pm

Please post your profile file here in the forum.
It is the .pro file in the UCCNC/Profiles folder.
cncdrive
Site Admin
 
Posts: 4741
Joined: Tue Aug 12, 2014 11:17 pm

Re: load G code A axis is automatically reset to zero

Postby DmitryS » Tue Oct 18, 2016 5:40 pm

attached file
Attachments
Default.pro
(21.97 KiB) Downloaded 844 times
DmitryS
 
Posts: 8
Joined: Tue Oct 18, 2016 11:54 am

Re: load G code A axis is automatically reset to zero

Postby DmitryS » Tue Oct 18, 2016 5:44 pm

Until such time as the House has decided to connect sensors such problems did not arise. I was very pleased with the system that has proved to be better than MACH3 with Smoothstepper
DmitryS
 
Posts: 8
Joined: Tue Oct 18, 2016 11:54 am

Re: load G code A axis is automatically reset to zero

Postby cncdrive » Wed Oct 19, 2016 7:17 am

Hi Dmitry,

Thank you for the profile file.
I could reproduce the issue here, so there is something really happenening after you home the axis and then when you load the g-code.
The g-code load passing only one function call to the motion controller is a dummy null size move with the 0 motion ID which rewinds the g-code file, so this command together with the previous homeing causes the issue to the A-axis.
We will look into this deeper now and will correct this issue asap.
cncdrive
Site Admin
 
Posts: 4741
Joined: Tue Aug 12, 2014 11:17 pm

Re: load G code A axis is automatically reset to zero

Postby DmitryS » Wed Oct 19, 2016 7:25 am

When fix the problem, please let me know. I plan to release a mini milling machines and prefer to use your system.
DmitryS
 
Posts: 8
Joined: Tue Oct 18, 2016 11:54 am

Re: load G code A axis is automatically reset to zero

Postby cncdrive » Wed Oct 19, 2016 8:29 am

We found the cause for the problem.
I was incorrect with my first idea about the problem, because this is not a bug, but you have the 3D printer plugin enabled in the Plugins configuration and that Zeros the A-axis on file load.
The 3D printer plugin zeros the A-axis on purpose, because the A-axis should be the filament feed axis,
so when the axes are already homed then the plugin starts working and then when you load a file the plugin zeros the A-axis.
So, this is not a bug, but this is how it works.
If your machine is not a 3D printer then disable the 3D printer plugin.
Or if it is a 3D printer or if you need the 3D printer plugin to run for some reason then use the A-axis for filament feed and then if it zeros on fileload is OK, it should be like that,
and if you need a plus axis for other motions then use B or C.
cncdrive
Site Admin
 
Posts: 4741
Joined: Tue Aug 12, 2014 11:17 pm

Re: load G code A axis is automatically reset to zero

Postby DmitryS » Wed Oct 19, 2016 9:37 am

I turned off the plug-in and everything was functional. Thank you
DmitryS
 
Posts: 8
Joined: Tue Oct 18, 2016 11:54 am

Re: load G code A axis is automatically reset to zero

Postby cncdrive » Wed Oct 19, 2016 10:38 am

DmitryS wrote:I turned off the plug-in and everything was functional. Thank you


Good to hear that it resolved the issue. :)
cncdrive
Site Admin
 
Posts: 4741
Joined: Tue Aug 12, 2014 11:17 pm


Return to Ask a question from support here

Who is online

Users browsing this forum: No registered users and 6 guests