Add attribute TcLinkTo to the LEDs outputs

As all shutter OP are the same, it is safe to add the TcLinkTo attribute in the
outputs for the LEDs.

modified:   solution/tc_project_app/POUs/Application_Specific/Applications/Shutter_Operator_panel_Template.TcPOU
This commit is contained in:
Federico Rojas
2025-04-02 13:36:42 +02:00
parent 337762b88f
commit 50a58a9d72

View File

@@ -3,13 +3,18 @@
<POU Name="Shutter_Operator_panel_Template" Id="{09741edf-58a0-0d9d-0563-de91fec8904d}" SpecialFunc="None">
<Declaration><![CDATA[PROGRAM Shutter_Operator_panel_Template
VAR
//Variables used to control the LEDs of the Safety Shutter Operator panel
(*bExtendedLight AT %Q*: BOOL; //Power output for Open position + LED
(*//Variables used to control the LEDs of the Safety Shutter Operator panel
{attribute 'TcLinkTo' := 'TIID^Device 1 (EtherCAT)^KF201 (EK1200)^KF217 (EK1521)^KF01 (EK1501-0100)^KF03 (EL2014)^DIG Outputs^Channel 1^Output'}
bExtendedLight AT %Q*: BOOL; //Power output for Open position + LED
{attribute 'TcLinkTo' := 'TIID^Device 1 (EtherCAT)^KF201 (EK1200)^KF217 (EK1521)^KF01 (EK1501-0100)^KF03 (EL2014)^DIG Outputs^Channel 3^Output'}
bRetractedLight AT %Q*: BOOL; //Power output for Close position + LED
{attribute 'TcLinkTo' := 'TIID^Device 1 (EtherCAT)^KF201 (EK1200)^KF217 (EK1521)^KF01 (EK1501-0100)^KF03 (EL2014)^DIG Outputs^Channel 2^Output'}
bMovingLight AT %Q*: BOOL; //Power output for cylinder Moving LED
{attribute 'TcLinkTo' := 'TIID^Device 1 (EtherCAT)^KF201 (EK1200)^KF217 (EK1521)^KF01 (EK1501-0100)^KF04 (EL2014)^DIG Outputs^Channel 1^Output'}
bNoPermitLight AT %Q*: BOOL; //Power output for No permit LED
{attribute 'TcLinkTo' := 'TIID^Device 1 (EtherCAT)^KF201 (EK1200)^KF217 (EK1521)^KF01 (EK1501-0100)^KF04 (EL2014)^DIG Outputs^Channel 2^Output'}
bErrorLight AT %Q*: BOOL; //Power output for Error LED
*)
*)
END_VAR
]]></Declaration>
<Implementation>