Beruflich Dokumente
Kultur Dokumente
Compile > Compile a Project > Compile Messages > Compile Error Messages
The following table describes the compile messages you may encounter when compile a project. For information
on how to address an ERROR message, use the code included in the error description (for example, "E2001") to
locate the error message in the following table.
If the Type specified for a compile error message is WARNING, see the topic Compile Warning Messages.
If the Type specified for a compile error message is FATAL, see the topic Compile Fatal Messages.
Error
Error Message Description
Code
The specified tag does not exist. Check that the tag name and
'equipment.item' reference is correct, or add the tag to your
project.
E2001 Tag not found If the tag does exist in the variables database, the index to the
database might be incorrect. This can occur if you have edited the
variables database using Excel or some other database editor. To
re-index the database, go to the Projects activity and select Pack
on the Command Bar.
E2002 Database is empty The database does not contain any records.
This error indicates that the address of the variable tag, which
Cannot write to read
E2003 refers to a protocol-specific area on the device, is read only. This
only variable
means it is not possible to write to the variable tag.
Too many records have been specified in the database. This error
Too many records in
E2004 should only occur if the Citect.frm file has been changed or
database
become corrupt. Contact Technical Support.
Too many fields have been specified in the database. This error
Too many fields in
E2005 will only occur if the Citect.frm file has been changed or become
database
corrupt. Contact Technical Support.
This error indicates that the address of the variable tag, which
Cannot read from write
E2009 refers to a protocol-specific area on the device, is write only, so the
only variable
variable tag does not have a value that can be read.
johnwiltshire.com/citect-help/Content/Compile_Error_Messages.html 1/13
9/9/2020 Compile Error Messages | Compile
Error
Error Message Description
Code
A database record does not exist. Check that the record name
E2012 Symbol search failed
is correct.
The address of the variable is invalid for the protocol specified for
E2014 Bad IO Device variable
the I/O device.
The protocol field in the I/O Devices database is blank. You need
E2018 Protocol expected
to select a protocol for the I/O Device.
johnwiltshire.com/citect-help/Content/Compile_Error_Messages.html 2/13
9/9/2020 Compile Error Messages | Compile
Error
Error Message Description
Code
Tag names, alarms, trends, users and Cicode functions all need to
E2021 Record already defined be unique within a project and any included projects. Check for
duplicated names.
Trailing characters in There are extra trailing characters in a Cicode statement, following
E2023
Cicode the semi-colon.
The font does not exist in the project. Check that the font name is
E2026 Invalid font name
correct, or specify the font in the Standards activity.
The device listed in the report configuration does not exist. Check
E2029 Group not found
that the device or group name exists.
E2031 FUNCTION expected A function needs to be declared with the FUNCTION keyword.
johnwiltshire.com/citect-help/Content/Compile_Error_Messages.html 3/13
9/9/2020 Compile Error Messages | Compile
Error
Error Message Description
Code
Must return value from If a Cicode function is declared to return a value, it needs to have
E2037
function a RETURN statement.
E2042 Invalid time format Period formats needs to be either a valid date or a time in the
format HH:MM:SS with the minutes and seconds in the range of 0
- 59. Only the seconds are necessary, for example a value of 22
means 22 seconds.
Sample Period formats need to either be a milliseconds value (for
example 0.200 for 200 milliseconds) or a time in the format
HH:MM:SS with the minutes and seconds in the range of 0 - 59.
Only the seconds are necessary, for example a value of 22 means
22 seconds.
Maximum report size The report file size needs to be less than 63 kb. Reduce the size of
E2044
exceeded the report or configure two reports.
E2046 Semicolon expected Cicode statements need to be separated with semi-colons (;).
Page name cannot start A Page Name needs to start with an alphanumeric character (A -
E2047
with underscore Z, a - z, or 0 - 9).
A group does not exist in the project. Check that the group name is
E2048 Invalid group definition
correct, or specify the group with the Groups form.
johnwiltshire.com/citect-help/Content/Compile_Error_Messages.html 4/13
9/9/2020 Compile Error Messages | Compile
Error
Error Message Description
Code
Cicode data limit An array in a Cicode module cannot exceed 60 KB. Reduce the
E2049
reached size of the array.
Cannot use an array You cannot declare an array within a function. Arrays can only be
E2052
inside function declared as library variables, at the beginning of the library file.
Trailing characters in The database record name contains invalid characters. Remove
E2053
Name any invalid characters from the record name.
The string size has been exceeded. The maximum size of the
E2055 String too big
string not to exceed 255 characters.
E2059 Label too big The label is too big. The size of a label cannot exceed 8kb.
Super Genie syntax (?) can only be used on pages. You cannot
Super Genie must be on
E2061 use a Super Genie in a report or Cicode function library. Use the
a Page
TagRead() and TagWrite() functions instead.
Remap is defined more Duplicate mappings are configured for a variable. Check the
E2064
than once remapping configuration.
johnwiltshire.com/citect-help/Content/Compile_Error_Messages.html 5/13
9/9/2020 Compile Error Messages | Compile
Error
Error Message Description
Code
Unexpected trend
E2066
sample period
Too many Cicode files The project includes more than the allowable number of Cicode
E2068
defined files.
Unexpected FUNCTION
E2076 declaration found, are The number of END statements in your functions is incorrect.
you missing an END?
E2080 Invalid mode specified The mode specified for the alarm, report or trend server is invalid.
Each cluster can only include one pair of redundant alarm servers,
More than one server of
one pair of redundant report servers, and one pair of redundant
E2081 this type exists in this
trend servers. Check the servers that are configured for the
cluster
cluster.
A server with this name Server names need to be unique. Rename one of the servers with
E2082
already exists the duplicated name.
johnwiltshire.com/citect-help/Content/Compile_Error_Messages.html 6/13
9/9/2020 Compile Error Messages | Compile
Error
Error Message Description
Code
Duplicate network Two servers of the same type within a shared cluster have been
E2086 address for same type configured with the same network address. Change the address
of server in a cluster for one of the servers.
Duplicate network Two I/O servers have been configured with the same network
E2087
address for IO server address. Change the network address for one of the servers.
Trailing characters in
E2091 There are extra trailing characters following an expression.
Expression
Tag already defined as a Tag and local variables cannot have the same name. Please
E2095
local variable tag rename one or the other.
Cluster must be
specified when two
More than one server of the same type has been defined on the
E2096 servers of the same type
same machine. Please define a cluster for each server.
exist at the same net
addr.
johnwiltshire.com/citect-help/Content/Compile_Error_Messages.html 7/13
9/9/2020 Compile Error Messages | Compile
Error
Error Message Description
Code
Invalid combination of
specified & unspecified The network addresses for the servers in a project need to all be
E2097
network addresses for blank, or all configured.
the defined servers
No Server of proper type No server has been defined for this type in this cluster. Please
E2098 is defined for the define the appropriate server by selecting Computers on the
specified cluster Topology activity.
Two primary I/O devices within the same cluster have been
Primary IO devices
configured to use the same network number. If the devices have
having same network
E2099 the same number to support redundancy, change the priority and
number cannot belong
startup mode. Otherwise, change the network number or move the
to the same cluster
devices to a different cluster.
Primary IO device not This error occurs when the I/O device listed in the tag
E2100
found for the cluster configuration does not exist.
Standby IO device A cluster has a standby I/O device configured, but no primary I/O
E2102 should have a primary device. Check the configuration of your redundant devices to
on the same cluster confirm that a primary I/O device is assigned to the cluster.
The Priority field allows you to set precedence for the primary and
IO device has duplicate standby devices within a cluster. Check the priority setting for the
E2104
priority I/O devices with the same number in the specified cluster and
remove any duplications.
Compound statement
too large; refactor code.
E2105
Please see KB article
Q5070
A duplicate menu entry Check the configuration of your menus in the Visualization activity
E2106
already exists and remove any duplications.
Function name is longer A Cicode function name must be shorter than 250 characters.
E2109
than 250 characters Rename the Cicode function.
johnwiltshire.com/citect-help/Content/Compile_Error_Messages.html 8/13
9/9/2020 Compile Error Messages | Compile
Error
Error Message Description
Code
johnwiltshire.com/citect-help/Content/Compile_Error_Messages.html 9/13
9/9/2020 Compile Error Messages | Compile
Error
Error Message Description
Code
Two IO devices with This occurs when two I/O devices have the Persist property set to
E2120 Persist set to true have "True", and the File Name property set to the same value. Change
the same File Name the file name for one of the I/O devices.
Two primary I/O devices have the same name, but different
Same primary IO device
network numbers. If the devices have the same name to support
name used with two
E2122 redundancy, confirm that they have the same network number and
different network
have the priority and startup mode set correctly, otherwise assign
numbers
them to a different cluster.
Equipment State
E2127
contains cyclic reference
Invalid destination This occurs when the destination location specified for a custom
E2129
location file is invalid. Check that the destination setting is correct.
The compiler has detected two OPC servers with the same name.
Duplicate network
Each OPC server must have a unique name and run on a
E2130 address name for OPC
separate computer. Check the configuration of your OPC servers
Server
to make sure they use different names and network addresses.
The compiler has detected two OPC servers with the same
Duplicate network IP network address. Each OPC server must run on a separate
E2131
address for OPC server computer. Check the configuration of your OPC servers to make
sure they use different network addresses.
Cluster name present in A name used for root level equipment may not be the same as any
E2132
Equipment name cluster names. Check your equipment definitions.
An equipment record
Equipment names need to be unique within the same cluster.
E2133 with this name is already
Check your equipment definitions.
present
johnwiltshire.com/citect-help/Content/Compile_Error_Messages.html 10/13
9/9/2020 Compile Error Messages | Compile
Error
Error Message Description
Code
Equipment object name The length of the complete name for the equipment needs to be
E2136
too long less than 254 characters. Check your equipment definitions.
No report server defined Equipment requires a report server to be configured. Add a report
E2143
for this cluster server to the cluster.
The user name conflicts with a set of reserved user names. Use a
E2144 Invalid user defined
different name.
Certificate must be An EWS server requires an SSL certificate. You will need to create
E2148 configured for EWS an SSL certificate, install it locally on the server, and identify it in
Server the EWS Server properties.
The compiler has detected that two EWS servers are configured
Multiple EWS Servers
on the same computer. Each EWS server must run on a separate
E2149 cannot run on the same
computer. Check the configuration of your EWS servers to make
machine.
sure they use different network addresses.
johnwiltshire.com/citect-help/Content/Compile_Error_Messages.html 11/13
9/9/2020 Compile Error Messages | Compile
Error
Error Message Description
Code
Duplicate ScheduleID
E2154
for IODevice
Cicode IODevices do
not support memory A Cicode I/O device will not compile if memory mode is set to
E2156
mode, memory must be TRUE. Set memory mode to FALSE for the Cicode I/O device.
set to FALSE
Alarm Priority or Alarm Display colors need to be configured for an Alarm Priority or an
E2163 Mode color must be Alarm Mode. Check that the 'Foreground Color' and/or
specified 'Background Color' properties have not been left blank.
Port Name can be no A Port Name is too long. Use a name that is no longer than 31
E2164 characters.
longer than 31 characters
Duplicate Alarm Mode The Display Name specified for an Alarm Mode is configured
E2165
display name twice. Remove one of the duplicated entries.
The Display Name specified for an Alarm Mode is invalid. You can
Invalid Alarm Mode
E2166 select a valid name for this field from the drop-down list in the Grid
display name
Editor.
johnwiltshire.com/citect-help/Content/Compile_Error_Messages.html 12/13
9/9/2020 Compile Error Messages | Compile
Error
Error Message Description
Code
johnwiltshire.com/citect-help/Content/Compile_Error_Messages.html 13/13