Advanced Search

Search Results (Searched for: )

  • fully_defined
  • fully_defined's Avatar
16 Dec 2024 19:58
Replied by fully_defined on topic Rotary Selector Switches & Resistors

Rotary Selector Switches & Resistors

Category: General LinuxCNC Questions

In case you weren't aware, on a digital-input selector switch - say for jog increment - you only need 2 input pins to have three available states.

Both inputs off = state/value #1 (just leave this switch pole disconnected)
In1 on, In2 off = state/value #2
In1 off, In2 on = state/value #3

 

I am aware, but I also need two input pins for four available states, so I don't have any practical reason to limit it to three. I hadn't originally planned to go all the way from micron to mm on the scale, I can do it with no extra work, so I will! The axis selection switch will be off + x + y+ z. That is, if that's even allowed LOL.
  • fully_defined
  • fully_defined's Avatar
16 Dec 2024 19:50
Replied by fully_defined on topic Rotary Selector Switches & Resistors

Rotary Selector Switches & Resistors

Category: General LinuxCNC Questions

In either hardware case, I think the HAL file magic lies in using a HAL component named wcomp.  If you’re not familiar with LCNC and HAL, ‘components’ are like little mini-programs that create virtual pins with behavior specific to that component.

linuxcnc.org/docs/devel/html/man/man9/wcomp.9.html

 

A Google search of HAL WCOMP LINUXCNC, in any combination, returns zero results. However, I found a manual last revised in 2007 so it wasn't all for naught: linuxcnc.org/docs/2.1/HAL_User_Manual.pdf

I'll do some reading. Thanks!
  • Hakan
  • Hakan
16 Dec 2024 19:46 - 16 Dec 2024 19:49
Replied by Hakan on topic AX58100

AX58100

Category: EtherCAT

Ok I see, the hal syntax is
setp lcec.0.D1.stepspermm 320
or for example
setp lcec.0.D1.stepspermm [JOINT_1]STEP_SCALE

and that goes into the main hal file.
  • resmond
  • resmond
16 Dec 2024 19:45
Replied by resmond on topic wiki sign in error

wiki sign in error

Category: LinuxCNC Documents

I can't get to the wiki either and don't know why but if we could figure it out that is usually a much better way to document in an revolvable way things like Debian / Pi 5 setup.

It seems from this thread that the wiki has been down for two months. I wasn't around before then so it may never been more that a trailing link on the home-page.

Has this been a working resource in the past?
  • Lcvette
  • Lcvette's Avatar
16 Dec 2024 19:35
Replied by Lcvette on topic PathPilot V2 source code

PathPilot V2 source code

Category: PathPilot

has anyone put up the source code somewhere? I would like to have a look at the trajectory planner changes and multiaxis lookahead.

thanks in advance!
  • spumco
  • spumco
16 Dec 2024 19:33
Replied by spumco on topic Rotary Selector Switches & Resistors

Rotary Selector Switches & Resistors

Category: General LinuxCNC Questions

Yes, you've got a fair number of inputs available on the 7i73.

I've got a 4x8 keypad matrix, plus a 6-axis MPG w/3 increment selections, plus analog FRO/SRO/JRO pots on mine.

In case you weren't aware, on a digital-input selector switch - say for jog increment - you only need 2 input pins to have three available states.

Both inputs off = state/value #1 (just leave this switch pole disconnected)
In1 on, In2 off = state/value #2
In1 off, In2 on = state/value #3
 
  • fully_defined
  • fully_defined's Avatar
16 Dec 2024 19:32
Replied by fully_defined on topic Rotary Selector Switches & Resistors

Rotary Selector Switches & Resistors

Category: General LinuxCNC Questions

As an aside, I am also a little confused why PCW suggested 00, 11, 01, 10, instead of 00, 01, 10, 11. It seems more logical to me to order it like legit binary, and it's not like it's harder to connect it this way.

Granted, I have a lot to learn.
  • fully_defined
  • fully_defined's Avatar
16 Dec 2024 19:19
Replied by fully_defined on topic Rotary Selector Switches & Resistors

Rotary Selector Switches & Resistors

Category: General LinuxCNC Questions

OP – 

It looks like you’re making progress with your original question, but I’ll comment here in case you’ve still got some things to work out.

If I understand your original question, you wanted to know if a multi-position selector switch can be used to return discrete analog voltages to the controller (LCNC).  And can those voltages be used to do something? i.e. mode select, FRO/SRO value, whatever?

 

I got some help from Mesa. PCW is a nice person, and I appreciate what help I have been given so far, but there's a long way to go. For example, the mux4 circuit I showed above doesn't actually work in any way - that I know how to test - with a multimeter, and the picture of a brutishly hacked together switch another one of the regulars here insists is enough information for me isn't enough information for me. Worse, it's the only place on the entire internet that such a thing exists... that I can find.

I even tried integrating the diodes into the switch body, but this was not fun to build and I think it needs clear shrink tubing because I am not 100% sure I even oriented the diodes the right way LOL. Whatever... it didn't work either - in a way that I know how to test. If there was guide - that I know how to find - I would know how to test this. Knowing what I know now, I would do this with solder lugs instead of PCB pins. The switches I already made - and function, sort of - for the EdingCNC UIO-10 have solder lugs and were so much easier to work with.

File Attachment:


You only have it partially right. My goal is to implement a rotary switch - actually, multiple rotary switches. I don't care if it's mux4 or mux8 or series resistors! Series resistors were all I knew existed prior to the original post, but I have been convinced enough already that binary switches are at least just as good and probably better, with the loss of a few pins. Since I am using the 7i73, I have plenty to spare.

I'm going to split my responses into smaller comments. This is just the first of a few, several, or however many I end up writing.
  • Blume
  • Blume
16 Dec 2024 19:19 - 16 Dec 2024 19:20
Replied by Blume on topic Probe Basic do not start

Probe Basic do not start

Category: QtPyVCP

Hi, my fault was that i copy the foldes from the folder /machine_setup_files
know i take the folders from the sim folder.
second step i delete all # REQUIRED Setting for Probe Basic in the ini file.

Know i get the start logo and a new error . 
I think something goes wrong with my postgui.hal but i dont know what. 

[qtpyvcp.app.launcher][[36mINFO[0m]  Loading POSTGUI_HALFILE: /home/cnc/linuxcnc/configs/Black_Phanter/postgui.hal (launcher.py:98)
not: already exists
/home/cnc/linuxcnc/configs/Black_Phanter/postgui.hal:5: waitpid failed /usr/bin/rtapi_app not
/home/cnc/linuxcnc/configs/Black_Phanter/postgui.hal:5: /usr/bin/rtapi_app exited without becoming ready
/home/cnc/linuxcnc/configs/Black_Phanter/postgui.hal:5: insmod for not failed, returned -1
Failed to load POSTGUI_HALFILE with error: 1
 
  • resmond
  • resmond
16 Dec 2024 19:15

Error getting packages on fresh install on Raspberry Pi 5

Category: QtPyVCP

I have a list of other 'tasks' that I wound up doing to get my Pi 5/Debian working more like I wanted it to:

1) Figuring out what Raspberry specific apps and config utilities were useful.

2) How to get them accessible from application menu.

If anyone is interested I can post what I have done but I'm new so my list is unlikely to be exhaustive.

I also wonder if that should be a new thread.
  • resmond
  • resmond
16 Dec 2024 19:09

Error getting packages on fresh install on Raspberry Pi 5

Category: QtPyVCP

WOW!

People were not kidding, that editor does suck.

:)
  • resmond
  • resmond
16 Dec 2024 19:07

Error getting packages on fresh install on Raspberry Pi 5

Category: QtPyVCP

I'm attaching a .txt file with all the details - but I have a question for the group!I figured out how to 'kindof' get raspbian.org to work but it didn't seem like it had anything useful for a Pi 5 and/or for Debian.  Could be I just didn't find it or included the wrong tags.  I wound up adding arch=amdhf to get the errors to stop but doesn't that mean that a Debian Pi 5 doesn't need anything from there?Anyway, the file I will be attaching with have config instructions for BOTH raspberrypi.com and raspbian.org, including instructions on where/how to get the pgp security keys. 

I've never used this editor so if the file isn't attached I will try again.

Richard
  • WKS-3D
  • WKS-3D's Avatar
16 Dec 2024 18:41
Replied by WKS-3D on topic Poti nur wirksam bei mm/min (Drehmaschine)

Poti nur wirksam bei mm/min (Drehmaschine)

Category: Deutsch

My lathe always works in mm/rev and the feed override works fine.

Which HAL pin do you have the potentiometer connected to?


Here is the Part for the potentiometer:
# BIT direct value
setp halui.feed-override.direct-value 1
setp halui.rapid-override.direct-value 1
#setp halui.max-velocity.direct-value 1

# SCALE
setp halui.feed-override.scale 0.01
setp halui.rapid-override.scale 0.01
#setp halui.max-velocity.scale 0.01

# scalemax
setp hm2_7i92.0.7i76.0.0.analogin0-scalemax 310.0
setp hm2_7i92.0.7i76.0.0.analogin1-scalemax 155.0

# Float to S32
loadrt conv_float_s32 count=2
addf conv-float-s32.0 servo-thread
addf conv-float-s32.1 servo-thread
 
net analogin0 conv-float-s32.0.in <= hm2_7i92.0.7i76.0.0.analogin0
net analogin1 conv-float-s32.1.in <= hm2_7i92.0.7i76.0.0.analogin1

net analogout0 conv-float-s32.0.out => halui.feed-override.counts
net analogout1 conv-float-s32.1.out => halui.rapid-override.counts

Only works with mm/min 
  • mjones@welfab.ca
  • mjones@welfab.ca
16 Dec 2024 18:30
Replied by mjones@welfab.ca on topic Min Max limit error on only one axis

Min Max limit error on only one axis

Category: General LinuxCNC Questions

Thanks for the response
I was going with x1,x2,z1,z2 because that is what Hardinge used. what they are called in the program doesn't make a lot of difference to me.
I have attached my hal and ini

Thanks

File Attachment:

File Name: superslant...2-16.hal
File Size:35 KB

File Attachment:

File Name: superslant...2-16.ini
File Size:7 KB
  • JT
  • JT's Avatar
16 Dec 2024 18:24
Replied by JT on topic Position Logger

Position Logger

Category: General LinuxCNC Questions

It's a tool to record positions to a file for later use.

JT
Displaying 21571 - 21585 out of 22082 results.
Time to create page: 0.374 seconds
Powered by Kunena Forum