beautypg.com

ProSoft Technology MVI71-DFNT User Manual

Page 79

background image

MVI71-DFNT ♦ PLC 5

Reference

EtherNet/IP Client/Server Communication Module

User Manual

ProSoft Technology, Inc.

Page 79 of 175

February 3, 2011

When using PLC5 or SLC commands, access to the database is through

simulated "N" files. For example, to access database element 3012, use the file

address of N40:12. When using CIP Data Table Read or Write commands, use

the various data[ ] tag arrays described in the following table. For example, use

int_data[3012] to access database register 3012 as an integer value.

Data Type Tag Name

Length of Each Element in

CIP message

Array Range for 4000

Element Database

BOOL

BOOLData[ ]

1

0 to 63999

Bit Array

BITAData[ ]

4

0 to 1999

SINT

SINTData[ ]

1

0 to 7999

INT

INT_Data[ ]

2

0 to 3999

DINT

DINTData[ ]

4

0 to 1999

REAL

REALData[ ]

4

0 to 1999

Before attempting to use the module on a network, verify that the DFNT module

is correctly configured and connected to the network. A network program such as

PING can be utilized to make certain the module can be seen on the network.

Use ProSoft Configuration Builder to verify correct operation, and to transfer

configuration files to and from the module.
The following table shows the supported commands when the module acts as a

slave (server):

Basic Command Set Functions

Command Function Definition

Supported in Slave

0x00

N/A

Protected Write

X

0x01

N/A

Unprotected Read

X

0x02

N/A

Protected Bit Write

X

0x05

N/A

Unprotected Bit Write

X

0x08

N/A

Unprotected Write

X

PLC-5 Command Set Functions

Command Function Definition

Supported in Slave

0x0F

0x00

Word Range Write (Binary Address)

X

0x0F

0x01

Word Range Read (Binary Address)

X

0x0F

Typed Range Read (Binary Address)

X

0x0F

Typed Range Write (Binary Address)

X

0x0F

0x26

Read-Modify-Write (Binary Address)

0x0F

0x00

Word Range Write (ASCII Address)

X

0x0F

0x01

Word Range Read (ASCII Address)

X

0x0F

0x26

Read-Modify-Write (ASCII Address)