Example Of Effective Check Of Link Data - Hitachi Hidic EH-150 EH-OLNK Applications Manual

Table of Contents

Advertisement

4.5.2 Example of Effective check of Link Data

Figure 4.7 shows the example which CPU module of link station No.0 checks the effective of link data
(receive area) from other stations.
R7E4
WRF0E0
==
H0
Own station (ST No.0)
information
Condition of read link
data from other station
Figure 4.8 Program example of Link data effective check
< Program explanation>
• Read always the participate flag and link operation status of the link modules flag to WM0 to WM3.
• Extract information of stations used No. and construct AND circuits with own station error information.
• When ST No.0, 32, 63 are under normal operation, link effective flag(R0) turns ON.
• You can read link data from other station when link system is under operation by connecting the link data
effective flag as AND circuit.
(Caution)
• This is one of example. You do not need your program as the same.
• When a link station power off and optical type link module is in by-pass mode, you do not read link data at
the circuit including link data effective flag, The link data(WL, L) is renewed(the data from the link station
which by-pass mode is kept the data when it moved by-pass mode), but it is not stored to WM area
• When a transmission route cut-off error occurs, the station No. which is cut is stored in own station error
information(WRF0E0, WRF140). Even the error is disappeared, the information of the station No. is
remained. To clear the error information of a transmission route cut-off error, eliminate the reason of error
and push a reset switch of link module, then set R7EC ON.
• Link participate flag will turn ON when cable is not connected, or when a error occur at CPU link
module(Duplicated Station No. etc.)
• Link operation status flag will turn ON when send area is not assignment at own station, or when send area
is duplicated.
ST0
Figure 4.7 CPU link configuration
WM0 = WRF0E3
WM1 = WRF0E4
WM2 = WRF0E7
WM3 = WRF0E8
M0
M20
M1F
M3F
ST No.31
ST No.63
information
information
R0
WM100 = WL200
WM101 = WL201
WM102 = WL202
Read link data from other station
4-8
Chapter 4. Basic CPU Link Operations
WM0 :ST. No.32 to 47
Link participate flag
WM1 :ST. No.32 to 47
Link operation status flag
WM2 :ST. No.48 to 63
Link participate flag
WM3 :ST. No.48 to 63
Link operation status flag
R0
WRF0E0 :Own station (ST. No.0)
Error information
M0
:ST. No.32 link participate flag
M20 :ST. No.32 link operation status flag
M1F :ST. No.63 link participate flag
M3F :ST. No.63 link operation status flag
R0
: link data effective flag
When Link data effective flag(R0) is ON,
Store link data from other stations to WM area
ST32
ST63

Advertisement

Table of Contents
loading

Table of Contents