Advanced Search

Search Results (Searched for: )

  • PCW
  • PCW's Avatar
10 Jul 2025 18:25
Replied by PCW on topic Fried my LinuxCNC Setup

Fried my LinuxCNC Setup

Category: General LinuxCNC Questions

I would think the simplest option would be a used PC with a parallel port
and one of those "Mach 5 Axis" parallel port breakouts. 

For a small amount of 5V, a safe option is to just use PC USB power
(which is what the "Mach 5 Axis" BOB does)
  • PCW
  • PCW's Avatar
10 Jul 2025 18:08
Replied by PCW on topic Noise issue related to mesa board 7I76E

Noise issue related to mesa board 7I76E

Category: Computers and Hardware

The mouse issue sounds like EMI so likely a grounding/line filter issue with the servo drives

Ethernet is much more EMI resistant than USB so that may be a latency issue.

To check network latency, run this:

sudo chrt 99 ping -i .001 -q -c 60000 [card_ip_addr]

Where [card_ip_addr] is either 192.168.1.121 or 10.10.10.10 depending on the 7I76E settings

This will run for 1 minute and print timing statistics
 
  • hitchhiker
  • hitchhiker
10 Jul 2025 17:15
Replied by hitchhiker on topic Issue 7i92 and Arduino Relay

Issue 7i92 and Arduino Relay

Category: Driver Boards

ok i missed the 4 lines


setp [HMOT](CARD0).gpio.028.is_output true
setp [HMOT](CARD0).gpio.029.is_output true
setp [HMOT](CARD0).gpio.028.invert_output true
setp [HMOT](CARD0).gpio.029.invert_output true

now i dont need the resistor!

both channels p1 p2 are pullup jumpered


guys! i thank you!

pcw & tommy you are both awsome guys thank you
  • PCW
  • PCW's Avatar
10 Jul 2025 16:58
Replied by PCW on topic Issue 7i92 and Arduino Relay

Issue 7i92 and Arduino Relay

Category: Driver Boards

If you have a 7I92T, you can change the GPIO resistors to be pullups or pulldowns
so for active high devices, you should select the pulldown option.
  • hitchhiker
  • hitchhiker
10 Jul 2025 16:52
Replied by hitchhiker on topic Issue 7i92 and Arduino Relay

Issue 7i92 and Arduino Relay

Category: Driver Boards

i saw i my other config that i done it how you said!

its a 7i92
now i have another machine with a 7i92t!

i check before solder action
  • my1987toyota
  • my1987toyota's Avatar
10 Jul 2025 16:42 - 10 Jul 2025 16:43
Replied by my1987toyota on topic Linux vs Windows value

Linux vs Windows value

Category: Off Topic and Test Posts

96GB of ram . Are you streaming the game play at the same time? I wana see.
  • hitchhiker
  • hitchhiker
10 Jul 2025 16:40
Replied by hitchhiker on topic Issue 7i92 and Arduino Relay

Issue 7i92 and Arduino Relay

Category: Driver Boards

I try to cross the Optocoupler and reverse the led..

i have a 7i92t
  • PCW
  • PCW's Avatar
10 Jul 2025 16:19
Replied by PCW on topic Issue 7i92 and Arduino Relay

Issue 7i92 and Arduino Relay

Category: Driver Boards

For a 7I92 (not 7I92T) you want the relay to be ground activated
as the 7I92 GPIO has pullups so will be high when LinuxCNC is not
running.

No 7I92 GPIO output will work until set into output mode, in addition
if the output is active low, you will likely want to invert the output
so a high hal signal activates the output. Something like:

setp [HMOT](CARD0).gpio.028.is_output  true
setp [HMOT](CARD0).gpio.029.is_output  true
setp [HMOT](CARD0).gpio.028.invert_output  true
setp [HMOT](CARD0).gpio.029.invert_output  true


 
  • hitchhiker
  • hitchhiker
10 Jul 2025 16:03
Replied by hitchhiker on topic Issue 7i92 and Arduino Relay

Issue 7i92 and Arduino Relay

Category: Driver Boards

good question!

#*******************
# SPINDLE
#*******************


# ---setup spindle control signals---

net spindle-vel-cmd-rps <= spindle.0.speed-out-rps
net spindle-vel-cmd-rps-abs <= spindle.0.speed-out-rps-abs
net spindle-vel-cmd-rpm <= spindle.0.speed-out
net spindle-vel-cmd-rpm-abs <= spindle.0.speed-out-abs
net spindle-enable <= spindle.0.on
net spindle-cw <= spindle.0.forward
net spindle-ccw <= spindle.0.reverse
#net spindle-brake <= spindle.0.brake
net spindle-revs => spindle.0.revs
net spindle-at-speed => spindle.0.at-speed
net spindle-vel-fb-rps => spindle.0.speed-in
net spindle-index-enable <=> spindle.0.index-enable

net spindle-cw => [HMOT](CARD0).gpio.028.out
net spindle-ccw => [HMOT](CARD0).gpio.029.out
net spindle-enable => [HMOT](CARD0).pwmgen.00.enable
net spindle-vel-cmd-rpm => [HMOT](CARD0).pwmgen.00.value

setp [HMOT](CARD0).pwmgen.00.scale [SPINDLE_0]MAX_OUTPUT

# ---Setup spindle at speed signals---

net spindle-at-speed <= [HMOT](CARD0).gpio.017.in_not



This is all about it.

BUT the relay works with GND to the IN Pin.

I try to change over cross the Optocoupler pins.
then 5v should activate the Optocoupler.

on a other machine i have a different relay.. this works but need a 220ohm resistor between gpio and gnd to dont activate the relay when linuxcnc is closed..

i read this in the forum anywhere and it works for me.. think when linuxcnc is closed the busdrivers all send high to every gpio. or i am wrong??

thanks
  • PCW
  • PCW's Avatar
10 Jul 2025 15:46
Replied by PCW on topic Issue 7i92 and Arduino Relay

Issue 7i92 and Arduino Relay

Category: Driver Boards

Is the 7I92 GPIO pin driving the relay set to output mode? 
  • tommylight
  • tommylight's Avatar
10 Jul 2025 15:34
Replied by tommylight on topic Issue 7i92 and Arduino Relay

Issue 7i92 and Arduino Relay

Category: Driver Boards

How are you testing them?
  • miniwini
  • miniwini's Avatar
10 Jul 2025 15:30 - 10 Jul 2025 15:35
Replied by miniwini on topic Omron MX2

Omron MX2

Category: EtherCAT

hey i got it working... wasnt that hard as i thought...

here my solution... 

the ethercat.xml file first... thats the easy part...
<masters>
  <master idx="0" appTimePeriod="1000000" refClockSyncCycles="1">
    <slave idx="0" name="EK1100" type="EK1100"/>
    <slave idx="1" name="EL1018_1" type="EL1018"/>
    <slave idx="2" name="EL1018_2" type="EL1018"/>
    <slave idx="3" name="EL2024_1" type="EL2024"/>
    <slave idx="4" name="EL2008_1" type="EL2008"/>
    <slave idx="5" name="EL2008_2" type="EL2008"/>
    <slave idx="6" name="EL2008_3" type="EL2008"/>
    <slave idx="7" name="3G3AX-MX2-ECT" type="OMMX2"/> 
  </master>
</masters>
with this you get all the pins into halshow



then you need to load the main ethercat stuff before the main ui... (ethercat.hal)
# ---------------------------------
# EtherCAT and IO HAL for LinuxCNC 2.9.4
# ---------------------------------

# Load EtherCAT configuration (User-space only!)
loadusr -W lcec_conf ethercat-conf.xml
loadrt lcec
addf    lcec.read-all            servo-thread
addf    lcec.write-all            servo-thread
then go to your machine halfile and add the nets and pins
#*******************
#  ETHERCAT SPINDLE - Ethercat mainstuff loaded with ini in ethercat.hal
#*******************

#Load conversions for speed and controlword
loadrt conv_float_s32 count=1
loadrt conv_float_u32 count=1
addf conv-float-s32.0 servo-thread
addf conv-float-u32.0 servo-thread
#Load mux2 for controlword
loadrt mux2 names=mux2.spindle-enable
addf    mux2.spindle-enable        servo-thread

#mux2 section
#Spindle OFF
setp mux2.spindle-enable.in0 10
#Spindle ON
setp mux2.spindle-enable.in1 15

#networking pins for start / stop

net pdnt.spindle.is-on => mux2.spindle-enable.sel
net spindel-conv conv-float-u32.0.in mux2.spindle-enable.out
net spindle-ctrl-cmd conv-float-u32.0.out => lcec.0.3G3AX-MX2-ECT.srv-cia-controlword
net pdnt.spindle.is-on <=  spindle.0.on  => mux2.spindle-enable.sel

#networking pins for speed

net spindlespeed spindle.0.speed-out conv-float-s32.0.in  
net speed_out conv-float-s32.0.out lcec.0.3G3AX-MX2-ECT.srv-target-vl
 
# ---Setup spindle at speed signals---

#sets spindle-at-speed true
this works for me :)

thanks again for all the done work in the past to make this so easy nowadays!

cheers miniwini
  • tommylight
  • tommylight's Avatar
10 Jul 2025 15:30
Replied by tommylight on topic Noise issue related to mesa board 7I76E

Noise issue related to mesa board 7I76E

Category: Computers and Hardware

Is everything on the machine and the PC grounded?
Is that grounding good? This is very hard to figure out, but give it a try.
  • hitchhiker
  • hitchhiker
10 Jul 2025 15:29
Replied by hitchhiker on topic Issue 7i92 and Arduino Relay

Issue 7i92 and Arduino Relay

Category: Driver Boards

yes same powersupply same GND and GND from the IDC parallel.


the relays work when i power them and put GND to the IN pin.
  • tommylight
  • tommylight's Avatar
10 Jul 2025 15:25 - 10 Jul 2025 22:09
Replied by tommylight on topic Linux vs Windows value

Linux vs Windows value

Category: Off Topic and Test Posts

People will just want a turnkey solution,...

This is what really pisses me off, Linux is the turnkey solution, not windows.
This my main PC has Ryzen 7 7700, RX6800, 96GB RAM, etc, i install Linux in about 3 minutes, reboot and use the PC as everything works.
For any windoze that would be at least 40 minutes to 2 hours for windows, another hour or two for drivers with many reboots, and then software for ... everything!
I play occasionally Doom Eternal on Steam, yet no drivers are required!!! 120 FPS @ 3440X1440 with RT on.
Edit:
Not addressed at you, unknown, addressed at the internet as a whole as everyone on the net keeps repeating that same phrase. Sorry i just noticed it might come as personal, it is not.
Displaying 13246 - 13260 out of 16302 results.
Time to create page: 0.733 seconds
Powered by Kunena Forum