Industry Automation and Control Forum
This forum is addressing industrial automation design & engineering, operations, asset performance, cyber security and digital transformation for Plants & Machines.
Posted: 2020-03-24 05:49 PM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-03-24 05:49 PM
Hi,
Has anyone else had the following issue with Control Expert V14.1?
When updating the definition of a DFB, the instances of the DFB don't update correctly?
I've attached two examples of this:
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-03-24 06:19 PM
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-03-25 01:42 AM
I did the test and I don't encounter the issue.
Did you try to export the DFB and import It,?
After exporting the DFB you could edit the file and see if there is no issue in the XML, like strange characters...
You could also create a new DFB, and copy paste the code from the old one to the new one and use the replace function to overvome the issue.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-03-25 01:51 AM
I have not seen this issue. Can you share you're application so I can check on my system?
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-03-25 09:13 PM
Apologies I should have elaborate.
This doesn't happen every time but it does happen frequently enough to have become annoying.
To resolve the issue I use the "Replace FFB..." function and replace it with itself.
I have exported the DFB (attached in next message as I can't attach multiple items) and cannot see any issues with the XML.
As there doesn't appear to be any issues with the XML and replacing the FFB with itself seemingly resolves the issue it would indicate that it is an error with the FBD Editor and not the DFB itself.
The latest occurrence of this issue (screenshot attached) showed a squiggly line underneath a tag on a pin, However, the program built without issue. I resolved this by replacing the DFB with itself which then caused the tag with the squiggly underline to vanish.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-03-25 09:16 PM
Latest DFB with issue. (Note: Couldn't add it as an attachment)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<FBExchangeFile>
<fileHeader company="Schneider Automation" product="Control Expert V14.1 - 191122A" dateTime="date_and_time#2020-3-26-15:4:0" content="Function Block source file" DTDVersion="41"></fileHeader>
<contentHeader name="DPT1" version="0.0.157" dateTime="date_and_time#2020-3-26-15:57:22"></contentHeader>
<FBSource nameOfFBType="EXCESSIVE_FILL_TIME_CALCULATION" version="0.08" dateTime="dt#2020-03-26-15:03:27">
<comment>Fuel Oil System</comment>
<attribute name="TypeCodeCheckSumString"></attribute>
<attribute name="TypeSignatureCheckSumString" value="A5E7"></attribute>
<attribute name="TypeDataDicSubfieldsCount" value="723"></attribute>
<inputParameters>
<variables name="DAY_TANK" typeName="ARRAY[0..2] OF DAY_TANK_STATE">
<attribute name="PositionPin" value="4"></attribute>
</variables>
<variables name="PUMP_SET_1_VALVES" typeName="ARRAY[0..2] OF VALVE_STATE">
<attribute name="PositionPin" value="8"></attribute>
</variables>
<variables name="PUMP_SET_2_VALVES" typeName="ARRAY[0..2] OF VALVE_STATE">
<attribute name="PositionPin" value="9"></attribute>
</variables>
<variables name="NUMBER_OF_DAY_TANKS" typeName="INT">
<attribute name="PositionPin" value="1"></attribute>
</variables>
<variables name="NUMBER_OF_PUMPS" typeName="INT">
<attribute name="PositionPin" value="2"></attribute>
</variables>
<variables name="PUMP" typeName="ARRAY[0..3] OF FUEL_PUMP_MANAGEMENT_STATE">
<attribute name="PositionPin" value="6"></attribute>
</variables>
</inputParameters>
<privateLocalVariables>
<variables name="i" typeName="INT"></variables>
</privateLocalVariables>
<FBProgram name="Main">
<STSource>FOR i := 0 TO NUMBER_OF_DAY_TANKS - 1 DO
(*-------------------------------------------------------------------------------------------------
Set the required Valve Commands
-------------------------------------------------------------------------------------------------*)
IF Active_Pump_Status.Day_Tank_Top_Up_Request[i] THEN
Valve_Commands[i].Open_Valve := TRUE;
Valve_Commands[i].Close_Valve := FALSE;
ELSE
Valve_Commands[i].Open_Valve := FALSE;
Valve_Commands[i].Close_Valve := TRUE;
END_IF;
(*-------------------------------------------------------------------------------------------------
Check that all Day Tank Valves are in the correct positions
depending on which Day Tanks are requesting a Top Up
-------------------------------------------------------------------------------------------------*)
IF Active_Pump_Status.Day_Tank_Top_Up_Request[i] THEN
IF PUMP_SET_INLET_VALVES[i].Open THEN
Valves_in_Required_Position[i] := TRUE;
END_IF;
IF PUMP_SET_INLET_VALVES[i].Closed THEN
Valves_in_Required_Position[i] := FALSE;
END_IF;
ELSE
IF PUMP_SET_INLET_VALVES[i].Open THEN
Valves_in_Required_Position[i] := FALSE;
END_IF;
IF PUMP_SET_INLET_VALVES[i].Closed THEN
Valves_in_Required_Position[i] := TRUE;
END_IF;
END_IF;
END_FOR;
</STSource>
</FBProgram>
</FBSource>
<DDTSource DDTName="DAY_TANK_STATE" version="0.30" dateTime="dt#2020-03-25-08:50:04">
<comment>Fuel Oil System</comment>
<attribute name="TypeSignatureCheckSumString" value="861E"></attribute>
<attribute name="TypeDataDicSubfieldsCount" value="104"></attribute>
<structure>
<variables name="Automatic_Top_Up_Request_Active" typeName="BOOL"></variables>
<variables name="Common_Fault" typeName="BOOL"></variables>
<variables name="Fire_Link_Status" typeName="FIRE_LINK_STATE"></variables>
<variables name="Fuel_Capacity" typeName="INT"></variables>
<variables name="Fuel_Level" typeName="INT"></variables>
<variables name="Fuel_Level_Percentage" typeName="REAL"></variables>
<variables name="Fuel_Level_Sensor_Above_Low" typeName="BOOL"></variables>
<variables name="Fuel_Level_Sensor_Below_Low" typeName="BOOL"></variables>
<variables name="Fuel_Level_Sensor_Healthy" typeName="BOOL"></variables>
<variables name="Generator_Running" typeName="BOOL"></variables>
<variables name="Generator_Stopped" typeName="BOOL"></variables>
<variables name="Inhibited_by_Interlock" typeName="BOOL"></variables>
<variables name="Inputs_Ok" typeName="BOOL"></variables>
<variables name="Interstitial_Space_Leak_Detected" typeName="BOOL"></variables>
<variables name="Interstitial_Space_Leak_Not_Detected" typeName="BOOL"></variables>
<variables name="Level_Switches" typeName="DAY_TANK_LEVEL_SWITCHES_STATE"></variables>
<variables name="Manual_Top_Up_Request_Active" typeName="BOOL"></variables>
<variables name="Panel_Top_Up_Button_Not_Pressed" typeName="BOOL"></variables>
<variables name="Panel_Top_Up_Button_Pressed" typeName="BOOL"></variables>
<variables name="Ready_to_Operate" typeName="BOOL"></variables>
<variables name="Recirculation_Valve_Status" typeName="VALVE_STATE"></variables>
<variables name="Room_Bund_Leak_Detected" typeName="BOOL"></variables>
<variables name="Room_Bund_Leak_Not_Detected" typeName="BOOL"></variables>
<variables name="Supply_Valve_1_Status" typeName="VALVE_STATE"></variables>
<variables name="Supply_Valve_2_Status" typeName="VALVE_STATE"></variables>
<variables name="Top_Up_Request_Active" typeName="BOOL"></variables>
</structure>
</DDTSource>
<DDTSource DDTName="FIRE_LINK_STATE" version="0.03" dateTime="dt#2020-03-17-11:04:40">
<comment>Fuel Oil System</comment>
<attribute name="TypeSignatureCheckSumString" value="B73F"></attribute>
<attribute name="TypeDataDicSubfieldsCount" value="4"></attribute>
<structure>
<variables name="Inputs_Ok" typeName="BOOL"></variables>
<variables name="Not_Tripped" typeName="BOOL"></variables>
<variables name="Tripped" typeName="BOOL"></variables>
</structure>
</DDTSource>
<DDTSource DDTName="DAY_TANK_LEVEL_SWITCHES_STATE" version="0.06" dateTime="dt#2020-03-18-17:08:22">
<comment>Fuel Oil System</comment>
<attribute name="TypeSignatureCheckSumString" value="D61B"></attribute>
<attribute name="TypeDataDicSubfieldsCount" value="12"></attribute>
<structure>
<variables name="Above_High" typeName="BOOL"></variables>
<variables name="Above_Low" typeName="BOOL"></variables>
<variables name="Above_Low_Low" typeName="BOOL"></variables>
<variables name="Above_Pump_Start" typeName="BOOL"></variables>
<variables name="Above_Pump_Stop" typeName="BOOL"></variables>
<variables name="Below_High" typeName="BOOL"></variables>
<variables name="Below_Low" typeName="BOOL"></variables>
<variables name="Below_Low_Low" typeName="BOOL"></variables>
<variables name="Below_Pump_Start" typeName="BOOL"></variables>
<variables name="Below_Pump_Stop" typeName="BOOL"></variables>
<variables name="Feedback_Discrepancy_Fault" typeName="BOOL"></variables>
</structure>
</DDTSource>
<DDTSource DDTName="VALVE_STATE" version="0.40" dateTime="dt#2020-03-25-08:50:04">
<comment>Fuel Oil System</comment>
<attribute name="TypeSignatureCheckSumString" value="91DE"></attribute>
<attribute name="TypeDataDicSubfieldsCount" value="22"></attribute>
<structure>
<variables name="Close_Command" typeName="BOOL"></variables>
<variables name="Close_Command_Feedback" typeName="BOOL"></variables>
<variables name="Closed" typeName="BOOL">
<comment>Valve Closed</comment>
</variables>
<variables name="Common_Fault" typeName="BOOL"></variables>
<variables name="Default_Closed" typeName="BOOL"></variables>
<variables name="Failed_to_Close" typeName="BOOL"></variables>
<variables name="Failed_to_Open" typeName="BOOL"></variables>
<variables name="Feedback_Discrepancy_Fault" typeName="BOOL"></variables>
<variables name="HMI_Auto" typeName="BOOL"></variables>
<variables name="HMI_Auto_Ready_to_Operate" typeName="BOOL"></variables>
<variables name="HMI_Manual" typeName="BOOL"></variables>
<variables name="Inhibited_by_Interlock" typeName="BOOL"></variables>
<variables name="Inputs_OK" typeName="BOOL"></variables>
<variables name="Local" typeName="BOOL"></variables>
<variables name="New_Fail_to_Operate_Alarm" typeName="BOOL"></variables>
<variables name="Open" typeName="BOOL"></variables>
<variables name="Open_Command" typeName="BOOL"></variables>
<variables name="Open_Command_Feedback" typeName="BOOL"></variables>
<variables name="Outputs_OK" typeName="BOOL"></variables>
<variables name="Ready_to_Operate" typeName="BOOL"></variables>
<variables name="Remote" typeName="BOOL">
<comment>Valve Remote Control Selected</comment>
</variables>
</structure>
</DDTSource>
<DDTSource DDTName="FUEL_PUMP_MANAGEMENT_STATE" version="0.11" dateTime="dt#2020-03-25-15:01:02">
<comment>Fuel Oil System</comment>
<attribute name="TypeSignatureCheckSumString" value="D29B"></attribute>
<attribute name="TypeDataDicSubfieldsCount" value="68"></attribute>
<structure>
<variables name="Day_Tank_Top_Up_Request" typeName="ARRAY[0..2] OF BOOL"></variables>
<variables name="Duty" typeName="INT"></variables>
<variables name="Excessive_Fill_Time_Faults" typeName="ARRAY[0..2] OF BOOL"></variables>
<variables name="Excessive_Fill_Time_Fault_Count" typeName="INT"></variables>
<variables name="Index" typeName="INT"></variables>
<variables name="Index_of_Pair_Pump" typeName="INT"></variables>
<variables name="Priority" typeName="INT"></variables>
<variables name="Pump_Start_Request" typeName="BOOL"></variables>
<variables name="Pump_Status" typeName="FUEL_PUMP_STATE"></variables>
</structure>
</DDTSource>
<DDTSource DDTName="FUEL_PUMP_STATE" version="0.58" dateTime="dt#2020-03-25-09:23:49">
<comment>Fuel Oil System</comment>
<attribute name="TypeSignatureCheckSumString" value="00BD"></attribute>
<attribute name="TypeDataDicSubfieldsCount" value="53"></attribute>
<structure>
<variables name="Common_Fault" typeName="BOOL"></variables>
<variables name="Contactor_Closed" typeName="BOOL"></variables>
<variables name="Contactor_Failed_to_Close" typeName="BOOL"></variables>
<variables name="Contactor_Failed_to_Open" typeName="BOOL"></variables>
<variables name="Contactor_Open" typeName="BOOL"></variables>
<variables name="Current_Detected" typeName="BOOL"></variables>
<variables name="Current_Not_Detected" typeName="BOOL"></variables>
<variables name="Excessive_Fill_Time" typeName="BOOL"></variables>
<variables name="Failed_to_Start" typeName="BOOL"></variables>
<variables name="Failed_to_Stop" typeName="BOOL"></variables>
<variables name="Feedback_Discrepancy_Fault" typeName="BOOL"></variables>
<variables name="Fire_Link_Status" typeName="FIRE_LINK_STATE"></variables>
<variables name="Flow_Not_Detected" typeName="BOOL"></variables>
<variables name="Flow_Switch_Status" typeName="FUEL_FLOW_SWITCH_STATE"></variables>
<variables name="Fuel_Filter_Status" typeName="FUEL_FILTER_STATE"></variables>
<variables name="HMI_Auto" typeName="BOOL"></variables>
<variables name="HMI_Auto_Ready_to_Operate" typeName="BOOL"></variables>
<variables name="HMI_Manual" typeName="BOOL"></variables>
<variables name="Inhibited_by_Interlock" typeName="BOOL"></variables>
<variables name="Inputs_OK" typeName="BOOL"></variables>
<variables name="Isolator_Closed" typeName="BOOL"></variables>
<variables name="Isolator_Open" typeName="BOOL"></variables>
<variables name="Local_Mode" typeName="BOOL"></variables>
<variables name="Low_Flow" typeName="BOOL"></variables>
<variables name="Motor_Overload_Fault" typeName="BOOL"></variables>
<variables name="Motor_Overload_Healthy" typeName="BOOL"></variables>
<variables name="New_Fail_to_Operate_Alarm" typeName="BOOL"></variables>
<variables name="Off_Mode" typeName="BOOL"></variables>
<variables name="Outputs_OK" typeName="BOOL"></variables>
<variables name="Pump_Bund_Status" typeName="FUEL_PUMP_BUND_STATE"></variables>
<variables name="Ready_to_Operate" typeName="BOOL"></variables>
<variables name="Remote_Mode" typeName="BOOL"></variables>
<variables name="Running" typeName="BOOL">
<comment>Pump is Running</comment>
</variables>
<variables name="Start_Command_Active" typeName="BOOL"></variables>
<variables name="Start_Command_Inactive" typeName="BOOL"></variables>
<variables name="Stopped" typeName="BOOL">
<comment>Pump is Stopped</comment>
</variables>
</structure>
</DDTSource>
<DDTSource DDTName="FUEL_FLOW_SWITCH_STATE" version="0.02" dateTime="dt#2020-03-13-12:45:09">
<comment>Fuel Oil System</comment>
<attribute name="TypeSignatureCheckSumString" value="1F0D"></attribute>
<attribute name="TypeDataDicSubfieldsCount" value="4"></attribute>
<structure>
<variables name="Flow_Detected" typeName="BOOL"></variables>
<variables name="Flow_Not_Detected" typeName="BOOL"></variables>
<variables name="Inputs_Ok" typeName="BOOL"></variables>
</structure>
</DDTSource>
<DDTSource DDTName="FUEL_FILTER_STATE" version="0.02" dateTime="dt#2020-03-17-11:04:57">
<comment>Fuel Oil System</comment>
<attribute name="TypeSignatureCheckSumString" value="D5D0"></attribute>
<attribute name="TypeDataDicSubfieldsCount" value="4"></attribute>
<structure>
<variables name="Inputs_Ok" typeName="BOOL"></variables>
<variables name="Water_Detected" typeName="BOOL"></variables>
<variables name="Water_Not_Detected" typeName="BOOL"></variables>
</structure>
</DDTSource>
<DDTSource DDTName="FUEL_PUMP_BUND_STATE" version="0.04" dateTime="dt#2020-03-17-11:04:52">
<comment>Fuel Oil System</comment>
<attribute name="TypeSignatureCheckSumString" value="373A"></attribute>
<attribute name="TypeDataDicSubfieldsCount" value="8"></attribute>
<structure>
<variables name="Both_Sensors_Detect_Liquid" typeName="BOOL"></variables>
<variables name="Sensor_1_Inputs_Ok" typeName="BOOL"></variables>
<variables name="Sensor_1_Liquid_Detected" typeName="BOOL"></variables>
<variables name="Sensor_1_Liquid_Not_Detected" typeName="BOOL"></variables>
<variables name="Sensor_2_Inputs_Ok" typeName="BOOL"></variables>
<variables name="Sensor_2_Liquid_Detected" typeName="BOOL"></variables>
<variables name="Sensor_2_Liquid_Not_Detected" typeName="BOOL"></variables>
</structure>
</DDTSource>
</FBExchangeFile>
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-03-26 02:18 AM
I have copied this code to notepad and saved as DFB.XDB file. This file imported to an empty (new) project. Then the I have a lot of errors (39), of undefined variables and structures.
Did you perform this test yourself, (export DFB and import into a new project)?
If you have the same issue, please create a case at your Schneider Electric support desk
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-03-26 03:38 PM
Yes, there is a number of errors as I was in the process of creating the DFB and hadn't got it to a buildable stage when the issue occured. The export that I provided is the exact state of the DFB when the error occurred.
If you remove all of the code in the ST section it should compile (from memory).
As I've said in a previous comment the DFB itself appears to be fine as when I replace the instance with itself the issue is resolved so it appears to be an issue with the FBD Editor itself.
Also how can I have two different instances of the same DFB that look completely different. Again this points to an issue with the FBD Editor.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-03-26 05:13 PM
Attached is another screenshot of another permutation of this issue.
As you can see there are pin descriptions overlapping each other.
What is more concerning is that I was able to build the program without error (as shown in screenshot).
Below is the XML of the DFB:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<FBExchangeFile>
<fileHeader company="Schneider Automation" product="Control Expert V14.1 - 191122A" dateTime="date_and_time#2020-3-27-11:13:36" content="Function Block source file" DTDVersion="41"></fileHeader>
<contentHeader name="DPT1" version="0.0.169" dateTime="date_and_time#2020-3-26-15:57:22"></contentHeader>
<FBSource nameOfFBType="EXCESSIVE_FILL_TIME_CALCULATION" version="0.23" dateTime="dt#2020-03-27-11:08:44">
<comment>Fuel Oil System</comment>
<attribute name="TypeCodeCheckSumString" value="C74E"></attribute>
<attribute name="TypeSignatureCheckSumString" value="D663"></attribute>
<attribute name="TypeDataDicSubfieldsCount" value="767"></attribute>
<inputParameters>
<variables name="NUMBER_OF_PUMP_SETS" typeName="INT">
<attribute name="PositionPin" value="5"></attribute>
</variables>
<variables name="PUMP_SET_1_VALVES" typeName="ARRAY[0..2] OF VALVE_STATE">
<attribute name="PositionPin" value="7"></attribute>
</variables>
<variables name="PUMP_SET_2_VALVES" typeName="ARRAY[0..2] OF VALVE_STATE">
<attribute name="PositionPin" value="8"></attribute>
</variables>
<variables name="SYS_PARAMS" typeName="SYSTEM_PARAMS">
<attribute name="PositionPin" value="1"></attribute>
</variables>
<variables name="NUMBER_OF_DAY_TANKS" typeName="INT">
<attribute name="PositionPin" value="3"></attribute>
</variables>
<variables name="NUMBER_OF_PUMPS" typeName="INT">
<attribute name="PositionPin" value="4"></attribute>
</variables>
</inputParameters>
<inOutParameters>
<variables name="DAY_TANK" typeName="ARRAY[0..2] OF DAY_TANK_MANAGEMENT_STATE">
<attribute name="PositionPin" value="10"></attribute>
</variables>
<variables name="PUMP" typeName="ARRAY[0..3] OF FUEL_PUMP_MANAGEMENT_STATE">
<attribute name="PositionPin" value="11"></attribute>
</variables>
</inOutParameters>
<privateLocalVariables>
<variables name="i" typeName="INT"></variables>
<variables name="Pump_Set_Pump_Running" typeName="ARRAY[0..1] OF BOOL"></variables>
<variables name="Index_of_Pump_Set" typeName="INT"></variables>
<variables name="j" typeName="INT"></variables>
</privateLocalVariables>
<FBProgram name="Main">
<STSource>
(*-------------------------------------------------------------------------------------------------
Initialisation of the Pump Set Pump Running state on each scan
-------------------------------------------------------------------------------------------------*)
FOR i := 0 TO NUMBER_OF_PUMP_SETS - 1 DO
Pump_Set_Pump_Running[i] := FALSE;
END_FOR;
(*-------------------------------------------------------------------------------------------------
Stores the Day Tank Level and Start Time when Top Up is initiated
-------------------------------------------------------------------------------------------------*)
FOR i := 0 TO NUMBER_OF_PUMPS - 1 DO
FOR j := 0 TO NUMBER_OF_DAY_TANKS - 1 DO
IF PUMP[i].Day_Tank_Top_Up_Request_New[j] THEN
DAY_TANK[j].Fuel_Level_at_Start_of_Top_Up := DAY_TANK[j].Status.Fuel_Level;
RRTC_DT (OUT => DAY_TANK[j].Top_Up_Start_Time);
END_IF;
END_FOR;
END_FOR;
(*-------------------------------------------------------------------------------------------------
Stores the Day Tank Level and Start Time when Top Up is initiated
-------------------------------------------------------------------------------------------------*)
(*
FOR i := 0 TO NUMBER_OF_PUMPS - 1 DO
FOR j := 0 TO NUMBER_OF_DAY_TANKS - 1 DO
IF PUMP[i].Day_Tank_Top_Up_Request[j] THEN
END_IF;
END_FOR;
END_FOR;
*)
(*-------------------------------------------------------------------------------------------------
Set the required Valve Commands
-------------------------------------------------------------------------------------------------*)
(*
FOR i := 0 TO NUMBER_OF_DAY_TANKS - 1 DO
*)
(*-------------------------------------------------------------------------------------------------
Set the required Valve Commands
-------------------------------------------------------------------------------------------------*)
(*
END_FOR;
*)
</STSource>
</FBProgram>
</FBSource>
<DDTSource DDTName="VALVE_STATE" version="0.40" dateTime="dt#2020-03-25-08:50:04">
<comment>Fuel Oil System</comment>
<attribute name="TypeSignatureCheckSumString" value="91DE"></attribute>
<attribute name="TypeDataDicSubfieldsCount" value="22"></attribute>
<structure>
<variables name="Close_Command" typeName="BOOL"></variables>
<variables name="Close_Command_Feedback" typeName="BOOL"></variables>
<variables name="Closed" typeName="BOOL">
<comment>Valve Closed</comment>
</variables>
<variables name="Common_Fault" typeName="BOOL"></variables>
<variables name="Default_Closed" typeName="BOOL"></variables>
<variables name="Failed_to_Close" typeName="BOOL"></variables>
<variables name="Failed_to_Open" typeName="BOOL"></variables>
<variables name="Feedback_Discrepancy_Fault" typeName="BOOL"></variables>
<variables name="HMI_Auto" typeName="BOOL"></variables>
<variables name="HMI_Auto_Ready_to_Operate" typeName="BOOL"></variables>
<variables name="HMI_Manual" typeName="BOOL"></variables>
<variables name="Inhibited_by_Interlock" typeName="BOOL"></variables>
<variables name="Inputs_OK" typeName="BOOL"></variables>
<variables name="Local" typeName="BOOL"></variables>
<variables name="New_Fail_to_Operate_Alarm" typeName="BOOL"></variables>
<variables name="Open" typeName="BOOL"></variables>
<variables name="Open_Command" typeName="BOOL"></variables>
<variables name="Open_Command_Feedback" typeName="BOOL"></variables>
<variables name="Outputs_OK" typeName="BOOL"></variables>
<variables name="Ready_to_Operate" typeName="BOOL"></variables>
<variables name="Remote" typeName="BOOL">
<comment>Valve Remote Control Selected</comment>
</variables>
</structure>
</DDTSource>
<DDTSource DDTName="SYSTEM_PARAMS" version="0.05" dateTime="dt#2020-03-17-12:28:22">
<attribute name="TypeSignatureCheckSumString" value="BE17"></attribute>
<attribute name="TypeDataDicSubfieldsCount" value="14"></attribute>
<structure>
<variables name="Auto_Mode" typeName="BOOL"></variables>
<variables name="Manual_Mode" typeName="BOOL"></variables>
<variables name="Off_Mode" typeName="BOOL"></variables>
<variables name="First_Scan" typeName="BOOL"></variables>
<variables name="One_Second_Pulse" typeName="BOOL"></variables>
<variables name="Clock" typeName="Time_and_Date"></variables>
</structure>
</DDTSource>
<DDTSource DDTName="Time_and_Date" version="0.02" dateTime="dt#2020-03-17-12:28:19">
<attribute name="TypeSignatureCheckSumString" value="B930"></attribute>
<attribute name="TypeDataDicSubfieldsCount" value="8"></attribute>
<structure>
<variables name="Seconds" typeName="INT"></variables>
<variables name="Hour_of_the_Day" typeName="INT"></variables>
<variables name="Day_of_the_Month" typeName="INT"></variables>
<variables name="Year" typeName="INT"></variables>
<variables name="Day_of_the_Week" typeName="INT"></variables>
<variables name="Minutes" typeName="INT"></variables>
<variables name="Month_of_Year" typeName="INT"></variables>
</structure>
</DDTSource>
<DDTSource DDTName="DAY_TANK_MANAGEMENT_STATE" version="0.03" dateTime="dt#2020-03-27-10:36:41">
<attribute name="TypeSignatureCheckSumString" value="DC5E"></attribute>
<attribute name="TypeDataDicSubfieldsCount" value="107"></attribute>
<structure>
<variables name="Status" typeName="DAY_TANK_STATE"></variables>
<variables name="Fuel_Level_at_Start_of_Top_Up" typeName="INT"></variables>
<variables name="Top_Up_Start_Time" typeName="DT"></variables>
</structure>
</DDTSource>
<DDTSource DDTName="DAY_TANK_STATE" version="0.30" dateTime="dt#2020-03-25-08:50:04">
<comment>Fuel Oil System</comment>
<attribute name="TypeSignatureCheckSumString" value="861E"></attribute>
<attribute name="TypeDataDicSubfieldsCount" value="104"></attribute>
<structure>
<variables name="Automatic_Top_Up_Request_Active" typeName="BOOL"></variables>
<variables name="Common_Fault" typeName="BOOL"></variables>
<variables name="Fire_Link_Status" typeName="FIRE_LINK_STATE"></variables>
<variables name="Fuel_Capacity" typeName="INT"></variables>
<variables name="Fuel_Level" typeName="INT"></variables>
<variables name="Fuel_Level_Percentage" typeName="REAL"></variables>
<variables name="Fuel_Level_Sensor_Above_Low" typeName="BOOL"></variables>
<variables name="Fuel_Level_Sensor_Below_Low" typeName="BOOL"></variables>
<variables name="Fuel_Level_Sensor_Healthy" typeName="BOOL"></variables>
<variables name="Generator_Running" typeName="BOOL"></variables>
<variables name="Generator_Stopped" typeName="BOOL"></variables>
<variables name="Inhibited_by_Interlock" typeName="BOOL"></variables>
<variables name="Inputs_Ok" typeName="BOOL"></variables>
<variables name="Interstitial_Space_Leak_Detected" typeName="BOOL"></variables>
<variables name="Interstitial_Space_Leak_Not_Detected" typeName="BOOL"></variables>
<variables name="Level_Switches" typeName="DAY_TANK_LEVEL_SWITCHES_STATE"></variables>
<variables name="Manual_Top_Up_Request_Active" typeName="BOOL"></variables>
<variables name="Panel_Top_Up_Button_Not_Pressed" typeName="BOOL"></variables>
<variables name="Panel_Top_Up_Button_Pressed" typeName="BOOL"></variables>
<variables name="Ready_to_Operate" typeName="BOOL"></variables>
<variables name="Recirculation_Valve_Status" typeName="VALVE_STATE"></variables>
<variables name="Room_Bund_Leak_Detected" typeName="BOOL"></variables>
<variables name="Room_Bund_Leak_Not_Detected" typeName="BOOL"></variables>
<variables name="Supply_Valve_1_Status" typeName="VALVE_STATE"></variables>
<variables name="Supply_Valve_2_Status" typeName="VALVE_STATE"></variables>
<variables name="Top_Up_Request_Active" typeName="BOOL"></variables>
</structure>
</DDTSource>
<DDTSource DDTName="FIRE_LINK_STATE" version="0.03" dateTime="dt#2020-03-17-11:04:40">
<comment>Fuel Oil System</comment>
<attribute name="TypeSignatureCheckSumString" value="B73F"></attribute>
<attribute name="TypeDataDicSubfieldsCount" value="4"></attribute>
<structure>
<variables name="Inputs_Ok" typeName="BOOL"></variables>
<variables name="Not_Tripped" typeName="BOOL"></variables>
<variables name="Tripped" typeName="BOOL"></variables>
</structure>
</DDTSource>
<DDTSource DDTName="DAY_TANK_LEVEL_SWITCHES_STATE" version="0.06" dateTime="dt#2020-03-18-17:08:22">
<comment>Fuel Oil System</comment>
<attribute name="TypeSignatureCheckSumString" value="D61B"></attribute>
<attribute name="TypeDataDicSubfieldsCount" value="12"></attribute>
<structure>
<variables name="Above_High" typeName="BOOL"></variables>
<variables name="Above_Low" typeName="BOOL"></variables>
<variables name="Above_Low_Low" typeName="BOOL"></variables>
<variables name="Above_Pump_Start" typeName="BOOL"></variables>
<variables name="Above_Pump_Stop" typeName="BOOL"></variables>
<variables name="Below_High" typeName="BOOL"></variables>
<variables name="Below_Low" typeName="BOOL"></variables>
<variables name="Below_Low_Low" typeName="BOOL"></variables>
<variables name="Below_Pump_Start" typeName="BOOL"></variables>
<variables name="Below_Pump_Stop" typeName="BOOL"></variables>
<variables name="Feedback_Discrepancy_Fault" typeName="BOOL"></variables>
</structure>
</DDTSource>
<DDTSource DDTName="FUEL_PUMP_MANAGEMENT_STATE" version="0.14" dateTime="dt#2020-03-27-10:12:20">
<comment>Fuel Oil System</comment>
<attribute name="TypeSignatureCheckSumString" value="3535"></attribute>
<attribute name="TypeDataDicSubfieldsCount" value="73"></attribute>
<structure>
<variables name="Day_Tank_Top_Up_Request" typeName="ARRAY[0..2] OF BOOL"></variables>
<variables name="Day_Tank_Top_Up_Request_New" typeName="ARRAY[0..2] OF BOOL"></variables>
<variables name="Duty" typeName="INT"></variables>
<variables name="Excessive_Fill_Time_Faults" typeName="ARRAY[0..2] OF BOOL"></variables>
<variables name="Excessive_Fill_Time_Fault_Count" typeName="INT"></variables>
<variables name="Index" typeName="INT"></variables>
<variables name="Index_of_Pair_Pump" typeName="INT"></variables>
<variables name="Index_of_Pump_Set" typeName="INT"></variables>
<variables name="Priority" typeName="INT"></variables>
<variables name="Pump_Start_Request" typeName="BOOL"></variables>
<variables name="Status" typeName="FUEL_PUMP_STATE"></variables>
</structure>
</DDTSource>
<DDTSource DDTName="FUEL_PUMP_STATE" version="0.58" dateTime="dt#2020-03-25-09:23:49">
<comment>Fuel Oil System</comment>
<attribute name="TypeSignatureCheckSumString" value="00BD"></attribute>
<attribute name="TypeDataDicSubfieldsCount" value="53"></attribute>
<structure>
<variables name="Common_Fault" typeName="BOOL"></variables>
<variables name="Contactor_Closed" typeName="BOOL"></variables>
<variables name="Contactor_Failed_to_Close" typeName="BOOL"></variables>
<variables name="Contactor_Failed_to_Open" typeName="BOOL"></variables>
<variables name="Contactor_Open" typeName="BOOL"></variables>
<variables name="Current_Detected" typeName="BOOL"></variables>
<variables name="Current_Not_Detected" typeName="BOOL"></variables>
<variables name="Excessive_Fill_Time" typeName="BOOL"></variables>
<variables name="Failed_to_Start" typeName="BOOL"></variables>
<variables name="Failed_to_Stop" typeName="BOOL"></variables>
<variables name="Feedback_Discrepancy_Fault" typeName="BOOL"></variables>
<variables name="Fire_Link_Status" typeName="FIRE_LINK_STATE"></variables>
<variables name="Flow_Not_Detected" typeName="BOOL"></variables>
<variables name="Flow_Switch_Status" typeName="FUEL_FLOW_SWITCH_STATE"></variables>
<variables name="Fuel_Filter_Status" typeName="FUEL_FILTER_STATE"></variables>
<variables name="HMI_Auto" typeName="BOOL"></variables>
<variables name="HMI_Auto_Ready_to_Operate" typeName="BOOL"></variables>
<variables name="HMI_Manual" typeName="BOOL"></variables>
<variables name="Inhibited_by_Interlock" typeName="BOOL"></variables>
<variables name="Inputs_OK" typeName="BOOL"></variables>
<variables name="Isolator_Closed" typeName="BOOL"></variables>
<variables name="Isolator_Open" typeName="BOOL"></variables>
<variables name="Local_Mode" typeName="BOOL"></variables>
<variables name="Low_Flow" typeName="BOOL"></variables>
<variables name="Motor_Overload_Fault" typeName="BOOL"></variables>
<variables name="Motor_Overload_Healthy" typeName="BOOL"></variables>
<variables name="New_Fail_to_Operate_Alarm" typeName="BOOL"></variables>
<variables name="Off_Mode" typeName="BOOL"></variables>
<variables name="Outputs_OK" typeName="BOOL"></variables>
<variables name="Pump_Bund_Status" typeName="FUEL_PUMP_BUND_STATE"></variables>
<variables name="Ready_to_Operate" typeName="BOOL"></variables>
<variables name="Remote_Mode" typeName="BOOL"></variables>
<variables name="Running" typeName="BOOL">
<comment>Pump is Running</comment>
</variables>
<variables name="Start_Command_Active" typeName="BOOL"></variables>
<variables name="Start_Command_Inactive" typeName="BOOL"></variables>
<variables name="Stopped" typeName="BOOL">
<comment>Pump is Stopped</comment>
</variables>
</structure>
</DDTSource>
<DDTSource DDTName="FUEL_FLOW_SWITCH_STATE" version="0.02" dateTime="dt#2020-03-13-12:45:09">
<comment>Fuel Oil System</comment>
<attribute name="TypeSignatureCheckSumString" value="1F0D"></attribute>
<attribute name="TypeDataDicSubfieldsCount" value="4"></attribute>
<structure>
<variables name="Flow_Detected" typeName="BOOL"></variables>
<variables name="Flow_Not_Detected" typeName="BOOL"></variables>
<variables name="Inputs_Ok" typeName="BOOL"></variables>
</structure>
</DDTSource>
<DDTSource DDTName="FUEL_FILTER_STATE" version="0.02" dateTime="dt#2020-03-17-11:04:57">
<comment>Fuel Oil System</comment>
<attribute name="TypeSignatureCheckSumString" value="D5D0"></attribute>
<attribute name="TypeDataDicSubfieldsCount" value="4"></attribute>
<structure>
<variables name="Inputs_Ok" typeName="BOOL"></variables>
<variables name="Water_Detected" typeName="BOOL"></variables>
<variables name="Water_Not_Detected" typeName="BOOL"></variables>
</structure>
</DDTSource>
<DDTSource DDTName="FUEL_PUMP_BUND_STATE" version="0.04" dateTime="dt#2020-03-17-11:04:52">
<comment>Fuel Oil System</comment>
<attribute name="TypeSignatureCheckSumString" value="373A"></attribute>
<attribute name="TypeDataDicSubfieldsCount" value="8"></attribute>
<structure>
<variables name="Both_Sensors_Detect_Liquid" typeName="BOOL"></variables>
<variables name="Sensor_1_Inputs_Ok" typeName="BOOL"></variables>
<variables name="Sensor_1_Liquid_Detected" typeName="BOOL"></variables>
<variables name="Sensor_1_Liquid_Not_Detected" typeName="BOOL"></variables>
<variables name="Sensor_2_Inputs_Ok" typeName="BOOL"></variables>
<variables name="Sensor_2_Liquid_Detected" typeName="BOOL"></variables>
<variables name="Sensor_2_Liquid_Not_Detected" typeName="BOOL"></variables>
</structure>
</DDTSource>
</FBExchangeFile>
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-03-26 05:31 PM
As I've mentioned to resolve this issue I replace the DFB instance with itself.
However, I have tried the following which haven't worked:
Other solutions that have worked:
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-03-27 04:18 AM
I do not see the issues your having,
So I can only suggest to contact your Schneider Electric support desk and please create a case.
They will be able to help you.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-03-27 06:02 AM
Hi @Anonymous user
Here is a video of me editing the pins of a DFB several times in succession - the problem did not manifest itself.
As I mentioned in the other thread, I think the issue may be related to dependencies, that have been modified post your installation of Control Expert.
Please indicate your Windows version and any other Schneider Software installed.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-04-02 04:36 PM
Hi @MarkPitout,
After observing this issue further, I believe it is only occurring to DFBs that are used within DFBs.
Also the issue does not occur every time I make a change, however it does occur often enough to have become annoying and taking away from productivity.
I'm using a Windows 10 VM and have attached a screenshot of other Schneider software that is installed.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-08-14 06:33 AM
Had a very similar issue in Control Expert v15.1.
Re-importing the .STA project did the trick for me, but this still a very odd behaviour.
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.