S7 SCL - Attributes and other questions

adfox

Member
Join Date
Jun 2006
Location
Poland
Posts
334
Hi, I'm going deeper into the SCL for S7 (300,1200) and have few problems.

Looking into examples i ran into scl attributes like:

Code:
{Scl_OverwriteBlocks        := 'y'}   
{Scl_GenerateReferenceData  := 'y'} 
{Scl_S7ServerActive         := 'y'}   
{Scl_CreateObjectCode       := 'y'}  
{Scl_OptimizeObjectCode     := 'y'} 
{Scl_MonitorArrayLimits     := 'n'}   
{Scl_CreateDebugInfo        := 'y'}   
{Scl_SetOKFlag              := 'n'}   
{Scl_SetMaximumStringLength := '254'}

I'm reading now manuals provided with Step 7 but I cannot find explanation of those flags except SetOK and MonitorArrayLimits.

Do You know where i can find explanation beyond:

{Scl_SetMaximumStringLength := '254'} - Sets maximum string length :)

Google is silent when looking for those flags, and I'm really into buying Hans Berger book ( but it's not cheap in PL ), can You recommend me something else to read also ( i deal mainly with Siemens )?

Thanks for feedback ;)
 
In the SCL editor click menu Options-->Customize.
Then press tab "Compiler" and press help. This will explain most options.
attachment.php
 
Ha! You've got me. I was thinking i will never find explanation.
Thanks!

Can You recommend me some reading concerning good methods for SCL ?
 

Similar Topics

Hi! I want to understand this code, who does is word. IF #"Sample timer".Q =1 THEN FOR #Ic := 1 TO 16 DO IF ((#Ic + 1) < 17) THEN //<...
Replies
7
Views
203
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
126
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
618
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
398
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
680
Back
Top Bottom