Hi all,
I am trying to set up a few motors on a PMAC system with ethernet connection. I
have never worked with PMAC before and need some help.
I tried the tpmac package but I do not understand completely what I have to
write in the startup script and how set up the motor records. I need access to
13 motors with the numbers 1,2,3,4,5,7,8,9,10,11,17,18,19.
Can someone send me an example startup script and an example motor record, please?
So far, I guessed from various bits of documentation:
drvAsynIPPortConfigure pmac xx.xx.xx.xx:1025
pmacAsynIPPortConfigure pmac 0
pmacAsynMotorCreate pmac 0 0 19
drvAsynMotorConfigure pmacmotor pmacAsynMotor 0 20
After pmacAsynMotorCreate, I get error messages like these:
Creating PMAC motor driver on port pmac, address 0: card: 0, naxes: 19
2009/01/13 10:06:18.004 pmac read pmacFlush failed - thisRead=0, eomReason=0,
status=1
2009/01/13 10:06:18.666 pmac read pmacReadReady failed
status=1,retval=02009/01/13 10:06:18.882 pmac read pmacReadReady failed
status=1,retval=02009/01/13 10:06:19.182 pmac read pmacReadReady failed
status=1,retval=02009/01/13 10:06:25.801 Read/write error to PMAC card 0, axis 9
command I900=1. Status=1, Error=192.6.94.5:1025 timeout: Resource temporarily
unavailable
2009/01/13 10:06:26.117 pmac read pmacReadReady failed
status=1,retval=02009/01/13 10:06:26.317 pmac read pmacReadReady failed
status=1,retval=02009/01/13 10:06:26.910 pmac read pmacReadReady failed
status=1,retval=02009/01/13 10:06:27.127 pmac read pmacReadReady failed
status=1,retval=02009/01/13 10:06:27.427 pmac read pmacReadReady failed
status=1,retval=02009/01/13 10:06:34.050 Read/write error to PMAC card 0, axis
14 command I1400=1. Status=1, Error=192.6.94.5:1025 timeout: Resource
temporarily unavailable
2009/01/13 10:06:34.367 pmac read pmacReadReady failed
status=1,retval=02009/01/13 10:06:34.567 pmac read pmacReadReady failed
status=1,retval=02009/01/13 10:06:36.050 pmac read pmacReadReady failed
status=1,retval=02009/01/13 10:06:36.270 drvPmacGetAxisInitialStatus: not all
status values returned
2009/01/13 10:06:42.269 pmac read pmacFlush failed - thisRead=0, eomReason=0,
status=1
2009/01/13 10:06:42.370 pmac read pmacReadReady failed
status=1,retval=02009/01/13 10:06:42.570 pmac read pmacReadReady failed
status=1,retval=02009/01/13 10:06:42.870 pmac read pmacReadReady failed
status=1,retval=02009/01/13 10:06:43.270 pmac read pmacReadReady failed
status=1,retval=02009/01/13 10:06:43.770 pmac read pmacReadReady failed
status=1,retval=02009/01/13 10:06:50.523 pmac read pmacFlush failed -
thisRead=0, eomReason=0, status=1
2009/01/13 10:06:50.624 pmac read pmacReadReady failed
status=1,retval=02009/01/13 10:06:50.824 pmac read pmacReadReady failed
status=1,retval=02009/01/13 10:06:51.124 pmac read pmacReadReady failed
status=1,retval=02009/01/13 10:06:51.526 pmac read pmacReadReady failed
status=1,retval=02009/01/13 10:06:52.028 pmac read pmacReadReady failed
status=1,retval=02009/01/13 10:06:52.751 pmac read pmacReadReady failed
status=1,retval=02009/01/13 10:06:53.452 pmac read pmacReadReady failed
status=1,retval=02009/01/13 10:06:54.252 pmac read pmacReadReady failed
status=1,retval=02009/01/13 10:06:55.153 pmac read pmacReadReady failed
status=1,retval=02009/01/13 10:06:56.153 pmac read pmacReadReady failed
status=1,retval=02009/01/13 10:06:57.153 pmac read pmacReadReady failed
status=1,retval=02009/01/13 10:06:58.153 pmac read pmacReadReady failed
status=1,retval=02009/01/13 10:06:59.153 pmac read pmacReadReady failed
status=1,retval=02009/01/13 10:07:05.694 pmac read pmacFlush failed -
thisRead=0, eomReason=0, status=1
2009/01/13 10:07:05.794 pmac read pmacReadReady failed
status=1,retval=02009/01/13 10:07:05.994 pmac read pmacReadReady failed
status=1,retval=02009/01/13 10:07:06.294 pmac read pmacReadReady failed
status=1,retval=02009/01/13 10:07:06.694 pmac read pmacReadReady failed
status=1,retval=02009/01/13 10:07:07.194 pmac read pmacReadReady failed
status=1,retval=02009/01/13 10:07:07.794 pmac read pmacReadReady failed
status=1,retval=02009/01/13 10:07:08.494 pmac read pmacReadReady failed
status=1,retval=02009/01/13 10:07:09.294 pmac read pmacReadReady failed
status=1,retval=0
With only drvAsynIPPortConfigure and pmacAsynIPPortConfigure, I can get access
to the asynOctet layer and get responses to strings like "M9", but only
sometimes. Often, stopping the ioc brings the PMAC in a state where it does not
respond any more. Only a power cycle of the PMAC help. Any idea what is wrong?
Some more questions:
Can the motor record read the encoder values from PMAC?
How can I use programs (homing an scanning procedures) on the PMAC?
How to access other values (analog and binary IO) on the PMAC?
Thanks in advance for any help
Dirk
--
Dr. Dirk Zimoch
Paul Scherrer Institut, WBGB/006
5232 Villigen PSI, Switzerland
Phone +41 56 310 5182
- Replies:
- RE: PMAC IP and motor records Rees, NP (Nick)
- Navigate by Date:
- Prev:
RE: EPICS asyn error message Rees, NP (Nick)
- Next:
webca can't connect to pvs? Silver
- 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
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
RE: EPICS asyn error message Richard Pastrick
- Next:
RE: PMAC IP and motor records Rees, NP (Nick)
- 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
2019
2020
2021
2022
2023
2024
|