Engineering via SICAM WEB
244
SICAM RTUs, User Manual SICAM CMIC
DC8-001-2.09, Edition 08.2016
5.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
5.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*)
If the cycle time is set to the value
0
, no cyclic program execution takes place.
Under certain circumstances the cycle time can be changed independently by the system:
•
If no cycle time is set, it is set to 100 ms (default)
•
Extended due to timeout
•
Retriggering due to spontaneous program execution
Affecting the Processing Time
The processing time is the duration of a complete program run. It is primarily determined by
the size of the application program (number of operations).
Note
Consider that the processing time of the application program may be inconstant.
Содержание SICAM CMIC
Страница 8: ...Preface 8 SICAM RTUs User Manual SICAM CMIC DC8 001 2 09 Edition 08 2016 ...
Страница 10: ...Open Source Software Used in SICAM CMIC 10 SICAM RTUs User Manual SICAM CMIC DC8 001 2 09 Edition 08 2016 ...
Страница 20: ...Table of Contents 20 SICAM RTUs User Manual SICAM CMIC DC8 001 2 09 Edition 08 2016 Glossary 405 ...
Страница 46: ...Installation 46 SICAM RTUs User Manual SICAM CMIC DC8 001 2 09 Edition 08 2016 ...
Страница 62: ...Interfaces and Circuitry 62 SICAM RTUs User Manual SICAM CMIC DC8 001 2 09 Edition 08 2016 ...
Страница 102: ...Preparing the Engineering 102 SICAM RTUs User Manual SICAM CMIC DC8 001 2 09 Edition 08 2016 ...
Страница 130: ...Engineering via SICAM TOOLBOX II 130 SICAM RTUs User Manual SICAM CMIC DC8 001 2 09 Edition 08 2016 ...
Страница 334: ...Error Handling 334 SICAM RTUs User Manual SICAM CMIC DC8 001 2 09 Edition 08 2016 ...
Страница 386: ...Set Up Dial Up Connection via PPP 386 SICAM RTUs User Manual SICAM CMIC DC8 001 2 09 Edition 08 2016 ...
Страница 394: ...Install Security Certificate 394 SICAM RTUs User Manual SICAM CMIC DC8 001 2 09 Edition 08 2016 ...
Страница 404: ...Use Cases 404 SICAM RTUs User Manual SICAM CMIC DC8 001 2 09 Edition 08 2016 ...
Страница 414: ...Glossary 414 SICAM RTUs User Manual SICAM CMIC DC8 001 2 09 Edition 08 2016 X Z ...