Advanced Search

Search Results (Searched for: )

  • tommylight
  • tommylight's Avatar
23 Jun 2024 11:28

Receiving encoder signals but can get any rotation as a spindle

Category: Advanced Configuration

How do I make it slowly ramp up and slowly slow down? 


Since this is a stepgen spindle, probably by setting stepgen acceleration in the ini file lower, in your case for stepgen 4.

 How do I get it to match speeds of M3 S500 = 500rpm and so forth perfectly matching


Again in the ini file, scaling, if no encoder feedback that would be step_scale, if with encoder feedback there are two values = step_scale and encoder_scale

this is incredible.  Wow 


Welcome to the dark side! :)
  • tommylight
  • tommylight's Avatar
23 Jun 2024 11:23
Replied by tommylight on topic 7i96 Splindle Encoder setup.

7i96 Splindle Encoder setup.

Category: Advanced Configuration

Im not qualified to be the one to answer this but if I could attempt it would be perhaps your encoder is single ended and your board is configured for differential input. If you wanted you could try moving the jumpers on W1, W2 , and W3 over to the left pins and try check if you get any data.

That would be the best answer right now, thank you.
After checking that we can move on to other stuff, if any.
  • Walkahz
  • Walkahz
23 Jun 2024 11:22
Replied by Walkahz on topic Deckel FP4 Gearbox Comp

Deckel FP4 Gearbox Comp

Category: Advanced Configuration

Thanks for your input.
Still no luck, everytime I comment something out a new reason to stop LCNC opening comes up in the error log. There must be something I am missing.

Going to change track for now and go back to the original plan of using a modification of rotarySMP's code.

one question I do have is how does the addressing system of pins work in external .comp files work?

The below is a snippet of the code. I'm assuming the 28X1... section is the reference for the pin or is it the whole "MESA 7i84 OUTPUT 0: 28X1-8"; line?   How would I find the 28X1 address on my setup as i assume this will be different for everyone.
/* control pins */
pin out bit motor_lowspeed     = 0  "MESA 7i84 OUTPUT 0: 28X1-8";
pin out bit reducer_motor      = 0  "MESA 7i84 OUTPUT 1: 28X1-9";
pin out bit midrange_motor     = 0  "MESA 7i84 OUTPUT 2: 28X1-10";
pin out bit input_stage_motor  = 0  "MESA 7i84 OUTPUT 3: 28X1-11";
  • Wonkyaxis
  • Wonkyaxis
23 Jun 2024 11:18
Replied by Wonkyaxis on topic 7i96 Splindle Encoder setup.

7i96 Splindle Encoder setup.

Category: Advanced Configuration

Thank you, Yes, it works now. I can see rpm.

I thought it going to be something this stupid.
Jumper position, I did not think of jumper position.

Now I can move on to figuring out how to program my Speed/torque control.

Thank you. I have been banging my head against the wall for two weeks now trying to solve this. First thought it was EMI, so got a bunch of filter, shielded wire and earthed every thing on the machine. I even installed a second earthing rod in my house.

Lol all because a jumper position.
  • tommylight
  • tommylight's Avatar
23 Jun 2024 11:18

A Treatsie on the Parallel Port - HP Elitedesk 800 with generic cable

Category: Installing LinuxCNC

The only add on cards that do not work with LinuxCNC are the "software emulated" ones, usually if they do not come with Linux drivers = do not buy them. Although hard to tell in the era of e-comerce where "everything works with arduino" despite some of it absolutely having nothing to do with arduino.
  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
23 Jun 2024 10:55
Replied by Cant do this anymore bye all on topic A Treatsie on the Parallel Port - HP Elitedesk 800 with generic cable

A Treatsie on the Parallel Port - HP Elitedesk 800 with generic cable

Category: Installing LinuxCNC

Oh yeah Parallel Ports can be fun, need a quick & dirty logic analyser, actually a quick & dirty anything, is where plain old DOS was good, no hoops & stuff to jump thru. Only tricky bit with linux is to get the correct permissions as we don't wanna do stuff as root.
High enough voltage and you'll get the lovely smell acrid smell of smoked semis. Used to repair boards that operated a mechanical receipt printer......Twas a lovely smell to go with the first coffee of the day.

Like I should have said about 99% don't require the drivers, there's always going to be an exception to the rule.

One thing I forgot to mention is that some cards will come up as with ports disabled, read the other day a simple cat\echo command can fix that, tho can't confirm, tho it's gunna take a bit of time to find the reference.
  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
23 Jun 2024 10:43
Replied by Cant do this anymore bye all on topic AC spindle servo on a Chinese BOB set up

AC spindle servo on a Chinese BOB set up

Category: Driver Boards

This is the way to go, go hard or go home hahahaha.


Thinking of something similar, not real happy with my servo setup. I kind feel the original motor that came with my BF-20 was more torquey. But the 3 phase I have of my FrankenMyford is sweet.
  • steveb55
  • steveb55
23 Jun 2024 10:34
Replied by steveb55 on topic In the fire no frying pan

In the fire no frying pan

Category: General LinuxCNC Questions

hi the one board is in the pendant and the rest are in the main panel .
i
  • Dave2024
  • Dave2024's Avatar
23 Jun 2024 10:31
Replied by Dave2024 on topic 7i96 Splindle Encoder setup.

7i96 Splindle Encoder setup.

Category: Advanced Configuration

Im not qualified to be the one to answer this but if I could attempt it would be perhaps your encoder is single ended and your board is configured for differential input. If you wanted you could try moving the jumpers on W1, W2 , and W3 over to the left pins and try check if you get any data.

In Pncconf on the Spindle page if you also have the encoder correctly connected to the encoder port A,B,Z and GND then click the 'Open Loop Test' button it should display encoder feedback

But otherwise theres some pros on here look for PCW and Tommylight they will get you setup
  • Aciera
  • Aciera's Avatar
23 Jun 2024 09:44
Replied by Aciera on topic Probe panel for Axis GUI

Probe panel for Axis GUI

Category: AXIS

now when i load linuxcnc it says classicladder couldnt load, and the only way to get it to run is commenting out the #TWOPASS = on

Yes, that is what I have found as well, however in your case I think you do not need TWOPASS active as you don't seem to loadrt instances of the same components in different halfiles.

I think your problem comes from the fact that while we can define multiple lines with 'HALFILE=' we can only have one line with 'POSTGUI_HALFILE='. So it will only call up the last line in your ini which is 'custom_postgui.hal'.

Try this:

Add these lines to your 'postgui_call_list.hal':
source vfd.hal
source custom_postgui.hal

The change the [HAL] section of your 'PRINTNC.ini' file from this:

[HAL]
[HAL]
HALFILE = PRINTNC.hal
HALFILE = custom.hal
POSTGUI_HALFILE = vfd.hal
POSTGUI_HALFILE = custom_postgui.hal
POSTGUI_HALFILE = postgui_call_list.hal
TWOPASS = on
HALFILE = Probe_preload.hal
POSTGUI_HALFILE = custom_postgui.hal

To this.
[HAL]
HALFILE = PRINTNC.hal
HALFILE = Probe_preload.hal
HALFILE = custom.hal
POSTGUI_HALFILE = postgui_call_list.hal
  • Dave2024
  • Dave2024's Avatar
23 Jun 2024 09:43

Receiving encoder signals but can get any rotation as a spindle

Category: Advanced Configuration

The pncconf bug is just related to LinuxCNC version
but easily fixed by editing the hal file

The speed limit is likely because your 10000 steps/turn scale
would require very short step length and step space settings.

That is, to get to 5000 RPM at 10000 steps per turn, you need
833333 steps per second but your current step length and stepspace
settings (5 usec and 5 usec) only allow 100000 steps per second or
about 600 RPM.

Fixes: Reduce the drives steps/turn and or shorten the steplength
and stepspace parameters (noting the drives minimum timings
for these parameters and leaving adequate margins )

Holy crap I changed the steps/turn down from 10000 to 1k and omg!  The motor is dangerous!  How do I make it slowly ramp up and slowly slow down?   How do I get it to match speeds of M3 S500 = 500rpm and so forth perfectly matching this is incredible.  Wow 
  • Wonkyaxis
  • Wonkyaxis
23 Jun 2024 09:37
7i96 Splindle Encoder setup. was created by Wonkyaxis

7i96 Splindle Encoder setup.

Category: Advanced Configuration

Hi, Im retrofitting a ZX7045. Im trying to get a encoder setup on my spindle.
I used pncconfig to setup the spindle encoder, but when I run the spindle i get no feedback on linuxcnc.
I tried using hal.scope but im seeing no activity. Same goes for hal show.
I have a oscilloscope connected between the encoder A and ground and I can see the signal there.

This is my first advance linuxcnc build, so I'm still figuring out how to edit .HAL and .INI directly.
I suspect my encoder is not configured correctly. I have attached my INI and HAL files.

Can someone see if I did something wrong in my configuration?

Some extra info:
Mesa 7i96 (7i96d_1pwm.bit firmware)
1.5kw spindle on vfd with Pwm to 10V analog converter for speed control.

Encoder : Omron E6B2-CWZ3E-1024
Connection
A => TB2.Pin7
B => TB2.Pin10
Z => TB2.Pin13
GND => TB2.Pin9
5V => TB2.Pin12

Gear ratio between encoder and spindle: 1 turn spindle = 3 turns encoder. (i will fix this in the future to be 1:1)

Goal: tapping cycles and speed/torque control.
Speed/torque control through something like this:
I want linux cnc to run the spindle at 100%pwm first, then check the actual speed. 
If the desired speed achievable with pwm between 70 and 100%. Set pwm to required value.
If not achievable in pwm range, Stop and tell me to shift gear up or down.
Repeat speed set in new gear.

 

File Attachment:

File Name: Demill.ini
File Size:5 KB

File Attachment:

File Name: Demill.hal
File Size:12 KB

File Attachment:

File Name: xhc-whb04b-6.hal
File Size:13 KB
  • Domsku
  • Domsku's Avatar
23 Jun 2024 09:29
Replied by Domsku on topic MB2HAL with VFD and Arduino

MB2HAL with VFD and Arduino

Category: Advanced Configuration

The two pictures show my final solution for grounding the shield of the wire. I used copper tape with conductive adhesive to connect the USB plug of the adaptor to the shield of the wire. It's easily done and works well :-)
 
 
  • Dave2024
  • Dave2024's Avatar
23 Jun 2024 09:22

Receiving encoder signals but can get any rotation as a spindle

Category: Advanced Configuration

I want to send you a gift or something about this if I could!
That is easy, just buy more Mesa boards ! :)
PCW is the owner of Mesa.

Really?  Thats awesome.  I will buy more of them too and promote them.  These are nice bords!
Displaying 23986 - 24000 out of 26466 results.
Time to create page: 0.643 seconds
Powered by Kunena Forum