EPICS Controls 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  2019  2020  2021  2022  2023  2024  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  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Exampe with EPICS for Beginners
From: Mark Rivers <[email protected]>
To: Yasemin Barutçu <[email protected]>, "[email protected]" <[email protected]>
Date: Tue, 26 Mar 2013 12:29:01 +0000
Hi Yasemin,

One PC is all you need, there is no need for 2.

To start with you can load an asyn record that is connected to the RS232 USB port, assuming it is a device like /dev/ttyusb0.  You use the command

drvAsynSerialPortConfigure("serial0", "/dev/ttyusb0",0,0,0)

You can then open the medm screen asynOctet.adl.  That will let you type commands for your device and see the response.

Is this a motor controller device?  If so, then you may want to write an EPICS driver for the motor controller.  To do that you need to download the synApps "motor" module.  You can write a new driver by implementing the C++ classes asynMotorController and asynMotorAxis.  There is a relatively simple example in motor/motorApp/ACSSrc/MCB4BDriver.cpp.

Mark

________________________________
From: [email protected] [[email protected]] on behalf of Yasemin Barutçu [[email protected]]
Sent: Tuesday, March 26, 2013 1:58 AM
To: [email protected]
Subject: Exampe with EPICS for Beginners


Hello,


I'm new to epics. My operating system is  Linux, opensuse 12.2

I installed;


Epics Base      R3.14.12.3

Alarm Handler   1.2.31
MEDM    3.1.7
Probe   1.1.7.0
Asyn Driver     4-21

to my system. everythings worked fine. I tried one example using Labview. I created a server from Windows7 + Labview and I watched the datas in EPICS Probe+Linux.

Now I want to read/write value from/to Step controller. I have RS232 usb port on step controller(PL2303 HXA).

I'm having problems to design architecture. Do I have to use 2 PC to read and write data or 1 PC will be enough for this example?

Do I need more extensions different from what I installed earlier?

How to configure files ? etc..


Best Regards,

Yasemin



References:
Exampe with EPICS for Beginners Yasemin Barutçu

Navigate by Date:
Prev: Exampe with EPICS for Beginners Yasemin Barutçu
Next: RE: EPICS for personal safety system 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  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Exampe with EPICS for Beginners Yasemin Barutçu
Next: Motor Record precision Alan Greer
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  2019  2020  2021  2022  2023  2024 
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 ·