Andino X1 Manuel - Page 12
Parcourez en ligne ou téléchargez le pdf Manuel pour {nom_de_la_catégorie} Andino X1. Andino X1 15 pages. Raspberry pi extension with integrated signal preprocessing
Firmware
We ship the Andino X1 with the Counting Sample Firmware. It works with 38400 Baud.
!! For the latest Version please see here:
https://github.com/andino-systems/Andino-X1/tree/master/src/firmware/counting
Commands to the Controller
Command
Arguments
RESET
none
INFO
none
POLL
Cycle in ms
EDGE
HL(0) LH(1)
SEND
Cycle in ms
DEBO
Number of
polls
REL1
state (0 or 1)
REL2
state (0 or 1)
RPU1
pulse in sec
RPU2
pulse in sec
Messages from the Controller
Message
Arguments
CNTR
messageID counter1 counter2
STAT
messageID pin1 pin2
Message-ID increments on every Message to check any lost.
Clear Systems GmbH • Schweinthal 25 • 91349 Egloffstein • Tel. (09197) 23 53 23 5 •
Stand: 07.01.2019
Action
Restart the Controller
Prints the current settings
Sets the sampling cycle of the digital inputs [in ms]
Count on edge HL or LH
The counter will send all nnn milliseconds
Sets the debounce count. The signal has to be stable
for nn polls
Relay 1 is switched on or off
Relay 2 is switched on or off
Pulse the Relay 1 for nns seconds
Pulse the Relay 2 for nns seconds
Action
Send the counter every [SEND]
millis
Send the state of the pins every
[SEND] millis
Example
CNTR 9998 12 32
CNTR 9998 12 32
www.andino.systems
•Seite: 12/15
Example
RESET
INFO
POLL 1000
EDGE
SEND 5000
DEBO 100
REL1 1
REL2 1
RPU1 2
RPU2 2