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  <20092010  2011  2012  2013  2014  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  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: EPICS asyn error message
From: Richard Pastrick <[email protected]>
To: "Rees, NP (Nick)" <[email protected]>, "[email protected]" <[email protected]>
Date: Tue, 13 Jan 2009 11:47:16 -0800

Thank you very much for the reply. This was the solution I needed.

 

-Richard

 

From: Rees, NP (Nick) [mailto:[email protected]]
Sent: Tuesday, January 13, 2009 1:19 AM
To: Richard Pastrick; [email protected]
Subject: RE: EPICS asyn error message

 

Richard,

 

Sorry for not replying yesterday when you sent me a direct email, but the extra information you give below gave the problem away.

 

pmacAsynMotor is an example of multiple layers of asyn. There are two layers:

  1. The lower layer is an asynOctet port to talk to the controller. This can be an asynIP port (with a pmac interpose interface), and asynSerial port across a serial line or an asyn port across a backplane direct to a PMAC card (on VxWorks, Linux or, I think, Windows as well). Hence, there are a number of different ways to do this (depending on your configuration).
  2. At the upper layer it uses an asynMotor port to talk between the motor driver and the motor record. This must be a different port with a different name.

The error message you are getting is because you are using the same port name in both cases. An example that should work in your case is:

 

# Configure the standard Ethernet asynIPPort

drvAsynIPPortConfigure("pmac1E", "172.23.86.84:1025", 0, 0, 0)

# Create the interpose layer on this port to properly handle the PMAC protocol

pmacAsynIPPortConfigure("pmac1E", 0)

 

# Create a pmacAsynMotor driver connected tto this port

pmacAsynMotorCreate("pmac1E", 0, 0, 4)

 

# Setup the asynMotor layer (note the last parameter has to be one more than the number of axes you want to create).

# Note the new asynPort name.

# There will be a warning at this stage about not being able to create axis 0 - you should ignore this.

drvAsynMotorConfigure("pmac1", "pmacAsynMotor", 0, 4)

 

Cheers,

 

Nick Rees
Principal Software Engineer           Phone: +44 (0)1235-778430
Diamond Light Source                  Fax:   +44 (0)1235-446713

 

 


From: [email protected] [mailto:[email protected]] On Behalf Of Richard Pastrick
Sent: 13 January 2009 01:49
To: [email protected]
Subject: EPICS asyn error message

I am running into some problems while trying to setup a Delta Tau UMAC to communicate over IP with an EPICS server. I am simply trying to get the asyn interface to work at this point.

 

I receive the following error messages when I run the following commands:

 

drvAsynIPPortConfigure("pmac0","172.24.68.50:1025",0,1,0)

drvAsynMotorConfigure("pmac0", "pmacAsynMotor", 0, 6)

 

asynCommon:registerDriver pmac0 already registered

dryAsynMotorConfigure Error: Can’t register port

 

I am using base 3.14.8.2, asyn 4.9, and motor r6-3. The implementation I am trying to use is the synApps tpmac available from http://www.gmca.aps.anl.gov/TPMAC2/

 

I have looked at all of the example .src files that I could find in epics downloads but to no avail and I am very confused right now. Any help that any of you can give would be greatly appreciated.

 

Thank you.

 

Richard Pastrick

Associate Software Engineer

Xradia Inc

5052 Commercial Cir

Concord CA 94520

925-288-1228 Ext 1151

925-348-0384 (cell)

 

 


The information in this email, including any attachments, is confidential and intended only for the recipient(s) listed. Any use of this email for any other purpose is prohibited. If you have received this email in error, please notify me immediately by reply email, delete this email, and do not disclose its contents to anyone.

 

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

 

--
Scanned by iCritical.

 



The information in this email, including any attachments, is confidential and intended only for the recipient(s) listed. Any use of this email for any other purpose is prohibited. If you have received this email in error, please notify me immediately by reply email, delete this email, and do not disclose its contents to anyone.

References:
EPICS asyn error message Richard Pastrick
RE: EPICS asyn error message Rees, NP (Nick)

Navigate by Date:
Prev: Re: stop all motors Kate Feng
Next: Re: stop all motors Kate Feng
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: EPICS asyn error message Rees, NP (Nick)
Next: PMAC IP and motor records Dirk Zimoch
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·