3 dnpslave_err object, 4 dnp_bi_event object, 5 dnp_ai_event object – ProSoft Technology MVI69-DNP User Manual

Page 46

Advertising
background image

MVI69-DNP ♦ CompactLogix or MicroLogix Platform

Ladder Logic

DNP 3.0 Master/Slave Communication Module

Page 46 of 129

ProSoft Technology, Inc.

November 3, 2008

3.2.3 DNPSlave_Err

Object

The DNPSlave_Err object stores the slave status information returned from the
module after a 9949-block request from the ladder logic. An array of this object
should be defined to hold the status data for each slave used by the module. The
structure of the object is displayed in the following example:

Tag Name

Data Type

Description

Device_Index

INT

Index in the slave array for the master port

Slave_ID

INT

Slave address for device

Err_CRC

INT

Number of CRC errors

Err_Overflow

INT

Number of overflow errors

Err_Seq

INT

Number of sequence errors

Err_DLConf

INT

Number of data-link confirm retry errors

Err_DLCFail

INT

Number of data-link confirm failures

Err_AppResp

INT

Number of application response errors

3.2.4 DNP_BI_Event

Object

The DNP_BI_Event object stores the information for a single binary input event
to be sent from the processor to the module in a command block 9958. The
structure shown contains all the parameters required for a binary input event.

Tag Name

Data Type

Description

EventCount INT

Event

Count

SeqCounter INT

Sequence

Counter

BinInptDataPt INT

DNP

Binary Input Data Point

MonDayState INT

Month/Day/State

HourMin INT

Hour/Minute

SecMilsec INT

Second

Millisecond

Year INT

Year

Event2 INT[5]

Event

#2

Event3 INT[5]

Event

#3

Event4 INT[5]

Event

#4

Event5 INT[5]

Event

#5

Event6 INT[5]

Event

#6

Event7 INT[5]

Event

#7

Event8 INT[5]

Event

#8

Event9 INT[5]

Event

#9

Event10 INT[5]

Event

#10

Event11 INT[5]

Event

#11

3.2.5 DNP_AI_Event

Object

The DNP_AI_Event object stores the information for a single analog input event
to be sent from the processor to the module in a command block 9959. The
structure shown contains all the parameters required for an analog input event.

Tag Name

Data Type

Description

EventCount INT

Event

Count

SeqCounter INT

Sequence

Counter

AIDataPt INT

DNP

Analog Input Data Point

Advertising