FB_sACN_ReceiverAndMerger

The FB_sACN_ReceiverAndMerger functional block extends the capabilities of FB_sACN_Receiver by adding functionality to merge DMX values from multiple sources according to specified merge rules.
The block manages active sources by maintaining an array of received sources. It checks for timeouts, updates source details, and removes sources when they are no longer active.

Inputs
|
Name |
Type |
Description |
|---|---|---|
|
Enable |
BOOL |
Boolean flag to enable or disable the receiver. |
|
sAcnCommunicator |
I_sAcnCommunicator |
Interface to the sACN communicator that handles network interactions. This is a required input for the receiver to function. |
|
sAcnUniverse |
UINT |
Universe number to listen for sACN data packets. |
|
MergeRule |
E_DmxMergeRules |
Rule for merging DMX values from multiple sources. Default is set to LVP (Latest Value Priority). |
Outputs
|
Name |
Type |
Description |
|---|---|---|
|
isListening |
BOOL |
Indicates whether the multicast address is added to the sACN_Communicator network adapter. |
|
isBindedToExtArray |
BOOL |
Indicates if the receiver is bound to an external DMX array. |
|
ReceiveCounter |
UINT |
Count of the number of packets received. |
|
RecievedPacket |
U_sACN_Packet |
Last received sACN packet. |
|
ActiveSources |
ARRAY [1..sACN_Params.MAX_RECEIVED_SOURCES] OF ST_ReceivedSource |
Array holding information about active sources currently being received. |