Advanced Search

Search Results (Searched for: stepper spindle)

18 Feb 2024 23:13

Mesa 7i76E and YL620 VFD: Reference Voltage Not Dropping to 0 and Maxing at 8V

Category: Driver Boards

Hi,I have two boxes for my self-built CNC. One contains the Mesa card, stepper drivers, and 24V/36V power supplies, while the other contains the VFD. Both boxes are connected with a ~2m cable. I believe it is connected correctly. Spindle+ to 10V, Spindle Out to V11, and Spindle- to GND.Just by powering everything up, the spindle out reads roughly 1.2V, and if I start the spindle, it reads 8.1V. Also, the VFD shows ~20-40Hz in the off state and ~350-370Hz in the on state. That is obviously not what I want.

I tried setting 03.06 to 150 and 03.07 to 800, but that didn't help
 Did I miss something? Is the cable simply too long?
17 Feb 2024 19:34

MESA board recommendations for 7 axis

Category: General LinuxCNC Questions

I have found plenty of posts on here about picking mesa boards, but I am not really sure what specific I/O, outputs, etc. I need to make my machine work. I plan to have 7 steppers controlling a 5 axis machine. The X and Z axis will both have two motors, and each other axis will have 1. I don't need all that much I/O, but I would like to have individual homing/limit switches for each of the 7 axis, if that is possible. Other than that I think I will only need spindle speed. I do not know if I should control it with parallel or ethernet, or what the advantages of each would be. Would it be possible to get a parallel bob work for my purposes? Any help is appreciated!
16 Feb 2024 19:11

servo as spindle connected to mesa 7i96s db25

Category: General LinuxCNC Questions

hello all. I am in the process of building a small cnc milling machine (350x450x700mm-y,x,z) and im using a 1000w ac servo for a spindle motor. my question is; how do i configure the mesa 7i96s so i can control the servo through the db26 connector connected to the parallel port of the drive? i bought a db25 to parallel port connector that will plug right into the servo drive. i am new to linux cnc as this is my first build. i attached the manual for the drive. there is little to no info on this drive on the interweb but i would assume its not too different than any other drive of the same type. what is the 10vdc for, that a daughter card would provide? also, what is the difference between the 7i96s and the 7i96 as there is a ton of info on the 7i96 but very little info on the 7i96s card? i have two of these servos and plan on using the other one as a fourth axis in the future. for now, i am using nema 23 steppers to drive the x,y,z with cw5045 drives, but plan on upgrading to servos or a closed loop stepper system. what would be the best option for a daughter card for my application? my understanding, from reading the 7i96s manual, is the db25 pins can be configured in any way i see fit as they are fpga and have endless possibilities. i guess i can't upload the entire manual as it is too large, but here is the part number of the servo 80F-0330TBL-Z. thank you in advance for any info you can provide. please excuse my ignorance. i know im making this more complicated than it needs to be.
14 Feb 2024 02:39

Retrofit small 5-axis mill - Ideas for EtherCAT drives

Category: EtherCAT

This is going to be long. Skip to the end for the question.

I bought a tiny 5-axis mill recently, sight unseen. I didn't know what to expect, but knew it would be a fun project regardless of what I got. What I got was a large crate with a lot of aluminum, ballscrews, and 2x harmonic drives. Of course, there is a spindle. It's a 1.2 kW 60,000 RPM IMT with ATC, accepting from 3 mm to 1/4 in collets, and a nice spindle drive.

The controls were B&R Automation - using their MAPP CNC modular approach. It's an extremely well designed group of components, but more PLC and factory automation than CNC machine. I didn't get the machine's deep unlock code. I fantasized about a code breaker - a 3D printer driven 'finger' and a Keyence color sensor to sense the absence of the "Wah, wah, wah" wrong code dialog to pound away on the touchscreen. I also downloaded B&R's Automation Studio and got familiar. I'm not a machine integrator, and would have zero support to recreate the machine. So, I've chosen to take the OpenCNC route instead. I'm choosing to go EtherCAT. I'm looking for advice on the controls.

Axes X, Y, Z are pretty conventional. The A & B are harmonic drives. A is kind of roll, and B is pitch, mounted to the A axis. This was a dental mill, so the workpiece is roughly the size of a human jaw. I'll make some changes to that. I'll add some risers to increase the rotational travel of the B axis (currently ~60 degrees).

The B&R controls include 5 NEMA 23 steppers with A/B/Z encoders on them. The encoders are unusual, in that their supplies are 24V.

My first thought was to go Leadshine - closed loop steppers. We planned out 2x 2-axis 2CS3E-D507 drives + 1 single axis CS33-D507. These are 7 A/phase drives and require power supplies. Unfortunately, the paired motors do not have Z-channel encoders. This is surprising, given the level of sophistication for the package. I'm sitting on the quote, and I'm seeking advice.

- Closed loop steppers (rtelligent, Leadshine) or open loop EtherCAT + encoders for position verification?
- Do I need a Z pulse? Can I get away with homing to a switch, or am I going to regret that?
 
09 Feb 2024 03:13

Which Mesa Card Should I Buy?

Category: Driver Boards

4-axis mill
7i76e/7i73
Steppers on XYZ
Servo on harmonic A
VFD spindle w/1:1 timing belt drive - motor encoder goes to 7i76e
PDB
18-station carousel ATC, stepper driven w/5:1 planetary

 

This browser does not support PDFs. Please download the PDF to view it: Download PDF

08 Feb 2024 22:58

Which Mesa Card Should I Buy?

Category: Driver Boards

After reading spumco's great summary and looking at the Mesa site, I guess I settled on the 7i96S. If I understand correctly, this is a stand-alone I/O board that only requires an Ethernet connection back to the host PC. Is this correct? I need to drive three stepper drivers (and maybe a 4th down the road), the analog VFD spindle control and an additional 6 I/O. Pretty simple set up.

Yes it is correct, glad to see this was useful as soon as it got posted! :)
7i96S is good for 5 drives + spindle with encoder feedback, and if you ever need more IO, a 7i84 will do just fine and very easy to wire in.
08 Feb 2024 22:17 - 08 Feb 2024 22:19
Replied by Dean on topic Which Mesa Card Should I Buy?

Which Mesa Card Should I Buy?

Category: Driver Boards

Okay, this thread has been posted at the perfect time. I built a smaller 3-axis CNC gantry router approximately 10 years ago. It's been a super machine and has done all I've asked of it. Over the years I've upgraded the ACME screws to ball screws and and six months ago I replaced all of the guide bearings with linear rails.

Before I go any further, I should say I'm pretty good mechanically, but know just enough electronically to be dangerous and to free the magic smoke on occasion. My machine has used the 5i25 and 7i76 to run the I/O and Parker CompuMotor OEM750's to drive the steppers since the day I built it. Never a problem in all of those years.

Fast forward to yesterday. When I tried to turn on my system, LCNC wouldn't start and threw errors on the debug screen. It didn't take long to figure out that my 24v power supply had failed. So I ordered another from Amazon and received it today. Plugged it in and got a solid 24.0v out. Then, when I connected it into the 7i76 board, it (the power supply) blew. Unfortunately, I haven't a clue how to troubleshoot the board, so I'm looking for a replacement and see that the 7i76 is no longer available.

After reading spumco's great summary and looking at the Mesa site, I guess I settled on the 7i96S. If I understand correctly, this is a stand-alone I/O board that only requires an Ethernet connection back to the host PC. Is this correct? I need to drive three stepper drivers (and maybe a 4th down the road), the analog VFD spindle control and an additional 6 I/O. Pretty simple set up.

If I posted this in the wrong spot, I'm sorry and feel free to move it. Otherwise any comments, advice and/or suggestions will be greatly appreciated.

Thanks,
Dean
06 Feb 2024 14:12 - 08 Feb 2024 01:54

Which Mesa Card Should I Buy?

Category: Driver Boards

9 - EXAMPLE WORK-LISTS

1. Manual lathe to CNC conversion
    • 2 axes, closed-loop stepper motors
    • 2 drive alarm signals
    • 2 home switches, no additional limits
    • 1 spindle motor driven by VFD
    • 1 spindle encoder for threading
    • Operator station
        ◦ 2 MPGs (one for each axis)
        ◦ 1 axis selector switch (2 positions)
        ◦ 1 jog increment switch (3 positions)
        ◦ 1 spindle override potentiometer
        ◦ 1 feed override potentiometer
        ◦ 1 external emergency stop
        ◦ 2 buttons (start & feed-hold)
    • Result:
        ◦ Drives - 2 S&D
        ◦ IO
            ▪ 10/ea digital in
            ▪ 2 MPG
            ▪ 2 analog in
            ▪ 1 analog out
            ▪ 2 digital out (spindle FWD/REV)
    • Mesa card suggestion:
        ◦ 7i96S + 7i73 for the operator station


2. Self-built CNC router
    • 4 axes, step-dir servo motors
    • 4 drive alarms
    • 4 drive enable
    • 4 home switches, no additional limits
    • 1 spindle motor driven by VFD
    • Operator station
        ◦ 1 MPGs
        ◦ 1 axis selector switch (2 positions)
        ◦ 1 jog increment switch (3 positions)
        ◦ 1 feed override encoder w/reset switch
        ◦ 1 external emergency stop
        ◦ 8 buttons
            ▪ jog-continous POS/NEG XYZ
            ▪ start & feed hold
    • Result:
        ◦ Drives - 4 S&D
        ◦ IO
            ▪ 8 digital in to main enclosure
            ▪ 13 digital in to operator station
            ▪ 4 MPG
            ▪ 1 analog out
            ▪ 6 digital out
    • Mesa card suggestion:
        ◦ 7i96S + 7i73 using 4x8 matrix for the operator station


Good luck, and please let me know if there are any errors.
-Spumco
06 Feb 2024 13:50 - 08 Feb 2024 01:50

Which Mesa Card Should I Buy?

Category: Driver Boards

6 - DRIVE COMMAND SIGNAL TYPE

Typical CNC machines require some type of motor control is required to move joints/axes.  Whether they are servos or steppers (closed-loop or open), the motors need a drive to actually cause movement.

The drive will be commanded by LCNC using some type of signal.  The command signal types most frequently used for steppers & servos are:
      
    • Step & direction
    • PWM
    • Analog (+/-10v)

Retrofitting a CNC machine will, hopefully, include re-using the existing drives.  This saves money and the original motors & drives were presumably engineered properly for the machine.  These existing, perhaps older, OEM drives tend to use analog command signals, although PWM is sometimes used.

Some newer servo drives, and most stepper motor drives, use step & direction command signals.

Building a new CNC machine means the integrator (you) can select which type of drive is to be used, including the command signal type.

Infrequently, a combination of drive signal types is required for a CNC machine build.  Perhaps the user has some surplus analog drives, but also has a step & direction drive for a 4th axis.  For these cases multiple Mesa cards will likely be required.

Mesa documentation refers to ‘stepgens’, which can be translated to mean ‘step and direction signal generator.’  Each stepgen on a card can control one axis/joint motor drive.  So ‘5 stepgens’ means 5 independent drives can be controlled.

For PWM signals, the Mesa stepgens can be converted to PWM signal generators using modified firmware.  How this is done is not important for this guide, but if you need 3 stepgens and 2 PWM outputs, this can be accomplished with a 5 (or more) stepgen FPGA card.

Analog command signals cannot be created/converted from stepgens; the card hardware is different.  If your drive requires an analog signal you must use an analog-out card.

Once the required drive command signal is identified, count up the number of drives - current and future - required for all joints/axes.  Example:
    • Stepper-driven gantry router
        ◦ 4 motors/drives (X, Y1, Y2, Z) - at least 4 stepgens are required
    • 2-axis lathe with analog servos plus a spindle servo
        ◦ 3 motors/drives - at least 3 analog drive outputs are required
05 Feb 2024 21:19 - 08 Feb 2024 01:45

Which Mesa Card Should I Buy?

Category: Driver Boards

2 - SHORT VERSION (TLDR)

Too impatient to read?  The bare minimum hardware you need to easily connect LCNC to the outside world using Mesa cards is:
    • An FPGA ‘main’ card
    • Screw terminal connections for drives and IO (depending on selection, these may be on the FPGA card or a daughter card)
    • Power supply for the FPGA card

That’s it; no network switch or other ‘stuff’ required.  Below are just a couple of examples out of the numerous Mesa options:

For simple stepper machine
    • You will need one step & direction ethernet FPGA main card with onboard IO
        ◦ Example - 7i96S
            ▪ 5 step/dir axes
            ▪ 11 inputs
            ▪ 6 outputs
            ▪ 1 analog spindle output
            ▪ 1 encoder input
            ▪ 1 Smart Serial port
            ▪ 1 25-pin expansion port

For analog servo machine
    • You will need one analog ethernet FPGA card with onboard screw terminal IO
        ◦ Example - 7i97T
            ▪ 6 +/-10v analog axes
            ▪ 6 encoder inputs
            ▪ 16 inputs
            ▪ 6 outputs
            ▪ 1 Smart Serial port
            ▪ 1 25-pin expansion port
OR
    • You will need one ethernet FPGA card with no screw terminal drive outputs or IO
        ◦ Example - 7i92TH
            ▪ 2x26-pin header
      AND
    • You will also need one daughter card with analog outputs & IO with a connector that matches the FPGA card
        ◦ Example - 7i77
            ▪ DB25 input (connects to 7i92TH 26-pin header with adapter cable)
            ▪ 6 +/-10v analog axes
            ▪ 6 encoder inputs
            ▪ 32 inputs
            ▪ 16 outputs
            ▪ 1 Smart Serial port
            ▪ 1 DB25 to 26-pin adapter cable

Do yourself a favor and go read the rest of this guide.
04 Feb 2024 03:49

Closed loop stepper driver configuration help

Category: Basic Configuration

I'll try that when I can get a hold of a DTI. For now I went redid the gcode with a re-done tool table, and it seems to make the biggest difference so far. I'm now getting about +- .05 mm

I still think it can do better, but for now I don't want to take it apart it.

I probably need to test the spindle run-out as well at some point.

thanks for the advice it's been helpful.
03 Feb 2024 03:36

Closed loop stepper driver configuration help

Category: Basic Configuration

I can't imagine the whole thing is flexing that much under cutting pressure, but I'd say next step is to mount a DTI on the table and touch the stylus to the spindle nose.

Then shove on the head and see if there's deflection.  Repeat for Y in both directions.

How much of a cut are you taking to get that much error?  Are you measuring the error by comparing the part vs. programmed size?
01 Feb 2024 15:25

Setup for encoder feedback

Category: General LinuxCNC Questions

How difficult is it to implement feedback via the 5i25?

Which cosed/open loop drivers would you recommend?

I figured the spindle feedback would help getting the spindle speed more consistent (had oscillations in speed, but there are several possible reasons for that)

I used to have my steppers running un only 12v which made them quite poor performing. What voltage would you recommend for my steppers?
31 Jan 2024 01:38

Modbus-RTU control of a MOLLUM VFD

Category: HAL

I got a Mollum VFD .  This is one of the smallest VFDs on the market.  Nice when trying to pack everything in a box.  I think it is the same as the BD600 series  that StepperOnline sells.  Box is the same size, and the manuals look identical.  

I'm attaching the HAL file I created to allow LinuxCNC to talk to it.  
 

File Attachment:

File Name: mb2vfd_2024-01-30.ini
File Size:2 KB
 

File Attachment:

File Name: pyvcp-panel.xml
File Size:2 KB


My custom_postgui.hal contains,

#set up the spindle monitor with pyvcp
loadrt scale names=scale_torque,scale_power,scale_current,scale_bus_voltage,scale_freq
addf scale_torque servo-thread
addf scale_power servo-thread
addf scale_current servo-thread
addf scale_freq servo-thread

setp scale_torque.gain .01
net torque_scale scale_torque.in mb2hal.torque.torque.float
net torque scale_torque.out => pyvcp.torque

setp scale_power.gain .1
net power_scale scale_power.in mb2hal.power.power.float
net power scale_power.out => pyvcp.motor_power

setp scale_current.gain .01
net current_scale scale_current.in mb2hal.current.current.float
net current scale_current.out => pyvcp.current

#voltage doesn't need scaling
net voltage  mb2hal.voltage.voltage.float => pyvcp.voltage

setp scale_bus_voltage.gain .1
net bus_voltage_scale scale_bus_voltage.in mb2hal.bus_voltage.bus_voltage.float
#net bus_voltage scale_bus_voltage.out => pyvcp.bus_voltage

setp scale_freq.gain .1
net freq_scale scale_freq.in mb2hal.freq.freq.float
#net freq scale_freq.out => pyvcp.freq

#fault messages don't need scaling
net vfd_fault mb2hal.fault.fault.int => pyvcp.fault

 
30 Jan 2024 14:49
Replied by spumco on topic caxis.comp - problems

caxis.comp - problems

Category: Advanced Configuration

@Tommy,
Re-reading the PID manual, deadband should be set slightly greater than 1/2 count to stop hunting.  Your example is (I suspect) referencing a linear axis where you've got a very high count-per-unit (like thousands of counts per mm or inch).  Just like my X/Z axes with 1um encoders where I've got ~25400 counts/inch.

My subspindle is a direct-drive rotary axis where units = degrees.  So I've got ~27 counts per degree; significantly coarser feedback per unit.

The encoder signal is output from the drive, and I've got it set as high a resolution as possible.

@Aciera,
I tried the PID autotune a couple times on my Z-axis a while ago and the results were just dumb.  While I may give it a try, I haven't read a single report on the forum where someone was pleased with the results.

@smc.collins,
I have the pos-cmd and pos-fb up in halshow, but haven't yet scoped them.  Nothing odd or way off during a programmed back-and-forth move.  It homes to index fine and the counts/position/velocity all look like they should even when it flips out.  Doesn't lose track of where it is.


I'm going to try connecting it like an open-loop stepper tonight - connect stepgen pos-fb to pid.b.feedback and joint motor-pos-fb.  That should help me see if my issue is with the PID or not.
Displaying 121 - 135 out of 168 results.
Time to create page: 0.818 seconds
Powered by Kunena Forum