NEWS
LinuxCNC 2.5.2 Release
There are no translations available.

LinuxCNC 2.5.2 Update Released (changelog).
 
LinuxCNC 2.5.1 Release
There are no translations available.

LinuxCNC 2.5.1 Update Released (changelog). If the Package Manager does not prompt you to upgrade see this page.

 
LinuxCNC 2.5.0 Release
There are no translations available.

New major release (changelog). See the instructions to update your system from EMC 2.4 to LinuxCNC 2.5.
 

Welcome, Guest
Username: Password: Remember me

TOPIC: 5i20 7i33 7i37

Re:5i20 7i33 7i37 24 Mai 2012 23:48 #20370

  • cncbasher
  • cncbasher's Avatar
  • OFFLINE
  • Moderator
  • Posts: 686
  • Thank you received: 30
  • Karma: 53
arh ok typo on my part sorry !

change
addf pid.0.do-pid-calcs servo-thread
to
addf pid.x.do-pid-calcs servo-thread

same with chan 1 to y
The administrator has disabled public write access.

Re:5i20 7i33 7i37 24 Mai 2012 23:54 #20371

  • cncbasher
  • cncbasher's Avatar
  • OFFLINE
  • Moderator
  • Posts: 686
  • Thank you received: 30
  • Karma: 53
just untick the sanity check for the 7i33 should work
and over ride the checks

are you using the 7i33 ? , if so set the pdm freq to 6mhz would get you round it too perhaps
Last Edit: 25 Mai 2012 00:00 by cncbasher.
The administrator has disabled public write access.

Re:5i20 7i33 7i37 25 Mai 2012 00:35 #20372

  • jd896
  • jd896's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 88
  • Karma: 1
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
The administrator has disabled public write access.

Re:5i20 7i33 7i37 25 Mai 2012 00:40 #20373

  • cncbasher
  • cncbasher's Avatar
  • OFFLINE
  • Moderator
  • Posts: 686
  • Thank you received: 30
  • Karma: 53
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 Mai 2012 00:51 by cncbasher.
The administrator has disabled public write access.

Re:5i20 7i33 7i37 25 Mai 2012 00:51 #20374

  • jd896
  • jd896's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 88
  • Karma: 1
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)
The administrator has disabled public write access.

Re:5i20 7i33 7i37 25 Mai 2012 01:10 #20375

  • cncbasher
  • cncbasher's Avatar
  • OFFLINE
  • Moderator
  • Posts: 686
  • Thank you received: 30
  • Karma: 53
check your parameter file .. as per the last message
also uncomment the z axis lines in your INI file
Last Edit: 25 Mai 2012 01:19 by cncbasher.
The administrator has disabled public write access.
Moderators: cmorley
Time to create page: 1.367 seconds
Powered by Kunena Forum
© 2013 LinuxCNC.org
Joomla! is Free Software released under the GNU General Public License.