[DONE]Testers needed for integration of switchable kinematics

More
18 Dec 2021 14:51 #229402 by Aciera
Not quite sure if this is related but there has been a bug fix recently in the switchkins feature. (see post above yours)
So you might want to make sure you are running current master version if you haven't done so already.

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

More
20 Dec 2021 01:07 #229531 by nhanpham

G0.2
???
 

i created new Gcode Remap to test execute in JOINT Mode.
Because in The remap can't work with Z change position.

self.execute("G01 Z100 F50) this code don't move Z axis

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

More
20 Dec 2021 01:10 - 20 Dec 2021 01:49 #229532 by nhanpham

Not quite sure if this is related but there has been a bug fix recently in the switchkins feature. (see post above yours)
So you might want to make sure you are running current master version if you haven't done so already.
 

Yes, I built RUN IN PLace mode in the master brand, it doesn't help me
Last edit: 20 Dec 2021 01:49 by nhanpham.

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

More
20 Dec 2021 01:13 #229533 by tommylight
I was wondering why 0.2 ?
G02 is OK
G0.2 i would not think is OK.
That is in the gcode on your post.
Also G02 is used for radii, same as G03.

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

More
20 Dec 2021 01:41 #229534 by nhanpham

I was wondering why 0.2 ?
G02 is OK
G0.2 i would not think is OK.
That is in the gcode on your post.
Also G02 is used for radii, same as G03.
 

I want to create a new gcode.
The gcode work OK if X,Y axis position have change

G21
G0.2 X34.7745 Y-77.1625 Z3.8100 C-0.0020 F300.0    ->Work OK
G0.2  X54.7745 Y-77.1625 Z1.5400 C-0.0020 F300.0  -->OK
G0.2  X54.7745 Y-77.1625 Z5.5400 C-0.0020 F300.0  -> don't work because X,Y axis pos don't change
G0.2 X34.7745 Y-77.1625 Z-2.00 C-0.0020 F300.0  -> ok
G0.2  X34.7745 Y-77.1625 Z3.400 C-0.0020 F300.0  -> don't work

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

More
20 Dec 2021 07:02 - 20 Dec 2021 09:40 #229544 by nhanpham
Last edit: 20 Dec 2021 09:40 by nhanpham.

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

More
20 Dec 2021 10:38 #229549 by Aciera
@tommylight
I've used similar remaps and I don't recall having issues with the period in the G number.
forum.linuxcnc.org/media/kunena/attachme...-coordinate-move.png

@annhandt09
What happens if you use the result of your remap code directly?
 G53 g1 X34.7745Y-77.1625Z1.5400 C -0.0020 F300.0
G53 g1 X34.7745Y-77.1625Z5.5400 C -0.0020 F300.0
G53 g1 X34.7745Y-77.1625Z-2.0000 C -0.0020 F300.0
G53 g1 X34.7745Y-77.1625Z3.4000 C -0.0020 F300.0
G53 g1 X34.7745Y-77.1625Z0.0000 C -0.0020 F300.0
The following user(s) said Thank You: tommylight, anfänger, nhanpham

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

More
20 Dec 2021 13:16 #229555 by tommylight

@tommylight
I've used similar remaps and I don't recall having issues with the period in the G number.
forum.linuxcnc.org/media/kunena/attachme...-coordinate-move.png

I was not aware of that, thank you.

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

More
21 Dec 2021 02:22 - 21 Dec 2021 02:29 #229598 by nhanpham
hi,

@Aciera 

My gcode file works OK in MDI mode.
In AUTO mode, it's working ok in WORLD (M439) mode. But with the joint model (M438) , the z-axis don't move

I tried to remove yield INTERP_EXECUTE_FINISH in python remap. And it helped me move the z-axis in joint mode.
but I don't know why the remap code doesn't work in joint mode.

      gcodecmd="G53 %s X%f Y%f Z %f C %f %s "%(typeGcode, anglepos[0] ,anglepos[1] ,anglepos[2] ,anglepos[3], cmd["f"])
      self.execute(gcodecmd )
      #yield INTERP_EXECUTE_FINISH

 

:)

thank you for your helping




 

Last edit: 21 Dec 2021 02:29 by nhanpham.

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

More
21 Dec 2021 16:42 #229631 by Aciera
 G53 g1 X34.7745Y-77.1625Z1.5400 C -0.0020 F300.0
G53 g1 X34.7745Y-77.1625Z5.5400 C -0.0020 F300.0
G53 g1 X34.7745Y-77.1625Z-2.0000 C -0.0020 F300.0
G53 g1 X34.7745Y-77.1625Z3.4000 C -0.0020 F300.0
G53 g1 X34.7745Y-77.1625Z0.0000 C -0.0020 F300.0
Just to be clear.
The the above code (ie without remap) works in MDI for WORLD and for JOINT mode and also works if you copy it into a ngc file if used in WORLD mode but does not work if the program runs in JOINT mode?

Or does the above work in MDI and AUTO in WORLD and JOINT mode? Then the problem would need to be in the remap code.

 

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

Time to create page: 0.136 seconds
Powered by Kunena Forum