FB_sACN_Source

The FB_sACN_Source is a specialized TwinCAT 3 FUNCTION block designed TO generate AND transmit sACN (streaming ACN) data FOR a specific DMX universe. It automatically formats sACN packets with essential details like source name, unique ID, DMX channel values, AND sequence numbers, sending them AT a configurable period. BY integrating with an I_sAcnCommunicator INTERFACE, THIS block efficiently handles all the low-level UDP network communication AND socket management, allowing you TO focus purely on providing DMX data AND source configuration.

Inputs
|
Name |
Type |
Description |
|---|---|---|
|
sAcnCommunicator |
I_sAcnCommunicator |
Interface to the sACN communicator that handles network interactions. This is a required input for the source to function. |
|
Enable |
BOOL |
Boolean flag to enable or disable the source. |
|
SourceName |
STRING(63) |
Name of the source, used in sACN packets, limited to 63 characters. |
|
CID |
GUID |
Unique identifier (GUID) for the source. |
|
sAcnUniverse |
UINT |
Universe number for the sACN source. |
|
PacketPriority |
BYTE |
Priority level of the packets being sent, default is set to 100. |
|
SendingPeriod |
TIME |
Time interval for sending packets, default is 100 milliseconds. |
|
DmxChannels |
ARRAY [1..512] OF USINT |
Array of DMX channel values to be sent in the sACN packets |
Outputs
|
Name |
Type |
Description |
|---|---|---|
|
SentPackets |
UINT |
Number of packets successfully sent by the source. |