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: PowerPMAC pmacAsynCoord |
From: | "Mercado, Ronaldo \(DLSLtd, RAL, LSCI\) via Tech-talk" <tech-talk at aps.anl.gov> |
To: | "Hidas, Dean" <dhidas at bnl.gov>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Wed, 16 Aug 2023 13:22:32 +0000 |
Hi, I can comment that you don’t need pmacAsynCoord any longer when using the pmac driver. pmacAsynCoord was a separate module from tpmac, but pmac supports coordinate systems using the built-in pmacCreateCS and pmacCreateCSAxes I would be pleased to give you an example that I tested only a few weeks ago – excerpt below: # Create CS (CSPortName, ControllerPort, CSNumber, ProgramNumber) pmacCreateCS("PPMAC_1_CS_2", "pwbrick", 2, 10) # Configure Model 3 CS Axes Driver (CSPortName, CSAxisCount) pmacCreateCSAxes("PPMAC_1_CS_2", 9) Thanks, Ronaldo From: Tech-talk <tech-talk-bounces at aps.anl.gov>
On Behalf Of Hidas, Dean via Tech-talk 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
-- This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail. |