43
Ladder Programming Precautions
Section 3-4
Flag Allocation in Multi-
level Mode
The following table shows the location of the PLC Run Flags and PC Link
Error Flags, based on the PLC model and PC Link Unit’s unit number.
Example:
In this example, the existing PC Link system is a multi-level system, and the
PC Link Units being replaced are node 1 in Link #0 (made up of 8 PLCs) and
node 0 in Link #1 (made up of 4 PLCs). The C1000H/C2000H flags are as fol-
lows:
• The PLC Run Flags for Link #0 are in SR 25000 to SR 25007 (the local
node’s flag is bit 01) and the flags for Link #1 are in SR 24800 to SR
24803 (the local node’s flag is bit 00).
• The PC Link Error Flags for Link #0 are in SR 25008 to SR 25015 (the
local node’s flag is bit 09) and the flags for Link #1 are in SR 24808 to SR
24811 (the local node’s flag is bit 08).
In the CVM1/CV-series PLC, the Status Area depends on the unit number (N)
set on the CVM1-LK401. When the unit number is set to 0, the word CIO 1500
+ 25
×
N + 3 = CIO 1503 is equivalent to SR 250 in the C1000H/C2000(H) and
CIO 1500 + 25
×
N + 1 = CIO 1501 is equivalent to SR 248. Consequently,
change any ladder program occurrences of SR 248 to CIO 1501 and occur-
rences of SR 250 to CIO 1503.
3-4-3
Level Flags
In the C1000H/C2000H-series PLCs the Level Flags in AR 2411 and AR 2412
indicated whether any PC Link Units were mounted in the PLC. In the CVM1/
CV-series PLCs, the equivalent flags are bits 11 and 12 of CIO 1500 + 25
×
N
+ 4. The flags are read-only.
C1000H/
C2000H
CVM1/CV Series
PC Link Error Flags
PLC Run Flags
(N = Unit number)
Bit
15
14
13
12
11
10
09
08
07
06
05
04
03
02
01
00
SR 247
CIO 1500 + 25
×
N
Link #1 15
14
13
12
11
10
9
8
15
14
13
12
11
10
9
8
SR 248
CIO 1500 + 25
×
N + 1
7
6
5
4
3
2
1
0
7
6
5
4
3
2
1
0
SR 249
CIO 1500 + 25
×
N + 2
Link #0 15
14
13
12
11
10
9
8
15
14
13
12
11
10
9
8
SR 250
CIO 1500 + 25
×
N + 3
7
6
5
4
3
2
1
0
7
6
5
4
3
2
1
0
C1000H/
C2000H
CVM1/CV Series
(N = Unit number)
Function
AR 2411
CIO 1500 + 25
×
N + 4, bit 11
ON when the PLC contains is a PC Link
Unit that is set to multi-level operation
Link #1.
AR 2412
CIO 1500 + 25
×
N + 4, bit 12
ON when the PLC contains is a PC Link
Unit that is set to single-level operation
or multi-level operation Link #0.
Содержание CVM1 Series
Страница 1: ...Cat No W434 E1 01 SYSMAC CVM1 CV Series CVM1 LK401 PC Link Unit This manual is PDF file only...
Страница 2: ...CVM1 LK401 PC Link Unit Operation Manual Produced July 2004...
Страница 3: ...iv...
Страница 5: ...vi...
Страница 41: ...26 Differences from Earlier PC Link Units Section 2 6...
Страница 77: ...62 Replacement Checklists Section 3 6...
Страница 95: ...80 Link Adapter Specifications Appendix B...
Страница 101: ...86 PC Link System I O Response Time Appendix C...
Страница 103: ...88 PC Link Settings and Status Areas Appendix D...
Страница 105: ...Revision History 90...