Mesa 7i95

More
22 Oct 2020 18:16 #186919 by PCW
Replied by PCW on topic Mesa 7i95
You still need 2.9 for the 7I95 (and 7I97 and 7C80)

Please Log in or Create an account to join the conversation.

More
06 Nov 2020 20:11 #188537 by Gnevko
Replied by Gnevko on topic Mesa 7i95
Hi!

I think I will need again your help :)

I'm trying to following this description (linuxcnc.org/docs/devel/html/examples/spindle.html) and configure my spindle encoder for the lathe cnc. But without big success. Es you can see, the spindle component receives the the signals, but in the GUI nothing (probe basic lathe) happens and the spindle speed is still 0. The spindle itself is not connected to Linuxcnc (no possibility) and should be turn on manually.



Configuration In the hal file:
#  --- spindle encoder ---
setp hm2_7i95.0.encoder.04.scale -100
setp hm2_7i95.0.encoder.04.counter-mode true

net spindle-position hm2_7i95.0.encoder.04.position => spindle.0.revs
net spindle-velocity hm2_7i95.0.encoder.04.velocity => spindle.0.speed-in
net spindle-index-enable hm2_7i95.0.encoder.04.index-enable <=> spindle.0.index-enable


loadrt near
addf near.0 servo-thread
net spindle-cmd => near.0.in1
net spindle-velocity => near.0.in2
net spindle-at-speed spindle.0.at-speed <= near.0.out
setp near.0.scale 1.01

Full config folder:

File Attachment:

File Name: GnevkoLathe.zip
File Size:23 KB


Thank you in advance!
Attachments:

Please Log in or Create an account to join the conversation.

More
07 Nov 2020 19:05 #188605 by Gnevko
Replied by Gnevko on topic Mesa 7i95
Hm ... what is interesting, it seams to work, but it's something wrong with the display of current spindle speed.

The commands
G95
S300
G01 F0.4 Z50

works correctly, the lathe syncs Z axis speed with real spindle speed (S300 or S1 - it in this case doesn't matter at all)



The RPM Speed in GUI is still 0.0 :( But I think it's the problem of Probe Basic Lathe itself....
Attachments:

Please Log in or Create an account to join the conversation.

More
09 Nov 2020 11:49 #188733 by jurod
Replied by jurod on topic Mesa 7i95
Hi, please help.
I have 7i95 card. Using PNCCONF I created a 7i96 configuration. In .ini i transcribed "CARD0=hm2_7i95.0"
At startup i have this: (foto) and card no works.

From Terminal:
hcnc@9010MT:~$ linuxcnc /home/hcnc/linuxcnc/configs/7i95/7i95.ini
LINUXCNC - 2.8.0
Machine configuration directory is '/home/hcnc/linuxcnc/configs/7i95'
Machine configuration file is '7i95.ini'
Starting LinuxCNC...
Found file(REL): ./7i95.hal
Note: Using POSIX realtime
hm2: loading Mesa HostMot2 driver version 0.15
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
hm2_eth: 192.168.1.121: Hardware address: 00:60:1b:15:00:0e
hm2_eth: Unrecognized ethernet board found: 7I95 -- port names will be wrong
hm2_eth: discovered 7I95
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29
hm2/hm2_7i95.0: Smart Serial Firmware Version 43
hm2: Firmware contains unknown function (gtag-30)
hm2/hm2_7i95.0: 58 I/O Pins used:
hm2/hm2_7i95.0:     IO Pin 000 (??-00): StepGen #0, pin Step (Output)
hm2/hm2_7i95.0:     IO Pin 001 (??-00): StepGen #0, pin Direction (Output)
hm2/hm2_7i95.0:     IO Pin 002 (??-00): StepGen #1, pin Step (Output)
hm2/hm2_7i95.0:     IO Pin 003 (??-00): StepGen #1, pin Direction (Output)
hm2/hm2_7i95.0:     IO Pin 004 (??-00): StepGen #2, pin Step (Output)
hm2/hm2_7i95.0:     IO Pin 005 (??-00): StepGen #2, pin Direction (Output)
hm2/hm2_7i95.0:     IO Pin 006 (??-00): IOPort
hm2/hm2_7i95.0:     IO Pin 007 (??-00): IOPort
hm2/hm2_7i95.0:     IO Pin 008 (??-00): IOPort
hm2/hm2_7i95.0:     IO Pin 009 (??-00): IOPort
hm2/hm2_7i95.0:     IO Pin 010 (??-00): IOPort
hm2/hm2_7i95.0:     IO Pin 011 (??-00): IOPort
hm2/hm2_7i95.0:     IO Pin 012 (??-00): IOPort
hm2/hm2_7i95.0:     IO Pin 013 (??-00): IOPort
hm2/hm2_7i95.0:     IO Pin 014 (??-00): IOPort
hm2/hm2_7i95.0:     IO Pin 015 (??-00): IOPort
hm2/hm2_7i95.0:     IO Pin 016 (??-00): IOPort
hm2/hm2_7i95.0:     IO Pin 017 (??-00): IOPort
hm2/hm2_7i95.0:     IO Pin 018 (??-00): Muxed Encoder #0, pin Muxed A (Input)
hm2/hm2_7i95.0:     IO Pin 019 (??-00): Muxed Encoder #0, pin Muxed B (Input)
hm2/hm2_7i95.0:     IO Pin 020 (??-00): Muxed Encoder #0, pin Muxed Index (Input)
hm2/hm2_7i95.0:     IO Pin 021 (??-00): IOPort
hm2/hm2_7i95.0:     IO Pin 022 (??-00): IOPort
hm2/hm2_7i95.0:     IO Pin 023 (??-00): IOPort
hm2/hm2_7i95.0:     IO Pin 024 (??-00): IOPort
hm2/hm2_7i95.0:     IO Pin 025 (??-00): IOPort
hm2/hm2_7i95.0:     IO Pin 026 (??-00): IOPort
hm2/hm2_7i95.0:     IO Pin 027 (??-00): Muxed Encoder Select #0, pin Mux Select 0 (Output)
hm2/hm2_7i95.0:     IO Pin 028 (??-00): IOPort
hm2/hm2_7i95.0:     IO Pin 029 (??-00): IOPort
hm2/hm2_7i95.0:     IO Pin 030 (??-00): IOPort
hm2/hm2_7i95.0:     IO Pin 031 (??-00): IOPort
hm2/hm2_7i95.0:     IO Pin 032 (??-00): IOPort
hm2/hm2_7i95.0:     IO Pin 033 (??-00): IOPort
hm2/hm2_7i95.0:     IO Pin 034 (??-00): SSR #0, pin Out-00 (Output)
hm2/hm2_7i95.0:     IO Pin 035 (??-00): SSR #0, pin Out-01 (Output)
hm2/hm2_7i95.0:     IO Pin 036 (??-00): SSR #0, pin Out-02 (Output)
hm2/hm2_7i95.0:     IO Pin 037 (??-00): SSR #0, pin Out-03 (Output)
hm2/hm2_7i95.0:     IO Pin 038 (??-00): SSR #0, pin Out-04 (Output)
hm2/hm2_7i95.0:     IO Pin 039 (??-00): SSR #0, pin Out-05 (Output)
hm2/hm2_7i95.0:     IO Pin 040 (??-00): SSR #0, pin AC Ref (internal) (Output)
hm2/hm2_7i95.0:     IO Pin 041 (??-00): IOPort
hm2/hm2_7i95.0:     IO Pin 042 (??-00): IOPort
hm2/hm2_7i95.0:     IO Pin 043 (??-00): IOPort
hm2/hm2_7i95.0:     IO Pin 044 (??-00): IOPort
hm2/hm2_7i95.0:     IO Pin 045 (??-00): IOPort
hm2/hm2_7i95.0:     IO Pin 046 (??-00): IOPort
hm2/hm2_7i95.0:     IO Pin 047 (??-00): IOPort
hm2/hm2_7i95.0:     IO Pin 048 (??-00): IOPort
hm2/hm2_7i95.0:     IO Pin 049 (??-00): IOPort
hm2/hm2_7i95.0:     IO Pin 050 (??-00): IOPort
hm2/hm2_7i95.0:     IO Pin 051 (??-00): IOPort
hm2/hm2_7i95.0:     IO Pin 052 (??-00): IOPort
hm2/hm2_7i95.0:     IO Pin 053 (??-00): IOPort
hm2/hm2_7i95.0:     IO Pin 054 (??-00): IOPort
hm2/hm2_7i95.0:     IO Pin 055 (??-00): IOPort
hm2/hm2_7i95.0:     IO Pin 056 (??-00): IOPort
hm2/hm2_7i95.0:     IO Pin 057 (??-00): IOPort
hm2/hm2_7i95.0: registered
Found file(REL): ./custom.hal
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29

hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29

hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29

hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29

hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29

hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29

hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29

hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29

hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29

hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29

note: MAXV     max: 25.000 units/sec 1500.000 units/min
note: LJOG     max: 25.000 units/sec 1500.000 units/min
note: LJOG default: 6.000 units/sec 360.000 units/min
note: jog_order='XYZ'
note: jog_invert=set([])
hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29

hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29

hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29

hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29

hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29

hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29

hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29

hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29

hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29

hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29

hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29

hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29

hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29

hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29

hm2/hm2_7i95.0: hm2_read_pin_descriptors: invalid port width 29

task: main loop took 5.017579 seconds
task: main loop took 5.009405 seconds
task: main loop took 5.344838 seconds
task: main loop took 5.015675 seconds
TCL error in asynchronous code:
unknown option "-state"
    while executing
"$w configure -state disabled "
    (procedure "disable_group" line 1)
    invoked from within
"disable_group $::manualgroup"
    (procedure "update_state" line 52)
    invoked from within
"update_state"
    ("after" script)
task: main loop took 5.010379 seconds
task: main loop took 5.010883 seconds
task: main loop took 5.019939 seconds
TCL error in asynchronous code:
unknown option "-state"
    while executing
"$w configure -state disabled "
    (procedure "disable_group" line 1)
    invoked from within
"disable_group $::manualgroup"
    (procedure "update_state" line 52)
    invoked from within
"update_state"
    ("after" script)
TCL error in asynchronous code:
unknown option "-state"
    while executing
"$w configure -state disabled "
    (procedure "disable_group" line 1)
    invoked from within
"disable_group $::manualgroup"
    (procedure "update_state" line 52)
    invoked from within
"update_state"
    ("after" script)
TCL error in asynchronous code:
unknown option "-state"
    while executing
"$w configure -state disabled "
    (procedure "disable_group" line 1)
    invoked from within
"disable_group $::manualgroup"
    (procedure "update_state" line 52)
    invoked from within
"update_state"
    ("after" script)
task: main loop took 0.346344 seconds
TCL error in asynchronous code:
unknown option "-state"
    while executing
"$w configure -state disabled "
    (procedure "disable_group" line 1)
    invoked from within
"disable_group $::manualgroup"
    (procedure "update_state" line 52)
    invoked from within
"update_state"
    ("after" script)
^Ctask: 13528 cycles, min=0.000049, max=5.344838, avg=0.012690, 8 latency excursions (> 10x expected cycle time of 0.010000s)
Traceback (most recent call last):
  File "/usr/bin/axis", line 4320, in <module>
    o.mainloop()
  File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1138, in mainloop
    self.tk.mainloop(n)
  File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1545, in __call__
    def __call__(self, *args):

My flash:
hcnc@9010MT:~$ mesaflash --device 7i95 --write /home/hcnc/hostmot2/7i95_7i76iod.bit
(from this forum)

My Linuxcnc is 2.8.0 on Buster .

Card 7i76E is working normally.

Please help.
Attachments:

Please Log in or Create an account to join the conversation.

More
09 Nov 2020 12:08 #188734 by tommylight
Replied by tommylight on topic Mesa 7i95
Not sure but i think you need the master version of LinuxCNC for 7i95

Please Log in or Create an account to join the conversation.

More
09 Nov 2020 12:16 #188735 by jurod
Replied by jurod on topic Mesa 7i95
master version? What is it?

Please Log in or Create an account to join the conversation.

More
09 Nov 2020 12:26 #188736 by bevins
Replied by bevins on topic Mesa 7i95

master version? What is it?


2.9 development version

Please Log in or Create an account to join the conversation.

More
09 Nov 2020 13:08 #188741 by Gnevko
Replied by Gnevko on topic Mesa 7i95
Hi, you need (as me too) , 2.9 version of LinuxCnc

Please Log in or Create an account to join the conversation.

More
09 Nov 2020 14:08 #188748 by tommylight

Please Log in or Create an account to join the conversation.

More
09 Nov 2020 15:15 #188756 by jurod
Replied by jurod on topic Mesa 7i95
OK. I installing already on the 2.9.0

Please Log in or Create an account to join the conversation.

Moderators: PCWjmelson
Time to create page: 0.156 seconds
Powered by Kunena Forum