EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: MAXv Motor Module - omsMAXvConfig2() error
From: "Luchini, Kristi L." <[email protected]>
To: "[email protected]" <[email protected]>
Date: Thu, 6 Mar 2014 12:38:01 -0800
Hello,

When upgrading an IOC application to the new MAXv  model-3 driver, using motor-R6-8 , I got an error when
calling the initialization function  omxMAXvConfig2()  from an RTEMS IOC running Cexp.

> omsMAXvConfig2(2, "A16", 0xF000, 200, 5, "MAXv-01", 8, 0, 0, 100, 
> 500, "AX LH PSO;") Cexp syntax error: Too many integer arguments


Mitch D'Ewart at SLAC discovered that  the problem seemed to be a 
a Cexp issue, which sets a limit of 10 arguments for function calls, and omsMAXvConfig2 uses 12. 
However, when running this function inside iocsh() it works fine.

epics> omsMAXvConfig2(2, "A16", 0xF000, 200, 5, "MAXv-01", 8, 0, 0, 100, 
epics> 1000, "BD00FF; AX LTH LMH PSM; AY LTH LMH PSE; AZ LTH LMH PSE
epics> ECA24,500000;")
Reading OMS Firmware Version:
(1)	OMS Firmware Version is: /MAXv-8000 ver:1.44, s/n:001457, FPGA:B6:A7 BOOT:1.3 - Oregon Micro Systems 

IOC Details: 
motor-R6-8  motor module using OmsAsyn
asyn-R4-12
EPICS R4-14-12
RTEMS-4.9.4  for MVME6100 w/Cexp().

Similar tech talk but for VxWorks shell
http://www.aps.anl.gov/epics/tech-talk/2011/msg00709.php


- Regards,
  Kristi 


Navigate by Date:
Prev: Re: Sequencer is not monitoring Pvs from another IOC Kasemir, Kay
Next: Building the Archive Engine Nicoletta Petrella
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Question on Autosave Maren Purves
Next: Building the Archive Engine Nicoletta Petrella
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·