Added Newport hexapod examples to iocWithAsyn. Updated README.

This commit is contained in:
kmpeters
2013-06-13 19:13:33 +00:00
parent 5f292c9368
commit 5b11019021
3 changed files with 38 additions and 0 deletions
+13
View File
@@ -208,6 +208,19 @@ Modification Log for R6-8
motorApp/NPointSrc/Makefile
motorApp/NPointSrc/NPointMotorSupport.dbd
9) Added RTRY field to asyn_motor.db with default value of 10 to allow new
support the option of overriding the number of retries without breaking
existing support.
10) Added support for the Newport Hexapod (HXP):
Files added: iocBoot/iocWithAsyn/motor.substitutions.hxp
iocBoot/iocWithAsyn/motor.cmd.hxp
motorApp/Db/HXP_extra.db
motorApp/NewportSrc/HXPDriver.{cpp,h}
motorApp/NewportSrc/hxp_drivers.{cpp,h}
motorApp/NewportSrc/hxp_error.h
Modification Log for R6-7
=========================
+6
View File
@@ -0,0 +1,6 @@
dbLoadTemplate("motor.substitutions.hxp")
HXPCreateController("HXP1", "192.168.1.42", 5001, 200, 1000)
#asynSetTraceIOMask("HXP1", 0, 2)
#asynSetTraceMask("HXP1", 0, 255)
@@ -0,0 +1,19 @@
file "$(MOTOR)/motorApp/Db/asyn_motor.db"
{
pattern
{P, M, DTYP, PORT, ADDR, DESC, EGU, DIR, VMAX, VELO, VBAS, ACCL, BDST, BVEL, BACC, MRES, PREC, DHLM, DLLM, INIT, RTRY}
{xxx:hxp:c0:, m1, "asynMotor", HXP1, 0, "X", mm, Pos, 15., 3., .05, .5, 0, 1.0, 2, 0.00001, 5, 0, 0, "", 0}
{xxx:hxp:c0:, m2, "asynMotor", HXP1, 1, "Y", mm, Pos, 15., 3., .05, .5, 0, 1.0, 2, 0.00001, 5, 0, 0, "", 0}
{xxx:hxp:c0:, m3, "asynMotor", HXP1, 2, "Z", mm, Pos, 15., 3., .05, .5, 0, 1.0, 2, 0.00001, 5, 0, 0, "", 0}
{xxx:hxp:c0:, m4, "asynMotor", HXP1, 3, "U", degrees, Pos, 15., 3., .05, .5, 0, 1.0, 2, 0.00001, 5, 0, 0, "", 0}
{xxx:hxp:c0:, m5, "asynMotor", HXP1, 4, "V", degrees, Pos, 15., 3., .05, .5, 0, 1.0, 2, 0.00001, 5, 0, 0, "", 0}
{xxx:hxp:c0:, m6, "asynMotor", HXP1, 5, "W", degrees, Pos, 15., 3., .05, .5, 0, 1.0, 2, 0.00001, 5, 0, 0, "", 0}
}
# Extra HXP controller support (coordinate-system, status and error PVs)
file "$(MOTOR)/motorApp/Db/HXP_extra.db"
{
pattern
{P, R, PORT, CHAN}
{xxx:, hxp:c0:, HXP1, 0}
}