ArtNet

ST_ArtPOLLREPLY_Frame

TYPE ST_ArtPOLLREPLY_Frame:
STRUCT
   aPreamble        : ARRAY [0..7] OF BYTE; (*'Art-Net' 0x00*)
   aOpCode          : ARRAY [0..1] OF BYTE; (*OpDmx,transmitted low byte first – see E_ArtNet_OpCodes*)
   aIP              : ARRAY [0..3] OF BYTE; (*Array containing the Node’s IP address*)
   aPort            : ARRAY [0..1] OF BYTE; (*The value of the used UDP Port, should always be 0x1936, transmitted low byte first.*)
   aVersionInfo     : ARRAY [0..1] OF BYTE; (*Node’s firmware revision number.*)
   nNetSwitch       : BYTE;                 (*Bits 14-8 of the 15 bit Port-Address are encoded into the bottom 7 bits of this field.*)
   nSubSwitch       : BYTE;                 (*Bits 7-4 of the 15 bit Port-Address are encoded into the bottom 4 bits of this field.*)
   aOem             : ARRAY [0..1] OF BYTE; (*The Oem describes the equipment vendor*)
   nUbeaVersion     : ARRAY [0..1] OF BYTE; (*This field contains the firmware version of the User Bios Extension Area (UBEA).)
   nStatus1         : BYTE;                 (*General Status register*)
   nESTA            : ARRAY [0..1] OF BYTE; (*The ESTA manufacturer code*)
   aShortName       : ARRAY [0..17] OF BYTE; (*Node’s short name*)
   aLongName        : ARRAY [0..63] OF BYTE; (*Node’s long name*)
   aNumPorts        : ARRAY [0..1] OF BYTE; (*The low byte describing the number of input or output ports. The maximum value is 4.*)
   aPortTypes       : ARRAY [0..3] OF BYTE; (*This array defines the operation and protocol of each channel.*)
   aGoodInput       : ARRAY [0..3] OF BYTE; (*This array defines input status of the node.*)
   aGoodOutput      : ARRAY [0..3] OF BYTE; (*This array defines output status of the node.*)
   aSwIn            : ARRAY [0..3] OF BYTE; (*Bits 3-0 of the 15 bit Port-Address for each of the 4 possible input ports are encoded into the low nibble.*)
   aSwOut           : ARRAY [0..3] OF BYTE; (*Bits 3-0 of the 15 bit Port-Address for each of the 4 possible output ports are encoded into the low nibble.*)
   nSwVideo         : BYTE;                 (*Set to 00 when video display is showing local data. Set to 01 when video is showing ethernet data.*)
   nSwMacro         : BYTE;                 (*If the Node supports macro key inputs, this byte represents the trigger values.*)
   nSwRemote        : BYTE;                 (*If the Node supports remote trigger inputs, this byte represents the trigger values.*)
   aSpare           : ARRAY [0..2] OF BYTE;
   nStyle           : BYTE;                 (*The Style code defines the equipment style of the device.*)
   aMAC             : ARRAY [0..5] OF BYTE; (*Node’s MAC-Address*)
   aBindIP          : ARRAY [0..3] OF BYTE; (*If this unit is part of a larger or modular product, this is the IP of the root device.*)
   nBindIndex       : BYTE;                 (*Set to zero if no binding, otherwise this number represents the order of bound devices*)
   nStatus2         : BYTE;                 (*Status register*)
END_STRUCT
END_TYPE

 

This structure is used for sending and receiving PollRepl-' telegrams. It matches the telegram described in the Art-Net™ specification (www.Art-Net.org.uk) under 'ArtPOLLREPLY'.