Configuration data transfer, Writing the configuration to the mvi46-mbp, Reading the configuration from the mvi46-mbp – ProSoft Technology MVI46-MBP User Manual

Page 42: Status blocks, Command control blocks

Advertising
background image

MVI46-MBP ♦ SLC Platform

Reference

Modbus Plus Communication Module

Page 42 of 101

ProSoft Technology, Inc.

February 19, 2008

This database is stored in the M1 file of the module and the internal database of
the module. Data contained in this database is paged from the M1 file to the
module. When data is received on the network for the database, it is copied to
both the M1 file and the internal database. If this data is overwritten in the M1 file,
it is also overwritten in the internal database. To move data from a user file to the
M1 file, use the COP instruction. This data is then copied to the module's
database. To read data from the module, use the COP instruction to copy data
from the M1 file to the user data file.

Configuration Data Transfer
Writing the Configuration to the MVI46-MBP
When the module performs a restart operation, it requests configuration
information from the SLC processor. This data is transferred to the module in the
M1 file. When the ladder logic recognizes a value of 9000 in register 4370 of the
M1 file, it should copy all configuration information into the M1 file. After the
operation is complete, the ladder logic should place a value of 9001 into the
control register (4370) of the M1 file. The module will recognize the configuration
completion code (9001) and configure the module using the data contained in the
M1 file.

The Reference chapter contains a complete listing of the configuration
information of the M1 file, and design forms to aid in the module configuration
process.

Reading the Configuration from the MVI46-MBP
Option "Y" (Transfer Module Cfg to Processor) when using the Debug port,
allows the transfer of configuration data from the MVI module to the SLC. When
the user presses the "Y" key, the module forms a block (M1:x.4370 = -9000) with
the configuration. Ladder logic should copy the data from the M1 file to the SLC
data file. The ladder logic should then move 0 to M1:x.4370 in order to clear the
module.

Status Blocks

Status data is placed in the M1 file to determine the "health" of the module and
the activity of the Modbus Plus network. The format of this data area is shown in
the Reference chapter. Registers 4000 to 4369 in the M1 file contain the
module's status data.

Command Control Blocks
Command control blocks are special blocks used to control the module or
request special data from the module. The current version of the software
supports eight command control blocks:
ƒ

User Command Block (9002)

ƒ

Command Execution Block (9003)

ƒ

Command Enable/Disable Blocks (9010, 9011, 9012)

ƒ

M0 Pass-Through Control (9956, 9958, 9959)

ƒ

Write Configuration (9997)

ƒ

Warm

Boot

(9998)

ƒ

Cold Boot (9999)

Advertising
This manual is related to the following products: