Advanced Search

Search Results (Searched for: )

  • Hastrh2o
  • Hastrh2o
22 May 2025 10:54
Replied by Hastrh2o on topic cnc sur bordeaux

cnc sur bordeaux

Category: Français

Je viens environ tous les trimestres sur bordeaux mais souvent sur une grosse journée sans trop le temps de prendre une bière. Mais courant juin juillet je vais avoir plusieurs jours à y passer pour une grosse maintenance, ça peut se faire.
  • Hastrh2o
  • Hastrh2o
22 May 2025 10:46 - 22 May 2025 10:48
Replied by Hastrh2o on topic Retrieving parameters values

Retrieving parameters values

Category: Qtvcp

What do you mean by "you could just set the paramEdit directly " ?

STATUS.cmd.wait_complete() doesn't solve my problem.

I tried (in a button_click callback) :

ACTION.CALL_MDI("M68 E4 Q#1217")
while not STATUS.cmd.wait_complete():
time.sleep(0.1)
self.w.doubleSpinBox_DJG.setValue(self.w.lcdnumberDJ.value())

and I have to click twice to see lcdnumberDJ updated

So I try

ACTION.CALL_MDI("M68 E4 Q#1217")
time.sleep(2)
self.w.doubleSpinBox_DJG.setValue(self.w.lcdnumberDJ.value())

I watch motion.analog-out-04 in halshow at the same time, I see it changing immediatly when I click and then lcdnumberDJ appearing 2s later but without being updated. I click a second time and it works.
Do you know why ? I surely need to call some process_message like function between .. ?
  • Hakan
  • Hakan
22 May 2025 09:59

Unnamed CATIO-A Device Configuration (help!)

Category: EtherCAT

Generally, try the output of "lcec_configgen" for this slave and see if that helps.
Then if no success, hook it up to TwinCAT and see if you can find anything helpful there.
And of course googleing, found this forum.linuxcnc.org/ethercat/53438-etherc...pindle-estop-and-mpg
 
  • MTate01
  • MTate01
22 May 2025 09:28

Unnamed CATIO-A Device Configuration (help!)

Category: EtherCAT

I am trying to get an un-named, un-branded etherCAT IO module to work - the company I work for had picked it up some years ago for a project that fell through. I don't have an ESI for the board, and so I am trying to rely on what i can read from etherCAT. attached are images of the device with a switch and LED wired (next problem) 

here is my output of ethercat xml -p1:
?xml version="1.0" ?>
<EtherCATInfo>
  <!-- Slave 1 -->
  <Vendor>
    <Id>591240</Id>
  </Vendor>
  <Descriptions>
    <Devices>
      <Device>
        <Type ProductCode="#x00109252" RevisionNo="#x00058100">IMC IO EtherCAT</Type>
        <Name><![CDATA[IMC IO MODEL with EtherCAT]]></Name>
        <Sm Enable="1" StartAddress="#x1000" ControlByte="#x26" DefaultSize="128" />
        <Sm Enable="1" StartAddress="#x1100" ControlByte="#x22" DefaultSize="128" />
        <Sm Enable="1" StartAddress="#x1200" ControlByte="#x64" DefaultSize="0" />
        <Sm Enable="1" StartAddress="#x1400" ControlByte="#x20" DefaultSize="0" />
        <RxPdo Sm="2" Fixed="1" Mandatory="1">
          <Index>#x1600</Index>
          <Name>RxPDO-Map</Name>
          <Entry>
            <Index>#x7000</Index>
            <SubIndex>1</SubIndex>
            <BitLen>8</BitLen>
            <Name></Name>
            <DataType>UINT8</DataType>
          </Entry>
        </RxPdo>
        <TxPdo Sm="3" Fixed="1" Mandatory="1">
          <Index>#x1a00</Index>
          <Name>TxPDO-Map</Name>
          <Entry>
            <Index>#x6000</Index>
            <SubIndex>1</SubIndex>
            <BitLen>8</BitLen>
            <Name></Name>
            <DataType>UINT8</DataType>
          </Entry>
        </TxPdo>
      </Device>
    </Devices>
  </Descriptions>
</EtherCATInfo>

and so i tried to add it to my ethercat-conf.xml file as such (the following is an extract from a working config):
<slave idx="1" type="generic" vid="0x00090588" pid="0x00109252" configPdos="false">
   <syncManager idx="2" dir="out">
     <pdo idx="1600">
       <pdoEntry idx="7000" subIdx="01" bitLen="8" halPin="imcio-do0" halType="bit"/>
     </pdo>
   </syncManager>
   <syncManager idx="3" dir="in">
     <pdo idx="1a00">
       <pdoEntry idx="6000" subIdx="01" bitLen="8" halPin="imcio-di0" halType="bit"/>
     </pdo>
   </syncManager>
  </slave>
I tried adjusting configPdos to true, as well as false with as little provided information as possible... still won't enter SAFEOP or OP state and instead errors out and back to PREOP E. here is the output from halcmd dmesg -w:
[270386.928285] EtherCAT ERROR 0-1: Failed to set SAFEOP state, slave refused state change (PREOP + ERROR).
[270386.929285] EtherCAT ERROR 0-1: AL status message 0x0017: "Invalid sync manager configuration".

Can anyone help me with configuring this module? 

 
  • mjoconr
  • mjoconr
22 May 2025 09:05 - 22 May 2025 09:13

Smart Serial Comms Error - Since upgrade to 2.9.4

Category: General LinuxCNC Questions

Hi All
I've had to rebuild my machine after an SSD failure, and decided to move into the future.
I installed 2.9.4 and copied in my machine config files, everything worked out an issue initially but with in a few minutes I started getting the following errors
 

The latancy seems ok, running for a long time with glxgears and watching video via youtube and copying larger files

 

File Attachment:

File Name: cnc_info.txt
File Size:4 KB


I'm running a bit file which might be old, PCW made it up for me at least 4 years ago
7i80db_16_7i76x3D3p.bit

 
  • spincycle
  • spincycle
22 May 2025 08:30
Replied by spincycle on topic Bridgeport VMC760 retrofit

Bridgeport VMC760 retrofit

Category: Milling Machines

Howdy!

I've made some progress the last couple of days with the retrofit. Mainly around the control panel design.

I received a secondhand 27" ELO touchscreen in the post, which I got for an absolute steal. Yet to power it up, but it was sold as functioning and the drivers work on linux. The new control panel is based around this screen and the gmoccapy gui, with a handful on hardware controls I've deemed necessary from the Heidenhain. I'd also like the panel to rotate around to aid interaction while standing in front of the bed/doors. I've orientated the screen vertical, as it's bloody huge.

Attached are some screen grabs of the CAD model. It's designed to take the MX Cherry style switches. Looks like a few of you have used them and I'm a sucker for a "clicky" button. One MPG, e-stop, usb jack, all the usual suspects etc. Control enclosure is to be fabricated from 80x25x3mm aluminium channel for the perimeter frame and cnc routed 3mm sheet for the front and rear panels. I'll glue this together with the TIG and send it out with the next client job batch for powder. 

I also received a Delta 11kw VFD. Again, it was removed from a working machine and was considerably better value than a new one. Dug out a Omron encoder that was leftover from another project that never saw life. Planning to use this on the spindle.

Cheers,

J
 
 
 
 
 

 
  • spincycle
  • spincycle
22 May 2025 08:05
Replied by spincycle on topic Bridgeport VMC760 retrofit

Bridgeport VMC760 retrofit

Category: Milling Machines

Yes, the RS-422 is their smart serial connection between the 7i97T FPGA main board and 7i73 and 7i84 daughter boards. Since there is only one RS-422 configured standard on the 7i97T (on TB4), you can only connect one of those two cards, until you reflash the 7i97T to reconfigure some of the pins of the P2 expansion port to provide a second RS-422.

Glad you are enjoying my videos. It is fun to dick around with this stuff :)
Cheers,
Mark

Thanks for the clarification Mark.
Apologies on the slow reply, I've had an internet detox the last week! 
  • spincycle
  • spincycle
22 May 2025 08:03
Replied by spincycle on topic Bridgeport VMC760 retrofit

Bridgeport VMC760 retrofit

Category: Milling Machines

Do you need all new drives?

I thought only one broke.

Sorry Langdons, I've been away the last week and decided to take a breather from the internet.

By the looks of it yes, just one. However, given the likelihood of another dying in the future, I'd rather replace the whole bunch. The quotes to repair them are sky high and secondhand ones are almost as bad.
  • MTate01
  • MTate01
22 May 2025 06:17
Replied by MTate01 on topic RTelligent EtherCAT Servo Drive Setup: RS750E

RTelligent EtherCAT Servo Drive Setup: RS750E

Category: EtherCAT

hi Hakan,

Thanks for the recommendation to move to cia402 - the drive runs and i can at least move the motor! I feel like I might have taken some weird workarounds trying to chase linuxcnc compile errors, so I probably need to touch on whether these are "acceptable" - perhaps you can comment on the below?
ethercat-conf_n.xml:
<masters>
 <master idx="0" appTimePeriod="1000000" refClockSyncCycles="1000">
  <slave idx="0" type="generic" vid="00000A88" pid="0a880013" configPdos="true">
   <!-- Joint 0 -->
   <syncManager idx="0" dir="out"> </syncManager>
   <syncManager idx="1" dir="out"> </syncManager>
   <syncManager idx="2" dir="out">
    <pdo idx="1600">
     <pdoEntry idx="6040" subIdx="00" bitLen="16" halPin="cia-controlword" halType="u32"/>
     <pdoEntry idx="607a" subIdx="00" bitLen="32" halPin="target-position" halType="s32"/>
     <pdoEntry idx="60b8" subIdx="00" bitLen="16" halPin="touchprobefunction0" halType="bit"/>
    </pdo>
    <pdo idx="1601">
     <pdoEntry idx="6081" subIdx="00" bitLen="32" halPin="profile-velocity" halType="u32"/>
     <pdoEntry idx="6083" subIdx="00" bitLen="32" halPin="target-accel" halType="u32"/>
     <pdoEntry idx="6084" subIdx="00" bitLen="32" halPin="target-decel" halType="u32"/>
     <pdoEntry idx="6060" subIdx="00" bitLen="8" halPin="opmode" halType="s32"/>
    </pdo>
    <pdo idx="1602">
     <pdoEntry idx="60ff" subIdx="00" bitLen="32" halPin="target-velocity" halType="s32"/>
    </pdo>
   </syncManager>
   <syncManager idx="3" dir="in">
    <pdo idx="1a00">
     <pdoEntry idx="603f" subIdx="00" bitLen="16" halPin="errorcode" halType="bit"/>
     <pdoEntry idx="6041" subIdx="00" bitLen="16" halPin="cia-statusword" halType="u32"/>
     <pdoEntry idx="6061" subIdx="00" bitLen="8" halPin="opmode-display" halType="s32"/>
     <pdoEntry idx="6064" subIdx="00" bitLen="32" halPin="actual-position" halType="s32"/>
     <pdoEntry idx="60b9" subIdx="00" bitLen="16" halPin="touchprobestat" halType="bit"/>
     <pdoEntry idx="60ba" subIdx="00" bitLen="32" halPin="touchprobe1pos" halType="s32"/>
     <pdoEntry idx="60fd" subIdx="00" bitLen="32" halPin="digitalinputs" halType="s32"/>
    </pdo>
    <pdo idx="1a01">
     <pdoEntry idx="606c" subIdx="00" bitLen="32" halPin="actual-velocity" halType="s32"/>
    </pdo>
   </syncManager>
   <dcConf assignActivate="300" sync0Cycle="1000000"/>
  </slave>
 </master>
</masters>

and ethercat.hal:
loadusr -W lcec_conf ethercat-conf_n.xml

loadrt lcec
loadrt cia402 count=1
loadrt pid names=x-pid

##########################################

addf lcec.read-all servo-thread
addf cia402.0.read-all servo-thread

#addf motion-command-handler servo-thread
#addf motion-controller servo-thread

addf x-pid.do-pid-calcs servo-thread

addf cia402.0.write-all servo-thread
addf lcec.write-all servo-thread


#######################################

#net emc-enable => iocontrol.0.emc-enable-in
#sets emc-enable 1

setp cia402.0.csp-mode 1
setp cia402.0.pos-scale 3600000000

#from servo to cia402:
net x-statusword     lcec.0.0.cia-statusword     => cia402.0.statusword
net x-opmode-display lcec.0.0.opmode-display     => cia402.0.opmode-display
net x-drv-act-pos    lcec.0.0.actual-position    => cia402.0.drv-actual-position
net x-drv-act-velo   lcec.0.0.actual-velocity    => cia402.0.drv-actual-velocity

#from cia402 to servo
net x-controlword        cia402.0.controlword         => lcec.0.0.cia-controlword
net x-modes-of-operation cia402.0.opmode              => lcec.0.0.opmode
net x-drv-target-pos     cia402.0.drv-target-position => lcec.0.0.target-position
net x-drv-target-velo    cia402.0.drv-target-velocity => lcec.0.0.target-velocity

net Xpos => cia402.0.pos-cmd
#net x-pos-fb => joint.0.motor-pos-fb <= cia402.0.pos-fb

#from motion to cia
net x-enable    <= joint.0.amp-enable-out => cia402.0.enable
#net x-pos-cmd   <= joint.0.motor-pos-cmd  => cia402.0.pos-cmd

#from cia to motion
#net x-amp-fault => joint.0.amp-fault-in   <= cia402.0.drv-fault
#net x-pos-fb    => joint.0.motor-pos-fb   <= cia402.0.pos-fb

#homing
net x-home-index <= joint.0.index-enable  => cia402.0.home
note with the above: I had to comment out quite a few lines to avoid having to go "deeper" into ini files to remove errors from occuring... one such example was with the cia402.0.motor-pos-fb and cmd, I had errors stating that they were already linked to Xpos - so I just "reassigned" them. basically any line in the above that is commented out is just due to an error. definitely also need to uncomment the fault reporting...

next step for me is to set up a physical axis where I can test homing and rotation distance of a ball screw etc. and get an IO board working
  • H-S-W
  • H-S-W
22 May 2025 05:40
Replied by H-S-W on topic Index homing Heidenhain ls 403/exe602

Index homing Heidenhain ls 403/exe602

Category: Basic Configuration

My Maho homes off the Heindenhain LS-403 scale index marks. Works the same as homing to a a separate homing switch.

Do you have the LS 403 scale or the LS 403 C? Could explain why I have some problems since the "C" is the Distance-coded version of the scale...
  • H-S-W
  • H-S-W
  • mjoconr
  • mjoconr
22 May 2025 03:36
Replied by mjoconr on topic LinuxCNC 2.9.4 Released

LinuxCNC 2.9.4 Released

Category: Installing LinuxCNC

There is an issue with the ISO for Intel hardware, the package "raspi-firmware" is installed, suggest everyone remove this before running dist-upgrade.
  • claytoncramer
  • claytoncramer
22 May 2025 03:00
Replied by claytoncramer on topic Wireless USB suggestion

Wireless USB suggestion

Category: Computers and Hardware

thank you. Amazingly enough, available on Amazon for $6.99
  • claytoncramer
  • claytoncramer
22 May 2025 02:52
Replied by claytoncramer on topic Known good USB wifi for linux....

Known good USB wifi for linux....

Category: General LinuxCNC Questions

Ciould you give a brand and model number. I have an RTL88 TP Link USB WiFi working at about 40 Kbps, with thr special driver for it. My laqptop in the same spot has abiout 70 Mbps. I would like to buy a known working USB WiFi with whatever driver is needed.
  • Lcvette
  • Lcvette's Avatar
22 May 2025 02:32 - 22 May 2025 02:33
Replied by Lcvette on topic Probe_basic paramters not updating.

Probe_basic paramters not updating.

Category: QtPyVCP

Yeah Lathe UI is still using the old settings method, it will get updated in the future after the next major mill release.
Displaying 2536 - 2550 out of 25487 results.
Time to create page: 0.752 seconds
Powered by Kunena Forum