Avisaro Online Documentation - Wiki
Impressum Kontakt Sitemap

Configuration via command interface

The basics

ASCII commands

Avisaro devices can be configured using commands on the data interface (RS232, CAN, ...).

Commands can be used to select which of the interfaces should be active (RS232 or CAN or ...) , to adjust the baudrate and so on (see list Mehr here).

Please note:

  • The command interface is available only on the 'primary' interface such as RS232 port 1 and CAN port 1.
  • If a script is active, the command interface is usually switched off. See here on how to disable scripting
  • The default interface after factory setting is RS232. Since firmware version 4.43 the CAN interface is in listen mode as well - so config commands can be send (there is no answer though, active only until a configuration occured)

RS232 data interface

Use a regular terminal program to communicate. Send a command terminated by ( = "Enter"). An answer is send back by the Avisaro product, followed by the prompt sign (">").

I2C data interface

The default I2C adress is decimal 73 on the I2C bus. A command is send by a I2C write. To read back the answer, issue a I2C read to this adress. The Avisaro device answers with 2 bytes which represents the length of the available data. If those are > 0 keep on reading to get the whole answer.