Advanced Search

Search Results (Searched for: )

  • WKS-3D
  • WKS-3D's Avatar
09 Sep 2025 15:21
Replied by WKS-3D on topic Glasmaßstab EIA-422 an Mesa 7i85 (S)

Glasmaßstab EIA-422 an Mesa 7i85 (S)

Category: Deutsch

@PCW

Sorry for only getting back to you now, but I've only just had a chance to try it out.
When I insert this:

setp    hm2_7192.0.encoder.00.index-enable true

and comment out this:

net x-index-enable  joint.0.index-enable  <=>  hm2_7i92.0.encoder.00.index-enable

I get an error message when starting LinuxCNC.

The complete section for the X-axis looks like this:
# Verwendete LinuxCNC version:  Master (2.9)

# Mesa 7i76 LAUFT IN MODE 1 MIT 4 ANALOGEN EINGANGEN (sserial_port_0=1000000x) !!!!!!

loadrt [KINS]KINEMATICS
loadrt [EMCMOT]EMCMOT unlock_joints_mask=0x8 servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS num_dio=6 num_aio=3
loadrt hostmot2
loadrt hm2_eth board_ip="10.10.10.10" config="num_encoders=5 num_pwmgens=0 num_stepgens=5 sserial_port_0=1000000x" 
loadrt flipflop count=2
setp   hm2_7i92.0.watchdog.timeout_ns 5000000
loadrt pid names=pid.x,pid.z
loadrt debounce cfg=8,1
setp debounce.0.delay 1
addf debounce.0                 servo-thread
setp debounce.1.delay 1
addf debounce.1                 servo-thread
addf flipflop.0                 servo-thread
addf flipflop.1                    servo-thread
addf hm2_7i92.0.read              servo-thread
addf motion-command-handler       servo-thread
addf motion-controller            servo-thread
addf pid.x.do-pid-calcs           servo-thread
addf pid.z.do-pid-calcs           servo-thread
#addf pid.s.do-pid-calcs           servo-thread
addf hm2_7i92.0.write             servo-thread
setp hm2_7i92.0.dpll.01.timer-us -50
setp hm2_7i92.0.stepgen.timer-number 1

# --- Pinole Input Signale ---
net taster-pinole-minus  <=  hm2_7i92.0.7i76.0.0.input-25
net taster-pinole-plus   <=  hm2_7i92.0.7i76.0.0.input-24

# Set flipflops
net taster-pinole-minus => flipflop.0.set 
net taster-pinole-plus => flipflop.1.set
net buf_taster-pinole-minus <= flipflop.0.out => hm2_7i92.0.7i76.0.0.output-01
net buf_taster-pinole-plus <= flipflop.1.out => flipflop.0.reset => flipflop.1.reset

# --- Werkzeug-Revolver loesen-spannen ---
net   revolver-unlock  joint.3.unlock  =>  hm2_7i92.0.7i76.0.0.output-00
net   revolver-is-unlocked  joint.3.is-unlocked  <=  hm2_7i92.0.7i76.0.0.input-09
net   joint.3.is-locked  motion.digital-in-00  <=  hm2_7i92.0.7i76.0.0.input-15

#*******************
#  AXIS X JOINT 0
#*******************

setp   pid.x.Pgain     [JOINT_0]P
setp   pid.x.Igain     [JOINT_0]I
setp   pid.x.Dgain     [JOINT_0]D
setp   pid.x.bias      [JOINT_0]BIAS
setp   pid.x.FF0       [JOINT_0]FF0
setp   pid.x.FF1       [JOINT_0]FF1
setp   pid.x.FF2       [JOINT_0]FF2
setp   pid.x.deadband  [JOINT_0]DEADBAND
setp   pid.x.maxoutput [JOINT_0]MAX_OUTPUT
setp   pid.x.error-previous-target true
# This setting is to limit bogus stepgen
# velocity corrections caused by position
# feedback sample time jitter.
setp   pid.x.maxerror 0.012700

net x-index-enable  =>  pid.x.index-enable
net x-enable        =>  pid.x.enable
net x-pos-cmd       =>  pid.x.command
net x-pos-fb        =>  pid.x.feedback
net x-output        <=  pid.x.output

# Schritt-Gen Signale/Setup

setp   hm2_7i92.0.stepgen.01.dirsetup        [JOINT_0]DIRSETUP
setp   hm2_7i92.0.stepgen.01.dirhold         [JOINT_0]DIRHOLD
setp   hm2_7i92.0.stepgen.01.steplen         [JOINT_0]STEPLEN
setp   hm2_7i92.0.stepgen.01.stepspace       [JOINT_0]STEPSPACE
setp   hm2_7i92.0.stepgen.01.position-scale  [JOINT_0]STEP_SCALE
setp   hm2_7i92.0.stepgen.01.step_type        0
setp   hm2_7i92.0.stepgen.01.control-type     1
setp   hm2_7i92.0.stepgen.01.maxaccel         [JOINT_0]STEPGEN_MAXACCEL
setp   hm2_7i92.0.stepgen.01.maxvel           [JOINT_0]STEPGEN_MAXVEL

# ---Closed-Loop Schrittmotor-Signale---

net x-pos-cmd    <= joint.0.motor-pos-cmd
net x-vel-cmd    <= joint.0.vel-cmd
net x-output     => hm2_7i92.0.stepgen.01.velocity-cmd
net x-enable     <= joint.0.amp-enable-out
net x-enable     => hm2_7i92.0.stepgen.01.enable

# ---Einrichtung Referenzfahrt X-ACHSE / Signal des Endschalters---

#(--- Hier nur normaler positiv Endschalter und Home-Switch ---)
net x-home-sw  hm2_7i92.0.7i76.0.0.input-06-not   =>  joint.0.home-sw-in
net x-pos-limit     =>  joint.0.pos-lim-sw-in

# --- Mit Glasmassstab ---
#net x-pos debounce.0.0.in  <=  hm2_7i92.0.7i76.0.0.input-06-not
#net x-pos-limit debounce.0.0.out
#net x-pos-limit  =>  joint.0.pos-lim-sw-in  joint.0.home-sw-in

# ---Encoder Feedback Signals/Setup

setp    hm2_7i92.0.encoder.00.counter-mode 0
setp    hm2_7i92.0.encoder.00.filter 0
setp    hm2_7i92.0.encoder.00.index-invert 0
setp    hm2_7i92.0.encoder.00.index-mask 0
setp    hm2_7i92.0.encoder.00.index-mask-invert 1
setp    hm2_7i92.0.encoder.00.scale  [JOINT_0]ENCODER_SCALE
setp    hm2_7192.0.encoder.00.index-enable true

# ---Indexsignal GMS fuer Referenzpunkt X (NICHT MIT NORMALEM ENDSCHALTER)

net x-pos-fb  <=  hm2_7i92.0.encoder.00.position
net x-vel-fb  <=  hm2_7i92.0.encoder.00.velocity
net x-pos-fb  =>  joint.0.motor-pos-fb
net x-index-enable  joint.0.index-enable  <=>  hm2_7i92.0.encoder.00.index-enable
net x-pos-rawcounts  <=  hm2_7i92.0.encoder.00.rawcounts

What's wrong?
 
  • andypugh
  • andypugh's Avatar
09 Sep 2025 15:14
Replied by andypugh on topic ECMO VMC100 Retrofit with Carousel/Toolchanger

ECMO VMC100 Retrofit with Carousel/Toolchanger

Category: Milling Machines

Maybe the real sensors have a different polarity to your bench test setup?
Halscope should help understand what is going on, if you scope the inputs and the carousel.0.state (with reference to:
github.com/LinuxCNC/linuxcnc/blob/2.9/sr...s/carousel.comp#L309
  • Aciera
  • Aciera's Avatar
09 Sep 2025 15:08 - 09 Sep 2025 15:40
Replied by Aciera on topic G33.1 synchronized tapping problem

G33.1 synchronized tapping problem

Category: General LinuxCNC Questions

No feedback from other users so far but the workaround disconnecting the 'joint.n.index-enable' (where n is the joint for the caxis) certainly worked for me.
Note though that I have since dismantled my test setup, so no further testing has been done on my part.

[edit]
I have now filed an issue on git:
github.com/LinuxCNC/linuxcnc/issues/3556
  • andypugh
  • andypugh's Avatar
09 Sep 2025 15:02 - 09 Sep 2025 15:03
Replied by andypugh on topic Homing is not working

Homing is not working

Category: HAL

The docs are quite clear that 1,2,3 is valid for a home sequence. But just as a test, can you try 0,1,2 ?
(Though it's all a bit odd, as the files show that homing has completed) 

 
  • hitchhiker
  • hitchhiker
09 Sep 2025 15:00
Replied by hitchhiker on topic ECMO VMC100 Retrofit with Carousel/Toolchanger

ECMO VMC100 Retrofit with Carousel/Toolchanger

Category: Milling Machines

yes strobe is always high thats why i never connect it. now i hae connect it with sense-01 which is the counter.

the stuff about linking into tool-prep stuff i would done when everything works... but fromm there i am far away.. on the table with switches it works.. on the machine... it shoots over.. or stops in the middle ... cant discribe .. its terrible... thats why i was thinking to debounce via hardware like its original.. original control works flawless.
  • andypugh
  • andypugh's Avatar
09 Sep 2025 14:55
Replied by andypugh on topic problems with Verser Probe Screen 2.9

problems with Verser Probe Screen 2.9

Category: Basic Configuration

I'm curious, Why aren't people working on the version in linuxcnc?
github.com/LinuxCNC/linuxcnc/tree/master...n-panels/versa-probe

Well, until 3 days ago it was GTK2. 

I can't remember why I chose to work with a different version, except that I think I assumed that PSNG was enhanced relative to VersaProbe. 
 
  • tommylight
  • tommylight's Avatar
09 Sep 2025 14:53

StepConf - tandem axe Y - comment configurer 2 moteurs synchrones

Category: Français

You can install Mate on Debian as easy as:
sudo apt update
sudo apt install mate-desktop-environment mate-desktop-environment-extras lightdm lightdm-gtk-greeter
log out, choose Mate for desktop environment, log in . This needs to be done only once if you want to continue using Mate. If you want to go back to XFCE, log out, change, log in.
  • andypugh
  • andypugh's Avatar
09 Sep 2025 14:49
Replied by andypugh on topic Axis_Comp having no effect[SOLVED]

Axis_Comp having no effect[SOLVED]

Category: Advanced Configuration

 Watching what happens with an AC vent hitting the top of a machine with a laser will drive you crazy.
 

Skunkworks implemented temperature compensation on his (large) mill a long time ago. 



 
  • andypugh
  • andypugh's Avatar
09 Sep 2025 14:36
Replied by andypugh on topic ECMO VMC100 Retrofit with Carousel/Toolchanger

ECMO VMC100 Retrofit with Carousel/Toolchanger

Category: Milling Machines

You can link both sense0 and strobe with something like:
net carousel-index-filtered carousel.0.sense-0 carousel.0.strobe

Though I think that strobe defaults to high, so can often be left unconnected.
  • Robert312
  • Robert312
09 Sep 2025 14:35
Replied by Robert312 on topic Homing is not working

Homing is not working

Category: HAL

Thank you for the helpful hal commands.  Here are the contents of the before and after home text files.
  • andypugh
  • andypugh's Avatar
09 Sep 2025 14:32
Replied by andypugh on topic ECMO VMC100 Retrofit with Carousel/Toolchanger

ECMO VMC100 Retrofit with Carousel/Toolchanger

Category: Milling Machines

You might want to insert the carousel in one of these loops.
(depending on the style of the toolchanger)
net tool-change-confirmed   iocontrol.0.tool-changed       <=  iocontrol.0.tool-change
net tool-prepare-loopback   iocontrol.0.tool-prepare      =>  iocontrol.0.tool-prepared

Often you will have
net tool-prep iocontrol.0.tool-prepare => carousel.0.enable
net tool-ready carousel.0.ready => iocontrol.0.tool-prepared

This is not always the case, though.
The tool-prep handshake is typically used with random toolchangers, where there is a tool swapper. If you need to put away the current tool first, then tol-prep will be looped, and the logic will be in the tool-change handshake.

You should probably toggle "tool changed" from your tool-change ngc file. That ensures that the system stops if there is a failure in the tool change routine.
  • hitchhiker
  • hitchhiker
09 Sep 2025 14:18 - 10 Sep 2025 20:02
Replied by hitchhiker on topic ECMO VMC100 Retrofit with Carousel/Toolchanger

ECMO VMC100 Retrofit with Carousel/Toolchanger

Category: Milling Machines

The issue is in the hal... i delete the hal with failures ... not that someone use it and wondering...
  • Robert312
  • Robert312
09 Sep 2025 13:57 - 09 Sep 2025 14:05
Replied by Robert312 on topic Homing is not working

Homing is not working

Category: HAL

I will try both,  thank you! Ill post about the results and those files. 
  • hitchhiker
  • hitchhiker
09 Sep 2025 13:53
Replied by hitchhiker on topic ECMO VMC100 Retrofit with Carousel/Toolchanger

ECMO VMC100 Retrofit with Carousel/Toolchanger

Category: Milling Machines

i have only sense 0 and sense 1 linked. sense 0 is index and sense 1 is the sensor on the slotted disc. i use index configuration.

strobe is everytime high. i dont know to what i need it to llink. sense 1 and strobe together?!
  • hitchhiker
  • hitchhiker
09 Sep 2025 13:39 - 10 Sep 2025 20:03
Replied by hitchhiker on topic ECMO VMC100 Retrofit with Carousel/Toolchanger

ECMO VMC100 Retrofit with Carousel/Toolchanger

Category: Milling Machines

Failures in ngc.. i delete
Displaying 10516 - 10530 out of 16370 results.
Time to create page: 0.945 seconds
Powered by Kunena Forum