Fixed Nanotex driver to work with the real HW and the simulation

This commit is contained in:
2016-05-03 11:58:24 +02:00
parent 047b0d8c74
commit 4b377d1b2e
4 changed files with 44 additions and 18 deletions

View File

@ -2,5 +2,5 @@ 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}
{KM36:nano:, 1, "m$(N)", "asynMotor", nano, 1, "m1", mm, Pos, 2.0, 0.1, .2, 0, 1, .2, .001, 3, 180, -180, "1"}
{KM36:nano:, 1, "rd", "asynMotor", nano, 1, "rd", mm, Pos, 2.0, 0.1, .2, 0, 1, .2, .0001, 3, 220, 0, "1"}
}

View File

@ -19,8 +19,9 @@ sinqEPICS_registerRecordDeviceDriver pdbbase
#---------- load Nanotec motor controller
#drvAsynIPPortConfigure("serial1", "narziss-ts:3002",0,0,0)
drvAsynIPPortConfigure("serial1", "boa-ts:3013",0,0,0)
NanotecCreateController("nano","serial1","1","4");
drvAsynIPPortConfigure("serial1", "boa-ts:3014",0,0,0)
#drvAsynIPPortConfigure("serial1", "localhost:2020",0,0,0)
NanotecCreateController("nano","serial1","1","11");
### Motors