EPICS Home

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  2013  2014  2015  2016  2017  2018  <20192020  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  <20192020 
<== Date ==> <== Thread ==>

Subject: RE: [motorPIGCS2] can't turn on servo state of PI E-712
From: Chiang, Liang-Chih [江良志] via Tech-talk <tech-talk@aps.anl.gov>
To: "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Tue, 6 Aug 2019 01:12:41 +0000
Hi Kevin,

epics> asynOctetGetOutputEos("PIE712")
""
epics> asynOctetGetInputEos("PIE712")
"\n"


Allow me to repeat the devices again:
    PI E-712.1AM Digital Motion controller.
    PI E-711.AM5A: Amplifier modules for NEXLINE®, -250 V to +250 V, for drives with sensor.

I found the following comment in motor-R6-11/motorApp/PIGCS2Src/PIGCSPiezoController.h
    Main difference to motor controllers is the usage of absolute sensors.

But PI E-711.AM5A uses incremental encoder.


Best regards.

LiangChih Chiang
Email:chiang.lc@nsrrc.org.tw
Beamline Group
National Synchrotron Radiation Research Center (NSRRC)


________________________________________
寄件者: Peterson, Kevin M. <kmpeters@anl.gov>
寄件日期: 2019年8月6日 上午 12:29
收件者: Chiang, Liang-Chih [江良志]; tech-talk@aps.anl.gov
主旨: Re: [motorPIGCS2] can't turn on servo state of PI E-712

LiangChih,

What are the input and output terminators for the asyn port that is used
to communicate with the moxa?  You can run these commands on the ioc shell:

   asynOctetGetOutputEos("PIE712")
   asynOctetGetInputEos("PIE712")

The output terminator needs to be '\n' when manually sending commands to
the controller, but the output terminator needs to be empty for the
driver to successfully communicate with the controller.  The driver
appends the terminator to the commands that require it and omits it from
the single-character commands, which don't use terminators.

Kevin


On 8/4/19 10:14 PM, Chiang, Liang-Chih [江良志] via Tech-talk wrote:
> Hi, Allan,
>
>
> I used motor module(version 6.9) with the content of motorApp/PIGCS2Src
> replaced by motorPIGCS2 (https://github.com/epics-motor/motorPIGCS2).
>
>
> After changed to motor module version 6.11, the error message "GCS
> error, Controller was stopped by command" disappeared. However, I still
> can't control PI E-712.
>
>
> If I use motor module version 6.11, there will be error message about
> GCS error code 5:
>
>
> 2019/08/05 10:52:37.836 PIGCSController::getGCSError() GCS error code = 5
> 2019/08/05 10:52:37.836 PIGCSController::getGCSError() GCS error,
> Unallowable move attempted on unreferenced axis, or move attempted with
> servo off
> 2019/08/05 10:52:37.836 Could not set servo state!
>
> If I use motor module version 6.11 with patch from Allan, there will be
> error mesaage about GCS error code 5 and 17:
>
> 2019/08/05 10:39:47.253 PIGCSController::getGCSError() GCS error code = 5
> 2019/08/05 10:39:47.253 PIGCSController::getGCSError() GCS error,
> Unallowable move attempted on unreferenced axis, or move attempted with
> servo off
> 2019/08/05 10:39:47.253 Could not set servo state!
> 2019/08/05 10:39:47.261 PIGCSController::setAxisPosition() sent "RON 1 0"
> 2019/08/05 10:39:47.261 PIGCSController::setAxisPosition() sent "POS 1
> 1937869.000000"
> 2019/08/05 10:39:47.261 PIGCSController::setAxisPosition() sent "RON 1 1"
> 2019/08/05 10:39:47.267 PIGCSController::getGCSError() GCS error code = 17
> 2019/08/05 10:39:47.267 PIGCSController::getGCSError() GCS error,
> Parameter out of range
> 2019/08/05 10:39:47.267 PIGCSController::setAxisPosition() failed, GCS
> error 17
>
>
> If I issue GCS commands "FRF" and "SVO 1 1" before starting IOC, the
> CSS(Control-System Studio) interface of motor record will show:
>
>
> https://www.dropbox.com/s/yrx7sikta3cqwzy/controller_error_PIE712.png?dl=0
>
>
>
>
> Still fighting againt PI E-712, any suggestions are welcome.
>
>
>
> Best regards.
>
> LiangChih Chiang
>
> National Synchrotron Radiation Research Center (NSRRC)
> email:chiang.lc@nsrrc.org.tw <mailto:chiang.lc@nsrrc.org.tw>
>


--
My working hours may not be your working hours. Please do not
feel obligated to reply outside of your normal work schedule.

Replies:
Re: [motorPIGCS2] can't turn on servo state of PI E-712 Peterson, Kevin M. via Tech-talk
References:
[motorPIGCS2] can't turn on servo state of PI E-712 Chiang, Liang-Chih [江良志] via Tech-talk
RE: [motorPIGCS2] can't turn on servo state of PI E-712 Allan Serra Braga Bugyi via Tech-talk
RE: [motorPIGCS2] can't turn on servo state of PI E-712 Chiang, Liang-Chih [江良志] via Tech-talk
RE: [motorPIGCS2] can't turn on servo state of PI E-712 Allan Serra Braga Bugyi via Tech-talk
RE: [motorPIGCS2] can't turn on servo state of PI E-712 Chiang, Liang-Chih [江良志] via Tech-talk
RE: [motorPIGCS2] can't turn on servo state of PI E-712 Allan Serra Braga Bugyi via Tech-talk
RE: [motorPIGCS2] can't turn on servo state of PI E-712 Chiang, Liang-Chih [江良志] via Tech-talk
Re: [motorPIGCS2] can't turn on servo state of PI E-712 Peterson, Kevin M. via Tech-talk

Navigate by Date:
Prev: Re: [EXTERNAL] updating ADAndor from RHEL6 to RHEL7 Pearson, Matthew R. via Tech-talk
Next: Re: Question about EPICS7 + QSRV Michael Davidsaver via Tech-talk
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  <20192020 
Navigate by Thread:
Prev: Re: [motorPIGCS2] can't turn on servo state of PI E-712 Peterson, Kevin M. via Tech-talk
Next: Re: [motorPIGCS2] can't turn on servo state of PI E-712 Peterson, Kevin M. via Tech-talk
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  <20192020