Specifies the OpCode as defined by Loconet.

Namespace: RRAutoLib.Loconet
Assembly: RRAutoLib (in RRAutoLib.dll) Version: 1.4.4420.16901

Syntax

C#
public enum OpCodes
Visual Basic
Public Enumeration OpCodes

Members

Member nameValueDescription
None0Used by PkUnknown packet class.
IDLE1Used by PkSetEmergStop packet class.
GPON2Used by PkSetPowerOn packet class.
GPOFF3Used by PkSetPowerOff packet class.
BUSY4Used by PkBusy packet class.
LOCO_ADR5Used by PkSetLocoAdr packet class.
SW_ACK6Not implemented.
SW_STATE7Used by PkGetSwitchState packet class.
RQ_SL_DATA8Used by PkReqSlotData packet class.
MOVE_SLOTS9Used by PkSlotMove packet class.
LINK_SLOTS10Used by PkSlotLink packet class.
UNLINK_SLOTS11Used by PkSlotUnlink packet class.
CONSIST_FUNC12Not implemented.
SLOT_STAT113Used by PkStatus packet class.
LONG_ACK14Used by PkLongAck packet class.
INPUT_REP15Used by PkInput packet class.
SW_REP16Used by PkSwitchInput packet class.
SW_REQ17Used by PkSetSwitch packet class.
LOCO_F91218Used by PkSetSlotFunc9to12 packet class.
LOCO_SND19Used by PkSetSlotFunc5to8 packet class.
LOCO_DIRF20Used by PkSetSlotDirFunc packet class.
LOCO_SPD21Used by PkSetSlotSpeed packet class.
MULTI_SENSE22Used by PkMultiSense packet class.
WR_SL_DATA23Used by PkRdWrSlotData packet class.
SL_RD_DATA24Used by PkRdWrSlotData packet class.
PEER_XFER25Used by PkPeerXfer packet class.
THROT_STAT26Not implemented.
FIND27Used by PkFind packet class.
SE28Used by PkSecurityElem packet class.
IMM_PACKET29Used by PkImmediate packet class.
SPCL_OEM30Used by PkSpecialOem packet class.

Remarks

This enumeration is used by Packet classes. It represents a code identifier which defines a packet type and its command function as it relates to Loconet.

See Also