![Tecomat TC600 Series Скачать руководство пользователя страница 62](http://html1.mh-extra.com/html/tecomat/tc600-series/tc600-series_manual_1072620062.webp)
Tecomat TC600
TXV 138 08.02
62
10.5.1 Configuration Constants in the User Program
Configuration constants are automatically generated during compilation
of the user program, and they form its non-separable part. They carry infor-
mation on the required PLC mode and its use. Constants can be set using
menus of the xPRO integrated compiler environment before the compilation
itself.
Configuration constants contain the following services:
type of restart after turning on of the PLC power supply
This determines whether after turning on of the power supply, warm or
cold restart will be performed (see item 10.4.4). Cold restart is the default
setting.
time of issuing the first warning of threat of exceeding of the maximum
allowed cycle time
If the cycle of processing the user program lasts longer than the time de-
fined by this constant, PLC system services set the bit S2.7 as a flag that
in processing of the program, the set time has been exceeded in this cy-
cle, and at the same time the soft error code is set in the system register
S34 and S48 to S51. Default set value is 150 ms.
time of guarding the maximum allowed cycle time
If the cycle of processing of the user program lasts longer than the
maximum allowed cycle time, PLC announces critical error of exceeding
the cycle time, blocks the outputs and interrupts cycling running of the
user program. This constant defines the longest possible time during
which the controlled object may remain without an action intervention.
The default set value is 250 ms, the recommended maximum value is
500 ms.
determining of the extent of backup of the user program in EEPROM
Defines whether the whole user program is backed including tables T or
whether the user program is backed without the tables T and tables T
remain in the original version in backed RAM (suitable in cases of modi-
fication of the tables by the user program). Backing of the whole user
program is the default setting.
number of backed registers R (remanent zone)
Setting of the number of backed registers R values of which will be
saved in the case of the PLC power supply failure, ensured by the
checking character, and retrieved in the case of warm restart of the PLC.
Registers are saved starting from register R0, state of the registers after
the last fully terminated cycle of solving of the user program is backed.
Default set value is 0.
Configuration of
constants for setting
of services provided
during the PLC
operation