Warm and cold boot, Cold boot, Warm boot – ProSoft Technology MVI46-DNP User Manual

Page 76: Command control

Advertising
background image

MVI46-DNP ♦ SLC Platform

Reference

Master/Slave Communication Module

Page 76 of 143

ProSoft Technology, Inc.

August 23, 2007

5.2.5 Warm and Cold Boot

The DNP slave module supports both warm and cold boots. There are several
sources for the reboot process.

Cold Boot

A cold boot will request the configuration information from the SLC and reset all
program variables in the module. When the configuration is received, all program
variables will be initialized and the program will execute.

Source of the Cold Boot:
ƒ

Power up of module

ƒ

Cold restart command from DNP master (function 0x0D)

ƒ

Receipt of 253 Command Control code from SLC when running

ƒ

Cold boot request from DNP Module Configuration Program (Must have

appropriate ladder logic in place)

Warm Boot

A warm boot will use the information in a newly acquired configuration data block
to initialize data related to the communication ports, file and errors. It will not
initialize the database and the pointers. These values are only initialized in a cold
boot.

Source of the Warm Boot:
ƒ

Warm restart command from DNP master (function 0x0E)

ƒ

Receipt of 255 Command Control code from SLC when running

ƒ

Warm boot request from DNP Module Configuration Program (Must have

appropriate ladder logic in place)

5.2.6 Command

Control

In addition to interfacing to the M1: file, the module constantly scans the module's
output file for a command control event. If the SLC ladder logic sets the
command control ready bit (O0: /1), the module reads the command control area
of the M0: file. The format of the data to be read is dependent on the command
to be processed. Note the ladder logic program initiates all command control.
The general format of the data area is shown in the following diagram:

Word Offset in Block

Data Field(s)

Description

M0: .80

Command Code

This field contains the command control function code to perform.

M0: .81

Parameter 1

This field contains the first parameter to be passed to the function.

M0: .82

Parameter 2

This field contains the second parameter to be passed to the
function.

M0: .143

Parameter 63

This field contains the last parameter to be passed to the function.

Advertising