beautypg.com

ProSoft Technology MVI56-104S User Manual

Page 56

background image

MVI56-104S ♦ ControlLogix Platform

Ladder Logic

IEC 60870-5-104 Server Communication Module

User Manual


Page 56 of 188

ProSoft Technology, Inc.

November 18, 2009

3.1 User-defined

Data

Types

3.1.1 Module Data Object (ModuleDef870)

To hold and organize all data related to the MVI56-104S module, data is stored
in Controller Tags and Tag Arrays based on standard data types as well as
special User-defined Data Types (UDTs).

The ModuleDef870 data object is the top-level UDT that organizes all data
related to the module into one overall data structure.

Tag Name

Data Type

Description

IEC870S.InStat

InStat870

Status information updated and passed in each
input image read block

ReadData

INT[600]

Data read from module

IEC870S.WriteData

INT[600]

Data to write to module

IEC870S.Control

Control870

Special function blocks

IEC870S.BP

Backplane870

Data to sequence and control backplane data block
transfer logic

IEC870S.Util

Util870

Variables used for convenience purposes

The next few sections will provide a more detailed breakdown of the mid-level
and lower-level UDTs used to build the Module Data Object.

User Data Objects

These objects are simple controller tag arrays, composed of 600, 16-bit signed
integer (INT) data words (each array element is one 16-bit word). These arrays
hold data to be transferred between the processor and the MVI56-104S module.
Data is transferred between the processor and the module as "pages" of up to
200 words (array elements) of user data per transfer.

Name Data

Type

Description

ReadData

INT[600]

Data read from module

WriteData

INT[600]

Data to write to module

The ReadData array size should be set to match the value entered in the Read
Register Count
parameter of the IEC8704S.CFG file. For ease of use, this array
should be dimensioned as an even increment of 200 words. This data is paged,
200 words at a time, from the module to the processor. The ReadData task
places the data received into the proper position in the ReadData array. Use this
incoming data for status and control in the ladder logic of the processor.

The WriteData array size should be set to match the value entered in the Write
Register Count
parameter of the IEC8704S.CFG file. For ease of use, this array
should be dimensioned as even increments of 200 words. This data is paged,
200 words at a time, from the processor to the module. The WriteData task
places the values in the WriteData array into the output image for transfer to the
module. This data is passed from the processor to the module for use as status
and control information by other nodes on the network.

This manual is related to the following products: