2 configuration – Rockwell Automation 57C419 5V-24V DC Input Module User Manual
Page 18

4Ć2
rw
rw
rw
rw
bits
register 0
register 1
- - - r
r
r
r
Bit 11 Ć Latch status, B20
Bit 10 Ć Latch status, B19
Bit ă9 Ć Latch status, B18
Bit ă8 Ć Latch status, B17
Bit ă6 Ć Interrupt enable, B17
Bit ă5 Ć Interrupt enable, B18
Bit ă4 Ć Interrupt enable, B19
Bit ă3 Ć Interrupt enable, B20
register 3
Bit ă3 Ć Latch edge, B20
0 Ć off to on
1 Ć on to off
Bit ă2 Ć Latch edge, B19
Bit ă1 Ć Latch edge, B18
Bit ă0 Ć Latch edge, B17
- - - - rw rw rw rw - - - - rw rw rw rw
*1 0, 1, 2, 7, and 15 of register 2 are controlled by the operating system and must
not be defined or set by the user.
A latch must be acknowledged by writing a 0" to the proper bit after the latch
has occurred.
B17ĆB20 refer to inputs. See Appendix C for more information on input connecĆ
tions.
Bit 11 Ć Latch reset, B20 *1
Bit 10 Ć Latch reset, B19 *1
Bit ă9 Ć Latch reset, B18 *1
Bit ă8 Ć Latch reset, B17 *1
register 2
bits
Registers 0 and 1 Ć Input Data Status
0
r
1
r
2
r
3
r
4
r
5
r
6
r
7
r
8
r
9
r
10
r
11
r
12
r
13
r
14
r
15
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Register 2 Ć Interrupt and Status Control
-
-
-
- -
Register 3 Ć Latch Reset and Edge Definition
Figure 4.1 Ć Organization of Register Bits
4.2
Configuration
Before any application programs can be written, it is necessary to
configure the definitions of systemĆwide variables, i.e. those that must
be globally accessible to all tasks.
For DCS 5000 and AutoMax Version 2.1 and earlier, you define
systemĆwide variables by writing a Configuration task. For AutoMax
Version 3.0 and later, you define systemĆwide variables using the
AutoMax Programming Executive. After these variables are defined,
you can generate the configuration file automatically, which
eliminates the requirement to write a configuration task for the rack. If
you are using AutoMax Version 2.1 or earlier, refer to Appendix E for
examples that show how to define variables in the configuration task.