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: Animatics SmartMotor setup
From: "Davis, Mark via Tech-talk" <tech-talk@aps.anl.gov>
To: "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Tue, 18 Jun 2019 07:11:44 -0400

Can anyone provide an example of how to setup and use an Animatics SmartMotor?

From what I could figure out looking at the code, I expect it is something along these lines:

# For a connection via a Moxa Ethernet-to-serial adapter:
drvAsynIPPortConfigure("TapeStation", "192.168.137.99:4001")

# SmartMotorSetup(maxCtlrCount, pollRate)
SmartMotorSetup(1, 5)

# SmartMotorConfig(cardNum, "asynPortName")
SmartMotorConfig(0, "TapeStation")


And then the motor record would look something like this:

record(motor, "MyMotor")
{
  field(DTYP, "SmartMotor")
  field(OUT,  "@0 TapeStation ????")
  ...
}
 
Is that even close?  The one I am most unsure of is what to use for the OUT value in the motor record.

Mark Davis
NSCL/FRIB

Replies:
Re: Animatics SmartMotor setup Torsten Bögershausen via Tech-talk

Navigate by Date:
Prev: StreamDevice: termination in binary communication Christian Pauly via Tech-talk
Next: Re: Animatics SmartMotor setup Torsten Bögershausen 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: StreamDevice: termination in binary communication Zimoch Dirk (PSI) via Tech-talk
Next: Re: Animatics SmartMotor setup Torsten Bögershausen 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, 03 Jul 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·