diff --git a/motorApp/MotorSimSrc/motorSimTest.db b/motorApp/MotorSimSrc/motorSimTest.db index 0e5a38ed..ca8a698c 100644 --- a/motorApp/MotorSimSrc/motorSimTest.db +++ b/motorApp/MotorSimSrc/motorSimTest.db @@ -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") +} + diff --git a/motorApp/MotorSimSrc/motorSimTest.src b/motorApp/MotorSimSrc/motorSimTest.src index a5c140f2..244ae2b3 100644 --- a/motorApp/MotorSimSrc/motorSimTest.src +++ b/motorApp/MotorSimSrc/motorSimTest.src @@ -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()