ProSoft Technology MVI69-DFCM User Manual

Page 99

Advertising
background image

Reference MVI69-DFCM

♦ CompactLogix or MicroLogix Platform

DF1 Interface Module

ProSoft Technology, Inc.

Page 99 of 117

November 3, 2008

Function Code #151 - Word Range Read (PLC-5 Command) (ASCII Address)

Column

Parameter

Description

Parameter

1

Enable/Type Word

0=Disabled and 1=Continuous.

2

Virtual Database Address

This parameter defines the database address of the first
data point to be associated with the command.

3

Poll Interval

Minimum time in tenths of a second to wait before
polling with this command.

4

Count

Number of data word values to be considered by the
function.

5

Swap Type Code

Swap type code for command: 0=None, 1=Swap words,
2=Swap words & bytes and 3=swap bytes in each word.

6

Node Address

Address of unit to reach on the data highway.

7

Function Code = 151

Word Range Read Command.

8

File String

PLC-5 address as specified as an ASCII string. For

example, N10:300.

P1

9 to 11

Not Used

These fields are not used by the command. Values

entered in these columns will be ignored.

P2 to P4

This function reads one or more words of data from a PLC data table. This
function should work on the following devices: PLC-5.

Function Code #152 - Read-Modify-Write (PLC-5 Command) (ASCII Address)

Column

Parameter

Description

Parameter

1

Enable/Type Word

0=Disabled, 1=Continuous and 2=Conditional.

2

Virtual Database Address

This parameter defines the database address for the
data to be associated with the command. The first
database register is used as the AND mask for the
command, and the second is used for the OR mask.
Values in the AND mask have the following definitions:
0=Reset and 1=Leave the Same. Values in the OR
mask have the following definitions: 0=Leave the Same
and 1=Set.

3

Poll Interval

Minimum time in tenths of a second to wait before
polling with this command.

4

Count

Number of data word values to be considered by the
function.

5

Swap Type Code

Swap type code for command: Always zero (0).

6

Node Address

Address of unit to reach on the data highway.

7

Function Code = 152

Read-Modify-Write Command.

8

File String

PLC-5 address as specified as an ASCII string. For
example, N10:300.

P1

9 to 11

Not Used

These fields are not used by the command. Values
entered in these columns will be ignored.

P2 to P4

This function writes one or more words of data to a PLC data table. This function
should work on the following devices: PLC-5. The command constructed
contains an AND mask and an OR mask. Values in the AND mask have the
following definitions: 0=Reset and 1=Leave the Same. Values in the OR mask
have the following definitions: 0=Leave the Same and 1=Set. The module is
responsible for setting the mask values to correctly construct the message from
the virtual database values.

Advertising