Advanced Search

Search Results (Searched for: )

  • PCW
  • PCW's Avatar
06 Aug 2024 14:34

Hardware advise mesa boards for control-loop with motor-encoder and linear scale

Category: Driver Boards

Note that whatever control hardware is used, tuning will be problematic
unless you can remove almost all backlash from the mechanical system.
 
  • Aciera
  • Aciera's Avatar
06 Aug 2024 14:29 - 06 Aug 2024 14:32
Replied by Aciera on topic Need Help in XYZAC configuration.

Need Help in XYZAC configuration.

Category: Advanced Configuration

If things work with the 3d probe but not with other tools then there is likely a problem with your tool table.

What tool z offset have you set your 3 probe to?

May be you can show us your tool table?

[edit]
Also I notice that you use external offsets for the z axis, are those deactivated when you test things?
  • PhilipME
  • PhilipME's Avatar
06 Aug 2024 14:22
G53, and G54 was created by PhilipME

G53, and G54

Category: General LinuxCNC Questions

Is there is a way to save G53, and G54 after turning the machine off?

Thanks
  • amanker
  • amanker
06 Aug 2024 14:17
Need Help in XYZAC configuration. was created by amanker

Need Help in XYZAC configuration.

Category: Advanced Configuration

I have setup 5 axis (XYZAC configuration).
Using QtDragon_HD GUI.
I have measured all offsets using 3D Probe.
And added all offsets in ini file.

When I switch to RTCP mode, Its working nice when I am using that 3D probe. All TCP movements are properly aligned.

But As soon as I change probe to other tool bit of different length. Toolpoint dont follow properly. (I think It needs same length).
I am using manual tool change. Tried measuring tool offsets, Changing tool table. Using G43 to update current tool offset. Nothing worked.

Can anyone guide me proper procedure for this. So that when I change tool, TCP dont misbehaves.
Please outline procedure with sample codes.

Here are settings for kinamatics which are working.
HALCMD = setp xyzac-trt-kins.x-rot-point -85.775
HALCMD = setp xyzac-trt-kins.y-rot-point -110.570
HALCMD = setp xyzac-trt-kins.z-rot-point -16.942
HALCMD = setp xyzac-trt-kins.y-offset 0
HALCMD = setp xyzac-trt-kins.z-offset -38.7445

This is my POSTGUI.HAL
    # load components
########################################################################

loadrt logic names=logic-and personality=0x102
addf logic-and servo-thread

# load a summing component for adding spindle lift and Z compensation
loadrt scaled_s32_sums
addf scaled-s32-sums.0 servo-thread

loadusr -Wn z_level_compensation z_level_compensation
# method parameter must be one of nearest(2), linear(1), cubic (0)
setp z_level_compensation.fade-height 0.0
setp z_level_compensation.method 1

# connect signals
########################################################################

net spindle-speed-limited  =>  spindle.0.speed-out-rps => spindle.0.speed-in

# the unlink pin commands are only used, because they are connected 
# in core_sim.hal and we use this file to simulate
unlinkp iocontrol.0.tool-change
unlinkp iocontrol.0.tool-changed
unlinkp iocontrol.0.tool-prep-number

net tool-change      hal_manualtoolchange.change   <=  iocontrol.0.tool-change 
net tool-changed     hal_manualtoolchange.changed  <=  iocontrol.0.tool-changed
net tool-prep-number hal_manualtoolchange.number   <=  iocontrol.0.tool-prep-number

net eoffset-clear    axis.z.eoffset-clear
net eoffset-counts   axis.z.eoffset-counts
setp axis.z.eoffset-scale .001
net eoffset-total          axis.z.eoffset
net eoffset-total          qtdragon.eoffset-value
setp axis.z.eoffset-enable True

## external offsets for spindle pause function
##################################################
net eoffset-clear     qtdragon.eoffset-clear
net eoffset-spindle-count   <= qtdragon.eoffset-spindle-count    
net spindle-pause     qtdragon.spindle-inhibit spindle.0.inhibit
net probe-input qtdragon.led-probe

## Z level compensation
####################################################
net eoffset-clr2            z_level_compensation.clear      => logic-and.in-01
net xpos-cmd                z_level_compensation.x-pos      <= joint.0.motor-pos-cmd
net ypos-cmd                z_level_compensation.y-pos      <= joint.1.pos-cmd
net zpos-cmd                z_level_compensation.z-pos      <= joint.2.pos-cmd
net z_compensation_on       z_level_compensation.enable-in  <= qtdragon.comp-on
net eoffset-zlevel-count    z_level_compensation.counts     => qtdragon.eoffset-zlevel-count

net eoffset-spindle-count   scaled-s32-sums.0.in0
net eoffset-zlevel-count    scaled-s32-sums.0.in1
setp scaled-s32-sums.0.scale0 1000
net eoffset-counts          scaled-s32-sums.0.out-s

    #loadrt scale names=spindle_amp_scale
    #addf scale.1 servo-thread
    #setp scale.1.gain 9.6 # PWM per RPM, calculated over full scale. Example: 0-100 PWM, 12000 rpm: (100/12000)  = 0.008333
    #net spindle-amp-in spindle.0.speed-out => scale.1.in
    net spindle-amp-scaled scale.1.out => qtdragon.spindle-amps
    setp qtdragon.spindle-volts 48

What I am missing? 
  • tommylight
  • tommylight's Avatar
06 Aug 2024 13:42

Ethercat installation from repositories - how to step by step

Category: EtherCAT

Screenshots should do just fine, upload her on the forum under the editor click on "attachments"
  • tommylight
  • tommylight's Avatar
06 Aug 2024 13:40

Hardware advise mesa boards for control-loop with motor-encoder and linear scale

Category: Driver Boards

EtherCAT does not need Mesa cards, and even uf you do for IO or whatever, i would avoid mixing them.
As for Mesa, yes, 7i95T would be a very good choice if the drives can do step/dir control, and i would insist on this and talk to the seller to have the drive/motor sets tuned properly for position control. Then adding glass scales and further tuning would be really easy.
  • Willemsjos
  • Willemsjos
06 Aug 2024 13:31

Hardware advise mesa boards for control-loop with motor-encoder and linear scale

Category: Driver Boards

Hi. 
Recently I bought a mechanically immaculate Maho500c milling machine, but with 41jear old electronics.....

I want to strip the machine from the DC-motors, drivers, philips glass-scales, and the philips 432/9 controller.

But then, I cannot ma a choice between all the (FPGA) controllers, servo-drivers, communication protocols like analog, step-dir, ethercat.....

I'm convinced to have the best options with LCNC, also because my machine has a gearbox which is already solved.
One demand is, that I keep the closed-loop to the new 1um glass-scales and also the option to controll 4 or even 5 axes full simultaneously.
Choose for accuracy before speed, because the machine isn't capable for high-speed.

My first plan was to choose for a 7i95T board, or what in case if I should choose for ethercat?

I already read a lot of threads, but have troubles to know the current statusses of all projects in parallel..
Who could provide me some good advice, given the latest developments and experiences..
With kind regards, and already thanks,
Joseph.
  • juliankoenig87
  • juliankoenig87
06 Aug 2024 13:25
Replied by juliankoenig87 on topic Probe panel for Axis GUI

Probe panel for Axis GUI

Category: AXIS

Easyprobe should work from 2.6 on (valutransformations in the messages) if I am right.

I wrote the most parts with 2.8.4 an finally with 2.9.2.

Julian
  • AndyDM01
  • AndyDM01
06 Aug 2024 13:17

Ethercat installation from repositories - how to step by step

Category: EtherCAT

I have no idea how to share my screen or errors on the screen... I have to type everything or is there a way to copy / paste ?
  • tommylight
  • tommylight's Avatar
06 Aug 2024 13:00
Replied by tommylight on topic Probe panel for Axis GUI

Probe panel for Axis GUI

Category: AXIS

[EMC]
MACHINE = MAZAK_Micro_Slant_15
DEBUG = 0
VERSION = 1.1

[DISPLAY]
DISPLAY = axis
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
MAX_FEED_OVERRIDE = 2.000000
Square brackets are used to separate sections of the ini file so they can not be used as comments.
# <<< this should be OK, most probably
  • TucsonSean
  • TucsonSean
06 Aug 2024 12:59
Replied by TucsonSean on topic Probe panel for Axis GUI

Probe panel for Axis GUI

Category: AXIS

IT WORKS!

I deleted the offending lines of text (supposed to be comments but I forgot the # ) from the ini file and it worked. My mill is calibrating my probe as I type this.

Thank you for your assistance in getting this working. Really appreciate the help.

-Sean
  • Aciera
  • Aciera's Avatar
06 Aug 2024 12:48
Replied by Aciera on topic Probe panel for Axis GUI

Probe panel for Axis GUI

Category: AXIS

can you please post your current hal and ini files?
  • TucsonSean
  • TucsonSean
06 Aug 2024 12:47
Replied by TucsonSean on topic Probe panel for Axis GUI

Probe panel for Axis GUI

Category: AXIS

I have tried using other commands, find center, find edge, etc... and I get the same error message: Named Parameter #<_ini[probe]vel_fast> not defined

Is there a difference with version 2.8.4 for declaring variables in the ini file versus newer 2.9 versions?

-Sean
  • avive
  • avive
06 Aug 2024 12:44

EtherCAT i/o board for spindle, estop and mpg

Category: EtherCAT

However, it outputs the count value and has no direction. The encoder forward counter value increases, and the encoder reverse counter value also increases instead of decreasing.


In this video, the man controls the position of the axes through the counter. He does it through the arduino, but I think it's not so important and it's about the right connection.

  • tjtr33
  • tjtr33's Avatar
06 Aug 2024 12:32
Replied by tjtr33 on topic Hal2Arduino

Hal2Arduino

Category: General LinuxCNC Questions

Hit
the google drive link requires an invutation
but for those interested ,
the project was a python2 suite
and so is complex to use with a recent linuxcnc

today is -6aug2024 and
i had looked into the project
as i was wiriting a way to use arduino
ide compatible bpards for extra io

extra io is not the central use of hal2arduino/emc2arduino
so i am bot investigating firther
but
for those interested
here are notes and file
for a python3 version-
notes below vvv
Hal2Aeduino-notes.txt
06aug2024
Tom Powderly tjtr33
i was working on arduino io subsystem
for emc
( i am dictating this so it has lees typos than i genetrate :-)

I came across Hal2Arduino/EMC2Aeduinoi thought it was a
similar solution that would allow boards compatible with the
arduino ide to be used with linuxcnc

well it does do that
but
does not enable all the io possible...

ppre-reqs
The pcb must hacve serial communications,
usb is hanbdies
tBoard must use the prescrobed protocl
( simpler than jepler's arduuino prorocol)

To discover what Hal2Aeduino could do,
i rewrote the main script for python3
(it was py2 and lib call and prints and range(,,,)
re different)( each change is noted )

and I offer it untested to anyone interested
( the comp ran enough for me to see it was not my path

in general
there are a lot of messages that could be passedfrom
linuxcnc to the arduino board

these messages are likethe nml message...
and are not useful for my project
others may find them useful

it took me a long time to discover
what this system actually did

i suggest for anyone interested can,
study instruction.txt
      &the top of the main python file
      & the contents of the .ino file
      
    Hal2Arduino it does not give access to all i/o pins
     of the arduino ( DI DO AI AO PwmO as i refere to them)
     Communicating those data is central to my project
    So I stop working with Hal2Arduino
    

   for anyone wanting to try it with python3
    here is the up converted file.
    
  note
   the code to discover the active
    serial ports
    that are connected to active arduino type boards
    is interesting in i think i will use it
    
   that code makes a list of all active
    serial ports
     and sens a special message to whatever is connected
     it's the connected board replies to the secret handshake
     then it is added to a list  of connected arduinos
     arduinos  here meaning a board compatible with the arduino id
      basically meaning a board capable of cereal communications
      
  i hope this could be of use choose some users
  tomp tjtr33
   
NB rebane P3HAL2Arduino.tx to P3Hal2Arduino ( noi extent)
make it executable
place in your $PATH
(i put it in .usr.local.bin)

I adfjusted the .ha; for ythe new comp name

find remaining files at Kurt Jacxobson's github
github.com/KurtJacobson/HAL-2-Arduino
Displaying 23446 - 23460 out of 25340 results.
Time to create page: 0.420 seconds
Powered by Kunena Forum