Instruction Comments - Siemens CP-8000 User Manual

Sicam a8000 series
Hide thumbs Also See for CP-8000:
Table of Contents

Advertisement

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
ST
M_DINT_CONSTANT
The following characters may be used:
·
Numbers 0...9
·
Letters A...Z, a...z
·
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
SICAM A8000 / CP-8000 • CP-8021 • CP-8022 Manual
DC8-037-2.02, Edition 10.2017
(*load constant 15*)
(*store in flag*)
(*set cycle time 20 ms*)
Unrestricted
Engineering via SICAM WEB
429

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cp-8021Cp-8022

Table of Contents