ST_ArtDMX_Frame
TYPE ST_ArtDMX_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*)
aProtocolVersion : ARRAY [0..1] OF BYTE; (*The Art-Net protocol revision number*)
nSequence : BYTE; (*The sequence number is used to ensure that ArtDmx packets are used in the correct order.*)
nPhysical : BYTE; (*The physical input port from which DMX512 data was input.*)
nSubUni : BYTE; (*The low byte of the 15 bit Port-Address to which this packet is destined.*)
nNet : BYTE; (*The top 7 bits of the 15 bit Port-Address to which this packet is destined.*)
aLenght : ARRAY [0..1] OF BYTE; (*Length of the data array - should be an even number in the range 2–512.*)
aData : ARRAY [0..1] OF BYTE; (*array of DMX data*)
END_STRUCT
END_TYPE
This structure is used for sending and receiving DMX data. It matches the telegram described in the Art-Net™ specification (www.Art-Net.org.uk) under 'ArtDMX'.