EasyManuals Logo

Siemens SIMATIC S7-1500T Reference Manual

Siemens SIMATIC S7-1500T
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 #17 background imageLoading...
Page #17 background image
A5E33284667-AA Page 16
Extended instructions
Basic instructions
Communication
Technology
S7-300
S7-400
S7-1200
S7-1500
Description LAD/FBD
STL
(not S7-1200)
SCL
With a tag of TYPE DB_ANY, compare the
data type of an indirectly addressed DB with a
data type for EQUAL.
NE_TypeOfDB: *)
Check for EQUALS NULL pointer
IS_NULL
*)
Check for UNEQUALS NULL pointer
NOT_NULL
*)
*) Application examples for SCL:
IF TypeOf(...) = INT THEN ... // corresponds to EQ_Type
IF TypeOfElements(...) = INT THEN ... // corresponds to EQ_ElemType
IF TypeOfDB(...) = INT THEN ... // corresponds to EQ_TypeOfDB
IF ... <> NULL THEN ... // corresponds t
o NOT_NULL
Instead of "=", you can also use other operators, e.g.: "<>".
Instead of "INT", you can also use any other data types or data types that you have defined, e.g.: "REAL", "Recipe".
Check for ARRAY
IS_ARRAY
Compare tag structured data types
CompType
nn
Mathematical functions
Calculate
CALCULATE
(SCL network in
LAD/FBD)
nn
nn
Add
ADD
+
+
Subtract
SUB
-
-
Multiply
MUL
*
*

Other manuals for Siemens SIMATIC S7-1500T

Questions and Answers:

Question and Answer IconNeed help?

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

Siemens SIMATIC S7-1500T Specifications

General IconGeneral
BrandSiemens
ModelSIMATIC S7-1500T
CategoryController
LanguageEnglish

Related product manuals