Forum Header

Need help to install 5 axis knematics

  • REX299
  • Topic Author
  • New Member
  • New Member
More
5 years 3 months ago #214848 by REX299
Replied by REX299 on topic Need help to install 5 axis knematics
Yes i ran but knematics is not woking (u can see attached file) .

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

More
5 years 3 months ago #214851 by Aciera
Yes that is correct because you are lacking the remaps in your config folder.

1) In your machine config folder create a folder named
Code:
remap_subs
2) Navigate to
Code:
/home/user/linuxcnc/configs/sim/axis/vismach/5axis/table-rotary-tilting/remap_subs
and copy the two files named '428remap.ngc' and '429remap.ngc' to the folder you created in step 1
3) in your machine config folder open the ini file and add this to the [RS274NGC] -section
Code:
SUBROUTINE_PATH = ./remap_subs HAL_PIN_VARS = 1 REMAP = M428 modalgroup=10 ngc=428remap REMAP = M429 modalgroup=10 ngc=429remap
The following user(s) said Thank You: REX299

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

  • REX299
  • Topic Author
  • New Member
  • New Member
More
5 years 3 months ago #214866 by REX299
Replied by REX299 on topic Need help to install 5 axis knematics
Yeah it work! That my fault, and new problem is coordinate number show it runing but virtual tool on screen not move when I do jogging axis.

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

More
5 years 3 months ago #214867 by Aciera
Can you attach your hal and ini files?

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

  • REX299
  • Topic Author
  • New Member
  • New Member
More
5 years 3 months ago #214870 by REX299
Replied by REX299 on topic Need help to install 5 axis knematics
0k I solve problem by put "HOME_SEQUENCE" into .ini file. Can you guide me what file do i need to put axis offset value for run TCP correctly ?
I check out the ini file in sim/vismach and found these code:

# net for control of motion.switchkins-type
HALCMD = net :kinstype-select <= motion.analog-out-03 => motion.switchkins-type

# vismach xyzac-trt-gui items
HALCMD = loadusr -W xyzac-trt-gui
HALCMD = net :table-x joint.0.pos-fb xyzac-trt-gui.table-x
HALCMD = net :saddle-y joint.1.pos-fb xyzac-trt-gui.saddle-y
HALCMD = net :spindle-z joint.2.pos-fb xyzac-trt-gui.spindle-z
HALCMD = net :tilt-a joint.3.pos-fb xyzac-trt-gui.tilt-a
HALCMD = net :rotate-c joint.4.pos-fb xyzac-trt-gui.rotate-c
HALCMD = net :tool-offset motion.tooloffset.z
HALCMD = net :tool-offset xyzac-trt-kins.tool-offset xyzac-trt-gui.tool-offset
HALCMD = net :y-offset xyzac-trt-kins.y-offset xyzac-trt-gui.y-offset
HALCMD = net :z-offset xyzac-trt-kins.z-offset xyzac-trt-gui.z-offset
HALCMD = sets :y-offset 20
HALCMD = sets :z-offset 10

So I need to copy these code to my config machine and edit the value in this code?

HALCMD = sets :y-offset 20
HALCMD = sets :z-offset 10

Here is my hal and ini file

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

More
5 years 3 months ago - 5 years 3 months ago #214872 by Aciera
Note that I have little experience with the 5axis TCP functionality, so I might not be the right person to answer this.
I would think that from that list the relevant pins for your hal would be :
xyzac-trt-kins.y-offset
xyzac-trt-kins.z-offset
xyzac-trt-kins.tool-offset (which you would probably want to connect to motion.tooloffset.z)

This might give you more information: (from xyzac-trt.txt)
Code:
xyzac-trt-kins (switchkins) . . . Hal Input pins:   xyzac-trt-kins.x-offset   xyzac-trt-kins.z-offset X and Z offsets are the offsets from the center of rotation of the C axis relative to the center of rotation of the A axis. Hal Input pins:   xyzac-trt-kins.x-rot-point   xyzac-trt-kins.y-rot-point   xyzac-trt-kins.z-rot-point X, Y and Z rot-point pins represent are the offsets of the center of rotation of the A axis relative to the machine absolute zero coordinates.

[edit]
I think in the text above it should probably say:

xyzac-trt-kins.y-offset
xyzac-trt-kins.z-offset

Y and Z offsets are the offsets from the center
of rotation of the A axis relative to the center
of rotation of the C axis.  

As is doesn't seem to make much sense to have an x-offset when using an AC rotary setup.

see also section 5.2 here: linuxcnc.org/docs/2.8/html/motion/5-axis-kinematics.html
Last edit: 5 years 3 months ago by Aciera. Reason: I think it should be A axis relative to C axis and not the other way around

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

Time to create page: 0.079 seconds
Powered by Kunena Forum