Command control blocks, User constructed command block (9901) – ProSoft Technology MVI46-103M User Manual
Page 20

MVI46-103M ♦ SLC Platform
Functional Overview
IEC 60870-5-103 Master Communication Module
Page 20 of 187
ProSoft Technology, Inc.
September 12, 2006
Block Code
Descriptions
9901
User Constructed Command
9902
Command Control Block (Add command to Command List Queue)
9903
Event Messages from Master port
9950
Command List Error data
9970
Set SLC time using module's time
9971
Set module's time using SLC time
9998
Warm Boot Request from SLC (Block contains no data)
9999
Cold Boot Request from SLC (Block contains no data)
Registers 4000 to 4099 report module status data. This data area should be
copied to a user file for use in the SLC. MVI46-103M Status Data Area (on page
77) contains a listing of the contents of this data area.
Registers 4200 to 4299 are utilized for the transfer of event messages from the
master driver to the SLC. These data are passed to the module when a value of
9903 is placed in register 4200. The ladder logic should copy the information
contained in the block of data and then set register 4200 to 0 to inform the
module that the messages have been accepted.
Registers 4100 to 4199 are used control of the module by the ladder logic. For
example,
if the processor places a value of 9998 in register 4100, the module will perform
a warm-boot operation. If the processor places a value of 9999 in this register,
the module will perform a cold-boot operation. In this application module, both of
these operations perform the same function. They exit the program and then
restart the program. Many of the program parameters set in the user
configuration must be set at program initialization and cannot be set while the
program is running. Therefore, both functions operate the same.
The command functions supported by the module and there data formats are
discussed in the following section.
3.1.6
Command Control Blocks
Block identification codes greater than 9900 are utilized to perform special
functions in the module when placed in the M-file's 4100 register. Each control
block recognized and used by the module is defined in the following sections:
User Constructed Command Block (9901)
Block identification code 9901 issues one or more user constructed commands.
When the module receives a block 9901 identification code, it will place the
included commands into the command queue.