Advanced Search

Search Results (Searched for: )

  • Hakan
  • Hakan
Today 08:38

Separating CiA402 Logic from EtherCAT (lcec): Modular Adapter + Drive Stub Valid

Category: EtherCAT

Have you looked at splitting the function one more step?

state-machine (bringing to op-enabled) : One component
op-mode module: Several components, csp, csv, homing, pv, pp, probing etc.

Looks appealing at first thought. Maybe switching between op-modes
and restoring position kills it though
  • Hakan
  • Hakan
Today 08:31

Ver 2.9.4 iso clean install Trouble when disabling EOE

Category: EtherCAT

You can always test the new version. It is actually very easy to make a backup
of the eeprom contents and later put it back if needed.
ethercat -p 0 sii_read > eeprom_backup.bin
ethercat -p 0 sii_write eeprom_to_restore.bin
We need TwinCAT to do the translation from ESI file to eeprom binary contents.
While there are some open-source tools for that too, the safest way is to use TwinCAT.
 
  • tcbmetalworks
  • tcbmetalworks
Today 08:19
Replied by tcbmetalworks on topic QTPLASMAC integrated cad/cam

QTPLASMAC integrated cad/cam

Category: Plasmac

with automatic nesting sheet metal tracking could be implemented pretty easily. keep track of ur scraps and steel inventory. set auto order to automatically send a email to the steel supply, would be pretty neat when it runs low.
  • tcbmetalworks
  • tcbmetalworks
Today 08:12
Replied by tcbmetalworks on topic QTPLASMAC integrated cad/cam

QTPLASMAC integrated cad/cam

Category: Plasmac

Here is the first rendition of the nesting feature, needs alot more work but its starting to get rolling. would be pretty revolutionary to have free automatic nesting. 



 
  • Aciera
  • Aciera's Avatar
Today 07:40
Replied by Aciera on topic QTPYVCP+VISMACH+LINUXCNC ROLLED INTO ONE?

QTPYVCP+VISMACH+LINUXCNC ROLLED INTO ONE?

Category: QtPyVCP

For an example on how to implement toolpath plotting in work coordinates using vtk see:
github.com/Sigma1912/vtk-vismach

'Capture()' embeds an invisible actor in the model that can then be used to track the transformation matrices for the tooltip and the work which can then be used to plot the toolpath.
  • amanker
  • amanker
Today 07:16
Replied by amanker on topic QTPYVCP+VISMACH+LINUXCNC ROLLED INTO ONE?

QTPYVCP+VISMACH+LINUXCNC ROLLED INTO ONE?

Category: QtPyVCP

Yes, You are absolutely right. Vismach is not important at all. I also think so. Thats why really few persons are using this.
If you can just give me initial lead which files I should look for? I tried to find vtk_backplot.py file in instalaltion but didnt find.
  • Finngineering
  • Finngineering
Today 07:08
Replied by Finngineering on topic XHC WHB04B development?

XHC WHB04B development?

Category: General LinuxCNC Questions

I'm fairly sure I fixed the 0.0035% bug I mentioned in the last post. Swapping two lines in the code should have been enough. Right now, I'm not aware of any real bugs in my firmware. I will continue using it with the dongle/pendant on the mill. But unless something comes up, I consider it good enough.

Unfortunately, I was mistaken about the bootloader version where the dongle firmware can more easily be read out. It is possible for versions before 2.40, but not with version 2.40 or 2.50. So right now there is no easy way to read out the whole firmware from the dongles.
  • rodw
  • rodw's Avatar
Yesterday 02:44
Replied by rodw on topic CiA 402 Folder Missing

CiA 402 Folder Missing

Category: EtherCAT

Take care. Mine is an adaptation, the original is here github.com/dbraun1981/hal-cia402/tree/main
  • rodw
  • rodw's Avatar
Yesterday 02:40

Just When You Couldn't Hate Government More

Category: Off Topic and Test Posts

Why could I guess the author from the topic?

:)

Interesting concept but its not a kernel function so how are they going to lock it in? Just uninstall the library
  • rodw
  • rodw's Avatar
Yesterday 02:32

Separating CiA402 Logic from EtherCAT (lcec): Modular Adapter + Drive Stub Valid

Category: EtherCAT

The bare bones CIA402 state machine looks like this:
// uncomment pins if enabled
/* --- CiA 402 Controlword Commands --- */
#define CMD_SHUTDOWN                0x0006 // Transition to Ready to Switch On
#define CMD_SWITCH_ON               0x0007 // Transition to Switched On
#define CMD_DISABLE_VOLTAGE         0x0000 // Disable power stage
#define CMD_QUICK_STOP              0x0002 // Emergency deceleration
#define CMD_DISABLE_OPERATION       0x0007 // Disable motor drive
#define CMD_ENABLE_OPERATION        0x000F // Enable motor drive (Power On)
#define CMD_FAULT_RESET             0x0080 // Reset fault on rising edge

/* --- CiA 402 Statusword States --- */
// Masked with 0x006F to extract the specific state bits
#define STATE_NOT_READY             0x0000
#define STATE_SWITCH_ON_DISABLED    0x0040
#define STATE_READY_TO_SWITCH_ON    0x0021
#define STATE_SWITCHED_ON           0x0023
#define STATE_OPERATION_ENABLED     0x0027
#define STATE_QUICK_STOP_ACTIVE     0x0007
#define STATE_FAULT_REACTION_ACTIVE 0x000F
#define STATE_FAULT                 0x0008


uint16_t update_cia402_state(config_data_t *d) {  // receives status.word ( d->status.raw)

        
	unsigned short currentState = d->status.raw & 0x006F; // removes all the bits we are not interested in
	
    switch (currentState) {
        case STATE_SWITCH_ON_DISABLED:
            d->control.raw = CMD_SHUTDOWN;
            break;

        case STATE_READY_TO_SWITCH_ON:
            d->control.raw = CMD_SWITCH_ON;
            break;

        case STATE_SWITCHED_ON:
            d->control.raw = CMD_ENABLE_OPERATION;
            break;

        case STATE_OPERATION_ENABLED:
            // Drive is active. Keep it enabled.
            d->control.raw = CMD_ENABLE_OPERATION;
            return 1;
            break;

        case STATE_FAULT:
            // Attempt to clear the fault
            d->control.raw = CMD_FAULT_RESET;
            break;

        case STATE_QUICK_STOP_ACTIVE:
            // Move back to disabled if quick stop was triggered
            d->control.raw = CMD_DISABLE_VOLTAGE;
            break;

        default:
            // For any unknown or intermediate state, default to a safe "Voltage Disable"
            d->control.raw = CMD_DISABLE_VOLTAGE;
            break;
    }

    return 0;
}

You should add some timeouts for error handling
  • rodw
  • rodw's Avatar
Yesterday 02:17

Thinking of moving my Plasma from Masso to LinuxCNC

Category: Plasma & Laser

Damn, I thought I may have had a thcad here in Brisbane but I looked and I don't.

If you have a THC that generates an up/down signal, you could use it if you set the right mode in qtplasmac. Looks like the pokeys may do that.

Totally untested but I do think my hypersensing component would probably be able to be modified to do ohmic and voltage sensing it does sense arc voltage but the scale is only 24.5 volts so it just stays on. with better scaling you probably could do both.



 
  • tar_san
  • tar_san
Yesterday 00:48

Ver 2.9.4 iso clean install Trouble when disabling EOE

Category: EtherCAT

Thanks a lot !

They also mentioned, "if you put this newest ESI , some of this problem will fixed."

( But LinuxCNC (IgH master) desn't have this function. And Yaskawa tools doesn't have upload ESI function to drive as default.)

They said also, this ESI file contains fixture for all versions of firmware.

In this case, do you think It is possible for TwinCAT to fix default ESI in ServoDrive , to make LinuxCNC work ?

I know I have to do it with my own risk and I may not need to do it if I found another solutions.

But I'm happy if I could get some hints for it...
  • gomond
  • gomond
Yesterday 00:38

Thinking of moving my Plasma from Masso to LinuxCNC

Category: Plasma & Laser

Hi all my name is Greg I have been watching this forum for years and this is my first post.

I built a CNC plasma 2 years ago and I used a Masso CNC v3 with their DTHC, as I couldn't get the after market ones to play nicely with it.
I have had nothing but trouble with this machine, yet I have a CNC router and a CNC mill using Masso's and they work great.
The Plasma on Masso is just immature and failure prone. I have built many Plasma cutters for friends using MyPlasm and it is about 1/8 the price and flawless .
I have been watching Rods videos and am very impressed with his results. So I bought a Mesa 7i96 card but I am now retired and a pensioner so I don't have the income like when I was working hence my question , can I implement THC and OHMIC on the existing board or use the ProKeys Fibre linked THC that I have from the Masso experiments and the CNC4PC Ohmic also left over?

Thanks Heaps for any advice 

Cheers Greg.

Arthurs Creek, Vic.
  • tar_san
  • tar_san
Yesterday 00:32
Replied by tar_san on topic Cannot JOG Plus/Minus move in TeleOp mode

Cannot JOG Plus/Minus move in TeleOp mode

Category: Basic Configuration

Sorry. Let me fix, I used 2.9.5 and 2.9.8.
I'm sure 2.9.5 have some bugs for jogs.
Displaying 1 - 15 out of 283318 results.
Time to create page: 1.916 seconds
Powered by Kunena Forum