Output image definition – Rockwell Automation 1897-NOV High Speed Analog Installation Instructions User Manual

Page 8

Advertising
background image

Fast Isolated Analog Output Module

8

Publication CIG-5.1 – April 1998

Output Image Definition

The digital output data resides in the modules Rack/Group/Slot
location in the programmable controller output image table. The
format of the 16-bit data word written to the module over the
backplane is:

Dec. Bits

15

14

13

12

11

10

09

08

07

06

05

04

03

02

01

00

Octal Bits

17

16

15

14

13

12

11

10

07

06

05

04

03

02

01

00

Sign

Ch

ID 2

Ch

ID 1

Ch

ID 0

Data MSB Data word Data LSB

The data word is a 12 bit analog value: –4095 through 4095 –
corresponding to –10.7V through 10.7V. Bits 12,13,14 represent the
number of the channel which is to receive this data:

Decimal

Bit 14

Bit 13

Bit 12

Channel

Nu be

Octal

БББ

БББ

Bit 16

ББББ

ББББ

Bit 15

ББББ

ББББ

Bit 14

БББББ

БББББ

Channel

Number

ББББ

ББББ

БББ

БББ

0

ББББ

ББББ

0

ББББ

ББББ

0

БББББ

БББББ

1

ББББ

ББББ

БББ

БББ

0

ББББ

ББББ

0

ББББ

ББББ

1

БББББ

БББББ

2

ББББ

ББББ

БББ

БББ

0

ББББ

ББББ

1

ББББ

ББББ

0

БББББ

БББББ

3

ББББ

ББББ

БББ

БББ

0

ББББ

ББББ

1

ББББ

ББББ

1

БББББ

БББББ

4

ББББ

ББББ

БББ

БББ

1

ББББ

ББББ

0

ББББ

ББББ

0

БББББ

БББББ

5

ББББ

ББББ

БББ

БББ

1

ББББ

ББББ

0

ББББ

ББББ

1

БББББ

БББББ

6

ББББ

Б

ББ

Б

ББББ

БББ

Б

Б

Б

БББ

1

ББББ

Б

ББ

Б

ББББ

1

ББББ

Б

ББ

Б

ББББ

0

БББББ

Б

БББ

Б

БББББ

7

ББББ

ББББ

БББ

БББ

1

ББББ

ББББ

1

ББББ

ББББ

1

БББББ

БББББ

8

The bit pattern is MASKED onto the data in the ladder program.
The following ladder rung is an example of how to accomplish this
masking:

Program Action

MOV
MOVE

SOURCE

DESTINATION

N7:1

1000

O:002

N12:50

CONTROL:

29672

IOT

BTD
BIT FIELD DISTRIB

SOURCE

SOURCE BIT

DESTINATION BIT
LENGTH

3

N7:0

7
0

12

29672

DESTINATION

O:002

002

To set a single channel ’immediately’ on the NOV.
N7:0 –> Channel number to be updated: 0 through 7.
N7:1 –> Analog value to be set –4095 through 4095.

NOTE 1: Analog value must be set first, then

masked by the channel data.

NOTE 2: The channel and analog data must be

present (in the same scan, prior to this
rung) when this rung is executed in order
for the correct channel to get the data.

Advertising