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