From 1a7ed76c5439575ac2a51ff4289e5c566bed704e Mon Sep 17 00:00:00 2001 From: MarkRivers Date: Tue, 13 Feb 2007 21:50:13 +0000 Subject: [PATCH] Added third motor, changed units --- iocBoot/iocWithAsyn/motor.substitutions.xps | 8 +++++--- iocBoot/iocWithMPF/motor.substitutions.xps | 8 +++++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/iocBoot/iocWithAsyn/motor.substitutions.xps b/iocBoot/iocWithAsyn/motor.substitutions.xps index e963f218..61bf25d1 100644 --- a/iocBoot/iocWithAsyn/motor.substitutions.xps +++ b/iocBoot/iocWithAsyn/motor.substitutions.xps @@ -1,9 +1,10 @@ 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, 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, ""} +{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)", mm, Pos, .3, .1, .2, 0, 1, .2, 0.000048828, 5, 62.5, 50, ""} +{IOC:, 2, m$(N), "asynMotor", XPS1, 1, "motor $(N)", mm, Pos, .3, .1, .2, 0, 1, .2, 0.000147750, 5, 10, 0, ""} +{IOC:, 3, m$(N), "asynMotor", XPS1, 2, "motor $(N)", mm, Pos, .3, .1, .2, 0, 1, .2, 0.000048828, 5, 62.5, 50, ""} } file "$(MOTOR)/db/XPS_extra.db" { @@ -11,4 +12,5 @@ pattern {P, R, PORT, ADDR} {IOC:, m1, XPS1, 0} {IOC:, m2, XPS1 1} +{IOC:, m3, XPS1 2} } diff --git a/iocBoot/iocWithMPF/motor.substitutions.xps b/iocBoot/iocWithMPF/motor.substitutions.xps index e963f218..61bf25d1 100644 --- a/iocBoot/iocWithMPF/motor.substitutions.xps +++ b/iocBoot/iocWithMPF/motor.substitutions.xps @@ -1,9 +1,10 @@ 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, 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, ""} +{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)", mm, Pos, .3, .1, .2, 0, 1, .2, 0.000048828, 5, 62.5, 50, ""} +{IOC:, 2, m$(N), "asynMotor", XPS1, 1, "motor $(N)", mm, Pos, .3, .1, .2, 0, 1, .2, 0.000147750, 5, 10, 0, ""} +{IOC:, 3, m$(N), "asynMotor", XPS1, 2, "motor $(N)", mm, Pos, .3, .1, .2, 0, 1, .2, 0.000048828, 5, 62.5, 50, ""} } file "$(MOTOR)/db/XPS_extra.db" { @@ -11,4 +12,5 @@ pattern {P, R, PORT, ADDR} {IOC:, m1, XPS1, 0} {IOC:, m2, XPS1 1} +{IOC:, m3, XPS1 2} }