Advanced Search

Search Results (Searched for: )

  • PCW
  • PCW's Avatar
08 Apr 2024 16:11
Replied by PCW on topic Need help with Rotary position switch

Need help with Rotary position switch

Category: Turning

The switch is possibly binary encoded so there may be one common
connection and 4 outputs. Unless you have further details on the
switch, you will likely need to determine its operation with an
ohmmeter.

 
  • grossm5000
  • grossm5000
08 Apr 2024 15:45 - 08 Apr 2024 17:51
Need help with Rotary position switch was created by grossm5000

Need help with Rotary position switch

Category: Turning

Good morning everyone.
I have a Fry ET18 lathe I am in the process of updating. I am using a Mesa 7i77 and 6i25 board. The lathe has rotary switches for both feed and speed overrides, which I would like to use. The problem is that I cannot find any documentation on the switches, and therefore dont know how to wire them into the Mesa
I attached the factory wiring diagram, and a few pictures of the switches. They are 15 position switches, have 5 wires coming out of them, and appear to be '4 deck' switches from what I can tell. The numbers on the back of the switches are C4D0115N-4471 and I think they are made by Electroswitch. The only documentation I was able to find is from Mouser (here is the link: www.mouser.com/datasheet/2/128/c4-2309149.pdf) but I still could make sense of how the wiring would work...with only 5 wires, how is it possible to make 15 different unique positions??? I am assuming at least one of the wires must be DC power?

Thanks folks!


EDIT:
I now believe it is possible to have 15 combinations with one pole and 4 outputs. I have attached that image as well. 
  • tommylight
  • tommylight's Avatar
08 Apr 2024 15:35

First 7i96s/lathe build question: AC Servo driving spindle

Category: General LinuxCNC Questions

Does this mean I can control all AC servos (1x 1kW for the spindle, plus 2x 200W for X and Z) with only the RS485 interface?
 

This is my personal opinion, so take it as such, i would never use RS485 to control a cnc machine, ever.
It works, i have seen it used on industrial machines for automated food and drink lines, but never on a cnc machine to actually control machine axis, it is used on some ATC, vacuum hold downs, some hydraulic stuff, spindle feedback, etc.
  • PCW
  • PCW's Avatar
08 Apr 2024 15:16

First 7i96s/lathe build question: AC Servo driving spindle

Category: General LinuxCNC Questions

A 7I84 or 7I73 are common Serial expansion devices used with the 7I96S

It sound like the drive support Modbus. There is experimental Modbus support
for the 7I96s (and most Mesa cards) but it still has a few known bugs
  • rdtsc
  • rdtsc's Avatar
08 Apr 2024 14:51 - 09 Apr 2024 01:24

rpi-4-debian-bookworm-6.1.54-rt15-arm64-ext4-2023-11-17-1731.img - TigerVNC?

Category: Installing LinuxCNC

Good day.  Installed tigervnc-standalone-server on title iso.  Lots of examples of how to install it, tried all, none worked.  Big issue here is the vncserver will not start.  Unsure if this is due to the windowing system or what.  Could get the server to start against /usr/bin/xfce-terminal, but viewer couldn't connect to it.

Has anyone gotten any remote-control software to work on this Debian Bookworm (aarch64) release?

Edit1: after booting the system today, the display goes black right when the logon prompt would appear.  Can SSH into it, and lo and behold, tigervncserver just worked!  Could remotely view it just fine.  However, no local display.  So reloading the .iso and trying again.

Edit 2: after retry, can confirm that vncserver will work, but only for root.  Here is as far as I've gotten:
sudo apt update  # note, have NOT updated any packages yet!
sudo apt install ssh tigervnc-standalone-server
vncpasswd  # this is for the cnc account only
sudo vncpasswd  # apparently this will allow root to login as well
vncserver -localhost no  # does not work, our cnc user
sudo vncserver -localhost no  # no error, but note this is root!
# try remotely connecting to the machine's IPaddress:5901

This was the bare minimum to get any sort of VNC connection to stay running.  Of course, not done yet, as the client window displays a big, fat Unable to contact settings server. Failed to execute child process "dbus-launch" (No such file or directory.)

Checking, package dbus-user-session is installed, but not dbus-x11.  Installed the latter, tried VNC again, and BAM, works!  Except that the root account is served.  Attempting (non-root) vncserver -localhost no gives the following:
cnc@raspberrypi:~$ vncserver -localhost no

New Xtigervnc server 'raspberrypi:1 (cnc)' on port 5901 for display :1.
Use xtigervncviewer -SecurityTypes VncAuth,TLSVnc -passwd /tmp/tigervnc.xtgF1d/passwd raspberrypi:1 to connect to the VNC server.


=================== tail /home/cnc/.vnc/raspberrypi:1.log ===================
[mi] mieq: warning: overriding existing handler (nil) with 0x557683ad10 for event 2
[mi] mieq: warning: overriding existing handler (nil) with 0x557683ad10 for event 3
X connection to :1 broken (explicit kill or server shutdown).

Mon Apr  8 20:35:30 2024
 ComparingUpdateTracker: 0 pixels in / 0 pixels out
 ComparingUpdateTracker: (1:nan ratio)
Killing Xtigervnc process ID 5967... success!
=============================================================================

Session startup via '/etc/X11/Xtigervnc-session' cleanly exited too early (< 3 seconds)!

Maybe try something simple first, e.g.,
    tigervncserver -xstartup /usr/bin/xterm
The X session cleanly exited!
The Xtigervnc server cleanly exited!

Any ideas why the sudoed command would work, while the non-sudoed does not?

Here is the journalctl of a working (root) tigervnc startup:
Apr 08 21:14:05 raspberrypi sudo[6345]: pam_unix(sudo:session): session closed for user root
Apr 08 21:14:11 raspberrypi sudo[6354]: cnc : TTY=pts/1 ; PWD=/home/cnc/.vnc ; USER=root ; COMMAND=/usr/bin/vncserver -localhost no
Apr 08 21:14:11 raspberrypi sudo[6354]: pam_unix(sudo:session): session opened for user root(uid=0) by cnc(uid=1000)
Apr 08 21:14:12 raspberrypi dbus-daemon[6416]: [session uid=0 pid=6414] Activating service name='org.freedesktop.systemd1' requested by ':1.2' (uid=0 pid=6437 comm="systemctl --user list-jobs")
Apr 08 21:14:12 raspberrypi dbus-daemon[6416]: [session uid=0 pid=6414] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
Apr 08 21:14:12 raspberrypi dbus-daemon[6416]: [session uid=0 pid=6414] Activating service name='org.a11y.Bus' requested by ':1.3' (uid=0 pid=6371 comm="xfce4-session")
Apr 08 21:14:12 raspberrypi dbus-daemon[6416]: [session uid=0 pid=6414] Successfully activated service 'org.a11y.Bus'
Apr 08 21:14:12 raspberrypi dbus-daemon[6416]: [session uid=0 pid=6414] Activating service name='org.xfce.Xfconf' requested by ':1.5' (uid=0 pid=6371 comm="xfce4-session")
Apr 08 21:14:12 raspberrypi dbus-daemon[6416]: [session uid=0 pid=6414] Successfully activated service 'org.xfce.Xfconf'
Apr 08 21:14:12 raspberrypi org.a11y.Bus[6446]: dbus-daemon[6446]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=0 pid=6371 comm="xfce4-session")
Apr 08 21:14:12 raspberrypi org.a11y.Bus[6446]: dbus-daemon[6446]: Successfully activated service 'org.a11y.atspi.Registry'
Apr 08 21:14:12 raspberrypi org.a11y.Bus[6455]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Apr 08 21:14:12 raspberrypi dbus-daemon[6416]: [session uid=0 pid=6414] Activating service name='org.gtk.vfs.Daemon' requested by ':1.8' (uid=0 pid=6467 comm="xfwm4")
Apr 08 21:14:12 raspberrypi dbus-daemon[6416]: [session uid=0 pid=6414] Successfully activated service 'org.gtk.vfs.Daemon'
Apr 08 21:14:14 raspberrypi dbus-daemon[6416]: [session uid=0 pid=6414] Activating service name='org.freedesktop.thumbnails.Thumbnailer1' requested by ':1.13' (uid=0 pid=6503 comm="xfdesktop")
Apr 08 21:14:14 raspberrypi sudo[6354]: pam_unix(sudo:session): session closed for user root
Apr 08 21:14:14 raspberrypi dbus-daemon[6416]: [session uid=0 pid=6414] Activating service name='ca.desrt.dconf' requested by ':1.17' (uid=0 pid=6526 comm="light-locker")
Apr 08 21:14:14 raspberrypi polkitd[464]: Registered Authentication Agent for unix-session:4 (system bus name :1.99 [/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1], object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Apr 08 21:14:14 raspberrypi dbus-daemon[6416]: [session uid=0 pid=6414] Successfully activated service 'ca.desrt.dconf'
Apr 08 21:14:15 raspberrypi dbus-daemon[6416]: [session uid=0 pid=6414] Activating service name='org.gtk.vfs.UDisks2VolumeMonitor' requested by ':1.22' (uid=0 pid=6509 comm="/usr/lib/aarch64-linux-gnu/tumbler-1/tumblerd")
Apr 08 21:14:15 raspberrypi dbus-daemon[6416]: [session uid=0 pid=6414] Successfully activated service 'org.gtk.vfs.UDisks2VolumeMonitor'
Apr 08 21:14:15 raspberrypi dbus-daemon[6416]: [session uid=0 pid=6414] Successfully activated service 'org.freedesktop.thumbnails.Thumbnailer1'
Apr 08 21:14:15 raspberrypi dbus-daemon[6416]: [session uid=0 pid=6414] Activating service name='org.gtk.vfs.Metadata' requested by ':1.13' (uid=0 pid=6503 comm="xfdesktop")
Apr 08 21:14:15 raspberrypi dbus-daemon[6416]: [session uid=0 pid=6414] Successfully activated service 'org.gtk.vfs.Metadata'

And a non-working (cnc) tigervnc startup:
Apr 08 21:04:21 raspberrypi dbus-daemon[1327]: [session uid=1000 pid=1327] Activating service name='org.xfce.Xfconf' requested by ':1.150' (uid=1000 pid=6253 comm="xfce4-session")
Apr 08 21:04:21 raspberrypi dbus-daemon[1327]: [session uid=1000 pid=1327] Successfully activated service 'org.xfce.Xfconf'
Apr 08 21:04:21 raspberrypi systemd[1306]: Started gpg-agent.service - GnuPG cryptographic agent and passphrase cache.
Apr 08 21:04:21 raspberrypi gpg-agent[6323]: gpg-agent (GnuPG) 2.2.40 starting in supervised mode.
Apr 08 21:04:21 raspberrypi gpg-agent[6323]: using fd 3 for browser socket (/run/user/1000/gnupg/S.gpg-agent.browser)
Apr 08 21:04:21 raspberrypi gpg-agent[6323]: using fd 4 for std socket (/run/user/1000/gnupg/S.gpg-agent)
Apr 08 21:04:21 raspberrypi gpg-agent[6323]: using fd 5 for extra socket (/run/user/1000/gnupg/S.gpg-agent.extra)
Apr 08 21:04:21 raspberrypi gpg-agent[6323]: using fd 6 for ssh socket (/run/user/1000/gnupg/S.gpg-agent.ssh)
Apr 08 21:04:21 raspberrypi gpg-agent[6323]: listening on: std=4 extra=5 browser=3 ssh=6
Apr 08 21:04:21 raspberrypi systemd[1306]: Started gpg-agent.service - GnuPG cryptographic agent and passphrase cache.
Apr 08 21:04:21 raspberrypi gpg-agent[6326]: gpg-agent (GnuPG) 2.2.40 starting in supervised mode.
Apr 08 21:04:21 raspberrypi gpg-agent[6326]: using fd 3 for browser socket (/run/user/1000/gnupg/S.gpg-agent.browser)
Apr 08 21:04:21 raspberrypi gpg-agent[6326]: using fd 4 for std socket (/run/user/1000/gnupg/S.gpg-agent)
Apr 08 21:04:21 raspberrypi gpg-agent[6326]: using fd 5 for extra socket (/run/user/1000/gnupg/S.gpg-agent.extra)
Apr 08 21:04:21 raspberrypi gpg-agent[6326]: using fd 6 for ssh socket (/run/user/1000/gnupg/S.gpg-agent.ssh)
Apr 08 21:04:21 raspberrypi gpg-agent[6326]: listening on: std=4 extra=5 browser=3 ssh=6
  • EddySPalm
  • EddySPalm's Avatar
08 Apr 2024 14:22

First 7i96s/lathe build question: AC Servo driving spindle

Category: General LinuxCNC Questions

To add to the massive amount of questions, i just had the manual for the AC servos I am considering sent to me by the seller from Aliexpress (Lichuan). Under "Chapter IX MODBUS Communication", I find the following written (see attached picture).
Does this mean I can control all AC servos (1x 1kW for the spindle, plus 2x 200W for X and Z) with only the RS485 interface? Or is it to be intepreted like the RS-485 interface on the drivers is only there to aid setup and tuning by means of a computer?

 
  • rodw
  • rodw's Avatar
08 Apr 2024 14:17
Replied by rodw on topic Probe Question

Probe Question

Category: General LinuxCNC Questions

its not axis but qtdragon has probing built in and is very well documented
  • D-wilson357
  • D-wilson357
08 Apr 2024 13:59
Replied by D-wilson357 on topic Phase Drive Questions

Phase Drive Questions

Category: General LinuxCNC Questions

I think I've found part of the problem. With stepgen 2 I started checking the pin outputs in HAL-scope, and I seem to be getting quite a bit of phase drift on B. A behaves normally but B will run for extended periods and then miss others. once in a while it will synch correctly and run smoothly. I should've taken a screenshot to share. I'm guessing I have more latency then the test showed on this old laptop.
I'm gonna suspend testing this setup until the better PC I have on order shows up.

Thanks for the help guys!
  • andypugh
  • andypugh's Avatar
08 Apr 2024 13:57
Replied by andypugh on topic Probe Question

Probe Question

Category: General LinuxCNC Questions

To be honest, I can't guarantee that you won't be troubleshooting for ages.

But you could try
github.com/verser-git/probe_screen_v2.8

If you follow the instructions in the readme there carefully, and step by step, it ought to work.
  • dokwine
  • dokwine
08 Apr 2024 13:48
Replied by dokwine on topic QTDragon_HD Manual tool change (?) problem

QTDragon_HD Manual tool change (?) problem

Category: Qtvcp

My thanks to Persei802 as well! - Lrrr
  • rdtsc
  • rdtsc's Avatar
08 Apr 2024 13:41
Replied by rdtsc on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

...For my final design, I will add a 4,700 or 10,000 uF/ 6.3 V (or 10V or 16V) electrolytic across the 5 V rail (close to the Pi power input) because I have noticed that plugging in the Mesa card causes the Pi to reboot. The Pi evidently has very little on board power supply capacitance.
 

Just be careful not to exceed any "maximum load capacitance" of the supply.  All switching supplies will oscillate (or worse) if loaded with too much capacitance.  Sometimes this limit is mentioned in their datasheet, sometimes not.  If you can access an oscilloscope, 'scope the power to ensure there isn't any ringing or other oddness happening (this can be in the MHz range, completely invisible to multimeters.)
  • Lcvette
  • Lcvette's Avatar
08 Apr 2024 13:06
Replied by Lcvette on topic Set work Offsets

Set work Offsets

Category: QtPyVCP

ah, you are completely new, ok...

Entering the offset into probe basic is fairly intuitive, you double click in the tool table and enter the offset value, press enter. now the table must be saved and reloaded via the buttons at the bottom of the tool table.

As for learning cnc in general, that is a topic best learned from reading and watching youtube videos of which there are many that would be easier than someone custom typing up a manual. give youtube a search for the specific items you are unsure of.
  • Unlogic
  • Unlogic
08 Apr 2024 12:47

Probe Basic OpenGL requirements don't match the documentation

Category: QtPyVCP

I'm currently using a HP Elitedesk 800 G2 Mini as shown here: forum.linuxcnc.org/12-milling/50559-opti...sion?start=40#287778

But make sure to buy the 65w model if possible.
  • Frogmate
  • Frogmate
08 Apr 2024 12:37

Probe Basic OpenGL requirements don't match the documentation

Category: QtPyVCP

What hardware are you using to operate Probe_Basic?
Displaying 26581 - 26595 out of 26758 results.
Time to create page: 2.375 seconds
Powered by Kunena Forum