Advanced Search

Search Results (Searched for: )

  • bkt
  • bkt's Avatar
22 Apr 2025 08:40

First time to try build my xml for not listed ethercat in-out component

Category: EtherCAT

on ethercat slaves command have only these reply ... 0  0:0  PREOP  +  S1-M20
..... very frustrating isn't it? here an other configuration become froam omrom plc of same product ....
<EtherCATInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="EtherCATInfo.xsd" Version="1.2">
    <Vendor>
        <Id>#x00000B3D</Id>
        <Name>SVLEC</Name>
        <ImageData16x14>424DD8020000000000003600000028000000100000000E0000000100180000000000A2020000C30E0000C30E0000000000000000000039A1EF30A1F6309FF23BA2F0E8DCD3D7D7D7D7D7D7D6D6D6D6D6D6D7D7D7D7D7D7D7D7D7D6D6D6D6D6D6D7D7D7D8D8D862809A1481D51596F71E96F1E9DBD1D6D6D6D4D4D4D7D7D7D6D6D6D7D7D7D7D7D7D4D4D4D7D7D7D4D4D4D5D5D5D7D7D73680B9CBD6E0048FF62098F1EBDED4C0C0C1D6D6D6B9B9B9C5C5C6BFBFC0BBBBBBD7D7D7BABABAD9D9D9CCCCCCD1D1D10991F8FFF1E635A2F31C96F2EEE1D69A9A9BDADADA9F9F9FC2C2C2B2B2B3B4B4B5CBCBCB939394DFDFDF9F9FA0DCDCDC1C97F441A7F33262891E9CFBECDED4B6B6B6D9D9D9C1C1C1C3C3C3BEBEBEB3B3B3D6D6D5B3B3B4DCDCDCA5A5A6D9D9D92199F3169CFF135489209EFCEADCD2E3E3E2E0E0DFD8D8D8E0E0E0DADADA3E3E3E000000E4E4E3DBDBDBE3E3E3D7D7D7219AF41C9EFF14355421A1FFEFE2D762626469696ADEDEDD747576D1D1D12C2C2D1E1E1F666668ACACAD6B6B6DDEDEDE22A3FF152436165487219FFDEFE1D7757576565658C7C7C73C3C3EBEBEBE6565676666689393947A7A7B646466ADADAE219FFD175B9116A2FF2098F1EEE1D79D9D9E8B8B8CACACAC5C5C5E9B9B9B9C9C9D979798919192636365E7E7E7D8D8D820A0FF1D466931A2F61C97F2ECDFD5B7B7B8878788B9B9B9AAAAABADADADB7B7B7B7B7B8858586939394E7E7E7DADADA1C98F445A3EAF3EEEB088FF5F4E7DC48484A717173838385C7C7C77D7D7EACACACAAAAAB6C6C6D868688626264C1C1C12199F3028CF4FCF3EE478FC6EBE3DD909091808081838384DBDBDB7E7E7FB2B2B2AFAFB0767678BABABB818182D0D0D12099F31595F5429BDE7B9BB5E0DBD7DCDCDCDEDEDEDDDDDDD6D6D6DDDDDDD9D9D9D9D9D9DEDEDED9D9D9E1E0E0AEAFB1289BF11F98F21796F52991DFE7DCD3D4D4D4D4D4D4D4D4D4D4D4D4D4D4D4D4D4D4D4D4D4D4D4D4D4D4D4D4D4D4DADAD90000</ImageData16x14>
    </Vendor>
    <Descriptions>
        <Groups>
            <Group>
                <Type>EtherCAT DP16</Type>
                <Name LcId="1033">EtherCAT DP16</Name>
                <ImageData16x14>424DD8020000000000003600000028000000100000000E0000000100180000000000A2020000C30E0000C30E0000000000000000000039A1EF30A1F6309FF23BA2F0E8DCD3D7D7D7D7D7D7D6D6D6D6D6D6D7D7D7D7D7D7D7D7D7D6D6D6D6D6D6D7D7D7D8D8D862809A1481D51596F71E96F1E9DBD1D6D6D6D4D4D4D7D7D7D6D6D6D7D7D7D7D7D7D4D4D4D7D7D7D4D4D4D5D5D5D7D7D73680B9CBD6E0048FF62098F1EBDED4C0C0C1D6D6D6B9B9B9C5C5C6BFBFC0BBBBBBD7D7D7BABABAD9D9D9CCCCCCD1D1D10991F8FFF1E635A2F31C96F2EEE1D69A9A9BDADADA9F9F9FC2C2C2B2B2B3B4B4B5CBCBCB939394DFDFDF9F9FA0DCDCDC1C97F441A7F33262891E9CFBECDED4B6B6B6D9D9D9C1C1C1C3C3C3BEBEBEB3B3B3D6D6D5B3B3B4DCDCDCA5A5A6D9D9D92199F3169CFF135489209EFCEADCD2E3E3E2E0E0DFD8D8D8E0E0E0DADADA3E3E3E000000E4E4E3DBDBDBE3E3E3D7D7D7219AF41C9EFF14355421A1FFEFE2D762626469696ADEDEDD747576D1D1D12C2C2D1E1E1F666668ACACAD6B6B6DDEDEDE22A3FF152436165487219FFDEFE1D7757576565658C7C7C73C3C3EBEBEBE6565676666689393947A7A7B646466ADADAE219FFD175B9116A2FF2098F1EEE1D79D9D9E8B8B8CACACAC5C5C5E9B9B9B9C9C9D979798919192636365E7E7E7D8D8D820A0FF1D466931A2F61C97F2ECDFD5B7B7B8878788B9B9B9AAAAABADADADB7B7B7B7B7B8858586939394E7E7E7DADADA1C98F445A3EAF3EEEB088FF5F4E7DC48484A717173838385C7C7C77D7D7EACACACAAAAAB6C6C6D868688626264C1C1C12199F3028CF4FCF3EE478FC6EBE3DD909091808081838384DBDBDB7E7E7FB2B2B2AFAFB0767678BABABB818182D0D0D12099F31595F5429BDE7B9BB5E0DBD7DCDCDCDEDEDEDDDDDDD6D6D6DDDDDDD9D9D9D9D9D9DEDEDED9D9D9E1E0E0AEAFB1289BF11F98F21796F52991DFE7DCD3D4D4D4D4D4D4D4D4D4D4D4D4D4D4D4D4D4D4D4D4D4D4D4D4D4D4D4D4D4D4DADAD90000</ImageData16x14>
            </Group>
        </Groups>
        <Devices>
            <Device Physics="YY">
                <Type ProductCode="#x1201B602" RevisionNo="#x00000003">ECL16DP</Type>
                <Name LcId="1033">ECL16DP</Name>
                <GroupType>EtherCAT DP16</GroupType>
                <Fmmu>Outputs</Fmmu>
                <Fmmu>Inputs</Fmmu>
                <Sm StartAddress="#x0f02" ControlByte="#x44" Enable="1" OpOnly="1">Outputs</Sm>
                <Sm StartAddress="#x0f03" ControlByte="#x44" Enable="1" OpOnly="1">Outputs</Sm>
                <Sm StartAddress="#x1000" ControlByte="0" Enable="1">Inputs</Sm>
                <RxPdo Fixed="1" Sm="0">
                    <Index>#x1600</Index>
                    <Name>Byte 0</Name>
                    <Entry>
                        <Index>#x7000</Index>
                        <SubIndex>1</SubIndex>
                        <BitLen>8</BitLen>
                        <Name>Output</Name>
                        <DataType>BITARR8</DataType>
                    </Entry>
                </RxPdo>
                <RxPdo Fixed="1" Sm="1">
                    <Index>#x1601</Index>
                    <Name>Byte 1</Name>
                    <Entry>
                        <Index>#x7001</Index>
                        <SubIndex>1</SubIndex>
                        <BitLen>8</BitLen>
                        <Name>Output</Name>
                        <DataType>BITARR8</DataType>
                    </Entry>
                </RxPdo>
                <TxPdo Fixed="1" Sm="2">
                    <Index>#x1a00</Index>
                    <Name>Byte 0</Name>
                    <Entry>
                        <Index>#x6000</Index>
                        <SubIndex>1</SubIndex>
                        <BitLen>8</BitLen>
                        <Name>Input</Name>
                        <DataType>BITARR8</DataType>
                    </Entry>
                </TxPdo>
                <TxPdo Fixed="1" Sm="2">
                    <Index>#x1a01</Index>
                    <Name>Byte 1</Name>
                    <Entry>
                        <Index>#x6001</Index>
                        <SubIndex>1</SubIndex>
                        <BitLen>8</BitLen>
                        <Name>Input</Name>
                        <DataType>BITARR8</DataType>
                    </Entry>
                </TxPdo>
                <Dc>
                    <OpMode>
                        <Name>DcOff</Name>
                        <Desc>DC unused</Desc>
                        <AssignActivate>#x0000</AssignActivate>
                    </OpMode>
                    <OpMode>
                        <Name>DcSync</Name>
                        <Desc>DC for synchronization</Desc>
                        <AssignActivate>#x0100</AssignActivate>
                        <CycleTimeSync0 Factor="1">0</CycleTimeSync0>
                        <ShiftTimeSync0>0</ShiftTimeSync0>
                    </OpMode>
                </Dc>
                <Eeprom>
                    <ByteSize>2048</ByteSize>
                    <ConfigData>040f0044102700ff000000000000</ConfigData>
                </Eeprom>
            </Device>
        </Devices>
    </Descriptions>
</EtherCATInfo>


  • dctrytsman
  • dctrytsman
22 Apr 2025 07:49
Spindle Gear changing was created by dctrytsman

Spindle Gear changing

Category: General LinuxCNC Questions

Can someone please explain how to set up gear changes. My lathe spindle motor is connected to a gearbox that has two gear ratios and the gears are changed by a pneumatic actuator. The gearbox is then connected to the spindle via belts. The spindle has a encoder connected to it via a 1:1 geared belt drive. The feedback part of the system works fine.

How can I connect this to HAL so that the machine automatically selects the correct gear based on the requested spindle speed. I think that the gear change should take place when the spindle speed is very low, but not standing still as the gears wont change smoothly.
  • Hakan
  • Hakan
22 Apr 2025 07:16

First time to try build my xml for not listed ethercat in-out component

Category: EtherCAT

bkt, something you mentioned before.
If I understand right, there is a master module "S1-M20" and a connected sub-device "ECL16DP"
Both are EtherCAT devices or slaves. They should both show up as slaves when you do the "ethercat slaves" command.
But in the lcec_configgen listing there is only the "S1-M20" module, identified by the line
<slave idx="0" type="generic" vid="0x00000b3d" pid="0x29c9f7b1" name="D1">
where vid and pid are the numbers for S1-M20.
The config you are working on now is the S1-M20 config because of that.

In the first post you attached ESI-files for the ECL16DP unit. Identified by the lines
<VendorId>0x00000B3D</VendorId>
<ProductCode>0x1201B602</ProductCode>
in the xml file. That's the device with the inputs+outputs.

If they both are EtherCAT devices (and not meant  to be accessed through the S1-M20 in some way)
they should both show up on the EtherCAT bus. Use the command "ethercat slaves" to verify that.
They got to be visible on the EtherCAT bus before you can access them.
  • Hakan
  • Hakan
22 Apr 2025 06:26 - 22 Apr 2025 06:27

Long initialization of Ethercat on servo drive SV660N

Category: EtherCAT

I have had long sync times, and there recently was a user that went from debian 10 and igh 1.5 to debian 12, igh 1.6.3 and latest linuxcnc that experienced long time sync times. I switched network adapter which helped a lot, but there was no solution for the other guy.
In the dmesg list, you can see that the client's time is converging, it's just that it's converging too slowly.
One thing you can try, that doesn't solve the root cause, is to restart linuxcnc after such a failed start.
The thinking being that the clients now have a much better starting time for the time sync.
  • Salrodri
  • Salrodri
22 Apr 2025 03:11
Tool changer was created by Salrodri

Tool changer

Category: O Codes (subroutines) and NGCGUI

Hello,
Could you please help me with my tool changer, my machine is cnc endmill  emco 55 pcmill. I am using Carousel Component with counts mode, since I have a stepper motor on the tool changer.I also have a sensor that connected to sens-0 (index)at this point I can move and home the car, I can also do the tool changes.the last thing that I need to do is move the carousel back home once the tool has been changed. How can I move the car back to home with a subroutine?My tool changer does not have an arm that I can control.

Thank you, 
  • pgf
  • pgf
22 Apr 2025 02:13

After homing X and Y, can I auto move to a non 0,0 location?

Category: General LinuxCNC Questions

Heh. I would have to say probably "yes", to both. LOL.

It's a DIY mill. In 1993, II got it as a kit, which included the stepper, a driver board (which did just raw coil driving -- not even step/dir!) along with plans for a chassis made of particle board, rails from high quality drawer slides, and all-thread rod as the transport. The s/w that came with it was written for DOS, polling loops and all.

There have obviously been a lot of upgrades over the years: EMC/LinuxCNC in 2004, acme rod for X and Y (Z still uses the all-thread) a lot of chassis strengthening, a real step/dir driver board maybe 10 years ago, and a Mesa card and Raspberry Pi this year. But it still has the same steppers, and the linkages and threaded shafts aren't all that well aligned. Frankly, I'm amazed it all kind of still works. But I have fun with it... when it's not driving me nuts!

Pictures here: projects.foxharp.net/cnc/
  • RushA
  • RushA
22 Apr 2025 01:25

A simple question: How to use EXPORT_SYMBOL()

Category: General LinuxCNC Questions

hi,thanks!
It doesn't work too. However, I find something in rtapi.h file.
I think it is not like the linux kernel modules.

#if !defined(__KERNEL__)
#define MODULE_INFO1(t, a, c) __attribute__((section(".modinfo"))) \
    t rtapi_info_##a = c; EXPORT_SYMBOL(rtapi_info_##a);
#define MODULE_INFO2x(t, a, b, c) MODULE_INFO2(t,a,b,c)
#define MODULE_INFO2(t, a, b, c) __attribute__((section(".modinfo"))) \
    t rtapi_info_##a##_##b = c; EXPORT_SYMBOL(rtapi_info_##a##_##b);
#define MODULE_PARM(v,t) MODULE_INFO2(const char*, type, v, t) MODULE_INFO2(void*, address, v, &v)
#define MODULE_PARM_DESC(v,t) MODULE_INFO2(const char*, description, v, t)
#define MODULE_LICENSE(s) MODULE_INFO1(const char*, license, s)
#define MODULE_AUTHOR(s) MODULE_INFO1(const char*, author, s)
#define MODULE_DESCRIPTION(s) MODULE_INFO1(const char*, description, s)
#define MODULE_SUPPORTED_DEVICE(s) MODULE_INFO1(const char*, supported_device, s)
#define MODULE_DEVICE_TABLE(x,y) MODULE_INFO2(struct rtapi_pci_device_id*, device_table, x, y)
#define MODULE_INFO(x,y) MODULE_INFO2x(char*, x, __LINE__, y)
#define EXPORT_SYMBOL(x) __attribute__((section(".rtapi_export"))) \
    char rtapi_exported_##x = #x;
#define EXPORT_SYMBOL_GPL(x) __attribute__((section(".rtapi_export"))) \
    char rtapi_exported_##x = #x;




 
  • spumco
  • spumco
22 Apr 2025 01:18

After homing X and Y, can I auto move to a non 0,0 location?

Category: General LinuxCNC Questions

Ha!!! My motors stall if I go much over 40 inches / minute!
 

That seems exceptionally slow.

Is there a problem with your machine - perhaps axis binding - or do you have really undersized motors?
  • cakeslob
  • cakeslob
22 Apr 2025 01:04
Replied by cakeslob on topic ChatGPT LinuxCNC Assistent

ChatGPT LinuxCNC Assistent

Category: Configuration Tools

I suggest trying to work with this file. I still need to clean it up a little, but this is a far better starting point than the ai file

github.com/cakeslob/RRW_LAB/blob/inc/Lin...theng/remora-xyz.hal
github.com/cakeslob/RRW_LAB/blob/inc/Lin.../remora-xyzRE_ts.ini


I mean....big red flags from ai file
[EMC]
VERSION = 2.9.4
TASK = lathe_task
COORDINATES = XZC
KINEMATICS = trivkins coordinates=XZC
  • Soccer Kid
  • Soccer Kid's Avatar
22 Apr 2025 00:48

Long initialization of Ethercat on servo drive SV660N

Category: EtherCAT

Perhaps it is related to the EOE mode of the drive. Generally, it is recommended to adopt the drive in COE mode...
  • unknown
  • unknown
22 Apr 2025 00:39
Replied by unknown on topic 7i92 firmware issue

7i92 firmware issue

Category: Driver Boards

Mainly for my own records and thinking aloud.......
Switched from the i5 & Realtek NIC to a RPi5. Seems somewhat more solid, can get Mesaflash to write reliably with a 8us usleep instruction around the "sync" instruction. Still thinking the issue is my side, have ordered some "sample" interface chips from Microchip, I'll assemble another board, this time using a reflow oven for the SMD parts. If that doesn't fix it I have a board designed for the OMDAZZ dev board I've used before, SPI just needs upgrading to 16Mb part as it only comes with a 4Mb part.
  • unknown
  • unknown
22 Apr 2025 00:30
Replied by unknown on topic ChatGPT LinuxCNC Assistent

ChatGPT LinuxCNC Assistent

Category: Configuration Tools

I think about 6 months ago a user tried to use ChatGPT to write a component for Linuxcnc...what a mess that was and the user was quite upset, not so much with the code supplied but with the fact that the replies suggesting the code made no sense.
  • unknown
  • unknown
22 Apr 2025 00:26

Linuxcnc & the Raspberry Pi (4 & 5) Official Images Only!!!

Category: Installing LinuxCNC

Thanks for your input. Keyboard input is USB, so meh, not a lot that can be done about that.
  • unknown
  • unknown
22 Apr 2025 00:23

Linuxcnc 2.9.2 and 2.93 images for Raspberry Pi 4b & 5

Category: Installing LinuxCNC

Use the official fan & heatsink, it works well and you'll have no issues. I've left mine on for days at a time during the summer in Australia and nothing has gone wrong.

I prefer a wired pendant, connected via a Mesa 7i73. It's solid and you don't need to worry about disconnections. Just axis & step selectors with a hand wheel. Tho Rod does us a fancy wireless one.
  • pgf
  • pgf
22 Apr 2025 00:18

After homing X and Y, can I auto move to a non 0,0 location?

Category: General LinuxCNC Questions

Ha!!! My motors stall if I go much over 40 inches / minute!
Displaying 1801 - 1815 out of 26442 results.
Time to create page: 0.626 seconds
Powered by Kunena Forum