Version 2.8 Dual Motors XYZX
- shipmodeller
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 47
- Thank you received: 3
17 Apr 2018 15:51 #109202
by shipmodeller
Version 2.8 Dual Motors XYZX was created by shipmodeller
I have been running 2.7.12 for a while and installed another motor, Pseudo Servo for the Xaxis. I have struggled to understand how to add this into the system, and via articles by kunema, had opted to go to version 2.8. It took a few configs, but I think I have 2.8 running. It jogs Joint 0,1 and 2. However, if you notice, my KINEMATICS is set to XYZX. I had set up Joint 3 to be my X2, and it looks right. However, Joint 3 won't move. ( Pressing the +,- button moves the DRO value, but no motor movements. )
So, Is XYZX valid? Can the program detect that these axis are moveable? Any suggestions?
So, Is XYZX valid? Can the program detect that these axis are moveable? Any suggestions?
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5007
- Thank you received: 1441
17 Apr 2018 16:37 #109208
by Todd Zuercher
Replied by Todd Zuercher on topic Version 2.8 Dual Motors XYZX
I think the following changes in your ini file.
[KINS]
JOINTS = 4
KINEMATICS = trivkins coordinates=xyzx
#kinstype=BOTH
#you don't want kinstype both, unless you want to be able to go into joint mode and jog the two X motors separately
[AXIS_X]
MIN_LIMIT = -39.0
MAX_LIMIT = 39.0
MAX_VELOCITY = 5.70006931284
MAX_ACCELERATION = 5.0
[JOINT_0]
TYPE = LINEAR
HOME = 0.0
MAX_VELOCITY = 5.70006931284
MAX_ACCELERATION = 5.0
STEPGEN_MAXACCEL = 6.25
SCALE = 4064.0
FERROR = 0.05
MIN_FERROR = 0.01
MIN_LIMIT = -39.0
MAX_LIMIT = 39.0
HOME_OFFSET = 0.000000
HOME_SEARCH_VEL = 0.050000
HOME_LATCH_VEL = 0.050000
HOME_SEQUENCE = -1
[JOINT_3]
TYPE = LINEAR
HOME = 0.0
MAX_VELOCITY = 5.70006931284
MAX_ACCELERATION = 5.0
STEPGEN_MAXACCEL = 6.25
SCALE = 4064.0
FERROR = 0.05
MIN_FERROR = 0.01
MIN_LIMIT = -39.0
MAX_LIMIT = 39.0
HOME_OFFSET = 0.000000
HOME_SEARCH_VEL = 0.050000
HOME_LATCH_VEL = 0.050000
HOME_SEQUENCE = -1
[KINS]
JOINTS = 4
KINEMATICS = trivkins coordinates=xyzx
#kinstype=BOTH
#you don't want kinstype both, unless you want to be able to go into joint mode and jog the two X motors separately
[AXIS_X]
MIN_LIMIT = -39.0
MAX_LIMIT = 39.0
MAX_VELOCITY = 5.70006931284
MAX_ACCELERATION = 5.0
[JOINT_0]
TYPE = LINEAR
HOME = 0.0
MAX_VELOCITY = 5.70006931284
MAX_ACCELERATION = 5.0
STEPGEN_MAXACCEL = 6.25
SCALE = 4064.0
FERROR = 0.05
MIN_FERROR = 0.01
MIN_LIMIT = -39.0
MAX_LIMIT = 39.0
HOME_OFFSET = 0.000000
HOME_SEARCH_VEL = 0.050000
HOME_LATCH_VEL = 0.050000
HOME_SEQUENCE = -1
[JOINT_3]
TYPE = LINEAR
HOME = 0.0
MAX_VELOCITY = 5.70006931284
MAX_ACCELERATION = 5.0
STEPGEN_MAXACCEL = 6.25
SCALE = 4064.0
FERROR = 0.05
MIN_FERROR = 0.01
MIN_LIMIT = -39.0
MAX_LIMIT = 39.0
HOME_OFFSET = 0.000000
HOME_SEARCH_VEL = 0.050000
HOME_LATCH_VEL = 0.050000
HOME_SEQUENCE = -1
Please Log in or Create an account to join the conversation.
- shipmodeller
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 47
- Thank you received: 3
17 Apr 2018 18:13 #109213
by shipmodeller
Replied by shipmodeller on topic Version 2.8 Dual Motors XYZX
Still working the home issues out, but thanks for the clarification. Found that I had an "intermittent" connection on the X2 STEP signal in my controller, once I put an oscilloscope lead on it, I got movement. Rectified that quickly. Now dealing with the home issues, but your hints may take care of that. Thanks.
Please Log in or Create an account to join the conversation.
17 Apr 2018 18:18 #109214
by dgarrett
Incorrect for the master branch when using appropriate *negative* HOME_SEQUENCEs:
Ref:
linuxcnc.org/docs/master/html/config/ini....html#_home_sequence
Ref (Aug 2017):
github.com/LinuxCNC/linuxcnc/commit/a46e735538
Note: For some configurations that use negative HOME_SEQUENCEs but
require joint jogging for special situations, see:
linuxcnc.org/docs/master/html/config/ini...l#_inhibiting_homing
Replied by dgarrett on topic Version 2.8 Dual Motors XYZX
#you don't want kinstype both, unless you want to be able to go into
joint mode and jog the two X motors separately
Incorrect for the master branch when using appropriate *negative* HOME_SEQUENCEs:
Joint mode jogging of joints having a negative HOME_SEQUENCE is disallowed. In
common gantry applications, such jogging can lead to misalignment (racking).
Note that conventional jogging in world coordinates is always available once a
machine is homed.
Ref:
linuxcnc.org/docs/master/html/config/ini....html#_home_sequence
Ref (Aug 2017):
github.com/LinuxCNC/linuxcnc/commit/a46e735538
Note: For some configurations that use negative HOME_SEQUENCEs but
require joint jogging for special situations, see:
linuxcnc.org/docs/master/html/config/ini...l#_inhibiting_homing
Please Log in or Create an account to join the conversation.
Time to create page: 0.298 seconds