Advanced Search

Search Results (Searched for: )

  • blazini36
  • blazini36
04 Jan 2025 19:48
Replied by blazini36 on topic Arduino IO Expansion

Arduino IO Expansion

Category: Show Your Stuff

Wow, off the rails is definately where that went.....fascist? Where on earth did that come from? We're talking about serial protocols....I don't think I tried to suppress your freedom from my keyboard.

Point was you theres some kind of misunderstanding about how asyncronous serial works, even though that post was edited out of existance now. I have no idea what this last post has to do with anything. All I said was in service to Baudrate != Bitrate. Though it's generally OK to colloquially just say it like it does.
  • tommylight
  • tommylight's Avatar
04 Jan 2025 19:26
Replied by tommylight on topic First time configuring ethercat

First time configuring ethercat

Category: EtherCAT

Moved to EtherCAT section.
  • tommylight
  • tommylight's Avatar
04 Jan 2025 19:25
Replied by tommylight on topic Cnclinux do not find harddisk

Cnclinux do not find harddisk

Category: Installing LinuxCNC

2.7.n is probably Debian Wheezy, so it can not be upgraded to 2.9.3 due to changes in Python, mostly.
For Wheezy, you need to use
sudo apt-get update
sudo apt-get upgrade
It might just upgrade to 2.8.n as that was the last Python 2 version of LinuxCNC, although Wheezy has reached it's "end of life" a long time ago so no more updates for it.
-
You can install the new 2.9.3 from the downloads page, and if it tells you it can not find files/usb device, just unplug the USB, wait 5 seconds, plug in the USB, wait 10 seconds, click on continue/next.
Be aware that if using an old PC, it is much better to use the Ubintu version i linked above or the existing Wheezy version as they use RTAI kernel, while the new ones use RT-Preempt kernels and thy will have worse latency on old systems.
  • TomAlborough
  • TomAlborough's Avatar
04 Jan 2025 18:59 - 04 Jan 2025 23:15
Replied by TomAlborough on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

Hi Rod,

Thank you for the leg up on the development environment. I've spent a chunk of time with it.

Should I use this forum thread to have conversations or would somewhere else be better?

Tom
  • RogEnk
  • RogEnk
04 Jan 2025 18:27

[SOLVED] ProbeBasic NameError: name 'tool' is not defined

Category: QtPyVCP

Nice and thank you!
Applied the fix -self. to tool_actor.py and confirmed now fixed for me.

Now to add my spindle encoder, looking forward to testing the conversational part
  • slowpoke
  • slowpoke
04 Jan 2025 18:06
Replied by slowpoke on topic 7i96S MPG input

7i96S MPG input

Category: Basic Configuration

The MPG encoders are part of the inm module, so in halshow,
select hm2_7i96s.0.inm.00.enc0-count

Note that these are just raw counts and would need
the scale component to scale to position.

It might be easier to have some normal encoders brought out on the
parallel expansion connector since standard encoders have scaling built in.

 

I did a little test using hm2_7i96s.0.inm.00.enc0-count driving a HAL scale and it works very well as long as I move the carriage at moderate speeds.If I turn the hand wheel as fast as possible I loose counts as expected.

So next up try the pins on the P1 expansion port (ESD carefully).

Three questions if you don't mind:
1) How would I use or map the expansion port pins to be used as 'A', 'B'  quadrature encoder inputs and where would I find them in HAL?
2) One of my scales has differential outputs 'A' ,'A-',  &  'B', 'B-'. all within the range of 0-5V so when 'A' is +5V, 'A-' is 0V etc. Can four expansion port pins be used to accommodate differential quadrature signalling or just single ended?

I order a fair number of PCB's and I get free PCB vouchers, so I will probably make a little daughter board either with fast opto's, or perhaps just a series resistor and TVS's (need to think about that) to be on the FPGA safe side. However I would like to do a proof of concept first.

3) Assuming I have created a HAL net with the DRO value and now I want to display that in Axis as a DRO value, what target parameter do i need to send the DRO value to?    And, assuming my commanded values will differ from the scale values because of backlash, which displayed value in axis represents the commanded value, and which one represents the actual (scale read value)?

Much appreciated.



 
  • Murphy
  • Murphy
04 Jan 2025 17:48

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

Any idea why they PV and raw count stop counting after a certain RPM. When I am in hal show I can see it counting up. But if I increase the rpm(it's not much rpm maybe 500rpm) it stops counting up. 
Its a 600ppr, supposed to be 100khz encoder.  Encoder scaled to 2400 in the hal file.
  • shipmodeller
  • shipmodeller's Avatar
04 Jan 2025 17:42 - 04 Jan 2025 17:45
Replied by shipmodeller on topic 2.9.3 INI_VARS issue

2.9.3 INI_VARS issue

Category: General LinuxCNC Questions

1: After a lot of playing around, I think I found the flaws in my thinking.  First of all, the variables in the INI file MUST be capital.  So changing my file as below allowed me to use it as a READ ONLY variable.

[TOOLSETTER]
Z_TOOL = -1
Z_TOOL_HOME = -0.1
X_TOOL_HOME = 0
Y_TOOL_HOME = -10.25

2: You cannot CAN NOT use the ini variables as a regular read / write variable.  Is this brought out in the documentation?  I must have glossed over it .. see this:  Nowhere in here does it state capital or read only state.  I think that needs to be added to the manual.

3: So that begs another question...  is there any script that can be configured to run on initialization of LinuxCNC so we can create variables and set them to certain values? I don't remember reading anything like that in the manual.   It would be nice if the ini section had an entry for that.I can't really mark this solved, because of the remarks I made here. Yes, I have a better understanding now.. IF I am correct in my assumptions.  But it has led to some confusion, and days wasted troubleshooting this.  ( I have been programming since 1967, long retired now. )

[code][b][b][b][code][b][color=#3498db]Thanks for reading this.
 [/color][/b]
[/code][/code][/b][/b][/b]
  • erdem
  • erdem
04 Jan 2025 17:36
Replied by erdem on topic Cnclinux do not find harddisk

Cnclinux do not find harddisk

Category: Installing LinuxCNC

thanks for reply to me,
I am using 2.7.15 version of linuxcnc , I want to update from 2.7.15 to 2.9.3,but Debian terminal does not take code like sudo apt install .... or sudo apt update /upgradeI.Debian send to message me thar Terminal is locked to code
gooddays
  • poesel
  • poesel
04 Jan 2025 17:35
Replied by poesel on topic connecting to laser TTL

connecting to laser TTL

Category: Plasma & Laser

Ok, so I have flashed the card with 7i96s_2pwmd which changes STEP4 to a PWM output. Then connect the STEP4- output on the mesa card with TTL on the laser controller and the same with GND on both sides.
HAL config as per this discussion:
forum.linuxcnc.org/27-driver-boards/5480...and-wiring-for-laser

 

 

That correct? Thanks.
  • mariusl
  • mariusl's Avatar
04 Jan 2025 17:10
Replied by mariusl on topic Custom kinematics

Custom kinematics

Category: Advanced Configuration

Well I would never have guessed that it was for the sims only.

Thanks for clearing it up for me.
  • nick_namsep
  • nick_namsep
04 Jan 2025 16:57
First time configuring ethercat was created by nick_namsep

First time configuring ethercat

Category: EtherCAT

Hello everyone, 

I have been working the past couple days on getting ethercat working and installed for my first linuxcnc project. I got ethercat working and the slave is showing the master command etc works so that is amazing but now i am stuck with the configuration part. I have not used linuxcnc before and i can't seem to find any well quite basic tutorials on how to set up a single axis and just get it to show in linuxcnc i have tried to make a config using a old tutorial but i just can't seem to figure it out. I am currently using a raspberry pi with Leadshine EL8 driver and the ethercat between these works just dont understand the config part. 

So if there is someone that would be able to help get me started that would be amazing.
  • Aciera
  • Aciera's Avatar
04 Jan 2025 16:53 - 05 Jan 2025 10:25
Replied by Aciera on topic Mcode out of range, greater than 199 error

Mcode out of range, greater than 199 error

Category: G&M Codes

M100 .. M199 are User Defined Commands and can be any executable script. These need to be located in the path set in [RS274NGC]USER_M_PATH in the ini file. These do not need a remap.

M200...M999 are gcode or python files and need to be located in the [RS274NGC]SUBROUTINE_PATH and these DO need to be listed as remap. 

[edit]
The error message comes from here
github.com/LinuxCNC/linuxcnc/blob/master...interp_read.cc#L1122

If the mcode in the gcode is not found in the list of remapped mcodes and is above 199 then you get the error.
  • tommylight
  • tommylight's Avatar
04 Jan 2025 16:52
Replied by tommylight on topic Cnclinux do not find harddisk

Cnclinux do not find harddisk

Category: Installing LinuxCNC

What is the exact error?
  • Lcvette
  • Lcvette's Avatar
04 Jan 2025 16:22
Replied by Lcvette on topic To Probe Basic from Gmoccapy

To Probe Basic from Gmoccapy

Category: QtPyVCP

we made some changes that should resolve an issue found in the way tool edits/calls from the conversational works, they are up in the develop version and will be released soon in the new stable update in the next day or two. if you would like to change to the develop version you could give it a try!
Displaying 20641 - 20655 out of 21733 results.
Time to create page: 0.386 seconds
Powered by Kunena Forum