49 lines
1.0 KiB
Plaintext
49 lines
1.0 KiB
Plaintext
record(motor,"$(P)$(M)")
|
|
{
|
|
field(DESC,"$(DESC)")
|
|
field(DTYP,"$(DTYP)")
|
|
field(DIR,"$(DIR)")
|
|
field(VELO,"$(VELO)")
|
|
field(VMAX,"$(VMAX=$(VELO))")
|
|
field(VBAS,"$(VBAS)")
|
|
field(ACCL,"$(ACCL)")
|
|
field(BDST,"$(BDST)")
|
|
field(BVEL,"$(BVEL)")
|
|
field(BACC,"$(BACC)")
|
|
field(OUT,"@asyn($(PORT),$(ADDR))")
|
|
field(MRES,"$(MRES)")
|
|
field(PREC,"$(PREC)")
|
|
field(EGU,"$(EGU)")
|
|
field(DHLM,"$(DHLM)")
|
|
field(DLLM,"$(DLLM)")
|
|
field(INIT,"$(INIT)")
|
|
field(TWV,"1")
|
|
field(RDBD,"$(RDBD)")
|
|
}
|
|
|
|
|
|
# The message text
|
|
record(waveform, "$(P)$(M)-MsgTxt") {
|
|
field(DTYP, "asynOctetRead")
|
|
field(INP, "@asyn($(PORT),$(N),1) MOTOR_MESSAGE_TEXT")
|
|
field(FTVL, "CHAR")
|
|
field(NELM, "80")
|
|
field(SCAN, "I/O Intr")
|
|
}
|
|
|
|
# enable axis
|
|
record(longout, "$(P)$(M):Enable") {
|
|
field(DTYP, "asynInt32")
|
|
field(OUT, "@asyn($(PORT),$(N),1) ENABLE_AXIS")
|
|
field(PINI, "YES")
|
|
}
|
|
|
|
# enable axis
|
|
record(longin, "$(P)$(M):Enable_RBV") {
|
|
field(DTYP, "asynInt32")
|
|
field(INP, "@asyn($(PORT),$(N),1) AXIS_ENABLED")
|
|
field(PINI, "YES")
|
|
field(SCAN, "1 second")
|
|
}
|
|
|