File, Recipe, and TCP/IP Function Block ErrorIDs

This is the list of possible errors that could be returned at the ErrorID output of the File Function Blocks, Recipe Function Blocks, and TCP/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

File name is too long.

16017

File positioning error.

16018

Bad or corrupted file system detected .

Recipe ErrorIDs

ErrorID

Description

16008

No such file or directory.

16019

File inaccessible. (e.g., permission, locks)

16020

Error opening the file for writing.

16200

Error parsing recipe file.

16201

Invalid recipe file format.

16202

Recipe variable not found.

16203

Recipe variable type mismatch.

16204

Recipe variable value out of range.

16205

Invalid recipe file format.

16206

Recipe variable not found.

16207

Duplicate recipe instance name.

16208

Invalid recipe variable definition.

16219

Internal recipe FB error.

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.