txrocks
Well I finally jumped to v4.0 many huge upgrades, the learning curve is different... v4.0 is much nicer! Thank you!
 
I am going FBD in my main program and have built sub function blocks that are LD. I have the user defined POU's and one function which all show up in the user defined POU's.  
 
What is a potential cause of this error, first I had it erroring out at the HVAC pou. I deleted that function block and created a new one that was ladder instead of FBD. Now it errors out in a different spot which i think is pointing to the Well pump compare
 
Any words of wisdom to get me pointed in the right direction
 
or is it in the structured text in the well pump compare ?
 
VAR_INPUT
  Well_1_Pump_I : real;
  Well_1_Pump_MIN_I : real := 5000; (* Pump minimum run current, 80% of FLA in mA *)
END_VAR

VAR_OUTPUT
  Well_1_Pump_LOW_I : bool;
END_VAR
 
[20-02-26 16:15:37]: Collecting data types

[20-02-26 16:15:37]: Collecting POUs

[20-02-26 16:15:37]: Generate Data Type LIGHTING_STATE

[20-02-26 16:15:37]: Generate Data Type HVAC_STATE

[20-02-26 16:15:37]: Generate Data Type DOOR_STATE

[20-02-26 16:15:37]: Generate Data Type SEPTIC_STATE

[20-02-26 16:15:37]: Generate Data Type WELL_STATE

[20-02-26 16:15:37]: Generate POU Well Pump Compare

[20-02-26 16:15:38]: Error transpiling XML to ST: Error: xml2st process exited with code 1

[20-02-26 16:15:38]: Error compiling project: 'NoneType' object is not subscriptable

[20-02-26 16:15:38]: Stopping compilation process.
 
Reply 0 0
thiagoralves
This error usually means that you have an empty POU somewhere. Since I haven’t seen your project, I’m not sure
Reply 0 0
txrocks
Here it is....searching for empty POU....
Reply 0 0
Reply