This Siemens manual explains how to program S7‑300 and S7‑400 PLCs using the S7‑SCL language, covering installation, usage, examples, and troubleshooting.
About this manual
The document serves as a reference for engineers and programmers working with the S7‑SCL (Structured Control Language) on Siemens SIMATIC S7‑300 and S7‑400 PLCs. It introduces the language, its relationship to STL, installation steps, software compatibility, and provides a simple filtering example.
The manual is organized into sections on software basics, S7‑SCL features, virtual project application, a comprehensive FAQ covering programming, compilation, and debugging issues, and an appendix with recommended Siemens support URLs. This manual is written in Chinese.
What's inside
- Preface
- Software Basics
- S7‑SCL Overview
- S7‑SCL vs STL
- Installation and Usage
- Software Compatibility
- Virtual Project Example
- Frequently Asked Questions
- Appendix – Recommended URLs
Specifications
| IEC standard compliance | IEC 61131‑3 |
Frequently asked questions
How can I enable monitoring of S7‑SCL programs?
In the compiler options select “Create debug info” and also enable “Create object code” so that variables can be monitored.
Why does the compiler report “Character strings have different lengths”?
The warning occurs when source strings have mismatched lengths; declare the shorter string variable with a larger length (e.g., 254 characters) to eliminate the error.