Files
motorBase/iocBoot/iocWithAsyn/st.cmd.phytron
T

25 lines
744 B
Plaintext

#!../../bin/linux-x86_64/phytronAxis
## You may have to change phytronAxis to something else
## everywhere it appears in this file
< envPaths
## Register all support components
dbLoadDatabase("../../dbd/WithAsyn.dbd",0,0)
WithAsyn_registerRecordDeviceDriver(pdbbase)
#drvAsynIPPortConfigure("testPort","localhost:8000",0,0,1)
drvAsynIPPortConfigure("testRemote","10.5.1.181:22222",0,0,1)
#phytronCreateController (phytronPort, asynPort, movingPollPeriod, idlePollPeriod, timeout)
phytronCreateController ("phyMotionPort", "testRemote", 100, 100, 1000)
#phytronCreateAxis(phytronPort, module, axis)
phytronCreateAxis("phyMotionPort", 1, 1)
phytronCreateAxis("phyMotionPort", 2, 1)
dbLoadTemplate "motor.substitutions.phytron"
iocInit()