IEC60870 page

Use this page to configure the communication between a PLC and an FP-I4C unit according to the IEC60870-5-104 standard.

The IEC60870-5-104 protocol allows supervisory control systems (controlling stations) to control and monitor remote terminal units such as the FP-I4C unit (controlled station) by means of so-called ASDUs (Application Service Data Unit). The FP-I4C unit must be used together with a Panasonic PLC and the Control FPWIN Pro7 software library M_IEC60870_PRO7.SUL. The PLC collects and buffers the data to transmit. Please refer to the Interoperability List and the help file installed with the library for details about the supported ASDUs.

Make general IEC60870 communication settings

Enable IEC60870 communication, specify your CASDU (common address of ASDU), and make additional optional settings.

  • Use IEC60870: Use this toggle switch to enable the IEC60870 function.
  • Expert mode: Use this switch to display additional settings.
    • Originator address: Enter the originator address of the controlled station. Default: 0

    • Server port: Enter the TCP port number of your communication. Default: 2404

    • Polling time: The FP-I4C unit collects the data from the PLC's IEC60870 library buffer. If IEC60870 is the main feature of your application, we recommend that you specify a very short polling interval, e.g. 5ms.

  • Structured CASDU

    Use this toggle switch to enter a two-byte address.

    You can enter an asterisk ("*") for one of the two bytes (sub node) if the sub node is managed by the PLC.

  • Show CASDU address in HEX: If Structured CASDU is enabled, the CASDU can be represented by hex values from 0x00 to 0xff for each byte of the address.
  • CASDU address: Enter your common address of ASDU.
  • Close IEC60870 connection if PLC is not running: If enabled, the FP-I4C unit reads the PLC status and closes all IEC60870 connections when the PLC is in stop mode.

Configure redundancy connections

Redundancy connections are point-to-point connections to the controlling station that can be activated when another connection is lost.

  1. Go to IEC60870 > Redundancy connections.
  2. Select Add new to add a new redundancy connection.
  3. Under Memory area, select the PLC memory area for the monitoring and control buffers.

    Available areas: DT, FL (FP2SH only)

  4. Specify the buffer areas.

    The settings must match the settings in the M_IEC60870_PRO7 library.

    • IEC870_RBM

      Set the start address of the memory area for the variables IEC870_RBMx or IEC870_RBMx_EM1 (x is a number from 1 to 4). IEC870_RBMx and IEC870_RBMx_EM1 specify the header of the monitoring buffer.

    • IEC870_Monitor: Set the start address of the memory area for the variable IEC870_Monitorx (x is a number from 1 to 4). IEC870_Monitorx specifies the monitoring buffer.

    • Depth of IEC870_Monitor: Set the number of records buffered in the PLC. This number corresponds to the left index of the two-dimensional array defined by IEC870_Monitorx.

    • IEC870_Control: Set the start address of the memory area for the variable IEC870_Controlx (x is a number from 1 to 4). IEC870_Controlx specifies the control buffer for incoming telegrams.

  5. Enable Test frames in STOPDT to send keep-alive telegrams in the STOPDT (stop data transfer) state. (The keep-alive telegrams are sent after t3.) Default: Enabled
  6. Enable Test frames in STARTDT to send keep-alive telegrams in the STARTDT (start data transfer) state. (The keep-alive telegrams are sent after t3.) Default: Enabled
  7. Enable IP lock mode to set the IP address of the controlled station. Default: Disabled, the address 255.255.255.255 is set.

    You can specify individual addresses or address ranges.

    • Individual addresses: Enter one or two individual IP addresses that are allowed to open a connection. If only one address is allowed, enter the same address for IP address 1 and IP address 2.

    • Address range: Set the first and last address of the range of IP addresses that are allowed to open a connection.

  8. Select Expert mode on top of this section to make timeout and other advanced settings.

    Each value must match the setting of the controlling station. Make sure the following condition is fulfilled: t2 < t1, t1 < t3, k < 15, w ≤ 2/3 of k

    • t1: Set the acknowledgement timeout for telegrams that were sent. Default: 15s

    • t2: Set the acknowledgement delay for telegrams that were received. Make sure t2 < t1. Default: 10s

    • t3: Set the delay between test frame telegrams (TESTFR) that are sent. Make sure t1 < t3. Default: 20s

    • k: Set the number of unacknowledged telegrams that can be sent. Make sure k < 15. Default: 12

    • w: Set the number of unacknowledged telegrams that can be received. Make sure w ≤ 2/3 of k. Default: 8

    • Timeout: Set the timeout for a single TCP frame. Default: 1000ms

  9. Save your configuration.

    When you have changed any settings, a Save button appears in the upper right corner of the screen. You can make changes on multiple pages and then save your settings.

    To reset all settings on the current page to the default configuration, select the Reset button at the bottom of the page.

Modified on: 2024-10-15Feedback on this pagePanasonic hotline