Advanced Search

Search Results (Searched for: )

  • PCW
  • PCW's Avatar
12 Apr 2025 01:02
Replied by PCW on topic 7i92 firmware issue

7i92 firmware issue

Category: Driver Boards

I think that message usually means some issue with the script
 I get:

peter@peter-HP-EliteDesk-800-G1-USDT:~/Downloads$ ./getmac
Old MAC Addr: 00601B168000

peter@peter-HP-EliteDesk-800-G1-USDT:~/Downloads$ ./newmac
Old MAC Addr: 00601B168000
New MAC Addr: 00601B160801

Reseting Ethernet CPU
waiting for reset
Old MAC Addr: 00601B160801

what does

./setmac

reply

it should be

peter@peter-HP-EliteDesk-800-G1-USDT:~/Downloads$ ./setmac

Interface not in Environment



 
  • unknown
  • unknown
12 Apr 2025 00:44 - 12 Apr 2025 00:57
Replied by unknown on topic 7i92 firmware issue

7i92 firmware issue

Category: Driver Boards

./newmac: line 8: ./setmac: Text file busy
Reseting Ethernet CPU
waiting for reset
./newmac: line 14: ./setmac: Text file busy


Is that a worry ? Or is that due to network latency ?
Board is behind a switch and I'm working on a laptop connect via wifi, I can ping and readhmid with mesa flash ok

I used ./setmac 00123456789A in the script

Dumb me I should have sourced the file. All is good.
  • PCW
  • PCW's Avatar
12 Apr 2025 00:11
Replied by PCW on topic 7i92 firmware issue

7i92 firmware issue

Category: Driver Boards

12 hex characters (this is from an initialization script so the
last three characters (the $1) are supplied on the command line

that is:

./setmac 00123456789A

etc

Note that "00601B" is Mesas range
  • unknown
  • unknown
12 Apr 2025 00:02
Replied by unknown on topic 7i92 firmware issue

7i92 firmware issue

Category: Driver Boards

Wow thanks Pete, was just thinking about how to do this. I really think I owe you a few beers.

Another question, if I may.
[/code]./setmac 00601B168$1/[code]

What's the format for the MAC ?
  • Lcvette
  • Lcvette's Avatar
11 Apr 2025 23:34
Replied by Lcvette on topic config tool setter

config tool setter

Category: QtPyVCP

Post your var file
  • Hakan
  • Hakan
11 Apr 2025 23:06
Replied by Hakan on topic ETHERCAT WAIT SYNC

ETHERCAT WAIT SYNC

Category: EtherCAT

Is it the same if you just install the ready apt package with ethercat instead of building ethercat master yourself?
  • andypugh
  • andypugh's Avatar
11 Apr 2025 22:56
  • PCW
  • PCW's Avatar
11 Apr 2025 22:45
  • sin-do-re
  • sin-do-re
11 Apr 2025 22:43

EtherCAT + 7i96s for encoder input and analog output

Category: EtherCAT

Hello 
I have managed to get a few motors running with etherCAT, but I still need a simple I/O system with analog out and encoder input, to use a mesa THCAD.

How is it feasible? Do I need a dual Ethernet card? 
The PCs I’m using have a single Ethernet port, so to run both mesa and ethercat I will need another Ethernet system, to have different NICs, right?

thank you.
  • Grotius
  • Grotius's Avatar
11 Apr 2025 22:25 - 11 Apr 2025 22:26
Replied by Grotius on topic ETHERCAT WAIT SYNC

ETHERCAT WAIT SYNC

Category: EtherCAT

Hi,

The corbett install uses systemctl to start & stop the ethercat bus.
In debian 12 & 13 i use /etc/init.d/ethercat start.

At what time is your ethercat bus started, at pc boot time?
  • Grotius
  • Grotius's Avatar
11 Apr 2025 22:12
Replied by Grotius on topic Running an external program from a HAL pin

Running an external program from a HAL pin

Category: HAL

@Pcw,

Yes, that should work.
Script below works.

$ halcmd -s show pin halui.estop.is-activated
prints:
halui bit   OUT FALSE halui.estop.is-activated

Then get the FALSE or TRUE in a script:

Warning: Spoiler!
  • PCW
  • PCW's Avatar
11 Apr 2025 21:51 - 11 Apr 2025 21:58

Running an external program from a HAL pin

Category: HAL

Another possibility would be a script with halcmd  in a loop,
watching the desired pin/signal  (halcmd -s show pin spindle.0.on | grep TRUE)
(this could also turn off the spindle if LinuxCNC was not running)
  • Grotius
  • Grotius's Avatar
11 Apr 2025 21:50

Connecting TURCK B20 Gateway through EtherLab EtherCat

Category: EtherCAT

Hi,

Here is a example project how to read & write to ethercat-master from any device.
I called the project twincat, because it is able to get and send info to the bus system.

The  ethercat-master source is slightly updated, It can print out more info as normal.
And the source had a nasty bug related to c code configuration wich i found.

This bug is still not resolved in etherlab master. I did tell them the bug, but i did not do a push request.

I think with this project you will be able to figur out how to use the TURCK device.
The project can print all details of the TURCK device. And you can send any data you want to the TURCK device.
1 bit send . Or 8bit, 16bit, and you can add more types if you need.
  • pgf
  • pgf
11 Apr 2025 21:39 - 11 Apr 2025 21:46

Running an external program from a HAL pin

Category: HAL

I run Home Assistant (open source, no cloud involved) which does a good job of managing the devices. It's not the interface to zigbee that's the issue -- it's the interface to HAL. :-)

Is the NML channel documented somewhere?   [ Edit:  Never mind, I found it.   No, I won't be going there...  ]
Displaying 16816 - 16830 out of 17635 results.
Time to create page: 0.659 seconds
Powered by Kunena Forum