Advanced Search

Search Results (Searched for: )

  • spumco
  • spumco
02 Apr 2026 19:26
Replied by spumco on topic CSS/G96 for other than X-axis?

CSS/G96 for other than X-axis?

Category: Advanced Configuration

What would be needed here is to have the _interpreter_ reject the axis word which was disabled. 



So the NML description in the LCNC manual isn't accurate? Or perhaps not exactly clear what happens?
8.10. DEACTIVATE_JOINTThe DEACTIVATE_JOINT command turns off all the calculations associated with a single joint, but does not change the joint’s amp enable output pin.

I would have thought 'turns off all the calculations..." would have removed that joint/axis from the TP calcs entirely.  
  • spumco
  • spumco
02 Apr 2026 18:20
Replied by spumco on topic CSS/G96 for other than X-axis?

CSS/G96 for other than X-axis?

Category: Advanced Configuration

On second thought it probably wont work like that  I can't have "v" defined in case-0 as well as an 'unused coordinate.'

But maybe there's a way to define the motion math of case 1  pos->v= j[0]; so that no motion results regardless of input.
 
  • spumco
  • spumco
02 Apr 2026 18:14
Replied by spumco on topic CSS/G96 for other than X-axis?

CSS/G96 for other than X-axis?

Category: Advanced Configuration

I wonder if this could be done through the switchkins component.

Do you think LCNC would throw an error if I just left joint-0 out while operating under Case 1? 

Instead of this:
case 0:
            pos->tran.x = j[0];
            pos->tran.z = j[1];
            pos->c      = j[2];
            pos->v      = j[3];
            break;
        case 1:
            pos->tran.x = j[3];
            pos->tran.z = j[1];
            pos->c      = j[2];
            pos->v      = j[0];
            break;
    }
    // unused coordinates:
    pos->a = 0;
    pos->b = 0;
    pos->u = 0;
    pos->w = 0;

Maybe this:
case 0:
            pos->tran.x = j[0];
            pos->tran.z = j[1];
            pos->c      = j[2];
            pos->v      = j[3];
            break;
        case 1:
            pos->tran.x = j[3];
            pos->tran.z = j[1];
            pos->c      = j[2];
           break;
    }
    // unused coordinates:
    pos->a = 0;
    pos->b = 0;
    pos->v = 0;
    pos->u = 0;
    pos->w = 0;

And do something similar for the inverse later in the comp.

​​​​​​​
  • Aciera
  • Aciera's Avatar
02 Apr 2026 17:53
Replied by Aciera on topic CSS/G96 for other than X-axis?

CSS/G96 for other than X-axis?

Category: Advanced Configuration

What would be needed here is to have the _interpreter_ reject the axis word which was disabled. So just like if the operator used an axis letter that was not configured in the ini file. Any MDI or gcode program line containing the disable axis letter would create an error 'Bad character x used'.

Unfortunately I do not know how to dynamically pass the disabled axes to the interpreter during runtime.
  • Aciera
  • Aciera's Avatar
02 Apr 2026 17:44
Replied by Aciera on topic CSS/G96 for other than X-axis?

CSS/G96 for other than X-axis?

Category: Advanced Configuration

Not sure if there is an easier way of trying this but I inserted the the actions of 'EMCMOT_JOINT_ACTIVATE' / 'EMCMOT_JOINT_DEACTIVATE' (ie set/reset 'SET_JOINT_ACTIVE_FLAG' for a specific joint :
 

into 'EMCMOT_SPINDLE_ON' / 'EMCMOT_SPINDLE_OFF':

 
 


Which lets me clear 'joint.1.active' using the spindle control but it does basically the same as disabling the drive as 'joint.1.pos-cmd' is still updated as the axis is jogged or commanded through the interpreter:

 

The problem with the following error when reactivating the joint remains the same as if it was done in hal or the drive disabled. 
 
  • Hakan
  • Hakan
02 Apr 2026 17:21
Replied by Hakan on topic Ethercat SDOS to XML

Ethercat SDOS to XML

Category: EtherCAT

After you set it the first time, does it disappear from the sdos listing or does it just become read-only?
  • andrax
  • andrax's Avatar
02 Apr 2026 16:56
Replied by andrax on topic Ethercat Setup help needed for beginner

Ethercat Setup help needed for beginner

Category: EtherCAT

A servo of this size is not a toy.
The “Servo On” or “Enable” signal comes from the controller (PLC / lcnc).
The emergency stop and limit switches are hardwired.
  • andrax
  • andrax's Avatar
02 Apr 2026 16:51
Replied by andrax on topic Ethercat SDOS to XML

Ethercat SDOS to XML

Category: EtherCAT

Have you tested the module in Twincat yet?
If it runs without any issues there, you could use Wireshark to monitor the communication. Maybe that will turn something up.
  • Finngineering
  • Finngineering
02 Apr 2026 16:02
Replied by Finngineering on topic XHC WHB04B development?

XHC WHB04B development?

Category: General LinuxCNC Questions

I imagine that you will be satisfied with the updated xhc-whb04b-6 component by hdiethelm, which allows the pendant to reconnect in case it disconnects (as well as several other improvements). But you need to compile it from source, same as building LinuxCNC from source (which is not all that difficult). He made a backport to LinuxCNC 2.9.8:
github.com/hdiethelm/linuxcnc-fork/tree/...x-v2_backport-v2.9.8
So basically git clone that repository, checkout xhc-whb04b-6-fix-v2_backport-v2.9.8 and then compile. I don't know about exact version compatibility, but I don't think you actually need to use v2.9.8 to run the component. You can just give the full path to the newly built compnonent binary in the loadrt command.

I made a custom firmware for the USB dongle that I use myself, but I can't really recommend that for others. There is a decent risk that it would irreversibly break your dongle in case the hardware is slightly different than what I have.

I don't know your proficiency with git and compiling LinuxCNC from source. Just ask if my somewhat terse instructions are not clear to you.
  • jefsaro
  • jefsaro's Avatar
02 Apr 2026 15:49
Replied by jefsaro on topic new probe

new probe

Category: General LinuxCNC Questions

desoler , je ne comprend pas ,car j 'ai bien le signal dans la config de hal
  • spumco
  • spumco
02 Apr 2026 13:23
Replied by spumco on topic CSS/G96 for other than X-axis?

CSS/G96 for other than X-axis?

Category: Advanced Configuration

I'm not aware of a way to block the operator from commanding a move of a particular axis. Would be a handy feature to have.


Appreciate you having a think about it.

I'd like to experiment with that NML message I found (DEACTIVATE_JOINT).  If I can deactivate joint-0 near the beginning of the sub-spindle transfer process I can simplify the parting-slide jogging disable (which happens later in the overall sequence).

Any idea how I can send an NML message to LCNC?

Maybe it's done via python interface, but I don't see anything obvious in the LCNC manual section on python-interface that includes that specific command.
 
  • Aciera
  • Aciera's Avatar
02 Apr 2026 12:47
Replied by Aciera on topic CSS/G96 for other than X-axis?

CSS/G96 for other than X-axis?

Category: Advanced Configuration

Any ideas how to no-kidding stop an axis from being moved without disabling the drive? like DEACTIVATE_JOINT or something?


I'm not aware of a way to block the operator from commanding a move of a particular axis. Would be a handy feature to have.

- I use Gmoccapy where the onscreen jog buttons can be hidden and only physical jogging through hal pins needs to be handled.
- MDI entries are more involved as one would need to parse all commands that an operator enters, still possible without too much effort.
- Rehoming can be handled using 'motion.homing-inhibit'.

Still leaves program execution and any mdi commands that are not coming from the gui entry.
  • rodw
  • rodw's Avatar
02 Apr 2026 12:32
Replied by rodw on topic Ethercat SDOS to XML

Ethercat SDOS to XML

Category: EtherCAT

Any clues in syslog?

noe that I saw. I think the slave may misbehave. in some places it says you can't change values once they are set
  • jschulze
  • jschulze
02 Apr 2026 11:53
Replied by jschulze on topic Free Cincinatti Milacron - UK

Free Cincinatti Milacron - UK

Category: User Exchange

For what it's worth, I retrofitted a similar machine with this control with Yaskawa servo/drives and it was pretty straight forward with Mesa hardware. So a retrofit should be pretty easy if anyone is thinking about this machine.
  • cekaa
  • cekaa's Avatar
02 Apr 2026 11:13

Hello, I would like to add an EtherCAT IO device. What should I do

Category: EtherCAT

Hi, I have the same problem. How did you switch to XML OP mode? 
Leidshine em32dx-e

ceka@debian:~$ ethercat slave
0  0:0  OP     +  XINJE-DS5C1 EtherCAT(CoE) Drive Rev4.0 v3.7.70
1  0:1  OP     +  XINJE-DS5C1 EtherCAT(CoE) Drive Rev4.0 v3.7.70
2  0:2  OP     +  XINJE-DS5C1 EtherCAT(CoE) Drive Rev4.0 v3.7.70
3  0:3  PREOP  E  EM32DX-E4
ceka@debian:~$

main xml

 
slave idx="3" type="generic" vid="0x00004321" pid="0x01100073" configPdos="true">
      <dcConf assignActivate="300" sync0Cycle="*1" sync0Shift="0"/>     
      <syncManager idx="2" dir="out">
        <pdo idx="1600">            
            <!-- Digtial Outputs (RTEC1616)-->
          <pdoEntry idx="0x7000," subIdx="01" bitLen="16" halType="complex">
            <complexEntry bitLen="1" halPin="out-01" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-02" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-03" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-04" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-05" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-06" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-07" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-08" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-09" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-10" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-11" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-12" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-13" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-14" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-15" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-16" halType="bit"/>
          </pdoEntry>  
          
      </pdo>
      </syncManager>      
      <syncManager idx="3" dir="in">
        <pdo idx="0x1a00,">    
          <!-- Digtial_inputs  -->
          <pdoEntry idx="0x6000," subIdx="01" bitLen="32" halType="complex">
            <complexEntry bitLen="1" halPin="in-01" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-02" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-03" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-04" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-05" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-06" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-07" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-08" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-09" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-10" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-11" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-12" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-13" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-14" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-15" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-16" halType="bit"/>    
           </pdoEntry>  
        </pdo>
      </syncManager>   
       </slave>
</master>
</masters>  


 
Displaying 121 - 135 out of 17424 results.
Time to create page: 0.551 seconds
Powered by Kunena Forum