cbus:can-gca2-firmware-de
Differences
This shows you the differences between two versions of the page.
cbus:can-gca2-firmware-de [2018/11/12 08:56] – external edit 127.0.0.1 | cbus:can-gca2-firmware-de [2020/07/13 00:31] (current) – firmware only in "en" rainerk | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== CAN-GC2 Firmware Universeller 16-Port I/O-Knoten für mergCBUS ====== | ||
- | [[: | ||
- | [[: | ||
- | * [[: | ||
- | * [[: | ||
- | * **[[: | ||
- | * [[: | ||
- | \\ | ||
- | Diese Seite dokumentiert die HEAD-Revision der Firmware.\\ | ||
- | |||
- | \\ | ||
- | ===== Firmware ===== | ||
- | * Version: **1.e** rev.: 168, resonator: **4MHz** | ||
- | * Erste produktive Version. | ||
- | * Version: **1.f** rev.: 223, resonator: **4MHz** | ||
- | * Fix für OPC_RQNP -> sendet nur im FLiM-Modus. | ||
- | * Version: **1.g** rev.: 293, resonator: **4MHz** | ||
- | * Option " | ||
- | * Ersteinrichtung | ||
- | * Version: **2-2a** , resonator **4MHz** | ||
- | |||
- | ==== Copyrights ==== | ||
- | (c) [[http:// | ||
- | (c) [[http:// | ||
- | |||
- | ==== IDs ==== | ||
- | | NMRA Hersteller-ID | 70 | | ||
- | | Produkt-ID | 2 |\\ | ||
- | |||
- | ==== HEX ==== | ||
- | * [[http:// | ||
- | * [[http:// | ||
- | * [[http:// | ||
- | * [[https:// | ||
- | * [[http:// | ||
- | |||
- | ==== Quellen ==== | ||
- | * http:// | ||
- | |||
- | |||
- | \\ | ||
- | |||
- | ===== Knoten-Variablen ===== | ||
- | ^ Nr. ^ Beschreibung ^ | ||
- | | 1 | Knoten-Konfiguration | | ||
- | | 2-17 | Port 1-16 Konfiguration | | ||
- | | 18 | Status von Port 1-8 (nur lesen) | | ||
- | | 19 | Status von Port 9-16 (nur lesen) | | ||
- | | 20 | CAN-ID | | ||
- | |||
- | \\ | ||
- | |||
- | ===== Knoten-Konfigurations-Byte ===== | ||
- | ^ Bit ^ Funktion | ||
- | | 0 | sicherst Ausgangsstatus beim Ausschalt-Befehl | | ||
- | | 1 | verwendet Kurz-Erignisse | | ||
- | | 2, 3 | Impuls-Zeit: | ||
- | |||
- | |||
- | |||
- | |||
- | \\ | ||
- | |||
- | ===== Port-Konfigurations-Byte ===== | ||
- | ^ Bit | Funktion | ||
- | | 0 ^ 1=Eingang ^ 0=Ausgang ^ | ||
- | | 1 | 0=Sofort-Meldung\\ 1=Verzögerte Meldung für Belegungsdetektor. | 0=Impuls\\ 1=Dauer | | ||
- | | 2 | 1=invertiert || | ||
- | |||
- | \\ | ||
- | |||
- | ===== Knoten-Ereignisse ===== | ||
- | * Eingänge erzeugen OPC_ACON/ | ||
- | * IR-Eingänge erzeugen OPC_ACON3-Ereignisse mit Lokadressen in Extra-Bytes 5-6 und der Zug-Art in 7. | ||
- | * Ein "Start of Day" | ||
- | * Ausgängen ändern Status auf OPC_ACON/ | ||
- | |||
- | ^ Ereignis-Nr. ^ Beschreibung ^ Variable ^ | ||
- | | 0-15 | Port 1-16 | nicht verwendet | | ||
- | | 16 | SoD (start of day) | nicht verwendet | | ||
- | |||
- | |||
- | \\ | ||
- | |||
- | ===== I/ | ||
- | ^ Port ^ PICbit ^ Anschluss ^ | ||
- | | CAN | RB2/RB3 | - | | ||
- | | FLiM switch | RA2 | - | | ||
- | | LED1 | RB6 | - | | ||
- | | LED2 | RB7 | - | | ||
- | | LED3 | RB5 | - | | ||
- | | 1 | RA0 | J4 | | ||
- | | 2 | RA1 | J4 | | ||
- | | 3 | RA3 | J4 | | ||
- | | 4 | RA4 | J4 | | ||
- | | 5 | RA5 | J4 | | ||
- | | 6 | RB0 | J4 | | ||
- | | 7 | RB1 | J4 | | ||
- | | 8 | RB4 | J4 | | ||
- | | 9 | RC0 | J3 | | ||
- | | 10 | RC1 | J3 | | ||
- | | 11 | RC2 | J3 | | ||
- | | 12 | RC3 | J3 | | ||
- | | 13 | RC7 | J3 | | ||
- | | 14 | RC6 | J3 | | ||
- | | 15 | RC5 | J3 | | ||
- | | 16 | RC4 | J3 | | ||
- | |||
- | \\ | ||
- | =====Unterstützte Operation-Codes===== | ||
- | ^ Abfrage ^ Antwort ^ Bemerkung ^ | ||
- | | OPC_ASRQ | OPC_ARON, | ||
- | | OPC_ACON | - | | | ||
- | | OPC_ASON | - | | | ||
- | | OPC_ACOF | - | | | ||
- | | OPC_ASOF | - | | | ||
- | | OPC_RQNPN | OPC_PARAN | | ||
- | | OPC_SNN | - | | ||
- | | OPC_RQNP | OPC_PARAMS | | ||
- | | OPC_RTOF | - | | ||
- | | OPC_NVRD | OPC_NVANS | | ||
- | | OPC_NVSET | - | | ||
- | | OPC_NNLRN | - | | ||
- | | OPC_NNULN | - | | ||
- | | OPC_EVLRN | - | | ||
- | | OPC_NERD | OPC_ENRSP | | ||
- | | OPC_NNCLR | - | [[: | ||
- | | OPC_QNN | OPC_PNN | [[: | ||
- | \\ | ||
- | ^ Nicht verlangt ^ | ||
- | | OPC_ASON, | ||
- | |||
- | \\ | ||
- | |||
- | ===== LEDs ===== | ||
- | ^ LED-Nr. ^ Farbe ^ Information ^ Bemerkung ^ | ||
- | | 1 | grün | CBUS-Aktivität | Mit einer Aus-Verzögerung von 50ms, die nicht den tatsächlichen Datenverkehr zeigt, sondern etwas " | ||
- | | 2 | gelb | Ereignis-Lern-Modus | Blinkt mit 1Hz, anderenfalls ist diese LED aus. Wird durch den FLiM-Schalter ausgelöst | | ||
- | | 3 | rot | Firmware startet die Haupt-Routine. | Es gibt ein Hardware/ | ||
- | {{: | ||
- | \\ | ||
- | |||
cbus/can-gca2-firmware-de.1542009373.txt.gz · Last modified: 2018/11/12 08:56 by 127.0.0.1