![background image](http://html.mh-extra.com/html/omron/c200hw-clk21/c200hw-clk21_operation-manual_742483190.webp)
165
Checking Data Link Status
Section 5-4
Processing Data Only when Operation Is Normal Using the IL-ILC and JMP-JME Instructions
Perform processing only when operation is normal by creating a program
based on program blocks that process data for each node with the IL-ILC and
JMP-JME programs.
“Data Link Normal Operating Flags” can be created using the programming
described in
5-4-5 Error Detection Program Example
.
Writing 0000 in the Data Link Area when Errors Occur
When data links are not operating normally, write 0000 to the data link area of
the node with the error to stop other data being received.
As an example, the following example shows how to write 0000 in the data link
area of node 2 (D00100 to D00120) using the BSET (block set) instruction
when an error occurs at node 2.
■
Data Link Example: Communications Error at Node 2
■
Example of Programming for Node 1 to Handle Communications Errors at
Node 2
Insert the above programming at the start of the program.
“Data Link Normal Operating Flags” can be created using the programming
described in
5-4-5 Error Detection Program Example
.
Note
1.
If an error occurs and 0000 is written to the Data Link Area occurs for an
unstable transmission path (i.e., one that repeatedly alternates between
communications errors and normal operation), the normal data will be fre-
ILC
IL
Node A Data Link
Normal Operation Flag
Node A data processing
ILC
IL
Node B Data Link
Normal Operation Flag
Node B data processing
ILC
IL
Node C Data Link
Normal Operation Flag
Node C data processing
Node 1
Node 2
Node 1
Node 2
X
Node 1
Node 1
Node 2
Node 62
Node 2
Node 62
Node 62
Node 62
Node 2 Data Link
Normal Operation Flag
0000 is written continuously
in node 2's area (D00100 to
D00120) until node 2's flag
turns ON.
BSET
# 0 0 0 0
D00100
D00120
Содержание C200HW-CLK21
Страница 3: ...iv ...
Страница 9: ...x ...
Страница 12: ...xiii TABLE OF CONTENTS Index 367 Revision History 373 ...
Страница 13: ...xiv ...
Страница 19: ...xx ...
Страница 57: ...32 Application Precautions Section 1 5 Example CX Programmer Response Timeout Setting ...
Страница 69: ...44 Message Service Procedure Section 2 2 ...
Страница 111: ...86 Constructing Networks with Repeater Units Section 3 4 ...
Страница 154: ...129 Setting Data Links Section 5 2 Device Information Setting Data Link Tables ...
Страница 261: ...236 Response Codes Section 6 7 ...
Страница 297: ...272 Message Delay Times Section 8 4 ...
Страница 353: ...328 Handling Precautions Section 9 6 ...
Страница 364: ...339 Changing the Data Link Tables with Active Data Links Section 10 2 ...
Страница 365: ...340 Changing the Data Link Tables with Active Data Links Section 10 2 ...
Страница 369: ...344 Standard Models Appendix A ...
Страница 391: ...366 Using the Relay Terminal Block Appendix C ...
Страница 397: ...372 Index ...
Страница 401: ...376 Revision History ...