Appendix B and C defines
This commit is contained in:
parent
0124123a71
commit
a18501f607
82
rdm/rdm.h
82
rdm/rdm.h
|
@ -462,5 +462,87 @@ using namespace DMX;
|
|||
static const uint16_t NR_PROXY_BUFFER_FULL = 0x000A;
|
||||
|
||||
|
||||
/// Appendix B: Status Message ID’s (Normative)
|
||||
/// %d Decimal Number -- as decimal number
|
||||
/// %x Hexadecimal Number -- as hexadecimal number
|
||||
/// %L Slot Label Code -- as text description of Slot Label Code
|
||||
static const uint16_t STS_CAL_FAIL = 0x0001; //!< “%L failed calibration”
|
||||
static const uint16_t STS_SENS_NOT_FOUND = 0x0002; //!< “%L sensor not found”
|
||||
static const uint16_t STS_SENS_ALWAYS_ON = 0x0003; //!< “%L sensor always on”
|
||||
static const uint16_t STS_LAMP_DOUSED = 0x0011; //!< “Lamp doused”
|
||||
static const uint16_t STS_LAMP_STRIKE = 0x0012; //!< “Lamp failed to strike”
|
||||
static const uint16_t STS_OVERTEMP = 0x0021; //!< “Sensor %d over temp at %d degrees C”
|
||||
static const uint16_t STS_UNDERTEMP = 0x0022; //!< “Sensor %d under temp at %d degrees C”
|
||||
static const uint16_t STS_SENS_OUT_RANGE = 0x0023; //!< “Sensor %d out of range”
|
||||
static const uint16_t STS_OVERVOLTAGE_PHASE = 0x0031; //!< “Phase %d over voltage at %d V.”
|
||||
static const uint16_t STS_UNDERVOLTAGE_PHASE = 0x0032; //!< “Phase %d under voltage at %d V.”
|
||||
static const uint16_t STS_OVERCURRENT = 0x0033; //!< “Phase %d over current at %d A.”
|
||||
static const uint16_t STS_UNDERCURRENT = 0x0034; //!< “Phase %d under current at %d A.”
|
||||
static const uint16_t STS_PHASE = 0x0035; //!< “Phase %d is at %d degrees”
|
||||
static const uint16_t STS_PHASE_ERROR = 0x0036; //!< “Phase %d Error.”
|
||||
static const uint16_t STS_AMPS = 0x0037; //!< “%d Amps”
|
||||
static const uint16_t STS_VOLTS = 0x0038; //!< “%d Volts”
|
||||
static const uint16_t STS_DIMSLOT_OCCUPIED = 0x0041; //!< “No Dimmer”
|
||||
static const uint16_t STS_BREAKER_TRIP = 0x0042; //!< “Tripped Breaker”
|
||||
static const uint16_t STS_WATTS = 0x0043; //!< “%d Watts”
|
||||
static const uint16_t STS_DIM_FAILURE = 0x0044; //!< “Dimmer Failure”
|
||||
static const uint16_t STS_DIM_PANIC = 0x0045; //!< “Panic Mode”
|
||||
static const uint16_t STS_READY = 0x0050; //!< “%L ready”
|
||||
static const uint16_t STS_NOT_READY = 0x0051; //!< “%L not ready”
|
||||
static const uint16_t STS_LOW_FLUID = 0x0052; //!< “%L low fluid”
|
||||
|
||||
|
||||
/// Appendix C: Slot Info (Normative)
|
||||
|
||||
/// Table C-1: Slot Type
|
||||
static const uint8_t ST_PRIMARY = 0x00; //!< Slot directly controls parameter (represents Coarse for 16-bit parameters)
|
||||
static const uint8_t ST_SEC_FINE = 0x01; //!< Fine, for 16-bit parameters
|
||||
static const uint8_t ST_SEC_TIMING = 0x02; //!< Slot sets timing value for associated parameter
|
||||
static const uint8_t ST_SEC_SPEED = 0x03; //!< Slot sets speed/velocity for associated parameter
|
||||
static const uint8_t ST_SEC_CONTROL = 0x04; //!< Slot provides control/mode info for parameter
|
||||
static const uint8_t ST_SEC_INDEX = 0x05; //!< Slot sets index position for associated parameter
|
||||
static const uint8_t ST_SEC_ROTATION = 0x06; //!< Slot sets rotation speed for associated parameter
|
||||
static const uint8_t ST_SEC_INDEX_ROTATE = 0x07; //!< Combined index/rotation control
|
||||
static const uint8_t ST_SEC_UNDEFINED = 0xff; //!< Undefined secondary type
|
||||
|
||||
/// Table C-2: Slot ID Definitions
|
||||
/// Intensity Functions
|
||||
static const uint16_t SD_INTENSITY = 0x0001;
|
||||
static const uint16_t SD_INTENSITY_MASTER = 0x0002;
|
||||
/// Movement Functions
|
||||
static const uint16_t SD_PAN = 0x0101;
|
||||
static const uint16_t SD_TILT = 0x0102;
|
||||
/// Color Functions
|
||||
static const uint16_t SD_COLOR_WHEEL = 0x0201;
|
||||
static const uint16_t SD_COLOR_SUB_CYAN = 0x0202;
|
||||
static const uint16_t SD_COLOR_SUB_YELLOW = 0x0203;
|
||||
static const uint16_t SD_COLOR_SUB_MAGENTA = 0x0204;
|
||||
static const uint16_t SD_COLOR_ADD_RED = 0x0205;
|
||||
static const uint16_t SD_COLOR_ADD_GREEN = 0x0206;
|
||||
static const uint16_t SD_COLOR_ADD_BLUE = 0x0207;
|
||||
static const uint16_t SD_COLOR_CORRECTION = 0x0208;
|
||||
static const uint16_t SD_COLOR_SCROLL = 0x0209;
|
||||
static const uint16_t SD_COLOR_SEMAPHORE = 0x0210;
|
||||
/// Image Functions
|
||||
static const uint16_t SD_STATIC_GOBO_WHEEL = 0x0301;
|
||||
static const uint16_t SD_ROTO_GOBO_WHEEL = 0x0302;
|
||||
static const uint16_t SD_PRISM_WHEEL = 0x0303;
|
||||
static const uint16_t SD_EFFECTS_WHEEL = 0x0304;
|
||||
/// Beam Functions
|
||||
static const uint16_t SD_BEAM_SIZE_IRIS = 0x0401;
|
||||
static const uint16_t SD_EDGE = 0x0402;
|
||||
static const uint16_t SD_FROST = 0x0403;
|
||||
static const uint16_t SD_STROBE = 0x0404;
|
||||
static const uint16_t SD_ZOOM = 0x0405;
|
||||
static const uint16_t SD_FRAMING_SHUTTER = 0x0406;
|
||||
static const uint16_t SD_SHUTTER_ROTATE = 0x0407;
|
||||
static const uint16_t SD_DOUSER = 0x0408;
|
||||
static const uint16_t SD_BARN_DOOR = 0x0409;
|
||||
/// Control Functions
|
||||
static const uint16_t SD_LAMP_CONTROL = 0x0501;
|
||||
static const uint16_t SD_FIXTURE_CONTROL = 0x0502;
|
||||
static const uint16_t SD_FIXTURE_SPEED = 0x0503;
|
||||
static const uint16_t SD_MACRO = 0x0504;
|
||||
static const uint16_t SD_UNDEFINED = 0xffff;
|
||||
|
||||
} // namespace RDM
|
||||
|
|
Loading…
Reference in New Issue