Advanced Search

Search Results (Searched for: )

  • PCW
  • PCW's Avatar
Today 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
Today 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
Today 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
Today 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
Today 21:24 - Today 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
Today 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
Today 21:05 - Today 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
Today 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
Today 20:45
Replied by tommylight on topic Tool Manager

Tool Manager

Category: Advanced Configuration

Thank you very much for everything you do.
  • Finngineering
  • Finngineering
Today 20:21
Replied by Finngineering on topic XHC WHB04B development?

XHC WHB04B development?

Category: General LinuxCNC Questions

I just had a quick look, but might go a bit deeper at another time.

The ctx/context appears to be the libusb_context struct. I guess you could just do 
context->log_handler = nullptr;
after libusb_init in usb.cc:
github.com/LinuxCNC/linuxcnc/blob/master...whb04b-6/usb.cc#L629
But this probably isn't the best workaround in general.

I guess most of the problems in the past has been because of the assert statement in setupAsyncTransfer? Or did the pendant never reconnect for you in the past? When I was testing and just unplugged the dongle and plugged it back in, it usually didn't fail in the setupAsyncTransfer function, so the assert statement didn't prevent reconnection.

You might also be interested in testing the changes made by Hannes:
github.com/hdiethelm/linuxcnc-fork/tree/xhc-whb04b-6-fix-v2
I believe you need to do a "git checkout xhc-whb04b-6-fix-v2" after git clone in case you want to test that. With regards to the disconnects, his solution is more elegant than decreasing loops, because it avoids trying to change mode altogether when it's clear it would fail anyway.
 
  • PCW
  • PCW's Avatar
Today 19:56 - Today 20:58
Replied by PCW on topic Trying to set up position control mode

Trying to set up position control mode

Category: HAL

Might look at the step pulse train with an oscilloscope.

Also is it possible the servo drive is not set to position mode?
 
  • jblanscett
  • jblanscett
Today 19:18
Replied by jblanscett on topic Trying to set up position control mode

Trying to set up position control mode

Category: HAL

Okay, is there a way to verify that it is an electrical/wiring issue?
  • PCW
  • PCW's Avatar
Today 18:59
Replied by PCW on topic Trying to set up position control mode

Trying to set up position control mode

Category: HAL

OK so that may still be an electrical/wiring  issue

(if the DRO does not move but the motors move)



 
  • jblanscett
  • jblanscett
Today 18:45
Replied by jblanscett on topic Trying to set up position control mode

Trying to set up position control mode

Category: HAL

DRO updates to the inputed position about a second after .1 inches is inputted and the motor continues after that. The DRO doesn't update again until another input is entered. 
  • PCW
  • PCW's Avatar
Today 18:40
Replied by PCW on topic Trying to set up position control mode

Trying to set up position control mode

Category: HAL

Does the DRO show movement when jogging should  stop?
 
Displaying 1 - 15 out of 283590 results.
Time to create page: 1.737 seconds
Powered by Kunena Forum