Thanks Mark;
The jetmill1_load.hal file is below.
This is the univstep_load.hal file from Pico-Systems, less some comments.
loadrt hal_ppmc extradac=0x00   (appears to be EMC 10.04's complaint)
    Don

On Wed, Oct 6, 2010 at 5:32 AM, Mark Wendt <mark.we...@nrl.navy.mil> wrote:

> Don,
>
>     Replies embedded below.
>
> On 10/06/2010 12:14 AM, Don Stanley wrote:
> > Hi All;
> > The EMC Errors File is probably telling me what is
> > wrong but I'm on too many shifts today to figure it out.
> >
> > EMC Errors:
> >
> >
> <snippage>
> > Debug file information:
> > insmod: error inserting
> > '/usr/realtime-2.6.32-122-rtai/modules/emc2/hal_ppmc.ko': -1 Operation
> not
> > permitted
> > jetmill1_load.hal:8: exit value: 1
> > jetmill1_load.hal:8: insmod failed, returned -1
> >
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> Here's the goodies.  Something on line 8 in your jetmill_load.hal file
> is causing problems.  Can you post that file?
> > See the output of 'dmesg' for more information.
> > 1382
> >    PID TTY      STAT   TIME COMMAND
> > Stopping realtime threads
> > Unloading hal components
> >
> >
> > I have tried CMOS printer settings EPP and ECP with no change.
> > What is mode 4?
> > Which is the prefered setting EPP or ECP, when it is working?
> >
> EPP is the setting you're looking for.
> >      Help and Thanks
> >          Don
> Mark
>
______________________________________________
# sample file pulls all load commands into a single file
# when emc2 starts it loads iocontrol

# load realtime modules
loadrt trivkins
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD
servo_period_nsec=[EMCMOT]SERVO_PERIOD traj_period_nsec=[EMCMOT]TRAJ_PERIOD
key=[EMCMOT]SHMEM_KEY
loadrt pid num_chan=4
loadrt hal_ppmc extradac=0x00
loadrt abs count=1
loadrt mux2 count=1
loadrt scale count=1

# load scope and make some signals for the scope for tuning.
loadrt scope_rt
loadrt ddt count=4
loadrt estop_latch count=1
loadrt and2 count=5
loadrt or2 count=2

# Add functions to servo thread.
   # inputs get read at the beginning of the thread
addf ppmc.0.read        servo-thread
   # then run the motion controller
addf motion-command-handler servo-thread
addf abs.0                      servo-thread
addf mux2.0                     servo-thread
addf scale.0                    servo-thread
addf and2.0             servo-thread
addf and2.1             servo-thread
addf and2.2             servo-thread
addf and2.3             servo-thread
addf and2.4             servo-thread
addf or2.0             servo-thread
addf or2.1             servo-thread
addf estop-latch.0      servo-thread
addf motion-controller  servo-thread
   # then the PID loops
addf pid.0.do-pid-calcs servo-thread
addf pid.1.do-pid-calcs servo-thread
addf pid.2.do-pid-calcs servo-thread
addf pid.3.do-pid-calcs servo-thread
   # write outputs last
addf ppmc.0.write servo-thread



>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to