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  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025  <2026 Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025  <2026
<== Date ==> <== Thread ==>

Subject: Re: MAXnet Alarm State Under High Motor Command Load
From: "Peterson, Kevin M. via Tech-talk" <tech-talk at aps.anl.gov>
To: Mrinal Bera <mrinalkb at uchicago.edu>, Jiajun Tian <jiajtian at uchicago.edu>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Tue, 7 Apr 2026 19:48:28 +0000
Mrinal,

The error is occuring because the reponse from the controller, shown as the "input" in the error message, doesn't contain values for all 8 axes:

https://urldefense.us/v3/__https://gcc02.safelinks.protection.outlook.com/?url=https*3A*2F*2Fgithub.com*2Fepics-motor*2FmotorOmsAsyn*2Fblob*2Fc0ae4c740d699e64f264ce6f53f23a492abf19fa*2FomsAsynApp*2Fsrc*2FomsBaseController.cpp*23L1063-L1064&data=05*7C02*7Ctech-talk*40aps.anl.gov*7Cf1c2dd1ac39740ef736208de94dea3ba*7C0cfca18525f749e38ae7704d5326e285*7C0*7C0*7C639111881110551120*7CUnknown*7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ*3D*3D*7C0*7C*7C*7C&sdata=kPJKe3lboK3YOPk1iu5qFoEG*2B2CYxaiz056ylxpX5nE*3D&reserved=0__;JSUlJSUlJSUlJSUlJSUlJSUlJSUlJSUlJSUlJSU!!G_uCfscf7eWS!e0Sl83KZWM-EBxa7dFVaofB76w07oXOrLEoHRwfWoGFPmu-7064Oyck57375KRT33AEKCE-fkM1x9WPoFUvjLYY$ 

Unfortunately the omsBaseController::getAxesArray method doesn't print the command that was sent to the controller.  Turning on asyn traces after the drvAsynIPPortConfigure or drvAsynSerialPortConfigure call and before the omsMAXnetConfig call should give more information about what is going wrong:

asynSetTraceIOMask("MAXNET", 0, ASCII)
asynSetTraceMask("MAXNET", 0, ERROR|DRIVER)

Kevin

________________________________________
From: Mrinal Bera <mrinalkb at uchicago.edu>
Sent: Tuesday, March 24, 2026 6:30 AM
To: Jiajun Tian; Peterson, Kevin M.; tech-talk at aps.anl.gov
Subject: Re: MAXnet Alarm State Under High Motor Command Load

Hi Kevin,
We are getting the “Controller Error” before just finishing the motion of an axis using MAXnet controller and the following message is now printed on the IOC screen:


omsBaseDriver:getAxesArray:MAXnet1: array string conversion error, count: 2, axes: 8, input: >0 00000002<

Also, we noticed that all the moving flag of the axes of the SPC controller turned ON momentarily before the end of the motion when we get the “Controller Error”.


Is this a driver or controller issue?

Thanks,
Mrinal


References:
MAXnet Alarm State Under High Motor Command Load Jiajun Tian via Tech-talk
Re: MAXnet Alarm State Under High Motor Command Load Peterson, Kevin M. via Tech-talk
Re: MAXnet Alarm State Under High Motor Command Load Jiajun Tian via Tech-talk
Re: MAXnet Alarm State Under High Motor Command Load Peterson, Kevin M. via Tech-talk
Re: MAXnet Alarm State Under High Motor Command Load Peterson, Kevin M. via Tech-talk
Re: MAXnet Alarm State Under High Motor Command Load Jiajun Tian via Tech-talk
Re: MAXnet Alarm State Under High Motor Command Load Mrinal Bera via Tech-talk

Navigate by Date:
Prev: Re: Turning off despeckle filter in ADKinetix Wlodek, Jakub via Tech-talk
Next: RE: EPICS Collaboration Meeting Spring 2026 - CEA IRFU Paris-Saclay GAGET Alexis via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025  <2026
Navigate by Thread:
Prev: Re: MAXnet Alarm State Under High Motor Command Load Mrinal Bera via Tech-talk
Next: udpiiu messages Mark Rivers via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025  <2026
ANJ, 08 Apr 2026 · Home · News · About · Talk · Base · Modules · Extensions ·
· Distributions · Download · Documents · Links · Licensing ·