EasyManuals Logo

Siemens SIMATIC S7-1200 Reference Manual

Siemens SIMATIC S7-1200
88 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #4 background imageLoading...
Page #4 background image
A5E33284667-AF Page 3
Contents of the comparison list
Measuring program runtimes see below.
Load objects to the CPU: Which modifications and which modified blocks you load to the CPU in which operating
mode next page.
Overview, requirements, general conditions and legend for the comparison list (Page 7)
Comparison list for S7-300, S7-400 (not H-Systems), S7-1200, S7-1500 including CPU 150xS Software
Controllers:
Which instructions and functions you can use for which controller family as of Page 8.
Instructions for SIMATIC Ident and SIMATIC Energy Suite appendix.
Measuring program runtimes
The runtime of parts of the user program depends on many factors. A listing of runtimes of individual instructions in a table is
thus not possible.
The RUNTIME (runtime measuring) instruction is used to measure the runtime of the entire program, individual blocks or
command sequences. The runtime measurement begins with the first call of the RUNTIME instruction and ends with the
second call.
Use an OB priority >15 for runtime measurement. This ensures that "online monitoring" does not falsify the runtime. You can
find more detailed information in the SIMATIC STEP 7 online help. Enter "RUNTIME" in the search and select "S7-1200", "S7-
1500" or "S7-1500T" as validity identifier.
Programming examples in SCL:
"Common_Data".opt.Last_Cycle := RUNTIME(#Tag_Memory); //Start of the runtime measurement,
LReal
"speed test FB opt_DB"(ON_2:="i1",…);//Runtime measurement through RUNTIME
"Common_Data".opt.Last_Cycle := RUNTIME(#Tag_Memory); //End of the runtime measurement
The Last_Cycle tag contains the time that has passed from the preceding call to the current call of RUNTIME.

Other manuals for Siemens SIMATIC S7-1200

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SIMATIC S7-1200 and is the answer not in the manual?

Siemens SIMATIC S7-1200 Specifications

General IconGeneral
CPU TypeCPU 1211C, CPU 1212C, CPU 1214C, CPU 1215C, CPU 1217C
CommunicationPROFINET
Analog Inputs2
Analog Outputs2
Power Supply24V DC
Expansion ModulesSignal Modules (SM), Communication Modules (CM)
Programming LanguagesLAD, FBD, SCL
Dimensions90 mm x 100 mm x 75 mm
Program Memory50 KB to 150 KB (depending on model)

Related product manuals