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: OmsAsyn Maxnet Homing
From: "Blomley, Edmund \(IBPT\) via Tech-talk" <tech-talk at aps.anl.gov>
To: EPICS Tech Talk <tech-talk at aps.anl.gov>
Date: Wed, 28 Jan 2026 11:54:33 +0000
Dear tech-talk,

I got a request to implement a homing procedure for a setup with a Maxnet controller via the omsAsyn motor module.

The implemented homing procedure [1] of the EPICS module  does not seem to work, probably because there is no home switch. There are only limit switches.

The homing procedure should be:

1. Move into lower limit switch
2. Define this position as 0 (at least) in the EPICS motor coordinates.

We tried to figure out a solution based on the command reference [2], but were not that successful. 
This is our current connection and init command:
omsMAXnetConfig("MCONTROL0", 5, "MAXNET0", 20200, "AZ;LTL;LMH;ABL;PSO;AT;LTL;LMH;ABL;PSO;AU;LTL;LMH;ABL;PSO;“).

As a workaround, the student using the setup developed a Python script using the motor record to do:

1. Read out and store .HLM and .LLM
2. Depending on .DIR trigger either .HOMF or .HOMR
3. Wait until .LLS is active
4. Store .RBV
5. Switch to calibration mode via .SET=1
6. Set .VAL to 0
7. Restore .HLM and .LLM from 1.
8. .SET=0

So the question is, if there is a better approach by either directly using Maxnet controller commands or with the motor record itself (is there a „Zero“ command?)

Cheers
Eddy

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Replies:
RE: OmsAsyn Maxnet Homing Pearson, Matthew via Tech-talk

Navigate by Date:
Prev: Re: pvlist does not find all servers in network Florian Feldbauer via Tech-talk
Next: Re: pvlist does not find all servers in network Florian Feldbauer 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: pvlist does not find all servers in network Michael Davidsaver via Tech-talk
Next: RE: OmsAsyn Maxnet Homing Pearson, Matthew 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, 19 Mar 2026 · Home · News · About · Talk · Base · Modules · Extensions ·
· Distributions · Download · Documents · Links · Licensing ·