Event Error Codes

Event error codes are defined in the EventErrorCode class. Functions in the EventControl class may return these errors.

Error

Code (Decimal)

Code (Hex)

Description

Resolution

MaxEventDefinitionsDefined

90112

0x16000

Maximum number of events defined.

No more events can be defined until some events are cleared.

MaxEventInputsDefined

90113

0x16001

Maximum number of event input conditions defined.

No more events can be defined until some events are cleared.

MaxEventOutputsDefined

90114

0x16002

Maximum number of event output actions defined.

No more events can be defined until some events are cleared.

MaxEventBitArrayUsed

90115

0x16003

Internal array fully occupied by event definitions.

No more events can be defined until some events are cleared.

IDOutOfRange

90116

0x16004

Event ID is out of range.

Specify an event ID between 0 and maxEvents-1.

IDNotDefined

90117

0x16005

Event with specified ID is not defined.

Verify that the event with the specified ID exists.

IDBusyUpdating

90118

0x16006

Event with specified ID is currently being modified by another function.

Wait for one or more communication cycles and call the function again.

ChannelUninitialized

90119

0x16007

Channel is not initialized.

Set the parameters for the channel.

IDInUse

90120

0x16008

Event ID is in use by an existing event.

Clear the existing event that is using the occupied ID number, or use a different ID number. When events are created without requesting a specific event ID, the smallest unused event ID will be assigned.

HardTouchProbeChannelOutOfRange

90121

0x16009

Hard Touch Probe Channel value should be 0 or 1.

Specify 0 or 1 for the hardware touch probe channel.

EventInDataSizeOutOfRange

90122

0x1600A

Event input data size is out of range.

Verify that the event input data size is within range.

EventOutDataSizeOutOfRange

90123

0x1600B

Event output data size is out of range.

Verify that the event output data size is within range.

EventConfigureOfModuleDataSizeOutOfRange

90124

0x1600C

Event module configuration data size is out of range.

Verify that the event module configuration data size is within range.

EventNotDefined

90125

0x1600D

Event is not defined.

Verify that the event is defined.

EventInputModuleIdNotMatched

90126

0x1600E

Event input data module id is not matched.

Verify that the event input data module ID is correct.

EventOutputModuleIdNotMatched

90127

0x1600F

Event output data module id is not matched.

Verify that the event output data module ID is correct.

EventInputDataAllocateFailed

90128

0x16010

Failed to allocate event input data.

Verify that there is enough memory available in the real time space.

EventOutputDataAllocateFailed

90129

0x16011

Failed to allocate event output data.

Verify that there is enough memory available in the real time space.

GetFunctionDoesNotMatchSetFunction

90130

0x16012

Get function arguments do not match Set function arguments.

Use the Get function with the same types of arguments as the Set function.

ChannelEnabled

90131

0x16013

Channel is enabled. Channel must be disabled before calling this function.

Verify that the channel is disabled.

InterruptIdForActiveChannelError

90132

0x16014

Interrupt ID of the active channel is different from that of the given axis.

Disable the channel before specifying an axis with a different interrupt.

InvalidModuleID

90133

0x16015

Module ID is invalid (out of range or no event function defined).

Verify that the specified Module ID is within range, and that the specified trigger condition ID is defined for the specified module.

EventIsEnabled

90134

0x16016

Event is currently enabled. The event must be disabled before calling this function.

Disable the event using the EnableEvent function before calling this function.

EventIsClearing

90135

0x16017

Event is currently being cleared. Wait until the end of the next communication cycle.

Wait until the end of the next communication cycle before calling this function again on the specified event.

SourceTypeOutOfRange

90136

0x16018

Source type is out of range.

Verify that the specified source type is within range.

PointCountOutOfRange

90137

0x16019

Point count is out of range.

Verify that the specified point count is within range.

IntervalOutOfRange

90138

0x1601A

Interval is out of range.

Verify that the specified interval is within range.