![Satec PM172 Series Скачать руководство пользователя страница 45](http://html.mh-extra.com/html/satec/pm172-series/pm172-series_owner-reference-manual_1200376045.webp)
45
Event log window
Registers (see Table 5-62)
Event log window #6
29490-29499
Event log window #7
29500-29509
Event log window #8
29510-29519
Event log window #9
29520-29529
Event log window #10
29530-29539
Event log window #11
29540-29549
Event log window #12
29550-29559
Table 5-62 Event Log Window Registers
Parameter
Offset
Type
R/W
Range
Record status
+0
UINT16 R
Bit-mapped register:
bit 0 = 1 - the end record is being read (the end of a
log file reached)
bit 1 = 1 - reading after the end of file: the read
pointer has rolled over the end of a log file, i.e., the
file is being re-read from the beginning. This bit is
cleared when a new record is being read, or the
read sequence has changed by overwriting the
partition pointer.
bit 8 = 1 - no records logged in the partition
bit 9 = 1 - the record is corrupted
bit 15 = 1 - read error (detailed by bits 8-9)
Record sequence number
+1
UINT16 R
0 to 65535 (increments modulo 65536 with each log)
Timestamp
1
+2, +3 UINT32 R
Local time (UNIX-style)
Fractional seconds portion of timestamp
+4
UINT16 R
0-990 ms (at 10 ms resolution)
Event cause
+5
UINT16 R
See Table 5-64
Log value (32-bit register)
2
+6, +7 UINT32 R
See Table 5-64
Event effect
+8
UINT16 R
See Table 5-64
Re9
UINT16
R
0
1
Timestamp is given in local time in a UNIX-style time format: it represents the number of seconds since midnight
(00:00:00), January 1, 1970. The time is valid after January 1, 2000.
2
For the log value size and range, refer to Table 5-29.
NOTES:
1. If a requested record is corrupted (the redundant check fails), the record is reported with all zeros (except the
sequence number) and the bits 9 and 15 in the status indication word being set to 1.
2. If a record is requested when the log file is empty, the record is reported with all zeros and bits 8 and 15 in the
status indication word being set to 1.
Table 5-63 Event Log Parameters
Event cause code
Event cause
High byte:
cause code
Low byte:
event origin (location)
Log value
Event effect
Setpoint event
Trigger parameter
ID high byte
(see Table 5-32)
Trigger parameter ID low byte
(see Table 5-32)
Trigger parameter
value
(see Table 5-32)
0xE100-0xE10F,
0xE200-0xE20F
(see Table 5-65)
Communications 0x5B
Data location code (see Table 5-64) N/A
See Table 5-65
Front panel
0x5C
Data location code (see Table 5-64) N/A
See Table 5-65
Self-check
0x5D
Data location code (see Table 5-64) N/A
See Table 5-65
Self-update
0x5E
8 = RTC
N/A
0xF500 = RTC set
External event
0x63
0 = power down, 8 = power up
N/A
N/A
Table 5-64 Data Location Codes
Location code
Description
3
Data keeping memory
4 Factory
setup
5 Access
setup
6 Basic
setup
7 Communications
setup
8 Real-time
clock
9
Digital inputs allocation
10
Pulse counters allocation
11
Analog output setup