ProSoft Technology MVI69-ADM User Manual

Page 32

Advertising
background image

Understanding the MVI-ADM API

MVI-ADM ♦ 'C' Programmable

Developer's Guide

'C' Programmable Application Development Module

Page 32 of 342

ProSoft Technology, Inc.

February 20, 2013

Configuration Data Transfer Block (9000)
When the module performs a restart operation, it will request configuration
information from the SLC processor. This data is transferred to the module in a
specially formatted write block in the M0 file. The module will poll for this
information by placing the value 9000 in word 0 of the M0 file. The ladder logic
must construct the requested block in order to configure the module. The format
of the block for configuration is given in the following section.

Module Configuration Data Block (9001)
This block sends configuration information from the processor to the module. The
data is transferred in a block with an identification code of 9001. The structure of
the block is displayed below:

M0 Offset

Description

Length

0

9001

1

1 to 6

Backplane Set Up

6

7 to 15

Port 1 Configuration

9

16 to 24

Port 2 Configuration

9

If there are any errors in the configuration, the bit associated with the error will be
set in one of the two configuration error words. The error must be corrected
before the module starts operating.

Special Function Blocks
Special Function blocks are special blocks used to control the module or request
special data from the module. The current version of the software supports three
special function blocks: write configuration, warm boot and cold boot.

Write Configuration Block (9997)
This block is sent from the processor, and causes the module to write its current
configuration back to the processor. This function is used when the module’s
configuration has been altered remotely using database write operations. The
write block contains a value of 9997 in the first word. The module will respond
with a block containing the module configuration data. Ladder logic must handle
the receipt of the block. The block transferred from the module is as follows:

M0 Offset

Description

Length

0

9997

1

1 to 6

Backplane Set Up

6

7 to 15

Port 1 Configuration

9

16 to 24

Port 2 Configuration

9

Advertising