Advanced Search

Search Results (Searched for: )

  • M.adams9093
  • M.adams9093
02 Aug 2024 07:15
Replied by M.adams9093 on topic Error at startup

Error at startup

Category: Configuration Tools

I will give it a try and see how that will go

thank you
  • Aciera
  • Aciera's Avatar
02 Aug 2024 07:06
Replied by Aciera on topic Error at startup

Error at startup

Category: Configuration Tools

./io.hal:6: Pin 'joint.2.home-sw-in' does not exist


joint numbers start from 0. Change these two lines in 'io.hal'
net joint-1-home joint.1.home-sw-in <= hm2_7i95.0.inmux.00.input-00
net joint-2-home joint.2.home-sw-in <= hm2_7i95.0.inmux.00.input-01

to this:
net joint-1-home joint.0.home-sw-in <= hm2_7i95.0.inmux.00.input-00
net joint-2-home joint.1.home-sw-in <= hm2_7i95.0.inmux.00.input-01
  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
02 Aug 2024 06:48
Replied by Cant do this anymore bye all on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

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

Category: Computers and Hardware

I was just throwing it out there.
In all honesty it really doesn't go with the ethos of your project. From the beginning you wanted to stay away from softcores.
Just while I have it on my mind;
reg [5:0] initialization_progress = 6'b000000;

More code......
        end else if (state == STATE_INITIALIZING) begin
            spi_clk <= 1'b0;
            state <= STATE_SENDING_COMMAND;
            initialization_progress <= initialization_progress + 6'b000001;
            spi_chip_select_n <= 1'b0;
            spi_clock_count <= 10'd0;
            is_busy <= 1'b1;

            case (initialization_progress)
                // TODO: Perhaps add software reset here?

                0: current_instruction <= SET_PHY_MODE;

                // Set our MAC address
                1: current_instruction <= {SET_MAC_ADDRESS_BYTE_0, MAC_ADDR[47:40]};
                2: current_instruction <= {SET_MAC_ADDRESS_BYTE_1, MAC_ADDR[39:32]};
                3: current_instruction <= {SET_MAC_ADDRESS_BYTE_2, MAC_ADDR[31:24]};
                4: current_instruction <= {SET_MAC_ADDRESS_BYTE_3, MAC_ADDR[23:16]};
                5: current_instruction <= {SET_MAC_ADDRESS_BYTE_4, MAC_ADDR[15:8]};
                6: current_instruction <= {SET_MAC_ADDRESS_BYTE_5, MAC_ADDR[7:0]}; 
Am I right in thinking that SET_PHY_MODE is never acted on as initialization_progress is incremented before the case stanza ?
  • M.adams9093
  • M.adams9093
02 Aug 2024 06:47
Error at startup was created by M.adams9093

Error at startup

Category: Configuration Tools

Hello There, 

I am building my config file, but I'm having trouble when launching my Linuxcnc file. what I am trying to do is sync joints 1 &2 as a single Y-Axis I have configured limit switches on inputs 1 and 2 for each motor joint can someone point me in the right direction I'm not sure what wrong I'm doing here. I will post my INI and HAL files here as well. 

I appreciate any help you can provide. 


Here's my error message at startup  

Print file information:
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/lib/linuxcnc/modules
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.9.3
Machine configuration directory is '/home/cnc/linuxcnc/configs/mesa7i95t-testp1_'
Machine configuration file is 'mesa7i95t-testp1_.ini'
INIFILE=/home/cnc/linuxcnc/configs/mesa7i95t-testp1_/mesa7i95t-testp1_.ini
VERSION=1.1
PARAMETER_FILE=parameters.var
TPMOD=
HOMEMOD=
TASK=milltask
HALUI=
DISPLAY=axis
COORDINATES=YY
KINEMATICS=trivkins coordinates=YY kinstype=BOTH
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: iov2
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
Found file(REL): ./main.hal

identityKinematicsSetup: coordinates:YY
   Joint 0 ==> Axis Y
   Joint 1 ==> Axis Y

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:15:80:6c
hm2_eth: discovered 7I95T
hm2/hm2_7i95.0: Low Level init 0.15
hm2/hm2_7i95.0: Smart Serial Firmware Version 43
hm2/hm2_7i95.0: 58 I/O Pins used:
hm2/hm2_7i95.0:     IO Pin 000 (TB3-02/TB3-03): StepGen #0, pin Step (Output)
hm2/hm2_7i95.0:     IO Pin 001 (TB3-04/TB3-05): StepGen #0, pin Direction (Output)
hm2/hm2_7i95.0:     IO Pin 002 (TB3-08/TB3-09): StepGen #1, pin Step (Output)
hm2/hm2_7i95.0:     IO Pin 003 (TB3-10/TB3-11): StepGen #1, pin Direction (Output)
hm2/hm2_7i95.0:     IO Pin 004 (TB3-14/TB3-15): StepGen #2, pin Step (Output)
hm2/hm2_7i95.0:     IO Pin 005 (TB3-16/TB3-17): StepGen #2, pin Direction (Output)
hm2/hm2_7i95.0:     IO Pin 006 (TB3-20/TB3-21): StepGen #3, pin Step (Output)
hm2/hm2_7i95.0:     IO Pin 007 (TB3-22/TB3-23): StepGen #3, pin Direction (Output)
hm2/hm2_7i95.0:     IO Pin 008 (TB4-02/TB4-03): StepGen #4, pin Step (Output)
hm2/hm2_7i95.0:     IO Pin 009 (TB4-04/TB4-05): StepGen #4, pin Direction (Output)
hm2/hm2_7i95.0:     IO Pin 010 (TB4-08/TB4-09): PWMGen #0, pin Out0 (PWM or Up) (Output)
hm2/hm2_7i95.0:     IO Pin 011 (TB4-10/TB4-11): PWMGen #0, pin Out1 (Dir or Down) (Output)
hm2/hm2_7i95.0:     IO Pin 012 (TB4-14/TB4-15): IOPort
hm2/hm2_7i95.0:     IO Pin 013 (TB4-16/TB4-17): IOPort
hm2/hm2_7i95.0:     IO Pin 014 (TB3-16/TB3-17): IOPort
hm2/hm2_7i95.0:     IO Pin 015 (TB4-20/TB4-21): IOPort
hm2/hm2_7i95.0:     IO Pin 016 (TB4-22/TB4-23): IOPort
hm2/hm2_7i95.0:     IO Pin 017 (TB4-22/TB4-23): IOPort
hm2/hm2_7i95.0:     IO Pin 018 (TB1-01/TB1-09): Muxed Encoder #0, pin Muxed A (Input)
hm2/hm2_7i95.0:     IO Pin 019 (TB1-04/TB1-12): Muxed Encoder #0, pin Muxed B (Input)
hm2/hm2_7i95.0:     IO Pin 020 (TB1-07/TB1-15): Muxed Encoder #0, pin Muxed Index (Input)
hm2/hm2_7i95.0:     IO Pin 021 (TB1-17/TB2-01): Muxed Encoder #1, pin Muxed A (Input)
hm2/hm2_7i95.0:     IO Pin 022 (TB1-20/TB2-04): Muxed Encoder #1, pin Muxed B (Input)
hm2/hm2_7i95.0:     IO Pin 023 (TB1-23/TB2-07): Muxed Encoder #1, pin Muxed Index (Input)
hm2/hm2_7i95.0:     IO Pin 024 (TB2-09/TB2-17): Muxed Encoder #2, pin Muxed A (Input)
hm2/hm2_7i95.0:     IO Pin 025 (TB2-12/TB2-20): Muxed Encoder #2, pin Muxed B (Input)
hm2/hm2_7i95.0:     IO Pin 026 (TB2-15/TB2-23): Muxed Encoder #2, pin Muxed Index (Input)
hm2/hm2_7i95.0:     IO Pin 027 (Internal EncMux): Muxed Encoder Select #0, pin Mux Select 0 (Output)
hm2/hm2_7i95.0:     IO Pin 028 (Internal InMux0): InMux Input Mux #0, pin addr0 (Output)
hm2/hm2_7i95.0:     IO Pin 029 (Internal InMux1): InMux Input Mux #0, pin addr1 (Output)
hm2/hm2_7i95.0:     IO Pin 030 (Internal InMux2): InMux Input Mux #0, pin addr2 (Output)
hm2/hm2_7i95.0:     IO Pin 031 (Internal InMux3): InMux Input Mux #0, pin addr3 (Output)
hm2/hm2_7i95.0:     IO Pin 032 (Internal InMux4): InMux Input Mux #0, pin addr4 (Output)
hm2/hm2_7i95.0:     IO Pin 033 (Internal InMuxData): InMux Input Mux #0, pin muxdata (Input)
hm2/hm2_7i95.0:     IO Pin 034 (TB5-13/TB5-14): SSR #0, pin Out-00 (Output)
hm2/hm2_7i95.0:     IO Pin 035 (TB5-15/TB5-16): SSR #0, pin Out-01 (Output)
hm2/hm2_7i95.0:     IO Pin 036 (TB5-17/TB5-18): SSR #0, pin Out-02 (Output)
hm2/hm2_7i95.0:     IO Pin 037 (TB5-19/TB5-20): SSR #0, pin Out-03 (Output)
hm2/hm2_7i95.0:     IO Pin 038 (TB5-21/TB5-22): SSR #0, pin Out-04 (Output)
hm2/hm2_7i95.0:     IO Pin 039 (TB5-23/TB5-24): SSR #0, pin Out-05 (Output)
hm2/hm2_7i95.0:     IO Pin 040 (internal): SSR #0, pin AC Ref (internal) (Output)
hm2/hm2_7i95.0:     IO Pin 041 (P1-01/DB25-01): IOPort
hm2/hm2_7i95.0:     IO Pin 042 (P1-02/DB25-14): IOPort
hm2/hm2_7i95.0:     IO Pin 043 (P1-03/DB25-02): IOPort
hm2/hm2_7i95.0:     IO Pin 044 (P1-04/DB25-15): IOPort
hm2/hm2_7i95.0:     IO Pin 045 (P1-05/DB25-03): IOPort
hm2/hm2_7i95.0:     IO Pin 046 (P1-06/DB25-16): IOPort
hm2/hm2_7i95.0:     IO Pin 047 (P1-07/DB25-04): IOPort
hm2/hm2_7i95.0:     Found file(REL): ./io.hal
Shutting down and cleaning up LinuxCNC...
iov2: exiting
IO Pin 048 (P1-08/DB25-17): IOPort
hm2/hm2_7i95.0:     IO Pin 049 (P1-09/DB25-05): IOPort
hm2/hm2_7i95.0:     IO Pin 050 (P1-11/DB25-06): IOPort
hm2/hm2_7i95.0:     IO Pin 051 (P1-13/DB25-07): IOPort
hm2/hm2_7i95.0:     IO Pin 052 (P1-15/DB25-08): IOPort
hm2/hm2_7i95.0:     IO Pin 053 (P1-17/DB25-09): IOPort
hm2/hm2_7i95.0:     IO Pin 054 (P1-19/DB25-10): IOPort
hm2/hm2_7i95.0:     IO Pin 055 (P1-21/DB25-11): IOPort
hm2/hm2_7i95.0:     IO Pin 056 (P1-23/DB25-12): IOPort
hm2/hm2_7i95.0:     IO Pin 057 (P1-25/DB25-13): IOPort
hm2/hm2_7i95.0: registered
hm2_eth: in hm2_eth_reset
hm2_eth: HostMot2 ethernet driver unloaded
hm2: unloading
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
iopl() failed: Operation not permitted
cannot gain I/O privileges - forgot 'sudo make setuid' or using secure boot? -parallel port access is not allowed
Note: Using POSIX realtime
./io.hal:6: Pin 'joint.2.home-sw-in' does not exist
8923
Stopping realtime threads
Unloading hal components
iopl() failed: Operation not permitted
cannot gain I/O privileges - forgot 'sudo make setuid' or using secure boot? -parallel port access is not allowed
Note: Using POSIX realtime









 

File Attachment:

File Name: main.hal
File Size:5 KB

File Attachment:

File Name: mesa7i95t-testp1_.ini
File Size:3 KB

File Attachment:

File Name: io.hal
File Size:0 KB
  • xenon-alien
  • xenon-alien's Avatar
02 Aug 2024 06:04
Replied by xenon-alien on topic 7i84 Software mode 3

7i84 Software mode 3

Category: Driver Boards

Hello.
I have issues with the MPG with the 7i96s+7i84 combination. (no blink no reaction, in an other setup it works correctly)
The MPG is a  

This browser does not support PDFs. Please download the PDF to view it: Download PDF

with 5V connected to the 7i96s an the AB - 16, 17 pin on the 7i84.
Should be connected the 5v GND and the 24v GND together? (not remember, did I connect them together in the other setup, where it works correctly)
  • meister
  • meister
02 Aug 2024 05:46

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

Category: Computers and Hardware

with soft cores you again have the problem that it does not run so easily on all FPGA's, plus the problems with writing the flash with the firmware.
  • Becksvill
  • Becksvill
02 Aug 2024 02:17
Replied by Becksvill on topic Trajectory Planner using Ruckig Lib

Trajectory Planner using Ruckig Lib

Category: General LinuxCNC Questions

That's amazing Grotius!

Really keen to see this running.
  • dave.franchino@gmail.com
  • dave.franchino@gmail.com
02 Aug 2024 01:36

Can you get me started on using LinuxCNC on a non-traditional kinematic mechanis

Category: General LinuxCNC Questions

Sorry for the newby questions... Where does the code for non traditional kinematics reside?  I'm pretty sure we've derived the forward and reverse joint transformations but not exactly sure where these are stored? 

Thanks
  • tommylight
  • tommylight's Avatar
02 Aug 2024 00:34
Replied by tommylight on topic help with installation

help with installation

Category: Installing LinuxCNC

I'm the one who's grateful, after all I'm learning a lot. My mind is no longer the same lol


Wait till you start playing with HAL, that is a whole new world of possibilities! :)
  • tommylight
  • tommylight's Avatar
02 Aug 2024 00:33
Replied by tommylight on topic help with installation

help with installation

Category: Installing LinuxCNC


One question, it doesn't have the  Linux headers
What version should be installed?


None, no need if you do not intend to use the dev version and do custom components.
At least that is true for the RT version, seems the same for RTAI from your results.
  • cnbbom
  • cnbbom
02 Aug 2024 00:03
Replied by cnbbom on topic help with installation

help with installation

Category: Installing LinuxCNC

Well, I made a configuration with just the 3 axes and it opens linuxcnc, however if I configure spindle I get this message and it also restarts the login, and sometimes the screen locks and I need to reset the PC
OK, it works, nice, and thank you for reporting this as this was not mentioned till now as a reason for failing with segfault.
Now it would be nice to leave it as is and do some more tests, make some more configs (yes you can have as many configs as you like) and see what triggers the segfault. Try PDM instead of PWM, some random values for min max values, whatever you can.
Again, thank you, this is very important info.
 

I'm the one who's grateful, after all I'm learning a lot. My mind is no longer the same lol
  • cnbbom
  • cnbbom
01 Aug 2024 23:55
Replied by cnbbom on topic help with installation

help with installation

Category: Installing LinuxCNC

Yeah that is not good, the dreded "segfault" strikes again!
Try downloading and installing these files
forum.linuxcnc.org/9-installing-linuxcnc...-2-9?start=30#305682
That is a common issue with the latest RTAI kernel/LinuxCNC that was fixed to a certain point.

 

One question, it doesn't have the  Linux headers
What version should be installed?
  • tommylight
  • tommylight's Avatar
01 Aug 2024 23:53
  • tommylight
  • tommylight's Avatar
01 Aug 2024 23:49
Replied by tommylight on topic New and Working RTAI debs for 2.9

New and Working RTAI debs for 2.9

Category: Installing LinuxCNC

Some new info on the segfault issue here, do check if it is using the relevant RTAI kernel, i need sleep badly.
Thank you, all.
forum.linuxcnc.org/9-installing-linuxcnc...tion?start=20#306682
  • tommylight
  • tommylight's Avatar
01 Aug 2024 23:46
Replied by tommylight on topic help with installation

help with installation

Category: Installing LinuxCNC

Well, I made a configuration with just the 3 axes and it opens linuxcnc, however if I configure spindle I get this message and it also restarts the login, and sometimes the screen locks and I need to reset the PC

OK, it works, nice, and thank you for reporting this as this was not mentioned till now as a reason for failing with segfault.
Now it would be nice to leave it as is and do some more tests, make some more configs (yes you can have as many configs as you like) and see what triggers the segfault. Try PDM instead of PWM, some random values for min max values, whatever you can.
Again, thank you, this is very important info.
Displaying 23626 - 23640 out of 25512 results.
Time to create page: 0.544 seconds
Powered by Kunena Forum