Advanced Search

Search Results (Searched for: )

  • slowpoke
  • slowpoke
29 Jan 2025 10:55 - 29 Jan 2025 11:04
7i96s maximum number of encoders? was created by slowpoke

7i96s maximum number of encoders?

Category: Driver Boards

I'm using a 7i96s with 7i96s_p1encd.bin

I'm using an isolated I/O board to interface to the P1 connector, and I'm using the 4 encoders there:
    Encoder0: Linear Scale X  - tested and working
    Encoder1: Linear Scale Z - tested and working
    Encoder2: MPG input for X - waiting on encoder to arrive
    Encoder3: MPG input for Z - waiting on encoder to arrive

I just made a little potentiometer -> voltage to frequency converter circuit dc-1kHz and it's presently driving isolated input 0 on TB-3, I can see it pulsing in halshow.

I was hoping to use hm2_7i96s.0.encoder.xx.velocity to allow that pot to control Jog rate.
I bumped up num_encoders from 4 to 5, however looking at the available pins in HAL show, encoder 4 does not have all the pins available for encoders 0-3, so I'm guessing there is a 4 encoder limit for the 7i96s?

Perhaps there is another 7i96s version that allows more encoders (hoping for 2 more, one for jog speed and one for feed speed) with two of them on the isolated TB-3 terminals.

If that's not possible, is there another HAL method to measure frequency on the TB-3 isolated inputs?

 
  • vre
  • vre
29 Jan 2025 10:44
Replied by vre on topic Mesa modbus and pktUart

Mesa modbus and pktUart

Category: Other User Interfaces

With this config i have no errors
    {HAL_BIT, 2,  0x0000, 32,     "in"},
    {HAL_BIT, 15, 0x0000, 32,    "out"},
    {HAL_U32, 6,  0x00FE, 1,     "setbaud"},
  • vre
  • vre
29 Jan 2025 10:41
Replied by vre on topic Following error - Rotary Axis

Following error - Rotary Axis

Category: Basic Configuration

With this config for rotary axis everything more than 30000 for max acceleration and 37500 for stepgen max acceleration gives following error.
Configuration is done by pncconf stepgen A rotary axis
Servo motor driver for 1 turn needs 2500x4=10000 pulses
and has 2500rpm limit
[AXIS_A]
MAX_VELOCITY = 12000.0
MAX_ACCELERATION = 30000.0
MIN_LIMIT = -9999.9
MAX_LIMIT = 9999.9

[JOINT_3]
TYPE = ANGULAR
HOME = 0.0
FERROR = 0.5
MIN_FERROR = 0.05
MAX_VELOCITY = 12000.0
MAX_ACCELERATION = 30000.0
# The values below should be 25% larger than MAX_VELOCITY and MAX_ACCELERATION
# If using BACKLASH compensation STEPGEN_MAXACCEL should be 100% larger.
STEPGEN_MAXVEL = 15000.00
STEPGEN_MAXACCEL = 37500.00
P = 1000.0
I = 0.0
D = 0.0
FF0 = 0.0
FF1 = 1.0
FF2 = 0.0
BIAS = 0.0
DEADBAND = 0.0
MAX_OUTPUT = 0.0
# these are in nanoseconds
DIRSETUP   = 10000
DIRHOLD    = 10000
STEPLEN    = 1000
STEPSPACE  = 1000
STEP_SCALE = 27.7778
MIN_LIMIT = -9999.9
MAX_LIMIT = 9999.9
HOME_OFFSET = 0.0
HOME_SEQUENCE = 4
#******************************************
  • Mr. Mass
  • Mr. Mass's Avatar
29 Jan 2025 09:53

Linuxcnc Debian bookworm update from 2.9 to 2.10

Category: Installing LinuxCNC

I'll shake the dust off the old thread. I'm trying to upgrade to 2.10 version, I did it according to the instructions above. It seems to have updated, but LinuxCNC won't start, writes errors. What did I miss?
 

File Attachment:

File Name: linuxcncre...2_10.txt
File Size:7 KB
  • Aciera
  • Aciera's Avatar
29 Jan 2025 09:28
Replied by Aciera on topic change tool commend with button

change tool commend with button

Category: Advanced Configuration

So my main problem is when I use "tool touch off" or "touch off" button sometimes randomly it starts tool change process


That sounds pretty crazy, I've never heard of anything like this. What GUI are you using?
I think I would want to find the reason for that before doing anything else.
  • Hakan
  • Hakan
29 Jan 2025 09:25 - 29 Jan 2025 09:26

Issue with Access - "pin is not writable" Error when using setp

Category: EtherCAT

controlword is an output pin, not writable.

Here is a small example of how you connect the cia402 component
github.com/dbraun1981/hal-cia402/tree/main/example

If it still doesn't work after that, we need to see your hal and ethercat-conf.xml files.
  • rockcnc
  • rockcnc
29 Jan 2025 09:09
Replied by rockcnc on topic change tool commend with button

change tool commend with button

Category: Advanced Configuration

So my main problem is when I use "tool touch off" or "touch off" button sometimes randomly it starts tool change process and
net tool-change-request control. 0.tool-change => hm2_7i96.0.gpio.022.out
this pin supposed to become output when we are doing tool change
But suddenly out of nowhere its stuck and don't do anything
So I came up with the idea of adding
if (s. task_mode == 2):
At my Tool change remap
this solution fixes my problem but I no longer can use MDI and its mean I only can do tool change when its running a G-code in auto mode.
What do you suggest?
Do you know why this happened or how to solve it? I tried to create a tab and put some button
and execute tool change commands but as you said it's impossible
  • Ri
  • Ri
29 Jan 2025 07:37

Issue with Access - "pin is not writable" Error when using setp

Category: EtherCAT

According to the documentation, the control word is transmitted from the controller to the driver. What should it be? (I checked, and both with out and in I get the same error: not writable.)
  • Jensner
  • Jensner
29 Jan 2025 06:54

Nach Update funktionieren unter Probe Basic die Pfeiltasten nicht mehr

Category: Deutsch

Hey,

vielen Dank für den Tipp.
Das war auf jeden Fall meine Lösung, als ich das Problem vor paar Wochen/Monaten schon mal hatte.
Hat damals auch super funktioniert.
Dann schau ich auf jeden Fall nochmal nach ob sich da nochmal irgendwas geändert hat.

Gruß Jens 
  • ihavenofish
  • ihavenofish
29 Jan 2025 05:18 - 29 Jan 2025 05:18
Replied by ihavenofish on topic Mini wannabe datron build

Mini wannabe datron build

Category: CNC Machines

  • Mac
  • Mac
29 Jan 2025 05:16

Mesa 7i96s Is linuxcnc poo poo now,Ive never had to troubleshoot this much.

Category: General LinuxCNC Questions

Thankyou for helping me I had a switch on the driver set wrong.Im so glad to see something moving.
  • rodw
  • rodw's Avatar
29 Jan 2025 05:13

Kernel 6.12 with PREEMPT_RT patches enabled - yet POSIX non-realtime (LM22.1)

Category: Installing LinuxCNC

Thats annoying.

I'm sure this is a linuxcnc issue. If you install rt-tests with apt, you could test RT performance using cyclictest which will eliminate linuxcnc's shenanigans.

I have found results although different are broadly simlar to latency-histogram
  • PCW
  • PCW's Avatar
29 Jan 2025 05:02

Kernel 6.12 with PREEMPT_RT patches enabled - yet POSIX non-realtime (LM22.1)

Category: Installing LinuxCNC

Well, I built the stock 6.13-rc6-rt3 with RT patches from kernel.org and it does not create /sys/kernel/realtime
Displaying 18841 - 18855 out of 21685 results.
Time to create page: 0.926 seconds
Powered by Kunena Forum