Function block for Delete file 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.
Thus the driver does not expect an acknowledgement from the slave. The slave is not informed actively.

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)

The status of the current file transfer operation: DIR, GET or DEL is applied only to the outputs of the block which initiated the last operation.


Created with the Personal Edition of HelpNDoc: Effortlessly Convert Your Word Doc to an eBook: A Step-by-Step Guide