Extended pmacAxis to properly deal with HRPT pmac motors which have an extra error condition
21 lines
1.1 KiB
Plaintext
21 lines
1.1 KiB
Plaintext
qfile "$(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}
|
|
{NZ:mota:, 1, "m$(N)", "asynMotor", mota, 1, "sgu", degree, Pos, 2.0, 0.1, .2, 0, 1, .2, 1., 3, 20, -20, ""}
|
|
{NZ:mota:, 2, "m$(N)", "asynMotor", mota, 2, "sgl", degree, Pos, 2.0, 0.1, .2, 0, 1, .2, 1., 3, 20, -20, ""}
|
|
{NZ:mota:, 3, "m$(N)", "asynMotor", mota, 3, "sgd", degree, Pos, 2.0, 0.1, .2, 0, 1, .2, 1., 3, 20, -20, ""}
|
|
{NZ:mota:, 4, "m$(N)", "asynMotor", mota, 4, "som", degree, Pos, 2.0, 0.1, .2, 0, 1, .2, 0.001, 3, 37, -37, ""}
|
|
{NZ:mota:, 5, "m$(N)", "asynMotor", mota, 5, "sty", degree, Pos, 2.0, 0.1, .2, 0, 1, .2, 0.001, 3, 150, -149, ""}
|
|
}
|
|
|
|
file "$(SINQ)/Db/motorMessage.db"
|
|
{
|
|
pattern
|
|
{P,N, M,PORT}
|
|
{NZ:mota:, 1, "m$(N)",mota}
|
|
{NZ:mota:, 2, "m$(N)",mota}
|
|
{NZ:mota:, 3, "m$(N)",mota}
|
|
{NZ:mota:, 4, "m$(N)",mota}
|
|
{NZ:mota:, 5, "m$(N)",mota}
|
|
} |