i did add this file also
have error
//////////////

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/aram/linuxcnc/configs/hm2-servo'

Machine configuration file is '5i20.ini'

INIFILE=/home/aram/linuxcnc/configs/hm2-servo/5i20.ini

PARAMETER_FILE=hm2-servo.var

TASK=milltask

HALUI=

DISPLAY=axis

Starting LinuxCNC...

Starting LinuxCNC server program: linuxcncsvr

Loading Real Time OS, RTAPI, and HAL_LIB modules

Starting LinuxCNC IO program: io

Shutting down and cleaning up LinuxCNC...

Killing task linuxcncsvr, PID=1793

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

hm2-servo.hal:205: Can't find module 'scale=1' in
/usr/realtime-2.6.32-122-rtai/modules/linuxcnc

1793

  PID TTY      STAT   TIME COMMAND

Stopping realtime threads

Unloading hal components



Kernel message information:

[  167.891317] I-pipe: Domain RTAI registered.

[  167.891326] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.

[  167.891331] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu
4.4.3-4ubuntu5) .

[  167.891390] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL
IRQs DISPATCHED), ISOL_CPUS_MASK: 0).

[  167.891395] PIPELINE layers:

[  167.891400] f932be20 9ac15d93 RTAI 200

[  167.891404] c085cb20 0 Linux 100

[  167.912931] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.

[  167.913161] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI
OWN KTASKs>, kstacks pool size = 524288 bytes.

[  167.913168] RTAI[sched]: hard timer type/freq = APIC/12468720(Hz);
default timing: periodic; linear timed lists.

[  167.913172] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq =
3591355000 hz.

[  167.913175] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.

[  167.913266] RTAI[usi]: enabled.

[  167.971807] RTAI[math]: loaded.

[  168.044282] hm2: loading Mesa HostMot2 driver version 0.15

[  168.047067] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7

[  168.047114] hm2_pci: discovered 5i20 at 0000:04:02.0

[  168.047173]  hm2_5i20.0: firmware: requesting hm2/5i20/SVST8_4.BIT

[  168.197373] hm2/hm2_5i20.0: 72 I/O Pins used:

[  168.197380] hm2/hm2_5i20.0:     IO Pin 000 (P2-01): Encoder #1, pin B
(Input)

[  168.197384] hm2/hm2_5i20.0:     IO Pin 001 (P2-03): Encoder #1, pin A
(Input)

[  168.197388] hm2/hm2_5i20.0:     IO Pin 002 (P2-05): Encoder #0, pin B
(Input)

[  168.197391] hm2/hm2_5i20.0:     IO Pin 003 (P2-07): Encoder #0, pin A
(Input)

[  168.197395] hm2/hm2_5i20.0:     IO Pin 004 (P2-09): Encoder #1, pin
Index (Input)

[  168.197399] hm2/hm2_5i20.0:     IO Pin 005 (P2-11): Encoder #0, pin
Index (Input)

[  168.197403] hm2/hm2_5i20.0:     IO Pin 006 (P2-13): PWMGen #1, pin Out0
(PWM or Up) (Output)

[  168.197407] hm2/hm2_5i20.0:     IO Pin 007 (P2-15): PWMGen #0, pin Out0
(PWM or Up) (Output)

[  168.197411] hm2/hm2_5i20.0:     IO Pin 008 (P2-17): PWMGen #1, pin Out1
(Dir or Down) (Output)

[  168.197414] hm2/hm2_5i20.0:     IO Pin 009 (P2-19): PWMGen #0, pin Out1
(Dir or Down) (Output)

[  168.197418] hm2/hm2_5i20.0:     IO Pin 010 (P2-21): PWMGen #1, pin
Not-Enable (Output)

[  168.197422] hm2/hm2_5i20.0:     IO Pin 011 (P2-23): PWMGen #0, pin
Not-Enable (Output)

[  168.197426] hm2/hm2_5i20.0:     IO Pin 012 (P2-25): Encoder #3, pin B
(Input)

[  168.197430] hm2/hm2_5i20.0:     IO Pin 013 (P2-27): Encoder #3, pin A
(Input)

[  168.197433] hm2/hm2_5i20.0:     IO Pin 014 (P2-29): Encoder #2, pin B
(Input)

[  168.197437] hm2/hm2_5i20.0:     IO Pin 015 (P2-31): Encoder #2, pin A
(Input)

[  168.197441] hm2/hm2_5i20.0:     IO Pin 016 (P2-33): Encoder #3, pin
Index (Input)

[  168.197445] hm2/hm2_5i20.0:     IO Pin 017 (P2-35): Encoder #2, pin
Index (Input)

[  168.197448] hm2/hm2_5i20.0:     IO Pin 018 (P2-37): IOPort

[  168.197452] hm2/hm2_5i20.0:     IO Pin 019 (P2-39): PWMGen #2, pin Out0
(PWM or Up) (Output)

[  168.197455] hm2/hm2_5i20.0:     IO Pin 020 (P2-41): IOPort

[  168.197459] hm2/hm2_5i20.0:     IO Pin 021 (P2-43): PWMGen #2, pin Out1
(Dir or Down) (Output)

[  168.197462] hm2/hm2_5i20.0:     IO Pin 022 (P2-45): IOPort

[  168.197466] hm2/hm2_5i20.0:     IO Pin 023 (P2-47): PWMGen #2, pin
Not-Enable (Output)

[  168.197469] hm2/hm2_5i20.0:     IO Pin 024 (P3-01): IOPort

[  168.197472] hm2/hm2_5i20.0:     IO Pin 025 (P3-03): IOPort

[  168.197475] hm2/hm2_5i20.0:     IO Pin 026 (P3-05): IOPort

[  168.197478] hm2/hm2_5i20.0:     IO Pin 027 (P3-07): IOPort

[  168.197481] hm2/hm2_5i20.0:     IO Pin 028 (P3-09): IOPort

[  168.197484] hm2/hm2_5i20.0:     IO Pin 029 (P3-11): IOPort

[  168.197487] hm2/hm2_5i20.0:     IO Pin 030 (P3-13): IOPort

[  168.197490] hm2/hm2_5i20.0:     IO Pin 031 (P3-15): IOPort

[  168.197493] hm2/hm2_5i20.0:     IO Pin 032 (P3-17): IOPort

[  168.197497] hm2/hm2_5i20.0:     IO Pin 033 (P3-19): IOPort

[  168.197500] hm2/hm2_5i20.0:     IO Pin 034 (P3-21): IOPort

[  168.197503] hm2/hm2_5i20.0:     IO Pin 035 (P3-23): IOPort

[  168.197506] hm2/hm2_5i20.0:     IO Pin 036 (P3-25): IOPort

[  168.197509] hm2/hm2_5i20.0:     IO Pin 037 (P3-27): IOPort

[  168.197512] hm2/hm2_5i20.0:     IO Pin 038 (P3-29): IOPort

[  168.197515] hm2/hm2_5i20.0:     IO Pin 039 (P3-31): IOPort

[  168.197518] hm2/hm2_5i20.0:     IO Pin 040 (P3-33): IOPort

[  168.197521] hm2/hm2_5i20.0:     IO Pin 041 (P3-35): IOPort

[  168.197524] hm2/hm2_5i20.0:     IO Pin 042 (P3-37): IOPort

[  168.197527] hm2/hm2_5i20.0:     IO Pin 043 (P3-39): IOPort

[  168.197530] hm2/hm2_5i20.0:     IO Pin 044 (P3-41): IOPort

[  168.197533] hm2/hm2_5i20.0:     IO Pin 045 (P3-43): IOPort

[  168.197537] hm2/hm2_5i20.0:     IO Pin 046 (P3-45): IOPort

[  168.197542] hm2/hm2_5i20.0:     IO Pin 047 (P3-47): IOPort

[  168.197545] hm2/hm2_5i20.0:     IO Pin 048 (P4-01): IOPort

[  168.197548] hm2/hm2_5i20.0:     IO Pin 049 (P4-03): IOPort

[  168.197551] hm2/hm2_5i20.0:     IO Pin 050 (P4-05): IOPort

[  168.197554] hm2/hm2_5i20.0:     IO Pin 051 (P4-07): IOPort

[  168.197557] hm2/hm2_5i20.0:     IO Pin 052 (P4-09): IOPort

[  168.197560] hm2/hm2_5i20.0:     IO Pin 053 (P4-11): IOPort

[  168.197563] hm2/hm2_5i20.0:     IO Pin 054 (P4-13): IOPort

[  168.197566] hm2/hm2_5i20.0:     IO Pin 055 (P4-15): IOPort

[  168.197569] hm2/hm2_5i20.0:     IO Pin 056 (P4-17): IOPort

[  168.197572] hm2/hm2_5i20.0:     IO Pin 057 (P4-19): IOPort

[  168.197575] hm2/hm2_5i20.0:     IO Pin 058 (P4-21): IOPort

[  168.197578] hm2/hm2_5i20.0:     IO Pin 059 (P4-23): IOPort

[  168.197581] hm2/hm2_5i20.0:     IO Pin 060 (P4-25): IOPort

[  168.197585] hm2/hm2_5i20.0:     IO Pin 061 (P4-27): IOPort

[  168.197588] hm2/hm2_5i20.0:     IO Pin 062 (P4-29): IOPort

[  168.197591] hm2/hm2_5i20.0:     IO Pin 063 (P4-31): IOPort

[  168.197594] hm2/hm2_5i20.0:     IO Pin 064 (P4-33): IOPort

[  168.197597] hm2/hm2_5i20.0:     IO Pin 065 (P4-35): IOPort

[  168.197600] hm2/hm2_5i20.0:     IO Pin 066 (P4-37): IOPort

[  168.197603] hm2/hm2_5i20.0:     IO Pin 067 (P4-39): IOPort

[  168.197606] hm2/hm2_5i20.0:     IO Pin 068 (P4-41): IOPort

[  168.197609] hm2/hm2_5i20.0:     IO Pin 069 (P4-43): IOPort

[  168.197612] hm2/hm2_5i20.0:     IO Pin 070 (P4-45): IOPort

[  168.197615] hm2/hm2_5i20.0:     IO Pin 071 (P4-47): IOPort

[  168.197750] hm2/hm2_5i20.0: registered

[  168.197754] hm2_5i20.0: initialized AnyIO board at 0000:04:02.0

[  168.530449] hm2_5i20.0: dropping AnyIO board at 0000:04:02.0

[  168.530458] hm2/hm2_5i20.0: unregistered

[  168.531441] hm2_pci: driver unloaded

[  168.534385] hm2: unloading

[  168.579063] RTAI[math]: unloaded.

[  168.607165] SCHED releases registered named ALIEN RTGLBH

[  168.636323] RTAI[malloc]: unloaded.

[  168.736025] RTAI[sched]: unloaded (forced hard/soft/hard transitions:
traps 0, syscalls 0).

[  168.739047] I-pipe: Domain RTAI unregistered.

[  168.739117] RTAI[hal]: unmounted.










On Mon, Jun 9, 2014 at 2:01 PM, Peter C. Wallace <p...@mesanet.com> wrote:

> On Mon, 9 Jun 2014, a k wrote:
>
> > Date: Mon, 9 Jun 2014 13:52:55 -0700
> > From: a k <pccncmach...@gmail.com>
> > Reply-To: "Enhanced Machine Controller (EMC)"
> >     <emc-users@lists.sourceforge.net>
> > To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net
> >
> > Subject: Re: [Emc-users] Feed control
> >
> > I did experiment and input 3 lines
> > /////////
> > setp scale.0.gain 0.00034483
> > setp scale.0.offset -0.4172
> >
> > net scaled-percent scale.0.out=>motion.adaptive-feed
>
>
> You need to add the scale component to the hal file:
>
> loadrt scale count=1
> addf scale servo-thread
>
>
>
> >
> > ///////////////////////////////////////
> > linux did not start
> > and error
> > .............
> >
> > Starting LinuxCNC...
> >
> > hm2-servo.hal:205: parameter or pin 'scale.0.gain' not found
> >
> > Shutting down and cleaning up LinuxCNC...
> >
> > Cleanup done
> >
> > /////////////
> >
> > so
> >
> > i need put in pin
> >
> >
> >
> >
> >
> >
> >
> > On Mon, Jun 9, 2014 at 12:08 PM, andy pugh <bodge...@gmail.com> wrote:
> >
> >> On 9 June 2014 19:42, a k <pccncmach...@gmail.com> wrote:
> >>
> >>> Because  feed control on axis start from 0% to 150%
> >>> i want to 0VDC be 0% feed and
> >>> 5VDC correspond to 150% of feed
> >>> can i have that?
> >>
> >>
> >> Yes.
> >>
> >>  Use the "scale" HAL component
> >> http://www.linuxcnc.org/docs/html/man/man9/scale.9.html
> >>
> >> And connect the output to motion.feed-override.
> >> http://www.linuxcnc.org/docs/html/man/man9/motion.9.html
> >>
> >> Note that you need to enable feed-override with a G-code.
> >>
> >> --
> >> atp
> >> If you can't fix it, you don't own it.
> >> http://www.ifixit.com/Manifesto
> >>
> >>
> ------------------------------------------------------------------------------
> >> HPCC Systems Open Source Big Data Platform from LexisNexis Risk
> Solutions
> >> Find What Matters Most in Your Big Data with HPCC Systems
> >> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> >> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> >> http://p.sf.net/sfu/hpccsystems
> >> _______________________________________________
> >> Emc-users mailing list
> >> Emc-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/emc-users
> >>
> >
> ------------------------------------------------------------------------------
> > HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> > Find What Matters Most in Your Big Data with HPCC Systems
> > Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> > Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> > http://p.sf.net/sfu/hpccsystems
> > _______________________________________________
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
>
> Peter Wallace
> Mesa Electronics
>
> (\__/)
> (='.'=) This is Bunny. Copy and paste bunny into your
> (")_(") signature to help him gain world domination.
>
>
>
> ------------------------------------------------------------------------------
> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> Find What Matters Most in Your Big Data with HPCC Systems
> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> http://p.sf.net/sfu/hpccsystems
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to