Advanced Search

Search Results (Searched for: )

  • Rookie0
  • Rookie0
06 Dec 2024 10:16
Replied by Rookie0 on topic Running halui in real time space?

Running halui in real time space?

Category: HAL

Hello Grotius,

I wana make a webui controller like yours on youtube video, but I don't know how to connect websocket with nml.

I've not found any helpful nml's example code online.
Only one is: github.com/MachineryScience/Rockhopper
But it's too old, almost a dozen years ago, some code syntax has already reported errors.
I've never used nml before, and I took a brief look at the code, it doesn't seem to use nml.

I wonder your implementation method, or just show me your code, it's better if you don't mind ^_^

THANKS A LOT!
  • lblabr
  • lblabr
06 Dec 2024 09:26
  • lblabr
  • lblabr
06 Dec 2024 09:18 - 06 Dec 2024 09:19

do - while | with time.0.minutes and time0.seconds

Category: G&M Codes

it does not work, loading linuxcnc hangs an reload program,
endless rotating cursor

it looks like that linuxcnc does somthing with the gcode (syntax check, duration calculation ??) can that swicthed off?
  • MirkoCNC
  • MirkoCNC
06 Dec 2024 08:47 - 06 Dec 2024 09:37

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

The toolchain for Tangbob has been installed and the PATH set. That warning is gone.

This error message is left:

loading board setup: Tangbob
loading toolchain gowin
writing gateware to: OutputTMP\Tangbob\Gateware
!!! gateware changed: needs to be build and flash |||
writing linuxcnc files to: OutputTMP\Tangbob\LinuxCNC
Der Befehl "C:\Users\MW\Downloads\riocore-using_os_path_join\riocore-using_os_path_join\bin\rio-generator" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
ERROR loading output: [Errno 2] No such file or directory: 'Output\\Tangbob\\Gateware\\rio.v'
PS C:\Users\MW\Downloads\riocore-using_os_path_join\riocore-using_os_path_join>

After pressing the button Generate it  fails (dir OutputTMP can be created, but dir Output somehow not)

Any ideas on the rio-generator (directory is correct and rio-generator is there)?
  • Sziggy_NC
  • Sziggy_NC
06 Dec 2024 08:08
7i92TF and c11g bin file was created by Sziggy_NC

7i92TF and c11g bin file

Category: Driver Boards

I have a lathe with a c11g and I have a 7i92TF. Sadly the only files I can find for a c11g are for the previous version of the 7i92 non-t. I was able to make my own pin file by comparing it with the one I pulled using mesaflash. 
​​​​​What I don't know how to do is create the bin file.
Is this something a typical end user can do?
​​​​
  • vibram
  • vibram
06 Dec 2024 08:01 - 06 Dec 2024 08:16

Ethercat installation from repositories - how to step by step

Category: EtherCAT

I just did and the script was ran successfully thank you.

however. I still get the same error message with apt ethercat and the mokutil --import


edit: I just rebooted and everything went through to the end, my modules are visible :)

thanks a lot for your quick support
  • rodw
  • rodw's Avatar
06 Dec 2024 07:47
  • SOLD
  • SOLD
06 Dec 2024 07:36 - 06 Dec 2024 07:46
Replied by SOLD on topic AX58100

AX58100

Category: EtherCAT

I'm trying to learn and here's the summary
Information about Name Data type in Obj Direction Data type EEPROM Generator Associated function Description

IndexLatchEnable  uint8_t        UNSIGNED8       cb_set_outputs() Enable or disable Index Pulse latch
EncPos                 double         REAL32             cb_get_inputs() + MyEncoder.currentPos() Current position of the Encoder
EncFrequency       double         REAL32             cb_get_inputs() + MyEncoder.frequency() Frequency of the Encoder
IndexStatus          uint8_t         UNSIGNED8      cb_get_inputs() + MyEncoder.indexHappened() Status of the Index Pulse
IndexByte             uint8_t        UNSIGNED8       cb_get_inputs() + MyEncoder.getIndexState() Status of the Index
Velocity                double         REAL32             cb_get_inputs() Speed ​​of the system (calculated from the Encoder or other data)
  • SOLD
  • SOLD
06 Dec 2024 07:07 - 06 Dec 2024 07:19
Replied by SOLD on topic AX58100

AX58100

Category: EtherCAT

I'm familiar with the orient function.
After receiving your explanation, I'll go back to metalmusings_encoder.comp to double check the bindings with the GPT explanation.

Components and pins:

Component metalmusings_encoder: This component represents the encoder's function related to the index signal.
Index-c-enable pin (bit): This pin is used to control whether the index-enable signal is on or off.
Index-status pin (u32): This pin holds the status of the index signal, indicating whether the index is latched.
Index-latch-enable pin (u32): This pin is used to latch the index-enable state to synchronize it with the correct position.
Main function logic:
Initialization:
index_latch_enable = index_c_enable;

This causes index-latch-enable to follow the value of index_c_enable , if index_c_enable Set to true (high), index-latch-enable will be enabled.
When index_latch_enable is true:

If index_latch_enable is set to true (when index_c_enable is high), it checks whether index_status is true.
If index_status is true (i.e., a jitter occurs on the index signal), it resets index_c_enable to 0.
if (index_status) { index_c_enable = 0; }

This means that when the index signal is detected, index_c_enable will be reset to prevent re-jittering.
When index_latch_enable is false:

If index_latch_enable is false (i.e., not synchronized), the system will wait for index_status to trigger index_c_enable to true.
index_c_enable = index_status;

This means that index_c_enable will be set based on the state of index_status and wait for a jitter from the index signal.
Overall behavior:
When index_c_enable is true:
The system checks index_status. If index_status is true (i.e. the index is latched), index_c_enable is set to 0 to prevent re-latching.
When index_c_enable is false:
The system waits for index_status to be true to trigger index_c_enable again, which causes synchronization when the index signal is latched.

Summary:
This component handles the index-enable signal by varying the value of index_c_enable depending on the state of index_status. It causes position synchronization to occur when the index signal is latched, and when index_latch_enable is set, the system resets index_c_enable after a latch from the index, which allows position synchronization to occur at the appropriate time.

 
  • vibram
  • vibram
06 Dec 2024 07:07

Ethercat installation from repositories - how to step by step

Category: EtherCAT

Hello

Here is my source.list:

deb deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware
deb-src deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware

deb deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
deb-src deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware

deb security.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
deb-src security.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware

 
apt-get update and dry run:

sudo apt-get update
[sudo] password for paul:
... removed due to link limitation                 
Reading package lists... Done                      
paul@mill:~$ sudo apt-get install --dry-run ethercat-master
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package ethercat-master

my Download folder with the file ecat.sh but the error with command not found:

cd Downloads
paul@mill:~/Downloads$ ls
ecat.sh
paul@mill:~/Downloads$ sudo ./ecat.sh
sudo: ./ecat.sh: command not found
paul@mill:~/Downloads$ sudo ecat.sh
sudo: ecat.sh: command not found
paul@mill:~/Downloads$
 
 

  • looping
  • looping
06 Dec 2024 07:00
Replied by looping on topic Build master fails

Build master fails

Category: Installing LinuxCNC

OK thanks, I will go for Debian 12.
  • tcbmetalworks
  • tcbmetalworks
06 Dec 2024 06:55
Replied by tcbmetalworks on topic 10.5 x 25 cnc plasma table retrofit

10.5 x 25 cnc plasma table retrofit

Category: Computers and Hardware

Yea your right. My old plasma table was like that I had the slats curved. Although I may still be able to curve the slats with 4 points of contact vs 3 I'm not sure how much I like the idea of super short slats. I figure they will get burnt up on a high amperage cut. It's possible in the future I may starter cutting 200 amp cuts over a inch of material thick. Today I got the table moved and started to clean up. Purchased new bearings man they are not cheap. Makes me second guess buying such a pos and not buying a complete working machine from a auction but here we are. I may reduce the thickness of the water table to 3/16 from 1/4 inch. Its about 7000 lbs of material which gets pricey. I kindof want the strength tho so it can handle getting banged up. I am going to order the parts list Tommy put together for the control tonight and try to get it to run on the original dc servos for now. I gutted the z axis the linear guides were super frozen up I got them to atleast move with only a few lbs of force on em. Tommorow more lubing and cleaning. I was looking at the original motors and the drives seems I do not have a plug for y axis encoders only for x axis into the box with all the drives. Tommorow i will post more pictures. Just want to make sure it's possible before I go down the route of trying to save the original motors.
  • tommylight
  • tommylight's Avatar
06 Dec 2024 06:21
Replied by tommylight on topic EtherCAT Servo Tuning and LinuxCNC PID Tuning

EtherCAT Servo Tuning and LinuxCNC PID Tuning

Category: Advanced Configuration

OK, in that case you will have to monitor both commanded position and reported actual position to measure the time it takes, then try some tuning if the result is something reasonable.
Perfect would be no delay at all, but that never is the case.
In any case, you should absolutely remove the fedback from the drives, tune the drives to work properly with feedback from stepgens, only after you get that working, then switch to drive feedback and tune PID and FF1 values.
  • DeckelCNC
  • DeckelCNC
06 Dec 2024 05:51
Replied by DeckelCNC on topic EtherCAT Servo Tuning and LinuxCNC PID Tuning

EtherCAT Servo Tuning and LinuxCNC PID Tuning

Category: Advanced Configuration

Hi Tommylight

I am only using EtherCAT drives.
No Mesa or parallel port.

yes the encoders are reporting back, but to the drive, and the drive is sending the following info back to LinuxCNC
"actual-position" and "actual-velocity"

LinuxCNC is then sending out to the drive
"target-position" and "target-velocity".
Displaying 22141 - 22154 out of 22154 results.
Time to create page: 0.866 seconds
Powered by Kunena Forum