Linking hardware using attributes

Using the attribute “TcLinkTo”, hardware terminals can be connected the raw value and raw state variables. To determine the TIID path, navigate to the terminal and copy the path.

Example:

{attribute 'TcLinkTo' :=
    '.nRawVal := TIID^Device 2 (EtherCAT)^Term 1 (EK1200)^Term 4 (EL3214)^RTD Inputs Channel 1^Value;
     .nRawState := TIID^Device 2 (EtherCAT)^Term 1 (EK1200)^Term 4 (EL3214)^RTD Inputs Channel 1^Status' }
fbAi_IO : FB_BACnet_AI_IO := (
    fMinPresValue := -150.0,
    fMaxPresValue := 150.0
);

The links established using this procedure are shown as green arrow symbols in the system manager.