beautypg.com

ProSoft Technology MVI71-DFNT User Manual

Page 128

background image

Reference

MVI71-DFNT ♦ PLC 5

User Manual

EtherNet/IP Client/Server Communication Module

Page 128 of 175

ProSoft Technology, Inc.

February 3, 2011

5.11.16 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

Slot Number

Processor slot number in Control/CompactLogix rack.

Use -1 for PLC5 & SLC processors.

8

Function Code = 511

Logical Write with mask

9

File Type

SLC file type letter as used in file name string. Valid

values for the system are N, S, F, A, ….

P1

10

File Number

SLC file number to be associated with the command. P2

11

Element Number

The parameter defines the element in the file where

write operation will start.

P3

12

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.