Brother TC-225 / TC-229 adventure!

More
20 Aug 2017 22:55 #97800 by andypugh
Its been a while since i did this, but I think you are close.

Some named parameters exist without the prolog code, look in the G-code parameters docs.

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

More
21 Aug 2017 04:00 #97805 by ihavenofish
Ok m6 tx working perfect. Adding on z motion now.
How do I move the z soft limit on the fly?

I can't find the reference I saw before. On my phone in front of the machine googling. Haha.

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

More
21 Aug 2017 16:07 #97824 by ihavenofish
while were on the swapping limits... swapping to servo spindle mode or the equivelant for orienting...

ive looked at the drawing, it makes sense I think, but how do I implement it?

Linuxcnc wont let me assign 2 axes to one output, so clearly that's not the way its done :P

thanks

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

More
22 Aug 2017 10:18 #97864 by andypugh
I can't find which module they are documented in either. But I imagine you would use these pins:
Component Pins:
Owner   Type  Dir         Value  Name
    65  float IN              0  ini.0.backlash
    65  float IN           0.05  ini.0.ferror
    65  float IN              0  ini.0.home
    65  float IN              0  ini.0.home_offset
    65  s32   IN              1  ini.0.home_sequence
    65  float IN             50  ini.0.max_acceleration
    65  float IN             40  ini.0.max_limit
    65  float IN              5  ini.0.max_velocity
    65  float IN           0.01  ini.0.min_ferror
    65  float IN            -40  ini.0.min_limit
    65  float IN              0  ini.1.backlash
    65  float IN           0.05  ini.1.ferror
    65  float IN              0  ini.1.home
    65  float IN              0  ini.1.home_offset
    65  s32   IN              1  ini.1.home_sequence
    65  float IN             50  ini.1.max_acceleration
    65  float IN             40  ini.1.max_limit
    65  float IN              5  ini.1.max_velocity
    65  float IN           0.01  ini.1.min_ferror
    65  float IN            -40  ini.1.min_limit
    65  float IN              0  ini.2.backlash
    65  float IN           0.05  ini.2.ferror
    65  float IN              0  ini.2.home
    65  float IN              1  ini.2.home_offset
    65  s32   IN              0  ini.2.home_sequence
    65  float IN             50  ini.2.max_acceleration
    65  float IN           0.12  ini.2.max_limit
    65  float IN              5  ini.2.max_velocity
    65  float IN           0.01  ini.2.min_ferror
    65  float IN             -8  ini.2.min_limit
    65  float IN              0  ini.a.max_acceleration
    65  float IN              0  ini.a.max_limit
    65  float IN              0  ini.a.max_velocity
    65  float IN              0  ini.a.min_limit
    65  float IN              0  ini.b.max_acceleration
    65  float IN              0  ini.b.max_limit
    65  float IN              0  ini.b.max_velocity
    65  float IN              0  ini.b.min_limit
    65  float IN              0  ini.c.max_acceleration
    65  float IN              0  ini.c.max_limit
    65  float IN              0  ini.c.max_velocity
    65  float IN              0  ini.c.min_limit
    65  bit   IN           TRUE  ini.traj_arc_blend_enable
    65  bit   IN          FALSE  ini.traj_arc_blend_fallback_enable
    65  float IN              4  ini.traj_arc_blend_gap_cycles
    65  s32   IN             50  ini.traj_arc_blend_optimization_depth
    65  float IN            100  ini.traj_arc_blend_ramp_freq
    65  float IN            0.1  ini.traj_arc_blend_tangent_kink_ratio
    65  float IN          1e+99  ini.traj_default_acceleration
    65  float IN              5  ini.traj_default_velocity
    65  float IN          1e+99  ini.traj_max_acceleration
    65  float IN              5  ini.traj_max_velocity
    65  float IN              0  ini.u.max_acceleration
    65  float IN              0  ini.u.max_limit
    65  float IN              0  ini.u.max_velocity
    65  float IN              0  ini.u.min_limit
    65  float IN              0  ini.v.max_acceleration
    65  float IN              0  ini.v.max_limit
    65  float IN              0  ini.v.max_velocity
    65  float IN              0  ini.v.min_limit
    65  float IN              0  ini.w.max_acceleration
    65  float IN              0  ini.w.max_limit
    65  float IN              0  ini.w.max_velocity
    65  float IN              0  ini.w.min_limit
    65  float IN             50  ini.x.max_acceleration
    65  float IN             40  ini.x.max_limit
    65  float IN              5  ini.x.max_velocity
    65  float IN            -40  ini.x.min_limit
    65  float IN             50  ini.y.max_acceleration
    65  float IN             40  ini.y.max_limit
    65  float IN              5  ini.y.max_velocity
    65  float IN            -40  ini.y.min_limit
    65  float IN             50  ini.z.max_acceleration
    65  float IN           0.12  ini.z.max_limit
    65  float IN              5  ini.z.max_velocity
    65  float IN             -8  ini.z.min_limit

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

More
22 Aug 2017 11:45 #97865 by ihavenofish
O_o

now I'm just more confused, haha.

so,
ini.2.max_limit would be our z axis upper soft limit which we could change on the fly from the toolchange subroutine?
ini.z.max_limit is also there. odd.

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

More
22 Aug 2017 12:04 #97867 by ihavenofish
while were at limits... when I home the machine, randomly, on any axis, it will occasionally give an f error. the machine is finding the switch, then the index. it always give the error when hitting the index.

any thoughts? at the speed its running, I cant see how it would be exceeding the f error, especially since it never does at any other speed.

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

More
22 Aug 2017 13:39 #97872 by PCW
is the per axis index_enable signal wired to the PID component?
If not this can cause a thump when index is detected

Also I've seen this when the thread order is wrong. Handling index detection is a bit tricky since the position
is zeroed when index _enable is true and the index is detected.

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

More
22 Aug 2017 14:30 #97876 by ihavenofish
all I did was check use index in pncconf wizard. ill have to check the hal/ini to see what its actually done. there definitely seems to be a thump though.

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

More
23 Aug 2017 00:27 #97900 by ihavenofish
Ok on the homing.

After setp stuff the next line is about using index.

Net x-index-enable <=> pid.x.index-enable

Should this move?

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

More
23 Aug 2017 00:30 #97901 by ihavenofish
Now how am I dealing with the z limit. I don't see the pins andy wrote in there already. Where would I ad it and how do I use it? Thanks.

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

Moderators: cncbasher
Time to create page: 0.158 seconds
Powered by Kunena Forum