Experimental Physics and Industrial Control System
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
<2022>
2023
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
<2022>
2023
2024