File and TCP/IP Function Block ErrorIDs

This is the list of possible errors that could be returned at the ErrorID output of the File Tools Function Blocks and Search IndexTCP/IP Function Blocks.

File ErrorIDs

ErrorID

Description

16000

Error opening file.

16001

All PLC file handles used.

16002

File ID is invalid.

16003

File ID has been closed.

16004

Error in file stream.

16005

End of file encountered.

16006

Internal file FB error.

16007

Unknown file error.

16008

No such file or directory.

16009

Bad file descriptor.

16010

File already exists.

16011

Too many open files in the system.

16012

Text file is busy.

16013

File is too large.

16014

File system is read only.

16015

File locking deadlock.

16016

Filename is too long.

16017

File positioning error.

16018

Bad or corrupted file system detected .

TCP/IP ErrorIDs

ErrorID

Description

16100

Connection error.

16101

TCP ID has been closed.

16102

All PLC TCP handles used.

16103

TCP ID is invalid.

16104

Failed to allocate TCP/IP socket.

16105

TCP operation internal error.