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  <20132014  2015  2016  2017  2018  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018 
<== Date ==> <== Thread ==>

Subject: Fwd: Newport Piezo USB Controllers
From: Andrew Gomella <andrew.gomella@nih.gov>
To: tech-talk@aps.anl.gov
Date: Tue, 9 Apr 2013 08:25:22 -0400
Hi Mark,

Thanks for your assistance.

I was unable to get the stages working on my current Windows system, though this could be due to the fact that my current desktop runs Windows 8, so I decided to skip straight to Linux.

Apparently these controllers utilize an FTDI  type USB to serial chip which I believe comes in most prebuilt kernels these days. I found this guide fairly helpful- http://ftdi-usb-sio.sourceforge.net/ , but I think most systems will give a /dev/ttyUSB* device after plugging in the stages. I then used 

stty - F /dev/USB0 speed 921600 cs8

to configure the serial port. After doing this I was able to talk to the stages, although the one I'm using to test currently has a broken piezo (no movement but makes noise). So when I issue the home search command, 1OR, I can hear it trying to move, or when I issue 1VE it responds with "1VE CONEX_AGP V1.1.2" . I used  a program called CuteCom to talk to the stages, which is perfect for testing purposes.

I am hoping to get these working with motor-record style medm/opi screens but not sure how much effort this will be. 

Andrew Gomella
 


On Mon, Apr 8, 2013 at 8:10 PM, Mark Rivers <rivers@cars.uchicago.edu> wrote:
I got the Agilis working with the HyperSerialPort program on Windows 7.  The problem was that the baud rate must be set to 921600.  That baud rate is not currently supported in the EPICS driver.  I will fix that, and let you know when it's committed to Subversion where you can download it.  It will be in the next release of asyn.

Mark


From: Mark Rivers
Sent: Monday, April 08, 2013 5:22 PM
To: Mark Rivers; Andrew Gomella; tech-talk@aps.anl.gov
Subject: RE: Newport Piezo USB Controllers

Hi Andrew,

I've made a little progress on this.  I installed the "Agilis User Tool" software.  With that application software I can control my device using the "virtual" handheld controller on Windows.

By installing this driver that came with it:

C:\Program Files (x86)\Newport\AgilisUserTool\USB driver\ftdiport.inf

I get a Windows COM port being created each time the Agilis controller is connected to the USB port.  On my Windows 7 64-bit machine it was COM3, and on my XP 32-bit machine it was COM15.

Their documentation says that their software works by just sending commands over that COM port.

Using a simple EPICS IOC I can send characters to that COM port with no errors.  However, even for what should be valid commands ("VE", "TE") I get no response.

I have also tried sending the same strings with Hyperterminal on XP and HyperSerialPort (freeware) on Windows 7, and I also get no reply from the device with those.

I am contacting Newport for advice.  I am not sure if baud rate, stop bits, etc. need to be set when using a USB serial device.

Mark


From: Mark Rivers
Sent: Sunday, April 07, 2013 10:03 AM
To: Andrew Gomella; tech-talk@aps.anl.gov
Subject: RE: Newport Piezo USB Controllers

Hi Andrew,

This has been on my to-do list for some time now.  I have an Agilis controller and actuator that Newport sent me because they would like to have an EPICS driver.

I believe that by installing the "Agilis User Tool" software on Windows then one can send the ASCII commands over a COM port.  The drvAsynSerialPort driver on Windows should then be able to communicate.

If you don't have that software you can get it here:

ftp://download.newport.com/MotionControl/Current/MotionControllers/Agilis/Software/

I have not tried connecting it to a Linux system to see if a device like /dev/ttyUSB0 appears, but if it does then one should be able to use it on Linux as well.

I will try to play with it this week.

Mark

________________________________________
From: tech-talk-bounces@aps.anl.gov [tech-talk-bounces@aps.anl.gov] on behalf of Andrew Gomella [andrew.gomella@nih.gov]
Sent: Saturday, April 06, 2013 10:46 AM
To: tech-talk@aps.anl.gov
Subject: Newport Piezo USB Controllers
Has anyone had any luck using Newport Agilis Controllers (USB) with EPICS?

http://www.newport.com/Agilis-Motion-Controllers/848283/1033/info.aspx

Newport only included LabView and Windows DLL's, but I'm really hoping to control them directly through our EPICS system. They run off of ASCII commands which are detailed in the user manual. 

I guess using CA Lab is an option, but was hoping to remove LabView entirely from the setup.

Thanks,
Andrew




Replies:
RE: Newport Piezo USB Controllers Mark Rivers
References:
Newport Piezo USB Controllers Andrew Gomella
RE: Newport Piezo USB Controllers Mark Rivers
RE: Newport Piezo USB Controllers Mark Rivers

Navigate by Date:
Prev: About MEDM Yasemin Barutçu
Next: Re: About MEDM Ned Arnold
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018 
Navigate by Thread:
Prev: RE: Newport Piezo USB Controllers Mark Rivers
Next: RE: Newport Piezo USB Controllers Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·