Updated simulation motor tests to have 3 motors, and non-zero home/start posn

This commit is contained in:
Peter Denison
2007-02-03 12:10:31 +00:00
parent b40820e90b
commit c8a067adb5
2 changed files with 42 additions and 2 deletions
+41 -1
View File
@@ -1,4 +1,4 @@
grecord(motor,"$(DEVICE):test")
record(motor,"$(DEVICE):test0")
{
field(DESC,"Motor Simulation test")
field(DTYP,"Motor Simulation")
@@ -18,3 +18,43 @@ grecord(motor,"$(DEVICE):test")
field(DLLM,"-30")
}
record(motor,"$(DEVICE):test1")
{
field(DESC,"Motor Simulation test")
field(DTYP,"Motor Simulation")
field(VELO,"1")
field(VBAS,"0")
field(VMAX,"1")
field(HVEL,"1")
field(ACCL,"1")
field(BDST,"0.01")
field(BVEL,"0.1")
field(BACC,"0.1")
field(OUT,"#C0 S1 @motorSim")
field(MRES,"0.001")
field(PREC,"5")
field(EGU,"mm")
field(DHLM,"30")
field(DLLM,"-30")
}
record(motor,"$(DEVICE):test2")
{
field(DESC,"Motor Simulation test")
field(DTYP,"Motor Simulation")
field(VELO,"1")
field(VBAS,"0")
field(VMAX,"1")
field(HVEL,"1")
field(ACCL,"1")
field(BDST,"0.01")
field(BVEL,"0.1")
field(BACC,"0.1")
field(OUT,"#C0 S2 @motorSim")
field(MRES,"0.001")
field(PREC,"5")
field(EGU,"mm")
field(DHLM,"30")
field(DLLM,"-30")
}
+1 -1
View File
@@ -30,7 +30,7 @@ dbLoadRecords("db/motorSimTest.db","DEVICE=motorSim")
## Set this to see messages from mySub
#mySubDebug 1
motorSimCreate( 0, 0, -32000, 32000, 0, 1, 1 )
motorSimCreate( 0, 0, -22000, 42000, 10000, 1, 3, 5000 )
iocInit()