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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: [motorPIGCS2] can't turn on servo state of PI E-712 |
From: | Allan Serra Braga Bugyi via Tech-talk <[email protected]> |
To: | "[email protected]" <[email protected]>, Chiang, Liang-Chih [江良志] <[email protected]> |
Date: | Wed, 31 Jul 2019 14:53:53 +0000 |
Hi LiangChih,
I also worked with PI controllers E-727 and C-867 using motorPIGCS2. Indeed, there is no referencing during the initialization of a PIasynAxis. I used to do the referencing through the manufacturer IDE and then ran the IOC.
I opened a pull request to the module's project, which suggests (among other things) referencing the axis right in the initialization method of the PIasynAxis. You can find the specific commit here:
https://github.com/epics-motor/motorPIGCS2/pull/1/commits/3aaf5ed20938181420edbf296a4044f57d3811b7
Best regards,
Allan S. B. Bugyi Technology Development Analyst [email protected] (+55 19) 3512-3520 SOL/Beamline Software Group Brazilian Synchrotron Light Laboratory (LNLS) Center of Research in Energy and Materials (CNPEM) http://lnls.cnpem.br De: [email protected] <[email protected]> em nome de Chiang, Liang-Chih [江良志] via Tech-talk <[email protected]>
Enviado: quarta-feira, 31 de julho de 2019 00:16 Para: [email protected] <[email protected]> Assunto: [motorPIGCS2] can't turn on servo state of PI E-712 Hello all,
I'm trying to control PI E-712 with one axis(E-711.AM5A). But the error message said that the motor driver can't turn on the servo state.
I use motor module(version 6.9) with the content of motorApp/PIGCS2Src replaced by motorPIGCS2 (https://github.com/epics-motor/motorPIGCS2).
I use MOXA NPort 5650-8-DT(serial-to-Ethernet converter) to turn the RS-232 interface of PI E-712 to Ethernet interface.
The st.cmd executes pie712.cmd, then iocInit.
pie712.cmd (stripped):
asynSetTraceMask(PIE712,-1,0x3) asynSetTraceIOMask(PIE712,-1,0x1) $(PIE712-1P)drvAsynIPPortConfigure("PIE712", "192.168.2.52:4006", 0, 0, 0) asynSetTraceMask(PIE712,-1,0x1) asynSetTraceIOMask(PIE712,-1,0x0)
$(PIE712-1P)PI_GCS2_CreateController("PIE712-1P", "PIE712", 1, 0, 0, 100, 1000)
$(PIE712-1P)dbLoadRecords("$(MOTOR)/db/PI_Support.db","P=13a:,R=PIE712-1P:,PORT=PIE712-1P,ADDR=0,TIMEOUT=1")
$(PIE712-1P)dbLoadRecords("$(ASYN)/db/asynRecord.db", "P=13a:,R=PIE712-1P:Asyn,PORT=PIE712,ADDR=0,OMAX=256,IMAX=256")
pie712_motors.substitutions:
file "$(MOTOR)/Db/asyn_motor.db" { {ALIAS, P, M, DTYP, PORT, ADDR, DESC, EGU, DIR, VELO, VBAS, ACCL, BDST, BVEL, BACC, MRES, PREC, DHLM, DLLM, INIT}
When executing pie712.cmd, there are error messages:
PI_GCS2_CreateController("PIE712-1P", "PIE712", 1, 0, 0, 100, 1000)
After iocInit, there are extra error messages:
2019/07/31 10:41:59.478 PIGCSController::getGCSError()
GCS error code = 5
Would you please provide some help? Thanks
Aviso Legal: Esta mensagem e seus anexos podem conter informações confidenciais e/ou de uso restrito. Observe atentamente seu conteúdo e considere eventual consulta ao remetente antes de copiá-la, divulgá-la ou distribuí-la. Se você recebeu esta mensagem por engano, por favor avise o remetente e apague-a imediatamente. Disclaimer: This email and its attachments may contain confidential and/or privileged information. Observe its content carefully and consider possible querying to the sender before copying, disclosing or distributing it. If you have received this email by mistake, please notify the sender and delete it immediately. |