Advanced Search

Search Results (Searched for: )

  • manfrel
  • manfrel
17 Jul 2024 12:18 - 21 Jul 2024 09:43

Mesa 7i96s connected but inputs not working

Category: Driver Boards

Hello
I recently bought the Mesa 7i96s to upgrade my cnc machine.
I switched the jumper to change the ip address, powered it and connected it to my pc. I can ping it, and read the hostmot2 configuration with mesaflash, so far so good.
But then I realised that the end switches don't work. So I monitored the input pins under Hal configuration (LinuxCNC, axis 2.9.3) and then connected 5V from the board's power supply to the inputs, and no pin showed a response.
Is it me or the board that is at fault?
  • bkt
  • bkt's Avatar
17 Jul 2024 12:09 - 17 Jul 2024 12:10

emc.hh -- hal_priv.hh --- etc etc not find

Category: HAL

oh ... I check my past actions .... pakage manager is right ... so only 2.9.0 version is admitted .... but I've installed manually a deb package for 2.9.2 .... so now think need deb pacakge for 2.9.2 linuxcnc-uspace-dev ... where find it? ... sorry i'm not usual with forum and all update of Linuxcnc repositories ...

ŗdw my question is related to re-install deb package ... so can simply remove 2.9.2 linuxcnc istallation and than reinstall the correct version or need to remove ethercat too?

so now I have these situation in package manager (if note is quite clear because not possible install uspace-dev ... there is not 2.9.2 version):

 

plus in update manager have these one (can not update to 6.7 kernel ... not sure is rt-preempt one):

 

not know if can update without need to remake all again (mac adress, udev rules, 666 permission etc etc).

regards
  • rodw
  • rodw's Avatar
17 Jul 2024 12:00

emc.hh -- hal_priv.hh --- etc etc not find

Category: HAL

re ethercat, We just install the sources.list settings for apt so no software is installed. (unless you do it). So there should not be any need to remove the sources entries

Installing the mate desktop on Debian is nice
 
  • sprintertrd
  • sprintertrd
17 Jul 2024 11:57
Replied by sprintertrd on topic Mesa Configuration Tool

Mesa Configuration Tool

Category: Configuration Tools

Thanks for the explanation.

Result from apt-cache policy linuxcnc,

linuxcnc:
Installed: (none)
Candidate: (none)
Version table:

Which is strange as it is a fresh install of the current 2.9.3 iso.
  • rodw
  • rodw's Avatar
17 Jul 2024 11:53
Replied by rodw on topic Linuxcnc's Ethercat in Raspberry pi-5

Linuxcnc's Ethercat in Raspberry pi-5

Category: EtherCAT

This is for the 4B but you might be able to set the screen resolution in config.txt
pimylifeup.com/raspberry-pi-screen-resolution/
But this file might be in a sub folder
  • meister
  • meister
17 Jul 2024 11:26
Replied by meister on topic 3D printed stuff, showcase it here

3D printed stuff, showcase it here

Category: Additive Manufacturing

cute little print pieces you have there ;P

  • JT
  • JT's Avatar
17 Jul 2024 10:46
Replied by JT on topic Mesa Configuration Tool

Mesa Configuration Tool

Category: Configuration Tools

Hi JT,

Unfortunately Im not a programmer so I cant help you there but don't you create the file last when you hit save? Aren't all the items you enter placeholders for options that have been selected which will be saved into the file.

Only other suggestion I have is reorder the contents of the tabs so the workflow order is from top to bottom of the tab. IE; picking the default units would be the first item in the Machine Tab, then select Mesa card, then test card,
 

The Quick Start groupbox the "Default Metric" I've changed the button text to "New Metric Config" etc. to better describe what it does.
Unfortunately the arrangement of groupboxes is dictated by their size in an effort maintain the smallest footprint so Mesa CT works on all monitors. Hmm, I'll add a warning about over writing any data when a new config is selected.

To diagnose why you get the wrong LinuxCNC version I need you to open a terminal and copy the output from apt-cache policy linuxcnc

JT
  • viesturs.lacis
  • viesturs.lacis
17 Jul 2024 09:57 - 17 Jul 2024 12:13
Replied by viesturs.lacis on topic BLDC component with 8i20 - how to get to work?

BLDC component with 8i20 - how to get to work?

Category: Driver Boards

Peter could you please explain the relation of all the scale parameters?
There is max_output in PID module
There are several scale parameters for 8i20

I understand scale and max_output for PID when analog servodrives are controlled and then it is only one place to specify.
Now there are also scale values in 8i20. The motor has rated current of 11,7A. How do I translate it into these values? My conclusion is that playing with 8i20.current-scalemax  and pid.maxoutput does affect at what velocity does the runaway happen.
  • jjdege
  • jjdege's Avatar
17 Jul 2024 09:52
Replied by jjdege on topic Linuxcnc's Ethercat in Raspberry pi-5

Linuxcnc's Ethercat in Raspberry pi-5

Category: EtherCAT

HI
Just wanted to confirm that everything is working
I downloaded and installed the LinuxCNC file for Raspberry Pi 5
followed the stiky written by Rod for the EtherCAT drivers and everything works
my CNC moves like with the PC

 

 

the only thing you can't manage is the display
but it's all great
Thank you!
  • bkt
  • bkt's Avatar
17 Jul 2024 09:43

emc.hh -- hal_priv.hh --- etc etc not find

Category: HAL

think can remove linuxcnc 2.9.2 .... and install 2.9.0 ... from package manager is present two version .... so after can install -dev version ..... I hope.... only a think .... need to remove linuxcnc-ethercat too or not needed? Just remove and reinstall the right Lcnc 2.9.0 package?
@rodw Think you are the one of linuxcnc package so ask to you .... what is the right procedure? remove linuxcnc-etheercat and linuxcnc too or only the last one?
 
  • bkt
  • bkt's Avatar
17 Jul 2024 09:38

emc.hh -- hal_priv.hh --- etc etc not find

Category: HAL

If you can connect apt to  Debian 13 Trixie you will have access to 2.9.3 in the Debian repositories

seems some joke people made impossible modify apt on LMDE6 kernel 6.6 ..... discover only 3 days ago ... so need install manually
  • bkt
  • bkt's Avatar
17 Jul 2024 09:34

emc.hh -- hal_priv.hh --- etc etc not find

Category: HAL

@rodw
The following packages have unmet dependencies:
 linuxcnc-uspace-dev : Depends: linuxcnc-uspace (= 2.9.0~pre1+git20230208.f1270d6ed7-1) but 1:2.9.2 is to be installed
E: Unable to correct problems, you have held broken packages.

Is possible installa linuxcnc-uspace-dev for version 2.9.2 ??? because seems LMDE6 install that version from package manager ... and package manager show not possible install linuxcnc-uspace-dev ..... so need to be install manually i think

or install all again .... not easy in these case.

Debian .... I understand well .... but need a month to learn about it .... so prefer use what I know ....
  • thomaseg
  • thomaseg
17 Jul 2024 09:16
Replied by thomaseg on topic Safety relay and e-stop in LCNC?

Safety relay and e-stop in LCNC?

Category: Basic Configuration

Just to give a bit of "physical context", here is how it looks in "real life":
   
  • thomaseg
  • thomaseg
17 Jul 2024 09:10
Replied by thomaseg on topic Safety relay and e-stop in LCNC?

Safety relay and e-stop in LCNC?

Category: Basic Configuration

I'm using an ABB safety relay on my CNC converted mill (forum.linuxcnc.org/12-milling/50559-opti...mh50v-cnc-conversion) and I've set it up so that LinuxCNC feeds the e-stop circuit via an output on the Mesa board.

If LinuxCNC isn't up and running the e-stop cannot be reset. If the e-stop is triggered it can only be reset via my physical e-stop reset button, e-stop cannot be reset in software.

I'm using Delta B3 servos which have two different power connections on the servo drives, one connection for the logic section and one for the servo power section. The logic section remains powered all the time (per the Delta manual) but the servo power section is cut via contactors when an e-stop is triggered. The drives also have the e-stop signal connected to them so they can detect an e-stop and stop the servos using the built in brake resistor.

I really like the way you setup reacts. I cannot figure out if your safety relay can actually trip without LinuxCNC being on? From what i can see on your schematic the estop is wired to the drives + IO pin, but not the safety relay?

Your drives are better than mine. The way logic and power is seperated is very handy! Mine doesn't have that. Neither does my drives support external e-stop input since they run via EtherCAT.

pippin88 post=305449 userid=16922
Ha e you tried just setting it up in hal as an estop?

I have a simple estop button to LinuxCNC and when I reset the button LinuxCNC comes out of estop.
I still have to hit "power on" on LinuxCNC after reseting estop. This is generally recommended behaviour

Reseting estop should never result in immediate motion

Yeah, hitting "Power on" in LinucCNC is just fine, it makes good sense. And i agree that estop reset shouldn't restart motion, that is crucial!
I tried just simply setting the e-stop pin to emc-enable:
net estop lcec.0.DI03.din-0-not => iocontrol.0.emc-enable-in
...but this doesn't work and i also suspect that this isn't actually what i want :-)

rodw post=305452 userid=20660
There are two ways to do this. You can either run an external latch (which is a momentary switch) that resets the safety relay. In this case, you should connect a signal to a Linuxcnc input which is connected in hal to iocontrol.0.emc-enable-in This is the approach I took.
 


There is no need to press anything in Linuxcnc

I tried this simple approach with the above HAL-code, but this isn't working(at all)... maybe the emc-enable-in should be pulsed? I'm unsure how the internals of LinuxCNC works with these pins...

rodw post=305452 userid=20660
The other way is to  use iocontrol.0.user-request-enable instead of your external latch. Linuxcnc sends a pulse on this signal to act as the latch when the on screen estop is reset (S34 in the diagram).
When I researched this, this was compliant provided you isolated Linuxcnc (your controller) with redundant relays (K3 & K4). These needed to be force guided relays where a non conducting pin is forced between the contacts when they are triggered to ensure the contacts cannot become welded closed.


I should have posted a diagram in my previous post, but better late than never. This is my safety circuit:
 
 
I'm starting to think that i have to change this. So instead of the resetbutton(S6) goes directly to the safety-relay it actually goes to LinuxCNC. Then LinuxCNC is the only on that can reset the safety relay, just like in Unlogics case mentioned above. The question is then if should have an additional latch inside LinuxCNC or how should i structure the HAL?

A whole other can of worms is that the drives are connected via EtherCAT and uses CIA402, so i need to manage their state when the estop is reset. I have to re-initialize them after a reset, i'm not even sure this is doable via HAL logic...
  • Caffink
  • Caffink
17 Jul 2024 09:03
Replied by Caffink on topic Help understanding fundamentals of linuxcnc

Help understanding fundamentals of linuxcnc

Category: General LinuxCNC Questions

I think you have two types of jogging mixed up.

gmoccapy can jog with a screen button/arrow like most GUis

This is quite different than using an external encoder


You are right, I seem to have them mixed up. 

After some more reading, I might have cleared up some of the confusion regarding the basic concept of linuxcnc(hopefully).

Linuxcnc, or more specifically HAL and hal-pins are based on abstractions of real world hardware. So what you are doing on Linuxcnc is making a "virtual PCB", and soldering "virtual" connections between the hal-pins with net commands.

(This is a simplification).
For instance. Lets say you want to make a X-button that makes a stepper motor move, and that stepper motor is connected to a Mesa board.
1)That X-button pin Outputs Bit type(True of false), based on if it is pressed or not
2)Mesa Board has an input pin that accepts Bit type.
3)Then you connect the X-button pin with Mesa Board input pin with "net command" i.e(fictional example):
net x-btn-move x.button-pin => Mesa.Board-pin
4) You don't necessarily need to know how the Mesa Board communicates with the stepper motor, you just need to know that X-button-pin has to be connected to Mesa-board-pin, in order for the stepper motor to move.

Is this thought process correct?
 
Displaying 24691 - 24705 out of 25554 results.
Time to create page: 0.704 seconds
Powered by Kunena Forum