STL simplify some code

userxyz

Member
Join Date
May 2002
Location
any
Posts
2,768
Hi,

I need to trend some data in WinCC, so I wrote this:

A M 69.0
JC HI
L 0
T MW 100
JC end
HI: L 1
T MW 100
end: NOP 0


Can this be simplified ? As allways, I want to learn to write shorter and shorter

Is it a good manner to trend this in WinCC ?
 
Combo,

I don't see the need for even a single line of code in the PLC program when I want to trend data in a SCADA system. I don't use WinCC myself because I'm kind of a Citect addict when it comes to SCADA, but I'm sure WinCC can trend a boolean variable as well as Citect can do it.

The only way you really need PLC code for the SCADA system is when you're packing data into a single consistent block to optimise the datatransfer.

Kind regards,
 
Hi

I had some problems for monitorring a boolean, but what you're saying is true, I had some adressing mistakes.

Thanks
 

Similar Topics

Hi, I have written something is STL. In STL I'm a little beginner, so maybe, u guys can give some tips how to simplify my code or write it in...
Replies
13
Views
7,192
i am new to simatic manager and i am trying to figure what this part do in the code : A I 5.6 = DB50.DBX 4.6...
Replies
3
Views
133
Hello everyone, can anyone help me with covert the STL code to ladder. Iam using plc s71200. A %DB1.DBX33.7 // angel of vaccum...
Replies
2
Views
208
Hello nice to meet you, im new in here, I'm currently trying to convert code written in STL for a S7-400 to SCL for an S7-1500, because when i run...
Replies
5
Views
317
First off thank you in advance. Second I am very new to STL. I am trying to build a counter that has one count up and 23 count down options. Am...
Replies
6
Views
376
Back
Top Bottom