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  <20222023  2024  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  <20222023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Attocube AMC100
From: "Cyl, David C. via Tech-talk" <tech-talk at aps.anl.gov>
To: "Peterson, Kevin M." <kmpeters at anl.gov>, "Ivashkevych, Oksana" <oksana at bnl.gov>, "Lang, Keenan C." <klang at anl.gov>, Tech-talk <tech-talk at aps.anl.gov>
Date: Wed, 19 Oct 2022 20:28:21 +0000
Another issue I ran into was with the stage enable, on the web view you 
can enable or disable a stage. I tried to do this via the 
setControlOutput command using the torque enable/disable button  and it 
did toggle the enable state but when I then read back this state via the 
getControlOutput it was flipping from true/false and I still have no 
idea why. I did open a case with attocube and if I get an answer I will 
post here.

Here is a snippet of the code that gets executed upon a closedLoop state 
change.

         if(closedLoop) then
                 local request = {
                         jsonrpc = "2.0",
                         method = 
"com.attocube.amc.control.setControlOutput",
                         params = { AXIS, 1 },
                         id = AXIS,
                         api = 2 }
                 send(request)
         else
                 local request = {
                         jsonrpc = "2.0",
                         method = 
"com.attocube.amc.control.setControlOutput",
                         params = { AXIS, 0 },
                         id = AXIS,
                         api = 2 }
                 send(request)



Replies:
RE: Attocube AMC100 Ivashkevych, Oksana via Tech-talk
References:
Attocube AMC100 Ivashkevych, Oksana via Tech-talk
Re: Attocube AMC100 Lang, Keenan C. via Tech-talk
RE: Attocube AMC100 Ivashkevych, Oksana via Tech-talk
Re: Attocube AMC100 Lang, Keenan C. via Tech-talk
RE: Attocube AMC100 Ivashkevych, Oksana via Tech-talk
Re: Attocube AMC100 Kevin Peterson via Tech-talk

Navigate by Date:
Prev: Re: Attocube AMC100 Kevin Peterson via Tech-talk
Next: RE: Help compiling synApps for linux-arm: opcua missing S7-1500-server.db Freddie Akeroyd - STFC UKRI 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  <20222023  2024 
Navigate by Thread:
Prev: Re: Attocube AMC100 Kevin Peterson via Tech-talk
Next: RE: Attocube AMC100 Ivashkevych, Oksana 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  <20222023  2024 
ANJ, 20 Oct 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·