Advanced Search

Search Results (Searched for: )

  • GeckoWorks
  • GeckoWorks
13 Jul 2026 10:51 - 13 Jul 2026 13:15
Replied by GeckoWorks on topic Control panel

Control panel

Category: Show Your Stuff

Oh, can't believe I hadn't even searched for Syntec here.
I have literally spent the last week looking for used SK panels and trying to figure out what's what with them.I would be very, very interested in hearing more about your exact board and what's underneath your Arduino and next to it.  
Now, feel free to skip to the bottom as next I was asking questions that you have actually answered already - I just didn't know enough to realize:)

Skip From Here...
Newer SK panels have a small "matrix chip" surface mounted to the button side of the PCB (just inbetween button switches), older ones have a larger one on the backside (often a Holtek) and even older ones have a whole daughter board attached to the back side with a what Syntec calls a "decoder module". I always assumed the chip would spit out a proprietary serial link. I had no idea they were talking PS/2... Well, I thought perhaps the older ones were based on the Holtek model numbers.

But I have been trying to avoid newer boards because I wanted easy access to the matrix. I also had no idea the matrix is actually availble on the "HK Connector" - but that's how it looks from your picture. It looks like the Arduino is connecting to the HK. Or is the HK sending out PS/2 to your arduino? In which case your panel must indeed still have a "matrix chip somewhere" and your Arduino turns PS/2 into USB? 

Also, how do you control the button LEDs? 

If you could find time to share some more on how you made this work, I would be very grateful. I would mostly likely go this way as apart from ideally wanting more overide knobs, the SK4/6M panels have a really nice set of control buttons - plus the alphanumeric keys, too.

On a related note - as for turning the matrix into USB, when I asked AI about how to hack older SK panels it suggested this approach but to also make a combo USB protocol of HID plus a gamepad or joystick library. That way, supposedly, when doing the HAL connections you don't have to venture into weird combo USB presses to map the buttons that HID has no library for. So, you'd use HID for the regular stuff it already has and then gamepad library for everything "CNC" and it would just be passed through as button 1, button 2, etc. 

Also, I did talk to a Chinese vendor had to check back with the factory on the protocols and how open they actually are but between the language barrier and me only wanting to buy one, he kinda lost interest, haha. But I think he said they could deliver bare matrix, USB-HID and more.  

Skip To Here:)
[EDIT] I really should learn to read. You specifically explained the SK panel does both PS/2 and matrix. So, now I think the PS/2 signal may be coming into your arduino from that 5 pin connector in the corner of the board that says "to keyboard" and the matrix comes out of the HK Connector. Also, you even said the matrix is shared for both buttons and LEDs. So, there we have it:) What wonderful detective work you have done to make these panels work! 
So... would you be inclined to share the code and pin mapping to help others along:)? 


 
  • rodw
  • rodw's Avatar
13 Jul 2026 10:48
Replied by rodw on topic Adding EtherCAT to LCNC 2.9.2

Adding EtherCAT to LCNC 2.9.2

Category: EtherCAT

The only time I've used SDO's is to configure the drive. Maybe your drive does not need any configuration.
SDO's are not required to use cia402 commands

does lcec_configgen create a XML file?
  • rodw
  • rodw's Avatar
13 Jul 2026 10:37

Every time I boot LinuxCNC, the Xg54 position reading increase 256

Category: General LinuxCNC Questions

First the Linuxcnc version you quote is invalid. What is it really?
Second, 256  is a very signiicant number for computers because an 8 bit number (1 byte) counts from 0-255 which a computer's way of counting from 1-256.
The  G54 values are stored in the var file. I could not see exactly what us the varibale number on a quick look. I would check this after you close to make sure its not being incremented on close,

My guess is that Linuxcnc will be OK but somehow outside of LinuxCNC, your encoder value is incremented by 1 X  8 bit byte.
  • RoberCNC
  • RoberCNC
13 Jul 2026 10:15
Replied by RoberCNC on topic Problem with PROBE tab after running a program

Problem with PROBE tab after running a program

Category: Qtvcp

Hi there.

When choosing the PROBE tab with the file in the indicated directory, a pop-up window comes with this error:
"Traceback (most recent call last):
File "/usr/share/qtvcp/screens/qtdragon_hd/qtdragon_hd_handler.py", line 626, in main_tab_changed
self.adjust_stacked_widgets(index)
File "/home/izan/linuxcnc/configs/QtDragon/qtvcp/screens/qtdragon_hd/qtdragon_hd_handler.py", line 126, in adjust_stacked_widgets
self.w.setCurrentIndex(num)
~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/qtvcp/qt_makegui.py", line 493, in __getitem__
return getattr(self, item)
^^^^^^^^^^^^^^^^^^^
AttributeError: 'VCPWindow' object has no attribute 'dro_button_stack_4' "

(Attached the report)

In the other hand, I´ve set 99 tool number to probe, and after running a program if I go to TOOL tab, select it and push the M61 button to choose, it runs pretty good despite the down yellow line appears with the "cannot switch pages while in AUTO mode"
  • BlownCorona
  • BlownCorona
13 Jul 2026 08:14
Replied by BlownCorona on topic Linux_Mint_22.1_LinuxCNC_2.10.iso

Linux_Mint_22.1_LinuxCNC_2.10.iso

Category: Installing LinuxCNC

that is essentially the commands Ive been trying.

below shows the error that keeps cropping up
Ign:1 http://packages.linuxmint.com xia InRelease                                  
Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease                             
Hit:3 https://www.synaptics.com/sites/default/files/Ubuntu stable InRelease        
Hit:4 http://packages.linuxmint.com xia Release                                    
Get:5 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]          
Get:6 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]       
Hit:8 https://ppa.launchpadcontent.net/freecad-maintainers/freecad-stable/ubuntu noble InRelease
Get:9 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]          
Get:10 http://security.ubuntu.com/ubuntu noble-security/main amd64 Components [44.8 kB]
Get:11 http://archive.ubuntu.com/ubuntu noble-updates/main i386 Packages [517 kB]
Get:12 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Components [76.3 kB]
Get:13 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [1,092 kB]
Get:14 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Components [181 kB]
Get:15 http://archive.ubuntu.com/ubuntu noble-updates/universe i386 Packages [1,130 kB]
Get:16 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1,660 kB]
Get:17 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Components [388 kB]
Get:18 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Components [940 B]
Get:19 http://archive.ubuntu.com/ubuntu noble-backports/main amd64 Components [5,744 B]
Get:20 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Components [10.5 kB]
Fetched 5,484 kB in 5s (1,023 kB/s)                                  
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package linux-headers-6.13-rt-amd64
E: Couldn't find any package by glob 'linux-headers-6.13-rt-amd64'

i havn't been able to manually find a matching header either,  only some very close but older revisions and i dont know enough about linux to go about building it up to suit the above revision, or if thats even something that could be done.
 
  • RoberCNC
  • RoberCNC
13 Jul 2026 06:42
Replied by RoberCNC on topic Problem with PROBE tab after running a program

Problem with PROBE tab after running a program

Category: Qtvcp

It is Qtdragon_hd, that's right.
I will try along the day and feedback.
  • Aciera
  • Aciera's Avatar
13 Jul 2026 06:33 - 13 Jul 2026 06:33

Very small 4 axis mill for cutting plastic materials

Category: Show Your Stuff

-the thing with C axis going from approx. 110 to -280 in about 10 lines of gcode does not seem OK


sounds like you might have downloaded the first version of the filter script which I modified shortly after posting to fix exactly this issue. So make sure you use the current one with the transition handling:

if dt < -180: # handle 180 -> -180 transition
current_c += (dt+360)
elif dt > 180: # handle -180 -> 180 transition
current_c += (dt-360)
else:
current_c += dt

I have tested this with all three {1,2,3}.pts files and the result looks fine to me. (The C axis values never goes negative)
  • JohnnyCNC
  • JohnnyCNC's Avatar
13 Jul 2026 02:17
Replied by JohnnyCNC on topic manual tool change with tool length probe

manual tool change with tool length probe

Category: G&M Codes

Attached are the Python files that I modified for my M6 remap with auto-tool measurement.  My changes are tagged with "JHK".
Enjoy
John 
  • tommylight
  • tommylight's Avatar
13 Jul 2026 00:33

Very small 4 axis mill for cutting plastic materials

Category: Show Your Stuff

Almost forgot, also swapped in hal the X and Z axis, so now if you turn the machine on the left side it is exactly as in the Vismach preview, and set the ini for A axis to home at 90, so i do not have to do that at every start.
  • M4MazakUser
  • M4MazakUser
13 Jul 2026 00:13 - 13 Jul 2026 01:10
Replied by M4MazakUser on topic C axis milling cycles. Anyone written any?

C axis milling cycles. Anyone written any?

Category: General LinuxCNC Questions

Yeah, not really that easy though, I'm really going to have to write one so it's more like an easy to write cycle on the machine. Like a conversational control.
  • cmorley
  • cmorley
12 Jul 2026 22:32

Problem with PROBE tab after running a program

Category: Qtvcp

Ok here is the right file for 2.9 version.

As for the other error, set a probe tool number on the probe page - it defaults to black which won't be read correctly.
  • cmorley
  • cmorley
12 Jul 2026 22:24

Problem with PROBE tab after running a program

Category: Qtvcp

hold on I did it for the wrong version of linuxcnc... stay tuned
  • cmorley
  • cmorley
12 Jul 2026 22:11 - 13 Jul 2026 22:56

Problem with PROBE tab after running a program

Category: Qtvcp

I assume you are using qtdragon_hd:
Ok in your config folder there should be a folder: qtvcp/screens/qtdragon_hd
In that folder add the file included here, name it qtdragon_hd_handler.py
Then run as normal.
If any thing goes wrong just remove or rename the file.

Chris
  • dm17ry
  • dm17ry's Avatar
12 Jul 2026 22:11

Seeking Guidance on Mitsubishi MR-J3 Serial Encoder Protocol (J-A22/J-A24) for M

Category: General LinuxCNC Questions

i believe all non-cnc encoders (OSA/OBA 14,17,18,24) answer on both MR and MD pairs simultaneously. OSA253/104/105 only answer on MD so you need to use 4 wire connection with them.
  • mark-v-d
  • mark-v-d
12 Jul 2026 20:02

Seeking Guidance on Mitsubishi MR-J3 Serial Encoder Protocol (J-A22/J-A24) for M

Category: General LinuxCNC Questions

I've made my own motordrive and used the Mitubishi encoders extensively.
I have tested several motors, from the MR-PQ, MR-MFS, MR_SFS and MR-KP
series. They all seem to use the same protocol and checksum. Some types
use full-duplex communication and others use a single bi-directional
version.

From what I have seen, it is important to poll the motor at a fixed
frequency of 4.5kHz.

My source code is available at:

github.com/mark-v-d/motor_control/blob/h...4400/src/encoder.cpp

The class mitsubishi_PQ_t is the full-duplex version of the protocol,
and mitsubishi_MFS13_t is the half-duplex implementation.

Basically start sending 0x1a at 2.5Mb/s at 4.5kHz and the encoder starts
responding. There is a checksum at the end of the packet.
Displaying 61 - 75 out of 14421 results.
Time to create page: 1.109 seconds
Powered by Kunena Forum