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  <20192020  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  <20192020 
<== Date ==> <== Thread ==>

Subject: RE: Driver for Smargon gniometer
From: "James.OHea--- via Tech-talk" <tech-talk@aps.anl.gov>
To: 'Randall Cayford' <rcayford@lbl.gov>
Cc: "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Wed, 11 Sep 2019 09:44:30 +0000
Hi Randall,

This is the PLC:

open plc 10
cmd "&1p q81=d0 q82=d1 q83=d2 q84=d3 q85=d4 q86=d5 q87=d6 q88=d7 q89=d8"
close

With the PowerPMAC, when you request coordinate system values with a &xp command they are auto-magically mapped to d-variables which can then be read into the q-variables used by EPICS.

Regarding the combined motions, SmarAct have already defined the virtual axes within their provided coordinate system (CS1).  So to make use of them you can point a dls_pmac_cs_asyn_motor record at the virtual axis numbers:

CS1, Axis 1 = Omega
CS1, Axis 2 = Phi
CS1, Axis 3 = Chi
CS1, Axis 7 = X
CS1, Axis 8 = Y
CS1, Axis 9 = Z

Hope that helps,

James
 

-----Original Message-----
From: Randall Cayford [mailto:rcayford@lbl.gov] 
Sent: 10 September 2019 16:25
To: O'Hea, James (DLSLtd,RAL,LSCI)
Cc: tech-talk@aps.anl.gov
Subject: Re: Driver for Smargon gniometer

I’m not sure what your PLC is doing. I would love to see it.  

I’m unclear on how to define the IOC to do the combined motor movements rather than driving the individual motors with the Pmac driver.  The X axis in particular which is motors 3 and 4 that have to be moved synchronously. 

> On Sep 10, 2019, at 1:06 AM, "James.OHea@diamond.ac.uk" <James.OHea@diamond.ac.uk> wrote:
> 
> Hi Randall,
> 
> The SmarGon is controlled by a PowerPMAC so you can use the 'pmac' support module to control it.
> 
> At Diamond we used an additional PLC to get translate the SmarAct selected positional variables to ones we typically use for coordinate systems, but other than that, the pmac driver will allow you to drive the axes as any other motorised stage.
> 
> Thanks,
> 
> James
> 
> 
> -----Original Message-----
> From: Tech-talk [mailto:tech-talk-bounces@aps.anl.gov] On Behalf Of Randall Cayford via Tech-talk
> Sent: 09 September 2019 20:24
> To: tech-talk@aps.anl.gov
> Subject: Driver for Smargon gniometer
> 
> We have a Smargon goniometer (from SmarAct) and we’re trying to run it using EPICS.  Is there a driver available for this?  I’ve searched but not found anything that seems appropriate.  Or do I need to use a non-specific pmac driver and customize it for the Smargon?
> 
> Thanks.
> 
> Randall
> 
> 
> -- 
> This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
> Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. 
> Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
> Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom

References:
Driver for Smargon gniometer Randall Cayford via Tech-talk
RE: Driver for Smargon gniometer James.OHea--- via Tech-talk
Re: Driver for Smargon gniometer Randall Cayford via Tech-talk

Navigate by Date:
Prev: Re: Re: use CA Client in Xilinx MicroBlaze system 肖麟阁 via Tech-talk
Next: MouseListener and MouseEvent on Intensity Graph in CSS Apeksha Chipade - UKRI STFC 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  <20192020 
Navigate by Thread:
Prev: Re: Driver for Smargon gniometer Randall Cayford via Tech-talk
Next: Perkin Elmer drivers for Windows 10 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  <20192020 
ANJ, 11 Sep 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·