ProSoft Technology MVI69-ADM User Manual

Page 46

Advertising
background image

Understanding the MVI-ADM API

MVI-ADM ♦ 'C' Programmable

Developer's Guide

'C' Programmable Application Development Module

Page 46 of 342

ProSoft Technology, Inc.

February 20, 2013

Module Configuration Data Transfer Block (9000)
When the module performs a restart operation, it will request configuration
information from the PLC processor. This data is transferred to the module in
specially formatted write blocks (output image). The module will poll for each
block by setting the required write block number in a read block (input image).
The module will request all command blocks, according to the number of
commands configured by the user for each Master port.

This block sends general configuration information from the processor to the
module. The data is transferred in a block with an identification code of 9000.
The structure of the block is displayed in the following table.

Write Block

Offset

Description

Length

0

9000

1

1 to 6

Backplane Setup

6

7 to 31

Port 1 Configuration

25

32 to 56

Port 2 Configuration

25

57 to 63

Spare

7

The read block used to request the configuration has the following structure:

Read Block

Offset

Description

Length

0

-2

1

1

9000

1

2

Module Configuration Errors

1

3

Port 1 Configuration Errors

1

4

Port 2 Configuration Errors

1

5 to 63

Spare

59

If there are any errors in the configuration, the bit associated with the error will be
set in one of the three 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.

Advertising