Data type mapping and addressing, Iec-870-5-101 data types, 3 data type mapping and addressing – ProSoft Technology PTQ-101M User Manual

Page 128

Advertising
background image

PTQ-101M ♦ Quantum Platform

Reference

IEC 60870-5-101 Master Communication Module

Page 128 of 181

ProSoft Technology, Inc.

May 14, 2008

The processor logic should recognize the event count value greater than zero
and read all events in the block. After that this value should be reset to zero to
prepare the logic for the next incoming block. Refer to the following topic that
shows a sample function block for the event pass-thru functionality.

7.2.3 Data Type Mapping and Addressing

When interfacing data in the processor to that of the IEC 60870-5-101 protocol, it
is important that the user understand the mapping of the data types to their
corresponding representation in the modules database. The table that follows
lists the data types supported by the module and their associated storage
representation.

IEC-870-5-101 Data Types

Type ID

Type

Description

Data representation

1 M_SP_NA_1

(7.3.1.1)

Monitored Single-point Information: This data
type stores a single binary input point.
Associated time-tagged event information for
this type are M_SP_TA_1 (2) and
M_SP_TB_1 (30).

Single bit value (7.2.6.1) with 0=Off and
1=On.

3 M_DP_NA_1

(7.3.1.3)

Monitored Dual-point Information: This data
type stores a dual-point binary input value
(that is, valve status). Associated time-
tagged event information for this type are
M_DP_TA_1 (4) and M_DP_TB_1 (31).

Dual-bit status (7.2.6.2) with 00b (0
decimal) = indeterminate or
intermediate, 01b (1 decimal) = Off, 10b
(2 decimal) = On and 11b (3 decimal) =
indeterminate.

5 M_ST_NA_1

(7.3.1.5)

Monitored Step-point Information: This data
type is used for step position of transformers
or other step position information. The value
for the position ranges from -64 to 63.
Associated time-tagged event information for
this type are M_ST_TA_1 (6) and
M_ST_TB_1 (32).

Step data (7.2.6.5) is stored in a single
character value with bits 0 to 6 (-64 to
+63) representing the step position and
bit 7 representing the following states: 0
= Equipment is not in transient state 1 =
Equipment in transient state

7 M_BO_NA_1

(7.3.1.7)

Monitored Bitstring of 32-bit data --This data
type stores 32-bit data in binary form. Each
bit in the string has a value of 0 or 1.
Associated time-tagged event information for
this type are M_BO_TA_1 (8) and
M_BO_TB_1 (33).

Each of the 32 bits in the bitstring has a
value of 0 or 1 (7.2.6.13).

9 M_ME_NA_1

(7.3.1.9)

Monitored Normalized Measured Value: This
data type is used for analog input data.
Associated time-tagged event information for
this type are M_ME_TA_1 (10) and
M_ME_TD_1 (34).

Normalized values (7.2.6.6) are stored in
a word (16-bit) data area with a range of
-1..+1-2

-15

11 M_ME_NB_1

(7.3.1.11)

Monitored Scaled Measured Value --This
data type is used for analog input data.
Associated time-tagged event information for
this type are M_ME_TB_1 (12) and
M_ME_TE_1 (35).

Scaled values (7.2.6.7) are stored in a
word (16-bit) data area with a range of -
2

15

.. +2

15

-1

Advertising