From 271886aaf43a86d089b2513437110c0a4b28f3dc Mon Sep 17 00:00:00 2001 From: MarkRivers Date: Wed, 6 Sep 2006 15:47:24 +0000 Subject: [PATCH] Added ADDR macros --- iocBoot/iocWithAsyn/motor.substitutions.xps | 8 ++++---- iocBoot/iocWithMPF/motor.substitutions.xps | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/iocBoot/iocWithAsyn/motor.substitutions.xps b/iocBoot/iocWithAsyn/motor.substitutions.xps index 1778c2d8..e963f218 100644 --- a/iocBoot/iocWithAsyn/motor.substitutions.xps +++ b/iocBoot/iocWithAsyn/motor.substitutions.xps @@ -2,13 +2,13 @@ file "$(MOTOR)/db/basic_asyn_motor.db" { pattern {P, N, M, DTYP, PORT, ADDR, DESC, EGU, DIR, VELO, VBAS, ACCL, BDST, BVEL, BACC, MRES, PREC, DHLM, DLLM, INIT} -{IOC:, 1, m$(N), "asynMotor", XPS1, 0, "motor $(N)", degrees, Pos, .3, .1, .2, 0, 1, .2, 0.001, 5, 10, 0, ""} +{IOC:, 1, m$(N), "asynMotor", XPS1, 0, "motor $(N)", degrees, Pos, .3, .1, .2, 0, 1, .2, 0.001, 5, 62.5, 50, ""} {IOC:, 2, m$(N), "asynMotor", XPS1, 1, "motor $(N)", degrees, Pos, .3, .1, .2, 0, 1, .2, 0.001, 5, 10, 0, ""} } file "$(MOTOR)/db/XPS_extra.db" { pattern -{P, R, PORT} -{IOC:, m1, XPS1} -{IOC:, m2, XPS1} +{P, R, PORT, ADDR} +{IOC:, m1, XPS1, 0} +{IOC:, m2, XPS1 1} } diff --git a/iocBoot/iocWithMPF/motor.substitutions.xps b/iocBoot/iocWithMPF/motor.substitutions.xps index 1778c2d8..e963f218 100644 --- a/iocBoot/iocWithMPF/motor.substitutions.xps +++ b/iocBoot/iocWithMPF/motor.substitutions.xps @@ -2,13 +2,13 @@ file "$(MOTOR)/db/basic_asyn_motor.db" { pattern {P, N, M, DTYP, PORT, ADDR, DESC, EGU, DIR, VELO, VBAS, ACCL, BDST, BVEL, BACC, MRES, PREC, DHLM, DLLM, INIT} -{IOC:, 1, m$(N), "asynMotor", XPS1, 0, "motor $(N)", degrees, Pos, .3, .1, .2, 0, 1, .2, 0.001, 5, 10, 0, ""} +{IOC:, 1, m$(N), "asynMotor", XPS1, 0, "motor $(N)", degrees, Pos, .3, .1, .2, 0, 1, .2, 0.001, 5, 62.5, 50, ""} {IOC:, 2, m$(N), "asynMotor", XPS1, 1, "motor $(N)", degrees, Pos, .3, .1, .2, 0, 1, .2, 0.001, 5, 10, 0, ""} } file "$(MOTOR)/db/XPS_extra.db" { pattern -{P, R, PORT} -{IOC:, m1, XPS1} -{IOC:, m2, XPS1} +{P, R, PORT, ADDR} +{IOC:, m1, XPS1, 0} +{IOC:, m2, XPS1 1} }