7i77 5i25 hm2_pci unloaded

More
26 Nov 2016 11:10 #83334 by andypugh
Replied by andypugh on topic 7i77 5i25 hm2_pci unloaded

I have an other machine with 7i76 + 6i25 is possible run these with this latency??


Yes, it should be.

I think PCW has demonstrated that with the dpll enabled you can go as high as 500,000nS and still have acceptable results, and your latency is < 50,000.
The following user(s) said Thank You: bkt

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

More
26 Nov 2016 11:44 - 26 Nov 2016 12:08 #83336 by bkt
Replied by bkt on topic 7i77 5i25 hm2_pci unloaded
perfect... tanks..

Is possible run linuxcnc whitout rip-environment??



Other .... how to get halcompile??? if use halcompile I fount these error: halcompile command not found!!!!

regards
giorgio
Last edit: 26 Nov 2016 12:08 by bkt.

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

More
27 Nov 2016 10:25 #83358 by bkt
Replied by bkt on topic 7i77 5i25 hm2_pci unloaded
I reply me own:

1) I try to use a bash script to run Lcnc ... but the path i wrong ... so I use the checkbox lower to left on Lcnc choser config windows ... and It make a link on my desk, obviusly it work just make and after reboot too ... so I control that path & I discover my error...

2) halcompile is install on linuxcnc-dev home dir .... so nothing to do with "sudo halcompile ..." it obviusly it return: halcompile command not fount (it's not install in bin or etc or opt or other root dir ... so the system not find it) But with halcompile --compile xxxx all work fine...

Regards
giorgio

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

More
27 Nov 2016 12:11 #83361 by bkt
Replied by bkt on topic 7i77 5i25 hm2_pci unloaded
after solve installation problem try to run my config .... :sick: nothing to do, so I make an other ssd with normal wheezy install .... I upgrade hostmot mesa driver with new mesaflash ... and run ..... the same... so i copy my conf and I try id on an other machine (same ssd and hardware) ... same error ....

I report the error show during run my conf in terminal....
:~/linuxcnc-dev$ linuxcnc
LINUXCNC - 2.8.0~pre1
Machine configuration directory is '/home/k1/linuxcnc-dev/configs/n'
Machine configuration file is 'n.ini'
check_config: Unknown [KINS]KINEMATICS=delta_AAB_inv
Starting LinuxCNC...
iocontrol: machine: 'n'  version 'unknown'
Found file(REL): ./n.hal
Note: Using POSIX realtime
hm2: loading Mesa HostMot2 driver version 0.15
hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
hm2_pci: discovered 5i25 at 0000:04:00.0
hm2/hm2_5i25.0: Smart Serial Firmware Version 43
Board hm2_5i25.0.7i77.0.0 Hardware Mode 0 = standard
Board hm2_5i25.0.7i77.0.0 Software Mode 0 = input_output
Board hm2_5i25.0.7i77.0.0 Software Mode 1 = io_analog
Board hm2_5i25.0.7i77.0.0 Software Mode 2 = io_analog_fieldvoltage
Board hm2_5i25.0.7i77.0.0 Software Mode 3 = io_encoder_analog_fieldvoltage
Board hm2_5i25.0.7i77.0.1 Hardware Mode 0 = standard
Board hm2_5i25.0.7i77.0.1 Software Mode 0 = analogout_enables
hm2/hm2_5i25.0: 34 I/O Pins used:
hm2/hm2_5i25.0:     IO Pin 000 (P3-01): IOPort
hm2/hm2_5i25.0:     IO Pin 001 (P3-14): IOPort
hm2/hm2_5i25.0:     IO Pin 002 (P3-02): IOPort
hm2/hm2_5i25.0:     IO Pin 003 (P3-15): Smart Serial Interface #0, pin TxData1 (Output)
hm2/hm2_5i25.0:     IO Pin 004 (P3-03): Smart Serial Interface #0, pin RxData1 (Input)
hm2/hm2_5i25.0:     IO Pin 005 (P3-16): Smart Serial Interface #0, pin TxData0 (Output)
hm2/hm2_5i25.0:     IO Pin 006 (P3-04): Smart Serial Interface #0, pin RxData0 (Input)
hm2/hm2_5i25.0:     IO Pin 007 (P3-17): Muxed Encoder Select #0, pin Mux Select 0 (Output)
hm2/hm2_5i25.0:     IO Pin 008 (P3-05): Muxed Encoder #0, pin Muxed A (Input)
hm2/hm2_5i25.0:     IO Pin 009 (P3-06): Muxed Encoder #0, pin Muxed B (Input)
hm2/hm2_5i25.0:     IO Pin 010 (P3-07): Muxed Encoder #0, pin Muxed Index (Input)
hm2/hm2_5i25.0:     IO Pin 011 (P3-08): Muxed Encoder #1, pin Muxed A (Input)
hm2/hm2_5i25.0:     IO Pin 012 (P3-09): Muxed Encoder #1, pin Muxed B (Input)
hm2/hm2_5i25.0:     IO Pin 013 (P3-10): Muxed Encoder #1, pin Muxed Index (Input)
hm2/hm2_5i25.0:     IO Pin 014 (P3-11): Muxed Encoder #2, pin Muxed A (Input)
hm2/hm2_5i25.0:     IO Pin 015 (P3-12): Muxed Encoder #2, pin Muxed B (Input)
hm2/hm2_5i25.0:     IO Pin 016 (P3-13): Muxed Encoder #2, pin Muxed Index (Input)
hm2/hm2_5i25.0:     IO Pin 017 (P2-01): IOPort
hm2/hm2_5i25.0:     IO Pin 018 (P2-14): IOPort
hm2/hm2_5i25.0:     IO Pin 019 (P2-02): IOPort
hm2/hm2_5i25.0:     IO Pin 020 (P2-15): IOPort
hm2/hm2_5i25.0:     IO Pin 021 (P2-03): IOPort
hm2/hm2_5i25.0:     IO Pin 022 (P2-16): IOPort
hm2/hm2_5i25.0:     IO Pin 023 (P2-04): IOPort
hm2/hm2_5i25.0:     IO Pin 024 (P2-17): IOPort
hm2/hm2_5i25.0:     IO Pin 025 (P2-05): IOPort
hm2/hm2_5i25.0:     IO Pin 026 (P2-06): IOPort
hm2/hm2_5i25.0:     IO Pin 027 (P2-07): IOPort
hm2/hm2_5i25.0:     IO Pin 028 (P2-08): IOPort
hm2/hm2_5i25.0:     IO Pin 029 (P2-09): IOPort
hm2/hm2_5i25.0:     IO Pin 030 (P2-10): IOPort
hm2/hm2_5i25.0:     IO Pin 031 (P2-11): IOPort
hm2/hm2_5i25.0:     IO Pin 032 (P2-12): IOPort
hm2/hm2_5i25.0:     IO Pin 033 (P2-13): IOPort
hm2/hm2_5i25.0: registered
hm2_5i25.0: initialized AnyIO board at 0000:04:00.0
task: machine: 'n'  version 'unknown'
/home/k1/linuxcnc-dev/bin/milltask (pid 3687) died on signal 11, backtrace stored in /tmp/backtrace.3687
/home/k1/linuxcnc-dev/bin/milltask exiting
note: MAXV     max: 10000.000 units/sec 600000.000 units/min
note: LJOG     max: 10000.000 units/sec 600000.000 units/min
note: LJOG default: 2000.000 units/sec 120000.000 units/min
note: AJOG     max: 3600.000 units/sec 216000.000 units/min
note: AJOG default: 166.667 units/sec 10000.002 units/min
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
<commandline>:0: milltask exited without becoming ready
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
A configuration error is preventing LinuxCNC from starting.
More information may be available when running from a terminal.
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
hm2_5i25.0: dropping AnyIO board at 0000:04:00.0
hm2/hm2_5i25.0: unregistered
RTAPI_PCI: Unmapped 65536 bytes at 0x7f154b789000
hm2_pci: driver unloaded
hm2: unloading
Note: Using POSIX realtime
LinuxCNC terminated with an error.  You can find more information in the log:
    /home/k1/linuxcnc_debug.txt
and
    /home/k1/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal

someone see somethings error in these ...??

Regards
giorgio

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

More
27 Nov 2016 14:55 - 27 Nov 2016 14:57 #83364 by dgarrett
Replied by dgarrett on topic 7i77 5i25 hm2_pci unloaded
check_config: Unknown [KINS]KINEMATICS=delta_AAB_inv
This is not an error, it indicates you are using a custom, non-identity
kinematics module named 'delta_AAB_inv'
/home/k1/linuxcnc-dev/bin/milltask (pid 3687) died on signal 11, backtrace stored in /tmp/backtrace.3687
/home/k1/linuxcnc-dev/bin/milltask exiting

This indicates something went very wrong (segfault) in the
task process (milltask). It suggests a failure in setting
up the custom kinematics module.
waiting for s.joints<0>, s.kinematics_type<0>
This indicates that the gui (axis) gave up waiting for a valid
kinematics module to be loaded because task failed.

I suspect something is wrong with your kinematics module or the
way which loading is specified for it.

Please post _all_ the following items somewhere so that they can
be studied:
1) the entire config directory (n.tgz) using these commands:
$ cd /home/k1/linuxcnc-dev/configs/
$ tar czf n.tgz n
2) the source code for your custom kinematics file:

/home/k1/linuxcnc-dev/src/emc/kinematics/delta_AAB_inv.c

3) your Makefile with its modifications for compiling delta_AAB_inv.c

/home/k1/linuxcnc-dev/src/Makefile

4) result of these commands (make.result):
$ touch /home/k1/linuxcnc-dev/src/emc/kinematics/delta_AAB_inv.c
$ cd /home/k1/linuxcnc-dev/src
$ (make && sudo make setuid) >|make.result
4) result of this command (find.result):
$ find /home/k1/linuxcnc-dev -iname 'delta_AAB_inv*' -ls >|find.result
5) all files named /tmp/backtrace.*
Last edit: 27 Nov 2016 14:57 by dgarrett.
The following user(s) said Thank You: bkt

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

More
28 Nov 2016 08:15 - 28 Nov 2016 08:27 #83390 by bkt
Replied by bkt on topic 7i77 5i25 hm2_pci unloaded
Very Very tanks dgarret .... so tomorrow I control for the 12° time my ini file....it is true that what is in evidence not seen .... In my ubuntu10.04 ini I have add position.txt file .... but in fresh install ubuntu 14.04 I've copy mcodes path, ngcfile path, subngc.path but nothings about remapping .py code and nothing about position.txt .... for more rapid response to my test I've commented out (with #) these line ... and all works fine ...:laugh: :laugh: :laugh: B)

I'm very happy for these, today make a medium time test (4 hour) at medium velocity working of my delta (about 70.000 mm/sec linear cartesian vel) and then an other test to final vel (160.000 mm/sec) ...

I hope in the same good result as into ubuntu 10.04 .....But I would like to take advantage of your interest to ask you information

1) if I wanted to try to implement a jerk acceleration on my delta robot that file should go to study to make it happen ??

I've just try to modify deltaKins but the result is not real good .... as suggest from andypugh I try to implement limit3 into delta_ABB_inv.c but at least I cancel it because works not real goods.... i thinks is because kins put the limit on axis in relation to space.... but in real world we need put the limit in relation with time!!

2) You have try to install Lcnc Master over linuxnc 16.04 ... whit whith kernel rt_preempt ? is possible with 5.x.x release?
I ask these because I woult like to take some advantage from ubuntu sdk for make some Lcnc gui or app on ubuntu tablet/phones ... (really on android I'm make A gui working as test and running on galaxy s5 using wifi modbus) ...

Any how if is your interest i can send the request file ....

regards
Giorgio
Last edit: 28 Nov 2016 08:27 by bkt.

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

More
28 Nov 2016 14:29 #83394 by bkt
Replied by bkt on topic 7i77 5i25 hm2_pci unloaded
For the first 4 Hour of test all work fine ... I Not update these => all works..

regards
giorgio

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

More
28 Nov 2016 16:31 - 28 Nov 2016 16:34 #83397 by bkt
Replied by bkt on topic 7i77 5i25 hm2_pci unloaded
mmm... I have compile with success my kins with halcompile .....(attack file) ... but no my custom comp... it works with success from 1 year ago in ubuntu 10.04 lcnc 2.7 install ... but on fresh ubuntu 14.04 I'm not able tu run halcompile whitout error...
~/linuxcnc-dev$ halcompile --compile '/home/k1/k1MbServer.comp' gcc -Os -g -I. -I/home/k1/linuxcnc-dev/src/include -DUSPACE -fno-fast-math -mieee-fp -fno-unsafe-math-optimizations -DRTAPI -D_GNU_SOURCE -Drealtime -D__MODULE__ -I/home/k1/linuxcnc-dev/include -Wframe-larger-than=2560 -DSIM -fPIC -URTAPI -U__MODULE__ -DULAPI -Os -lm -ldl -L/usr/local/include/modbus -lmodbus -o k1MbServer /tmp/tmpT6k2fN/k1MbServer.c -Wl,-rpath,/home/k1/linuxcnc-dev/lib -L/home/k1/linuxcnc-dev/lib -llinuxcnchal 
/tmp/tmpT6k2fN/k1MbServer.c: In function ‘__comp_parse_count’:
/tmp/tmpT6k2fN/k1MbServer.c:545:13: error: ‘count’ undeclared (first use in this function)
             count = strtoul(&argv[i][6], NULL, 0);
             ^
/tmp/tmpT6k2fN/k1MbServer.c:545:13: note: each undeclared identifier is reported only once for each function it appears in
/tmp/tmpT6k2fN/k1MbServer.c: In function ‘__comp_parse_names’:
/tmp/tmpT6k2fN/k1MbServer.c:572:17: error: ‘names’ undeclared (first use in this function)
                 names[j] = strtok(p, ",");
                 ^
make: *** [k1MbServer] Errore 1

libmodbus3.1.2 is installed on right path .... wath is these error?? I must linking the libmodbus on linuxcnc-dev/lib path????

In attach comp and kins

Regards
giorgio
Attachments:
Last edit: 28 Nov 2016 16:34 by bkt.

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

More
29 Nov 2016 13:21 #83428 by andypugh
Replied by andypugh on topic 7i77 5i25 hm2_pci unloaded
I suspect that there is a subtle problem with the "option singleton" switch in the comp file
(the functions that return the component count and instance names are not there).

You could try not setting that opton.

Also, the attached file name does not match the component name. This causes subtle problems too. The file name and the component name need to match (except for the.comp or .c extension)
The following user(s) said Thank You: bkt

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

More
29 Nov 2016 18:24 #83440 by bkt
Replied by bkt on topic 7i77 5i25 hm2_pci unloaded
so without singleton option I have these error:
halcompile --compile konembserver.compgcc -Os -g -I. -I/home/k1/linuxcnc-dev/src/include -DUSPACE -fno-fast-math -mieee-fp -fno-unsafe-math-optimizations -DRTAPI -D_GNU_SOURCE -Drealtime -D__MODULE__ -I/home/k1/linuxcnc-dev/include -Wframe-larger-than=2560 -DSIM -fPIC -URTAPI -U__MODULE__ -DULAPI -Os -lm -ldl -L/usr/local/include/modbus -lmodbus -o konembserver /tmp/tmp0wIaJv/konembserver.c -Wl,-rpath,/home/k1/linuxcnc-dev/lib -L/home/k1/linuxcnc-dev/lib -llinuxcnchal 
/tmp/ccRr1qGz.o: in function "Rcf":
/tmp/tmp0wIaJv/konembserver.comp:177:undefined reference "modbus_get_float"
/tmp/ccRr1qGz.o: in function "SdFloat":
/tmp/tmp0wIaJv/konembserver.comp:184:undefined reference "modbus_set_float"
/tmp/ccRr1qGz.o: in function "user_mainloop":
/tmp/tmp0wIaJv/konembserver.comp:209:undefined reference "floor"
/tmp/tmp0wIaJv/konembserver.comp:215:undefined reference "floor"
/tmp/tmp0wIaJv/konembserver.comp:216:undefined reference "floor"
/tmp/tmp0wIaJv/konembserver.comp:217:undefined reference "floor"
/tmp/tmp0wIaJv/konembserver.comp:218:undefined reference "floor"
/tmp/tmp0wIaJv/konembserver.comp:235:undefined reference "modbus_new_tcp"
/tmp/tmp0wIaJv/konembserver.comp:237:undefined reference "modbus_get_header_length"
/tmp/tmp0wIaJv/konembserver.comp:239:undefined reference "modbus_set_debug"
/tmp/tmp0wIaJv/konembserver.comp:241:undefined reference "modbus_mapping_new"
/tmp/tmp0wIaJv/konembserver.comp:246:undefined reference "modbus_free"
/tmp/tmp0wIaJv/konembserver.comp:262:undefined reference "modbus_tcp_listen"
/tmp/tmp0wIaJv/konembserver.comp:263:undefined reference "modbus_tcp_accept"
/tmp/tmp0wIaJv/konembserver.comp:405:undefined reference "modbus_receive"
/tmp/tmp0wIaJv/konembserver.comp:416:undefined reference "modbus_reply"
/tmp/tmp0wIaJv/konembserver.comp:439:undefined reference "modbus_mapping_free"
/tmp/tmp0wIaJv/konembserver.comp:441:undefined reference "modbus_close"
/tmp/tmp0wIaJv/konembserver.comp:442:undefined reference "modbus_free"
collect2: error: ld returned 1 exit status
make: *** [konembserver] Errore 1


attach konembserver.c

File Attachment:

File Name: konembserver.c
File Size:43 KB



regards
Giorgio
Attachments:

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

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