5i20 7i33 7i37

More
25 May 2012 07:35 #20372 by jd896
Replied by jd896 on topic Re:5i20 7i33 7i37
that now gets

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/realtime-2.6.32-122-rtai/modules/linuxcnc
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/share/linuxcnc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.5
LINUXCNC - 2.5.0
Machine configuration directory is '/home/profiler/linuxcnc/configs/my_EMC_machine-1'
Machine configuration file is 'my_EMC_machine.ini'
INIFILE=/home/profiler/linuxcnc/configs/my_EMC_machine-1/my_EMC_machine.ini
PARAMETER_FILE=emc.var
TASK=milltask
HALUI=halui
DISPLAY=axis
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
Killing task linuxcncsvr, PID=2174
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done

Debug file information:
Can not find -sec MOT -var MOT -num 1
Can not find -sec IO -var IO -num 1
Can not find -sec LINUXCNC -var NML_FILE -num 1
Can not find -sec EMC -var NML_FILE -num 1
my_EMC_machine.hal:138: Pin 'pid.y.feedback' was already linked to signal 'y-pos-fb'
2174
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components

Kernel message information:
[ 4040.857344] I-pipe: Domain RTAI registered.
[ 4040.857358] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 4040.857363] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 4040.857440] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 4040.857445] PIPELINE layers:
[ 4040.857451] fab33e20 9ac15d93 RTAI 200
[ 4040.857456] c085cb20 0 Linux 100
[ 4040.904802] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 4040.905095] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 4040.905108] RTAI[sched]: hard timer type/freq = APIC/12500268(Hz); default timing: periodic; linear timed lists.
[ 4040.905116] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 1800248000 hz.
[ 4040.905121] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[ 4040.905250] RTAI[usi]: enabled.
[ 4041.002602] RTAI[math]: loaded.
[ 4041.129051] hm2: loading Mesa HostMot2 driver version 0.15
[ 4041.134444] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
[ 4041.134492] hm2_pci: discovered 5i20 at 0000:05:00.0
[ 4041.134610] hm2_5i20.0: firmware: requesting hm2/5i20/SVST8_4.BIT
[ 4041.310638] hm2/hm2_5i20.0: 72 I/O Pins used:
[ 4041.310649] hm2/hm2_5i20.0: IO Pin 000 (P2-01): Encoder #1, pin B (Input)
[ 4041.310657] hm2/hm2_5i20.0: IO Pin 001 (P2-03): Encoder #1, pin A (Input)
[ 4041.310663] hm2/hm2_5i20.0: IO Pin 002 (P2-05): Encoder #0, pin B (Input)
[ 4041.310670] hm2/hm2_5i20.0: IO Pin 003 (P2-07): Encoder #0, pin A (Input)
[ 4041.310677] hm2/hm2_5i20.0: IO Pin 004 (P2-09): Encoder #1, pin Index (Input)
[ 4041.310684] hm2/hm2_5i20.0: IO Pin 005 (P2-11): Encoder #0, pin Index (Input)
[ 4041.310691] hm2/hm2_5i20.0: IO Pin 006 (P2-13): PWMGen #1, pin Out0 (PWM or Up) (Output)
[ 4041.310699] hm2/hm2_5i20.0: IO Pin 007 (P2-15): PWMGen #0, pin Out0 (PWM or Up) (Output)
[ 4041.310706] hm2/hm2_5i20.0: IO Pin 008 (P2-17): PWMGen #1, pin Out1 (Dir or Down) (Output)
[ 4041.310714] hm2/hm2_5i20.0: IO Pin 009 (P2-19): PWMGen #0, pin Out1 (Dir or Down) (Output)
[ 4041.310721] hm2/hm2_5i20.0: IO Pin 010 (P2-21): PWMGen #1, pin Not-Enable (Output)
[ 4041.310729] hm2/hm2_5i20.0: IO Pin 011 (P2-23): PWMGen #0, pin Not-Enable (Output)
[ 4041.310736] hm2/hm2_5i20.0: IO Pin 012 (P2-25): Encoder #3, pin B (Input)
[ 4041.310742] hm2/hm2_5i20.0: IO Pin 013 (P2-27): Encoder #3, pin A (Input)
[ 4041.310749] hm2/hm2_5i20.0: IO Pin 014 (P2-29): Encoder #2, pin B (Input)
[ 4041.310756] hm2/hm2_5i20.0: IO Pin 015 (P2-31): Encoder #2, pin A (Input)
[ 4041.310763] hm2/hm2_5i20.0: IO Pin 016 (P2-33): Encoder #3, pin Index (Input)
[ 4041.310770] hm2/hm2_5i20.0: IO Pin 017 (P2-35): Encoder #2, pin Index (Input)
[ 4041.310777] hm2/hm2_5i20.0: IO Pin 018 (P2-37): PWMGen #3, pin Out0 (PWM or Up) (Output)
[ 4041.310785] hm2/hm2_5i20.0: IO Pin 019 (P2-39): PWMGen #2, pin Out0 (PWM or Up) (Output)
[ 4041.310792] hm2/hm2_5i20.0: IO Pin 020 (P2-41): PWMGen #3, pin Out1 (Dir or Down) (Output)
[ 4041.310800] hm2/hm2_5i20.0: IO Pin 021 (P2-43): PWMGen #2, pin Out1 (Dir or Down) (Output)
[ 4041.310808] hm2/hm2_5i20.0: IO Pin 022 (P2-45): PWMGen #3, pin Not-Enable (Output)
[ 4041.310815] hm2/hm2_5i20.0: IO Pin 023 (P2-47): PWMGen #2, pin Not-Enable (Output)
[ 4041.310821] hm2/hm2_5i20.0: IO Pin 024 (P3-01): IOPort
[ 4041.310827] hm2/hm2_5i20.0: IO Pin 025 (P3-03): IOPort
[ 4041.310833] hm2/hm2_5i20.0: IO Pin 026 (P3-05): IOPort
[ 4041.310838] hm2/hm2_5i20.0: IO Pin 027 (P3-07): IOPort
[ 4041.310844] hm2/hm2_5i20.0: IO Pin 028 (P3-09): IOPort
[ 4041.310850] hm2/hm2_5i20.0: IO Pin 029 (P3-11): IOPort
[ 4041.310856] hm2/hm2_5i20.0: IO Pin 030 (P3-13): IOPort
[ 4041.310861] hm2/hm2_5i20.0: IO Pin 031 (P3-15): IOPort
[ 4041.310867] hm2/hm2_5i20.0: IO Pin 032 (P3-17): IOPort
[ 4041.310873] hm2/hm2_5i20.0: IO Pin 033 (P3-19): IOPort
[ 4041.310878] hm2/hm2_5i20.0: IO Pin 034 (P3-21): IOPort
[ 4041.310884] hm2/hm2_5i20.0: IO Pin 035 (P3-23): IOPort
[ 4041.310890] hm2/hm2_5i20.0: IO Pin 036 (P3-25): IOPort
[ 4041.310895] hm2/hm2_5i20.0: IO Pin 037 (P3-27): IOPort
[ 4041.310901] hm2/hm2_5i20.0: IO Pin 038 (P3-29): IOPort
[ 4041.310907] hm2/hm2_5i20.0: IO Pin 039 (P3-31): IOPort
[ 4041.310913] hm2/hm2_5i20.0: IO Pin 040 (P3-33): IOPort
[ 4041.310918] hm2/hm2_5i20.0: IO Pin 041 (P3-35): IOPort
[ 4041.310924] hm2/hm2_5i20.0: IO Pin 042 (P3-37): IOPort
[ 4041.310930] hm2/hm2_5i20.0: IO Pin 043 (P3-39): IOPort
[ 4041.310936] hm2/hm2_5i20.0: IO Pin 044 (P3-41): IOPort
[ 4041.310941] hm2/hm2_5i20.0: IO Pin 045 (P3-43): IOPort
[ 4041.310947] hm2/hm2_5i20.0: IO Pin 046 (P3-45): IOPort
[ 4041.310953] hm2/hm2_5i20.0: IO Pin 047 (P3-47): IOPort
[ 4041.310959] hm2/hm2_5i20.0: IO Pin 048 (P4-01): IOPort
[ 4041.310965] hm2/hm2_5i20.0: IO Pin 049 (P4-03): IOPort
[ 4041.310970] hm2/hm2_5i20.0: IO Pin 050 (P4-05): IOPort
[ 4041.310976] hm2/hm2_5i20.0: IO Pin 051 (P4-07): IOPort
[ 4041.310982] hm2/hm2_5i20.0: IO Pin 052 (P4-09): IOPort
[ 4041.310987] hm2/hm2_5i20.0: IO Pin 053 (P4-11): IOPort
[ 4041.310993] hm2/hm2_5i20.0: IO Pin 054 (P4-13): IOPort
[ 4041.310999] hm2/hm2_5i20.0: IO Pin 055 (P4-15): IOPort
[ 4041.311005] hm2/hm2_5i20.0: IO Pin 056 (P4-17): IOPort
[ 4041.311010] hm2/hm2_5i20.0: IO Pin 057 (P4-19): IOPort
[ 4041.311016] hm2/hm2_5i20.0: IO Pin 058 (P4-21): IOPort
[ 4041.311022] hm2/hm2_5i20.0: IO Pin 059 (P4-23): IOPort
[ 4041.311027] hm2/hm2_5i20.0: IO Pin 060 (P4-25): IOPort
[ 4041.311033] hm2/hm2_5i20.0: IO Pin 061 (P4-27): IOPort
[ 4041.311039] hm2/hm2_5i20.0: IO Pin 062 (P4-29): IOPort
[ 4041.311045] hm2/hm2_5i20.0: IO Pin 063 (P4-31): IOPort
[ 4041.311050] hm2/hm2_5i20.0: IO Pin 064 (P4-33): IOPort
[ 4041.311056] hm2/hm2_5i20.0: IO Pin 065 (P4-35): IOPort
[ 4041.311062] hm2/hm2_5i20.0: IO Pin 066 (P4-37): IOPort
[ 4041.311067] hm2/hm2_5i20.0: IO Pin 067 (P4-39): IOPort
[ 4041.311073] hm2/hm2_5i20.0: IO Pin 068 (P4-41): IOPort
[ 4041.311079] hm2/hm2_5i20.0: IO Pin 069 (P4-43): IOPort
[ 4041.311084] hm2/hm2_5i20.0: IO Pin 070 (P4-45): IOPort
[ 4041.311090] hm2/hm2_5i20.0: IO Pin 071 (P4-47): IOPort
[ 4041.311314] hm2/hm2_5i20.0: registered
[ 4041.311320] hm2_5i20.0: initialized AnyIO board at 0000:05:00.0
[ 4041.889571] hm2_5i20.0: dropping AnyIO board at 0000:05:00.0
[ 4041.889584] hm2/hm2_5i20.0: unregistered
[ 4041.889657] hm2_pci: driver unloaded
[ 4041.894601] hm2: unloading
[ 4041.963793] RTAI[math]: unloaded.
[ 4042.014346] SCHED releases registered named ALIEN RTGLBH
[ 4042.044428] RTAI[malloc]: unloaded.
[ 4042.144026] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 4042.147998] I-pipe: Domain RTAI unregistered.
[ 4042.148118] RTAI[hal]: unmounted.


thanks for you help up too pres

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

More
25 May 2012 07:40 - 25 May 2012 07:51 #20373 by cncbasher
Replied by cncbasher on topic Re:5i20 7i33 7i37
net y-pos-fb <= hm2_5i20.0.encoder.00.position
net y-pos-fb => pid.y.feedback
net y-pos-fb => axis.1.motor-pos-fb
net y-index-enable axis.1.index-enable <=> hm2_5i20.0.encoder.00.index-enable

around line 135 you should find a typo as ypos-fb etc they need changing as per above

also as a note in your ini file you have
[RS274NGC]
PARAMETER_FILE = emc.var

it may not make any difference but that also requires a name change
[RS274NGC]
PARAMETER_FILE = linuxcnc.var

have you changed file locations ?
the following ...
Debug file information:
Can not find -sec MOT -var MOT -num 1
Can not find -sec IO -var IO -num 1
Can not find -sec LINUXCNC -var NML_FILE -num 1
Can not find -sec EMC -var NML_FILE -num 1

these may be part of the parameter file as mentioned
Last edit: 25 May 2012 07:51 by cncbasher.

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

More
25 May 2012 07:51 #20374 by jd896
Replied by jd896 on topic Re:5i20 7i33 7i37
i have changed and now axis will start but :dry:

i get this when trying the calibration

can't read "ininamearray(0)": no such variable
can't read "ininamearray(0)": no such variable
while executing
"set ininamearray($axisentry)"
(procedure "iniTuneButtonpress" line 34)
invoked from within
"iniTuneButtonpress test"
invoked from within
".main.top.fpage0.buttons.test invoke"
("uplevel" body line 1)
invoked from within
"uplevel #0
    "
    (procedure "tk::ButtonUp" line 22)
    invoked from within
    "tk::ButtonUp .main.top.fpage0.buttons.test"
    (command bound to event)
Attachments:

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

More
25 May 2012 08:10 - 25 May 2012 08:19 #20375 by cncbasher
Replied by cncbasher on topic Re:5i20 7i33 7i37
check your parameter file .. as per the last message
also uncomment the z axis lines in your INI file
Last edit: 25 May 2012 08:19 by cncbasher.

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

More
25 May 2012 10:32 #20383 by jd896
Replied by jd896 on topic Re:5i20 7i33 7i37
i have changed that now but still the same and im not using a z axis

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

More
26 May 2012 09:27 #20412 by cncbasher
Replied by cncbasher on topic Re:5i20 7i33 7i37
i'm having problem trying to replicate the error here .. is this a new install or update ? i am of the opinion that somethings screwed up
on install or picking up old settings or scripts or even dependancys , perhaps Arceye may be able to point to the right direction ...

was this installed from live cd ?

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

More
26 May 2012 16:15 #20426 by ArcEye
Replied by ArcEye on topic Re:5i20 7i33 7i37
Unfortunately I have no experience with these boards or what pncconf generates for them.

All I can offer is that these errors

Debug file information:
Can not find -sec MOT -var MOT -num 1
Can not find -sec IO -var IO -num 1
Can not find -sec LINUXCNC -var NML_FILE -num 1
Can not find -sec EMC -var NML_FILE -num 1


seem to relate to parsing of the .INI file not finding variables it expects at the various headings.

This one is strange Can not find -sec EMC -var NML_FILE -num 1
because if the line was not commented out LinuxCNC would throw multiple errors with any version >= 2.4

The second set of errors are tk/python errors, but also seem to relate to problems with the .ini file, either parsing it or even just finding it
set ininamearray($axisentry)

Don't know if this helps at all.

regards

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

More
27 May 2012 19:28 #20451 by jd896
Replied by jd896 on topic Re:5i20 7i33 7i37
At first I upgraded and had the same pic not working issues and then a clean install from the live cd with the same issues it there a problem with the live cd also I cannot see it but the USB install stick I made this time round was made on Ubuntu it's self instead of on windows like I normally do I will try a few different ways of install

Thanks

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

More
28 May 2012 18:13 #20461 by jd896
Replied by jd896 on topic Re:5i20 7i33 7i37
is it just me or is there an issue with the live cd i can do a fresh install, open pnc, set firmware to svst8_4 change encoders to 4 change pwm gens to 4 and step to 0

and change the pdm base frequency to 6000000hz (unless thats not 6mhz like it states for the 7i33 card)

and then config the x and y encoders and PDM gens and continue to next page (skipping limits till i can get the open loop tests i have configured them and it makes no difference)

then on to the axis config and the open loop button is greyed out

but if i use the test panel on the mesa config page i can run the servos ok

in the meantime i have been hand coding the hal file from 2.4.x emc to add things as i get sorted i would however prefer to use pncconf

any help would be appreciated am i doing something wrong shall i get ubuntu 10.04lts and install linuxcnc on that insted of the live cd?

many thanks john

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

More
29 May 2012 10:23 #20478 by jd896
Replied by jd896 on topic Re:5i20 7i33 7i37
it seams if you dont fill in the encoder counts field the open loop test wont work

my apologies my fault tho a notice informing of this may help

sorry for the wasted time on this

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

Moderators: cmorley
Time to create page: 0.218 seconds
Powered by Kunena Forum