Advanced Search

Search Results (Searched for: )

  • cmorley
  • cmorley
18 Aug 2024 20:28

Versa probe Z height after automatic tool length measure

Category: General LinuxCNC Questions

Could you supply a small sample program for testing?
I've never actually used auto tool probe but i could try testing on my little mill.
  • PCW
  • PCW's Avatar
18 Aug 2024 19:49
Replied by PCW on topic Voltage encoder with 7i97T board

Voltage encoder with 7i97T board

Category: Driver Boards

The 7I97T has 6 hardware encoders, you do not use the software
encoder.  Your sample looks like a parallel port configuration.

I would suggest using MesaCT to create a hal/ini configuration file set.
  • PedPEx
  • PedPEx
18 Aug 2024 19:30
LCEC creating Danfoss VFD config was created by PedPEx

LCEC creating Danfoss VFD config

Category: EtherCAT

 
Hey folks,

i'm trying to retrofit an old Maho400E in the near future with a Beckhoff EM7004 in combination with a costum adaptor-board for the 3 axis and wanted to prepare the electronics as far as possible. In addition to that i also want to implement a Danfoss VFD FC302 with its EtherCAT optioncard MCA124. I started to read out all the PDO mappings and so on, like in many other forum posts described, but now i don't know how to proceed with the Flag E and the dmesg output, that the VFD would not support distributed clocks. You can find all configs and readouts of the VFD on my Github . The most important stuff is also attached here.

Thank you guys for your help

Best regards
Patrick

EtherCAT network (ethercat slaves output while machine is running)
0  0:0  PREOP  E  FC-302
1  0:1  OP     +  EK1100 EtherCAT-Koppler (2A E-Bus)
2  0:2  OP     +  EM7004 4-Achs Interface

dmesg output of EtherCAT related messages
[    5.972506] EtherCAT: Master driver 1.6.0 1.6.0.gcafd367-1+1.1
[    5.972663] EtherCAT: 1 master waiting for devices.
[    5.993635] ec_generic: EtherCAT master generic Ethernet device module 1.6.0 1.6.0.gcafd367-1+1.1
[    5.993664] EtherCAT: Accepting F8:75:A4:86:9A:F4 as main device for master 0.
[    6.025021] EtherCAT 0: Starting EtherCAT-IDLE thread.
[    8.676976] EtherCAT 0: Link state of ecm0 changed to UP.
[    8.961049] EtherCAT 0: 3 slave(s) responding on main device.
[    8.961055] EtherCAT 0: Slave states on main device: PREOP.
[    8.961492] EtherCAT 0: Scanning bus.
[    9.035903] EtherCAT WARNING 0-0: Received mailbox protocol 0x02 as response.
[    9.035906] EtherCAT ERROR 0-0: Failed to read number of assigned PDOs for SM2.
[    9.044901] EtherCAT ERROR 0-0: Received upload response for wrong SDO (0x1C12:00, requested: 0x1C13:00).
[    9.044904] EtherCAT DEBUG: 00 30 4F 12 1C 00 01 00 00 00
[    9.585876] EtherCAT 0: Bus scanning completed in 624 ms.
[    9.585880] EtherCAT 0: Using slave 1 as DC reference clock.
[    9.585883] EtherCAT 0: Starting EoE thread.
[    9.626324] EtherCAT ERROR 0-0: Failed to set SAFEOP state, slave refused state change (PREOP + ERROR).
[    9.626621] EtherCAT ERROR 0-0: AL status message 0x001E: "Invalid input configuration".
[    9.636234] EtherCAT 0-0: Acknowledged state PREOP.
[   24.746151] EtherCAT: Requesting master 0...
[   24.746156] EtherCAT: Successfully requested master 0.
[   24.748381] EtherCAT 0: Domain0: Logical address 0x00000000, 64 byte, expected working counter 6.
[   24.748385] EtherCAT 0:   Datagram domain0-0-main: Logical offset 0x00000000, 64 byte, type LRW.
[   24.748399] EtherCAT 0: Master thread exited.
[   24.748402] EtherCAT 0: Stopping EoE thread.
[   24.748416] EtherCAT 0: EoE thread exited.
[   24.748417] EtherCAT 0: Starting EoE thread.
[   24.748455] EtherCAT 0: Starting EtherCAT-OP thread.
[   24.748492] EtherCAT WARNING 0: 33 datagrams TIMED OUT!
[   24.773374] EtherCAT ERROR 0-0: Mailbox error response received - Unknown error reply code 0x0000.
[   24.773380] EtherCAT WARNING 0-0: Invalid mailbox response for eoe0s0.
[   36.885422] EtherCAT WARNING 0-0: Slave seems not to support distributed clocks!
[   36.887420] EtherCAT ERROR 0-0: Failed to set DC cycle times: No response.
[   36.940945] EtherCAT 0: Slave states on main device: PREOP, OP.

ethercat-conf.xml file:
<masters>
        <master idx="0" appTimePeriod="1000000" refClockSyncCycles="5" name="m0">
                <!-- Danfoss FC302 in CiA402/DSP402 mode -> needs CiA402 mode vl -->
                <slave idx="0" type="generic" vid="0200008d" pid="00000064" configPdos="true" name="2001_FC302">
                        <dcConf assignActivate="300" sync0Cycle="*1" sync0Shift="0"/>
                        <syncManager idx="2" dir="out">
                                <pdo idx="1616">
                                        <pdoEntry idx="6040" subIdx="00" bitLen="16" halPin="ControlWord" halType="u32"/>
                                        <pdoEntry idx="6042" subIdx="00" bitLen="16" halPin="TargetVelocity" halType="s32"/>
                                </pdo>
                        </syncManager>
                        <syncManager idx="3" dir="in">
                                <pdo idx="1a16">
                                        <pdoEntry idx="6041" subIdx="00" bitLen="16" halPin="StatusWord" halType="u32"/>
                                        <pdoEntry idx="6044" subIdx="00" bitLen="16" halPin="ActualVelocity" halType="s32"/>
                                        <!-- <pdoEntry idx="6061" subIdx="00" bitLen="8" halPin="ModeOfOperationDisplay" halType="u32"/>-->
                                </pdo>
                        </syncManager>
                </slave>
                <!-- Beckhoff IO modules -->
                <slave idx="1" type="EK1100" name="0501_EK1101"/>
                <slave idx="2" type="EM7004" name="0501_EM7004"/>
        </master>
</masters>
 
  • CNCFred
  • CNCFred's Avatar
18 Aug 2024 19:15

Plasmac2QTplasma gives error not a Plasmac configuration /solved

Category: Plasmac

Thank you for you kind reply and offer, no worries , the error is on my side not being up to date, you are all busy enough.

I had a 7i76e.pncconf file which I was able to open with pncconf and my settings were there at least seems ok for the default machine.

I was using a xbox controller, a two button crane control with emergency stop and the laser was with a M7 command- button set to the mist hal output.

I will read the documentation and hopefully get all working with the qtplasmac machine setup again.
I assume the additional config is the same, custom hal etc.

thank you
Roman

 
  • tommylight
  • tommylight's Avatar
18 Aug 2024 18:52
Replied by tommylight on topic Getting an error on starting a machine

Getting an error on starting a machine

Category: General LinuxCNC Questions

ip a
?
If you only changed from 10 to 11 it will not work
Change to 10.10.10.11
  • greg23_78
  • greg23_78
18 Aug 2024 18:49 - 18 Aug 2024 18:51
Replied by greg23_78 on topic Voltage encoder with 7i97T board

Voltage encoder with 7i97T board

Category: Driver Boards

wanting to configure my spindle encoder and reading linuxcnc doc for Spindle Synchronized Motion I found out that the encoder must be connected to mesa card inputs and not to encoder input 5 (7i97T).
Do I have to change my encoder wiring or is it possible to do the same as
# Add the encoder to HAL and attach it to threads.
loadrt encoder num_chan=4
addf encoder.update-counters base-thread
addf encoder.capture-position servo-thread

# Set the HAL encoder to 100 pulses per revolution.
setp encoder.3.position-scale 100

# Set the HAL encoder to non-quadrature simple counting using A only.
setp encoder.3.counter-mode true

# Connect the HAL encoder outputs to LinuxCNC.
net spindle-position encoder.3.position => spindle.0.revs
net spindle-velocity encoder.3.velocity => spindle.0.speed-in
net spindle-index-enable encoder.3.index-enable <=> spindle.0.index-enable

# Connect the HAL encoder inputs to the real encoder.
net spindle-phase-a encoder.3.phase-A <= parport.0.pin-10-in
net spindle-phase-b encoder.3.phase-B
net spindle-index encoder.3.phase-Z <= parport.0.pin-11-in


with the encoder cable on encoder input 5
  • greg23_78
  • greg23_78
18 Aug 2024 18:40

difference between machine coordinate systems and CAD software

Category: AXIS

it's actually my mistake, I didn't remember that the Machine coordinate was related to the spindle displacement (I'm used to it with cnc gantry).
What would be the quickest and easiest way to correct my mistake?
  • PCW
  • PCW's Avatar
18 Aug 2024 18:18 - 18 Aug 2024 18:42

Error finishing read! Iter and joint following error in Stepper machine

Category: General LinuxCNC Questions

Motor stutter may be because of too tight DPLL settings coupled with baseline
wander. I would try setting the DPLL pre-read time to say -200 usec.

Using isolcpus should improve the latency. though it may slow down the overall processing
speed some. Unless needed for newer hardware, or there is a specific issue with a kernel version
I don't think I would be concerned with kernel versions
  • Lcvette
  • Lcvette's Avatar
18 Aug 2024 18:13

Error finishing read! Iter and joint following error in Stepper machine

Category: General LinuxCNC Questions

Looks decent (no huge ping times)

sweet, I cannot seem to use any kernel above 6.1.0-13-rt-amd64 or else i get realtime delay warnings, but 6.1.0-13-rt-amd64 seems to be pretty stable and have never seen a latency message. I'm still running the ASROCK H97M Pro4 and pentium G3852 with 16gb ram. i tried isolcpus, but it had a negative effect on IO timing (ATC switches and dumb motor output stopped hitting their target marks and began causing some reliability issues. I do get an odd intermittent motor stutter but its very rare. it will typically occur during homing. ive been trying to figure it out as that abouot the only other issue ive been facing. but eventually i suspect the latency issue and being stuck on 6.1.0-13-rt-amd64 kernel will become an issue.

any thoughts?

Thanks PCW!

Chris
  • PCW
  • PCW's Avatar
18 Aug 2024 17:57
Replied by PCW on topic Getting an error on starting a machine

Getting an error on starting a machine

Category: General LinuxCNC Questions

The lack of yellow (100BT) LED illuminated the RJ45
suggests a problem with the 7I76E Ethernet interface
or the host Ethernet interface.

I would try a known working  Ethernet connection, and if you
do not get both Green (activity) and Yellow (100BT) LEDs
illuminated on the 7I76E RJ45 connection, I would return the
7I76E  for warranty repair. Note that especially for plasma systems
it's important to ground the frame ground connection on the 7I76E.
  • snowgoer540
  • snowgoer540's Avatar
18 Aug 2024 17:52 - 18 Aug 2024 17:53
Replied by snowgoer540 on topic Joint Amplifier Fault on Non-Moving Axis

Joint Amplifier Fault on Non-Moving Axis

Category: Basic Configuration

In addition to what Tommy said about noise in the cabinet, etc. and checking it with an oscilloscope, one thought that came to mind while reading this was ensuring that:

The X servo fault is really connected to input-20
The Y servo fault is really connected to input-21
The Z servo fault is really connected to input-22

This won't solve your issue, but it could possibly explain the Y and Z servo confusion (or it would verify noise on the Y servo-fault line).

Some other ideas include:

1. Commenting out the servo-fault connections in the .hal file. This will likely resolve the issue, but it is a valid check to rule out a software vs hardware issue.
2. If all else fails, assuming it is noise and you are unsuccessful in resolving it for whatever reason, you could use the debounce component to add a debounce delay and ensure a steady state change on the input before tripping the software stops. Example: If Z retracts cause a 1mS blip on the oscilloscope on the Y servo-fault input, then adding a 5mS debounce should take care of that. This is of course a band-aid, but a solution nonetheless.
3. Loose connections, etc.
  • cmorley
  • cmorley
18 Aug 2024 17:38
Replied by cmorley on topic Error in tool_offsetview.py

Error in tool_offsetview.py

Category: Qtvcp

GcodeEditor QToolButton {
width: 50;
height: 50;}

makes the button bigger - can't make anything related to icon work.
  • tommylight
  • tommylight's Avatar
18 Aug 2024 17:33
Video about shielding cnc machine wiring was created by tommylight

Video about shielding cnc machine wiring

Category: Computers and Hardware

NOT my content, just bumped into it, did a quick scroll through and seems pretty nicely done

Go give him some likes if you find it useful.
  • snowgoer540
  • snowgoer540's Avatar
18 Aug 2024 17:32

Plasmac2QTplasma gives error not a Plasmac configuration /solved

Category: Plasmac

As the length of time between the creation of QtPlasmaC, and no longer supporting the original PlasmaC (that sat on top of Axis) grew, the support for the conversion from one to the likely/unfortunately fell off the radar.

Having a backup of your config folder would help to diagnose the issue, but if I'm being honest so much has changed that it might not be worth the effort on our part.  I talk to Phill, but the best move might be for us to discontinue the conversion script in favor of directing everyone toward creating a new config with pncconf.  At the time Phill made the script, pncconf did not support QtPlasmaC natively.  It now does.  That means it's no longer necessary to make a working axis config, and then run the PlasmaC configurator, conversion script etc.  You can do everything all at once now in pncconf.  

That said, I know it's not as convenient for the end user.  Post a backup of your configuration if you'd like, but no promises on if/when the conversion script might get updated.  Like I say, I would recommend just creating the config from scratch in pncconf using QtPlasmaC as the GUI you'd like to use. 

Sorry for the inconvenience :-/



 
Displaying 22336 - 22350 out of 25487 results.
Time to create page: 0.372 seconds
Powered by Kunena Forum