Advanced Search

Search Results (Searched for: )

  • Aciera
  • Aciera's Avatar
12 Aug 2024 15:53 - 12 Aug 2024 15:59

When can you use -not and when can you not use -not?

Category: HAL

Whether a component provides a '...-not' pin to invert a signal depends on the author of that particular component. You can use the 'Show HalConfiguration' tool to see all available hal pins loaded in your current config. Mesa provides those for many pins as a convenience but usually you will need to use a separate 'NOT' component that is included in the hal component library.

[edit]
Example:
#load the component
loadrt not
#start an instance
addf not.0 servo-thread

# usage
net your-signal                  <= some_pin_here           => not.0.in
net yoursignal-inverted     <=not.0.out => your_destination_pin
  • cncproject2024
  • cncproject2024
12 Aug 2024 15:44
Replied by cncproject2024 on topic Wiring limit switches to MESA 7i96s

Wiring limit switches to MESA 7i96s

Category: Computers and Hardware

So for these switches I've bought they need supplied with 24v to operate? Is 24v input not too high voltage for the 7i96s? Would it be possible to wire them in normally open to the output pins with no supply voltage to the switches. Then when the limit switch is hit, there is a 5v signal from the 7i96s which results in linuxcnc recognising that a limit switch has been hit? Sorry for all the questions. I'm working on this project as part of my internship and I am very close to the deadline and still not finished so I'm starting to panic.
  • Edi_48
  • Edi_48
12 Aug 2024 15:35
Replied by Edi_48 on topic USB Dongel wird nicht erkannt

USB Dongel wird nicht erkannt

Category: General LinuxCNC Questions

Hallo USB Reciever von WiXHc -WHB04B-4 ist defekt
  • slowpoke
  • slowpoke
12 Aug 2024 15:34 - 12 Aug 2024 15:37

When can you use -not and when can you not use -not?

Category: HAL

I'm a bit of a newbie with HAL logic, and I wanted to change a 2 input OR gate to a 3 input OR gate so that when I toggle machine power off the spindle would also stop in addition to any table motion related to the servo's.

Initially I tried driving the 3rd input to the OR gate with motion-enable-not and this did not work, so I added an inverter driven with motion-enable and then used the output of the inverter (named stop-the-spindle) to drive the 3rd input of the OR gate and that works.

It's not obvious to me when you can append a signal with "-not" to invert the signal and when you can't?
If there is an obvious more elegant solution to my approach, please let me know.

I have included the hal file, with the original 2 input OR commented out and the new 3 input OR with inverter implemented. "#A12"  highlights the changes. Also attached logic diagram that shows the change in magenta.
 


 

File Attachment:

File Name: postgui_20...8-12.hal
File Size:3 KB


 
  • besriworld
  • besriworld
12 Aug 2024 15:31
Replied by besriworld on topic OLD Lathe conversion to a CNC

OLD Lathe conversion to a CNC

Category: Turning

I made another video :)
Most likely I also have a problem with electrical noise. When I turn on the lubrication pump of the spindle, the screen flashes (the display is connected with an hdmi cable). Also in two weeks twice lost connection with 7i73


  • PCW
  • PCW's Avatar
12 Aug 2024 15:24
Replied by PCW on topic Wiring limit switches to MESA 7i96s

Wiring limit switches to MESA 7i96s

Category: Computers and Hardware

4 Limit/home switches should be enough since LinuxCNCs soft limits
will prevent travel past machine limits.

Typically you would wire limit switches in a normally closed (NC) configuration
to 7I96S isolated inputs with the 7I96S input common wired to GND

so

+24V --> Switch common  --> switch NC contact --> 7I96S input

Normally closed is used so that a broken wire will result in an immediate fault

With normally closed contacts, you need to invert the hal inputs for the switches
  • arijitdutta
  • arijitdutta
12 Aug 2024 15:14
  • mBender
  • mBender
12 Aug 2024 15:05

Yalang yl620 VFD rs485/modbus communication VFDmod or ClassicLadder

Category: HAL Examples

Quick Update! I have found a 12V Power supply in my control unit which created a lot of RS 485 connection issues. I have Tested it briefly with a new power supply and the connection seems to be stable. Further testing ongoing. If it's stable I am planning to integrate more features to the classic Ladder Version as soon as time allows.
  • scda
  • scda's Avatar
12 Aug 2024 14:43 - 12 Aug 2024 14:49

Mesa7i96s + 7i85 + pktv2 firmware for Huanyang VFD

Category: Driver Boards

Hi all

My retrofit control box is starting to take shape. I use a 7i96s + 7i85 (+7i84D smart serial) card. I would like to use the Mesa modbus  on the 7i96s' smart serial port for Modbus (to control my VFD).

Is there a firmware for that available or can someone compile one for me?

Do you think standard mesa modbus works with Huanyang VFD (since these VFDs don't use proper Modbus)? In the comp file I can only define the registers but not the whole data stream to be sent and received form the vfd.

Cheers,
David
  • Aciera
  • Aciera's Avatar
12 Aug 2024 14:23 - 12 Aug 2024 14:31
Replied by Aciera on topic From .iso to build

From .iso to build

Category: Installing LinuxCNC

but may be I got one dependency wrong as axis is complaining that there is a TCL error in async code:

Bad menu entry index "G-code properties..."


Looks like something related to a recent commit:
github.com/LinuxCNC/linuxcnc/issues/3065

[edit]
Actually there is a typo in that commit. Line 1786 in 'share/axis/tcl/axis.tcl' is missing an underscore before 'G-code':
IS
state {$taskfile != ""} {.menu.file "G-code _properties..."}
SCHOULD BE
state {$taskfile != ""} {.menu.file "_G-code _properties..."}
  • cmorley
  • cmorley
12 Aug 2024 13:54
Replied by cmorley on topic [QtDragon] Beginner Questions

[QtDragon] Beginner Questions

Category: Qtvcp

Yes qtdragon can embed panels in specific positons without modifying the main screen.
I would recommend building the panels in Qtvcp though.

Some of the qtdragon Sims have embedded panels as demonstration.. usually vismach graphics.
  • cncproject2024
  • cncproject2024
12 Aug 2024 13:43 - 12 Aug 2024 13:58
Wiring limit switches to MESA 7i96s was created by cncproject2024

Wiring limit switches to MESA 7i96s

Category: Computers and Hardware

I have bought 8 of these limit switches uk.rs-online.com/web/p/limit-switches/7768560 to use with my LinuxCNC machine. I was wondering how I wire them to a MESA 7i96s. The machine has 2 motors running on the x axis, 1 on the y axis and 1 on the z axis. Am I able to get away with just using 4 switches in total that will work for homing and as limit switches. Or should I use all 8 and have separate homing and limit switches. I assume that the switches get wired to the input pins on the mesa card. However, I don't see enough ground connections for them. Shoud I connect the common pin (the one besides the inputs) to a breadboard and then wire all the commons on the limit switch to it through that, while connecting the other pins of the limit switch to the respective input pins?Thanks
  • meister
  • meister
12 Aug 2024 12:15

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

Category: Computers and Hardware

Only source code I've had to change was for the board family to be recognized as a its high-speed C7/i6 type.

/riocore/riocore/boards/MecanixDev/board.json
[-] "family": "GW1N-9C",
[+] "family": "GW1N-9C7",

/riocore/riocore/generator/toolchains/gowin/toolchain.py
Line 103:
[+]  if family == "GW1N-9C7":
[+]  prj_data.append(f' <Device name="{family_gowin}" pn="{ftype}">gw1nr9c-017</Device>')

That was the reason my PIN03, PIN13, PIN 15 (high speed bank) was not working. The Gowin was always compiling for a C6/I5 fpga type :(
But allpins works now!!

fixed in the dev branch
  • rodw
  • rodw's Avatar
12 Aug 2024 12:12

Linuxcnc 2.9.2 and 2.93 images for Raspberry Pi 4b & 5

Category: Installing LinuxCNC

The first post has been updated to include images for 2.9.3.
The Pi 5 is tested and working.
Any feedback about the Pi4 would be appreciated
  • rodw
  • rodw's Avatar
12 Aug 2024 12:02

Linuxcnc 2.9.2 and 2.93 images for Raspberry Pi 4b & 5

Category: Installing LinuxCNC

updated for Linuxcnc 2.9.3 
Newer kernel 6.6.44
Better screen support for the Pi5
Now includes ethercat repos. Following the sticky in th eethercat section to install/

Pi 5 Image  drive.google.com/file/d/1iwQpbMoNdI6wnv7...MyZ/view?usp=sharing
Pi4 Image  drive.google.com/file/d/1Fg2CPTezUyrRFrO...ytT/view?usp=sharing  
 
Displaying 23281 - 23295 out of 25031 results.
Time to create page: 0.442 seconds
Powered by Kunena Forum