Isb Inf Can

Aus iSysBus Doku

Wechseln zu: Navigation, Suche

Hauptseite / Firmware / Schnittstellen / CAN-Schnittstelle

Allgemein

Datensatzoptionen
RecordType 0x01 Isb_Inf
TypeVariation 0x02 Isb_Inf_Can

Konfiguration

Variable ArrayIndex SSPort SSPin SpiCfg Cnf1 Cnf2 Cnf3 Irq Mode
Datenlänge 1 Byte 1 Byte 1 Byte 1 Byte 1 Byte 1 Byte 1 Byte 1 Byte 1 Byte
Beispiel 0x01 0x02 0x04 0x03 0x01 0xBC 0x01 0x00 0x02

Konfiguration der Schnittstelle

Die Schnittstelle wird durch folgende Variablen konfiguriert:

Variable
Visu-Name Visu-Datenlänge Name Datenlänge Typ Werte Erklärung
CANControl 1 Byte ISB_EE_INF_CAN0_CTRL 1 Byte - default=0 0x01=disabled 0x07=enabled
CANReceiveInterrupt 2 Byte ISB_EE_INF_CAN0_IRQ0_RX 2 Byte - default=0 Expertenmodus
ISB_EE_INF_CAN0_IRQ1_RX
CANSendInterrupt 2 Byte ISB_EE_INF_CAN0_IRQ0_TX 2 Byte - default=0 Expertenmodus
ISB_EE_INF_CAN0_IRQ1_TX
CANSSPort 1 Byte ISB_EE_INF_CAN0_SSPORT 1 Byte - 0=deaktiviert, 1=PortA, ..., 7=PortG devnode 2 aus Hardware.xml
CANSSPin 1 Byte ISB_EE_INF_CAN0_SSPIN 1 Byte - 0=Pin0, ..., 7=Pin7 devnode 4 aus Hardware.xml
CANConfig1 1 Byte ISB_EE_INF_CAN0_CNF1 1 Byte - devnode 0x01 aus Hardware.xml
CANConfig2 1 Byte ISB_EE_INF_CAN0_CNF2 1 Byte - devnode 0xBC aus Hardware.xml
CANConfig3 1 Byte ISB_EE_INF_CAN0_CNF3 1 Byte - devnode 0x01 aus Hardware.xml

Datenpakete

Meine Werkzeuge