Checking By Manipulating Bit/Word Status; Error Detection Program Example - Omron SYSMAC CS1W-CLK11 Operation Manual

Table of Contents

Advertisement

Checking Data Link Status
Data link
PC and
mode
operating level
Manual
CS/CJ-series PC
C200HX/HG/HE
Level 0
C200HX/HG/HE
Level 1
CVM1 or CV-
series PC
CQM1H-series
PC
5-4-3

Checking by Manipulating Bit/Word Status

5-4-4

Error Detection Program Example

106
First data link
status word
Specify in the data
16 words in the following
link tables
ranges
CIO: 0 to 6640
LR: 0 to 184
DM: 0 to 32752
EM: 0 to 32752
16 words in the following
ranges
IR:
IR:
LR: 0 to 48
DM: 0 to 5984
EM: 0 to 6128
16 words in the following
ranges
CIO: 0 to 2540
LR: 0 to 184
DM: 0 to 24560
EM: 0 to 32750
16 words in the following
ranges
IR:
LR: 0 to 48
DM: 0 to 5984
EM: 0 to 6128
Note a) N: Unit number
b) Only status for nodes 1 to 6 are saved.
After you have confirmed that the data link function is operating normally,
check to see whether or not the data link is operating as intended, i.e., check
to see if the desired bits/words data is being transferred to the intended words
at other nodes.
Although the data link function itself may be operating correctly, the data link
areas may have been input incorrectly.
Change the contents of a bit or word in a data link send area using a Program-
ming Device or the user program and check whether the change is reflected in
data link areas of other nodes as intended.
Note Do not restart the polling node of the Controller Link Network while data links
are active. Otherwise, the data links may stop.
Local node
Node 1
Data Link
Data Link Participating Flag
Participation Flag
Node 2
Data Link Participating Flag
Node 32
Data Link Participating Flag
When the source node's data link is participating, the AND condition of the
data link status for each node can be taken using the Data Link Participation
Flag and the Communications Error Flag, and the error output.
Setting range
0 to 220
300 496
0 to 232
Node 1
Communications Error Flag
Node 2
Communications Error Flag
Node 32
Communications Error Flag
Section 5-4
Default status
CIO 1500 + 25 × N + 7 to 22
IR 239 to IR 241 (see note b))
IR 243 to IR 245 (see note b))
CIO 1500 + 25 × N + 7 to 22
IR 91 to IR 93 (see note b))
Node 1
Error output
Node 2
Error output
Node 32
Error output

Advertisement

Table of Contents
loading

Table of Contents