Advanced Search

Search Results (Searched for: )

  • spumco
  • spumco
21 Apr 2025 18:05

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

Category: General LinuxCNC Questions

I've now tested my original homing-at-0 config, with HOME=12, and it does indeed home as usual, and then set the current position to 12. So the question asked in the thread title is answered.

I'd still like to home-at-12, instead.
 

If you'd like the table to home all the way to the operator's left (X-max), and your two X limit switches are on the same input, you can change your INI config so that the search direction is positive. I think the following is what you want:

MIN_LIMIT = -0.001
MAX_LIMIT = 12.001
HOME_IS_SHARED = 1
HOME = 12
HOME_OFFSET = 12 
HOME_SEARCH_VEL = .2
HOME_LATCH_VEL = -0.015
HOME_FINAL_VEL = 0
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 2

This will result in an X homing sequence as such:
  • Table moves left (searching X-pos) at speed 0.2
  • Limit switch reached
  • Table moves right (X-neg) until limit switch clears at speed 0.015
  • Table stops, homing complete, DRO will be set to "12"
The reason for the "12.001" MAX_LIMIT value is that if you set it the same as HOME, then when you are finished homing the axis will be on the max soft limit.

If you would like the table to finish the sequence in the middle of travel, you can change the above as follows:

HOME = 6
HOME_FINAL_VEL = -.2

Same behavior as above, except after the limit switch is cleared the table will move right (X-neg) to the middle of travel and stop with the DRO at "6"

Similar edits can be made to the Y-axis to have the table finish close to the operator.
  • andypugh
  • andypugh's Avatar
21 Apr 2025 17:47
Replied by andypugh on topic ChatGPT LinuxCNC Assistent

ChatGPT LinuxCNC Assistent

Category: Configuration Tools

# Laden der Kinematik und des Benutzermodus-Stepgen
loadusr -W stepgen
loadusr -W remora-eth-3.0

This is just wrong (typical AI error?)
stepgen is realtime, and should be loaded with "loadrt"
I would rather expect that the same is true of remora-eth-3.0 (if that even exists)

linuxcnc.org/docs/stable/html/man/man9/stepgen.9.html
  • andypugh
  • andypugh's Avatar
21 Apr 2025 17:31
Replied by andypugh on topic How to homing the A-axis again with gcode?

How to homing the A-axis again with gcode?

Category: AXIS

I can't immediately think of a way to do what you ask.
It would be possible if M5 was re-mappable, but I don't think it is.
If you can use (for example) M15 in place of M5, then that could be remapped to:
wait for spindle stopped
measure the current angle
reset the offset (as described earlier)
rapid to A=0

linuxcnc.org/docs/stable/html/remap/rema...remap:existing-codes
  • andypugh
  • andypugh's Avatar
21 Apr 2025 17:17

Need help making rotary axis behave like second spindle

Category: Advanced Configuration

And also note that you can split the HAL entries between files, too, if you use a common signal name. (eg all main HAL signals are available in the postgui halfile)
  • andypugh
  • andypugh's Avatar
21 Apr 2025 17:12
Replied by andypugh on topic Digital Input

Digital Input

Category: O Codes (subroutines) and NGCGUI

is "mesa-input-pin" just a placeholder?

I don't really understand the question. Are you wanting to not have the HAL entry for some reason?
  • andypugh
  • andypugh's Avatar
21 Apr 2025 17:07
  • andypugh
  • andypugh's Avatar
21 Apr 2025 17:06
Replied by andypugh on topic boxford 160tcl

boxford 160tcl

Category: General LinuxCNC Questions

A multimeter in diode-check mode can identidy the LEDs. (almost certainly black gnd and red power) and then if the other two are wrong, swap them. P should be several pulses per rev, I should be one pulse per rev.
  • bkt
  • bkt's Avatar
21 Apr 2025 16:26

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

Category: EtherCAT

I made a test in these way .....
<masters>
<master idx="0" appTimePeriod="8000000" refClockSyncCycles="1">  
    <slave idx="0" type="generic" vid="0x00000b3d" pid="0x29c9f7b1" name="D1">
      <!--S1-M20-->
      <syncManager idx="0" dir="in"/>
      <syncManager idx="1" dir="out"/>
      <syncManager idx="2" dir="out">
        <pdo idx="1600">
          <!--Output Data-->
          <pdoEntry idx="7000" subIdx="01" bitLen="32" halType="complex">
            <complexEntry bitLen="1" halPin="out-1" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-2" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-3" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-4" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-5" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-6" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-7" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-8" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-9" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-10" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-11" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-12" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-13" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-14" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-15" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-16" halType="bit"/>
          </pdoEntry>
      </pdo>
      </syncManager>
      <syncManager idx="3" dir="in">
        <pdo idx="1a00">
          <!--Input Data-->
          <pdoEntry idx="6000" subIdx="01" bitLen="32" halType="complex">
            <complexEntry bitLen="1" halPin="in-1" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-2" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-3" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-4" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-5" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-6" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-7" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-8" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-9" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-10" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-11" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-12" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-13" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-14" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-15" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-16" halType="bit"/>
          </pdoEntry>
      </pdo>
      </syncManager>
    </slave>
  </master>
</masters>


same result ..... no lcec.0.op-state true....????

 
  • pgf
  • pgf
21 Apr 2025 15:20

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

Category: General LinuxCNC Questions

I've now tested my original homing-at-0 config, with HOME=12, and it does indeed home as usual, and then set the current position to 12. So the question asked in the thread title is answered.

I'd still like to home-at-12, instead.
  • Didi
  • Didi
21 Apr 2025 14:33 - 21 Apr 2025 14:39
Replied by Didi on topic Proxxon CU4

Proxxon CU4

Category: General LinuxCNC Questions

In my opinion they are using the "Leadshine DM542EU" stepper motor controllers, but I couldn't identify the BOB. So, thank you for that info.
  • besriworld
  • besriworld
21 Apr 2025 14:10
Replied by besriworld on topic Lathe with C axis

Lathe with C axis

Category: General LinuxCNC Questions

You can add a second servo motor with a gear like HAAS does
I think it's better if the second encoder goes to the mesa card.
  • vre
  • vre
21 Apr 2025 14:07 - 21 Apr 2025 21:31
Digital Input was created by vre

Digital Input

Category: O Codes (subroutines) and NGCGUI

If i have this in hal
#M66 Digital Inputs
net spindle-stoped motion.digital-in-03 mesa_input_pin
and this subroutine code
M66 P3 L3 Q4 ;Check for spindle stopped - wait up to 4 seconds for digital input 3 to turn on
o307 if [#5399 LT 0]
(abort, spindle not stopped)
o307 endif

How can change this code to check if spindle is stopped
if i have not set this pin
net spindle-stoped motion.digital-in-03 mesa_input_pin

In reality spindle is connected to mesa daughter card 7i33
and i want to check from subroutine code if it is stopped.
  • PCW
  • PCW's Avatar
21 Apr 2025 13:59
Replied by PCW on topic Proxxon CU4

Proxxon CU4

Category: General LinuxCNC Questions

Its parallel port compatible (uses the common "Mach 5 Axis BOB" inside)
So would work with a parallel port or Ethernet/SPI/GPIO/etc device that has a
parallel port like interface.
 
  • vre
  • vre
21 Apr 2025 13:59
Replied by vre on topic spindle with encoder

spindle with encoder

Category: Basic Configuration

To mechanically adjust the exact same ratio is very difficult
Also with counter chips division maybe can not be integer multiple
so the only real option is to mount and aluminum disk to spindle shaft
and because my spindle shaft from top has the hydraulic cylinder that locks the tool
the only place can put this is only to the downside of spindle shaft.
How many lines must have the disc for rigid tapping ?
Also must have disc with A B and Z signals or only A is enough ?
  • langdons
  • langdons
21 Apr 2025 13:54
Replied by langdons on topic Should I switch from AXIS to QtDragon?

Should I switch from AXIS to QtDragon?

Category: Qtvcp

Just buy a cat.

They're cute and they catch mice.
Displaying 6436 - 6450 out of 24042 results.
Time to create page: 0.394 seconds
Powered by Kunena Forum