ProSoft Technology 5204-DFNT-PDPMV1 User Manual

Page 79

Advertising
background image

DFNT ♦ ProLinx Gateway

Reference

EtherNet/IP Explicit Messaging Client/Server

Protocol Manual

ProSoft Technology, Inc.

Page 79 of 124

July 24, 2013

5.2.11 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

Slot Number

Processor slot number in Control/CompactLogix rack.
Use -1 for PLC5 & SLC processors.

8

Function Code = 152

Read-Modify-Write Command.

9

File String

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

P1

10 to 12

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