EasyManuals Logo

Siemens SICAM CMIC User Manual

Siemens SICAM CMIC
414 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 #243 background imageLoading...
Page #243 background image
Engineering via SICAM WEB
SICAM RTUs, User Manual SICAM CMIC 243
DC8-001-2.09, Edition 08.2016
Example:
LD M_DINT_COMPARE (*load flag*)
ST EQ.IN0 (*store at input 0 for equal function*)
LD 3 (*load value 3*)
ST EQ.IN1 (*store at input 1 for equal function*)
CAL EQ (*call function*)
ST O_030_008_000_000.VALUE (*if both values are equal the output of
the function is set to 1*)
If a comparison of two values is performed, the output is set if the flag M_DINT_COMPARE is
written with 3 (the writing of the flag is not included here).
5.2.1.2.5 Call of Function Blocks
Function blocks do not have any temporary variables. Each new (derived) function block oc-
cupies a new memory in the RAM.
Respectively the first result of the function block is written in the accumulator. If a function
block has more than one result, then this can be accessed as with the parameter transfer.
Example:
LD 1
ST CTU_TEST.CU
ST CTU_TEST.R
LD 5
ST CTU_TEST.PV
CAL CTU_TEST
LD CTU_TEST.CV (*access to 2nd result*)
5.2.1.3 Instruction Comments
Comments in the application program can be set at any arbitrary place and must be included
between brackets and stars. The documentation can also extend over several lines.
Example:
LD 15 (*load constant 15*)
ST M_DINT_CONSTANT (*store in flag*)
The following characters may be used:
Numbers 09
Letters AZ, az
Special characters ^ ! " $ % & / ( ) = ? [ ] { } \ @ # ' + * ~ < > | , ; . : - _

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SICAM CMIC and is the answer not in the manual?

Siemens SICAM CMIC Specifications

General IconGeneral
BrandSiemens
ModelSICAM CMIC
CategoryRemote Control
LanguageEnglish

Related product manuals