FC_ComIecFlush

 

FC_ComIecFlush - General Information

Overview

Type:

Function

Available as of:

SystemInterface_1.32.6.0

Versions:

Current version

Task

Delete characters in the write and / or read buffer of a device.

Description

This function deletes the characters in the write and / or read buffer of the device designated with i_stComIecId. The parameters i_xReadBuffer and i_xWriteBuffer allow direct access to one or both buffers. The call is passed on to the serial driver.

Interface

Input

Data type

Description

i_stComIecId

ST_LogicalAddress

Device selection

i_xReadBuffer

BOOL

Selection of the read buffer

i_xWriteBuffer

BOOL

Selection of the write buffer

Return Value

Data type

Description

DINT

0: OK

-1: i_stComIecId invalid

-2: other error detected. Contact your Schneider Electric contact person.