I need help
27 May 2024 21:12 #301617
by stustev
Replied by stustev on topic I need help
Would you mind telling us where you are?
A visit by someone close to you would speed things along.
I am in Wichita, Kansas - If you are close.
A visit by someone close to you would speed things along.
I am in Wichita, Kansas - If you are close.
Please Log in or Create an account to join the conversation.
31 May 2024 15:03 #301960
by Irritant
Replied by Irritant on topic I need help
Here is a link to my CNC controller. www.probotix.com/UNITY
Please Log in or Create an account to join the conversation.
31 May 2024 15:36 #301961
by Aciera
Replied by Aciera on topic I need help
use the 'StepConf' to setup your config and assign the pins according to this pinout:
www.probotix.com/wiki/index.php/Unity_Controller#Breakout_Board:
More information on the StepConf tool:
linuxcnc.org/docs/html/config/stepconf.html
As for setting up the motors, steppers usually have 200 steps per rev. According to the web page, your motor drives seem to be preset to 4x microstepping so 1 motor revolution would need 800 steps in addition to that you'll need to figure out the pitch of your lead screws to calculate the required number of steps to move the axis 1 machine unit (presumably 1 inch in your case.)
www.probotix.com/wiki/index.php/Unity_Controller#Breakout_Board:
More information on the StepConf tool:
linuxcnc.org/docs/html/config/stepconf.html
As for setting up the motors, steppers usually have 200 steps per rev. According to the web page, your motor drives seem to be preset to 4x microstepping so 1 motor revolution would need 800 steps in addition to that you'll need to figure out the pitch of your lead screws to calculate the required number of steps to move the axis 1 machine unit (presumably 1 inch in your case.)
Attachments:
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
31 May 2024 16:15 #301969
by Aciera
Replied by Aciera on topic I need help
I found a configurator script for Linuxcnc 2.6 here:
www.probotix.com/wiki/index.php/PROBOTIX...inuxCNC_Configurator
Note that this will not work for Linuxcnc 2.8 or above but the script attached below will give an idea of the settings needed for what you have.
For example the MondoStep drivers.
search the file above for 'mondostep' and you will find this:
which tells you that for x and y the scale should be 1600 steps per inch and for the z axis it's 800*TPI of the z leadscrew.
As for that you can then search for 'ztpi' and you will find this section from which you will glean more information about the max velocity:
As for XY limits there is this section:
Could be quite useful.
www.probotix.com/wiki/index.php/PROBOTIX...inuxCNC_Configurator
Note that this will not work for Linuxcnc 2.8 or above but the script attached below will give an idea of the settings needed for what you have.
For example the MondoStep drivers.
search the file above for 'mondostep' and you will find this:
XYSCALE=$(expr "scale=4; 4*200*2/$I" | bc -l)
ZSCALE=$(expr "scale=4; 4*200*$ZTPI/$I" | bc -l)
which tells you that for x and y the scale should be 1600 steps per inch and for the z axis it's 800*TPI of the z leadscrew.
As for that you can then search for 'ztpi' and you will find this section from which you will glean more information about the max velocity:
case $ACME in
"ROTON" )
ZTPI=5
Z_MAXVEL=0.4
# 24IPM Z-Axis
;;
"HELIX" )
ZTPI=2
Z_MAXVEL=2
# 120IPM Z-Axis
;;
As for XY limits there is this section:
"V90MK2" )
X_MAX_LIMIT=20.25
Y_MAX_LIMIT=12.4
UPRIGHT="SHORT"
ZBEARINGS=2
;;
"GX2525" | "COMET" )
X_MAX_LIMIT=26.125
Y_MAX_LIMIT=25.1152
;;
"GX2550" | "METEOR" )
X_MAX_LIMIT=26.125
Y_MAX_LIMIT=52.2
;;
"GX3725" | "ASTEROID" )
X_MAX_LIMIT=37.25
Y_MAX_LIMIT=25.1152
;;
"GX3750" | "NEBULA" | "METEORXL" )
X_MAX_LIMIT=37.25
Y_MAX_LIMIT=52.2
;;
"GX5050" )
X_MAX_LIMIT=53.6
Y_MAX_LIMIT=51
UPRIGHT="TALL"
ZBEARINGS=4
Could be quite useful.
Attachments:
Please Log in or Create an account to join the conversation.
31 May 2024 16:27 #301971
by Aciera
Replied by Aciera on topic I need help
also there is a basic ini file here which may give you an indication of what else you may need note in versions 2.8 and above the ini file has changed somewhat, eg all homing related values are in JOINT_n sections now:
# PROBOTIX ini file
[EMC]
MACHINE = REPLACE_MACHINE
DEBUG = 0
[DISPLAY]
#DISPLAY = axis
DISPLAY = probotix-axis
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
#POSITION_UNITS = INCH
MAX_FEED_OVERRIDE = 1.0
MAX_SPINDLE_OVERRIDE = 1.0
DEFAULT_SPINDLE_SPEED = 8000
PROGRAM_PREFIX = /home/probotix/linuxcnc/nc_files
INTRO_GRAPHIC = probotix_splash.gif
INTRO_TIME = 5
INCREMENTS = REPLACE_INC
OPEN_FILE = /home/probotix/linuxcnc/nc_files/PROBOTIX_logo_engrave.ngc
EDITOR = gedit
TOOL_EDITOR = tooledit
PYVCP = pyvcp.xml
#EMBED_TAB_NAME = Camera
#EMBED_TAB_COMMAND = camview-emc -w {XID}
[FILTER]
PROGRAM_EXTENSION = .png,.gif Greyscale Depth Image
png = image-to-gcode
gif = image-to-gcode
PROGRAM_EXTENSION = .py Python Script
py = python
PROGRAM_EXTENSION = .php PHP Script
php = php
PROGRAM_EXTENSION = .ngc2 Filtered NGC File
ngc2 = g-code-filter.php
PROGRAM_EXTENSION = .ngcl Laser NGC File
ngcl = laser-filter.php
[RS274NGC]
PARAMETER_FILE = emc.var
RS274NGC_STARTUP_CODE = REPLACE_RSC
SUBROUTINE_PATH = /home/probotix/linuxcnc/nc_files/subs
USER_M_PATH = /home/probotix/linuxcnc/nc_files/mcodes
[TASK]
TASK = milltask
CYCLE_TIME = 0.010
[EMCMOT]
EMCMOT = motmod
SHMEM_KEY = 111
COMM_TIMEOUT = 1.0
COMM_WAIT = 0.010
BASE_PERIOD = 100000
SERVO_PERIOD = 1000000
[HAL]
HALFILE = probotix.hal
POSTGUI_HALFILE = postgui.hal
HALUI = halui
CONTROLLER = REPLACE_CONTROLLER
[HALUI]
# add halui MDI commands here (max 64)
MDI_COMMAND = o100 CALL [1] (00)
MDI_COMMAND = o102 CALL [2] (01)
MDI_COMMAND = G10 L20 P0 X0 Y0 (02)
MDI_COMMAND = G10 L20 P0 Z0 (03)
MDI_COMMAND = G53 G0 XREPLACE_X_PARK Y0 Z0 (04)
MDI_COMMAND = G53 G0 XREPLACE_X_PARK YREPLACE_Y_PARK Z0 (05)
MDI_COMMAND = G53 G0 X0 Y0 Z0 (06)
MDI_COMMAND = G0 X0 Y0 (07)
MDI_COMMAND = REPLACE_RSC M6 (08)
MDI_COMMAND = M68 E00 Q0 (09)
MDI_COMMAND = G10 L2 P0 X0 Y0 Z0 (10)
MDI_COMMAND = G64 P0.010 (11)
MDI_COMMAND = M68 E0 Q100 (12)
MDI_COMMAND = o103 CALL (13)
[USER_COMMANDS]
NUMBERKEYS = TRUE
USER0 =
USER1 =
USER2 =
USER3 =
USER4 =
USER5 =
USER6 =
USER7 =
USER8 =
USER9 =
[TRAJ]
AXES = REPLACE_AXES
COORDINATES = REPLACE_COORDINATES
LINEAR_UNITS = REPLACE_UNITS
ANGULAR_UNITS = degree
CYCLE_TIME = 0.010
DEFAULT_VELOCITY = REPLACE_DEFAULT_VELOCITY
DEFAULT_ANGULAR_VELOCITY = 1440
MAX_LINEAR_VELOCITY = REPLACE_MAX_LINEAR_VELOCITY
MAX_ANGULAR_VELOCITY = 1440
NO_FORCE_HOMING = 0
[EMCIO]
EMCIO = io
CYCLE_TIME = 0.100
TOOL_TABLE = tool.tbl
[AXIS_0]
TYPE = LINEAR
HOME = 0
MAX_VELOCITY = REPLACE_XY_MAXVEL
MAX_ACCELERATION = REPLACE_XY_MAXACCEL
STEPGEN_MAXACCEL = REPLACE_XY_STEPGEN_MAXACCEL
SCALE = REPLACE_XY_SCALE
FERROR = REPLACE_FERROR
MIN_FERROR = REPLACE_MIN_FERROR
MIN_LIMIT = -REPLACE_XY_MIN_LIMIT
MAX_LIMIT = REPLACE_X_MAX_LIMIT
HOME_OFFSET = -REPLACE_XY_HOME_OFFSET
HOME_SEARCH_VEL = -REPLACE_XY_SEARCH_VEL
HOME_LATCH_VEL = -REPLACE_XY_LATCH_VEL
HOME_IGNORE_LIMITS = 1
HOME_SEQUENCE = 1
#HOME_FINAL_VEL = 3.0
[AXIS_1]
TYPE = LINEAR
HOME = 0
MAX_VELOCITY = REPLACE_XY_MAXVEL
MAX_ACCELERATION = REPLACE_XY_MAXACCEL
STEPGEN_MAXACCEL = REPLACE_XY_STEPGEN_MAXACCEL
SCALE = REPLACE_XY_SCALE
FERROR = REPLACE_FERROR
MIN_FERROR = REPLACE_MIN_FERROR
MIN_LIMIT = -REPLACE_XY_MIN_LIMIT
MAX_LIMIT = REPLACE_Y_MAX_LIMIT
HOME_OFFSET = -REPLACE_XY_HOME_OFFSET
HOME_SEARCH_VEL = -REPLACE_XY_SEARCH_VEL
HOME_LATCH_VEL = -REPLACE_XY_LATCH_VEL
HOME_IGNORE_LIMITS = 1
HOME_SEQUENCE = 1
#HOME_FINAL_VEL = 3.0
[AXIS_2]
TYPE = LINEAR
HOME = 0
MAX_VELOCITY = REPLACE_Z_MAXVEL
MAX_ACCELERATION = REPLACE_Z_MAXACCEL
STEPGEN_MAXACCEL = REPLACE_Z_STEPGEN_MAXACCEL
SCALE = REPLACE_Z_SCALE
FERROR = REPLACE_FERROR
MIN_FERROR = REPLACE_MIN_FERROR
MIN_LIMIT = -REPLACE_Z_MIN_LIMIT
MAX_LIMIT = REPLACE_Z_MAX_LIMIT
HOME_OFFSET = REPLACE_Z_HOME_OFFSET
HOME_SEARCH_VEL = REPLACE_Z_SEARCH_VEL
HOME_LATCH_VEL = REPLACE_Z_LATCH_VEL
HOME_IGNORE_LIMITS = 1
HOME_SEQUENCE = 0
[AXIS_3]
TYPE = ANGULAR
HOME = 0
MAX_VELOCITY = 1440
MAX_ACCELERATION = 4000
STEPGEN_MAXACCEL = 5000
SCALE = 6.6666
FERROR = 5
MIN_FERROR = 1
HOME_IGNORE_LIMITS = 1
HOME_SEQUENCE = 1
Please Log in or Create an account to join the conversation.
07 Jun 2024 14:44 #302534
by Irritant
Replied by Irritant on topic I need help
Hi, I have it moving using the stepconfig test buttons. It will also move clicking on the jog buttons. I have figured out how to load a G file. Biggest problem right now is that it won't run a G code file, at least I don't know how to do it. I need some help with this. Spelling out the basics is what I need right now.
Thanks all, Ian
Thanks all, Ian
Please Log in or Create an account to join the conversation.
07 Jun 2024 17:45 - 07 Jun 2024 17:48 #302544
by Aciera
Replied by Aciera on topic I need help
In AXIS GUI click on the blue triangle in the tool bar or select 'Run program' from the 'Machine' menu.
[edit]
This is rather dated but might be worth having a look:
[edit]
This is rather dated but might be worth having a look:
Last edit: 07 Jun 2024 17:48 by Aciera.
Please Log in or Create an account to join the conversation.
08 Jun 2024 20:26 #302647
by Irritant
Replied by Irritant on topic I need help
I am in Ottawa Canada, a bit of a drive.
Please Log in or Create an account to join the conversation.
08 Jun 2024 20:31 #302649
by Irritant
Replied by Irritant on topic I need help
I seem to have most things running. I still need final calibration.
Current problem is although I can jog around using the mouse and software keys I can not run a file nor turn on the spindle.
I think I have things correct but this eludes me, any ideas where I have gone wrong?
Current problem is although I can jog around using the mouse and software keys I can not run a file nor turn on the spindle.
I think I have things correct but this eludes me, any ideas where I have gone wrong?
Please Log in or Create an account to join the conversation.
09 Jun 2024 05:37 #302662
by Aciera
Replied by Aciera on topic I need help
Do you get any errors?
Could you post your .hal and .ini files or the compressed machine config folder?
Could you post your .hal and .ini files or the compressed machine config folder?
Please Log in or Create an account to join the conversation.
Time to create page: 0.182 seconds