GW5 error codes

From Phobos Wiki
Jump to: navigation, search
Name Code Comment
err_NoError 0
err_SetupVersionMismatch 1
err_SetupCheckSumMismatch 2
err_ReceivedSetupCheckSumMismatch 3
err_UnknownProtocol 4
err_UnknownHardwareVersion 5
err_SRam_allocMemory1 30
err_SRam_allocMemory2 31
err_SRam_readMemory1 32
err_SRam_readMemory2 33
err_SRam_writeMemory1 34
err_SRam_writeMemory2 35
err_SRam_readMemoryStruct1 36
err_SRam_readMemoryStruct2 37
err_SRam_readMemoryStruct_CRC_Mismatch 38
err_SRam_writeMemoryStruct1 39
err_SRam_writeMemoryStruct2 40
err_Object_writeObject 50
err_Object_readObject 51
err_Object_moveWritePos 52
err_Object_isPortEnabled 53
err_Object_setIndex 54
err_Object_getCurrentValue 55
err_Object_getCurrentFlags 55
err_Object_isBufferCleared 56
err_Object_getBufferMemoryRec 57
err_Object_getBufferStartIndex 58
err_Object_getWriterPos 59
err_Object_getReaderPos 60
err_Object_moveReaderPos 61
err_Object_getEventBufDepth 62
err_Object_isOutputActive 63
err_Object_getRawMin 64
err_Object_getRawMax 65
err_Object_getScaleMin 66
err_Object_getScaleMax 67
err_Object_getType 68
err_Object_getSubTypeUp 69
err_Object_getSubTypeDown 70
err_Object_getDownAddr 71
err_Object_getDownAddrIndex 72
err_Object_getUpAddr 73
err_Object_isAnythingToSend 74
err_Object_getWriterPos2 75
err_Object_getReaderPos2 76
err_Object_getCurrentValueFloat 77
err_Object_getActiveOutputPortIndex 78
err_Object_getLastSentValue 79
err_Object_getLastSentValuePosition 80
err_Object_getIndex 81
err_Object_isOutputSubTypeDownDouble 82
err_Object_isOutputSubTypeDownSelectExecute 83
err_Object_digitalInput 84
err_Object_analogInput 85
err_Object_moveFormulaReaderPos 86
err_Object_getFormulaReaderPos 87
err_Object_getDeadband 88
err_Object_getDoControlCount 89
err_Object_getFormulaDelay100ms 90
err_Object_isLedBlinking 91
err_DownDevice_readObject 100
err_DownDevice_renewEventFromBuf 101
err_DownDevice_Constructor 102
err_DownDevice_searchObject 103
err_DownDevice_getObjectIndexCntByType 104
err_DownDevice_readObjectByType 105
err_UpDevice_addDataToIndexBuf 110
err_UpDevice_readActiveObject 111
err_UpDevice_getActualObjectIndexByType 112
err_UpDevice_getActualObjectIndexByType2 113
err_UpDevice_readObjectByType 114
err_UpDevice_getActiveObjectBufferIndexByType 115
err_UpDevice_getActiveObjectBufferTypeByIndex 116
err_UpDevice_getObjectTypeIndexByAddress 117
err_Main_main1 120
err_Main_main2 121
err_Main_main3 122
err_Main_main4 123
err_Main_main5 124
err_DownChannel_constructor1 130
err_DownChannel_constructor2 131
err_DownChannel_constructor3 132
err_Output_writeOutput 140
err_Output_readOutput 141
err_Output_upGetSelectResult 142
err_Output_upGetExecuteResult 143
err_Output_upGetFinishResult 144
err_Output_downGetCommandState 145
err_PortDrivers_C_PortDriverSci 160
err_PortDrivers_C_PortDriverUart 161
err_EEPRom_allocMemory1 170
err_EEPRom_allocMemory2 171
err_EEPRom_readMemory1 172
err_EEPRom_readMemory2 173
err_EEPRom_writeMemory1 174
err_EEPRom_writeMemory2 175
err_System_readEeprom_n 180
err_System_writeEeprom_n 181
err_System_readSram_n 182
err_System_writeSram_n 183
err_System_EnableSwi 184
err_System_readFlash_n 185
err_System_writeFlash_n 186
err_UpChannel_constructor 190
err_Event_writeEventDontMovePointer 200
err_Event_getFlags 201
err_Event_readEvent 202
err_Event_isInvalid 203
err_Event_isNotTopical 204
err_Event_getIecCause 205
err_Event_getValue 206
err_Event_getValueFloat 207
err_Event_getTime 208
err_Event_Constructor 209
err_Event_readEventDontMovePointer 210
err_Event_isGwTime 211
err_Event_readEventData 212
err_Event_isPeriodic 213
err_FormulaDevice_readObject 220
err_FormulaDevice_readOperand 221
err_FormulaDevice_readFormulaObject 222
err_Formula_Constructor 223
err_Setup_readOperandInfoStructure 230
err_Operand_getFormulaID 240
err_Operand_getOperation 241
err_Operand_getSourceType 242
err_Operand_getSource 243
err_Operand_writeOperand 244
err_Operand_readOperand 245
err_Formula_setValueFromSource 250
err_Formula_doCalculation_ADD 251
err_Formula_doCalculation_SUBTRACT 252
err_Formula_doCalculation_MULTIPLY 253
err_Formula_doCalculation_DIVIDE 254
err_Formula_doCalculation_POWER 255
err_Formula_doCalculation_AND 256
err_Formula_doCalculation_OR 257
err_Formula_doCalculation_XOR 258
err_Formula_formulaMain 259
err_Formula_finalizeFormula1 260
err_Formula_finalizeFormula2 261
err_Formula_doCalculation_UNKNOWN 262
err_GwKernel_constructor 280
err_GwKernel_WriteSetup 281
err_GwKernel_addDataToIndexBuf 282
err_GwKernel_main_1 283
err_GwKernel_main_2 284
err_GwKernel_allDownDevicesInitialized 285
err_GwKernel_objectDataChange 286
err_GwKernel_setAllDownDevicesToRenewValues 287
err_GwKernel_buildChannelSearchIndexes 288
err_GwKernel_buildChannelSearchIndexes_2 289
err_GwKernel_buildChannelSearchIndexes_3 290
err_GwKernel_formulaDeviceInitialized 291
err_GwKernel_didoDeviceInitialized 292
err_GwKernel_gwInitialized 293
err_GwKernel_getSetupDataBufferCount 294
err_GwKernel_addByteToSetupDataBuffer 295
err_GwKernel_setAllDownDevicesToRenewCounterValues 296
err_DownProtocol_Constructor 300
err_Timer_createTimer 310
err_Timer_startTimer 311
err_Timer_timerReady 312
err_Timer_sleep 313
err_Timer_clearTimer 314
err_Gps_getByteFromMessageBuffer 320
err_DiDoDevice_readDiDoObject 330
err_DiDoDevice_readObject 331
err_IecUp101DataLayer_sendEventData 341
err_IecUp101DataLayer_sendEventData2 342
err_IecUp101DataLayer_sendGeneralInterrogationData 343
err_IecUp101DataLayer_sendGeneralInterrogationData2 344
err_Channel_construktor 360
err_Port_readFirstByteOutFromBuffer 380
err_Port_read_N_BytesFromRcvBuffer 381
err_Port_read_N_BytesFromSndBuffer 382
err_Port_read_resendLastMessage 383
err_Port_getCommunicationMode 384
err_ObjectDevice_increaseObjectCntByType 400
err_ObjectDevice_getDeviceObjectCntByType 401
err_ObjectDevice_getIndexBufferByType 402
err_ObjectDevice_searchDeviceObject 403
err_ObjectDevice_readDeviceObjectByType 404
err_ObjectDevice_readDeviceObjectByType2 405
err_ObjectDevice_getActualObjectIndexByType 406
err_ObjectDevice_getActualObjectIndexByType2 407
err_ModemControl_numberToArray 430
err_ModemControl_sendInitString 431
err_IecUp104LinkLayer_clearAcknowledgedMessages 450
err_IecUp104LinkLayer_copyMessageToBackupBuffer 451
err_IecUp104LinkLayer_copyFromBackupBufferToSendBuffer1 452
err_IecUp104LinkLayer_copyFromBackupBufferToSendBuffer2 453
err_IecUp104LinkLayer_resendIFormatMessage 454
err_IecUp104LinkLayer_isXPortConnect 455
err_SpabusDown_sendDo 500
err_SpabusDown_sendAo 501
err_SpiDeviceDiDo_main 550
err_DebounceFilter_setValue 560
err_Setup_constructor 610
err_Setup_constructor_2 611
err_Setup_getDeviceFirstObjectIndex 612
err_Setup_readDeviceInfoStructure 613
err_Setup_readObjectInfoStructure 614
err_Setup_readPortInfoStructure 615
err_Setup_getPortPhysicalID 616
err_Setup_calculateSetupCheckSum 617
err_Setup_readSetupCheckSum 618
err_Setup_isModemNumberCheckEnabled 619
err_Setup_getModemMaxConnectionTimeSec 620
err_Setup_getModemMinConnectionTimeSec 621
err_Setup_getModemDcdWaitingTimeoutSec 622
err_Setup_getModemDeviceIdentifier 623
err_Setup_getModemCalloutNumber 624
err_Setup_getModemCalloutNumber_2 625
err_Setup_getModemCallinNumber_1 626
err_Setup_getModemCallinNumber_2 627
err_Setup_readDiDoInfoDiFilterStructure 628
err_Setup_getRtaMainDoLengthMs 629
err_Setup_getRtaMainDiDebounceTolerantPhaseMs 630
err_Setup_getRtaMainDiDebounceIntolerantPhaseMs 631
err_Setup_getRtaMainAiZeroZoneDetsiProt 632
err_IecDown101DataLayer_fillForceZeroObjects 650
err_IecDown101DataLayer_isForceZero 651
err_IecDown101DataLayer_forceZero 652
err_IecDown103DataLayer_fillForceZeroObjects 670
err_IecDown103DataLayer_isForceZero 671
err_IecDown103DataLayer_forceZero 672
err_ElsterDown_addValue 701
err_TelemDown_telemProcEvent 720
err_TelemDown_telemFinalizeEvents 721
err_Error_ErrorBufOverflow 0xFFFF