Statistical Software Test

I Searching for simulation software (finding BEREMIZ.ORG) I have learned that WC is no really using PLC or ladder logic.
So here is my proposal to ease our coding work:
 
use a XML editor to write code like
 

<project name="Test" target="WC V17d"/>
<variables>
<item name="VAR8" comment="stores T1"/>
</variables>
<IO>
<item name="A1" comment="voltage"/>
<item name="TTL1" comment="relay switch"/>
<item name="T1" sensorcode="AB67DER" comment="room temp"/>
</IO>
<notifications>
<item idendifier="URL1" URI="192.176.9.34" command="?T=T1" comment="stores T1 to ftp"/>
</notifications>

<function name="CLEAR" purpose="clear variables />
<item command="SET" parameters="RAM8 0" comment="Set RAM8 to zero"/>
<item command="SET" parameters="VAR4 0" />
<item command="RET" />

</function>
</project>
Colouring is a must.
Then we could use XSLT producing:
 
CLEAR:
SET T1 0
SET T2 0
RET
 
Also a simulation possibility should be added, and code and notification data transfer to the WC from within the editor.
 
What do you think?
 
Amending code simulation, I find that statistical analysis would be helpful, so you can see how much data load is on the communication stacks of the WC. For analysing network activity some SNMP services in the WC would be great.
 
Some PLC use ladder diagram to control the function, WC using a programming language to program the logic controller function.
If there is an open source ladder software can be altered, it is easy to convert that to generate from ladder to WC program.
However, for many people with computer programming background, including Linux shell programming, they may find WC way is easier than ladder.
 
CAI_Support said:
Some PLC use ladder diagram to control the function, WC using a programming language to program the logic controller function.
If there is an open source ladder software can be altered, it is easy to convert that to generate from ladder to WC program.
However, for many people with computer programming background, including Linux shell programming, they may find WC way is easier than ladder.
 
I don't have anything against programming, but it should allow comments. Any idea if the XLS xslt approach is feasible?
thanks
 
Back
Top