Introduction

Configure the IEC60870-5-101 and IEC 60870-5-104 communications for your module in the Control Expert DTM.

Basic Parameter Configuration

Configure the CLIENT or SERVER channels:

Step

Action

1

Access the DTM configuration for your module.

2

In the open CONFIGURATION window, expand (+) Communication and select Channel Configuration.

NOTE: The Channels/Devices menu item cannot be expanded because there are no configured channels.

3

Select the appropriate tab:

  • CLIENT: Add client channels.

  • SERVER: Add server channels.

4

Select the Add New button to view the ADD NEW CHANNEL configuration parameters.

5

Configure the parameters according to the new channel parameter descriptions below.

6

Select the Add button to see the newly configured channel in the table.

NOTE: The Devices menu can now be expanded because there is at least one configured device. All configured devices appear in this menu.

7

After you create a server channel on the SERVER tab, repeat steps 1-6 to create the corresponding client channel on the CLIENT tab (or vice versa).

NOTE: Only one client and one server are supported.

8

  • Select the Apply button to implement the changes.

  • Select the OK button to implement the changes and close the dialog box.

NOTE: When you create the first channel, the expandable Channels/Devices sub-menu appears on the CONFIGURATION screen.

9

Repeat steps 1-8 to create additional channels while observing these limitations:

  • client:

    • IEC60870-5-104: 64 connections

    • IEC60870-5-101: 32 connections

  • server: 4 connections

Basic Parameter Descriptions

NOTE: When the Control Expert window is active, you can hover the cursor over any field to see a description of the functionality and the available range of values.

These parameters in the ADD NEW CHANNEL fields are available for the IEC60870-5-101/104 client and server channel configurations:

Field

Client

Server

Description

Channel Name

Assign a name to the server.

NOTE: The web pages use the Channel Name parameter to identify the configuration that is applied to this channel. Therefore, assign an identical Channel Name when you configure cyber security settings.

Protocol

IEC60870-5-104 client

IEC60870-5-104 server

IEC60870-5-101 client

IEC60870-5-101 server

Redundant Group

Select None, 1, 2, or 3 from the drop-down list.

NOTE: This field applies to IEC60870-5-104 only.

Local Port

Define the local port for network communications.
  • This field applies to IEC60870-5-104 only.

  • The default value is 2404.

IP Address

When you select the IP Address filter field, the IpAddress Panel dialog box opens. Enter the IP address of the remote device.

Select the Change button.

NOTE: This field applies to IEC60870-5-104 only.

Server IP Address

 

Enter the IP address of the server with which the client communicates.

NOTE: This field applies to IEC60870-5-104 only.

Dest Port

Define the destination port.

NOTE: This field applies to IEC60870-5-104 only.

Common ASDU Address

Enter a value for the common address of an ASDU.

  • The value scope is 1...65535.

  • 65535 is the broadcast address.

  • The default value is 3.

Cyclic Message Interval (ms)

Enter a value for the number of milliseconds between cyclic updates.

  • The value scope is 1...4294967295.

  • The default value is 10000.

Background Period (ms)

Enter a value for the period allowed to generate background scan data on a particular sector.

  • The value scope is 1...4294967295.

  • The default value is 20000.

Read Time Format

Select the completeness time format for responding to C_RD_NA from the drop-down list:

  • None

  • CP56

The default value is None.

C_RD_NA Measure and Time Format

Select the time stamp format in the response to read command from the drop-down list:

  • None

  • CP56

NOTE:

  • This field is used for measured points.

  • The default value is None.

C_IC_NA Time Format

Select the time stamp format in the response to read command from the drop-down list:

  • None

  • CP56

NOTE:

  • This field is used for counters.

  • The default value is None.

NOTE: When the module receives a C_RD command, it responds to the information object with the requested information-object address (IOA). When multiple data points have the same IOA, the module returns the first information object according to this priority: M_SP, M_DP, M_ST, M_BO, M_ME_A, M_ME_B, M_ME_C, P_ME_A, P_ME_B, P_ME_C, CUSTOM_M_IT_D. Consider these points when you configure IEC60870-5-104 server communications.

Advanced Parameter Configuration

After you create a channel using the instructions above, the new channel appears in the table on the CLIENT or the SERVER tab. You can configure ADVANCED PARAMETERS for the channel. These advanced parameters are global settings that are implemented on all server or client channels.

Step

Action

1

Select Channel Configuration from the Communication menu.

2

Select the appropriate tab:

  • CLIENT: View the CLIENT CHANNEL table.

  • SERVER: View the SERVER CHANNEL table.

3

Select a row in the table.

4

Select the Advanced Settings button to view the ADVANCED PARAMETERS table.

NOTE: Depending on your Control Expert window size, you may have to scroll down in the Client or Server tab to see the ADVANCED PARAMETER fields.

5

Configure the parameters according to the advanced parameter descriptions below.

6

  • Select the Apply button to implement the changes.

  • Select the OK button to implement the changes and close the dialog box.

Advanced Parameter Descriptions

Field

Client

Server

Description

Event Backup Enable

Specify whether to back up events when a power outage is detected. By default, the check box is deselected.

Data Sync Mode

Select a data synchronization mode:
  • Cyclic Sync: Use the default (cyclic) synchronization.

  • Sync On Demand: Allow the PAC application to implement local changes on the binary or analog output.
    NOTE: Enabling a Sync On Demand point changes the variable structure (out of the Device DDT).

Prefix

This string is part of the variable name for analog

Delay Before Transmission (T1)

0...65535 (As the unit is 10ms, the range is 0...655.35 s.)

The default value is 0. This field is only used with DCE flow control algorithm, transmission delay after RTS is set.

Delay After Transmission (T2)

0...65535 (As the unit is 10ms, the range is 0...655.35 s.)

The default value is 0. This field is only used with DCE flow control algorithm, transmission delay after RTS is set.

Delay Between Transmission (T3)

0...65535 (As the unit is 10ms, the range is 0...655.35 s.)

The default value is 0. This field is only used with DCE flow control algorithm, transmission delay after RTS is set.

Sector

Select a value to determine the sector number to route.

The options are 0, 1, 2, 3, 4.

The default value is 0.

First Char Wait (ms)

Enter a value for the minimum time between reception and transmission.

  • The value scope is 0...65535.

  • The default value is 0.

Rx Buffer Size

Enter a value for the receive buffer size of serial port (bytes).

  • The value scope is 0...256.

  • The default value is 256.

Offline Poll Period (ms)

Enter a value for the period to re-establish transfer of an offline session.

  • The value scope is 0...4294967295.

  • The default value is 10000.

Incremental Timeout (ms)

Enter a value for the incremental application layer time-out.

  • The value scope is 0...4294967295.

  • The default value is 30000.

Max Queue Size

Enter a value for the maximum request message number with a specific application specific data unit (ASDU) type and destination matching an outstanding request that will be queued on a client.

  • The value scope is 0...65535 (unlimited queue).

  • The default value is 0 (disabled queue).

Default Response Timeout (ms)

Enter a value for the default timeout for the confirmation of request.

  • The value scope is 0...4294967295.

  • The default value is 60000.

Select Timeout (ms)

Enter a value for the period after which a previously received selection is timed out. Confirm that an executed command is received before the time-out in order to be valid.

  • The value scope is 0...4294967295.

  • The default value is 5000.

ACTTERM with C_SE Setpoint

Select the check box for ACT TERM to be transmitted upon completion of the set point commands:

  • C_SE_NA, C_SE_NB, C_SE_TA, C_SE_TB, C_SE_TC

  • The check box is selected by default.

ACTTERM with Command

Select the check box for ACT TERM to be transmitted upon completion of commands, other than the set point commands.

NOTE: The check box is selected by default.

Clock Valid Period (ms)

Enter a value for the period for which the system clock remains valid after a clock synchronization. If this period expires without a clock synchronization, all times are reported invalid.

  • The value scope is 0...4294967295.

  • The default value is 86400000.

Send Clock Sync Events

Select the check box to send spontaneous clock synchronization events to the client.

NOTE: The check box is de-selected by default.

Max Command Age (ms)

Enter a value for the maximum time delta at which commands are accepted. The command time tag is checked and if the elapsed time is greater than MAX Command Age (ms), the command gets no response.

  • The value 0 indicates that the command time tag is not checked.

  • The value scope is 0...600000.

  • The default value is 30000.

Delete Oldest Event

Indicates whether or not the oldest event is removed from the event queue when the buffer is full and a new event arrives.

  • Select the check box to remove the oldest event.

  • De-select the check box to ignore the new event.

  • The check box is de-selected by default.

Summer Bit

Select this check box to manage the summer bit of time stamp that comes from an external device or the CPU.

  • This feature is effective only if Daylight Saving Time is enabled.

  • The check box is de-selected by default.

CMD Type Depth

Enter a value for the size of a command queue to process in parallel for each point type.

  • The value scope is 1...128.

  • The default value is 1.

M_EI_NA GI

 

Select the check box for general interrogation to be performed after receiving an M_EI_NA EOI message.

NOTE: The check box is selected by default.

M_EI_NA Time sync

 

Select the check box to indicate that Clock Sync is performed after receiving an M_EI_NA EOI message.

NOTE: The check box is selected by default.

M_EI_NA CI

 

Select the check box to indicate that counter interrogation is performed after receiving an M_EI_NA EOI message.

NOTE: The check box is de-selected by default.

Online GI

 

Select the check box to indicate that general interrogation is performed when a remote device has come online and is available for devices that do not generate an M_EI_NA EOI message.

NOTE: The check box is selected by default.

Online Time Sync

 

Select the check box to indicate that Clock Sync is performed when a remote device has come online and is available for devices that do not generate an M_EI_NA EOI message.

NOTE: The check box is selected by default.

Online CI

 

Select the check box to indicate that counter interrogation is performed when a remote device has come online and is available for devices that do not generate an M_EI_NA EOI message.

NOTE: The check box is de-selected by default.

Command with Time Tag

 

Select the check box to indicate that the control command follows the time tag.

NOTE: The check box is de-selected by default.