Class TwoIndexTcsProgrammerFacade

java.lang.Object
jmri.jmrix.AbstractProgrammerFacade
jmri.implementation.TwoIndexTcsProgrammerFacade
All Implemented Interfaces:
EventListener, ProgListener, Programmer

public class TwoIndexTcsProgrammerFacade
extends AbstractProgrammerFacade
implements ProgListener
Programmer facade for single index multi-CV access.

Used through the String write/read/confirm interface. Accepts address formats:

  • T2CV.11.12
    The write operation writes 11 to the first index CV (201), 12 to the 2nd index CV (202), then writes the data to CV 203 (MSB) and 204 (LSB).
    The read operation is slightly different, writing 111 (100+11) to CV201, then 12 to the 2nd index CV (202), then writes 100 to CV204, then reads the two values from CV203 and CV204.
  • T3CV.11.12.13
    The write operation writes 11 to the first index CV (201), the data to the 2nd index CV (202), then writes 12 to CV203 and 13 to CV204.
    The read operation writes 11 to CV201, then 12 to CV203, then 13 to CV204, then reads from CV202.
All others pass through to the next facade or programmer. E.g. 123 will do a write/read/confirm to 123, or some other facade can provide "normal" indexed addressing.
See Also:
ProgrammerFacadeSelector