EasyManuals Logo

Siemens CP-8021 User Manual

Siemens CP-8021
614 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 #429 background imageLoading...
Page #429 background image
Engineering via SICAM WEB
SICAM A8000 / CP-8000 • CP-8021 • CP-8022 Manual Unrestricted 429
DC8-037-2.02, Edition 10.2017
9.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 ^ ! " $ % & / ( ) = ? [ ] { } \ @ # ' + * ~ < > | , ; . : - _
9.2.1.4 Settings in the Application Program
With help of system variables the following parameters can be set for the program execution:
Cycle time
Spontaneous program execution
9.2.1.4.1 Setting the Cycle Time
The cycle time determines the time interval for the execution of the application program. The
shorter the set interval is the smaller must be the application program, otherwise a timeout
happens. A cycle time of for instance 2 ms is only possible for a very small application pro-
gram.
The cycle time can be specified in the IL with the variable PLC_CYCLETIME:
In the program part PLC_RESET
Time-scale is set one time with a startup.
In the program part PLC_START
Time-scale is set during running operation and can be changed by means of the applica-
tion program.
Example:
PLC_RESET:
LD 20
ST PLC_CYCLETIME (*set cycle time 20 ms*)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens CP-8021 and is the answer not in the manual?

Siemens CP-8021 Specifications

General IconGeneral
BrandSiemens
ModelCP-8021
CategoryController
LanguageEnglish

Related product manuals