Advanced Search

Search Results (Searched for: )

  • hhscott
  • hhscott
Today 07:18

PLC + LinuxCNC for industrial machine with simple HMI (non-G-code operators)

Category: General LinuxCNC Questions

I did an industrial project 5 years ago with the same control model as you are describing. I am by trade an industrial controls/mechanical engineer and I was contacted by a medical company seeking to automate the production of one of their products. After evaluation of the system requirements it was clear that one aspect of the system would need a CNC controller to run a 4 axis ultrasonic cutter while the bulk of the machine would require standard PLC controller elements. In addition to the CNC cutter section, the machine has 4 servo driven custom conveyors, a heat press laminator, various air cylinders, and a PID temp controlled 10KW heater platen.  It also uses an overhead projector that loads recipe driven images to direct the machine operator where to locate the raw materials on a circulating pallet.

The single most important requirement of the customer was that they wanted a machine that would be simple to operate so that the training to run the machine would be minimal.

I  reached out to this forum to help me understand what would be the best method to "blend" traditional industrial controls (PLCs, VFDs, HMIs, sensors, etc.) with LinuxCNC. Eventually, I landed on using Python as a "bridge" between LinuxCNC and the PLC/HMI. Python has an excellent and stable module called pymodbusTCP. With that module, python can reliably talk to virtually any industrial PLC or device that speaks modbus. The second module that makes it all work is the python linuxCNC module. It talks to a running instance of LinuxCNC and can get status information and it can command LinuxCNC . Using this custom python script that I wrote the system works without the machine operator having any knowledge of how to run a CNC machine or any G code whatsoever. When the system starts up, the python software bridge homes the CNC system and checks it for ready status. The operator simply selects which product code to run via the HMI. From there, the PLC tag with the product code is read by python through ModbusTCP. Then, the correct G-Code file for that cut pattern is automatically loaded into LinuxCNC. When the product leaves the laminator and arrives at the CNC cutter the PLC sets a bit that python reads. Python then tells LinuxCNC to run the G-Code file and it cuts the parts out. When LinuxCNC completes the cut cycle python gets the complete status bit and then it sets a bit in the PLC that lets the PLC know it's time to move the pallet to the next station.  The operator has zero direct interaction with LinuxCNC. This system has been running now for over 4 years and it runs every day producing thousands and thousands of parts. The customer is totally satisfied with the machine and they are now starting to talk to me about the need for a second one. Based on my experience, blending LinuxCNC with standard industrial controls methods and devices is an excellent way to achieve advanced machine control systems. I would highly recommend using Mesa Ethernet cards to offload the pulse generation from your LinuxCNC installation. The Mesa card I installed on this system has been flawless.
  • Stephan@work
  • Stephan@work
Today 06:17

Configure Mesa 7i96s and pktuart with Omron MX2 (wj200)

Category: Advanced Configuration

ohh yes,
I was searching for hm2_7i96s.0.*
But I used addf [HMOT](CARD0).read of my .ini variables in the beginning of my .hal file.
I will check it before work :)
  • NWE
  • NWE
Today 06:02
Replied by NWE on topic Forum Fehler, ... :-(

Forum Fehler, ... :-(

Category: Deutsch

What surprises me a little is that when the forum is unavailable, the other areas remain online without any problems.


hosted on a different server, if I'm correct:

$ dig www.linuxcnc.org
-- snip --
linuxcnc.org.        557    IN    A    69.163.143.134

​​​​​​​$ dig wiki.linuxcnc.org
-- snip --
wiki.linuxcnc.org.    1038    IN    A    69.163.143.134

$ dig forum.linuxcnc.org
-- snip --
forum.linuxcnc.org.    1988    IN    A    162.243.45.186
  • Muecke
  • Muecke's Avatar
Today 05:54
Replied by Muecke on topic Forum Fehler, ... :-(

Forum Fehler, ... :-(

Category: Deutsch

Yes it has been going on for a long time.
Very long latency, it is almost like it isn't using a RT kernel.
 


What surprises me a little is that when the forum is unavailable, the other areas remain online without any problems.
These include, among others:
* Downloads
* Search
* Documents
* Archives
* Community
* Wiki
* Source

This leads me to believe that it is actually only the forum itself that has a glitch and that the entire platform is not affected.

//
Was mich etwas verwundert: Wenn das Forum nicht erreichbar ist, sind die anderen Bereiche weiterhin problemlos online.
Dazu zählen unter anderem:
* Downloads
* Search
* Documents
* Archives
* Community
* Wiki
* Source

Das lässt mich vermuten, dass tatsächlich nur das Forum selbst eine Macke hat und nicht die komplette Plattform betroffen ist.
  • tar_san
  • tar_san
Today 05:50
Replied by tar_san on topic initramfs-tools error (sudo apt upgrade)

initramfs-tools error (sudo apt upgrade)

Category: Installing LinuxCNC

Thank you so much !!!

That works.
  • Muecke
  • Muecke's Avatar
Today 05:49

Umstieg von LinuxCNC + Mesa auf EtherCAT (Leadshine EL8 / Beckhoff) – Erfahrunge

Category: Deutsch

Oh ja, das hochgeladene Foto sieht tatsächlich ziemlich leer aus. Ich wollte das aber eher allgemein ausdrücken – zumindest so, wie ich es bisher aus Videos kenne.

Was mir aktuell noch fehlt, ist eine vernünftige Dokumentation. Mit kryptischen Dateien kann ich ehrlich gesagt nicht viel anfangen, wenn nicht klar erklärt ist, was was bedeutet und wie man welche Einstellungen vornimmt. Genau deshalb bin ich gerade stark am Überlegen, ob ein Umstieg für mich wirklich sinnvoll ist oder nicht.

Reizvoll finde ich das Ganze auf jeden Fall.

Einerseits mag ich es sehr, wenn ich meine Schalter direkt an der Hardware habe, diese entsprechend einstelle und die Kiste dann einfach funktioniert. Andererseits hat es auch seinen Reiz, alles über die Konfiguration am PC zu machen – allein schon, weil dann niemand versehentlich etwas an der Anlage verstellen kann. Das hat natürlich Vor- und Nachteile:
Wenn ich z. B. einen Treiber tauschen muss oder möchte, dann muss die komplette Konfiguration softwareseitig angepasst werden und nicht direkt am Treiber (Hardware selbst). Der Aufwand dürfte dann deutlich größer sein, schätze ich.

Aktuell spiele ich mit dem Gedanken, mir eine gebrauchte EL8 zu besorgen und damit einfach ein bisschen zu experimentieren. Das wäre vermutlich der beste Weg, um Erfahrung zu sammeln und die Lage realistisch einschätzen zu können.
  • weedsmoker
  • weedsmoker's Avatar
Today 05:03

hal.h in install image different then hal.h in github?

Category: Advanced Configuration

Hal.h in install image seems not to match hal.h in GitHub? I'm trying to modify the streamer component when I call it normally with no changes it works when I recompile and install the source code from github with no changes at all it refuses to run the function hal_export_functf that function is in hal.h on GitHub, but not in hal.h on the install image, that one only has hal_export_funct why is that and what should i do?
 
  • tommylight
  • tommylight's Avatar
Today 05:00
Replied by tommylight on topic initramfs-tools error (sudo apt upgrade)

initramfs-tools error (sudo apt upgrade)

Category: Installing LinuxCNC

In a terminal:
sudo rm /etc/{initramfs/post-update.d/,kernel/{postinst.d/,postrm.d/}}z50-raspi-firmware
sudo apt purge raspi-firmware
  • grandixximo
  • grandixximo's Avatar
Yesterday 04:49
Replied by grandixximo on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

Have been working on the S-curve, even when not posting here, YangYang is going to merge Ruckig, will see how mantainers react, it is MIT license, so we should be good, we don't need the pro version, and YangYang can fix it if needed, probably next week update on planner type 1
As for Planner Type 2 progress continues, I am now done with Feed Override phase, doing some cleaning up, and moving to Blending soon, arcs are working from curve9 from Tormach, planner type 2 also has ruckig but in uspace, which makes some things a bit more complex.
Progress is ongoing, thank you all for the support, and the testing, there will be new release to test probably next week.
  • fenton06
  • fenton06
Yesterday 04:37 - Yesterday 04:38

Linuxcnc & the Raspberry Pi (4 & 5) Official Images Only!!!

Category: Installing LinuxCNC

Looks like the Trixie issues repo got nuked, does anyone know what happened?
  • Salrodri
  • Salrodri
Yesterday 04:23

7i95t firmware brick because i flashed a 7i95 bitfile in the fallback

Category: Driver Boards

When I try the command on the command line I get this error

efx_run.py : The term 'efx_run.py' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ efx_run.py seveni95t.xml --flow program --pgm_opts mode=jtag
+ ~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (efx_run.py:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
  • Salrodri
  • Salrodri
Yesterday 04:15

7i95t firmware brick because i flashed a 7i95 bitfile in the fallback

Category: Driver Boards

I download the standalone programmer instead of the IDE.

I am using this JTAG,
www.amazon.com/dp/B0BKZ8X2C7?ref=ppx_yo2ov_dt_b_fed_asin_title

I am not sure how to connect
/RESET and /SS are these necessary?

This the error that I am getting.
According to efinity I should use bit files when using the JTAG and Hex when using SPI

Wed February 4 26 21:07:24 - Board Profile: Generic Board Profile Using FT4232
Wed February 4 26 21:07:26 - Valid device ID found: 0x00210A79
Wed February 4 26 21:07:26 - Board Profile: Generic Board Profile Using FT4232
Wed February 4 26 21:07:26 - Using FTDI URL (SPI = ftdi://0x0403:0x6011:1:3e/1, JTAG = ftdi://0x0403:0x6011:1:3e/2)
Wed February 4 26 21:07:26 - jtag programming started!
Wed February 4 26 21:07:26 - JTAG Programming on ftdi://0x0403:0x6011:1:3e/2
Wed February 4 26 21:07:27 - Programming 'C:/Users/srodriguez/Downloads/95tinit/95tinit/outflow/seveni95t.bit' via JTAG at freq 6.0 MHz
Wed February 4 26 21:07:27 - Device ID read from JTAG: 0x00210A79
Wed February 4 26 21:07:30 - ... finished with JTAG programming
Wed February 4 26 21:07:30 - Detecting device status...
Wed February 4 26 21:07:33 - Failure to configure was detected
  • Bansardo
  • Bansardo
Yesterday 03:36
Replied by Bansardo on topic Can the OPI5 be Configured to Run LCNC?

Can the OPI5 be Configured to Run LCNC?

Category: Computers and Hardware

For those who like it, I've got an Armbian image ready with Linux 6.17 Cinnamon which is ready to go.
drive.google.com/drive/folders/1_WMbZC0k...ceNNI?usp=drive_link

Last core already isolated
Included sata overlay (which had to be adjusted)
LinuxCNC installed
HDMI audio works
GPU acceleration works
VPU acceleration doesn't work in the web browsers, 1080p on YouTube works fine
IRQ of ethernet automatically pinned to core 5
 

Greetings, it's great job you done! Can you suggest to run it on OrangePi 5 plus?
  • PCW
  • PCW's Avatar
Yesterday 03:01

7i95t firmware brick because i flashed a 7i95 bitfile in the fallback

Category: Driver Boards

Our initialization script does the programming from the command line:

efx_run.py seveni95t.xml --flow program --pgm_opts mode=jtag

Pretty sure use this uses a .hex or .bit file (in the outflow directory)
 
  • rodw
  • rodw's Avatar
Yesterday 02:59

Stepperonline Y series/ YAKO YKD2608PE configuration

Category: EtherCAT

the pin names in your XML are what are used in hal. Yours are completely different so it won't work. Bring them into line. 
Displaying 1 - 15 out of 19504 results.
Time to create page: 0.215 seconds
Powered by Kunena Forum