forked from epics_driver_modules/motorBase
Use EPICS base dbLoadTemplate().
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
file basic_motor.db
|
||||
{
|
||||
pattern
|
||||
{P, N, M, DTYP, C, S, DESC, EGU, DIR, VELO, VBAS, ACCL, BDST, BVEL, BACC, MRES, PREC, DHLM, DLLM, INIT}
|
||||
{rls:, 1, m$(N), "MM4000", 0, 0, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""}
|
||||
{rls:, 2, m$(N), "MM4000", 0, 1, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""}
|
||||
{rls:, 3, m$(N), "MM4000", 0, 2, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""}
|
||||
{rls:, 4, m$(N), "MM4000", 0, 3, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""}
|
||||
}
|
||||
@@ -22,7 +22,7 @@ cd startup
|
||||
dbLoadDatabase("$(TOP)/dbd/WithMPFVx.dbd")
|
||||
WithMPFVx_registerRecordDeviceDriver(pdbbase)
|
||||
|
||||
dbLoadRecords("$(TOP)/db/WithMPF.db")
|
||||
dbLoadTemplate("motor.substitutions")
|
||||
|
||||
# Configure the ASYN server code. This MUST be configured too!
|
||||
< st_asynserver.cmd.Vx
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
dbLoadDatabase("$(TOP)/dbd/WithMPF.dbd")
|
||||
WithMPF_registerRecordDeviceDriver(pdbbase)
|
||||
dbLoadRecords("$(TOP)/db/WithMPF.db")
|
||||
dbLoadTemplate("motor.substitutions")
|
||||
|
||||
|
||||
# The following commands are for a local serial line
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
file basic_motor.db
|
||||
{
|
||||
pattern
|
||||
{P, N, M, DTYP, C, S, DESC, EGU, DIR, VELO, VBAS, ACCL, BDST, BVEL, BACC, MRES, PREC, DHLM, DLLM, INIT}
|
||||
{rls:, 1, m$(N), "MM4000", 0, 0, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""}
|
||||
{rls:, 2, m$(N), "MM4000", 0, 1, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""}
|
||||
{rls:, 3, m$(N), "MM4000", 0, 2, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""}
|
||||
{rls:, 4, m$(N), "MM4000", 0, 3, "motor $(N)", degrees, Pos, 1, .1, .2, 0, 1, .2, 0.01, 5, 100, -100, ""}
|
||||
}
|
||||
@@ -22,7 +22,7 @@ cd startup
|
||||
dbLoadDatabase("$(TOP)/dbd/WithMPFVx.dbd")
|
||||
WithMPFVx_registerRecordDeviceDriver(pdbbase)
|
||||
|
||||
dbLoadRecords("$(TOP)/db/WithMPF.db")
|
||||
dbLoadTemplate("motor.substitutions")
|
||||
|
||||
# Configure the ASYN server code. This MUST be configured too!
|
||||
< st_asynserver.cmd.Vx
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
dbLoadDatabase("$(TOP)/dbd/WithMPF.dbd")
|
||||
WithMPF_registerRecordDeviceDriver(pdbbase)
|
||||
dbLoadRecords("$(TOP)/db/WithMPF.db")
|
||||
dbLoadTemplate("motor.substitutions")
|
||||
|
||||
|
||||
# The following commands are for a local serial line
|
||||
|
||||
Reference in New Issue
Block a user