Spectrum Controls 1762sc-IF4OF4 User Manual

Page 30

Advertising
background image

3-8

MicroLogix™ 1200 Analog Combo Module (4Ch IN / 4Ch Out)



User’s Manual Pub. 0300247-01 Rev. C

Section 3.5
Read Input
Data

The input data file contains module status information and analog input data for each of
the four input channels. Analog input data is read for each channel, converted to a scaled
digital value, and stored in the input file. Use the addressing scheme below to locate the
8 input words used for channels 0 through 7, respectively.

(1)

I

/O located on the controller (embedded I/O) is slot 0. I/O added to the controller (expansion I/O) begins

with slot 1.

The layout for the input file is shown below.

Table 3-7 (Input Data File Layout)

Word

Bits

15 14 13

12

11 10 9 8 7 6 5 4 3 2 1 0

General

Status I:e.0 - - - - - - - -

S7

S6

S5

S4

S3

S2

S1

S0

Output

Status

I:e.1 - LD3 U3 O3 - LD2 U2 O2 - LD1 U1 O1 - LD0 U0 O0

Input

Status

I:e.2 - OC7 U7 O7 - OC6 U6 O6 - OC5 U5 O5 - OC4 U4 O4

CJC Temperature

I:e.3

16 Bit Word

Input Channel4

Data

I:e.4

16 Bit Word

Input Channel 5

Data

I:e.5

16 Bit Word

Input Channel 6

Data

I:e.6

16 Bit Word

Input Channel 7

Data

I:e.7

16 Bit Word

-

= Not used: Bit set to 0.

S<x> = General status bit: If a bit is set (1) then there is an error associated with that

channel (i.e. under/over range).

U<x> = Under range flag bits: Applies to all input/output types.

Inputs:

When set to 1, indicates input signal is below the value in the “Low
Range” column indicated by the table above. However, the module will
continue to convert analog data to the minimum “Low Limit” value. Bit is
automatically reset (0) by the module when the under range condition
clears.
For input data types 0-20mA, 0-10V, and 0-5V, the under range flag bits
will be set when the data value is 0.

Outputs:

When set to 1, indicates the output word value set by the user is below the
”Low Range” value (depending on the data format). The channel will

Advertising