New Mesa 7i96 build, no stepper movement
- LinfieldGarage
- Offline
- Junior Member
Less
More
- Posts: 37
- Thank you received: 11
04 Jan 2019 18:27 #123494
by LinfieldGarage
New Mesa 7i96 build, no stepper movement was created by LinfieldGarage
Hello All,
I am on day 3 of getting to know LinuxCNC and have run out of ideas to fix this problem. This is a 4x4 plasma gantry build with 2 Y-axis steppers.
My setup:
Mesa 7i96 board, FW version 43 installed at factory
4 KL-5056E drives
preempt RT kernel: Linux Linuxcnc 3.2.0-6-rt-686-pae #1 SMP PREEMPT RT Debian 3.2.102-1 i686 GNU/Linux
Linuxcnc uspace 2.8 master branch version: 1:2.8.0~pre1.4096.g3b009f9
I have tried lots of different ini and hal configurations from examples found in this forum and others. My files load properly but will not move the steppers at all. They tick when LinuxCNC loads, but no other movement.
I have gone through the wiring several times and it seems solid. Drives are connected to Mesa 7i96 using Step/DIR (-), I even tried (+) for fun. Motor wiring verified with ohm meter through to the drives. All devices have power and green status. The motors are stalled and warm as expected. LinuxCNC appears to be talking to the Mesa board. JT's 7i96 config utility can read in the board details. Jumper settings on the drives are set to 5.6 amps (matched to steppers) and 1600 steps/rev. I reversed the motor current switches originally because the silk screened legend is different than the online docs.
I have tried multiple settings for DIRSETUP, DIRHOLD, STEPLEN, STEPSPACE, STEP_SCALE, etc. with no change. I have also experimented with AXIS vs JOINT terminology in the hal file. It will only load with this format.
My files are below
Any help is appreciated,
Thank you
Jamie
ini file:
hal file:
I am on day 3 of getting to know LinuxCNC and have run out of ideas to fix this problem. This is a 4x4 plasma gantry build with 2 Y-axis steppers.
My setup:
Mesa 7i96 board, FW version 43 installed at factory
4 KL-5056E drives
preempt RT kernel: Linux Linuxcnc 3.2.0-6-rt-686-pae #1 SMP PREEMPT RT Debian 3.2.102-1 i686 GNU/Linux
Linuxcnc uspace 2.8 master branch version: 1:2.8.0~pre1.4096.g3b009f9
I have tried lots of different ini and hal configurations from examples found in this forum and others. My files load properly but will not move the steppers at all. They tick when LinuxCNC loads, but no other movement.
I have gone through the wiring several times and it seems solid. Drives are connected to Mesa 7i96 using Step/DIR (-), I even tried (+) for fun. Motor wiring verified with ohm meter through to the drives. All devices have power and green status. The motors are stalled and warm as expected. LinuxCNC appears to be talking to the Mesa board. JT's 7i96 config utility can read in the board details. Jumper settings on the drives are set to 5.6 amps (matched to steppers) and 1600 steps/rev. I reversed the motor current switches originally because the silk screened legend is different than the online docs.
I have tried multiple settings for DIRSETUP, DIRHOLD, STEPLEN, STEPSPACE, STEP_SCALE, etc. with no change. I have also experimented with AXIS vs JOINT terminology in the hal file. It will only load with this format.
My files are below
Any help is appreciated,
Thank you
Jamie
ini file:
hal file:
Attachments:
Please Log in or Create an account to join the conversation.
- Clive S
- Offline
- Platinum Member
Less
More
- Posts: 2239
- Thank you received: 474
04 Jan 2019 18:58 #123495
by Clive S
Replied by Clive S on topic New Mesa 7i96 build, no stepper movement
Have tried changing these to 5000
# these are in nanoseconds
STEPSPACE = 1500
# these are in nanoseconds
STEPSPACE = 1500
The following user(s) said Thank You: LinfieldGarage
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17949
- Thank you received: 4816
04 Jan 2019 19:20 - 04 Jan 2019 20:09 #123497
by PCW
Replied by PCW on topic New Mesa 7i96 build, no stepper movement
There are a number of issues with your hal/ini files:
1. I dont think you really want 50 IPS for max velocity unless you have a _very_ fast table,
and you probably want much higher acceleration
(typically acceleration is 2x to 10x the velocity number meaning 1/2 second to 1/10 second to full speed)
2. None of the PID components functions are added (addf'ed) to the servo thread so there's no way the stepgens can run
Something like:
addf pid.x.do-pid-calcs servo-thread
addf pid.y.do-pid-calcs servo-thread
addf pid.y2.do-pid-calcs servo-thread
addf pid.z.do-pid-calcs servo-thread
Between the hardware read and hardware write parts of the addf list
Not sure why these are missing, it may be that you have an old version of the configuration utility
1. I dont think you really want 50 IPS for max velocity unless you have a _very_ fast table,
and you probably want much higher acceleration
(typically acceleration is 2x to 10x the velocity number meaning 1/2 second to 1/10 second to full speed)
2. None of the PID components functions are added (addf'ed) to the servo thread so there's no way the stepgens can run
Something like:
addf pid.x.do-pid-calcs servo-thread
addf pid.y.do-pid-calcs servo-thread
addf pid.y2.do-pid-calcs servo-thread
addf pid.z.do-pid-calcs servo-thread
Between the hardware read and hardware write parts of the addf list
Not sure why these are missing, it may be that you have an old version of the configuration utility
Last edit: 04 Jan 2019 20:09 by PCW. Reason: Changed PID function names to match hal file
Please Log in or Create an account to join the conversation.
- LinfieldGarage
- Offline
- Junior Member
Less
More
- Posts: 37
- Thank you received: 11
05 Jan 2019 00:15 #123519
by LinfieldGarage
Replied by LinfieldGarage on topic New Mesa 7i96 build, no stepper movement
Thanks PCW !!!
After adding those 4 lines I see some signs of life. I can move the X stepper now. It is a little erratic and bounces after I let off the jog key, but it moves. Now it's time to find all the best config settings for my hardware.
Jamie
After adding those 4 lines I see some signs of life. I can move the X stepper now. It is a little erratic and bounces after I let off the jog key, but it moves. Now it's time to find all the best config settings for my hardware.
Jamie
Please Log in or Create an account to join the conversation.
- LinfieldGarage
- Offline
- Junior Member
Less
More
- Posts: 37
- Thank you received: 11
05 Jan 2019 00:16 #123520
by LinfieldGarage
Replied by LinfieldGarage on topic New Mesa 7i96 build, no stepper movement
Thanks for the reply. I have found several lists of settings for the KL-5056 drivers. Now that the axis moves I can experiment with them.
Jamie
Jamie
Please Log in or Create an account to join the conversation.
- Sizlah@2
- Visitor
23 Nov 2022 20:03 #257505
by Sizlah@2
Replied by Sizlah@2 on topic New Mesa 7i96 build, no stepper movement
kindly inbox me your email or wazp me at +2540708451831 for further discussions since i need your assistance
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19466
- Thank you received: 6529
24 Nov 2022 00:30 #257533
by tommylight
Replied by tommylight on topic New Mesa 7i96 build, no stepper movement
forum.linuxcnc.org/27-driver-boards/3504...ool?start=200#257519kindly inbox me your email or wazp me at +2540708451831 for further discussions since i need your assistance
Please Log in or Create an account to join the conversation.
Time to create page: 0.060 seconds