ProSoft Technology MVI69-103M User Manual

Page 39

Advertising
background image

Ladder Logic

MVI69-103M ♦ CompactLogix or MicroLogix Platform

IEC 60870-5-103 Master Communication Module

ProSoft Technology, Inc.

Page 39 of 131

November 3, 2008

Data Type

Description

CfgErr

Configuration Error Word for channel

CurErr

Current error code for channel

LastErr

Last error for channel

This information is passed to the controller from the module with each normal
read block image.

Configuration/Error Status Flags (CfgErr)

The CfgErr word member of the MVI69103M_ChannelStatus reports
configuration errors for the respective server. If the module is not functioning as
expected, inspect the value presented in this object. If a configuration error
exists, the associated bit will be set. A value of zero for the bit indicates the
configuration value is valid. This does not guarantee that the module is
configured correctly for your application. The bits used by this member are
shown in the following table.

Bit Code

Description

0

0x0001

Invalid baud rate selected

1

0x0002

Invalid parity selected

2

0x0004

Received timeout set to 0

3

0x0008

Invalid Port selected for a session

4

0x0010

Invalid sector count for session

5

0x0020

Could not allocate memory for sector of a session.

6

0x0040

7

0x0080

Invalid failure delay or confirm timeout for session.

8

0x0100

9 0x0200

10 0x0400

11 0x0800

12 0x1000

13 0x2000

14 0x4000

15 0x8000

3.1.2 Backplane Object (MVI69103M_UTIL)

The MVI69103M_UTIL object stores all the variables required for the data
transfer operation between the module and the controller. The LastRead data
member is used as the handshaking byte to indicate the arrival of new data from
the module. The structure of this object is shown in the following illustration:

Data Type

Description

Warmboot

Requests warmboot of the module

ColdBoot

Requests coldboot of the module

BPLastRead

Index of last read

BPLastWrite

Index of last write

BlockIndex

Computed block offset for data table

Advertising