Advanced Search

Search Results (Searched for: )

  • bentiggin
  • bentiggin
Today 00:53
Replied by bentiggin on topic Hypertherm hsd130 interface

Hypertherm hsd130 interface

Category: Plasma & Laser

Thanks again
  • gardenweazel
  • gardenweazel's Avatar
Today 22:38
Replied by gardenweazel on topic Motor Driver Electrical Question

Motor Driver Electrical Question

Category: Basic Configuration

As always, thanks to all for your valuable feedback.
  • langdons
  • langdons's Avatar
Today 22:35
Replied by langdons on topic Pathpilot Reset Functionality

Pathpilot Reset Functionality

Category: PathPilot

Don't change the functionality, just streamline it.

You should probably change the ip from 0.0.0.0 to 127.0.0.1 or something.

Also, a nice http error message is arguably better than a console print.

Your Exceptions might be getting lost along the way somehow.

You should probably put another try/except in the ss_reset_route method just in case.
  • tommylight
  • tommylight's Avatar
Today 22:09
Replied by tommylight on topic Hypertherm hsd130 interface

Hypertherm hsd130 interface

Category: Plasma & Laser

I have the delay set to 0.2 or 0.3 always, depending on thickness, i would guess 80% of my machines are at 0.3.
  • kwanlokto
  • kwanlokto
Today 21:36
Replied by kwanlokto on topic Pathpilot Reset Functionality

Pathpilot Reset Functionality

Category: PathPilot

Good idea! I'll add a locking mechanism to the route and see if that helps. I do already have try-except wrapping the entire endpoint.

Since I'm modifying Tormach's code directly, I'm trying to keep changes minimal to avoid breaking PathPilot's core functionality.
  • kwanlokto
  • kwanlokto
Today 21:31
Replied by kwanlokto on topic Pathpilot Reset Functionality

Pathpilot Reset Functionality

Category: PathPilot

Pathpilot is v2.10.1

I would use Tormach's internal debugging system which would write to the status logs
self.error_handler.write("My message", ALARM_LEVEL_DEBUG). I wrapped the endpoint in a try catch block so that's why I'm also very puzzled. I do however run my flask application in development like this, so I'm not sure if I'm running into a locking issue:

class FlaskAppWrapper:
def __init__(self):
....
def run(self):
try:
threading.Thread(target=self.run_app_at_port, args=(mill_port,)).start()
except Exception as e:
print "error in threading: \n" + str(e) + "\n"

def run_app_at_port(self, port):
try:
self.app.run(host="0.0.0.0", port=port, threaded=True)
except Exception as e:
print "error has occurred when running flask: \n" + str(e) + "\n"
  • conman
  • conman
Today 21:30

Help with Inovance IS620N Servo Drive - Stays in PREOP

Category: EtherCAT

I got the files from this post
forum.linuxcnc.org/ethercat/55806-long-i...-drive-sv660n#337330

It was from a user hanz24 at the bottom of the first page. They too were using an inovance drive but a newer model.

I tried the 1. step but no luck. Maybe I am doing something fundamentally wrong.
  • COFHAL
  • COFHAL
Today 21:16
Replied by COFHAL on topic Comprar a mesaUs desde argentina

Comprar a mesaUs desde argentina

Category: Español

¿Que modelo?
  • Japoo_Ness
  • Japoo_Ness
Today 20:32
Comprar a mesaUs desde argentina was created by Japoo_Ness

Comprar a mesaUs desde argentina

Category: Español

Buenos días, espero que todos se encuentren bien.
Mi nombre es Santiago, Soy de Argentina.
Estoy buscando ayuda para poder comprar unas placas de Mesa electronics.
El problema es que al entrar en Mesanet estas no están disponibles.
El único proveedor que encontré bien fue mesaUS, el problema con estos es que no ofrecen envío hasta Argentina, sino dentro de estados unidos y otros países.
Quisiera saber y contactar alguien del país que haya comprado placas, o similares en el formato que se me da, que sería comprarlas en estados unidos e importarlas por otro proveedor.
Desde ya muchas gracias.
Espero su respuesta.
¡Saludos!
  • Hakan
  • Hakan
Today 20:23

Help with Inovance IS620N Servo Drive - Stays in PREOP

Category: EtherCAT

Good, the UNMATCHED datagrams are gone. One more step done.

Nobody needs that xml file, maybe some geek is looking at it. Linuxcnc doesn't use it,
it can read all necessary info from the drive.

So what I look at are the lines
[ 1652.582304] EtherCAT ERROR 0-0: Failed to set SAFEOP state, slave refused state change (PREOP + ERROR).
[ 1652.583304] EtherCAT ERROR 0-0: AL status message 0x001E: "Invalid input configuration".
Invalid input configuration. It can be several things, but it has to do with the Syncmanagers and the PDOs.
You said you got the files from another post here, do you have a link to it?

When I look in that esi/xml file you attached I see that you use a PDO index of a fixed PDO, and it looks like you don't have the correct pdoentries in there. There are two things you can do.
1. Use a configurable PDO and put in the existing pdoentries in there.
Simply change
<pdo idx="1b01">
to
<pdo idx="1a00">

and switch
<pdo idx="1701">
to
<pdo idx="1600">

2. Put that right pdoentries in the 1b01 and 1701 pdos. Let's try 1. first.

 
  • langdons
  • langdons's Avatar
Today 19:46
Replied by langdons on topic Pathpilot Reset Functionality

Pathpilot Reset Functionality

Category: PathPilot

Instead of returning error codes, raise Exceptions, it's cleaner and makes more sense IMO.

Also, it makes the whole program more flexible.
  • langdons
  • langdons's Avatar
Today 19:45
Replied by langdons on topic Pathpilot Reset Functionality

Pathpilot Reset Functionality

Category: PathPilot

I also strongly recommend you put the entire method in a try/catch and have different error types return different HTTP error codes and the error message.

Not a Python expert, but this is an idea:
def ss_reset_route(self):
    try:
        # method code here
    except Exception as e:
        return Server_Response_Factory.create_server_response(500, "Could not reset mill.\n"+e)
    else:
        return Server_Response_Factory.create_server_response(200, "Mill successfully reset")

Reference Java code: github.com/pacman-admin/Repeat/blob/mast...mmon/HTTPLogger.java
  • conman
  • conman
Today 19:35

Help with Inovance IS620N Servo Drive - Stays in PREOP

Category: EtherCAT

I installed the r8125-dkms as my adapter was RTL8125
 Still no luck but the output for dmesg has changed slightly

cnc@debian:~$ sudo dmesg | tail -n20
[sudo] password for cnc: 
[ 1652.489972] EtherCAT: Requesting master 0...
[ 1652.489974] EtherCAT: Successfully requested master 0.
[ 1652.490017] EtherCAT 0: Domain0: Logical address 0x00000000, 26 byte, expected working counter 3.
[ 1652.490018] EtherCAT 0:   Datagram domain0-0-main: Logical offset 0x00000000, 26 byte, type LRW.
[ 1652.490026] EtherCAT 0: Master thread exited.
[ 1652.490027] EtherCAT 0: Starting EtherCAT-OP thread.
[ 1652.582304] EtherCAT ERROR 0-0: Failed to set SAFEOP state, slave refused state change (PREOP + ERROR).
[ 1652.583304] EtherCAT ERROR 0-0: AL status message 0x001E: "Invalid input configuration".
[ 1652.585313] EtherCAT 0-0: Acknowledged state PREOP.
[ 1688.768322] EtherCAT 0: Master thread exited.
[ 1688.768327] EtherCAT 0: Starting EtherCAT-IDLE thread.
[ 1688.768363] EtherCAT 0: Releasing master...
[ 1688.768365] EtherCAT 0: Released.
[ 1780.862489] lcec_conf[99761]: segfault at 2000000004 ip 00007f60bddcf07e sp 00007fff57a4c8b8 error 4 in libc.so.6[7f60bdc8e000+156000] likely on CPU 8 (core 10, socket 0)
[ 1780.862496] Code: 1f 84 00 00 00 00 00 0f 1f 44 00 00 89 f8 09 f0 c1 e0 14 3d 00 00 00 f8 0f 87 2e 03 00 00 62 e1 fe 28 6f 0f 62 b2 75 20 26 d1 <62> f3 75 22 3f 0e 00 c5 fb 93 c9 ff c1 74 53 0f 1f 00 f3 0f bc c9
[ 2094.078796] logitech-hidpp-device 0003:046D:4023.0006: hidpp20_batterylevel_get_battery_capacity: received protocol error 0x08
[ 4407.075631] EtherCAT 0: Master thread exited.
[ 4407.075653] EtherCAT 0: Releasing main device 34:5A:60:CB:87:79.
[ 4407.112827] ec_generic: Unloading.
[ 4407.182494] EtherCAT: Master module cleaned up.

What else can I try now?
Also, I got this device description file for my drive from the manufacturer. What do I do with this?

 

File Attachment:

File Name: IS620N-Eca....6.8.xml
File Size:441 KB
  • Sandro
  • Sandro
Today 19:20
Replied by Sandro on topic MonoKrom - QtPyVCP GUI for PlasmaC and Mill

MonoKrom - QtPyVCP GUI for PlasmaC and Mill

Category: QtPyVCP

Thank you Joco!

This works and I'm able to control my plasmacutter. I really like the interface.

I'm now only facing an issue loading g-code. I'm using the plasmac post processor for Sheetcam which outputs .tap files. When I load a file, I get the message “unknown word where unary operation could be”. I just assume, it has something to do with the filte section in my INI-File.
[FILTER]
PROGRAM_EXTENSION       = .ngc,.nc,.tap GCode File (*.ngc, *.nc, *.tap)
ngc                     = plasma_gcode_preprocessor
nc                      = plasma_gcode_preprocessor
tap                     = plasma_gcode_preprocessor

Is it possible, that the preprocessor cannot interpret my .tap. file?
  • skunkworks
  • skunkworks
Displaying 1 - 15 out of 22548 results.
Time to create page: 0.402 seconds
Powered by Kunena Forum