0 programming, 1 register organization – Rockwell Automation 57C419 5V-24V DC Input Module User Manual

Page 17

Advertising
background image

4Ć1

4.0 PROGRAMMING

This section describes how data is organized in the module and

provides examples of how the module is accessed by the application

software. For more detailed information, refer to the individual

programming language manuals listed in section 1.0.

4.1

Register Organization

The data in the module is organized as four 16 bit registers. The first

two registers (0 and 1) contain the current state (on or off) of the

input data. The software allows you to define the module as a single

long register of 32 bits, two separate registers of 16 bits each, or as

32 separate bits. These two registers are read only. Refer to

figure 4.1.
There are also two registers (2 and 3) used to control the four

latching inputs, which can be programmed as interrupts. The

information in these registers is typically referenced as individual bits.

Refer to figure 4.1.

Advertising