Method Of Confirming Link Data Validation; Link Error Flag Area - Hitachi Hidic EH-150 EH-OLNK Applications Manual

Table of Contents

Advertisement

4.5

Method of confirming link data validation

4.5.1 Link Error Flag Area

When reading area data assigned to other stations, it is necessary to confirm that each station's link module is
operating normally and that the CPU is running correctly at the very least. The method for doing this is by
monitoring the link operation station flags (WRF05E to WRF08E and WRF145 to WFR148) and the CPU
status flags (WRF0E9 to WRF0F8 and WRF149 to WFR158) and confirming all are set at ON (normal
operations) before reading the assigned area data.
Further details on the link error flag areas are provided below.
Local station error information*
Link participation flag
(g)
Link operation status flag
(h)
CPU status flag (i)
Error status flag (j) *
Station 0 to 63
Error detail information
Refresh time (maximum)
Refresh time (minimum)
Refresh time (present)
(a): System bus error (1-error, 0-no error)
(c): Area error (1-error, 0-no error)
(e): Station number error (1-error, 0-no error)
(g): Number indicates the station number (1-participation, 0-non-participation)
(h): Number indicates the station number (1-operating, 0-stopped)
(i): Number indicates the station number (of the 4 bits, 1] 1-CPU error, 0-normal
3] 1-HALT status, 0-other than HALT status
1]
2]
(j): Number indicates the station number (1-error, 0-no error)
(k): Time out error (1-error, 0-no error)
(l): Frame error (1-error, 0-no error)
(m): Abnormal between CPU and link (1-abnormal, 0-normal)
*1: The error information for link area #1 is stored in WRF0E0 to WRF13F, and the error information for link
area #2 is stored in WRF140 to 19F.
*2: These are cleared when the special internal output error clearance bit (R7EC) is set at ON, but the error
information is not erased even when cleared with R7EC if the cause of the error is not resolved in the link
module. In this event, resolve the cause of the error in the link module, press the reset switch on the
module's main unit, and then clear the information with R7EC.
*3: "1" is set in the error status flag's and error properties' (k), (l) and (m) when an error is triggered. "1" is set
in (k), (l) and (m) when an error occurs during communication with another station's CPU with the use of a
peripheral device.
*4: The [Transmission Error Count] is the total amount of (k) or (1) error occurrences.
15
14
13
12
2
Undefined (a) (b) (c) (d) (e)
15
31
47
63
15
31
47
63
3
63
15
3
31
47
63
(k)
(l) (m)
(k)
(l) (m)
3]
4]
Chapter 4. Basic CPU Link Operations
11
10
9
8
7
6
(f) Undefined Disconnected station number WRF0E0 / 140
to
to
to
to
to
to
to
to
2
1
62
61
to
to
to
to
Undefined
Number of times transmission errors *
Undefined
Number of times transmission errors *
(Unit: ms)
(Unit: ms)
(Unit: ms)
(b): Undefined
(d): Duplicate area error (1-error, 0-no error)
(f): Transmission path disconnected (1-error, 0-no error)
4] 1-running, 0-stopped)
4-6
5
4
3
2
1
0
0
WRF0E1 / 141
16 WRF0E2 / 142
32 WRF0E3 / 143
48 WRF0E4 / 144
0
WRF0E5 / 145
16 WRF0E6 / 146
32 WRF0E7 / 147
48 WRF0E8 / 148
0
WRF0E9 / 149
60
WRF0F8 / 158
0
WRF0F9 / 159
16 WRF0FA / 15A
32 WRF0FB / 15B
48 WRF0FC / 15C
4
WRF0FD / 15D
4
WRF13C / 19C
WRF13D / 19D
WRF13E / 19E
WRF13F / 19F
2] Undefined
1
*

Advertisement

Table of Contents
loading

Table of Contents