Special objects, Special, Objects – ProSoft Technology MVI69-DNP User Manual

Page 45

Advertising
background image

Ladder Logic

MVI69-DNP ♦ CompactLogix or MicroLogix Platform

DNP 3.0 Master/Slave Communication Module

ProSoft Technology, Inc.

Page 45 of 129

November 3, 2008

3.2 Special

Objects

These objects utilize some of the advanced features the module provides. If your
application does not require the object, then you need not declare an instance of
the object. Each of the objects and associated function are discussed in the
following topics.

3.2.1 DNPCROB

Object

The DNPCROB object is used in conjunction with the command control block
9901. This block sends a pulse output command to a single-point relay or a
trip/close relay. All the parameters required for each command to be used in the
block are contained in the object. Up to six of these objects can be contained in a
single block 9901 command. The structure of the object is shown in the following
example:

Tag Name

Data Type

Description

Port_Flag

INT

This field is ignored in the current implementation

Slave_ID INT

This is the DNP slave address to send the command
to

Object

INT

This should always be 12

Variation

INT

This should always be 1

Function INT

This should be 3, 5 or 6 depending on the write
method

Address INT

This is the binary output starting point to operate in
the slave

Control_Code

INT

This determines the CROB operation

Pulse_Count

INT

This determines the number of pulses (0-255)

Pulse_On

INT

This determines the pulse on time

Pulse_Off

INT

This determines the pulse off time

3.2.2 DNPEventMsg

Object

The DNPEventMsg object stores event messages received on the DNP master
port and passed to the processor. The structure of this object is shown in the
following example:

Tag Name

Data Type

Description

DevIndex

INT

Logical slave device index in module

IEDPoint

INT

Logical point address in IED database

DNPPoint

INT

Logical point address in DNP database

SlaveAddress

INT

Remote slave address that generated event

PointNum

INT

Point address in remote device

Object

INT

DNP object number for point

Variation

INT

DNP variation for event

LowTime

INT

Least-significant word of 48-bit DNP time

HighTime

DINT

Most-significant double-word of 48-bit DNP time

Value

DINT

Value for event

This information is passed to the processor from the module in a special read
block with an identification code of 9903. Each block can send up to 20 event
messages. Ladder logic must handle the receipt of this special data block and to
place the data received into controller tags.

Advertising