cbus-en
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
cbus-en [2020/07/12 22:12] – [Sites] rjversluis | cbus-en [2024/03/10 09:21] (current) – rjversluis | ||
---|---|---|---|
Line 8: | Line 8: | ||
* [[: | * [[: | ||
* [[: | * [[: | ||
+ | * [[: | ||
* [[: | * [[: | ||
* [[: | * [[: | ||
Line 20: | Line 21: | ||
===== Setup ===== | ===== Setup ===== | ||
- | [[: | + | {{:cbus:rcan-setup-en.jpg?600}} |
- | {{: | + | |
==== CAN-ID ==== | ==== CAN-ID ==== | ||
Line 33: | Line 33: | ||
| Serial | 230400 | **[[: | | Serial | 230400 | **[[: | ||
| Serial | 115200 | **[[http:// | | Serial | 115200 | **[[http:// | ||
+ | | Serial | 115200 | **[[: | ||
| SocketCAN | - | **[[: | | SocketCAN | - | **[[: | ||
| LAWICEL / SLCAN | 115200...500000 | **[[http:// | | LAWICEL / SLCAN | 115200...500000 | **[[http:// | ||
Line 52: | Line 53: | ||
The hostname and port for the TCP/IP interface.\\ | The hostname and port for the TCP/IP interface.\\ | ||
In case of SocketCAN the host name is the device name. Default **can0**\\ | In case of SocketCAN the host name is the device name. Default **can0**\\ | ||
+ | \\ | ||
+ | ====Protocol==== | ||
+ | | :!: Set to CBUS only if a CANGC1, CANGC1e and/or CANGC3 is connected. :!: | | ||
+ | Enable CAN protocols.\\ | ||
+ | Default is RCAN and CBUS parallel.\\ | ||
+ | RCAN uses extended CAN frames, and is used by WIO modules with CAN interface.\\ | ||
+ | //CBUS modules do not evaluate extended CAN frames, and WIO modules do not evaluate standard CAN frames.//\\ | ||
+ | \\ | ||
+ | ====RCAN==== | ||
+ | === CS Node ID === | ||
+ | Redirect all mobile commands with Node ID zero to the Command Station with this Node ID.\\ | ||
+ | Mostly used in combination with __**[[: | ||
+ | \\ | ||
- | ==== Short events | + | |
+ | \\ | ||
+ | ====CBUS==== | ||
+ | === Short events === | ||
Use the short version of the accessory events; Event number only. (Recommended)\\ | Use the short version of the accessory events; Event number only. (Recommended)\\ | ||
The long events are based on node number and event number.\\ | The long events are based on node number and event number.\\ | ||
- | ==== Fastclock | + | === Fastclock === |
Send **[[: | Send **[[: | ||
It is recommended to set this enabled in case of using a TCP/IP connection to prevent idle timeout disconnection.\\ | It is recommended to set this enabled in case of using a TCP/IP connection to prevent idle timeout disconnection.\\ | ||
- | ==== Command Ack ==== | + | === Command Ack === |
| :!: Use only in case of data loss in combination with WiFi. | | | :!: Use only in case of data loss in combination with WiFi. | | ||
Activates the command acknowledgment handshake.\\ | Activates the command acknowledgment handshake.\\ | ||
Line 72: | Line 89: | ||
\\ | \\ | ||
- | ==== FONFOF ==== | + | === Heartbeat === |
- | Use the OPC_DFON/ | + | |
- | + | ||
- | ==== Heartbeat | + | |
Sends every second an event# 4712 OPC_ACON/ | Sends every second an event# 4712 OPC_ACON/ | ||
The LEDs on the modules should flash every second.\\ | The LEDs on the modules should flash every second.\\ | ||
A CAN-GC2 can be programmed on this event# to be able to add a LED mounted on the dashboard.\\ | A CAN-GC2 can be programmed on this event# to be able to add a LED mounted on the dashboard.\\ | ||
+ | * **Note:** In order not to trigger unwanted SoD queries with the heartbeat, the selected address must be outside the address range defined by **[[# | ||
- | ==== SoD ==== | + | === SoD === |
- | "Start of Day" address for query all input states.\\ | + | "Start of Day" address |
This must be programmed as event in all input nodes which should report.\\ | This must be programmed as event in all input nodes which should report.\\ | ||
+ | Alternatively, | ||
+ | This option avoids a CAN bus burst at SoD.\\ | ||
- | ==== Slot purge time ==== | + | |
+ | === Slot purge time === | ||
CS timeout for updating DCC mobile decoders.\\ | CS timeout for updating DCC mobile decoders.\\ | ||
If a loco becomes idle before this time out a keep alive command is send to the CS.\\ | If a loco becomes idle before this time out a keep alive command is send to the CS.\\ | ||
:!: The hardware purgetime is 20 seconds, so this value should be **set to less then 20** to assure the slot is not purged during automatic runs!\\ | :!: The hardware purgetime is 20 seconds, so this value should be **set to less then 20** to assure the slot is not purged during automatic runs!\\ | ||
- | ==== Decoder check ==== | + | === Decoder check === |
Check if all __**[[: | Check if all __**[[: | ||
The default interval is 10 seconds.\\ | The default interval is 10 seconds.\\ | ||
Line 98: | Line 116: | ||
\\ | \\ | ||
- | ==== CS Node ID ==== | ||
- | Redirect all mobile commands with Node ID zero to the Command Station with this Node ID.\\ | ||
- | Mostly used in combination with __**[[: | ||
- | \\ | ||
===== FLAT Addressing ===== | ===== FLAT Addressing ===== | ||
CBUS addressing is **[[: | CBUS addressing is **[[: | ||
Line 111: | Line 125: | ||
\\ | \\ | ||
- | ===== Resources ===== | ||
- | |||
- | ==== Kits & PCBs ==== | ||
- | * http:// | ||
- | * http:// | ||
cbus-en.1594584736.txt.gz · Last modified: 2020/07/12 22:12 by rjversluis