Advanced Search

Search Results (Searched for: )

  • sajurcaju
  • sajurcaju
18 Apr 2025 18:37
Replied by sajurcaju on topic Odd estop problem

Odd estop problem

Category: General LinuxCNC Questions

Halscope does indeed show scattered 1V spikes on parallel port pin 3 (what I'm using for estop ext).
Estop-ext was not debounced.

I tried it again unchanged, estop not debounced. When I enabled, it immediately had an estop. Re-enabled, it took 10 seconds to estop.
I added debounce in Hal and it's been enabled for 3 hours with no estop events. Looks pretty good, more time will tell for sure.

Unfortunately, part of the debounce code is in my machine-name.hal file, which will get overwritten if I run Stepconf. Another note to my "fixing after stepconf" file. The code:

In machine-name.hal, add an intermediate net estop-ext-raw:
#net estop-ext       <= parport.1.pin-03-in-not <<as written by Stepconf>>
net estop-ext-raw       <= parport.1.pin-03-in-not

In custom.hal:
loadrt debounce cfg=2
setp debounce.0.delay 100
addf debounce.0 base-thread
net estop-ext-raw => debounce.0.1.in
net estop-ext <= debounce.0.1.out

Thank you!

 
  • aDm1N
  • aDm1N's Avatar
18 Apr 2025 18:34 - 18 Apr 2025 18:36
Replied by aDm1N on topic ChatGPT LinuxCNC Assistent

ChatGPT LinuxCNC Assistent

Category: Configuration Tools

 

File Attachment:

File Name: linuxcnc.txt
File Size:5 KB
Unfortunately I couldn't add anything more, here is the error report from linuxcnc.
  • langdons
  • langdons
18 Apr 2025 18:32
Replied by langdons on topic Determining Angular Scale - Help w/ Microsteps

Determining Angular Scale - Help w/ Microsteps

Category: Configuration Tools

Otherwise you have some issue, mismeasurement, miscomunication(bad cabling), or some other issue.

3*200=600

Math is always right (though sometimes it appears wrong at first)

Does speed make a difference?
  • langdons
  • langdons
18 Apr 2025 18:30
Replied by langdons on topic Determining Angular Scale - Help w/ Microsteps

Determining Angular Scale - Help w/ Microsteps

Category: Configuration Tools

Steps/rev should be 600 for full-step, 2400 for 1/4 step, 4800 for 1/8 step, or 9600 for 1/16 step.
  • pgf
  • pgf
18 Apr 2025 18:30

Are the program's extents available to the g-code?

Category: General LinuxCNC Questions

I wish y'all had been around when I first configured my machine... 20 years ago. :-)

After Tommy's first reply, I did some reading, and realized that since I have X and Y limits, configuring them as homing inputs as well would be trivial. And so it was, plus or minus a "+" or "-", here and there.

I think I never thought there was any point to having a true home, and really, I've gotten by without it until now. I hit the limit switches when jogging reasonably often, but they're soft-mounted, so it's not a big deal.

In any case, I'm fully configured with home+limits on X and Y now, and I have proper soft limits configured, so I'm all set. <Another high five!>

Secondary question: I don't have a Z+ limit switch. My mill is so slow I'd really have to not be paying attention for the carriage to get close to the stepper. A lower limit would be nice, but I really don't understand how that could work. My spindle is a router, so the bit length varies a lot. Is there any way to configure this to work? I see people say that they don't bother with a lower Z limit, and just rely on a soft limit there, but what would you set it to? Is there something about "real" spindles that I don't know? Are the bits always the same length?
  • langdons
  • langdons
18 Apr 2025 18:27
Replied by langdons on topic Determining Angular Scale - Help w/ Microsteps

Determining Angular Scale - Help w/ Microsteps

Category: Configuration Tools

Full steps, 1/4 steps, 1/8 steps, etc. are all you should use for a 2-phase stepper.

Half steps have torque ripple issues.

Less than 1/8 (1/16) seems too slow for me.

Note that small microsteps don't work with an undersized motor or driver (as is likely the case for you).

A micro step for a 2-phase stepper motor must be 1/2^n | n ≥ 0
  • aDm1N
  • aDm1N's Avatar
18 Apr 2025 17:56 - 18 Apr 2025 18:31
Replied by aDm1N on topic ChatGPT LinuxCNC Assistent

ChatGPT LinuxCNC Assistent

Category: Configuration Tools

I've played around with the wizard a lot and actually put together a good configuration. Unfortunately, LinuxCNC won't start, and after a day of back and forth, I'm pretty frustrated because the AI ​​seems to constantly assume an RTAI kernel and, despite my reminder, can't quite figure out how to use the RT kernel. Attached are the .ini and custom.hal files. How do I modify the files to make it run, or where can I get the specific information?

File Attachment:

File Name: custom.hal
File Size:3 KB

File Attachment:

File Name: my-lathe.ini
File Size:2 KB
  • acourtjester
  • acourtjester
18 Apr 2025 17:40 - 18 Apr 2025 17:42
Replied by acourtjester on topic rotary axis queston

rotary axis queston

Category: General LinuxCNC Questions

THANKS YOU tommylight that worked fine, I was able to switch the pin to Y limit only and cleared the
HOME_SEARCH_VEL = -0.0
HOME_LATCH_VEL = -0.0
HOME_FINAL_VEL = 0.0
No home action and the Y limit errors out when it moves to the limit.  Ran a G-code fine too.
I'm very happy you guys are great.
Now to move on with the rotary build.
  • PCW
  • PCW's Avatar
18 Apr 2025 17:25
Replied by PCW on topic converting a tos/intos fngj 40

converting a tos/intos fngj 40

Category: Milling Machines

Yes, in this case, I would probably just leave it disconnected.
(unless you need to disable the drives so that the shafts are freewheeling)

If you have a free step/dir output on the 7I78 that can be used as a 5V
enable output
  • snowgoer540
  • snowgoer540's Avatar
18 Apr 2025 17:12
  • tommylight
  • tommylight's Avatar
18 Apr 2025 17:01

Are the program's extents available to the g-code?

Category: General LinuxCNC Questions

(I should clarify that my machine is "homeless".  "home" is always relative to the piece, so there's no way for the interpreter to know in advance that I'll be exceeding a limit.)

I was going from this! :)
I guess he does have limit switches, but not used as home switches.
Yeah, in that case, make a new config with home/limit switches and use "touch off" as we mortals do.
  • snowgoer540
  • snowgoer540's Avatar
18 Apr 2025 16:56
Replied by snowgoer540 on topic Are the program's extents available to the g-code?

Are the program's extents available to the g-code?

Category: General LinuxCNC Questions

Guess we need him to clarify ¯\_(ツ)_/¯

I was going from this:

I tripped a limit switch.

  • bkt
  • bkt's Avatar
18 Apr 2025 16:44 - 18 Apr 2025 18:47

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

Category: EtherCAT

For first time try to build a correct .xml file for uses svelec i/o devices .... my first unworking test here ... in attach the product .xml file.

<master idx="0" appTimePeriod="8000000" refClockSyncCycles="1">
    <slave idx="0" type="S1-M20" name="S1-M20"/>
    <slave idx="1" type="generic" vid="0x00000B3D" pid="0x1201B602" rev="0x00000003" name="ECL16DP">
      <syncManager idx="0" dir="out" address="0x0f02" size="1" controlByte="0x44" enable="true" opOnly="true"/>
      <syncManager idx="1" dir="out" address="0x0f03" size="1" controlByte="0x44" enable="true" opOnly="true"/>
      <syncManager idx="2" dir="in" address="0x1000" size="2" controlByte="0x00" enable="true"/>
      <syncManager idx="0">
        <pdo idx="0x1600" name="Byte 0 outs">
          <pdoEntry idx="0x7000" subIdx="1" bitLen="1" halPin="out-0-bit-0" halType="bit"/>
          <pdoEntry idx="0x7000" subIdx="2" bitLen="1" halPin="out-0-bit-1" halType="bit"/>
          <pdoEntry idx="0x7000" subIdx="3" bitLen="1" halPin="out-0-bit-2" halType="bit"/>
          <pdoEntry idx="0x7000" subIdx="4" bitLen="1" halPin="out-0-bit-3" halType="bit"/>
          <pdoEntry idx="0x7000" subIdx="5" bitLen="1" halPin="out-0-bit-4" halType="bit"/>
          <pdoEntry idx="0x7000" subIdx="6" bitLen="1" halPin="out-0-bit-5" halType="bit"/>
          <pdoEntry idx="0x7000" subIdx="7" bitLen="1" halPin="out-0-bit-6" halType="bit"/>
          <pdoEntry idx="0x7000" subIdx="8" bitLen="1" halPin="out-0-bit-7" halType="bit"/>
        </pdo>
      </syncManager>
      <syncManager idx="1">
        <pdo idx="0x1601" name="Byte 1 outs">
          <pdoEntry idx="0x7001" subIdx="1" bitLen="1" halPin="out-1-bit-0" halType="bit"/>
          <pdoEntry idx="0x7001" subIdx="2" bitLen="1" halPin="out-1-bit-1" halType="bit"/>
          <pdoEntry idx="0x7001" subIdx="3" bitLen="1" halPin="out-1-bit-2" halType="bit"/>
          <pdoEntry idx="0x7001" subIdx="4" bitLen="1" halPin="out-1-bit-3" halType="bit"/>
          <pdoEntry idx="0x7001" subIdx="5" bitLen="1" halPin="out-1-bit-4" halType="bit"/>
          <pdoEntry idx="0x7001" subIdx="6" bitLen="1" halPin="out-1-bit-5" halType="bit"/>
          <pdoEntry idx="0x7001" subIdx="7" bitLen="1" halPin="out-1-bit-6" halType="bit"/>
          <pdoEntry idx="0x7001" subIdx="8" bitLen="1" halPin="out-1-bit-7" halType="bit"/>
        </pdo>
      </syncManager>
      <syncManager idx="2">
        <pdo idx="0x1a00" name="Byte 0 ins">
          <pdoEntry idx="0x6000" subIdx="1" bitLen="1" halPin="in-0-bit-0" halType="bit"/>
          <pdoEntry idx="0x6000" subIdx="2" bitLen="1" halPin="in-0-bit-1" halType="bit"/>
          <pdoEntry idx="0x6000" subIdx="3" bitLen="1" halPin="in-0-bit-2" halType="bit"/>
          <pdoEntry idx="0x6000" subIdx="4" bitLen="1" halPin="in-0-bit-3" halType="bit"/>
          <pdoEntry idx="0x6000" subIdx="5" bitLen="1" halPin="in-0-bit-4" halType="bit"/>
          <pdoEntry idx="0x6000" subIdx="6" bitLen="1" halPin="in-0-bit-5" halType="bit"/>
          <pdoEntry idx="0x6000" subIdx="7" bitLen="1" halPin="in-0-bit-6" halType="bit"/>
          <pdoEntry idx="0x6000" subIdx="8" bitLen="1" halPin="in-0-bit-7" halType="bit"/>
        </pdo>
        <pdo idx="0x1a01" name="Byte 1 ins">
          <pdoEntry idx="0x6001" subIdx="1" bitLen="1" halPin="in-1-bit-0" halType="bit"/>
          <pdoEntry idx="0x6001" subIdx="2" bitLen="1" halPin="in-1-bit-1" halType="bit"/>
          <pdoEntry idx="0x6001" subIdx="3" bitLen="1" halPin="in-1-bit-2" halType="bit"/>
          <pdoEntry idx="0x6001" subIdx="4" bitLen="1" halPin="in-1-bit-3" halType="bit"/>
          <pdoEntry idx="0x6001" subIdx="5" bitLen="1" halPin="in-1-bit-4" halType="bit"/>
          <pdoEntry idx="0x6001" subIdx="6" bitLen="1" halPin="in-1-bit-5" halType="bit"/>
          <pdoEntry idx="0x6001" subIdx="7" bitLen="1" halPin="in-1-bit-6" halType="bit"/>
          <pdoEntry idx="0x6001" subIdx="8" bitLen="1" halPin="in-1-bit-7" halType="bit"/>
        </pdo>
      </syncManager>
    </slave>
  </master>
</masters>


if possible try to have some suggestion or link for make it working ... [img]/media/kunena/emoticons/silly.png[/img]
  • tommylight
  • tommylight's Avatar
18 Apr 2025 16:18

Are the program's extents available to the g-code?

Category: General LinuxCNC Questions

If i understood this correctly, the machine has no limit or home switches at all.
  • tommylight
  • tommylight's Avatar
18 Apr 2025 16:16
Replied by tommylight on topic converting a tos/intos fngj 40

converting a tos/intos fngj 40

Category: Milling Machines

Seems like "disable" signal, not enable, as with most cheap drives lately.
Displaying 6346 - 6360 out of 24268 results.
Time to create page: 0.375 seconds
Powered by Kunena Forum