FILE_CLOSE Function Block

The FILE_CLOSE function block is used to close an open file. A FileID is needed to identify which file to close.

Element Name Element Type Description
REQ Input Edge detected request to execute the function block.
FileID Input File identification number of the file to close.
DONE Output Function block operation status.
BUSY Output Function block is busy closing the file.
STAT Output Outputs an error number if a problem occurs.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

LM312-2