def error_list(): """ Get the number of errors for each input and output module. """ return MasterCommandSpec("el", [Field.padding(13)], [ Field("errors", ErrorListFieldType()), Field.crc(), Field.lit("\r\n") ])
def output_list(): """ The message sent by the master whenever the outputs change. """ return MasterCommandSpec("OL", [], [Field("outputs", OutputFieldType()), Field.lit("\r\n")])