EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  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  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: IK320 problem
From: "Ronald L. Sluiter" <[email protected]>
To: "Shepherd, EL (Emma)" <[email protected]>
Cc: [email protected]
Date: Mon, 11 Jun 2007 09:53:07 -0500
Hello Emma,

I have been maintaining Till Straumann's Heidenhain IK320 device driver
within the confines of the VME support module for some time;

http://www.aps.anl.gov/aod/bcda/synApps/vme/vme.html

CVS version 1.1.1.1.2.6 of drvIK320.c is the latest EPICS R3.13.x version
of the IK320 driver.

I think Juraj may be slightly off. In R3.13.x, the record NAME field
size is set to 29, which should yield 28 characters and a NULL terminator.
I count 28 characters in "BL06I-OP-PGM-01:MIR:ENC1:DIR".

You should still check to make sure that no other PV names in the IOC
exceed this limit.

One question; is the VME CPU board a PPC or 68K?

One suggestion; turn on driver diagnostics by setting drvIK320Debug=2
at the IOC shell and send me the results.

Hope this helps,
Ron Sluiter

Shepherd, EL (Emma) wrote:

Hi everyone,

I'm having problems with the IK320 support I am using for some
Heidenhain encoders.  When I try to change their direction or put them
into homing/reference mode, the record goes into error state and I get
messages like the following on the IOC console:


=============================================================== BL06I-MO-IOC-02 -> filename="../devIK320.c" line number=797 ik320WriteMbboSync() entering...

filename="../devIK320.c" line number=820
ik320WriteMbboSync() sending request (synchronous) failed...

status = (1033,10) not in symbol table PV: BL06I-OP-PGM-01:MIR:ENC1:DIR
ik320WriteMbboSync()

status = 409000a
===============================================================


From a brief look at the code, the error status seems to be "invalid VME
function call" and "IK320 channel is deactivated".  (I am using version
1.1.1.1.2.6 of drvIK320.c)

To give you the background - this has been working fine for months,
including being able to find the reference marks successfully.  Last
week we encountered a problem with the OMS card that was causing one of
the motors to drive in the wrong direction; simply taking the card out
and re-seating it firmly seems to have fixed that (for now at least),
but now I am having these problems with the encoders....

Does anyone have any experience with IK320 they can use to shed some
light on this?

Thanks!

Emma
<DIV><FONT size="1" color="gray">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
</FONT></DIV>







Replies:
RE: IK320 problem Shepherd, EL (Emma)
References:
IK320 problem Shepherd, EL (Emma)

Navigate by Date:
Prev: EPICS/RTEMS bug in osdPoolStatus.c Kate Feng
Next: Want support for MDS SMMC Steve Lewis
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: IK320 problem Juraj Krempasky
Next: RE: IK320 problem Shepherd, EL (Emma)
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Nov 2011 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·