Function block for File transfer functionality.

Inputs

Parameter

Data type

Description

ENABLE

BOOL

Activating the command; reacts on rising edge.

CANCEL

BOOL

Deactivating the Select; reacts to rising edge.
Note: ENABLE must be FALSE.
An active file transfer can be canceled. Thus the driver does not expect any other segments of the file and will not request another section of the file. The deactivation is however not sent to the control. The file whose transfer was canceled will not be saved.

SLAVEID

UDINT

ID of the slave connection as set in the driver configuration.

COA

UINT

Common Address of ASDU.

IOA

UDINT

Information Object Address (IOA) of the file, the driver then uses in the ASDUs defined in IEC 60870-5-101 for 'File Transfer' procedures.

Example: if the file is 7.3 then the IOA is 7

NOF

UINT

Name of file (NOF) of the file.

Examples:

  • If the file is 7.1 then the NOF is 1 - "transparent".
  • If the file is 7.2 then the NOF is 2 - "disturbance data".
    Note: The IEC 60870-5-101 standard defines own structure of the disturbance data (it is not COMTRADE there).
  • If the file is 7.3 then the NOF is 3 - "sequence of events"; thus, the file probably contains the SOE (events) the 870-slave recorded during communication loss - for the monitoring data point/signal having given IOA.

Outputs





Parameter

Data type

Description

STATUS

USINT

  • 0: OK, closed
  • 1: error, closed
  • 2: in progress
  • 3: not initialized (unknown)

attention Attention


A transfer of large files can increase Runtime Service calculation time and exceed the communication cycle when it was set too short.



Created with the Personal Edition of HelpNDoc: Don't be left in the past: convert your WinHelp HLP help files to CHM with HelpNDoc