Programming Language - Siemens S7-1200 System Manual

Hide thumbs Also See for S7-1200:
Table of Contents

Advertisement

The PtP (Point-to-Point) instructions, PROFINET instructions (such as TSEND_C and
TRCV_C), PROFINET Distributed I/O instructions, and PROFIBUS Distributed I/O
Instructions (Page 314) transfer buffers of data that could be interrupted. Ensure the data
consistency for the buffers of data by avoiding any read or write operation to the buffers in
both the program cycle OB and an interrupt OB. If it is necessary to modify the buffer values
for these instructions in an interrupt OB, use a DIS_AIRT instruction to delay any interruption
(an interrupt OB or a communication interrupt from an HMI or another CPU) until an
EN_AIRT instruction is executed.
Note
The use of the DIS_AIRT instruction delays the processing of interrupt OBs until the
EN_AIRT instruction is executed, affecting the interrupt latency (time from an event to the
time when the interrupt OB is executed) of your user program.
6.5

Programming language

STEP 7 provides the following standard programming languages for S7-1200:
● LAD (ladder logic) is a graphical programming language. The representation is based on
● FBD (Function Block Diagram) is a programming language that is based on the graphical
● SCL (structured control language) is a text-based, high-level programming language
When you create a code block, you select the programming language to be used by that
block.
Your user program can utilize code blocks created in any or all of the programming
languages.
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG
circuit diagrams (Page 180).
logic symbols used in Boolean algebra (Page 181).
(Page 181).
Programming concepts
6.5 Programming language
179

Advertisement

Table of Contents
loading

Table of Contents