Download Rockwell Automation

Transcript
Chapter 3
Data Table
Figure 3.12
Example of Sequencer Table Bit Assignments
Input
SEQUENCER
204
COUNTER ADDR:
400
FILE
to
427
SEQ LENGTH
WORD ADDR:
112
113
114
MASK ADDR:
403
431
432
WORD #1
17
D
E
V
I
C
E
WORD #2
10 07
00 17
WORD #3
10 07
00 17
WORD #4
10 07
00 17
10 07
00
N
A
M
E
MASK
STEP
1
2
3
4
/ / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / 0 0 0 0
1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0
0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0
A
B
F
8
E
A
4
C
A
3
D
9
3
C
4
D
2
8
1
2
B
5
F
4
1
D
C
1
3
4
D
2
C
6
4
7
B
A
FROM ADDR
TO ADDR
3.4.6
I/O Assignments
FF
7
3
2
D
F
400
407
6
2
8
5
3
2
E
9
3
C
B
F
C
H
1
E
D
1
A
1
1
4
2
B
C
6
7
C
2
410
420
417
427
1
F
6
A
Once the rough sketch of the application is complete, the programmer can
assign data table bit addresses to the input and output devices wired to the
controller. The 5-digit bit address directly corresponds to the location of
each I/O device with respect to the rack number, I/O group and terminal
number. Because the bit address is hardware-related, the programmer
cannot arbitrarily assign bit addresses to I/O devices. Refer to Section
3.2 on memory organization. Analog modules and other intelligent I/O
modules use word addresses rather than 5-digit bit addresses. Refer to the
user’s manual for each module for more information on addressing and
wiring.
The installer and programmer of the PLC-2/30 Programmable Controller
should work together to determine the best placement of the I/O modules
within the I/O chassis. To simplify installation and troubleshooting
procedures, it may be desirable to group like modules together. It is also
helpful to document I/O assignments on a form such as the form presented
at the end of this section. Recommendations for I/O wiring and module
328