Hello,
We use the asyn to communicate to motor controllers in production user area, where motors may be unplugged due to the users need. For other application where we use asyn we use the SDIS/DISV field of a PV to set an asyn device online/offline,
thereby disabling messages from spewing to the console port. However, when the motor record is used, for a asyn motor controller it’s unclear how to turn off messages for a single device. Is there a method do this this, or is the only solution to shut off
all messages to the console port?
Regards,
-Kristi
record(bo, "$(ps):CommLink") {
field(DESC, "Communication Link Status")
field(ZNAM, "Offline")
field(ONAM, "Online")
field(FLNK, "$(ps):InitCommLinkCalc")
}
record(fanout, "$(ps):UpdateFast")
{
# Process State before Curr since State may change Curr limits.
field(DESC, "Fast Update")
field(LNK1, "$(ps):Volt.PROC")
field(LNK2, "$(ps):State.PROC")
field(LNK3, "$(ps):VoltSetptRbck.PROC")
field(LNK4, "$(ps):CurrSetptRbck.PROC")
field(LNK5, "$(ps):Curr.PROC")
field(LNK6, "$(ps):CurrAct.PROC")
field(SCAN, ".5 second")
field(DISV, "0")
field(SDIS, "$(ps):CommLink")
field(ASG, "Internal")
}
record(fanout, "$(ps):UpdateSlow")
{
field(DESC, "Slow Update")
field(LNK1, "$(ps):StatusEvent.PROC")
field(LNK2, "$(ps):OperStatus.PROC")
field(LNK3, "$(ps):FaultStatus.PROC")
field(LNK4, "$(ps):FaultEvent.PROC")
field(SCAN, "2 second")
field(DISV, "0")
field(SDIS, "$(ps):CommLink")
field(ASG, "Internal")
}
2021/03/02 08:29:30.419 Pico8742Driver:poll(): Communication Error
2021/03/02 08:29:30.429 Pico8742Driver:Pico8742::writeReadController(): error, status=3
2021/03/02 08:29:30.429 Pico8742Driver:poll(): Communication Error
2021/03/02 08:29:30.439 Pico8742Driver:Pico8742::writeReadController(): error, status=3
2021/03/02 08:29:30.439 Pico8742Driver:poll(): Communication Error
2021/03/02 08:29:30.449 Pico8742Driver:Pico8742::writeReadController(): error, status=3
2021/03/02 08:29:30.449 Pico8742Driver:poll(): Communication Error