
Version : 1.09
68
8.5.
System variables
The system variables have pre-defined functions.
They are very useful to check or to act on features of
TB
OX
LT2
.
They are divided into ‘Digital’ and ‘Analog’.
8.5.1.
Digital System Variables
According to its function a register is Read/Write or Read only. In the following table, the column R/W
indicates:
-
:
Read only.
0
:
Write ‘0’ only.
1
:
Write ‘1’ only.
*
:
Write ‘0’ or ‘1’.
When the action (SET) is specified, it means that
TB
OX
LT2
maintains the variable at 1 to be sure it is
detected. Such a variable needs to be reset using Ladder/BASIC logic.
Index
Name
R/W Description
0
TikSec
0
Tik Second: Changes of state every second. Useful for counting time.
1
PrgRun
-
Program run: At each starting of
TB
OX
LT2
, this register changes to 1 and stays at
1 as long as the BASIC/Ladder program runs.
This register is used in BASIC/Ladder to execute operations only at the start of
the program, with the help of a positive edge trigger function.
2
NewPro
-
New program: Start of a program flag. Changes to 1 if
TB
OX
LT2
has started after
having received a new program. Changes to 0 after a reset of the
TB
OX
LT2
3
Reboot
1
Reboot: complete restart of
TB
OX
LT2
. It is equivalent to hardware reset.
4
RstWat
1
Reset Watchdog: the watchdog checks the cycle time of BASIC/Ladder program. In
case it is longer than 1 second, it resets
TB
OX
LT2
. This Watchdog can be reset to
reinitialize the 1 second timer in case of cycle time longer.
5
Ala_On
0
Alarm on: this register indicates that alarm is active (not acknowledged). Writing 0
in this register causes a global acknowledgment of all alarms.
It corresponds to a reset of the alarm stack.
6
Alaerr
0
Alarm in error:
TB
OX
LT2
SET this register 1 when an alarm failed to be sent. This
means that after the number of tries, the alarm has been auto-acknowledged.
Must be Reset by User.
7
RstAla
-
Reset Alarm: Not used. See ‘Ala_On’ here above.
8
EnaDCr
*
Digital Chronology: General enable of recording in digital chronology.
9
EnaACr
*
Analog Chronology: General enable of recording in analog chronology.
10
EnaSam
*
Sampling Tables: General enable of recording in sampling tables (not available).
11
EnaAla
*
Enable Alarm: General enable of generating alarms.
12
DisCrd
*
Flag digital chronology: can be associated to any digital chronology configuration
to inhibit recording. When at value ‘1’, inhibits recording in Database.
13
DisCra
*
Flag analog chronology: can be associated to any analog chronology configuration
to inhibit recording. When at value ‘1’, inhibits recording in Database.
14
DisSam
-
Not used
15
DisAla
-
Alarm: flag that can be associated to any Alarm condition. When at value ‘1’,
inhibits the sending of alarm.
16
DaySav
-
Time: 1 = summer time (the ASV “ZoneBia” increments or decrements with.
0 = wintertime. the number of seconds according to the time zone)
Содержание TBOX LT2-530 Series
Страница 1: ...User s Guide Cabling Technical Specifications Version 1 09 LT2...
Страница 10: ...Version 1 09 10...
Страница 11: ...Version 1 09 11...
Страница 17: ...Version 1 09 17...
Страница 20: ...Version 1 09 20...
Страница 21: ...Version 1 09 21...
Страница 38: ...Version 1 09 38...
Страница 39: ...Version 1 09 39...
Страница 151: ...Version 1 09 151...
Страница 175: ...Version 1 09 175...