Advanced Search

Search Results (Searched for: )

  • Aciera
  • Aciera's Avatar
23 Aug 2024 17:24 - 23 Aug 2024 17:25
Replied by Aciera on topic İnstall glade

İnstall glade

Category: Gmoccapy

Looking at the screenshot of your ini file it seems that you are loading both panels ('testpanel' and 'testpanel1') to the same location 'ntb_preview', not sure what that does but you may want to load the 'testpanel' to a different location like.
EMBED_TAB_LOCATION = box_cooling
  • Crimznn
  • Crimznn
23 Aug 2024 17:18

I need to downgrade from 2.9.2 to 2.5.0 to run our old configs/ hal files

Category: Installing LinuxCNC

our old pc broke we sent it in to get fixed and overnighted a new one but it won't run I/O through the extra parport to the plc, I need to remove 2.9.2 and find the download for 2.5.0 or copy it from our other router pc I need some guidance mostly as far as the re-installation process and where I can find a repo or source to get 2.5.0 
  • fsabbatini
  • fsabbatini
23 Aug 2024 16:38
  • fsabbatini
  • fsabbatini
23 Aug 2024 16:32 - 23 Aug 2024 16:34
Replied by fsabbatini on topic Cylindrical mapping

Cylindrical mapping

Category: Show Your Stuff

Thanks Bari! that looks awesome, lots of efforts in writing that software

Here is another video of Cylindrical mapping at real work


 
  • Moutomation
  • Moutomation
23 Aug 2024 16:22
Replied by Moutomation on topic İnstall glade

İnstall glade

Category: Gmoccapy

I will do this first thing tomorrow morning.
  • Aciera
  • Aciera's Avatar
23 Aug 2024 16:14
Replied by Aciera on topic İnstall glade

İnstall glade

Category: Gmoccapy

Problem is your handler script does not load so start a terminal and type:
linuxcnc -l

note the minus and lowercase letter 'L' should load the last config.
  • Moutomation
  • Moutomation
23 Aug 2024 16:12
Replied by Moutomation on topic İnstall glade

İnstall glade

Category: Gmoccapy

linuxcnc boots without any warning. I don't know how to get terminal output
  • Aciera
  • Aciera's Avatar
23 Aug 2024 16:06
Replied by Aciera on topic İnstall glade

İnstall glade

Category: Gmoccapy

Terminal output?
  • Moutomation
  • Moutomation
23 Aug 2024 15:57
Replied by Moutomation on topic İnstall glade

İnstall glade

Category: Gmoccapy

 
 
  • Moutomation
  • Moutomation
23 Aug 2024 15:49
Replied by Moutomation on topic İnstall glade

İnstall glade

Category: Gmoccapy

I change the value. When I open it again, I see the value as 10,000 again. 

 
 
  • Aciera
  • Aciera's Avatar
23 Aug 2024 15:33
Replied by Aciera on topic İnstall glade

İnstall glade

Category: Gmoccapy

So what exactly is not working?

Notes:

1. forget the __pycache__ folder, that gets created whenever the script is run. You can even delete it, doesn't matter.

2. You don't need to create 'gladepanel_parameter.txt'. If it does not exist the panel will load the default value set in the .ui and it will be created on the first change.

Open the 'Halshow' tool and check if you see your custom panel and it pins. If so does it also show a pin named 'number':

 


Finally are you getting any output in the terminal?
  • Moutomation
  • Moutomation
23 Aug 2024 15:19 - 23 Aug 2024 15:20
Replied by Moutomation on topic İnstall glade

İnstall glade

Category: Gmoccapy

I tried all the steps many times, I think I'm making a mistake somewhere.
A folder has been automatically created inside the Pythhon folder, its name is __pycache__ and it contains the gladevcp-handler.cpython-311.pyc file.
1-I created a new file in the folder where the configuration files are located. name: gladepanel_parameter.txt
I marked the code you sent me as executable and saved it in the python folder as gladevcp-handler.py.
I replaced the line in my 3-ini file with this code
EMBED_TAB_COMMAND= halcmd loadusr -Wn test panel gladevcp -c test panel -u python/gladevcp-handler.py -H ./gladevcp/testpanel.hal -x {XID} ./gladevcp/testpanel.ui
4-I wrote on_value_cahanged in the vlue_changed section in the glade panel.
5-id=hal_spinbutton1
  • jimwhiting
  • jimwhiting
23 Aug 2024 15:12
SCATECH EV1616DN - Example config was created by jimwhiting

SCATECH EV1616DN - Example config

Category: EtherCAT

Hopefully this will assist someone.

I have tested the SCATECH 16 in 16 out EtherCAT board. Below is my config.
    <slave idx="3" type="generic" vid="00000d37" pid="000f0001" configPdos="false" name="EV1616DN-V2.2">
     <dcConf assignActivate="300" sync0Cycle="*1" sync0Shift="0"/>
     <syncManager idx="2" dir="out">
        <pdo idx="1601">
         <pdoEntry idx="7010" subIdx="01" bitLen="1" halPin="out1" halType="bit"/>
         <pdoEntry idx="7010" subIdx="02" bitLen="1" halPin="out2" halType="bit"/>
         <pdoEntry idx="7010" subIdx="03" bitLen="1" halPin="out3" halType="bit"/>
         <pdoEntry idx="7010" subIdx="04" bitLen="1" halPin="out4" halType="bit"/>
         <pdoEntry idx="7010" subIdx="05" bitLen="1" halPin="out5" halType="bit"/>
         <pdoEntry idx="7010" subIdx="06" bitLen="1" halPin="out6" halType="bit"/>
         <pdoEntry idx="7010" subIdx="07" bitLen="1" halPin="out7" halType="bit"/>
         <pdoEntry idx="7010" subIdx="08" bitLen="1" halPin="out8" halType="bit"/>
         <pdoEntry idx="7010" subIdx="09" bitLen="1" halPin="out9" halType="bit"/>
         <pdoEntry idx="7010" subIdx="0a" bitLen="1" halPin="out10" halType="bit"/>
         <pdoEntry idx="7010" subIdx="0b" bitLen="1" halPin="out11" halType="bit"/>
         <pdoEntry idx="7010" subIdx="0c" bitLen="1" halPin="out12" halType="bit"/>
         <pdoEntry idx="7010" subIdx="0d" bitLen="1" halPin="out13" halType="bit"/>
         <pdoEntry idx="7010" subIdx="0e" bitLen="1" halPin="out14" halType="bit"/>
         <pdoEntry idx="7010" subIdx="0f" bitLen="1" halPin="out15" halType="bit"/>
         <pdoEntry idx="7010" subIdx="10" bitLen="1" halPin="out16" halType="bit"/>
        </pdo>
     </syncManager>
     <syncManager idx="3" dir="in">
        <pdo idx="1a00">
         <pdoEntry idx="6000" subIdx="01" bitLen="1" halPin="e-stop" halType="bit"/>
         <pdoEntry idx="6000" subIdx="02" bitLen="1" halPin="carousel-unlocked" halType="bit"/>
         <pdoEntry idx="6000" subIdx="03" bitLen="1" halPin="carousel-locked" halType="bit"/>
         <pdoEntry idx="6000" subIdx="04" bitLen="1" halPin="input4" halType="bit"/>
         <pdoEntry idx="6000" subIdx="05" bitLen="1" halPin="input5" halType="bit"/>
         <pdoEntry idx="6000" subIdx="06" bitLen="1" halPin="input6" halType="bit"/>
         <pdoEntry idx="6000" subIdx="07" bitLen="1" halPin="input7" halType="bit"/>
         <pdoEntry idx="6000" subIdx="08" bitLen="1" halPin="input8" halType="bit"/>
         <pdoEntry idx="6000" subIdx="09" bitLen="1" halPin="input9" halType="bit"/>
         <pdoEntry idx="6000" subIdx="10" bitLen="1" halPin="input10" halType="bit"/>
         <pdoEntry idx="6000" subIdx="11" bitLen="1" halPin="input11" halType="bit"/>
         <pdoEntry idx="6000" subIdx="12" bitLen="1" halPin="input12" halType="bit"/>
         <pdoEntry idx="6000" subIdx="13" bitLen="1" halPin="input13" halType="bit"/>
         <pdoEntry idx="6000" subIdx="14" bitLen="1" halPin="input14" halType="bit"/>
         <pdoEntry idx="6000" subIdx="15" bitLen="1" halPin="input15" halType="bit"/>
         <pdoEntry idx="6000" subIdx="16" bitLen="1" halPin="input16" halType="bit"/>
        </pdo>
     </syncManager>
    </slave>
 
  • spontarelliam
  • spontarelliam
23 Aug 2024 15:03 - 23 Aug 2024 15:05
Replied by spontarelliam on topic XHC WHB04b-6 - Disconnects / freezes?

XHC WHB04b-6 - Disconnects / freezes?

Category: Basic Configuration

When the problem does occur, there's a continual connect/disconnect cycle of the device every ~20sec:
$ sudo dmesg -T
[Fri Aug 23 10:50:47 2024] usb 1-3.4: new full-speed USB device number 61 using xhci_hcd
[Fri Aug 23 10:50:47 2024] usb 1-3.4: New USB device found, idVendor=10ce, idProduct=eb93, bcdDevice= 0.00
[Fri Aug 23 10:50:47 2024] usb 1-3.4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[Fri Aug 23 10:50:47 2024] usb 1-3.4: language id specifier not provided by device, defaulting to English
[Fri Aug 23 10:50:47 2024] hid-generic 0003:10CE:EB93.0129: hiddev1,hidraw3: USB HID v1.00 Device [HID 10ce:eb93] on usb-0000:00:15.0-3.4/input0
[Fri Aug 23 10:50:57 2024] usb 1-3.4: USB disconnect, device number 61
[Fri Aug 23 10:51:07 2024] usb 1-3.4: new full-speed USB device number 62 using xhci_hcd
[Fri Aug 23 10:51:07 2024] usb 1-3.4: New USB device found, idVendor=10ce, idProduct=eb93, bcdDevice= 0.00
[Fri Aug 23 10:51:07 2024] usb 1-3.4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[Fri Aug 23 10:51:07 2024] usb 1-3.4: language id specifier not provided by device, defaulting to English
[Fri Aug 23 10:51:07 2024] hid-generic 0003:10CE:EB93.012A: hiddev1,hidraw3: USB HID v1.00 Device [HID 10ce:eb93] on usb-0000:00:15.0-3.4/input0
[Fri Aug 23 10:51:17 2024] usb 1-3.4: USB disconnect, device number 62
[Fri Aug 23 10:51:27 2024] usb 1-3.4: new full-speed USB device number 63 using xhci_hcd
[Fri Aug 23 10:51:27 2024] usb 1-3.4: New USB device found, idVendor=10ce, idProduct=eb93, bcdDevice= 0.00
[Fri Aug 23 10:51:27 2024] usb 1-3.4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[Fri Aug 23 10:51:27 2024] usb 1-3.4: language id specifier not provided by device, defaulting to English
[Fri Aug 23 10:51:27 2024] hid-generic 0003:10CE:EB93.012B: hiddev1,hidraw3: USB HID v1.00 Device [HID 10ce:eb93] on usb-0000:00:15.0-3.4/input0
[Fri Aug 23 10:51:40 2024] usb 1-3.4: USB disconnect, device number 63
[Fri Aug 23 10:51:50 2024] usb 1-3.4: new full-speed USB device number 64 using xhci_hcd
[Fri Aug 23 10:51:51 2024] usb 1-3.4: New USB device found, idVendor=10ce, idProduct=eb93, bcdDevice= 0.00
[Fri Aug 23 10:51:51 2024] usb 1-3.4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[Fri Aug 23 10:51:51 2024] usb 1-3.4: language id specifier not provided by device, defaulting to English
[Fri Aug 23 10:51:51 2024] hid-generic 0003:10CE:EB93.012C: hiddev1,hidraw3: USB HID v1.00 Device [HID 10ce:eb93] on usb-0000:00:15.0-3.4/input0


After restarting linuxCNC, this reconnection cycle stops. I let the pendant stay on overnight and it was still connected to LinuxCNC the next morning, so I don't think it's a timeout issue. I've also tried carrying the pendant far enough away until it displays Lost RF, but then returning to the machine, turning the pendant off/on allows it to reconnect to LinuxCNC properly in a way that doesn't happen when this disconnect/freeze error occurs.
  • mighty_mick
  • mighty_mick's Avatar
23 Aug 2024 14:56 - 23 Aug 2024 15:01
Replied by mighty_mick on topic how to recompile a linuxcnc directory?

how to recompile a linuxcnc directory?

Category: General LinuxCNC Questions

There are rules in files named 'Makefile'. You can consider to learn how make works. To compile only halui, just do these steps below:

1. Go to your project directory
2. Go to src directory located in your porject root directory
3. run this: make ../bin/halui

You can compile only halui.cc with these steps. But before doing it, be sure you already configured the source tree.

halui executable is being outputted at bin directory in your project root directory. This is why you are should run ../bin/halui rule in Makefile located in your src directory. You can build many single executables with this combination. If you wanna learn what does the Makefile include, just do these:
1. type this to your shell in src directory: make 
2. After typing 'make', press space to give space character
3. Press TAB two times. 

It is gonna show the rules. You can build axis, mdi, milltask, halui, iocontrol etc. in the same way.
Displaying 22141 - 22155 out of 25343 results.
Time to create page: 0.531 seconds
Powered by Kunena Forum