Advanced Search

Search Results (Searched for: )

  • andrax
  • andrax's Avatar
Yesterday 08:26
Replied by andrax on topic CiA 402 Folder Missing

CiA 402 Folder Missing

Category: EtherCAT

You wrote:
“It can be seen that 1C12h should be set to 1600h and 1C13h should be set to 1A00h to activate the variable PDO mapping.”
Set this if possible. Lcec will take care of the rest when linuxcnc starts up and set the correct addresses on the servo. This is the same for Stepperonline servos. 
You will then see the correct assignment when linuxcnc is running. If not,  you may have to set the assignment in the servos manually.

 
  • Hakan
  • Hakan
Yesterday 07:57 - Yesterday 08:53
Replied by Hakan on topic XHC WHB04B development?

XHC WHB04B development?

Category: General LinuxCNC Questions

I tried that already, there is no access to log_handler.
struct libusb_context is not defined, only the pointer to it.
I tried with 
            *mInitCout << "init  enabling reception ...";
            libusb_set_log_cb(getUsbContext(), nullptr, LIBUSB_LOG_CB_GLOBAL);
            libusb_set_log_cb(getUsbContext(), nullptr, LIBUSB_LOG_CB_CONTEXT);
            if (!enableReceiveAsyncTransfer())
in process(), but no change.
There was a new message when restarting the connection from 
core.c:         usbi_warn(_ctx, "device %d.%d still referenced",
and that didn't crash even if it uses the same underlying log_v function.
I leave it like that.

The problem has been the assert statement. But I tested to remove that some two years ago
(the github issue) and failed in the same way it does now. But in general the assert is what
people experience, I understood.

I'll test Hannes' version next.

Edit: Tested, it avoids the mode switching altogether. I think that is perfectly fine.
I don't expect to switch to Man mode and jog when I'm running a program. Could happen
by mistake even. If I feel a need to switch to Man I'll designate a button for that.
I have a vague memory I did that on the previous generation xhc.

Is it in a shape to go into linuxcnc repo? I think it should end up there.
  • Tony123
  • Tony123
Yesterday 07:57

Request: Custom 7C80 bitfile - Replace StepGens 0, 1, 2 with PWMGens (TB7, TB8,

Category: Driver Boards

Hi,

You are completely right. I took a step back and realized it makes much more sense to update my GUI to use a -100 to +100 slider so I can take advantage of the hardware direction.

So YES, please link the DIR pin to the PWM direction (your standard way).

Thank you for catching that and pointing me in the right direction!
  • suraj9735
  • suraj9735's Avatar
Yesterday 07:17

How to do wiring to generate quadrature encoder signal in Mesa 7i95 board

Category: Driver Boards

I need to control the feed override of the linear stage. Range is -10 volt to +10 volt. I want to keep 0 volt for 100 % feed override while -10 for 0 % override and +10 for 200 feed override. Resolution can be as good as possible, for now I can go with 0.001 Volt. This can be achieved if there is analog voltage input pin available in Mesa board. In my case I don't have analog pin in mesa 7i95 board. So, I planned to use 1 free encoder pin out of 6 in board. I also need to program in my Arduino or LabVIEW such that I can send fix number of pwm pulse to get the correct encoder count and map it successfully to +/- 10 Volt. Once it mapped correctly i want to bind the pulse count pin with feed override pin.

Please suggest how to do it the,  I'm looking for more than one approach to do the same and implement the simplest one. Because Mesa 7i87  board is not available in stock, so I'm looking for any similar board that can do my job.

Thanks.
  • AGUILE454
  • AGUILE454
Yesterday 06:17
Replied by AGUILE454 on topic Two Mesa 5I20

Two Mesa 5I20

Category: Driver Boards

Good morning,
thank you very much for your response. It's a good option, I'll keep it in mind.

Thank you very much.
  • Konstantin
  • Konstantin
Yesterday 05:25
Replied by Konstantin on topic CiA 402 Folder Missing

CiA 402 Folder Missing

Category: EtherCAT

But I cannot define PDO mapping in the drive itself. The control device i.e. the EtherCAT master should write the PDO mapping on startup.

I found a few ways of defining the SDO in drive from LinuxCNC - sdoconfig and initcmds.

What do you mean by adjusting the servo?
  • PCW
  • PCW's Avatar
05 Mar 2026 22:24

Request: Custom 7C80 bitfile - Replace StepGens 0, 1, 2 with PWMGens (TB7, TB8,

Category: Driver Boards

So you want the DIR pin to be GPIO rather than PWM direction?

( The PWM direction pin is controlled by the sign of the PWM value )
  • ihavenofish
  • ihavenofish
05 Mar 2026 21:45
Replied by ihavenofish on topic motion channels for robotic atc library

motion channels for robotic atc library

Category: General LinuxCNC Questions

thanks for the thoughts. ill be hopefully getting this ordered up in a few weeks. should be fun :)
  • jtrantow
  • jtrantow
05 Mar 2026 21:30

hm2_modbus pktuart, probably a firmware request?

Category: Driver Boards

Complete success with the lathe modbus communications. Much faster and works fantastic with the automatic gear detection. 

forum.linuxcnc.org/10-advanced-configura...tion-updated-for-vfd
  • tommylight
  • tommylight's Avatar
05 Mar 2026 21:29
Replied by tommylight on topic 7i92T and mx3660 request for help

7i92T and mx3660 request for help

Category: PnCConf Wizard

There is no "E-stop in" in your hal file, so LinuxCNC has no way of knowing if the button is pressed or not.
  • jtrantow
  • jtrantow
05 Mar 2026 21:24 - 05 Mar 2026 21:27
Replied by jtrantow on topic Commander SK VFD

Commander SK VFD

Category: General LinuxCNC Questions

I used the TangentAudio source code to build a driver for the Commander SK VFD, This worked, but when I implemented automatic gear detection, I found the updates were too slow. I was able to replace the user mode driver with hm2_modbus.

If anyone is still using a user mode driver and has a mesa card, you should consider replacing it with hm2_modbus and the CommanderSK.mbccs I posted in:

forum.linuxcnc.org/10-advanced-configura...dated-for-vfd#343921

 
  • ClarkSavage
  • ClarkSavage
05 Mar 2026 21:17
Replied by ClarkSavage on topic 7i92T and mx3660 request for help

7i92T and mx3660 request for help

Category: PnCConf Wizard

Ok, everything has settled, homes and I have a working machine but ESTOP external button versus software - the external button kills the mx3660 but does not trip in LinuxCNC

Played a little, read some, and am giving the following thinking someone may have the fancy answer.

ESTOP external is NC switch setup, has a NO side not using.

Machine enabled Halshow results:
  • ESTOP External OFF:     pin.003.in  RED
  • ESTOP External ON:     pin.003.in  RED
  •          pin.003.out              no change

    Software ESTOP:
    • OFF         pin.003.in                 RED
    • OFF         pin.003.in_not          YELLOW
    • OFF         pin.003.out              YELLOW
    • ON         pin.003.in                   RED
    • OFF         pin.003.in_not          YELLOW
    • OFF         pin.003.out               RED

      Understand from reading that the output/input somehow can be linked to false or other pin - tried, I get config errors, no load.

      Again, not a deal breaker, but when the external ESTOP is triggered such as during a home, the motors stop but when I raise the button the machine continues - like it paused not ESTOPPED. That's a little disconcerting.

      Attaching HAL file.

       

      File Attachment:

      File Name: 010.hal
      File Size:10 KB
  • jtrantow
  • jtrantow
05 Mar 2026 21:05 - 05 Mar 2026 21:17

Automatic spindle gear detection updated for vfd

Category: Advanced Configuration

I have been running my mill and lathe without accurate RPM control/calibration. Recently, I stumbled upon forum.linuxcnc.org/47-hal-examples/27071...r-detection?start=20

I broke down my implementation of this idea into three files:
  • LatheSpindle.hal - General spindle control and automatic gear detection scaling.
  • cmdr_wrapper.hal - Implements hm2_modbus for CommanderSK VFD.
  • Spindle_postgui.hal - Scaling for use with gmoccapy.Using hm2_modbus provides much faster communications and better gear detection during accel/decel than the user mode driver I previously used. 

     

    The gear detection magic occurs by using the ratio of the spindle frequency to the vfd motor frequency. If you have a number of gears or belts, each combination will have a distinct ratio. You use this to populate the x values of the lincurve. For the y values you use the scaling necessary to scale the spindle command frequency to the required vfd motor frequency. It's quite easy to collect this information.

I used a wrapper around the VFD commands so I could share code with my mill that uses a GS11 VFD.



I'm very happy with how this turned out! 
  • andrax
  • andrax's Avatar
05 Mar 2026 20:47
Replied by andrax on topic CiA 402 Folder Missing

CiA 402 Folder Missing

Category: EtherCAT

No, you just adjust the servo and the ethercat master and your ethercat.xml take care of the rest. 
 
  • tommylight
  • tommylight's Avatar
05 Mar 2026 20:45
Replied by tommylight on topic Tool Manager

Tool Manager

Category: Advanced Configuration

Thank you very much for everything you do.
Displaying 46 - 60 out of 18398 results.
Time to create page: 0.367 seconds
Powered by Kunena Forum