ProSoft Technology MVI69-ADM User Manual
Page 47

MVI-ADM ♦ 'C' Programmable
Understanding the MVI-ADM API
'C' Programmable Application Development Module
Developer's Guide
ProSoft Technology, Inc.
Page 47 of 342
February 20, 2013
Write Configuration Block (-9000)
This block is sent from the PLC 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 -9000 in the first word. The
module will respond with blocks containing the module configuration data. Ladder
logic must handle the receipt of these blocks. The blocks transferred from the
module are as follows:
Block -9000, General Configuration Data:
Offset
Description
Length
0
-9000
1
1
-9000
1
2 to 7
Backplane Setup
6
8 to 32
Port 1 Configuration
25
33 to 57
Port 2 Configuration
25
58 to 63
Spare
6
Blocks -6000 to -6003 and -6100 to 6103, Master Command List Data for ports 1
and 2, respectively:
Offset
Description
Length
0
-6000 to 6016 and -6100 to 6116
1
1
-6000 to 6016 and -6100 to 6116
1
2 to 11
Command Definition
10
12 to 21
Command Definition
10
22 to 31
Command Definition
10
32 to 41
Command Definition
10
42 to 51
Command Definition
10
52 to 61
Command Definition
10
62 to 63
Spare
2
Each of these blocks must be handled by the ladder logic for proper module
operation. The processor can request the module’s configuration by sending a
configuration read request block, block code 9997, to the module. The format of
this request block is as follows:
Offset
Description
Length
0
9997
1
1 to 63
Spare
63