Advanced Search

Search Results (Searched for: )

  • andypugh
  • andypugh's Avatar
Today 20:45 - Today 20:45

How to do wiring to generate quadrature encoder signal in Mesa 7i95 board

Category: Driver Boards

I assume that LinuxCNC and LabView are not running on the same PC?

Is this conventional LabView or LabView Realtime? (if that even still exists).
(As an irrelevant aside, until last year LabView RT was the only thing that I had actually been paid to program in)

Have you considered not using the NI card for linuxcnc control, but instead communicating with LinuxCNC using linuxcncrsh?
linuxcnc.org/docs/stable/html/man/man1/linuxcncrsh.1.html
  • andypugh
  • andypugh's Avatar
Today 20:30

tpmod not loading on boot up with linux service

Category: Advanced Configuration

It sounds like, for whatever reason, tpmod isn't reporting "hal_ready()"

Though it seems odd in that case that LinuxCNC continues to load.

github.com/LinuxCNC/linuxcnc/blob/2.9/src/emc/tp/tpmod.c#L34
  • andypugh
  • andypugh's Avatar
Today 20:23

Rover 336 retrofit – horizontal drills and tool offsets in LinuxCNC

Category: Advanced Configuration

I would expect the tool table to work for this application. I have suggested it before and nobody has come back to say that it was a terrible idea.
  • andypugh
  • andypugh's Avatar
Today 20:15
Replied by andypugh on topic RPi 4B - No Desktop Icons

RPi 4B - No Desktop Icons

Category: Computers and Hardware

Is it possible that you have accidentally switched to a different "workspace"?
  • andypugh
  • andypugh's Avatar
Today 20:14
Replied by andypugh on topic Post process Fusion 360 lathe

Post process Fusion 360 lathe

Category: Fusion 360

G71 and friends exist mainly as an alternative to CAM, to make hand-coding easier.
I don't know of any CAM system that generates G71 (which isn't to say that there aren't any). But I don't think much would be gained from doing so.
  • kostas
  • kostas's Avatar
Today 20:07

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

I tried riocore with a Tang nano 9k last year, when I first read about it. I loved the idea and I think you have done a fantastic job so far.
So a big thank you, although I have not done anything productive with LinunxCNC and riocore yet, mainly because I already have some Mesa cards that I use in my machines and not the time that I would like to have to start experimenting with a fun project with riocore. I love the idea that for simple projects I could potentially use riocore with a cheap FPGA board though, so hopefully I'll do this in the near future!

I have a project in mind right now though, that would ideally use a microcontroller for sending commands to the FPGA for driving two motors and I would like to know if I could potentially connect an ESP32-S3 or ESP32-P4 that I already have. I'm only familiar with Arduino framework so far and I tried to dive further in ESP-IDF in the past but that was more hard for my current experience. Do you think it would be possible and fairly simple to communicate an ESP32 board with the Tang nano over SPI, like your LinuxCNC driver does?

Kostas
  • andypugh
  • andypugh's Avatar
Today 20:07
Replied by andypugh on topic heure et date

heure et date

Category: Français

The standard LinuxCNC disk image does not, as far as I know, disable WiFi. You should be able to get the time in the usual way.
  • jblanscett
  • jblanscett
Today 18:47
Replied by jblanscett on topic Trying to set up position control mode

Trying to set up position control mode

Category: HAL

Okay, we will try to confirm that it is our servopack.

Does anybody have experience with position control mode on the SGDH-10AE or another Yaskawa sigma II series servopack?
  • jtrantow
  • jtrantow
Today 17:57

hm2_modbus pktuart, probably a firmware request?

Category: Driver Boards

FYI, when I ran my full configuration the vfd would work correctly at startup but would fail after several commands. Sometimes after homing, sometimes after MDI commands, but seemed to lock up and stop sending commands to the VFD. No errors reported in hm2_modbus and did not recover after set/clr the modbus reset.

I looked at git repo and saw several updates after the 2.9.8 tag. I have not noticed any lockups since installing and running the RIP master. I do get a few dialog errors about PDU too small while running but I don't lose control of VFD.
  • andrax
  • andrax's Avatar
Today 17:29 - Today 17:32

Setting up the Stepperonline A6 battery encoder cable

Category: EtherCAT

Hello everyone,

As most of you know, Stepperonline A6 servos have 17-bit multiturn encoders. 
Encoder cables with battery boxes are also available for these servos. The cables are supplied with batteries.
When these cables are used, the servos become multi-turn absolute value encoders and the reference run is no longer necessary.

Here is a step-by-step guide on how to set up the servos after installing the cables.

1. Switch on the servo.
2. Set parameter C00.07 > 2 (linear mode, absolute position).
3. The servo displays error ER20.8.
4. Set parameter F31.10 > 4.
5. Switch the servo off and on again.
6. Perform a reference run.
7. The .hal and .ini files must be adjusted.

I recommend commenting out the relevant sections.

HAL:
remove or  recommend commenting from all joints: 
 => cia-statusword
and remove or  recommend commenting section #CIA Custom Homing

INI:
remove or  recommend commenting
[EMCMOT]
# HOMEMOD=cia402_homecomp

[JOINT]
HOME_ABSOLUTE_ENCODER     = 2
HOME             = 0
HOME_OFFSET         = 0 
HOME_SEQUENCE         = 0
HOME_SEARCH_VEL     = 0 
HOME_LATCH_VEL         = 0
HOME_IGNORE_LIMITS    = YES

# only for homing
#HOME                 = 0
#HOME_OFFSET             = 0.0
#HOME_SEQUENCE             = 2                 
#HOME_SEARCH_VEL        = 1
#HOME_LATCH_VEL            = 1
#HOME_IGNORE_LIMITS        = YES
#CIA402_HOMING_ENABLED         = 1
#CIA402_HOMING_METHOD        = 4
#CIA402_HOMING_SEARCH_VELOCITY    = 300000
#CIA402_HOMING_LATCH_VELOCITY    = 30000
#CIA402_HOMING_ACCELERATION    = 131072

Now, all you have to do is press the home button after switching on the machine, and all axes are immediately referenced.

That's it.

 
  • JT
  • JT's Avatar
Today 17:00
  • PCW
  • PCW's Avatar
Today 16:33

Request: Custom 7C80 bitfile - Replace StepGens 0, 1, 2 with PWMGens (TB7, TB8,

Category: Driver Boards

 

File Attachment:

File Name: 7c80_3pd.zip
File Size:86 KB



Note that to get 0 PWM at startup or watchdog bite you may need to

1. Chose the output polarity that is 0 at startup ( I think this is the - pin )

2. Invert the PWM output in HAL
 
  • Finngineering
  • Finngineering
Today 15:43
Replied by Finngineering on topic XHC WHB04B development?

XHC WHB04B development?

Category: General LinuxCNC Questions

Yeah, it appears libusb_context is defined in libusbi.h, which is not part of the normal "distribution package". I missed that. There are several compilation defines/options for libusb, which makes a bit more difficult to understand exactly what is happening. But I do think that your libusb_set_log_cb() should have done the trick (unless for some of those compile time options).

It was a little bit strange from the start that it succeeded to print that debug message and only afterwards seemed to hang (which we now know was a segault). I wonder if there could be something wrong with the handling of variadic (=any number of) arguments, which messes up the stack and in the end gives the segfault.

I had a second look at the issue you created a couple of years ago. And yeah, already there you identified libusb as a problem. I don't think really put much thought into that the first time I read it.

Hannes have made a pull request which is waiting to be accepted into LinuxCNC. Andypugh bought a similar pendant and will test the code once he receives the pendant. I guess if he is happy the PR will be accepted. Maybe in 1-2 weeks, is my guess.

I don't think it's possible to switch to manual mode while a program is running or paused. Which is what Hannes version checks for. I presume that if the program is running/paused, it needs to be stopped prior to making the mode change. But I have not verified that. If you are not having a program running/paused, then jogging should change to manual mode.
  • PCW
  • PCW's Avatar
Today 14:47

How to do wiring to generate quadrature encoder signal in Mesa 7i95 board

Category: Driver Boards

If you have an external device that does the A-D,
and it  can output a frequency proportional
to analog voltage, you can read that frequency
directly with an encoder input (set to counter mode
instead of quadrature mode)
  • PCW
  • PCW's Avatar
Today 14:36

Wiring Leadshine DM856 Ena+ and ENA- -> Mesa 7i76e

Category: Milling Machines

Yes, the PNP connection is correct for a 7I76E field output (With appropriate series resistor)

Note the the default operational mode for Step drive enable inputs is disabled when powered
(which is the exact opposite of the desired operation from a safety standpoint)

Unless you can reverse this (so they are enabled when the enable input is powered)
You may need to add an external relay.
Displaying 1 - 15 out of 18405 results.
Time to create page: 0.266 seconds
Powered by Kunena Forum