Post by john174 on May 7, 2021 4:58:58 GMT -5
Hi - I'm having issues getting the extended accessory protocol modes to work with the SC1.
I'm using JMRI on a Raspberry Pi with the Pi-SPROG command station - with the SC1 in Output address mode (CV29=192)
The normal modes (CV38 between 1 and 19) work fine by sending the appropriate ASON/ASOF CBUS commands (albeit I've found that I have to use an offset of 4 for the address - i.e. CV1=5 and CV9=0 represents a JMRI DCC hardware address of 1 - and ensure I respect 8-address boundaries when configuring it - i.e. allowable base addresses are 1, 9, 17 etc).
However, I can't seem to get the extended accessory protocol modes to work - all aspects remain dark whatever I send it.
SC1 Configuration:
-Address mode - Output address mode (CV29=192)
-Hardware Address - (CV1=5 and CV9=0) - assume this will still represent a hardware address of 1 based on the above
-Decoder Type - 2x 4-aspect using extended accessory protocol (CV38=128)
JMRI Configuration
- Signal Head Type = DCC Signal Decoder
- System = SPROG DCC Generation 5
- Hardware Address = 1
- Offset Address - have tried both modes - checked and unchecked (see below)
Console output (offset unchecked):
JMRI > > CBUS | RDCC4 Repeat: 3 Data: 128 113 0 241 DCC 4 byte pkt (set to red) - Sent: (7f) A0 03 80 71 00 F1
JMRI > > CBUS | RDCC4 Repeat: 3 Data: 128 113 1 240 DCC 4 byte pkt (set to yellow) - Sent: (7f) A0 03 80 71 01 F0
JMRI > > CBUS | RDCC4 Repeat: 3 Data: 128 113 2 243 DCC 4 byte pkt (set to green) - Sent: (7f) A0 03 80 71 02 F3
Console output (offset checked):
JMRI > > CBUS | RDCC4 Repeat: 3 Data: 129 113 0 240 DCC 4 byte pkt (set to red) - Sent: (7f) A0 03 81 71 00 F0
JMRI > > CBUS | RDCC4 Repeat: 3 Data: 129 113 1 241 DCC 4 byte pkt (set to yellow) - Sent: (7f) A0 03 81 71 01 F1
JMRI > > CBUS | RDCC4 Repeat: 3 Data: 129 113 2 242 DCC 4 byte pkt (set to green) - Sent: (7f) A0 03 81 71 02 F2
Its worth noting that Andrew Crossland confirmed that the Pi-SPROG 3 does have code to support the RDCCx op codes on the SPROG support group
Regards
john
I'm using JMRI on a Raspberry Pi with the Pi-SPROG command station - with the SC1 in Output address mode (CV29=192)
The normal modes (CV38 between 1 and 19) work fine by sending the appropriate ASON/ASOF CBUS commands (albeit I've found that I have to use an offset of 4 for the address - i.e. CV1=5 and CV9=0 represents a JMRI DCC hardware address of 1 - and ensure I respect 8-address boundaries when configuring it - i.e. allowable base addresses are 1, 9, 17 etc).
However, I can't seem to get the extended accessory protocol modes to work - all aspects remain dark whatever I send it.
SC1 Configuration:
-Address mode - Output address mode (CV29=192)
-Hardware Address - (CV1=5 and CV9=0) - assume this will still represent a hardware address of 1 based on the above
-Decoder Type - 2x 4-aspect using extended accessory protocol (CV38=128)
JMRI Configuration
- Signal Head Type = DCC Signal Decoder
- System = SPROG DCC Generation 5
- Hardware Address = 1
- Offset Address - have tried both modes - checked and unchecked (see below)
Console output (offset unchecked):
JMRI > > CBUS | RDCC4 Repeat: 3 Data: 128 113 0 241 DCC 4 byte pkt (set to red) - Sent: (7f) A0 03 80 71 00 F1
JMRI > > CBUS | RDCC4 Repeat: 3 Data: 128 113 1 240 DCC 4 byte pkt (set to yellow) - Sent: (7f) A0 03 80 71 01 F0
JMRI > > CBUS | RDCC4 Repeat: 3 Data: 128 113 2 243 DCC 4 byte pkt (set to green) - Sent: (7f) A0 03 80 71 02 F3
Console output (offset checked):
JMRI > > CBUS | RDCC4 Repeat: 3 Data: 129 113 0 240 DCC 4 byte pkt (set to red) - Sent: (7f) A0 03 81 71 00 F0
JMRI > > CBUS | RDCC4 Repeat: 3 Data: 129 113 1 241 DCC 4 byte pkt (set to yellow) - Sent: (7f) A0 03 81 71 01 F1
JMRI > > CBUS | RDCC4 Repeat: 3 Data: 129 113 2 242 DCC 4 byte pkt (set to green) - Sent: (7f) A0 03 81 71 02 F2
Its worth noting that Andrew Crossland confirmed that the Pi-SPROG 3 does have code to support the RDCCx op codes on the SPROG support group
Regards
john