ProSoft Technology 5202-DFNT-DFCM4 User Manual
Page 65
![background image](https://www.manualsdir.com/files/866197/content/doc065.png)
DFCM ♦ ProLinx Gateway
Reference
DF1 Master/Slave
Driver Manual
ProSoft Technology, Inc.
Page 65 of 88
October 15, 2010
This function writes one or more words of data to a PLC data table. This function
should work on the following devices: SLC 500, SLC 5/03 and SLC 5/04.
Function Code #511 - Protected Typed Logical Write with Mask (Three Address
Fields)
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 of the
data to be associated with the command. The first
word of data contains the bit mask and the second
word contains the data.
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 = 511
Logical Write with mask
8
File Type
SLC file type letter as used in file name string. Valid
values for the system are N, S, F, A, ….
P1
9
File Number
SLC file number to be associated with the command.
P2
10
Element Number
The parameter defines the element in the file where
write operation will start.
P3
11
Sub-Element Number
This parameter defines the sub-element for the
command. Refer to the AB documentation for a list of
valid sub-element codes.
P4
This function writes one or more words of data from a PLC data table controlling
individual bits in the table. The bit mask used for the command is 0xFFFF. This
provides direct manipulation of the data in the device with the internal data of the
module. The function requires that all data associated with the command use the
same mask.