Advanced Search

Search Results (Searched for: )

  • Bennett
  • Bennett's Avatar
16 Nov 2024 23:04

Fanuc Serial Pulse Coders - Red cap servos, mesa 7i76e, how to?

Category: Driver Boards

I have created a basic .hal and declared the Fanuc channel, see attached .hal.

I am getting an error on startup of linux cnc:
 

When I watch the corresponding hal pins and turn the encoder I am not seeing any activity.

Any tips on what to check or adjust next will be greatly appreciated.
  • tommylight
  • tommylight's Avatar
  • swanie2000
  • swanie2000
16 Nov 2024 22:09

Are there no increase/decrease spindle speed buttons in Gmoccapy?

Category: Gmoccapy

Hi All,
  I have been reading this forum for weeks now, and have managed to solve most of my problems without needing to ask a stupid question, But the time has come. Be gentle, this is my first post.   I will attach my files to this to help.
Current Setup:
Dedicated computer running Linux Mint Debian Edition 6 "FAYE"
LinuxCNC 3.4.1
Gmoccapy gui
3040 Chinese CNC controller.
XYZ motion, although it also had the forth Axis, I am not including that in my setup.
7i76E motion controller card
0-10V AVI
24000 RPM
800W water cooled Chinese spindle.

My files have been created with the PNCCONFIG wizard.
I have now reached a point where every time I run the wizard, it breaks something, and I have to roll back changes.
(Even when I change NOTHING, just click through the wizard, it still breaks my setup, and will not start.)

I have been carefully trying to edit my files manually, baby steps, and backups!


PROBLEM:
I am having trouble getting the spindle to correctly work in the Gmoccapy display.
I can turn on the spindle, and turn off the spindle
I have the spindle start at 5000 RPM, and this works.
The bar graph on the bottom shows  "5000                  0                  24000"
It starts at 5000, as that is my (min) setting, and the "0" in the middle would display a percentage if I could only increase it.
I cannot adjust the speed of the spindle in the Gmoccapy GUI as there are no speed controls.

I want to add speed controls. and I have tried to understand what is written here in this post,
but I just cannot get my head around what I am doing wrong.

May I ask a member here to please look over my files? Perhaps it is something easy?

Thanks in advance!
Swanie

 
  • Bennett
  • Bennett's Avatar
16 Nov 2024 21:39 - 16 Nov 2024 22:21

Fanuc Serial Pulse Coders - Red cap servos, mesa 7i76e, how to?

Category: Driver Boards

Firmware flash successful.

All wired up to the RS-422 connector. I will see if I can figure out how to put an instance of Fanuc Encoder on the .hal.

Any tips welcomed.
  • anton610
  • anton610
16 Nov 2024 21:36
Replied by anton610 on topic probe basic tool direction

probe basic tool direction

Category: QtPyVCP

Hello,
is there also a 4th axis plotter available?
thanks!
best regards
anton
  • LabOuest
  • LabOuest
16 Nov 2024 21:10
Replied by LabOuest on topic Remora - Does Analog input syntax exist?

Remora - Does Analog input syntax exist?

Category: Computers and Hardware

Hello everyone,
I'm having some latency issues on my EC500 freshly flashed with remora-rt1052-3.1.3.bin
Thanks to ColdTurkey's tutorial, I got it working (skipping the optional step #2 "Upgrade Kernel to 6.3RT" and #3 "FOR REALTEK NIC ETHERNET LATENCY ISSUES"), the led turns on when I get LCNC out of Estop.

Though, when I start linuxcnc, I get an error: "Unexpected realtime delay on task 0 with period 1000000" (config: remora-rt1052-basic).
Obviously, I though that skipping step #3 was a stupid mistake, so I followed through:
  • Running sudo ethtool -i indicates a mismatched between the driver (r8169) and the firmware-version (rtl8168g-2_0.0.1 02/06./13)
  • The next step was to run sudo geany /etc/sources.list but the file was empty so I ran sudo geany /etc/apt/sources.list instead and commented out the first line (deb cdrom:[Debian GNU/Linux 12_Bookworm...)
  • I got to the next step and figured I'd run sudo apt-get install r8168-dkms like the example because there wasn't a packaged named rtl8168g.
  • Then, I ran sudo ethtool -i  again and found out that the driver did in fact changed to r8168 but the firmware-version line was now unexpectedly empty.
To make sure everything was fine, I ran "sudo dmesg | grep r8168" and got this:
[    1.033714] r8168: loading out-of-tree module taints kernel.
[    1.034002] r8168: module verification failed: signature and/or required key missing - tainting kernel
[    1.048699] r8168 Gigabit Ethernet driver 8.051.02-NAPI loaded
[    1.064274] r8168: This product is covered by one or more of the following patents: US6,570,884, US6,115,776, and US6,327,625.
[    1.066307] r8168  Copyright (C) 2022 Realtek NIC software team <nicfae@realtek.com>
[    1.094005] r8168 0000:02:00.0 enp2s0: renamed from eth0
[    6.743754] r8168: enp2s0: link up

Still, following these steps didn't fix the latency error message.
Rebooting doesn't seem to help, as a newbie, I'm clueless haha !

Also, I should mention that running apt get update gives many errors:
Ign:1 cdrom://[Debian GNU/Linux 12 _Bookworm_ - Snapshot amd64 LIVE/INSTALL Binary 20240721-21:05] bookworm InRelease
Err:2 cdrom://[Debian GNU/Linux 12 _Bookworm_ - Snapshot amd64 LIVE/INSTALL Binary 20240721-21:05] bookworm Release
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Hit:3 http://deb.debian.org/debian bookworm InRelease
Get:4 http://security.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:5 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]                           
Hit:6 https://www.linuxcnc.org bookworm InRelease                                                 
Get:8 http://download.opensuse.org/repositories/science:/EtherLab/Debian_12 ./ InRelease [1,575 B]
Err:8 http://download.opensuse.org/repositories/science:/EtherLab/Debian_12 ./ InRelease
  The following signatures were invalid: EXPKEYSIG A94819A7CB97A204 science:EtherLab OBS Project <science:EtherLab@build.opensuse.org>
Hit:7 https://repository.qtpyvcp.com/apt develop InRelease
Reading package lists... Done
E: The repository 'cdrom://[Debian GNU/Linux 12 _Bookworm_ - Snapshot amd64 LIVE/INSTALL Binary 20240721-21:05] bookworm Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://download.opensuse.org/repositories/science:/EtherLab/Debian_12 ./ InRelease: The following signatures were invalid: EXPKEYSIG A94819A7CB97A204 science:EtherLab OBS Project <science:EtherLab@build.opensuse.org>

Thanks you for your help !
  • Bennett
  • Bennett's Avatar
16 Nov 2024 20:49

Fanuc Serial Pulse Coders - Red cap servos, mesa 7i76e, how to?

Category: Driver Boards

Yup, worked. Thanks. I will now proceed with the rest.
  • PCW
  • PCW's Avatar
16 Nov 2024 20:45 - 16 Nov 2024 20:51

Fanuc Serial Pulse Coders - Red cap servos, mesa 7i76e, how to?

Category: Driver Boards

set W17 up, power cycle  the 7I97 and try again

W16/W17 is 192.168.1.121
so ping of 10.10.10.10 will fail because there's no device with that address
and ping of  192.168.1.121 will fail because there's no route because of the host setup
  • Bennett
  • Bennett's Avatar
16 Nov 2024 20:34

Fanuc Serial Pulse Coders - Red cap servos, mesa 7i76e, how to?

Category: Driver Boards

Haven't gotten very far... can't seem to connect correctly to the 7i97 card. Here's what I know:

-Setup via 'edit connections' gui
-IPv4 settings as 10.10.10.11 netmask 8, checked 'use this connection only for resources on its network' under routes.
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host noprefixroute
       valid_lft forever preferred_lft forever
2: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 14:b3:1f:29:86:cd brd ff:ff:ff:ff:ff:ff
    inet 10.10.10.11/8 brd 10.255.255.255 scope global noprefixroute enp1s0
       valid_lft forever preferred_lft forever
3: wlp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether f8:94:c2:8d:35:24 brd ff:ff:ff:ff:ff:ff
    inet 192.168.18.29/24 brd 192.168.18.255 scope global dynamic noprefixroute wlp2s0
       valid_lft 84629sec preferred_lft 84629sec
    inet6 fe80::aa25:9683:6e06:688/64 scope link noprefixroute
       valid_lft forever preferred_lft forever

When I ping 10.10.10.10 the LEDs flash on the 7i97 in a certain sequence and terminal gives:
From 10.10.10.11 icmp_seq=1 Destination Host Unreachable

No detection of ethernet board from mesaflash.

Pinging 192.168.1.121 does nothing, terminal hangs.

Jumpers W16 & W17 are both in low position.

Board was opened from factory seal this morning.

Let me know what to look for next. Thanks!
  • Malteser01
  • Malteser01
16 Nov 2024 20:20
Replied by Malteser01 on topic Only one of the gantry joints move

Only one of the gantry joints move

Category: Basic Configuration

Okay, that's good to know. I just assumed that the hal didn't care at all about the kinematics. From what I gathered, the hal was mostly responsible for pin mapping and signal routing.

Had I known that I had to add anything about that into the hal, I'd have been much less frustrated.

Well, as per usual, one's always smarter afterwards. (This doesn't translate as well as I hoped it would)

Thanks again.
  • jtrantow
  • jtrantow
16 Nov 2024 20:20

Interface to LightBurn (is pylib a better choice).

Category: General LinuxCNC Questions

Thanks, that's consistent with what I'm slowly deciding. (Old dog reluctant to tackle learning python.) I have Lightburn talking to LaserSpoof 

LightBurn <----(serial/TCP) ---> LaserSpoof application <--->linuxcncrsh controlling Linuxcnc.

I will take a look at rewriting this as a python (non-GUI) interface. Once I have that working, I will consider adding it to gmoccapy, which is what I normally use but never got into the python code. My immediate goal is the non-GUI interface as the impetus for this effort is to leverage the LightBurn UI when I have the laser module mounted on my router.
 
  • Lcvette
  • Lcvette's Avatar
16 Nov 2024 19:58
Replied by Lcvette on topic 5 Axis Simulation Help needed!

5 Axis Simulation Help needed!

Category: QtPyVCP

i have, i have actually started trying to incorporate them into the 5axis probe basic sim, but i get a bit lost on a few things im uncertain about.are you on the qtpyvcp chect by chance?

matrix.to/#/#qtpyvcp:matrix.org

if you pop in for a minute and could answer a few questions i think i could get things up and running to begin testing.

Hope you can spare a few moments!

Chris
  • Steffen
  • Steffen
16 Nov 2024 19:49
Replied by Steffen on topic Download Lube component

Download Lube component

Category: Deutsch

Danke, das habe ich gesucht.

Grüße
Steffen
  • PCW
  • PCW's Avatar
16 Nov 2024 19:41 - 16 Nov 2024 19:41

7i96s Spindle Rpm Measure with Proximity Sensor

Category: General LinuxCNC Questions

Basically you just set the counter mode to true:

setp hm2_7i96s.0.encoder.00.counter-mode true

Note that if you created a configuration with either pncconf
or MesaCT, that line is present  and likely:

setp hm2_7i96s.0.encoder.00.counter-mode 0

And then you set the encoder scale to 2 (counts per turn)

This may be done in the ini file, you need to see what ini constant
is used to set hm2_7i96s.0.encoder.00.scale in the hal file

 
  • turan
  • turan
Displaying 17056 - 17070 out of 24577 results.
Time to create page: 0.359 seconds
Powered by Kunena Forum