Advanced Search

Search Results (Searched for: )

  • MTate01
  • MTate01
23 May 2025 05:49
Replied by MTate01 on topic EtherCAT i/o board for spindle, estop and mpg

EtherCAT i/o board for spindle, estop and mpg

Category: EtherCAT

Did anyone have any luck configuring one of these? I followed the links on the first page to get the slave information, but mine seems to be stubbornly returning to PREOP E. here's my slave information so far:
<slave idx="1" type="generic" vid="0x00090588" pid="0x00109252" configPdos="false">
    <!--IMC IO MODEL with EtherCAT-->
    <syncManager idx="0" dir="out"/>
    <syncManager idx="1" dir="out"/>
    <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>
    <dcConf assignActivate="300" sync0Cycle="0"/>
  </slave>
  • MTate01
  • MTate01
23 May 2025 05:44
Replied by MTate01 on topic Unnamed CATIO-A Device Configuration (help!)

Unnamed CATIO-A Device Configuration (help!)

Category: EtherCAT

lcec_configgen resulted in a fairly similar output to what I had already configured.

From that additional post you linked, they found the config files for what seems to be a very similar IO board/device to mine, but the ESI (xml file) seems to be rather... convoluted?

I have attached it, but unfortunately didnt' reveal enough information for me to figure out anything new - and thus i'm still stuck on PREOP E. 

I'm also not sure how TwinCAT is supposed to work - but i'll keep playing with that and hopefully have some luck. maybe you could suggest which package I need? 

Here's my whole ethercat-conf.xml as a side note, in case you see something wrong with it:
[code]<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>
  <slave idx="1" type="generic" vid="0x00090588" pid="0x00109252" configPdos="false">
    <!--IMC IO MODEL with EtherCAT-->
    <syncManager idx="0" dir="out"/>
    <syncManager idx="1" dir="out"/>
    <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>
    <dcConf assignActivate="300" sync0Cycle="0"/>
  </slave>
 </master>
</masters>
 [/code]
  • meister
  • meister
23 May 2025 04:50
Replied by meister on topic How to Control a PWM Gripper

How to Control a PWM Gripper

Category: G&M Codes

exactly, the servo is configured as an analog output and can be controlled with values from -100 (open) to +100(closed).
net sig_motion_analog-out-00 <= motion.analog-out-00
net sig_motion_analog-out-00 => rio.gripper.position
  • theoneandonlyoreo
  • theoneandonlyoreo
23 May 2025 03:45
comp confusion was created by theoneandonlyoreo

comp confusion

Category: LinuxCNC Documents

This doesn't seem right.  Oddly, if you click on "comp", the description on the page is that of a comparator.

 
  • PCW
  • PCW's Avatar
23 May 2025 02:26

Issue getting XYYZ gantry to home (using 7i92t with 7i76u)

Category: Basic Configuration

I think you need to specify a home position that's some distance from the home/limit switch location

linuxcnc.org/docs/html/config/ini-homing.html#_home
  • SteepLearningCurve
  • SteepLearningCurve
23 May 2025 02:08
Replied by SteepLearningCurve on topic Issue getting XYYZ gantry to home (using 7i92t with 7i76u)

Issue getting XYYZ gantry to home (using 7i92t with 7i76u)

Category: Basic Configuration

Hi All

Thank you for your feedback, greatly appreciated :)
The Y gantry completes the four step process now, well ... very nearly.
I think my problem was here
[AXIS_Y]
[JOINT_1]
has negative values
HOME_SEARCH_VEL = -10.000000
HOME_LATCH_VEL = -5.000000
(and joint 2 had the same negative values).
[JOINT_2]
I changed the signs to both positive
HOME_SEARCH_VEL = 10.000000
HOME_LATCH_VEL = 5.000000
After that change, the Y-axis homed in the four step way.
I don't understand why,  maybe gantry motors that face one another need opposite signs, I have no idea.
I have attached three screen photos with halshow
first - just switched on power supplies, and launched Linuxcnc.
second - after clicked estop, and clicked power.
third - end state after all thee axis homing has completed.
Physically the Y gantry does the correct four step movement.
However, Linuxcnc errors out right at the very end, indicating joint2 on limit switch error.
The  y-is-homed is red , while x-is-homed, y2-is-homed and z-is-homed are all yellow.
These are the cheap 2mm proximity sensors , tommylight said earlier that these are best avoided.
I will buy better quality ones.
If anyone knows why that sign change worked please let me know


 
  • foxlabs
  • foxlabs
23 May 2025 01:40 - 23 May 2025 01:41

GMOCCAPY 3.4.9 LCD7" can not display the whole GUI

Category: Gmoccapy

Hello Aciera, Thank you for your replay , The orignal GMOCCAPY  I used on RPI4 is OK, but on RPI5 is not OK
  • kubes
  • kubes
23 May 2025 01:35

Setting started modification Probe Basic

Category: QtPyVCP

I am new to LinuxCNC and  ProbeBasic, but not to Linux or Python.

I want to modify the "Status" tab to be similar to what  anfänger did in the thread forum.linuxcnc.org/qtpyvcp/39734-show-your-screens#177730 (see below).   I also want to change so the "Main" tab is the default on start-up

Is there a getting-started guide or notes?  I reviewed the ProbeBasic docs kcjengr.github.io/probe_basic.
Thanks!!!

  • mjoconr
  • mjoconr
23 May 2025 00:50

Smart Serial Comms Error - Since upgrade to 2.9.4

Category: General LinuxCNC Questions

I upgraded via backports to 6.12.22+bpo-rt-amd64, still get a 5ms max delay.

I ran it a few times
rtt min/avg/max/mdev = 0.053/0.116/5.600/0.269 ms
rtt min/avg/max/mdev = 0.054/0.099/4.908/0.216 ms
rtt min/avg/max/mdev = 0.054/0.106/4.672/0.241 ms

I've not had a warning since I ran the IRQ script.

We will see once I start actually cutting
  • ihavenofish
  • ihavenofish
23 May 2025 00:11 - 23 May 2025 00:12
Replied by ihavenofish on topic Problems with Lichuan Ethercat servo drive

Problems with Lichuan Ethercat servo drive

Category: EtherCAT

ooh, nice. you think you can help me config my ethercat setup. i have different drives, but im stuck at the "how do i even make ethercat work" part. :)

i looked through your files a bit, but of course they dont start cause i got no mesa card in mine.
  • PCW
  • PCW's Avatar
22 May 2025 22:46 - 22 May 2025 22:47
Replied by PCW on topic Need Help Setting Up a 2nd Spindle

Need Help Setting Up a 2nd Spindle

Category: Advanced Configuration

# net machine-is-on => hm2_7i92.0.stepgen.07.enable

AFAICS, nothing sets hm2_7i92.0.stepgen.07.enable true so it can never run.

try removing the comment (#) :

net machine-is-on => hm2_7i92.0.stepgen.07.enable
  • richcolvin
  • richcolvin's Avatar
22 May 2025 22:41
Replied by richcolvin on topic Need Help Setting Up a 2nd Spindle

Need Help Setting Up a 2nd Spindle

Category: Advanced Configuration

The attempts to run the spindle are by using:

M3 S10 $0 <=== that works
M3 S10 $1 <=== does not work
  • richcolvin
  • richcolvin's Avatar
22 May 2025 22:39
Need Help Setting Up a 2nd Spindle was created by richcolvin

Need Help Setting Up a 2nd Spindle

Category: Advanced Configuration

I am trying to configure LinuxCNC for use on a rose engine with 2 spindles + 6 other axes.

Everything works for Spindle0 & the other 6 axes of movement (X, Y, Z, B, U, & V), however I cannot get Spindle1 to work. Any ideas would be greatly welcomed!

I've copied the key items I believe are needed below.  The complete versions of the HAL and INI files are attached.  (The include files for the spindles had to be renamed to be .ini for attaching them, but they are actually .inc.)

hal fileloadrt [KINS]KINEMATICS
loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS num_spindles=[TRAJ]SPINDLES
loadrt hostmot2
loadrt hm2_eth board_ip="192.168.1.121" config="num_encoders=0 num_pwmgens=0 num_stepgens=8"

loadrt pid names=pid.x,pid.y,pid.z,pid.b,pid.u,pid.v,pid.s0,pid.s1

(other sections are also configured for SPINDLE 1, and are setup fundamentally the same as they are for SPINDLE 0)
 ini file[TRAJ]
SPINDLES = 2

# [JOINT_7]
# SPINDLE = 0
# TYPE = ANGULAR

[SPINDLE_0]
(this works as expected, so I've not added the details here)

[JOINT_6]
SPINDLE = 1
TYPE = ANGULAR

[SPINDLE_1]

(the rest is setup just as with SPINDLE_0)
 Side Note: Please don't refer me to RoseKins.  I tried that and it will not meet our needs.
  • tommylight
  • tommylight's Avatar
22 May 2025 22:18
Replied by tommylight on topic Smart Serial Comms Error - Since upgrade to 2.9.4

Smart Serial Comms Error - Since upgrade to 2.9.4

Category: General LinuxCNC Questions

--- 10.10.10.10 ping statistics ---
60000 packets transmitted, 60000 received, 0% packet loss, time 60401ms
rtt min/avg/max/mdev = 0.056/0.084/7.709/0.139 ms

That is not good, at all.
If the PC has a RealTek network card, you will find a lot of replies here to install the DKMS drivers for it, i would skip that and try a new RT kernel, something like 6.11 or above.
Displaying 15841 - 15854 out of 15854 results.
Time to create page: 0.402 seconds
Powered by Kunena Forum