Very valuable feedback, thank you Zachary. To answer your questions:
1) It believe so. It has been a few months, but I do not remember leaving any feature out. Additionally, it has some useful features which the old MCS motor record does not have, such as limit switch status.
2) At the time I started working on this, only the SDK commands were documented. Later upon request, the vendor provided me a version of the manual with ascii commands, but I was already almost finished by then. Since the logic is already implemented it should be straightforward to translate the SDK motor record to ascii and I may do it in the next 1 or 2 weeks if I have time and no one beats me to it. Some very old versions of the GNU C library cannot compile the files that use the MCS2 SDK.
3) Thanks for pointing this out. I believe it is fixed now.
4) I am not sure it I am high enough caliber for this.
Alex
________________________________________
From: Lentz, Zachary L [[email protected]]
Sent: Thursday, May 10, 2018 6:18 PM
To: Sobhani, Bayan; [email protected]
Subject: Re: Smaract MCS2 Motor Record
Hi Alex,
This looks promising, thank you for sharing. A couple of questions:
1. The old MCS drivers supported a specific subset of MCS and motor record features. Does this support a similar subset?
2. Any reason why you opted to link against the MCS2 SDK instead of talking over serial?
3. It looks an IP and port is being hard-coded in the driver. Do you plan to generalize this? Are there other things that are hard-coded?
4. Do you plan to submit this for the main motor record?
-Zachary
________________________________
From: Sobhani, Bayan <[email protected]>
Sent: Thursday, May 10, 2018 6:39:22 AM
To: Lentz, Zachary L; [email protected]
Subject: RE: Smaract MCS2 Motor Record
Hi Zachary,
Yes, we have an MCS2 IOC that we have been using without issue for the last few months at NSLS2:
SmarAct MCS2 IOC: https://github.com/bsobhani/smaract-mcs2
SmarAct MCS2 Motor Record: https://github.com/bsobhani/motor-mcs2
So far it has been tested on Debian 8 machines. Let me know if you run into any problems.
Alex
From: [email protected] <[email protected]> On Behalf Of Lentz, Zachary L
Sent: Wednesday, May 9, 2018 6:09 PM
To: [email protected]
Subject: Smaract MCS2 Motor Record
Is anyone developing motor record support for the SmarAct MCS2 controller? It unfortunately has a completely different command set than their previous MCS controller. We're looking to use these for some projects at SLAC.
Thanks,
Zachary Lentz
- Replies:
- Re: Smaract MCS2 Motor Record Pete Jemian
- References:
- Smaract MCS2 Motor Record Lentz, Zachary L
- RE: Smaract MCS2 Motor Record Sobhani, Bayan
- Re: Smaract MCS2 Motor Record Lentz, Zachary L
- Navigate by Date:
- Prev:
RE: SOLEIL's TimEx3 Goetze, Kurt A.
- Next:
Re: Smaract MCS2 Motor Record Pete Jemian
- 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: Smaract MCS2 Motor Record Lentz, Zachary L
- Next:
Re: Smaract MCS2 Motor Record Pete Jemian
- 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
|