FB_sACN_ReceiverAndMerger

FB_sACN_ReceiverAndMerger 1:

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.

FB_sACN_ReceiverAndMerger 2:

FB_sACN_ReceiverAndMerger 3: 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).

FB_sACN_ReceiverAndMerger 4: 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.