S7 SCL Debugging

thetripathi

Member
Join Date
Mar 2008
Location
Bangalore
Posts
11
Hello All,
I have created an FB the code of which is written in SCL.After compilation, I got the FB but the simulation is not as per my requirement.When I try to monitor the SCL code, all I can see is the STL version of the SCL code which is very difficult for me to read as I am not accustomed for it.Is there any other way of monitoring it? Does the SCL source after compilation get automatically stored as STL for monitoring?

Plz let me know

Thanx in advance

Preet
 
Check menu option customize-->compiler in the scl editor there you have an option to include debug info.

Create debug info
· This option allows you to run a test with the debugger after you have compiled the program and downloaded it to the CPU. The memory requirements of the program and the runtimes on the AS are, however, increased by this option.
If this option is activated, the reference data required for debugging are created automatically.

Check this box compile and download now you will be able to monitor your block with the googles
 

Similar Topics

I´m programming in SCL using the PLCsim simulator When I debug for instance integer variables, I can see their value in the right window. But...
Replies
10
Views
5,900
HI i would like to know how to get a variable that will store the amount of times a program has been executed. The issue is I have 3 DBs for 1 FB...
Replies
2
Views
82
Hi, I have an intermediate-advance knowledge of programming with TIA Porta in Ladder, would you recommend me to start learning SCL for it to...
Replies
11
Views
562
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
319
Hi everyone, I am new to this amazing world of PLC, well... I mean, in practice, since I already knew electronics, programming languages, IT, and...
Replies
7
Views
654
Back
Top Bottom