Advanced Search

Search Results (Searched for: )

  • nartburg
  • nartburg
11 Aug 2024 17:12
From .iso to build was created by nartburg

From .iso to build

Category: Installing LinuxCNC

Dear Forum,
I started out with the .iso of linuxcnc. Configured my machine with Pncconf Wizzard and realized that I have to compensate for the geometric imperfections of my machine. There are some clues in the forum:

forum.linuxcnc.org/10-advanced-configura...t-axis-errors#105999
forum.linuxcnc.org/10-advanced-configura...onent-and-hal#191290

I'm thinking of writing a custom Kinematic module that takes a Table of commanded Positions vs. measured Positions  and generates (interpolates) the correction and commands the motors (closed loop steppers) to the correct position.

What is the best way to do that?
Do I have to compile the whole LinuxCNC myself?
Is it sufficient to compile the kinematic module? 

with kind regards

Martin

 
  • abdulasis12
  • abdulasis12
11 Aug 2024 17:03

Ethercat installation from repositories - how to step by step

Category: EtherCAT

Refer here. Please restrict this thread to Ethercat installation only
docs.google.com/document/d/1jeV_4VKzVmOI...diY/edit?usp=sharing


No. 59 right ?
link sent back your first post
 

 
  • PCW
  • PCW's Avatar
11 Aug 2024 17:02 - 11 Aug 2024 18:44
Replied by PCW on topic 7i97t with 7i84d connection problem

7i97t with 7i84d connection problem

Category: Driver Boards

You could check if there is 3.3V power, and if not, maybe trace
backwards (3.3V comes from a switching supply that is supplied
by VFIELDB)

 (Check across the larger electrolytic capacitor
 C30 towards the bottom of the card between TB2 and TB3)

But if its not something obvious, the card should be returned
to the vendor for repair/replacement.


 
  • stefan63
  • stefan63's Avatar
11 Aug 2024 16:05
Replied by stefan63 on topic Flexible GUI

Flexible GUI

Category: Other User Interfaces

Looking great, I'm following this project with interest!
Thank you for your efforts!
/Stefan
  • Krulli_Fräser
  • Krulli_Fräser
11 Aug 2024 15:40
Replied by Krulli_Fräser on topic 7i97t with 7i84d connection problem

7i97t with 7i84d connection problem

Category: Driver Boards

Is that something I can check/fix myself or should I contact the retailer. The package arrived on friday and I am fairly certain I didn't damage it.
  • PCW
  • PCW's Avatar
11 Aug 2024 13:18
Replied by PCW on topic 7i97t with 7i84d connection problem

7i97t with 7i84d connection problem

Category: Driver Boards

It looks like the 7I84D has failed somehow.
There is either an issue with the 3.3V supply
or the microcontroller, because neither the
red fault or green activity LED is illuminated.
  • Krulli_Fräser
  • Krulli_Fräser
11 Aug 2024 13:15
Replied by Krulli_Fräser on topic 7i97t with 7i84d connection problem

7i97t with 7i84d connection problem

Category: Driver Boards

Update:

I also have a 7i73 which will later be mounted in the control unit to interface some buttons and encoders, and plugging the cat5 cable from the 7i84 to it and running mesaflash --addr 10.10.10.10 --device=ETHER --sserial
gives this:
SSLBP port 0:
  SSLBP Version: 1.43
  SSLBP Channels: 1
  SSLBP Baud Rate: 2500000
  sserial device at channel 0: 7I73 (unit 0x130002FC)
    SwRevision = 14
    HwRevision = 1
    NVBaudRate = 2.5Mb
    NVUnitNumber = 0x130002FC
    NVWatchDogTimeout = 50ms
    SOFTWARE MODE InputOutputEncoder [index 00]
    SOFTWARE MODE InputOutputEncoderAnalog [index 01]
    SOFTWARE MODE InputOutputEncoderAnalog [index 02]
    SOFTWARE MODE InputOutputEncoderDisplay [index 00]
    SOFTWARE MODE InputOutputEncoderAnalogDisplay [index 01]
    SOFTWARE MODE InputOutputEncoderAnalogWideDisplay [index 02]
    SOFTWARE MODE InputOutputEncoderKeycode4by8 [index 00]
    SOFTWARE MODE InputOutputEncoderAnalogKeycode4by8 [index 01]
    SOFTWARE MODE InputOutputEncoderAnalogKeycode4by8 [index 02]
    SOFTWARE MODE InputOutputEncoderDisplayKeycode4by8 [index 00]
    SOFTWARE MODE InputOutputEncoderAnalogDisplayKeyCode4by8 [index 01]
    SOFTWARE MODE InputOutputEncoderAnalogWideDisplayKeyCode4by8 [index 02]
    SOFTWARE MODE InputOutputEncoderKeycode8by8 [index 00]
    SOFTWARE MODE InputOutputEncoderAnalogKeyCode8by8 [index 01]
    SOFTWARE MODE InputOutputEncoderAnalogKeyCode8by8 [index 02]
    SOFTWARE MODE InputOutputEncoderDisplayKeycode8by8 [index 00]
    SOFTWARE MODE InputOutputEncoderAnalogDisplayKeyCode8by8 [index 01]
    SOFTWARE MODE InputOutputEncoderAnalogWideDisplayKeyCode8by8 [index 02]

which leads me to believe that card is communicating properly

Thanks for your help so far
  • Krulli_Fräser
  • Krulli_Fräser
11 Aug 2024 10:16
Replied by Krulli_Fräser on topic 7i97t with 7i84d connection problem

7i97t with 7i84d connection problem

Category: Driver Boards

Thanks for your input.
 
my rj 45 plug looks like this

I have the 7i84 connected to 24V
 
on the left the calbe marked 55 is 24V an i jumpered it over so both field connectors get 24v
the cable marked 53 is ground. There are no relays or switches between the power supply and 7i84 as per the manual.

I have the 7i97 connected to 5V
 
The violet cable supplies 5V, the blue one is ground.
The 7i97 seems to work, as I am able to read the handwheel encoders I have connected.

After changing the ip to 10.10.10.10 LCNC starts with Peter's hal file, but the 7i84 still doesn't show up in halshow
  • PCW
  • PCW's Avatar
11 Aug 2024 09:37 - 11 Aug 2024 09:41
Replied by PCW on topic 7i97t with 7i84d connection problem

7i97t with 7i84d connection problem

Category: Driver Boards

Yes. the sample hal file uses a 192.168.1.121 IP address:

loadrt hm2_eth board_ip="192.168.1.121" config=" num_encoders=6 num_pwmgens=6 num_stepgens=0 sserial_port_0=00xxxxxx"


The 7I84D is not recognized.

This may be because:

1. The Ethernet cable is not EIA 568B, so the color code is
not correct for the chart in the manual
(check the RJ45 end of the cable)

2. You don't have _both_ VFIELDA and VFIELDB connected to +8 to +24V
on the 7I84
 
  • rasmus
  • rasmus
11 Aug 2024 09:26 - 11 Aug 2024 11:29
Replied by rasmus on topic Retrofitting HURCO BMC30

Retrofitting HURCO BMC30

Category: Milling Machines

Is in the works of finishing the electrical drawings of the BMC30 update.

But i would want to preserve some of the safety features.

In the current configuration a lot of the outputs are fed 24V through a relay and I would like to still have it like this.
But reading the manuals for the 7i77 and 7i71 the cards should not be provided VFIELD through a relay.

What is the danger to add a relay in the VFIELD is it the risk of contact bouncing when enabled or that the power could switch rapidly? 
Would it be acceptable to provide power through a safety relay that needs to be reset to be enabled again? (Then rapid on/off switching will not be that rapid)

Update:
Solved it by having the actuators over the same ground which a relay switches instead.
  • tommylight
  • tommylight's Avatar
11 Aug 2024 09:20
Replied by tommylight on topic 7i97t with 7i84d connection problem

7i97t with 7i84d connection problem

Category: Driver Boards

First config/error, is the 7i84 powered on?
If yes, cable wiring is wrong from 7i97T to 7i85.
-
Second config/error, is Mesa 7i97T powered on?
Is the cable connected to it?
Since network should already be set and working, then probably the wrong card IP address in the ini file.
  • besriworld
  • besriworld
11 Aug 2024 09:13
Replied by besriworld on topic OLD Lathe conversion to a CNC

OLD Lathe conversion to a CNC

Category: Turning

Quick video of the first tests. I'm still learning how to work.

  • Krulli_Fräser
  • Krulli_Fräser
11 Aug 2024 08:05
Replied by Krulli_Fräser on topic 7i97t with 7i84d connection problem

7i97t with 7i84d connection problem

Category: Driver Boards

So I just tried creating a config with pncconf again. When I don't designate any functions to the pins on the 7i84 linuxcnc will launch but not show the 7i84 in halshow.When i add a function to any 7i84 pin in pncconf linuxcnc won't start and i get this error message:
LINUXCNC - 2.9.3
Machine configuration directory is '/home/cnc/linuxcnc/configs/Alcor220CNC'
Machine configuration file is 'Alcor220CNC.ini'
Starting LinuxCNC...
libnml/buffer/shmem.cc 320: Shared memory buffers toolCmd and toolCmd may conflict. (key=1004(0x3EC))
libnml/buffer/shmem.cc 320: Shared memory buffers toolSts and toolSts may conflict. (key=1005(0x3ED))
libnml/buffer/shmem.cc 320: Shared memory buffers emcError and emcError may conflict. (key=1003(0x3EB))
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Note: Using POSIX realtime
Found file(REL): ./Alcor220CNC.hal
hm2: loading Mesa HostMot2 driver version 0.15
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
hm2_eth: 10.10.10.10: INFO: Hardware address (MAC): 00:60:1b:17:80:2f
hm2_eth: discovered 7I97T
hm2/hm2_7i97.0: Low Level init 0.15
hm2/hm2_7i97.0: Smart Serial Firmware Version 43
hm2/hm2_7i97.0: 51 I/O Pins used:
hm2/hm2_7i97.0:     IO Pin 000 (TB3-04): PWMGen #0, pin Out0 (PWM or Up) (Output)
hm2/hm2_7i97.0:     IO Pin 001 (TB3-08): PWMGen #1, pin Out0 (PWM or Up) (Output)
hm2/hm2_7i97.0:     IO Pin 002 (TB3-12): PWMGen #2, pin Out0 (PWM or Up) (Output)
hm2/hm2_7i97.0:     IO Pin 003 (TB3-16): PWMGen #3, pin Out0 (PWM or Up) (Output)
hm2/hm2_7i97.0:     IO Pin 004 (TB3-20): PWMGen #4, pin Out0 (PWM or Up) (Output)
hm2/hm2_7i97.0:     IO Pin 005 (AN_ENA4): PWMGen #4, pin Not-Enable (Output)
hm2/hm2_7i97.0:     IO Pin 006 (TB3-24): PWMGen #5, pin Out0 (PWM or Up) (Output)
hm2/hm2_7i97.0:     IO Pin 007 (AN_ENA5): PWMGen #5, pin Not-Enable (Output)
hm2/hm2_7i97.0:     IO Pin 008 (AN-ENA0..3): PWMGen #0, pin Not-Enable (Output)
hm2/hm2_7i97.0:     IO Pin 009 (TB1-01/TB1-09): Muxed Encoder #0, pin Muxed A (Input)
hm2/hm2_7i97.0:     IO Pin 010 (TB1-04/TB1-12): Muxed Encoder #0, pin Muxed B (Input)
hm2/hm2_7i97.0:     IO Pin 011 (TB1-07/TB1-15): Muxed Encoder #0, pin Muxed Index (Input)
hm2/hm2_7i97.0:     IO Pin 012 (TB1-17/TB2-01): Muxed Encoder #1, pin Muxed A (Input)
hm2/hm2_7i97.0:     IO Pin 013 (TB1-20/TB2-04): Muxed Encoder #1, pin Muxed B (Input)
hm2/hm2_7i97.0:     IO Pin 014 (TB1-23/TB2-07): Muxed Encoder #1, pin Muxed Index (Input)
hm2/hm2_7i97.0:     IO Pin 015 (TB2-09/TB2-17): Muxed Encoder #2, pin Muxed A (Input)
hm2/hm2_7i97.0:     IO Pin 016 (TB2-12/TB2-20): Muxed Encoder #2, pin Muxed B (Input)
hm2/hm2_7i97.0:     IO Pin 017 (TB2-15/TB2-23): Muxed Encoder #2, pin Muxed Index (Input)
hm2/hm2_7i97.0:     IO Pin 018 (Internal EncMux): Muxed Encoder Select #0, pin Mux Select 0 (Output)
hm2/hm2_7i97.0:     IO Pin 019 (TB5-13/TB5-14): SSR #0, pin Out-00 (Output)
hm2/hm2_7i97.0:     IO Pin 020 (TB5-15/TB5-16): SSR #0, pin Out-01 (Output)
hm2/hm2_7i97.0:     IO Pin 021 (TB5-17/TB5-18): SSR #0, pin Out-02 (Output)
hm2/hm2_7i97.0:     IO Pin 022 (TB5-19/TB5-20): SSR #0, pin Out-03 (Output)
hm2/hm2_7i97.0:     IO Pin 023 (TB5-21/TB5-22): SSR #0, pin Out-04 (Output)
hm2/hm2_7i97.0:     IO Pin 024 (TB5-23/TB5-24): SSR #0, pin Out-05 (Output)
hm2/hm2_7i97.0:     IO Pin 025 (Internal InMux0): SSR #0, pin AC Ref (internal) (Output)
hm2/hm2_7i97.0:     IO Pin 026 (Internal InMux1): InMux Input Mux #0, pin addr0 (Output)
hm2/hm2_7i97.0:     IO Pin 027 (Internal InMux2): InMux Input Mux #0, pin addr1 (Output)
hm2/hm2_7i97.0:     IO Pin 028 (Internal InMux3): InMux Input Mux #0, pin addr2 (Output)
hm2/hm2_7i97.0:     IO Pin 029 (Internal InMuxData): InMux Input Mux #0, pin addr3 (Output)
hm2/hm2_7i97.0:     IO Pin 030 (TB4-15/TB4-16): InMux Input Mux #0, pin muxdata (Input)
hm2/hm2_7i97.0:     IO Pin 031 (TB4-17/TB4-18): IOPort
hm2/hm2_7i97.0:     IO Pin 032 (TB4-17/TB4-18): IOPort
hm2/hm2_7i97.0:     IO Pin 033 (P1-01/DB25-01): IOPort
hm2/hm2_7i97.0:     IO Pin 034 (P1-02/DB25-14): IOPort
hm2/hm2_7i97.0:     IO Pin 035 (P1-03/DB25-02): IOPort
hm2/hm2_7i97.0:     IO Pin 036 (P1-04/DB25-15): IOPort
hm2/hm2_7i97.0:     IO Pin 037 (P1-05/DB25-03): IOPort
hm2/hm2_7i97.0:     IO Pin 038 (P1-06/DB25-16): IOPort
hm2/hm2_7i97.0:     IO Pin 039 (P1-07/DB25-04): IOPort
hm2/hm2_7i97.0:     IO Pin 040 (P1-08/DB25-17): IOPort
hm2/hm2_7i97.0:     IO Pin 041 (P1-09/DB25-05): IOPort
hm2/hm2_7i97.0:     IO Pin 042 (P1-11/DB25-06): IOPort
hm2/hm2_7i97.0:     IO Pin 043 (P1-13/DB25-07): IOPort
hm2/hm2_7i97.0:     IO Pin 044 (P1-15/DB25-08): IOPort
hm2/hm2_7i97.0:     IO Pin 045 (P1-17/DB25-09): IOPort
hm2/hm2_7i97.0:     IO Pin 046 (P1-19/DB25-10): IOPort
hm2/hm2_7i97.0:     IO Pin 047 (P1-21/DB25-11): IOPort
hm2/hm2_7i97.0:     IO Pin 048 (P1-23/DB25-12): IOPort
hm2/hm2_7i97.0:     IO Pin 049 (P1-25/DB25-13): IOPort
hm2/hm2_7i97.0: registered
creating ladder-state
./Alcor220CNC.hal:33: Pin 'hm2_7i97.0.7i84.0.0.input-00' does not exist
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
hm2_eth: in hm2_eth_reset
hm2_eth: HostMot2 ethernet driver unloaded
hm2: unloading
Note: Using POSIX realtime
LinuxCNC terminated with an error.  You can find more information in the log:
    /home/cnc/linuxcnc_debug.txt
and
    /home/cnc/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal

trying to start with Peter's config yields this:
LINUXCNC - 2.9.3
Machine configuration directory is '/home/cnc/linuxcnc/configs/basic7i97_2024-08-10'
Machine configuration file is 'basic7i97.ini'
Starting LinuxCNC...
libnml/buffer/shmem.cc 320: Shared memory buffers toolCmd and toolCmd may conflict. (key=1004(0x3EC))
libnml/buffer/shmem.cc 320: Shared memory buffers toolSts and toolSts may conflict. (key=1005(0x3ED))
libnml/buffer/shmem.cc 320: Shared memory buffers emcError and emcError may conflict. (key=1003(0x3EB))
emc/iotask/ioControl.cc 786: can't load tool table.
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Note: Using POSIX realtime
Found file(REL): ./basic7i97.hal
hm2: loading Mesa HostMot2 driver version 0.15
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
hm2_eth: ERROR: can't connect: Network is unreachable
hm2_eth: rtapi_app_main: Network is unreachable (-101)
./basic7i97.hal:9: waitpid failed /usr/bin/rtapi_app hm2_eth
./basic7i97.hal:9: /usr/bin/rtapi_app exited without becoming ready
./basic7i97.hal:9: insmod for hm2_eth failed, returned -1
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
Could not open command file 'shutdown.hal'
hm2: unloading
Note: Using POSIX realtime
LinuxCNC terminated with an error.  You can find more information in the log:
    /home/cnc/linuxcnc_debug.txt
and
    /home/cnc/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
 
  • Krulli_Fräser
  • Krulli_Fräser
11 Aug 2024 07:34
Replied by Krulli_Fräser on topic 7i97t with 7i84d connection problem

7i97t with 7i84d connection problem

Category: Driver Boards

I have the 7i84d connected with a chopped ethernet cable as described in the manual
  • Krulli_Fräser
  • Krulli_Fräser
11 Aug 2024 07:30 - 11 Aug 2024 07:31
Replied by Krulli_Fräser on topic 7i97t with 7i84d connection problem

7i97t with 7i84d connection problem

Category: Driver Boards

Thanks for your help so far

I just entered 
mesaflash --addr 10.10.10.10 --device=ETHER --sserial
and get this response:

SSLBP port 0:
     SSLBP Version: 1.43
     SSLBP Channels: 1
     SSLBP Baud Rate: 2500000

I will now record the errors I get with my own configured hal file and then try the one you made.
Displaying 23011 - 23025 out of 25405 results.
Time to create page: 0.525 seconds
Powered by Kunena Forum