Click or drag to resize

OpCodes Enumeration

Specifies the OpCode as defined by Loconet.

Namespace:  RRAutoLib.Loconet
Assembly:  RRAutoLib (in RRAutoLib.dll) Version: 4.0.8678.28884
Syntax
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.
LOCO_XADR6Used by PkSetLocoAdrExp packet class.
SW_ACK7Not implemented.
SW_STATE8Used by PkGetSwitchState packet class.
RQ_SL_DATA9Used by PkReqSlotData packet class.
MOVE_SLOTS10Used by PkSlotMove packet class.
LINK_SLOTS11Used by PkSlotLink packet class.
UNLINK_SLOTS12Used by PkSlotUnlink packet class.
CONSIST_FUNC13Not implemented.
SLOT_STAT114Used by PkSlotStatus packet class.
LONG_ACK15Used by PkLongAck packet class.
INPUT_REP16Used by PkInput packet class.
SW_REP17Used by PkSwitchInput packet class.
SW_REQ18Used by PkSetSwitch packet class.
LOCO_F91219Used by PkSetSlotFunc9to12 packet class.
LOCO_SND20Used by PkSetSlotFunc5to8 packet class.
LOCO_DIRF21Used by PkSetSlotDirFunc packet class.
LOCO_SPD22Used by PkSetSlotSpeed packet class.
MULTI_SENSE23Used by PkMultiSense packet class.
EXP_CMD24Used by PkSlotCommand packet class.
SAFE_COMMANDS25Used by PkLocoCommand packet class.
SL_RD_DATA26Used by PkRdWrSlotData packet class.
WR_SL_DATA27Used by PkRdWrSlotData packet class.
SL_RD_DATA_EXP28Used by PkRdWrSlotDataExp packet class.
WR_SL_DATA_EXP29Used by PkRdWrSlotDataExp packet class.
PEER_XFER30Used by PkPeerXfer packet class.
THROT_STAT31Not implemented.
FIND32Used by PkFind packet class.
SE33Used by PkSecurityElem packet class.
LISSY34Used by PkLissy packet class.
IMM_PACKET35Used by PkImmediate packet class.
SPCL_OEM36Used 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