ProSoft Technology 5202-DFNT-DFCM4 User Manual

Page 62

Advertising
background image

Reference

DFCM ♦ ProLinx Gateway

Driver Manual

DF1 Master/Slave

Page 62 of 88

ProSoft Technology, Inc.

October 15, 2010

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