4. Configuration
171
The right side of the screen shows the message-related information that will be received. These fields
are automatically filled in by importing the data in the GOOSE Control Block associated to the
message. Thus, do not modify them.
The bottom of this screen displays the data contained in the selected message, where you can
configure which elements of the received dataset will be effectively stored in the RTU memory.
Perform this mapping through theVarname field (inform the variable name to which the data will be
copied at the time of message reception. Fill this field manually with an existing variable name, or
fill it automatically by the “Use default name”. By choosing the latter option, the MasterTool Xtorm
automatically creates a variable in the IEC61850_Generated_GVL to store the corresponding
element received by the GOOSE message. This variable name is formed by the GOOSE control
block name plus the suffix “_EntryX”, where X is the number which indicates the element's position
in the message.
Configuration of the IEC 61850 Variable Mapping
This tab allows the association between the RTU internal variables and the Logical Nodes Attributes.
This feature is essential for allowing the implementation of Logical Nodes from data received from
other communication protocols, since the data types among protocols may not be fully compatible.
Figure 4-50. IEC 61850 Variable Mapping
The IEC 61850 variables mapping configuration basically consists on a table with two columns, one
containing the variable that represents the Logical Node Attribute (IEC 61850 Variable) and the other
containing the RTU variable to which the attribute is associated (Source Variable). In the example
above, the stVal Attribute of Beh object (Logical Node LLN0) was mapped to a variable called
Input00. Since this association may result in a data type conversion, the Source Variable may only be
associated to an attribute whose type has the same signaling (signed / unsigned) and bits size (equal
to or greater).
The only type that does not follow this rule is the DBP, as it consists of a structure with two BOOL
variables. Still, it can be mapped to Attributes if they have 8 bits and value of double points. Table
4-119 shows the mapping possibilities among a Source Variable and a IEC 61850 Variable
Original Variable Type
IEC 61850 Variable Type
IEC 61131-3
IEC 61850
BOOL
BOOL
BOOLEAN
SINT
SINT, DBP
INT8
INT
INT, DINT, REAL
INT16, INT32, REAL
DINT
DINT, REAL
INT32, REAL
USINT
USINT
INT8U
UINT
DINT, UDINT, REAL
INT32, INT32U, REAL
UDINT
UDINT,REAL
INT32U, REAL
REAL
REAL
FLOAT32
DBP
SINT
INT8
Table 4-119. Possible Data Types for the IEC 61850 Variable Mapping