]> www.fi.muni.cz Git - openparking.git/commitdiff
Outline: modbus registers
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Thu, 21 May 2015 12:25:36 +0000 (14:25 +0200)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Thu, 21 May 2015 12:25:36 +0000 (14:25 +0200)
openparking.otl

index 5934cd40747867e25a350c237f35c0abb2b2b489..0cc4eebc1955cd3be7d90b2f52dd3b134691d790 100644 (file)
@@ -120,19 +120,18 @@ Software kontroleru:
                        12x porucha senzoru (r)
                        2x LED (rw)
                holding regs
-                       nastaveni modbus ID (rw, permanent)
-                       2x bitmapa pro vypocet LED (rw, permanent)
-                               0 = externe ovladana LED
-                       12x limit kdy se povazuje za obsazene (rw, permanent)
-                               - 0 = zakazat tento senzor
-                       ? 12x cislo parkovaciho mista k senzoru (rw)
-                       1x bitmapa obsazenosti (r)
-                               (zakazane senzory maji 0)
-                       1x bitmapa chyb (r)
-                               (zakazane senzory maji 0)
-                       1x bitmapa LED (rw, w jen pro externe ovladanou LED)
-                       12x namerena vzdalenost (r)
-                       ? aktualni teplota (r)
+                       1000-1019 permanent,rw
+                       1000 unit ID
+                       1001-1012 distance thresholds
+                       1013 sensors for LED1 (0 = externally controled)
+                       1014 sensors for LED2 ( =="== )
+
+                       1020-1039 transient
+                       1020 LED state bitmap
+                       1021-1032 measured distances
+                       1033 free_bitmap (1=free)
+                       1034 err_bitmap (1=err)
+
        Hlavni smycka, cca 5 vterin:
                ? zmerit teplotu z ATmegy
                zmerit vsechny vystupy (postupne)