Siemens Simatic S7-200 System Manual page 108

Programmable controller
Hide thumbs Also See for Simatic S7-200:
Table of Contents

Advertisement

Additional Features of STEP 7-Micro/WIN
Viewing an STL Program in Ladder
If you plan to view your STL program in ladder, you should follow these conventions when
writing your STL program. See Figure 5-23.
You must divide the segments of STL code into separate networks by entering the
keyword, ''Network''. The network declarations must come at appropriate boundaries for
ladder representation. Network numbers are generated automatically after you compile or
upload your program.
The STL comment lines that come before the first ''Network'' keyword become the ladder
program title.
An STL comment placed on a network line after the ''Network'' keyword becomes a
ladder network title.
STL comments that appear between the ''Network'' line and the first instruction of that
network become ladder network comments. An example is:
NETWORK
//NETWORK COMMENT LINE 1
//NETWORK COMMENT LINE 2
LD I0.0
5-22
// NETWORK TITLE
S7-200 Programmable Controller System Manual
C79000-G7076-C230-02

Advertisement

Table of Contents
loading

Table of Contents