ProSoft Technology MVI46-DFNT User Manual

Page 72

Advertising
background image

Reference

MVI46-DFNT ♦ SLC Platform

User Manual

EtherNet/IP Client/Server Communication Module

Page 72 of 177

ProSoft Technology, Inc.

October 12, 2010

4.2.2 Module Control Blocks (4000 to 4999)

As discussed in the previous section, range 4000 to 4999 in the M1 file controls

the module in order to perform specific tasks. These tasks are described in the

following topics. Word 4000 contains the block ID that identifies the block to the

MVI46-DFNT module. The block structure, which is different for each block, is

shown in the following topics.

Status Data Request
When the user wants to read the module’s general error and status data to the

SLC, it must make a special request using the command control area. The

following tables lists the two values recognized by the module in register 4000 to

request the data:

Control Code

Content

Description

250

General

Status data for the module, client and pass-through server

251

DFNT Servers

Status data for each of the 5 DFNT servers


Refer to MVI46-DFNT Status Data Definition (page 86) for a complete listing of

the data returned for the two status blocks.

Initialize Output Data
When the module performs a restart operation, it requests output data from the

processor to initialize the module’s output data. This mode is selected using the
Initialize Output Data parameter in the configuration file. This facility can be

used to bring the module to a known state after the restart operation. The

structure of the block used to request the data is shown in the following table.

Offset

Description / Value

Length

4000

1000

1


The command control value of 1000 is placed in register 4000 of the M1 file to

indicate that the module is requesting initialization of the M1 data file. Ladder

logic in the processor must recognize this command and place the correct

information in the M1file. After the data transfer is complete, the ladder logic

should place a value of 1001 in register 4000 of the module’s M1 file. The format

of the returned write block is shown in the following table.

Offset

Description / Value

Length

4000

1001

1

Advertising