Advanced Search

Search Results (Searched for: )

  • Tinine
  • Tinine
23 Aug 2024 07:48 - 23 Aug 2024 09:42
Replied by Tinine on topic Retrofitting a small bending machine

Retrofitting a small bending machine

Category: CNC Machines

Hi
seem to have stumbled into a little project.
 

I have already retrofitted my Maho MH500 and a cycle lathe to Linuxcnc
retrofitted, which is why a friend has now asked me to have a look
to have a look at his bending machine.

The press was probably retrofitted to a newer control system.
However, it has now stopped working and when I switch it on I get the error message

"WARNING LOST VIDEO TABLES"
 


if I google this I only find 3 forum entries, but without any answer or even a solution.
I can't say whether the controller is broken or "just" lost the programming or parameters...

In any case, I now need a replacement.
A simple 3-axis positioning controller.
The controller would only have to control 2 stops and the press stop.

all 3 axes have analog -10/+10V drives
there are probably 3 encoders somewhere for the position feedback
and that's about it.

I don't need cycles and bending programs.
If we get the 3 axes into the desired position via the control system and
then operate the press hydraulically as usual is enough...


If the machine were in my shop, I would say
Linuxcnc Raspberry, small TFT mesa card and I operate the thing via Gcode in MDI.

Maybe there is a simpler standalone solution?
 

What is your time frame?
This might come across as ridiculous but I can handle the whole thing on a $10 RPi Pico 2 + support devices

This chip has "PIO state machines" and I am reading 4 quadrature encoders with a maximum rate > 5M quadrature counts/sec without using any of the two cores' processing power.

One core of the RP2350 MCU handles the servo PIDs + velocity profilers and the other core handles video. Motor command is 12-bit +-10v

I have been designing/building metal forming controls (up to 21 axes) since 1988 and this is my latest development. Right now I have a bunch of CNC tube-benders to retrofit with this thing (3-axis and 5-axis) and the control development is on-going.

Just thought I'd throw it out there. 

Example of one of my tube bender retrofits  Microcontroller motion system and an Android tablet (protected) front-end
  • Aciera
  • Aciera's Avatar
23 Aug 2024 07:40 - 23 Aug 2024 07:43

manual-toolchange-with-tool-length-switch sim fails mill upgraded to 2.9.2

Category: AXIS

The glade panel is outdated, there is a pull request that fixes the issue:
github.com/LinuxCNC/linuxcnc/pull/3078/files

You can also manually replace the content in 'manualtoolchange.ui' with this:

<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.38.2 -->
<interface>
<requires lib="gtk+" version="3.0"/>
<requires lib="gladevcp" version="0.0"/>
<object class="GtkWindow" id="window1">
<property name="can-focus">False</property>
<child>
<object class="GtkVBox" id="vbox1">
<property name="visible">True</property>
<property name="can-focus">False</property>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkLabel" id="label2">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="margin-bottom">8</property>
<property name="xpad">0</property>
<property name="ypad">5</property>
<property name="label" translatable="yes">Manual Toolchange
with Probing</property>
<attributes>
<attribute name="font-desc" value="Sans Bold 12"/>
</attributes>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<!-- n-columns=2 n-rows=1 -->
<object class="GtkGrid">
<property name="visible">True</property>
<property name="can-focus">False</property>
<child>
<object class="HAL_LED" id="change-led">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="margin-left">20</property>
<property name="led-blink-rate">0</property>
<property name="led-shape">2</property>
<property name="off-color">black</property>
<property name="on-color">orange</property>
<property name="pick-color-off">#000000000000</property>
<property name="pick-color-on">#c6c646460000</property>
<signal name="hal-pin-changed" handler="on_led_change" swapped="no"/>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">0</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="change-text">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="margin-left">10</property>
<property name="xpad">5</property>
</object>
<packing>
<property name="left-attach">1</property>
<property name="top-attach">0</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">0</property>
</packing>
</child>
<child>
<!-- n-columns=1 n-rows=3 -->
<object class="HAL_Table" id="enable">
<property name="visible">True</property>
<property name="can-focus">False</property>
<child>
<!-- n-columns=1 n-rows=2 -->
<object class="GtkGrid">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="halign">end</property>
<property name="valign">center</property>
<property name="row-spacing">5</property>
<child>
<object class="HAL_ToggleButton" id="reftool">
<property name="label" translatable="yes">Reference Tool</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="margin-right">25</property>
<property name="image-position">top</property>
<property name="active">True</property>
<property name="draw-indicator">True</property>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">0</property>
</packing>
</child>
<child>
<object class="HAL_Button" id="changed">
<property name="label" translatable="yes">Tool change complete</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="margin-right">25</property>
<property name="image-position">top</property>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">1</property>
</packing>
</child>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">0</property>
</packing>
</child>
<child>
<object class="GtkFrame">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="margin-left">5</property>
<property name="margin-right">5</property>
<property name="margin-top">5</property>
<property name="margin-bottom">5</property>
<property name="label-xalign">0</property>
<child>
<object class="GtkAlignment">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="left-padding">12</property>
<child>
<!-- n-columns=2 n-rows=3 -->
<object class="GtkGrid">
<property name="visible">True</property>
<property name="can-focus">False</property>
<child>
<object class="HAL_LED" id="probing-led">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="margin-right">10</property>
<property name="led-blink-rate">5</property>
<property name="led-shape">2</property>
<property name="off-color">black</property>
<property name="pick-color-off"/>
<property name="pick-color-on">#1525ffff4fdc</property>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">0</property>
</packing>
</child>
<child>
<object class="HAL_Button" id="probe-contact">
<property name="label" translatable="yes">Simulate probe contact</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="margin-right">5</property>
</object>
<packing>
<property name="left-attach">1</property>
<property name="top-attach">0</property>
</packing>
</child>
<child>
<object class="HAL_Label" id="currlen">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">label</property>
<property name="label-pin-type">1</property>
<property name="text-template">Current Z length: %f</property>
</object>
<packing>
<property name="left-attach">1</property>
<property name="top-attach">1</property>
</packing>
</child>
<child>
<object class="HAL_Label" id="reflen">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">label</property>
<property name="label-pin-type">1</property>
<property name="text-template">Reference Z length: %f</property>
</object>
<packing>
<property name="left-attach">1</property>
<property name="top-attach">2</property>
</packing>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
</object>
</child>
</object>
</child>
<child type="label">
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="xpad">10</property>
<property name="ypad">3</property>
<property name="label" translatable="yes">Tool probe</property>
</object>
</child>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">1</property>
</packing>
</child>
<child>
<placeholder/>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="padding">3</property>
<property name="position">1</property>
</packing>
</child>
</object>
</child>
</object>
</interface>
 
[edit]
With this there is no longer any need to change "hal_widgets.py" or "hal_python.xml"
  • Aciera
  • Aciera's Avatar
23 Aug 2024 07:18
Replied by Aciera on topic İnstall glade

İnstall glade

Category: Gmoccapy

If you mean the 'Calibration' program from the bottom row in the settings page of gmoccapy, that is one of the external programs common to all GUIs. The source code for that can be found in the '/tcl' folder.
  • DPFlex
  • DPFlex
23 Aug 2024 07:03

manual-toolchange-with-tool-length-switch sim fails mill upgraded to 2.9.2

Category: AXIS

Hello,
Last time with LCNC 2.9.2, it worked.
But now I upgraded to LCNC 2.9.3, it can not work again.
Can "hal_widgets.py" and "hal_python.xml" still be ok ?.
Thank you.
  • seyad
  • seyad
23 Aug 2024 05:28

Ethercat installation from repositories - how to step by step

Category: EtherCAT

Thank you. yeah its working now . But it doesn't contain ethercat in it, is it..?
  • cmorley
  • cmorley
23 Aug 2024 05:09

QTDragon HD spindle incrementally increase/decrease speed

Category: Qtvcp

from the docs:
linuxcnc.org/docs/devel/html/gui/qtdragon.html#_stylesheets

press F12 an editor will show for the style sheet:
 

press the 'copy to edit tab' and then edit as you please.
apply to test.
Then save for next time. The view tab should show the path/filename of the stylesheet that qtdragon will use.
 
  • pmchetan
  • pmchetan
23 Aug 2024 03:32

Barfeeder controller upgrade for citizen L32 turning center

Category: Turning

The lathe signals are going to the PLC's I/Os.
Since I'm new to PLCs and have a few mesa card lying around, I thought, linuxcnc was a easy way.
Looks like I need to learn to program a PLC now. If anybody have the firmware for the Arteco PLC (for analog axis control) {Arteco mentions they provide function blocks for analog control or PWM} I shall try to get the existing PLC working or should I just get a new PLC. I have the schematics for the interface between lathe and bar feeder.
  • phillc54
  • phillc54's Avatar
23 Aug 2024 02:56
Replied by phillc54 on topic Sheetcam M 190

Sheetcam M 190

Category: Deutsch

One option would be to have SheetCam to not send a material change and then set the material manually before cutting.

 
  • Benb
  • Benb's Avatar
23 Aug 2024 01:47

Barfeeder controller upgrade for citizen L32 turning center

Category: Turning

Quick google shows on eBay a picture of Citizen CM2-PC805-0 it's not a controller it's just a discrete IO card. The interface between your machine controller and the Arteco PLC is done true discrete IO's.
You need the schematic of your machine to be able to wire a new PLC to control the bare feeder. no need for LinuxCNC an overkill for this project.
  • cakeslob
  • cakeslob
23 Aug 2024 00:01 - 23 Aug 2024 03:05

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

// calculate the output value
vel_cmd = pgain * error + data->cmd_d[i] * ff1gain;


Hey Scott, sorry to bother you with this, but can you explain this a bit more? Im wondering how we can just do a math to figure it out. Ive been bruteforcing pid stuff for a few days but i cant get my overshoot down to less than 5 steps, but this question comes up on discord a bunch also.

using a 1mm distance for the example to make it easier(?)

ff1 * cmd_d + error * pgain = velcmd

ff1 = number in ini file
cmd_d = old pos - new data? this is the D ?
error = ?
pgain = ini number

edit, holy shit it my issue was a typo this whole time.

my issue is typo related, but the question still stands, is there a math way to figure it out?
  • zmrdko
  • zmrdko's Avatar
22 Aug 2024 21:56
Replied by zmrdko on topic refclockSyncCycle question

refclockSyncCycle question

Category: EtherCAT

IIRC 5 means every 5 cycles
  • atomicmill
  • atomicmill's Avatar
22 Aug 2024 21:00
Raspberry Pi CNC hat circuit board was created by atomicmill

Raspberry Pi CNC hat circuit board

Category: Computers and Hardware

Hello,
I wanted to replace the external Linuxcnc control PC on my mill with a dedicated control inside the electrical cabinet, but I needed something compact that is easy to wire inside an enclosure, which is why I thought of using the RPi5 and a custom designed GPIO breakout board.

 

The board is intended to be used as a 5 axis step/dir platform with 6 extra outputs and 10 inputs. All the Raspberry pins are digitally isolated and the outputs are buffered with 5V @ ~20 mA drive capability. The board has dedicated power connectors for the 5V RPi supply and 24V isolated bus. A 5V step down converter connected to the 24V bus provides the necessary voltage to run the digital isolators and buffer gates.

Here's the new repository with the Kicad design files: github.com/atomicmill/raspberry-pi-5-Linuxcnc-hat

So far I tested the board with LCNC 2.9 and the Probe Basic and PlasmaC UIs. I hope this board is of use to anyone looking for a low cost all in one LinuxCNC control.
  • RyanB
  • RyanB's Avatar
22 Aug 2024 20:56

Tool resets to Z0 when starting program without being told to

Category: AXIS

I removed the tool change portion of the Gcode and didn't see a plunge to 0, so that narrowed the culprit down.

This is the EMCIO portion of my INI
[EMCIO]
EMCIO = io
CYCLE_TIME = 0.100
TOOL_TABLE = tool.tbl
TOOL_CHANGE_QUILL_UP = 1

Not sure what the quill up means, but there's no position for the tool change to go to, so I guess it defaults to G53.

I didn't find anything for M30.

I suppose the work around is to generate the Gcode and remove the tool change stuff (fusion restricts multiple operations with tool changes for free users) and then add a bit to raise the spindle above the work piece before starting. Because I needed more reasons to dislike fusion.

Thanks for the answer.
  • avive
  • avive
22 Aug 2024 20:50 - 22 Aug 2024 20:54
Replied by avive on topic Problems with Lichuan Ethercat servo drive

Problems with Lichuan Ethercat servo drive

Category: EtherCAT

Has anyone managed to get DO to work?
I added the following lines inside <pdo idx="1600">, but to no avail.
<pdoEntry idx="60FE" subIdx="01" bitLen="32" halType="complex">
    <complexEntry bitLen="16"/>
    <complexEntry bitLen="1" halPin="do-0" halType="bit"/>
    <complexEntry bitLen="1" halPin="do-1" halType="bit"/>
    <complexEntry bitLen="1" halPin="do-2" halType="bit"/>
</pdoEntry>
Displaying 22666 - 22680 out of 24930 results.
Time to create page: 0.471 seconds
Powered by Kunena Forum