TCP - Tool Center Point

More
10 Jan 2024 08:42 #290338 by Duatepe
Replied by Duatepe on topic TCP - Tool Center Point
Actually this comes from sim file belongs default example I didnt touch it.

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

  • Aciera
  • Aciera's Avatar
  • Away
  • Administrator
  • Administrator
More
10 Jan 2024 08:45 - 10 Jan 2024 08:47 #290339 by Aciera
Replied by Aciera on topic TCP - Tool Center Point
As for the NKCNC5_arge.ini:

If your machine has XYZAC kinematics then you would need to change all the B-axis references to ' C' :

change:
COORDINATES = XYZAB
to
COORDINATES = XYZAC

and change:
[AXIS_B]

to

[AXIS_C]


Then it seems you are missing the kinematic section:[KINS]

KINEMATICS = xyzac-trt-kins
JOINTS = 5


For the kinematic and  the graphical machine simulation you need these in your hal section:
HALCMD = loadusr -W xyzbc-trt-gui
HALCMD = net  :table-x      joint.0.pos-fb             xyzbc-trt-gui.table-x
HALCMD = net  :saddle-y     joint.1.pos-fb             xyzbc-trt-gui.saddle-y
HALCMD = net  :spindle-z    joint.2.pos-fb             xyzbc-trt-gui.spindle-z
HALCMD = net  :tilt-b       joint.3.pos-fb             xyzbc-trt-gui.tilt-b
HALCMD = net  :rotate-c     joint.4.pos-fb             xyzbc-trt-gui.rotate-c
HALCMD = net  :tool-offset  motion.tooloffset.z
HALCMD = net  :tool-offset  xyzbc-trt-kins.tool-offset xyzbc-trt-gui.tool-offset
HALCMD = net  :x-offset     xyzbc-trt-kins.x-offset    xyzbc-trt-gui.x-offset
HALCMD = net  :z-offset     xyzbc-trt-kins.z-offset    xyzbc-trt-gui.z-offset
HALCMD = sets :x-offset     -20
HALCMD = sets :z-offset     -15

If you do no want to use the graphical simulation the you need at leas this from the above:
HALCMD = net  :tool-offset  motion.tooloffset.z
HALCMD = net  :tool-offset  xyzbc-trt-kins.tool-offset
HALCMD = net  :x-offset     xyzbc-trt-kins.x-offset   
HALCMD = net  :z-offset     xyzbc-trt-kins.z-offset 
HALCMD = sets :x-offset     -20
HALCMD = sets :z-offset     -15

 
Last edit: 10 Jan 2024 08:47 by Aciera.

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

More
10 Jan 2024 08:48 #290340 by Duatepe
Replied by Duatepe on topic TCP - Tool Center Point
Yes I am trying to manipulate it step by step also I changed the axis but something wrong which I dont know the best one probably to discuss the machine with team mates. Probably it is not good way to handle it in forum. If I can solve it I will share. Now still I am in progress to understand basics

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

  • Aciera
  • Aciera's Avatar
  • Away
  • Administrator
  • Administrator
More
10 Jan 2024 08:55 #290342 by Aciera
Replied by Aciera on topic TCP - Tool Center Point
You may have missed my last post.

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

More
10 Jan 2024 09:55 #290344 by Duatepe
Replied by Duatepe on topic TCP - Tool Center Point
Now I make some changes on file.
linuxcnc told me about wrong SUBROUTINE_PATH and I changed it by "SUBROUTINE_PATH = ./examples" according to simulation file.
Now I got error when program start to run --> "waiting for s.joints<0>, s.kinematics_type<0> " several times and program shutdown. So I dont know the error to interfere.
Also maybe I should give more details about machine which normally this CNC used NKCNC5_arge.ini
Machine has 3 axises in use, also has 2 axises to perform 5 axis but this motors just stay there in not use which purpose is observing.
I attached the last file.
Attachments:

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

More
10 Jan 2024 10:48 #290346 by Duatepe
Replied by Duatepe on topic TCP - Tool Center Point
I made the command line below and program opened
REMAP=M6 modalgroup=6 prolog=change_prolog ngc=toolchange epilog=change_epilog
REMAP=M10 modalgroup=6 ngc=m10
REMAP=M11 modalgroup=6 ngc=m11
REMAP=M12 modalgroup=6 ngc=m12
REMAP=M13 modalgroup=6 ngc=m13
REMAP=M14 modalgroup=6 ngc=m14
REMAP=M15 modalgroup=6 ngc=m15
REMAP=M16 modalgroup=6 ngc=m16
REMAP=M17 modalgroup=6 ngc=m17
REMAP=M18 modalgroup=6 ngc=m18

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

More
15 Jan 2024 10:51 #290751 by Duatepe
Replied by Duatepe on topic TCP - Tool Center Point
Hi Aciera
I am trying to move the coordinate axises towards the workpiece position. I mean I make move the workpiece in machine border with Touch Off in red-line in application but coordinate axises still stop on 0,0,0 position actually I want them to move with workpiece which I can start the machine, then I am getting error with borders.

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

Time to create page: 0.057 seconds
Powered by Kunena Forum