Version: 1.06 66
9.4.2. Analog System Variables
According to its function a variable is Read/Write or Read only. In the following table, the
column R/W indicates:
- : Read only.
* : Writable.
Index Name R/W Description
0
Second
*
Time:
Second in TB
OX
MS.
1
Minute
*
Time:
Minute in TB
OX
MS.
2
Hours
*
Time:
Hour in TB
OX
MS.
3
Date
*
Time:
Day of the month in TB
OX
MS.
4
Month
*
Time:
Month in TB
OX
MS.
5
Year
*
Time:
Year in four digit in TB
OX
MS.
6
DayOfw
*
Time:
Day of the week in TB
OX
MS. (Mo=1; Tu=2; We=3; …)
7
AlaCnt
*
Alarm quantity:
Amount of alarms in the alarms stack. It means
the quantity of alarms that have not been generated already.
The size of the Alarm stack can be adjusted in the ‘Advanced RTU
properties’).
8
AlaID
*
Alarm last index:
Absolute index of the last alarm generated
(number between 0 and 65535).
9
ALACur
*
Alarm current index:
Absolute index of the alarm being currently
handled (number between 0 and 65535).
Can be used to acknowledge an alarm by writing its index.
10
ALARec
*
Alarm recipient:
gives the index of the recipient of the current
alarm.
Can be used to acknowledge all alarms of a Recipient by writing
its index (see index in the list of Recipient).
11
SamQty
*
Sampling Table:
Quantity of sampling tables defined.
12
UtcTim
-
Time:
Universal Coordinated Time (UTC). It is the number of
seconds since 01/01/1970, GMT time. It is used as time-stamp
reference for datalogging.
13
ZonBia
*
Time:
Time difference in seconds with GMT.
14
ZonID
*
Time:
ID of the zone where TB
OX
MS has been installed. It uses
Regional Settings of PC, therefore it is important that you
configure PC according to the location where TB
OX
MS is
installed.
15
WeYear
*
Time:
week of the year.
16
CycTim
*
Time:
time for one cycle of the program (BASIC and Ladder). This
register is refreshed after each cycle.
Within the program, you could compute this register to memorize
the highest value.
17
AAcond
-
Alarms:
Quantity of alarm conditions, which are still active.
18
LevId
-
Events:
absolute number of the last event (0…65535).
19
AppVer
-
Application version:
according to the ‘version’ indicated in the
‘Info’ of the RTU properties. This register returns a version in a
WORD format: 0…65535
20
OsVer
-
Operating System version:
running in
TB
OX
MS