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: | [motorPIGCS2] can't turn on servo state of PI E-712 |
From: | Chiang, Liang-Chih [江良志] via Tech-talk <[email protected]> |
To: | "[email protected]" <[email protected]> |
Date: | Wed, 31 Jul 2019 03:16:39 +0000 |
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
|