Documente Academic
Documente Profesional
Documente Cultură
SCL
Library
0000 Y1 000.0 % V1 P1 0000.0 MBAR
INERTGAS
0000
V2
Y2 000.0 % V4 P4 0000.0 MBAR
ABLUFT1
F1
V5 P5 0000.0 MBAR
R1 ABLUFT2
0000.0
PC V3
0000.0 MBAR
V6 P6 0000.0 MBAR
ABLUFT3
A1 0000.0 %
Reaktor 01
M1
produkt
Database
SCL
Algorithm description in
High-level language structured text
for defining own
function blocks Block compilation and debugging
PASCAL-type
syntax, therefore Inserting into the existing block library
very powerful
Compiler and Using the block in the CFC Editor
debugger are
system components
FB
FC IF
OB Block type CASE
DB
UDT Block attribute
VAR_INPUT
VAR_OUPUT
VAR_IN_OUT FOR
VAR WHILE
REPEAT
VAR_TEMP
Algorithm
CONTINUE
? EXIT
GOTO
RETURN
ARIT
Arithmetic block
R X1 Y R
R X2
• SCL source
R X3
• Templates
• Variable declaration
• Algorithm
• Compile + Load
• Test
OB IF
FB CASE
FC FOR
Comment WHILE
Constant REPEAT
Parameter
DB
Instance DB
DB Referencing UDT
UDT
OB n
FBx FBx
SFC6 RD_SINFO
n
OB
m
Cyclic interrupt
Special case
OB m
FBx
Startup
Project
S7 station
CPU SCL
Symbols
1. Edit block.
S7 program
2. Compile.
4. Debug.
Blocks
• Simulation block
REACTOR