7i92T and mx3660 request for help

More
7 months 4 weeks ago #343745 by ClarkSavage
Ok, I have managed the following but have a few lingering issues that I am asking for help with:

One statement - the 7i91 is connected through a short parallel cable to the mx3660. ALL pins are that way. Nothing is connected to the 7i92 directly, only have another parallel [header] no wire connections.

Solved:
  • I can now run xyz axis in Pnnconf to test. Note the speeds I can use are much higher than what the parallel gave me. The axis no longer crashes or loses step such as when testing in Stepconf. Happy about that.
  • Can run linuxcnc - but my Estop and limits do not work so constantly running a side terminal to use mesaflash xxxx --reload
  • Jog and limit switch setup attemps the axis do run in the right direction for both program and jog - according to DRO
  • Did insert - use isocplus - I have 12 processors so I set it to 2-11 and the latency nose dived. Yes I have the file if asked for - less than 13,000 everywhere.
  • Did learn a lot and after getting the mx3660 --readhmid file and looking at my old ini/hal set everything in a spreadsheet detailing the 7i92 pins and the corresponding mx3660 bin, allowed me to match what I had from my old Stepconf hal for pin number. Played with the stepgen number till realized I only needed three.
  • Found out it was easier to edit speeds and both home/limits in the ini file.
Help please:
  • thought I had a working X axis limit but lost it.
  • did use the same limits/home both settings from my earlier stepconf ini - but no matter what I do the axis moves, trips the limit and stays there. I also get limit error messages when enabling so I need to over ride limits to run anything and then recheck over ride limits ever time I move something.
  • I may be wrong - I think my charge pump must be set up correctly or I think the axis would not be enabled. They disable - the 7i92 red light goes on - as soon as i exit linuxcnc and upon restarting, the red light goes off.
  • Could it be that because my Estop still does nothing and is setup wrong? It is still connected to the mx3660, and it disables the mx3660 when tripped but there is no relative indication or any change in linuxcnc to either enable or the abort button in AXIS - does not matter what position the switch is in but of course it must be off to enable the mx3660 to move axis in linuxcnc. 
Rather than attach all sorts of files in a shotgun approach, I thought it better to ask what anyone may wish to see before I try to post them. If I could get my ESTOP and both home/limits to work I think all would be ok for further tweaking.

I have tried the old permutations of limit switch setup - setting like my old working stepconf, setting the switch to 0 and the home to 2 sort of like the setup diagram on linuxcnc, tried "-" on first the latch velocity like i read somewhere, and everything in between one change at a time, restart and run - no luck. Do not understand what is different. Axis scale is check and accurate, DRO reads correct, ballscrews dialed in and all that.

Thanks for trying.

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

More
7 months 4 weeks ago #343748 by ClarkSavage
I should have stated - the limit / homing, picked off machine, home axis - trying to home one at a time, the axis moves to the limit switch and locks, need to over ride limits, move axis off limits - all axis

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

More
7 months 4 weeks ago #343752 by tommylight
In the ini file
HOME_OFFSET = -3
for each joint/axis
That is for metric machine, adjust accordingly for imperial.

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

More
7 months 4 weeks ago #343785 by ClarkSavage
  • Ok, setup the HOME_OFFSET to -0.118 [equivalent inch to the 0.3mm) no luck.
  • Tried inverting /- latch and others.Axis has errors so attaching the image
  • When attempting MACHINE / HOMING / "any single axis" I get an error message
  • Home setup / limits of one [x] axis as exampleExample - output of ini for X-axis[JOINT_0]TYPE = LINEARHOME = 0.0FERROR = 10.0MIN_FERROR = 0.05MAX_VELOCITY = 3.0MAX_ACCELERATION = 2.0
current x-axis example fro ini:


[JOINT_0]
TYPE = LINEAR
HOME = 0.0
FERROR = 10.0
MIN_FERROR = 0.05
MAX_VELOCITY = 3.0
MAX_ACCELERATION = 2.0
# works - can use after home limits estop fixed - MAX_VELOCITY = 5.0
# works - can use after home limits estop fixed - MAX_ACCELERATION = 7.0
# The values below should be 25% larger than MAX_VELOCITY and MAX_ACCELERATION
# If using BACKLASH compensation STEPGEN_MAXACCEL should be 100% larger.
STEPGEN_MAXVEL = 6.25
STEPGEN_MAXACCEL = 8.75
P = 1000.0
I = 0.0
D = 0.0
FF0 = 0.0
FF1 = 1.0
FF2 = 0.0
BIAS = 0.0
DEADBAND = 0.0
MAX_OUTPUT = 0.0
# these are in nanoseconds
DIRSETUP   = 10000
DIRHOLD    = 10000
STEPLEN    = 5000
STEPSPACE  = 5000
STEP_SCALE = -1016.0030642800001
MIN_LIMIT = 0.0
MAX_LIMIT = 32.0
HOME_OFFSET = -0.118
HOME_SEARCH_VEL = 1.166667
HOME_LATCH_VEL = 1.066667
HOME_FINAL_VEL = 1.100000
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 2
#******************************************

what worked in stepconf and parallel port

[AXIS_X]
MAX_VELOCITY = 3.25
MAX_ACCELERATION = 3.8
MIN_LIMIT = -0.25
MAX_LIMIT = 36.5
[JOINT_0]
TYPE = LINEAR
HOME = 0.0
MIN_LIMIT = -0.25
MAX_LIMIT = 36.5
MAX_VELOCITY = 3.25
MAX_ACCELERATION = 3.8
STEPGEN_MAXACCEL = 6.0
SCALE = 1016.00000104
FERROR = 0.05
MIN_FERROR = 0.01
HOME_OFFSET = -0.750000
HOME_SEARCH_VEL = -1.100000
HOME_LATCH_VEL = -0.40000
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1
#******************************************

should I purchase an addon card to the 7i92TM to get the home /limits /estop working and wire direct to it?

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

More
7 months 4 weeks ago #343786 by ClarkSavage
the image file that I could not get in the previous message

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

More
7 months 4 weeks ago #343795 by tommylight
set the HOME_search/latch/final velocities to something really, really slow, that way you can see what part of the sequence is causing the issue while homing.

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

Moderators: cmorley
Time to create page: 0.379 seconds
Powered by Kunena Forum