Celeroton Fast Chopper¶
The Celeroton Fast Chopper is using serial line binary protocol. A command always consist of a request package and a reply package, containing at least an acknowledgment or an error code. The format is:
Request:
|-------------------- length ---------------------|
------------------------------------------------------------
| length | command | data[0] | ... | data [n-1] | checksum |
------------------------------------------------------------
|------------------ checksum -------------------|
The command byte of the reply package is used to acknowledge the previously requested command. If the acknowledgment is positive, the command byte is the repetition of the previously requested command and the following data is then command specific. A negative acknowledgment is indicated by the bitwise inverted command byte followed by two bytes representing a 16 bit error code, transmitted LSB first.
Reply for negative acknolegment:
-------------------------------------------------------
| length | ~command | LSB Error | MSB error| checksum |
-------------------------------------------------------
checksum = (~(length+command+sum(data[0]...data[n-1]))+1) & 0xff
- 8 bits
- no parity
- 1 stop bit
- 57600 baud
Manifacturer: © Celeroton AG. www.celeroton.com
YAML configuration example¶
name: fast_chopper
class: Celeroton
serial:
url: "rfc2217://lid293:28010"
or
url: id29/chopper/fast
serial
url can be either ser2net or Tango
The plugin for this controller is generic
.
plugin: generic