Advanced Search

Search Results (Searched for: )

  • unknown
  • unknown
24 Mar 2025 13:28

correspondence of unused i/o pins to physical connector location?

Category: PnCConf Wizard

If you know what firmware you have on board, eg the name of the .bit file, all you need to is look in the corresponding pin file, if you've downloaded the firmware stuff.

If not you can redirect the mesaflash output to a text file.

Don't mind me I still spend a bit of time using the command line in Linux. Just find it can be a bit quicker at times.
  • unknown
  • unknown
24 Mar 2025 13:25

PCIe - No parport registered at "0x " . This is not Always an error.Continuing.

Category: Advanced Configuration

No mate, genuinely impressed, I think I may have misjudged you and would like to extend my apologies.

All The Best
Rob
  • pgf
  • pgf
24 Mar 2025 13:19

correspondence of unused i/o pins to physical connector location?

Category: PnCConf Wizard

Thank you -- I haven't run my own test yet, but I see the correlations in your sample output.

If I were a python or gui programmer, I'd take a stab at adding that info to pncconf. And I suppose I'd probably discover that it's difficult, which is why it hasn't been done. :-)

Seems like there should be an easier way, than by powering up the board you're trying to configure!

paul
  • unknown
  • unknown
24 Mar 2025 13:17 - 24 Mar 2025 13:23

PCIe - No parport registered at "0x " . This is not Always an error.Continuing.

Category: Advanced Configuration

I'm impressed mate :)

Yeah I know you're giving your time, much appreciated, but text files are so much easier to search through. especially for something as long winded as dmesg. Anyway it's so much easier than cutting & pasting.....and millions of times better than a photo of a screen.

Cheers
Rob

Regarding Ubuntu, off topic a little, but did you hear that a lot of the core utilities they are rewriting as Rust and dropping the old stable C coded ones (I think a lot of origins from Unix days). I reckon Linux might be in for a few rough years.
  • pgf
  • pgf
24 Mar 2025 13:16

correspondence of unused i/o pins to physical connector location?

Category: PnCConf Wizard

The mesa manual for your card outlines it all.
the physical pins are generally numbered from 1 but the pin numbers start with 0
 

No, I don't think it does.  It does have that info for the P1 expansion connector, but not for TB1 and TB2.  
www.mesanet.com/pdf/parallel/7i96man.pdf
 
  • vibram
  • vibram
24 Mar 2025 13:05
Spindle keep accelerating was created by vibram

Spindle keep accelerating

Category: Basic Configuration

Hello,

I built my HAL file with bits taken from the forum and for sure sometimes I don't understand everything.
THis results in the current situation where when I run my Gcode, for example M3 S500, the spindle is going faster and faster and never stops
Signal spindle-at-speed is true before running gcode, then it goes false and never go back to true.
My encoder is working properly with the correct number of pulse.
Maybe the near part is wrong but I have no clue if it's the case, and if yes, why ?

Thank you for your help


Here is the spinde part of my HAL file
#*******************
#  SPINDLE
#*******************

setp   pid.s.Pgain     [SPINDLE_0]P
setp   pid.s.Igain     [SPINDLE_0]I
setp   pid.s.Dgain     [SPINDLE_0]D
setp   pid.s.bias      [SPINDLE_0]BIAS
setp   pid.s.FF0       [SPINDLE_0]FF0
setp   pid.s.FF1       [SPINDLE_0]FF1
setp   pid.s.FF2       [SPINDLE_0]FF2
setp   pid.s.deadband  [SPINDLE_0]DEADBAND
setp   pid.s.maxoutput [SPINDLE_0]MAX_OUTPUT
setp   pid.s.error-previous-target true
 
net spindle-index-enable  <=> pid.s.index-enable
net spindle-enable        =>  pid.s.enable
net spindle-vel-cmd-rpm-abs     => pid.s.command
net spindle-vel-fb-rpm-abs-filtered      => pid.s.feedback
net spindle-output        <=  pid.s.output
    
net spindle-revs             <=   hm2_7i96s.0.encoder.00.position
net spindle-vel-fb-rps       <=   hm2_7i96s.0.encoder.00.velocity
net spindle-vel-fb-rpm       <=   hm2_7i96s.0.encoder.00.velocity-rpm
net spindle-index-enable     <=>  hm2_7i96s.0.encoder.00.index-enable
    
# ---setup spindle control signals---
# setp hm2_7i96s.0.pwmgen.00.scale 2500
setp   hm2_7i96s.0.pwmgen.00.scale [SPINDLE_0]MAX_OUTPUT
# setp hm2_7i96s.0.pwmgen.00.output_type 1
#net spindle-vel-cmd-rpm     => hm2_7i96s.0.pwmgen.00.value
net spindle-vel-cmd-rps        <=  spindle.0.speed-out-rps
net spindle-vel-cmd-rps-abs    <=  spindle.0.speed-out-rps-abs
net spindle-vel-cmd-rpm        <=  spindle.0.speed-out
net spindle-vel-cmd-rpm-abs    <=  spindle.0.speed-out-abs
net spindle-enable             <=  spindle.0.on
net spindle-enable             =>  hm2_7i96s.0.pwmgen.00.enable
net spindle-cw                 <=  spindle.0.forward
net spindle-cw                    => hm2_7i96s.0.ssr.00.out-01
net spindle-ccw                <=  spindle.0.reverse
net spindle-ccw                    => hm2_7i96s.0.ssr.00.out-02
net spindle-brake              <=  spindle.0.brake
net spindle-revs               =>  spindle.0.revs
net spindle-at-speed           =>  spindle.0.at-speed
net spindle-vel-fb-rps         =>  spindle.0.speed-in
net spindle-index-enable      <=>  spindle.0.index-enable

# ---Setup spindle at speed signals---

sets spindle-at-speed true

net spindle-vel-cmd-rps    =>  near.0.in1
net spindle-vel-fb-rps         =>  near.0.in2
net spindle-at-speed       <=  near.0.out
setp near.0.scale 1.000000
setp near.0.difference 1.666667
 
setp lowpass.spindle.gain 1.000000
net spindle-vel-fb-rpm => abs.spindle.in
net spindle-vel-fb-rpm-abs abs.spindle.out => lowpass.spindle.in
net spindle-vel-fb-rpm-abs-filtered lowpass.spindle.out
net spindle-output => hm2_7i96s.0.pwmgen.00.value

# ---Setup spindle encoder---
setp hm2_7i96s.0.encoder.00.scale 4000 
  • unknown
  • unknown
24 Mar 2025 13:04 - 24 Mar 2025 13:08

PCIe - No parport registered at "0x " . This is not Always an error.Continuing.

Category: Advanced Configuration

use grep with dmesg, we don't need the whole output, or if you're going to give the full output attach it as text file, then it can be searched in an editor.
dmesg | grep "parp"
or
demsg > dmesg.txt
or
dmesg | grep "parp" > demsg.txt

And attach the text files.
  • unknown
  • unknown
24 Mar 2025 13:02

PCIe - No parport registered at "0x " . This is not Always an error.Continuing.

Category: Advanced Configuration

It told you 3 times the correct usage, just
USAGE: lsmod
there's no options available at all.
  • unknown
  • unknown
24 Mar 2025 13:00

PCIe - No parport registered at "0x " . This is not Always an error.Continuing.

Category: Advanced Configuration

The editor is a pain the ass, when editing it's best to click the source button, sometimes you'll need to put the 'end tags' in the right place, especially if you have any
, all the [/code] get lumped at the end, not following the preceding [code]
  • unknown
  • unknown
24 Mar 2025 12:56

PCIe - No parport registered at "0x " . This is not Always an error.Continuing.

Category: Advanced Configuration

sudo lspci -vnn
as said I before gives the name (generic) & PCI ID eg like
[4348:5053]
which is the important bit and what the kernel uses to load a driver.
  • unknown
  • unknown
24 Mar 2025 12:47

correspondence of unused i/o pins to physical connector location?

Category: PnCConf Wizard

The .pin file in the firmware package has that info (if you know the firmware it was programmed with) or you can use mesaflash with the readhmid command (after adding the address & such)

example 7i96_5abob_d.pin file for 7i96 if programmed with 7i96_5abob_d.bit file
Configuration Name: HOSTMOT2

General configuration information:

  BoardName : MESA7I96
  FPGA Size: 9 KGates
  FPGA Pins: 144
  Number of IO Ports: 3
  Width of one I/O port: 17
  Clock Low frequency: 100.0000 MHz
  Clock High frequency: 200.0000 MHz
  IDROM Type: 3
  Instance Stride 0: 4
  Instance Stride 1: 64
  Register Stride 0: 256
  Register Stride 1: 256

Modules in configuration:

  Module: DPLL
  There are 1 of DPLL in configuration
  Version: 0
  Registers: 7
  BaseAddress: 7000
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: WatchDog
  There are 1 of WatchDog in configuration
  Version: 0
  Registers: 3
  BaseAddress: 0C00
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: IOPort
  There are 3 of IOPort in configuration
  Version: 0
  Registers: 5
  BaseAddress: 1000
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: PWM
  There are 1 of PWM in configuration
  Version: 0
  Registers: 5
  BaseAddress: 4100
  ClockFrequency: 200.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: StepGen
  There are 8 of StepGen in configuration
  Version: 2
  Registers: 10
  BaseAddress: 2000
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: QCount
  There are 2 of QCount in configuration
  Version: 2
  Registers: 5
  BaseAddress: 3000
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: SSerial
  There are 1 of SSerial in configuration
  Version: 0
  Registers: 6
  BaseAddress: 5B00
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 64 bytes

  Module: SSR
  There are 1 of SSR in configuration
  Version: 0
  Registers: 2
  BaseAddress: 7D00
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: LED
  There are 1 of LED in configuration
  Version: 0
  Registers: 1
  BaseAddress: 0200
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

Configuration pin-out:

IO Connections for TB3
Pin#  I/O   Pri. func    Sec. func       Chan      Pin func        Pin Dir

 1      0   IOPort       None           
14      1   IOPort       None           
 2      2   IOPort       None           
15      3   IOPort       None           
 3      4   IOPort       None           
16      5   IOPort       None           
 4      6   IOPort       None           
17      7   IOPort       None           
 5      8   IOPort       None           
 6      9   IOPort       None           
 7     10   IOPort       None           
 8     11   IOPort       SSR              0        Out-00          (Out)
 9     12   IOPort       SSR              0        Out-01          (Out)
10     13   IOPort       SSR              0        Out-02          (Out)
11     14   IOPort       SSR              0        Out-03          (Out)
12     15   IOPort       SSR              0        Out-04          (Out)
13     16   IOPort       SSR              0        Out-05          (Out)

IO Connections for TB1/TB2
Pin#  I/O   Pri. func    Sec. func       Chan      Pin func        Pin Dir

 1     17   IOPort       StepGen          0        Step/Table1     (Out)
14     18   IOPort       StepGen          0        Dir/Table2      (Out)
 2     19   IOPort       StepGen          1        Step/Table1     (Out)
15     20   IOPort       StepGen          1        Dir/Table2      (Out)
 3     21   IOPort       StepGen          2        Step/Table1     (Out)
16     22   IOPort       StepGen          2        Dir/Table2      (Out)
 4     23   IOPort       StepGen          3        Step/Table1     (Out)
17     24   IOPort       StepGen          3        Dir/Table2      (Out)
 5     25   IOPort       StepGen          4        Step/Table1     (Out)
 6     26   IOPort       StepGen          4        Dir/Table2      (Out)
 7     27   IOPort       QCount           0        Quad-A          (In)
 8     28   IOPort       QCount           0        Quad-B          (In)
 9     29   IOPort       QCount           0        Quad-IDX        (In)
10     30   IOPort       SSerial          0        RXData0         (In)
11     31   IOPort       SSerial          0        TXData0         (Out)
12     32   IOPort       SSerial          0        TXEn0           (Out)
13     33   IOPort       SSR              0        AC Ref          (Out)

IO Connections for P1
Pin#  I/O   Pri. func    Sec. func       Chan      Pin func        Pin Dir

 1     34   IOPort       PWM              0        PWM             (Out)
14     35   IOPort       None           
 2     36   IOPort       StepGen          5        Step/Table1     (Out)
15     37   IOPort       None           
 3     38   IOPort       StepGen          5        Dir/Table2      (Out)
16     39   IOPort       None           
 4     40   IOPort       StepGen          6        Step/Table1     (Out)
17     41   IOPort       None           
 5     42   IOPort       StepGen          6        Dir/Table2      (Out)
 6     43   IOPort       StepGen          7        Step/Table1     (Out)
 7     44   IOPort       StepGen          7        Dir/Table2      (Out)
 8     45   IOPort       None           
 9     46   IOPort       None           
10     47   IOPort       None           
11     48   IOPort       QCount           1        Quad-A          (In)
12     49   IOPort       QCount           1        Quad-B          (In)
13     50   IOPort       QCount           1        Quad-IDX        (In)
  • 3dtech_ks
  • 3dtech_ks
24 Mar 2025 12:47

My first Linuxcnc Movment big up to my friend Tommylight

Category: Installing LinuxCNC

My first Linixcnx setup using parallel port big thanks to my friend tommylight for the support  
  • unknown
  • unknown
24 Mar 2025 12:40
TP Signal on 7i92 was created by unknown

TP Signal on 7i92

Category: Driver Boards

Probably one for PCW
Is there any useful information available on TP<0> & TP<1> pads.

Cheers
Rob
  • rodw
  • rodw's Avatar
24 Mar 2025 12:23

correspondence of unused i/o pins to physical connector location?

Category: PnCConf Wizard

The mesa manual for your card outlines it all.
the physical pins are generally numbered from 1 but the pin numbers start with 0
Displaying 16996 - 17010 out of 18509 results.
Time to create page: 1.167 seconds
Powered by Kunena Forum