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: | PowerPMAC pmacAsynCoord |
From: | "Hidas, Dean via Tech-talk" <tech-talk at aps.anl.gov> |
To: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Wed, 16 Aug 2023 12:54:16 +0000 |
Greetings EPICS Experts, I’m currently trying to use pmacAsynCoord with the power pmac (pmac-2-5-20 from
https://github.com/dls-controls/pmac), which I’ve used successfully on the turbo many times. When calling pmacAsynCoordCreate() I get a spew of errors of the form: 2023/08/16 08:45:37.298 drvPmacAxisGetStatus: not all status values returned. Status: 0 Command :&2?? Response: $0000780000060001 $0000780000060001 This is the same output as I get from the controller. I’m not so experienced with the Power version and am wondering if I may just be missing some pmac setting or if there is something else I may be misconfiguring. Any advice is much
appreciated. My st.cmd is below. Best Regards, -Dean Hidas #!../../bin/linux-x86_64/IVU18 < envPaths epicsEnvSet("PMAC1_IP", "192.168.0.200") epicsEnvSet("sys", "SR:C09-ID:G1") epicsEnvSet("dev", "IVU18:1") epicsEnvSet("STREAM_PROTOCOL_PATH", "/usr/lib/epics/protocol:$(TOP)/proto") cd "${TOP}" ## Register all support components dbLoadDatabase "dbd/IVU18.dbd" IVU18_registerRecordDeviceDriver pdbbase # Create SSH Port (PortName, IPAddress, Username, Password, Priority, DisableAutoConnect, noProcessEos) drvAsynPowerPMACPortConfigure("BRICK1port", $(PMAC1_IP), "root", "deltatau", "0", "0", "0") # Configure Model 3 Controller Driver (ControlerPort, LowLevelDriverPort, Address, Axes, MovingPoll, IdlePoll) pmacCreateController("Brick", "BRICK1port", 0, 8, 100, 1000) # Configure Model 3 Axes Driver (Controler Port, Axis Count) pmacCreateAxes("Brick", 8) # Create CS (ControllerPort, Addr, CSNumber, CSRef, Prog) # Gap: Coordinate System 2 | PROG 2 pmacAsynCoordCreate("BRICK1port", 0, 2, 0, 2) # Configure CS (PortName, DriverName, CSRef, NAxes) drvAsynMotorConfigure("BrickCS2", "pmacAsynCoord", 0, 4) cd "${TOP}/iocBoot/${IOC}" iocInit -- Dean Andrew Hidas, Ph.D. Sr. Physicist Brookhaven National Laboratory Upton, NY 11973, U.S.A. Phone: +1 631 344 3568 |