Updated the Phytron driver to use a selector in order to support the use case of multiple phytrons on one channel The chnages still need to be tested
15 lines
635 B
Plaintext
15 lines
635 B
Plaintext
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:phytron:, 1, "m$(N)", "asynMotor", phy, 1, "m1", mm, Pos, 2.0, 0.1, .2, 0, 1, .2, .001, 3, 100, -100, "1"}
|
|
{KM36:phytron:, 2, "m$(N)", "asynMotor", phy, 2, "m2", mm, Pos, 2.0, 0.1, .2, 0, 1, .2, .001, 3, 100, -100, "10"}
|
|
}
|
|
|
|
file "$(SINQ)/Db/motorMessage.db"
|
|
{
|
|
pattern
|
|
{P,N, M,PORT}
|
|
{KM36:phytron:, 1, "m$(N)",phy}
|
|
{KM36:phytron:, 2, "m$(N)",phy}
|
|
} |