From 91cd13a206bab6ba3a899a46bab79fbe7d813b2e Mon Sep 17 00:00:00 2001 From: Nick Waters Date: Wed, 8 Mar 2023 14:07:16 -0800 Subject: [PATCH] BLDSTY: rebuild ioc, run pre-commit all --- iocBoot/ioc-tmo-optics/st.cmd | 14 +- lcls-plc-tmo-optics/tmo_optics/tmo_optics.tmc | 71823 +++++++++++++++- 2 files changed, 71217 insertions(+), 620 deletions(-) diff --git a/iocBoot/ioc-tmo-optics/st.cmd b/iocBoot/ioc-tmo-optics/st.cmd index 55217bf..0c68052 100755 --- a/iocBoot/ioc-tmo-optics/st.cmd +++ b/iocBoot/ioc-tmo-optics/st.cmd @@ -4,8 +4,8 @@ # Project: lcls-plc-tmo-optics.tsproj # PLC name: tmo_optics (tmo_optics Instance) # Generated using: pytmc 2.14.1 -# Project version: R1.1.0-84-gb53e442 -# Project hash: b53e4423717bbe060ab92f7121dda23715aab47c +# Project version: R1.1.0-101-g8a2409b +# Project hash: 8a2409b56640c3a45e38515de093b052caaf9773 # PLC IP/host: 172.21.92.63 # PLC Net ID: 172.21.92.63.1.1 # ** Production mode IOC ** @@ -13,7 +13,7 @@ # # Libraries: # -# lcls2-cc-lib: * -> * (SLAC) +# lcls2-cc-lib: * -> 2.0.0 (SLAC) # Tc2_MC2: * -> 3.3.42.0 (Beckhoff Automation GmbH) # Tc2_SerialCom: * -> 3.3.7.0 (Beckhoff Automation GmbH) # Tc2_Standard: * -> 3.3.3.0 (Beckhoff Automation GmbH) @@ -479,14 +479,14 @@ dbLoadRecords("caPutLog.db", "IOC=$(IOC)") ## TwinCAT task, application, and project information databases ## dbLoadRecords("TwinCAT_TaskInfo.db", "PORT=$(ASYN_PORT),PREFIX=PLC:TMO:OPTICS,IDX=1") -dbLoadRecords("TwinCAT_TaskInfo.db", "PORT=$(ASYN_PORT),PREFIX=PLC:TMO:OPTICS,IDX=2") dbLoadRecords("TwinCAT_TaskInfo.db", "PORT=$(ASYN_PORT),PREFIX=PLC:TMO:OPTICS,IDX=3") +dbLoadRecords("TwinCAT_TaskInfo.db", "PORT=$(ASYN_PORT),PREFIX=PLC:TMO:OPTICS,IDX=2") dbLoadRecords("TwinCAT_AppInfo.db", "PORT=$(ASYN_PORT), PREFIX=PLC:TMO:OPTICS") -dbLoadRecords("TwinCAT_Project.db", "PREFIX=PLC:TMO:OPTICS,PROJECT=lcls-plc-tmo-optics.tsproj,HASH=b53e442,VERSION=R1.1.0-84-gb53e442,PYTMC=2.14.1,PLC_HOST=172.21.92.63") +dbLoadRecords("TwinCAT_Project.db", "PREFIX=PLC:TMO:OPTICS,PROJECT=lcls-plc-tmo-optics.tsproj,HASH=8a2409b,VERSION=R1.1.0-101-g8a2409b,PYTMC=2.14.1,PLC_HOST=172.21.92.63") -# lcls2-cc-lib: * -> * (SLAC) -dbLoadRecords("TwinCAT_Dependency.db", "PREFIX=PLC:TMO:OPTICS,DEPENDENCY=lcls2-cc-lib,VERSION=*,VENDOR=SLAC") +# lcls2-cc-lib: * -> 2.0.0 (SLAC) +dbLoadRecords("TwinCAT_Dependency.db", "PREFIX=PLC:TMO:OPTICS,DEPENDENCY=lcls2-cc-lib,VERSION=2.0.0,VENDOR=SLAC") # Tc2_MC2: * -> 3.3.42.0 (Beckhoff Automation GmbH) dbLoadRecords("TwinCAT_Dependency.db", "PREFIX=PLC:TMO:OPTICS,DEPENDENCY=Tc2_MC2,VERSION=3.3.42.0,VENDOR=Beckhoff Automation GmbH") # Tc2_SerialCom: * -> 3.3.7.0 (Beckhoff Automation GmbH) diff --git a/lcls-plc-tmo-optics/tmo_optics/tmo_optics.tmc b/lcls-plc-tmo-optics/tmo_optics/tmo_optics.tmc index 622ca82..eb380fb 100644 --- a/lcls-plc-tmo-optics/tmo_optics/tmo_optics.tmc +++ b/lcls-plc-tmo-optics/tmo_optics/tmo_optics.tmc @@ -1,7 +1,232 @@ -ComSerialLineMode_t16INTSERIALLINEMODE_DEFAULT0SERIALLINEMODE_KL6_3B_ALTERNATIVE1SERIALLINEMODE_KL6_5B_STANDARD2SERIALLINEMODE_KL6_22B_STANDARD3SERIALLINEMODE_PC_COM_PORT4SERIALLINEMODE_EL6_22B5SERIALLINEMODE_IE6_11B6ComError_t16INTCOMERROR_NOERROR0COMERROR_PARAMETERCHANGED1COMERROR_TXBUFFOVERRUN2 transmit buffer ]]>COMERROR_STRINGOVERRUN10COMERROR_ZEROCHARINVALID11COMERROR_INVALIDPOINTER20COMERROR_INVALIDRXPOINTER21COMERROR_INVALIDRXLENGTH22COMERROR_DATASIZEOVERRUN23COMERROR_INVALIDPROCESSDATASIZE24COMERROR_MODENOTSUPPORTED257COMERROR_INVALIDCHANNELNUMBER258COMERROR_INVALIDBAUDRATE4097COMERROR_INVALIDNUMDATABITS4098COMERROR_INVALIDNUMSTOPBITS4099COMERROR_INVALIDPARITY4100COMERROR_INVALIDHANDSHAKE4101COMERROR_INVALIDNUMREGISTERS4102COMERROR_INVALIDREGISTER4103COMERROR_TIMEOUT4104ComBuffer + + + + ComSerialLineMode_t + 16 + INT + + SERIALLINEMODE_DEFAULT + 0 + + + SERIALLINEMODE_KL6_3B_ALTERNATIVE + 1 + + + SERIALLINEMODE_KL6_5B_STANDARD + 2 + + + SERIALLINEMODE_KL6_22B_STANDARD + 3 + + + SERIALLINEMODE_PC_COM_PORT + 4 + + + SERIALLINEMODE_EL6_22B + 5 + + + SERIALLINEMODE_IE6_11B + 6 + + + + ComError_t + 16 + INT + + COMERROR_NOERROR + 0 + + + COMERROR_PARAMETERCHANGED + 1 + input parameters changed during reception + + + COMERROR_TXBUFFOVERRUN + 2 + string > transmit buffer + + + COMERROR_STRINGOVERRUN + 10 + end of string + + + COMERROR_ZEROCHARINVALID + 11 + string cannot receive zero characters + + + COMERROR_INVALIDPOINTER + 20 + invalid data pointer, e. g. zero + + + COMERROR_INVALIDRXPOINTER + 21 + invalid data pointer for ReceiveData + + + COMERROR_INVALIDRXLENGTH + 22 + invalid length for ReceiveData, e. g. zero + + + COMERROR_DATASIZEOVERRUN + 23 + end of data block + + + COMERROR_INVALIDPROCESSDATASIZE + 24 + + + COMERROR_MODENOTSUPPORTED + 257 + mode not supported (3-Byte Terminals connectd to bus controllers) + + + COMERROR_INVALIDCHANNELNUMBER + 258 + + + COMERROR_INVALIDBAUDRATE + 4097 + + + COMERROR_INVALIDNUMDATABITS + 4098 + + + COMERROR_INVALIDNUMSTOPBITS + 4099 + + + COMERROR_INVALIDPARITY + 4100 + + + COMERROR_INVALIDHANDSHAKE + 4101 + + + COMERROR_INVALIDNUMREGISTERS + 4102 + + + COMERROR_INVALIDREGISTER + 4103 + + + COMERROR_TIMEOUT + 4104 + + + + ComBuffer + This data type will be used as a software character buffer between serial line I/O and user functions as ReceiveByte or SendByte. -]]>2512BufferBYTE030124080RdIdxUINT162416WrIdxUINT162432CountUINT162448FreeByteUINT162464ErrorUINT162480blockedBOOL82496ComDebugBuffer9648BufferINT030148160StatusINT030148164816IdxUINT169632hideSerialLineControl + 2512 + + Buffer + BYTE + + 0 + 301 + + ringbuffer + 2408 + 0 + + + RdIdx + UINT + first valid byte in ringbuffer + 16 + 2416 + + + WrIdx + UINT + first invalid byte in ringbuffer + 16 + 2432 + + + Count + UINT + number of bytes in ringbuffer + 16 + 2448 + + + FreeByte + UINT + number of free bytes in ringbuffer + 16 + 2464 + + + Error + UINT + error code of serial line interface + 16 + 2480 + + + blocked + BOOL + semaphore for task synchronization + 8 + 2496 + + + + ComDebugBuffer + 9648 + + Buffer + INT + + 0 + 301 + + 4816 + 0 + + + Status + INT + + 0 + 301 + + 4816 + 4816 + + + Idx + UINT + 16 + 9632 + + + + hide + + + + + SerialLineControl + ============================================================= * Modul: Serial line interface controller for background communication * supports multiple interface types like * KL6xxx 3 byte alternative mode @@ -14,17 +239,1002 @@ * PLC communication buffers (RxBuffer, TxBuffer) * * Date: 21.12.2004 - * ============================================================= ]]>10432ModeComSerialLineMode_t1632ItemTypeInputpComInBYTE0663264ItemTypeInputpComOutBYTE0663296ItemTypeInputSizeComInINT16128ItemTypeInputErrorBOOL8144ItemTypeOutputErrorIDComError_t16160ItemTypeOutputTxBufferComBuffer32192ItemTypeInOutRxBufferComBuffer32224ItemTypeInOutnBlockedCounter_TxBufferUDINT32256nBlockedCounter_RxBufferUDINT32288ComPortDebugBufferComDebugBuffer9648320InvalidDataExchangeModeUINT169968RegisterModeUINT169984pCTRLWORD3210016pSTATUSWORD3210048wCtrlWORD1610080wStatusWORD1610096RxCountWORD1610112TxCountWORD1610128DataIndexUINT1610144DataCountMaskWORD1610160DataCountShiftBYTE810176ReceiveHandshakeBitWORD1610192TransmitHandshakeBitWORD1610208TransmitBufferSentBitWORD1610224ContinousModeStartBitWORD1610240ReceiveBufferFullBitWORD1610256ResetBitWORD1610272RRWORD1610288RAWORD1610304TRWORD1610320TAWORD1610336IAWORD1610352BUF_FWORD1610368noTAcounterBYTE810384initializedBOOL810392TransmitDataSentBOOL810400iUINT1610416PouTypeFunctionBlockEL6inData22B + 10432 + + Mode + ComSerialLineMode_t + 16 + 32 + + + ItemType + Input + + + + + pComIn + BYTE + + 0 + 66 + + must meet the maximum size of a hardware related data structure + 32 + 64 + + + ItemType + Input + + + + + pComOut + BYTE + + 0 + 66 + + must meet the maximum size of a hardware related data structure + 32 + 96 + + + ItemType + Input + + + + + SizeComIn + INT + 16 + 128 + + + ItemType + Input + + + + + Error + BOOL + 8 + 144 + + + ItemType + Output + + + + + ErrorID + ComError_t + 16 + 160 + + + ItemType + Output + + + + + TxBuffer + ComBuffer + 32 + 192 + + + ItemType + InOut + + + + + RxBuffer + ComBuffer + 32 + 224 + + + ItemType + InOut + + + + + nBlockedCounter_TxBuffer + UDINT + 32 + 256 + + + nBlockedCounter_RxBuffer + UDINT + 32 + 288 + + + ComPortDebugBuffer + ComDebugBuffer + 9648 + 320 + + + InvalidDataExchangeMode + UINT + 16 + 9968 + + + RegisterMode + UINT + 16 + 9984 + + + pCTRL + WORD + 32 + 10016 + + + pSTATUS + WORD + 32 + 10048 + + + wCtrl + WORD + 16 + 10080 + + + wStatus + WORD + 16 + 10096 + + + RxCount + WORD + 16 + 10112 + + + TxCount + WORD + 16 + 10128 + + + DataIndex + UINT + 16 + 10144 + + + DataCountMask + WORD + 16 + 10160 + + + DataCountShift + BYTE + 8 + 10176 + + + ReceiveHandshakeBit + WORD + 16 + 10192 + + + TransmitHandshakeBit + WORD + 16 + 10208 + + + TransmitBufferSentBit + WORD + 16 + 10224 + + + ContinousModeStartBit + WORD + 16 + 10240 + + + ReceiveBufferFullBit + WORD + 16 + 10256 + + + ResetBit + WORD + 16 + 10272 + + + RR + WORD + 16 + 10288 + + + RA + WORD + 16 + 10304 + + + TR + WORD + 16 + 10320 + + + TA + WORD + 16 + 10336 + + + IA + WORD + 16 + 10352 + + + BUF_F + WORD + 16 + 10368 + + + noTAcounter + BYTE + 8 + 10384 + + + initialized + BOOL + 8 + 10392 + + + TransmitDataSent + BOOL + 8 + 10400 + + + i + UINT + 16 + 10416 + + + + PouType + FunctionBlock + + + + + EL6inData22B + This data type is corresponding to the EL-6xxx data structure used in the TwinCAT SystemManager (EL-6xxx version using 22 data bytes) -]]>192StatusWORD160DBYTE02217616EL6outData22B + 192 + + Status + WORD + 16 + 0 + + + D + BYTE + + 0 + 22 + + 176 + 16 + + + + EL6outData22B + This data type is corresponding to the EL-6xxx data structure used in the TwinCAT SystemManager (EL-6xxx version using 22 data bytes) -]]>192CtrlWORD160DBYTE02217616PlcAppSystemInfo2048ObjIdOTCID320TaskCntUDINT3232OnlineChangeCntUDINT3264FlagsDWORD3296AdsPortUINT16128BootDataLoadedBOOL8144OldBootDataBOOL8152AppTimestampDT32160KeepOutputsOnBPBOOL8192ShutdownInProgressBOOL8200LicensesPendingBOOL8208BSODOccuredBOOL8216LoggedInBOOL8224TComSrvPtrITComObjectServer32256TcComInterfaceAppNameSTRING(63)512512ProjectNameSTRING(63)5121024_Implicit_KindOfTask16INT_implicit_cyclic0_implicit_event1_implicit_external2_implicit_freewheeling3_Implicit_Jitter_Distribution48wRangeMaxWORD160wCountJitterNegWORD1616wCountJitterPosWORD1632hide_Implicit_Task_Info704dwVersionDWORD320pszNameSTRING(80)3232nPriorityINT1664KindOf_Implicit_KindOfTask1680bWatchdogBOOL896bProfilingTaskBOOL8104dwEventFunctionPointerBYTE32128pszExternalEventSTRING(80)32160dwTaskEntryFunctionPointerBYTE32192dwWatchdogSensitivityDWORD32224dwIntervalDWORD32256dwWatchdogTimeDWORD32288dwLastCycleTimeDWORD32320dwAverageCycleTimeDWORD32352dwMaxCycleTimeDWORD32384dwMinCycleTimeDWORD32416diJitterDINT32448diJitterMinDINT32480diJitterMaxDINT32512dwCycleCountDWORD32544wTaskStatusWORD16576wNumOfJitterDistributionsWORD16592pJitterDistribution_Implicit_Jitter_Distribution32608bWithinSPSTimeSlicingBOOL8640byDummyBYTE8648bShouldBlockBOOL8656bActiveBOOL8664dwIECCycleCountDWORD32672hideST_CTRL_PI_PARAMS384tCtrlCycleTimeTIME3200tTaskCycleTimeTIME32320tTnTIME32640fKpLREAL641280fOutMaxLimitLREAL641921E+38fOutMinLimitLREAL64256-1E+38bARWOnIPartOnlyBOOL83200ST_PiezoAxis2240sIdnSTRING(80)6480iCurErrorINT16656iLastErrorINT16672rActVoltageREAL32704rLastReqVoltageREAL32736rSetVoltageREAL32768sAxisSTRING(80)648800AxTimeoutBOOL81448xDriverErrorBOOL81456xEnableBOOL81464xVoltageModeBOOL81472xIdleModeBOOL81480rReqVoltageREAL321504rReqAbsPosLREAL641536xStopBOOL81600rActPosLREAL641664rPiezoDmovRangeREAL3217281stPIParamsST_CTRL_PI_PARAMS3841792.tCtrlCycleTime0.tTaskCycleTime0.tTn200.fKp0.0005.fOutMaxLimit1.fOutMinLimit-1.bARWOnIPartOnly0UpperVoltageREAL322176120LowerVoltageREAL322208-10R_TRIG + 192 + + Ctrl + WORD + 16 + 0 + + + D + BYTE + + 0 + 22 + + 176 + 16 + + + + PlcAppSystemInfo + 2048 + + ObjId + OTCID + 32 + 0 + + + TaskCnt + UDINT + 32 + 32 + + + OnlineChangeCnt + UDINT + 32 + 64 + + + Flags + DWORD + 32 + 96 + + + AdsPort + UINT + 16 + 128 + + + BootDataLoaded + BOOL + 8 + 144 + + + OldBootData + BOOL + 8 + 152 + + + AppTimestamp + DT + 32 + 160 + + + KeepOutputsOnBP + BOOL + 8 + 192 + + + ShutdownInProgress + BOOL + 8 + 200 + + + LicensesPending + BOOL + 8 + 208 + + + BSODOccured + BOOL + 8 + 216 + + + LoggedIn + BOOL + 8 + 224 + + + TComSrvPtr + ITComObjectServer + 32 + 256 + + + TcComInterface + + + + + AppName + STRING(63) + 512 + 512 + + + ProjectName + STRING(63) + 512 + 1024 + + + + + + + + + + _Implicit_KindOfTask + 16 + INT + + _implicit_cyclic + 0 + + + _implicit_event + 1 + + + _implicit_external + 2 + + + _implicit_freewheeling + 3 + + + + _Implicit_Jitter_Distribution + 48 + + wRangeMax + WORD + 16 + 0 + + + wCountJitterNeg + WORD + 16 + 16 + + + wCountJitterPos + WORD + 16 + 32 + + + + hide + + + + + _Implicit_Task_Info + 704 + + dwVersion + DWORD + 32 + 0 + + + pszName + STRING(80) + 32 + 32 + + + nPriority + INT + 16 + 64 + + + KindOf + _Implicit_KindOfTask + 16 + 80 + + + bWatchdog + BOOL + 8 + 96 + + + bProfilingTask + BOOL + 8 + 104 + + + dwEventFunctionPointer + BYTE + 32 + 128 + + + pszExternalEvent + STRING(80) + 32 + 160 + + + dwTaskEntryFunctionPointer + BYTE + 32 + 192 + + + dwWatchdogSensitivity + DWORD + 32 + 224 + + + dwInterval + DWORD + 32 + 256 + + + dwWatchdogTime + DWORD + 32 + 288 + + + dwLastCycleTime + DWORD + 32 + 320 + + + dwAverageCycleTime + DWORD + 32 + 352 + + + dwMaxCycleTime + DWORD + 32 + 384 + + + dwMinCycleTime + DWORD + 32 + 416 + + + diJitter + DINT + 32 + 448 + + + diJitterMin + DINT + 32 + 480 + + + diJitterMax + DINT + 32 + 512 + + + dwCycleCount + DWORD + 32 + 544 + + + wTaskStatus + WORD + 16 + 576 + + + wNumOfJitterDistributions + WORD + 16 + 592 + + + pJitterDistribution + _Implicit_Jitter_Distribution + 32 + 608 + + + bWithinSPSTimeSlicing + BOOL + 8 + 640 + + + byDummy + BYTE + 8 + 648 + + + bShouldBlock + BOOL + 8 + 656 + + + bActive + BOOL + 8 + 664 + + + dwIECCycleCount + DWORD + 32 + 672 + + + + hide + + + + + ST_CTRL_PI_PARAMS + 384 + + tCtrlCycleTime + TIME + controller cycle time [TIME] + 32 + 0 + + 0 + + + + tTaskCycleTime + TIME + task cycle time [TIME] + 32 + 32 + + 0 + + + + tTn + TIME + integral action time Tn + 32 + 64 + + 0 + + + + fKp + LREAL + proportional gain + 64 + 128 + + 0 + + + + fOutMaxLimit + LREAL + maximum output limit + 64 + 192 + + 1E+38 + + + + fOutMinLimit + LREAL + minimum output limit + 64 + 256 + + -1E+38 + + + + bARWOnIPartOnly + BOOL + FALSE: Hold the I-part if the entire control output reaches a limit. + 8 + 320 + + 0 + + + + + ST_PiezoAxis + 2240 + + sIdn + STRING(80) + Identity + 648 + 0 + + + iCurError + INT + Current error code, should be 0 most of the time + 16 + 656 + + + iLastError + INT + Last error code, for history + 16 + 672 + + + rActVoltage + REAL + Actual voltage + 32 + 704 + + + rLastReqVoltage + REAL + Last requested piezo voltage + 32 + 736 + + + rSetVoltage + REAL + this parameter is set by the control loop/ voltage mode + 32 + 768 + + + sAxis + STRING(80) + Axis, e.g. A, B, C...A if single unit + 648 + 800 + + A + + + + xTimeout + BOOL + Summaries + 8 + 1448 + + + xDriverError + BOOL + Summary of any driver errors + 8 + 1456 + + + xEnable + BOOL + Enable control. + 8 + 1464 + + + xVoltageMode + BOOL + Voltage mode gives direct access to piezo voltage, false means closed loop position acquisition (see FB_PitchControl for piezo and stepper separation) + 8 + 1472 + + + xIdleMode + BOOL + Use to put the piezo at half-stroke + 8 + 1480 + + + rReqVoltage + REAL + Requested piezo voltage in voltage mode + 32 + 1504 + + + rReqAbsPos + LREAL + Requested Position, latched at rising StartAbsMov + 64 + 1536 + + + xStop + BOOL + Stops piezo and holds position + 8 + 1600 + + + rActPos + LREAL + Encoder Readback + 64 + 1664 + + + rPiezoDmovRange + REAL + Pitch piezo dmove range (urad) + 32 + 1728 + + 1 + + + + stPIParams + ST_CTRL_PI_PARAMS + 384 + 1792 + + + .tCtrlCycleTime + 0 + + + .tTaskCycleTime + 0 + + + .tTn + 200 + + + .fKp + 0.0005 + + + .fOutMaxLimit + 1 + + + .fOutMinLimit + -1 + + + .bARWOnIPartOnly + 0 + + + + + UpperVoltage + REAL + E-816 has no software limits + 32 + 2176 + + 120 + + + + LowerVoltage + REAL + E-816 has no software limits + 32 + 2208 + + -10 + + + + + R_TRIG + Rising Edge detection. -]]>64CLKBOOL832ItemTypeInputQBOOL840ItemTypeOutputMBOOL848conditionalshowPouTypeFunctionBlockconditionalshow_all_localsClearComBuffer + 64 + + CLK + BOOL + Signal to detect + 8 + 32 + + + ItemType + Input + + + + + Q + BOOL + rising edge at signal detected + 8 + 40 + + + ItemType + Output + + + + + M + BOOL + 8 + 48 + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + ClearComBuffer + ================================================================= * * Modul: ClearComBuffer * The function block clears the software read/write @@ -33,7 +1243,656 @@ * Date: 01.12.1998 * *================================================================= - ]]>128BufferComBuffer3232ItemTypeInOutnBlockedCounterUDINT3264iUINT1696PouTypeFunctionBlockT_MaxString2048STRING(255)E_ArgType16INTARGTYPE_UNKNOWN0ARGTYPE_BYTE1ARGTYPE_WORD2ARGTYPE_DWORD3ARGTYPE_REAL4ARGTYPE_LREAL5ARGTYPE_SINT6ARGTYPE_INT7ARGTYPE_DINT8ARGTYPE_USINT9ARGTYPE_UINT10ARGTYPE_UDINT11ARGTYPE_STRING12ARGTYPE_BOOL13ARGTYPE_BIGTYPE14ARGTYPE_ULARGE15ARGTYPE_UHUGE16ARGTYPE_LARGE17ARGTYPE_HUGE18ARGTYPE_LWORD19T_Arg96eTypeE_ArgType1600cbLenUDINT cbLen = length of string + 1 (null delimiter). ]]>32320pDataPVOID32640E_TypeFieldParam16INTTYPEFIELD_UNKNOWN0TYPEFIELD_B1TYPEFIELD_O2TYPEFIELD_U3TYPEFIELD_C4TYPEFIELD_F5TYPEFIELD_D6TYPEFIELD_S7TYPEFIELD_XU8TYPEFIELD_XL9TYPEFIELD_EU10TYPEFIELD_EL11ST_FormatParameters160bPercentBOOL80bFlagsBOOL88bWidthBOOL816bDotBOOL824bPrecisionBOOL832bTypeBOOL840bAlignBOOL848bSignBOOL856bNullBOOL864bBlankBOOL872bHashBOOL880iWidthINT1696iPrecisionINT16112bWidthAsteriskBOOL8128bPrecisionAsteriskBOOL8136eTypeE_TypeFieldParam16144conditionalshowFB_FormatString7840sFormatT_MaxString204832ItemTypeInputarg1T_Arg962080ItemTypeInputarg2T_Arg962176ItemTypeInputarg3T_Arg962272ItemTypeInputarg4T_Arg962368ItemTypeInputarg5T_Arg962464ItemTypeInputarg6T_Arg962560ItemTypeInputarg7T_Arg962656ItemTypeInputarg8T_Arg962752ItemTypeInputarg9T_Arg962848ItemTypeInputarg10T_Arg962944ItemTypeInputbErrorBOOL error, FALSE => no error ]]>83040ItemTypeOutputnErrIdUDINT323072ItemTypeOutputsOutT_MaxString20483104ItemTypeOutputpFormatBYTE3251520conditionalshowpOutBYTE3251840conditionalshowiRemOutLenINT165216conditionalshowbValidBOOL85232conditionalshowstFmtST_FormatParameters1605248conditionalshownArrayElemINT165408conditionalshownArgumentUDINT325440conditionalshowparArgsT_Arg1103205472conditionalshowsArgStrT_MaxString20485792conditionalshowPouTypeFunctionBlockconditionalshow_all_localsSendByte + 128 + + Buffer + ComBuffer + 32 + 32 + + + ItemType + InOut + + + + + nBlockedCounter + UDINT + 32 + 64 + + + i + UINT + 16 + 96 + + + + PouType + FunctionBlock + + + + + T_MaxString + TwinCAT PLC string of max. length of 255 bytes + 1 byte null delimiter. + 2048 + STRING(255) + + + E_ArgType + 16 + INT + + ARGTYPE_UNKNOWN + 0 + + + ARGTYPE_BYTE + 1 + + + ARGTYPE_WORD + 2 + + + ARGTYPE_DWORD + 3 + + + ARGTYPE_REAL + 4 + + + ARGTYPE_LREAL + 5 + + + ARGTYPE_SINT + 6 + + + ARGTYPE_INT + 7 + + + ARGTYPE_DINT + 8 + + + ARGTYPE_USINT + 9 + + + ARGTYPE_UINT + 10 + + + ARGTYPE_UDINT + 11 + + + ARGTYPE_STRING + 12 + string of type T_MaxString! + + + ARGTYPE_BOOL + 13 + + + ARGTYPE_BIGTYPE + 14 + byte buffer + + + ARGTYPE_ULARGE + 15 + unsigned 64 bit ingeger (T_ULARGE_INTEGER, ULINT) + + + ARGTYPE_UHUGE + 16 + unsigned 128 bit integer (T_UHUGE_INTEGER) + + + ARGTYPE_LARGE + 17 + signed 64 bit integer (T_LARGE_INTEGER, LINT) + + + ARGTYPE_HUGE + 18 + signed 128 bit integer (T_HUGE_INTEGER) + + + ARGTYPE_LWORD + 19 + LWORD value + + + + T_Arg + Argument type + 96 + + eType + E_ArgType + Argument data type + 16 + 0 + + 0 + + + + cbLen + UDINT + Argument data byte length (if eType = ARGTYPE_STRING => cbLen = length of string + 1 (null delimiter). + 32 + 32 + + 0 + + + + pData + PVOID + Pointer to first argument data byte + 32 + 64 + + 0 + + + + + E_TypeFieldParam + 16 + INT + + TYPEFIELD_UNKNOWN + 0 + Unknown/not set + + + TYPEFIELD_B + 1 + b or B: binary number + + + TYPEFIELD_O + 2 + o or O: octal number + + + TYPEFIELD_U + 3 + u or U: unsigned decimal number + + + TYPEFIELD_C + 4 + c or C: one ASCII character + + + TYPEFIELD_F + 5 + f or F: float number ( normalized format ) + + + TYPEFIELD_D + 6 + d or D: signed decimal number + + + TYPEFIELD_S + 7 + s or S: string + + + TYPEFIELD_XU + 8 + X: hecadecimal number (upper case characters ) + + + TYPEFIELD_XL + 9 + x: hecadecimal number (lower case characters ) + + + TYPEFIELD_EU + 10 + E: float number ( scientific format ) + + + TYPEFIELD_EL + 11 + e: float number ( scientific format ) + + + + ST_FormatParameters + 160 + + bPercent + BOOL + 8 + 0 + + + bFlags + BOOL + 8 + 8 + + + bWidth + BOOL + 8 + 16 + + + bDot + BOOL + 8 + 24 + + + bPrecision + BOOL + 8 + 32 + + + bType + BOOL + 8 + 40 + + + bAlign + BOOL + Default :Right align + 8 + 48 + + + bSign + BOOL + Default: Sign only for negative values + 8 + 56 + + + bNull + BOOL + Default: No padding + 8 + 64 + + + bBlank + BOOL + Default: No blanks + 8 + 72 + + + bHash + BOOL + Default: No blanks + 8 + 80 + + + iWidth + INT + 16 + 96 + + + iPrecision + INT + 16 + 112 + + + bWidthAsterisk + BOOL + 8 + 128 + + + bPrecisionAsterisk + BOOL + 8 + 136 + + + eType + E_TypeFieldParam + format type parameter + 16 + 144 + + + + conditionalshow + + + + + FB_FormatString + Converts and formats up to 10 T_Arg values to string + 7840 + + sFormat + T_MaxString + Format string + 2048 + 32 + + + ItemType + Input + + + + + arg1 + T_Arg + Format argument 1, use F_INT, F_UINT; F_WORD, F_DWORD, F_LREAL... functions to initialize the argument inputs + 96 + 2080 + + + ItemType + Input + + + + + arg2 + T_Arg + Format argument 2 + 96 + 2176 + + + ItemType + Input + + + + + arg3 + T_Arg + Format argument 3 + 96 + 2272 + + + ItemType + Input + + + + + arg4 + T_Arg + Format argument 4 + 96 + 2368 + + + ItemType + Input + + + + + arg5 + T_Arg + Format argument 5 + 96 + 2464 + + + ItemType + Input + + + + + arg6 + T_Arg + Format argument 6 + 96 + 2560 + + + ItemType + Input + + + + + arg7 + T_Arg + Format argument 7 + 96 + 2656 + + + ItemType + Input + + + + + arg8 + T_Arg + Format argument 8 + 96 + 2752 + + + ItemType + Input + + + + + arg9 + T_Arg + Format argument 9 + 96 + 2848 + + + ItemType + Input + + + + + arg10 + T_Arg + Format argument 10 + 96 + 2944 + + + ItemType + Input + + + + + bError + BOOL + TRUE => error, FALSE => no error + 8 + 3040 + + + ItemType + Output + + + + + nErrId + UDINT + Error code + 32 + 3072 + + + ItemType + Output + + + + + sOut + T_MaxString + Output stirng + 2048 + 3104 + + + ItemType + Output + + + + + pFormat + BYTE + 32 + 5152 + + 0 + + + + conditionalshow + + + + + pOut + BYTE + 32 + 5184 + + 0 + + + + conditionalshow + + + + + iRemOutLen + INT + 16 + 5216 + + + conditionalshow + + + + + bValid + BOOL + 8 + 5232 + + + conditionalshow + + + + + stFmt + ST_FormatParameters + 160 + 5248 + + + conditionalshow + + + + + nArrayElem + INT + 16 + 5408 + + + conditionalshow + + + + + nArgument + UDINT + 32 + 5440 + + + conditionalshow + + + + + parArgs + T_Arg + + 1 + 10 + + 320 + 5472 + + + conditionalshow + + + + + sArgStr + T_MaxString + 2048 + 5792 + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + SendByte + ================================================================= * * Modul: SendByte * The function block writes one byte into @@ -41,7 +1900,218 @@ * Date: 11.8.98 * *================================================================= - ]]>128SendByteBYTE832ItemTypeInputBusyBOOL840ItemTypeOutputErrorComError_t1648ItemTypeOutputTxBufferComBuffer3264ItemTypeInOutnBlockedCounterUDINT3296PouTypeFunctionBlock_SendString2336SendStringSTRING(255)204832ItemTypeInputBusyBOOL82080ItemTypeOutputErrorComError_t162096ItemTypeOutputTXbufferComBuffer322112ItemTypeInOutposINT162144SendSendByte1282176cBYTE82304lsINT162320PouTypeFunctionBlockSendString3072SendStringSTRING(80)64832ItemTypeInputBusyBOOL8680ItemTypeOutputErrorComError_t16688ItemTypeOutputTXbufferComBuffer32704ItemTypeInOutSendStringStandard_SendString2336736PouTypeFunctionBlockReceiveByte + 128 + + SendByte + BYTE + 8 + 32 + + + ItemType + Input + + + + + Busy + BOOL + 8 + 40 + + + ItemType + Output + + + + + Error + ComError_t + 16 + 48 + + + ItemType + Output + + + + + TxBuffer + ComBuffer + 32 + 64 + + + ItemType + InOut + + + + + nBlockedCounter + UDINT + 32 + 96 + + + + PouType + FunctionBlock + + + + + _SendString + 2336 + + SendString + STRING(255) + 2048 + 32 + + + ItemType + Input + + + + + Busy + BOOL + 8 + 2080 + + + ItemType + Output + + + + + Error + ComError_t + 16 + 2096 + + + ItemType + Output + + + + + TXbuffer + ComBuffer + 32 + 2112 + + + ItemType + InOut + + + + + pos + INT + 16 + 2144 + + + Send + SendByte + 128 + 2176 + + + c + BYTE + 8 + 2304 + + + ls + INT + 16 + 2320 + + + + PouType + FunctionBlock + + + + + SendString + 3072 + + SendString + STRING(80) + 648 + 32 + + + ItemType + Input + + + + + Busy + BOOL + 8 + 680 + + + ItemType + Output + + + + + Error + ComError_t + 16 + 688 + + + ItemType + Output + + + + + TXbuffer + ComBuffer + 32 + 704 + + + ItemType + InOut + + + + + SendStringStandard + _SendString + 2336 + 736 + + + + PouType + FunctionBlock + + + + + ReceiveByte + ================================================================= * * Modul: ReceiveByte * The function block reads one byte out of @@ -49,47 +2119,5347 @@ * Date: 11.8.98 * *================================================================= - ]]>128ByteReceivedBOOL832ItemTypeOutputReceivedByteBYTE840ItemTypeOutputErrorComError_t1648ItemTypeOutputRxBufferComBuffer3264ItemTypeInOutnBlockedCounterUDINT3296PouTypeFunctionBlockTOF224INBOOL832ItemTypeInputPTTIME3264ItemTypeInputQBOOL896ItemTypeOutputETTIME32128ItemTypeOutputMBOOL8160StartTimeTIME32192PouTypeFunctionBlock_ReceiveString4736PrefixSTRING(80)64832ItemTypeInputSuffixSTRING(80)648680ItemTypeInputTimeoutTIME321344ItemTypeInputResetBOOL81376ItemTypeInputpReceivedStringBYTE321408ItemTypeInputSizeReceivedStringINT161440ItemTypeInputStringReceivedBOOL81456ItemTypeOutputBusyBOOL81464ItemTypeOutputErrorComError_t161472ItemTypeOutputRxTimeoutBOOL81488ItemTypeOutputErrorCountPrefixINT161504ItemTypeOutputReceivedPrefixSTRING(80)6481520ItemTypeOutputRXbufferComBuffer322176ItemTypeInOutRxStringSTRING(255)20482208stateINT164256cBYTE84272lINT164288l2INT164304plINT164320slINT164336iTimeoutTIME324352ReceiveReceiveByte1284384TimeoutTimerTOF2244512PouTypeFunctionBlockReceiveString6912PrefixSTRING(80)64832ItemTypeInputSuffixSTRING(80)648680ItemTypeInputTimeoutTIME321344ItemTypeInputResetBOOL81376ItemTypeInputStringReceivedBOOL81384ItemTypeOutputBusyBOOL81392ItemTypeOutputErrorComError_t161408ItemTypeOutputRxTimeoutBOOL81424ItemTypeOutputReceivedStringSTRING(80)321440ItemTypeInOutRXbufferComBuffer321472ItemTypeInOutReceiveStringStandard_ReceiveString47361504ErrorCountPrefixINT166240ReceivedPrefixSTRING(80)6486256PouTypeFunctionBlockTON224INBOOL832ItemTypeInputPTTIME3264ItemTypeInputQBOOL896ItemTypeOutputETTIME32128ItemTypeOutputMBOOL8160StartTimeTIME32192PouTypeFunctionBlockFB_PI_E621_SerialTransaction27648i_xExecuteBOOL832ItemTypeInputi_tTimeOutTIME32641000ItemTypeInputi_sCmdSTRING(80)64896ItemTypeInputi_sAxisSTRING(80)648744ItemTypeInputi_sParamSTRING(80)6481392ItemTypeInputi_xExpectReplyBOOL820401ItemTypeInputq_xDoneBOOL82048ItemTypeOutputq_sResponseDataSTRING(80)6482056ItemTypeOutputq_xErrorBOOL82704ItemTypeOutputq_xTimeoutBOOL82712ItemTypeOutputq_sResultSTRING(80)6482720ItemTypeOutputq_sLastSentStringSTRING(80)6483368ItemTypeOutputq_sLastReceivedStringSTRING(80)6484016ItemTypeOutputiq_stSerialRXBufferComBuffer324672ItemTypeInOutiq_stSerialTXBufferComBuffer324704ItemTypeInOutrtExecuteR_TRIG644736iStepINT164800fbClearComBufferClearComBuffer1284832sSendStringSTRING(80)6484960fbFormatStringFB_FormatString78405632iChecksumINT1613472fbSendStringSendString307213504fbReceiveStringReceiveString691216576sReceivedStringSTRING(80)64823488tonTimeoutTON22424160sRXStringForChecksumSTRING(80)64824384sReceiveStringWOChecksumSTRING(80)64825032sRXCheckSumSTRING(80)64825680sRXAddressSTRING(80)64826328sRXParmNumSTRING(80)64826976PouTypeFunctionBlockFB_PI_E621_SerialDriver104032i_xExecuteBOOL832ItemTypeInputi_tTimeOutTIME32641000ItemTypeInputq_xDoneBOOL896ItemTypeOutputq_xErrorBOOL8104ItemTypeOutputq_sResultSTRING(255)2048112ItemTypeOutputq_asLastSentStringsSTRING(80)150324002160ItemTypeOutputq_asLastReceivedStringsSTRING(80)1503240034560ItemTypeOutputiq_stPiezoAxisST_PiezoAxis3266976ItemTypeInOutiq_stSerialRXBufferComBuffer3267008ItemTypeInOutiq_stSerialTXBufferComBuffer3267040ItemTypeInOutrtExecuteR_TRIG6467072rtTransDoneR_TRIG6467136iStepINT1667200sSendDataSTRING(80)64867216fbPITransactionFB_PI_E621_SerialTransaction2764867872fbFormatStringFB_FormatString784095520sErrMesgSTRING(80)648103360In step %d fbPITransaction failed with message: %siINT161040161a_ErrorMesga_UnknownErrora_ClearTransPouTypeFunctionBlockHOMS_PitchMechanism2496PiezoST_PiezoAxis22400ReqPosLimHiREAL322240ReqPosLimLoREAL322272diEncPosLimHiLINT + 128 + + ByteReceived + BOOL + 8 + 32 + + + ItemType + Output + + + + + ReceivedByte + BYTE + 8 + 40 + + + ItemType + Output + + + + + Error + ComError_t + 16 + 48 + + + ItemType + Output + + + + + RxBuffer + ComBuffer + 32 + 64 + + + ItemType + InOut + + + + + nBlockedCounter + UDINT + 32 + 96 + + + + PouType + FunctionBlock + + + + + TOF + 224 + + IN + BOOL + starts timer with falling edge, resets timer with rising edge + 8 + 32 + + + ItemType + Input + + + + + PT + TIME + time to pass, before Q is set + 32 + 64 + + + ItemType + Input + + + + + Q + BOOL + is FALSE, PT seconds after IN had a falling edge + 8 + 96 + + + ItemType + Output + + + + + ET + TIME + elapsed time + 32 + 128 + + + ItemType + Output + + + + + M + BOOL + 8 + 160 + + + StartTime + TIME + 32 + 192 + + + + PouType + FunctionBlock + + + + + _ReceiveString + 4736 + + Prefix + STRING(80) + 648 + 32 + + + ItemType + Input + + + + + Suffix + STRING(80) + 648 + 680 + + + ItemType + Input + + + + + Timeout + TIME + 32 + 1344 + + + ItemType + Input + + + + + Reset + BOOL + 8 + 1376 + + + ItemType + Input + + + + + pReceivedString + BYTE + Pointer to variable length string + 32 + 1408 + + + ItemType + Input + + + + + SizeReceivedString + INT + variable string size + 16 + 1440 + + + ItemType + Input + + + + + StringReceived + BOOL + 8 + 1456 + + + ItemType + Output + + + + + Busy + BOOL + 8 + 1464 + + + ItemType + Output + + + + + Error + ComError_t + 16 + 1472 + + + ItemType + Output + + + + + RxTimeout + BOOL + 8 + 1488 + + + ItemType + Output + + + + + ErrorCountPrefix + INT + invalid characters received before prefix + 16 + 1504 + + + ItemType + Output + + + + + ReceivedPrefix + STRING(80) + received prefix including invalid characters + 648 + 1520 + + + ItemType + Output + + + + + RXbuffer + ComBuffer + 32 + 2176 + + + ItemType + InOut + + + + + RxString + STRING(255) + 2048 + 2208 + + + state + INT + 16 + 4256 + + + c + BYTE + 8 + 4272 + + + l + INT + 16 + 4288 + + + l2 + INT + 16 + 4304 + + + pl + INT + 16 + 4320 + + + sl + INT + 16 + 4336 + + + iTimeout + TIME + 32 + 4352 + + + Receive + ReceiveByte + 128 + 4384 + + + TimeoutTimer + TOF + 224 + 4512 + + + + PouType + FunctionBlock + + + + + ReceiveString + 6912 + + Prefix + STRING(80) + 648 + 32 + + + ItemType + Input + + + + + Suffix + STRING(80) + 648 + 680 + + + ItemType + Input + + + + + Timeout + TIME + 32 + 1344 + + + ItemType + Input + + + + + Reset + BOOL + 8 + 1376 + + + ItemType + Input + + + + + StringReceived + BOOL + 8 + 1384 + + + ItemType + Output + + + + + Busy + BOOL + 8 + 1392 + + + ItemType + Output + + + + + Error + ComError_t + 16 + 1408 + + + ItemType + Output + + + + + RxTimeout + BOOL + 8 + 1424 + + + ItemType + Output + + + + + ReceivedString + STRING(80) + 32 + 1440 + + + ItemType + InOut + + + + + RXbuffer + ComBuffer + 32 + 1472 + + + ItemType + InOut + + + + + ReceiveStringStandard + _ReceiveString + 4736 + 1504 + + + ErrorCountPrefix + INT + 16 + 6240 + + + ReceivedPrefix + STRING(80) + 648 + 6256 + + + + PouType + FunctionBlock + + + + + TON + 224 + + IN + BOOL + starts timer with rising edge, resets timer with falling edge + 8 + 32 + + + ItemType + Input + + + + + PT + TIME + time to pass, before Q is set + 32 + 64 + + + ItemType + Input + + + + + Q + BOOL + gets TRUE, delay time (PT) after a rising edge at IN + 8 + 96 + + + ItemType + Output + + + + + ET + TIME + elapsed time + 32 + 128 + + + ItemType + Output + + + + + M + BOOL + 8 + 160 + + + StartTime + TIME + 32 + 192 + + + + PouType + FunctionBlock + + + + + FB_PI_E621_SerialTransaction + 27648 + + i_xExecute + BOOL + rising edge execute + 8 + 32 + + + ItemType + Input + + + + + i_tTimeOut + TIME + Maximum wait time for reply + 32 + 64 + + 1000 + + + + ItemType + Input + + + + + i_sCmd + STRING(80) + Command field + 648 + 96 + + + ItemType + Input + + + + + i_sAxis + STRING(80) + Axis field + 648 + 744 + + + ItemType + Input + + + + + i_sParam + STRING(80) + Parameter field + 648 + 1392 + + + ItemType + Input + + + + + i_xExpectReply + BOOL + Does command have a reply? Default behavior is the same as the other drivers. + 8 + 2040 + + 1 + + + + ItemType + Input + + + + + q_xDone + BOOL + 8 + 2048 + + + ItemType + Output + + + + + q_sResponseData + STRING(80) + 648 + 2056 + + + ItemType + Output + + + + + q_xError + BOOL + 8 + 2704 + + + ItemType + Output + + + + + q_xTimeout + BOOL + 8 + 2712 + + + ItemType + Output + + + + + q_sResult + STRING(80) + 648 + 2720 + + + ItemType + Output + + + + + q_sLastSentString + STRING(80) + Last String Sent to Serial Device - for debugging + 648 + 3368 + + + ItemType + Output + + + + + q_sLastReceivedString + STRING(80) + Last String Received from Serial Device - for debugging + 648 + 4016 + + + ItemType + Output + + + + + iq_stSerialRXBuffer + ComBuffer + 32 + 4672 + + + ItemType + InOut + + + + + iq_stSerialTXBuffer + ComBuffer + 32 + 4704 + + + ItemType + InOut + + + + + rtExecute + R_TRIG + 64 + 4736 + + + iStep + INT + 16 + 4800 + + + fbClearComBuffer + ClearComBuffer + 128 + 4832 + + + sSendString + STRING(80) + 648 + 4960 + + + fbFormatString + FB_FormatString + 7840 + 5632 + + + iChecksum + INT + 16 + 13472 + + + fbSendString + SendString + 3072 + 13504 + + + fbReceiveString + ReceiveString + 6912 + 16576 + + + sReceivedString + STRING(80) + 648 + 23488 + + + tonTimeout + TON + 224 + 24160 + + + sRXStringForChecksum + STRING(80) + 648 + 24384 + + + sReceiveStringWOChecksum + STRING(80) + 648 + 25032 + + + sRXCheckSum + STRING(80) + 648 + 25680 + + + sRXAddress + STRING(80) + 648 + 26328 + + + sRXParmNum + STRING(80) + 648 + 26976 + + + + PouType + FunctionBlock + + + + + FB_PI_E621_SerialDriver + 104032 + + i_xExecute + BOOL + rising edge execute + 8 + 32 + + + ItemType + Input + + + + + i_tTimeOut + TIME + Maximum wait time for reply + 32 + 64 + + 1000 + + + + ItemType + Input + + + + + q_xDone + BOOL + 8 + 96 + + + ItemType + Output + + + + + q_xError + BOOL + 8 + 104 + + + ItemType + Output + + + + + q_sResult + STRING(255) + 2048 + 112 + + + ItemType + Output + + + + + q_asLastSentStrings + STRING(80) + + 1 + 50 + + Last Strings Sent to Serial Device - for debugging + 32400 + 2160 + + + ItemType + Output + + + + + q_asLastReceivedStrings + STRING(80) + + 1 + 50 + + Last Strings Received from Serial Device - for debugging + 32400 + 34560 + + + ItemType + Output + + + + + iq_stPiezoAxis + ST_PiezoAxis + 32 + 66976 + + + ItemType + InOut + + + + + iq_stSerialRXBuffer + ComBuffer + 32 + 67008 + + + ItemType + InOut + + + + + iq_stSerialTXBuffer + ComBuffer + 32 + 67040 + + + ItemType + InOut + + + + + rtExecute + R_TRIG + 64 + 67072 + + + rtTransDone + R_TRIG + 64 + 67136 + + + iStep + INT + 16 + 67200 + + + sSendData + STRING(80) + 648 + 67216 + + + fbPITransaction + FB_PI_E621_SerialTransaction + 27648 + 67872 + + + fbFormatString + FB_FormatString + 7840 + 95520 + + + sErrMesg + STRING(80) + 648 + 103360 + + In step %d fbPITransaction failed with message: %s + + + + i + INT + 16 + 104016 + + 1 + + + + a_ErrorMesg + + + a_UnknownError + + + a_ClearTrans + + + + PouType + FunctionBlock + + + + + HOMS_PitchMechanism + 2496 + + Piezo + ST_PiezoAxis + Piezo + 2240 + 0 + + + ReqPosLimHi + REAL + Soft limits, egu urad + 32 + 2240 + + + ReqPosLimLo + REAL + 32 + 2272 + + + diEncPosLimHi + LINT + Hard limits, egu INC These are discovered during installation, and represent encoder ticks, unbiased We changed to these when our pitch mechanism limit switches were insufficient for good control. They had too much hysteresis/ lack of precision. At this point the limit - switches are ignored, and instead their function is carried out by these. ]]>642304diEncPosLimLoLINT642368diEncCntLINT642432TcAddressTypeInputAMSNETID48BYTE06%d.%d.%d.%d.%d.%d[0][1][2][3][4][5]ST_System88xSwAlmRstBOOL80xAtVacuumBOOL88xFirstScanBOOL816xOverrideModeBOOL824xIOStateBOOL832I_EcatMaster1AMSNETID4840namingomitTcAddressTypeInputTcEventSeverity16INT01234plcAttribute_qualified_onlyplcAttribute_strictE_Subsystem16WORDNILVALUE0VACUUM1MPS2MOTION3FIELDBUS4SDS5OPTICS6I_ArgumentsChangeListener32PVOIDOnArgumentsChangedITcAsyncResult32ITcUnknownGetIsBusyHRESULT32bIsBusyBOOL3232GetHasErrorHRESULT32bErrorBOOL3232GetErrorCodeHRESULT32hresultHRESULT32FB_AsyncStrResult64bBusyBOOL883299620bErrorBOOL883299656hrErrorCodeHRESULT3283299664nStringSizeUDINT3283299644sResultSTRING(255)204883299660__getbBusyBOOL8bBusyBOOL8b32IsBusyBOOL3232propertymonitoringcallInitipResultITcAsyncStringResult32conditionalshowGetStringBOOL8sResultSTRING(80)32nResultUDINT32__getnStringSizeUDINT32nStringSizeUDINT32pEmptySTRING(80)32propertymonitoringcallClear__getbErrorBOOL8bErrorBOOL8b32HasErrorBOOL3232propertymonitoringcall__getsResultSTRING(255)2048sResultSTRING(255)2048propertymonitoringcallTcEncodingUTF-8__gethrErrorCodeHRESULT32hrErrorCodeHRESULT32hrErrorHRESULT32propertymonitoringcallPouTypeFunctionBlockenable_dynamic_creationconditionalshow_all_localsno_explicit_calldo not call this POU directlyTcSourceInfoType32UDINT0124plcAttribute_qualified_onlyplcAttribute_strictTcSerializedSourceInfoType96eTypeTcSourceInfoType320obDataUDINT3232cbDataUDINT3264ITcSourceInfo32ITcUnknownGetNumTypesHRESULT32nCountUDINT32GetTypesHRESULT32ppSourceInfoTypesTcSerializedSourceInfoType32GetDataSizeHRESULT32cbDataUDINT32GetDataHRESULT32ppDataPVOID32ITcEvent32ITcUnknownGetEventClassHRESULT32eventClassGUID32GetEventIdHRESULT32eventIdUDINT32GetSeverityHRESULT32severityTcEventSeverity32GetSourceInfoHRESULT32pipSourceInfoITcSourceInfo32GetJsonAttributeHRESULT32sJsonAttributeSTRING(80)32nJsonAttributeUDINT32GetTextHRESULT32nLangIdDINT32pipResultITcAsyncStringResult32GetEventClassNameHRESULT32nLangIdDINT32pipResultITcAsyncStringResult32I_TcSourceInfo32PVOID__getguidGUID128property__getipDataITcSourceInfo32propertyconditionalshow__getnIdUDINT32propertymonitoringcall__getsNameSTRING(255)2048propertymonitoringcallTcEncodingUTF-8EqualsToBOOL8ipOtherI_TcSourceInfo32TcEventEntry192uuidEventClassGUID1280nEventIdUDINT32128eSeverityTcEventSeverity16160I_TcEventBase32PVOID__geteSeverityTcEventSeverity16propertymonitoringcall__getEventClassGUID128property__getipSourceInfoI_TcSourceInfo32propertymonitoringcall__getnEventIdUDINT32propertymonitoringcall__getsEventClassNameSTRING(255)2048propertymonitoringcallTcEncodingUTF-8__getsEventTextSTRING(255)2048propertymonitoringcallTcEncodingUTF-8__getstEventEntryTcEventEntry192propertyEqualsToBOOL8ipOtherI_TcEventBase32EqualsToEventClassBOOL8OtherEventClassGUID128EqualsToEventEntryBOOL8OtherEventClassGUID128nOtherEventIDUDINT32eOtherSeverityTcEventSeverity16EqualsToEventEntryExBOOL8stOtherTcEventEntry192GetJsonAttributeHRESULT32sJsonAttributeSTRING(80)32nJsonAttributeUDINT32RequestEventClassNameBOOL8nLangIdDINT32sResultSTRING(80)32nResultSizeUDINT32bErrorBOOL8ItemTypeOutputhrErrorCodeHRESULT32ItemTypeOutputRequestEventTextBOOL8nLangIdDINT32sResultSTRING(80)32nResultSizeUDINT32bErrorBOOL8ItemTypeOutputhrErrorCodeHRESULT32ItemTypeOutputIQueryInterface32PVOID__GetInterfacePointerBOOL8pRefDWORD32__GetInterfaceReferenceBOOL8nInterfaceIdDINT32pRefDWORD32TcEventArgumentType16INT012345678910111213141516171819plcAttribute_qualified_onlyplcAttribute_strictITcArguments32ITcUnknownCountHRESULT32nCountUDINT32AddArgumentHRESULT32eTypeTcEventArgumentType16pDataPVOID32cbDataUDINT32GetHRESULT32nIndexUDINT32eTypeTcEventArgumentType32ppDataPVOID32ClearHRESULT32GetArgumentTypesHRESULT32pArgumentTypesTcEventArgumentType32GetDataSizeHRESULT32cbDataUDINT32GetDataHRESULT32pDataBYTE32I_TcArguments32IQueryInterface__getipDataITcArguments32propertyconditionalshow__getnCountUDINT32propertyAddBlobI_TcArguments32pDataPVOID32cbDataUINT16AddBoolI_TcArguments32valueBOOL8AddByteI_TcArguments32valueBYTE8AddDIntI_TcArguments32valueDINT32AddDWordI_TcArguments32valueDWORD32AddEventReferenceExI_TcArguments32stEventEntryTcEventEntry192AddEventReferenceIdI_TcArguments32nEventIdUDINT32AddEventReferenceIdGuidI_TcArguments32nEventIdUDINT32EventClassGUID128AddIntI_TcArguments32valueINT16AddLIntI_TcArguments32valueLINT64AddLRealI_TcArguments32valueLREAL64AddRealI_TcArguments32valueREAL32AddSIntI_TcArguments32valueSINT8AddStringI_TcArguments32valueSTRING(80)32ItemTypeInOutAddStringByValueI_TcArguments32valueT_MaxString2048AddUDIntI_TcArguments32valueUDINT32AddUIntI_TcArguments32valueUINT16AddULIntI_TcArguments32valueULINT64AddUSIntI_TcArguments32valueUSINT8AddUtf8EncodedStringI_TcArguments32valueSTRING(80)32ItemTypeInOutAddWordI_TcArguments32valueWORD16AddWStringI_TcArguments32valueWSTRING(80)32ItemTypeInOutAddWStringByValueI_TcArguments32valueWSTRING(255)4096ClearI_TcArguments32ITcEventUniqueIdProvider32ITcUnknownGetUniqueIdHRESULT32idUDINT32FB_TcSourceInfo2848I_TcSourceInfonIdUDINT328329956083299584sNameSTRING(255)20488329960083299612ExtendNameBOOL8sExtensionSTRING(255)2048__getipDataITcSourceInfo32ipDataITcSourceInfo32propertyconditionalshow__getnIdUDINT32nIdUDINT32propertymonitoringcallResetToDefaultHRESULT32Clear__setnIdnIdUDINT32monitoringcallpropertymonitoringcall__setguidguidGUID128propertyEqualsToBOOL8ipOtherI_TcSourceInfo32__getguidGUID128guidGUID128property__getsNameSTRING(255)2048sNameSTRING(255)2048propertymonitoringcallTcEncodingUTF-8__setsNamesNameSTRING(255)2048monitoringcallTcEncodingUTF-8propertymonitoringcallTcEncodingUTF-8PouTypeFunctionBlockno_explicit_calldo not call this POU directlyFB_TcEventBase3424I_ArgumentsChangeListenerfbSourceInfoFB_TcSourceInfo2848256conditionalshow__REQUESTEVENTCLASSNAME__FBRESULTFB_AsyncStrResult643232conditionalshow__REQUESTEVENTCLASSNAME__BBUSYBOOL83296conditionalshow__REQUESTEVENTTEXT__FBRESULTFB_AsyncStrResult643328conditionalshow__REQUESTEVENTTEXT__BBUSYBOOL83392conditionalshoweSeverityTcEventSeverity1683299712ipSourceInfoI_TcSourceInfo3283299692nEventIdUDINT3283299780nUniqueIdUDINT3283299784sEventClassNameSTRING(255)204883299740sEventTextSTRING(255)204883299788EqualsToEventClassBOOL8OtherEventClassGUID128_EventClassGUID128GetEventClassNameHRESULT32nLangIdDINT32fbResultFB_AsyncStrResult32ItemTypeInOutipTmpEventITcEvent32ipResultITcAsyncStringResult32hrHRESULT32ReleaseHRESULT32UpdateLangId__getipSourceInfoI_TcSourceInfo32ipSourceInfoI_TcSourceInfo32propertymonitoringcallEqualsToBOOL8ipOtherI_TcEventBase32__getipEventITcEvent32ipEventITcEvent32propertyconditionalshow__getEventClassGUID128EventClassGUID128ipTmpEventITcEvent32property__geteSeverityTcEventSeverity16eSeverityTcEventSeverity16ipTmpEventITcEvent32propertymonitoringcall__getstEventEntryTcEventEntry192stEventEntryTcEventEntry192propertyOnCreateHRESULT32EqualsToEventEntryBOOL8OtherEventClassGUID128nOtherEventIDUDINT32eOtherSeverityTcEventSeverity16RequestEventTextBOOL8nLangIdDINT32sResultSTRING(80)32nResultSizeUDINT32bErrorBOOL8ItemTypeOutputhrErrorCodeHRESULT32ItemTypeOutputfbResultFB_AsyncStrResult64uselocation__REQUESTEVENTTEXT__FBRESULTbBusyBOOL8uselocation__REQUESTEVENTTEXT__BBUSYOnArgumentsChanged__getsEventClassNameSTRING(255)2048sEventClassNameSTRING(255)2048propertymonitoringcallTcEncodingUTF-8__getipArgumentsI_TcArguments32ipArgumentsI_TcArguments32propertyGetEventTextHRESULT32nLangIdDINT32fbResultFB_AsyncStrResult32ItemTypeInOutipTmpEventITcEvent32ipResultITcAsyncStringResult32hrHRESULT32GetJsonAttributeHRESULT32sJsonAttributeSTRING(80)32nJsonAttributeUDINT32ipTmpEventITcEvent32RequestEventClassNameBOOL8nLangIdDINT32sResultSTRING(80)32nResultSizeUDINT32bErrorBOOL8ItemTypeOutputhrErrorCodeHRESULT32ItemTypeOutputfbResultFB_AsyncStrResult64uselocation__REQUESTEVENTCLASSNAME__FBRESULTbBusyBOOL8uselocation__REQUESTEVENTCLASSNAME__BBUSYEqualsToEventEntryExBOOL8stOtherTcEventEntry192__getnEventIdUDINT32nEventIdUDINT32ipTmpEventITcEvent32propertymonitoringcall__getnUniqueIdUDINT32nUniqueIdUDINT32ipTmpEventITcEvent32ipProviderITcEventUniqueIdProvider32propertymonitoringcall__getsEventTextSTRING(255)2048sEventTextSTRING(255)2048propertymonitoringcallTcEncodingUTF-8PouTypeFunctionBlockconditionalshow_all_localsno_explicit_calldo not call this POU directlyI_TcMessage32I_TcEventBaseSendHRESULT32nTimeStampULINT64ITcMessage32ITcEventSetJsonAttributeHRESULT32sJsonAttributePCCH32GetArgumentsHRESULT32pipArgumentsITcArguments32SendHRESULT32timeStampULINT64ITcMessage232ITcMessageGetTimeSentHRESULT32timeStampULINT32FB_TcMessage3488FB_TcEventBaseI_TcMessagenTimeSentULINT6483299812SetJsonAttributeHRESULT32sJsonAttributeSTRING(80)32ItemTypeInOutCreateExHRESULT32stEventEntryTcEventEntry192ipSourceInfoI_TcSourceInfo32InitipMessageITcMessage32ipArgumentsITcArguments32ipSourceInfoITcSourceInfo32conditionalshow__getnTimeSentULINT64nTimeSentULINT64ipMessage2ITcMessage232nTimeStampULINT64propertymonitoringcallTcDisplayTypeGUID18071995-0000-0000-0000-000000000046CreateHRESULT32eventClassGUID128nEventIdUDINT32eSeverityTcEventSeverity16ipSourceInfoI_TcSourceInfo32hrHRESULT32ipArgumentsITcArguments32__getipEventITcEvent32ipEventITcEvent32propertyconditionalshowSendHRESULT32nTimeStampULINT64ReleaseHRESULT32PouTypeFunctionBlockreflectionconditionalshow_all_localsno_explicit_calldo not call this POU directlyF_TRIG + 64 + 2304 + + + diEncPosLimLo + LINT + 64 + 2368 + + + diEncCnt + LINT + Raw encoder count + 64 + 2432 + + + TcAddressType + Input + + + + + + AMSNETID + 48 + BYTE + + 0 + 6 + + + %d.%d.%d.%d.%d.%d + [0] + [1] + [2] + [3] + [4] + [5] + + + + ST_System + Defacto system structure, must be included in all projects + 88 + + xSwAlmRst + BOOL + Global Alarm Reset - EPICS Command + 8 + 0 + + + xAtVacuum + BOOL + System At Vacuum + 8 + 8 + + + xFirstScan + BOOL + This boolean is true for the first scan, and is false thereafter, use for initialization of stuff + 8 + 16 + + + xOverrideMode + BOOL + This bit is set when using the override features of the system + 8 + 24 + + + xIOState + BOOL + ECat Bus Health + 8 + 32 + + + I_EcatMaster1 + AMSNETID + AMS Net ID used for FB_EcatDiag, among others + 48 + 40 + + + naming + omit + + + TcAddressType + Input + + + + + + TcEventSeverity + 16 + INT + + TCEVENTSEVERITY_Verbose + 0 + + + TCEVENTSEVERITY_Info + 1 + + + TCEVENTSEVERITY_Warning + 2 + + + TCEVENTSEVERITY_Error + 3 + + + TCEVENTSEVERITY_Critical + 4 + + + + plcAttribute_qualified_only + + + plcAttribute_strict + + + + + + + + + E_Subsystem + 16 + WORD + + NILVALUE + 0 + Undefined system + + + VACUUM + 1 + Vacuum control system + + + MPS + 2 + Machine protection system + + + MOTION + 3 + Motion control systems + + + FIELDBUS + 4 + EtherCAT networks + + + SDS + 5 + Sample delivery system + + + OPTICS + 6 + Optics control system + + + + I_ArgumentsChangeListener + 32 + PVOID + + OnArgumentsChanged + + + + ITcAsyncResult + 32 + ITcUnknown + + GetIsBusy + HRESULT + 32 + + bIsBusy + BOOL32 + 32 + + + + GetHasError + HRESULT + 32 + + bError + BOOL32 + 32 + + + + GetErrorCode + HRESULT + 32 + + hresult + HRESULT + 32 + + + + + FB_AsyncStrResult + 64 + + bBusy + BOOL + 8 + 83299620 + + + bError + BOOL + 8 + 83299656 + + + hrErrorCode + HRESULT + 32 + 83299664 + + + nStringSize + UDINT + 32 + 83299644 + + + sResult + STRING(255) + 2048 + 83299660 + + + __getbBusy + BOOL + 8 + + bBusy + BOOL + 8 + + + b32IsBusy + BOOL32 + 32 + + + + property + + + monitoring + call + + + + + Init + + ipResult + ITcAsyncStringResult + 32 + + + + conditionalshow + + + + + GetString + BOOL + 8 + + sResult + STRING(80) + 32 + + + nResult + buffer size in bytes + UDINT + 32 + + + + __getnStringSize + UDINT + 32 + + nStringSize + UDINT + 32 + + + pEmpty + STRING(80) + 32 + + + + property + + + monitoring + call + + + + + Clear + + + __getbError + BOOL + 8 + + bError + BOOL + 8 + + + b32HasError + BOOL32 + 32 + + + + property + + + monitoring + call + + + + + __getsResult + STRING(255) + 2048 + + sResult + STRING(255) + 2048 + + + + property + + + monitoring + call + + + TcEncoding + UTF-8 + + + + + __gethrErrorCode + HRESULT + 32 + + hrErrorCode + HRESULT + 32 + + + hrError + HRESULT + 32 + + + + property + + + monitoring + call + + + + + + PouType + FunctionBlock + + + enable_dynamic_creation + + + conditionalshow_all_locals + + + no_explicit_call + do not call this POU directly + + + + + TcSourceInfoType + 32 + UDINT + + Undefined + 0 + + + Id + 1 + + + Guid + 2 + + + Name + 4 + + + + plcAttribute_qualified_only + + + plcAttribute_strict + + + + + + + + TcSerializedSourceInfoType + 96 + + eType + TcSourceInfoType + 32 + 0 + + + obData + UDINT + 32 + 32 + + + cbData + UDINT + 32 + 64 + + + + ITcSourceInfo + 32 + ITcUnknown + + GetNumTypes + HRESULT + 32 + + nCount + UDINT + 32 + + + + GetTypes + HRESULT + 32 + + ppSourceInfoTypes + TcSerializedSourceInfoType + 32 + + + + GetDataSize + HRESULT + 32 + + cbData + UDINT + 32 + + + + GetData + HRESULT + 32 + + ppData + PVOID + 32 + + + + + ITcEvent + 32 + ITcUnknown + + GetEventClass + HRESULT + 32 + + eventClass + GUID + 32 + + + + GetEventId + HRESULT + 32 + + eventId + UDINT + 32 + + + + GetSeverity + HRESULT + 32 + + severity + TcEventSeverity + 32 + + + + GetSourceInfo + HRESULT + 32 + + pipSourceInfo + ITcSourceInfo + 32 + + + + GetJsonAttribute + HRESULT + 32 + + sJsonAttribute + STRING(80) + 32 + + + nJsonAttribute + UDINT + 32 + + + + GetText + HRESULT + 32 + + nLangId + DINT + 32 + + + pipResult + ITcAsyncStringResult + 32 + + + + GetEventClassName + HRESULT + 32 + + nLangId + DINT + 32 + + + pipResult + ITcAsyncStringResult + 32 + + + + + I_TcSourceInfo + 32 + PVOID + + __getguid + GUID + 128 + + + property + + + + + __getipData + ITcSourceInfo + 32 + + + property + + + conditionalshow + + + + + __getnId + UDINT + 32 + + + property + + + monitoring + call + + + + + __getsName + STRING(255) + 2048 + + + property + + + monitoring + call + + + TcEncoding + UTF-8 + + + + + EqualsTo + BOOL + 8 + + ipOther + I_TcSourceInfo + 32 + + + + + TcEventEntry + 192 + + uuidEventClass + GUID + 128 + 0 + + + nEventId + UDINT + 32 + 128 + + + eSeverity + TcEventSeverity + 16 + 160 + + + + I_TcEventBase + 32 + PVOID + + __geteSeverity + TcEventSeverity + 16 + + + property + + + monitoring + call + + + + + __getEventClass + GUID + 128 + + + property + + + + + __getipSourceInfo + I_TcSourceInfo + 32 + + + property + + + monitoring + call + + + + + __getnEventId + UDINT + 32 + + + property + + + monitoring + call + + + + + __getsEventClassName + STRING(255) + 2048 + + + property + + + monitoring + call + + + TcEncoding + UTF-8 + + + + + __getsEventText + STRING(255) + 2048 + + + property + + + monitoring + call + + + TcEncoding + UTF-8 + + + + + __getstEventEntry + TcEventEntry + 192 + + + property + + + + + EqualsTo + BOOL + 8 + + ipOther + I_TcEventBase + 32 + + + + EqualsToEventClass + BOOL + 8 + + OtherEventClass + GUID + 128 + + + + EqualsToEventEntry + BOOL + 8 + + OtherEventClass + GUID + 128 + + + nOtherEventID + UDINT + 32 + + + eOtherSeverity + TcEventSeverity + 16 + + + + EqualsToEventEntryEx + BOOL + 8 + + stOther + TcEventEntry + 192 + + + + GetJsonAttribute + HRESULT + 32 + + sJsonAttribute + STRING(80) + 32 + + + nJsonAttribute + UDINT + 32 + + + + RequestEventClassName + BOOL + 8 + + nLangId + English(US)=1033 ; German(Germay)=1031 + DINT + 32 + + + sResult + buffer for result text + STRING(80) + 32 + + + nResultSize + size of buffer in bytes + UDINT + 32 + + + bError + BOOL + 8 + + + ItemType + Output + + + + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + + RequestEventText + BOOL + 8 + + nLangId + English(US)=1033 ; German(Germay)=1031 + DINT + 32 + + + sResult + buffer for result text + STRING(80) + 32 + + + nResultSize + size of buffer in bytes + UDINT + 32 + + + bError + BOOL + 8 + + + ItemType + Output + + + + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + + + IQueryInterface + 32 + PVOID + + __GetInterfacePointer + BOOL + 8 + + pRef + DWORD + 32 + + + + __GetInterfaceReference + BOOL + 8 + + nInterfaceId + DINT + 32 + + + pRef + DWORD + 32 + + + + + TcEventArgumentType + 16 + INT + + Undefined + 0 + + + Boolean + 1 + + + Int8 + 2 + + + Int16 + 3 + + + Int32 + 4 + + + Int64 + 5 + + + UInt8 + 6 + + + UInt16 + 7 + + + UInt32 + 8 + + + UInt64 + 9 + + + Float + 10 + + + Double + 11 + + + Char + 12 + + + WChar + 13 + + + StringType + 14 + + + WStringType + 15 + + + EventReference + 16 + + + FormatString + 17 + + + ExternalTimestamp + 18 + + + Blob + 19 + + + + plcAttribute_qualified_only + + + plcAttribute_strict + + + + + + + + ITcArguments + 32 + ITcUnknown + + Count + HRESULT + 32 + + nCount + UDINT + 32 + + + + AddArgument + HRESULT + 32 + + eType + TcEventArgumentType + 16 + + + pData + PVOID + 32 + + + cbData + UDINT + 32 + + + + Get + HRESULT + 32 + + nIndex + UDINT + 32 + + + eType + TcEventArgumentType + 32 + + + ppData + PVOID + 32 + + + + Clear + HRESULT + 32 + + + GetArgumentTypes + HRESULT + 32 + + pArgumentTypes + TcEventArgumentType + 32 + + + + GetDataSize + HRESULT + 32 + + cbData + UDINT + 32 + + + + GetData + HRESULT + 32 + + pData + BYTE + 32 + + + + + I_TcArguments + 32 + IQueryInterface + + __getipData + ITcArguments + 32 + + + property + + + conditionalshow + + + + + __getnCount + UDINT + 32 + + + property + + + + + AddBlob + I_TcArguments + 32 + + pData + PVOID + 32 + + + cbData + UINT + 16 + + + + AddBool + I_TcArguments + 32 + + value + BOOL + 8 + + + + AddByte + I_TcArguments + 32 + + value + BYTE + 8 + + + + AddDInt + I_TcArguments + 32 + + value + DINT + 32 + + + + AddDWord + I_TcArguments + 32 + + value + DWORD + 32 + + + + AddEventReferenceEx + I_TcArguments + 32 + + stEventEntry + TcEventEntry + 192 + + + + AddEventReferenceId + I_TcArguments + 32 + + nEventId + UDINT + 32 + + + + AddEventReferenceIdGuid + I_TcArguments + 32 + + nEventId + UDINT + 32 + + + EventClass + GUID + 128 + + + + AddInt + I_TcArguments + 32 + + value + INT + 16 + + + + AddLInt + I_TcArguments + 32 + + value + LINT + 64 + + + + AddLReal + I_TcArguments + 32 + + value + LREAL + 64 + + + + AddReal + I_TcArguments + 32 + + value + REAL + 32 + + + + AddSInt + I_TcArguments + 32 + + value + SINT + 8 + + + + AddString + I_TcArguments + 32 + + value + STRING(80) + 32 + + + ItemType + InOut + + + + + + AddStringByValue + I_TcArguments + 32 + + value + T_MaxString + 2048 + + + + AddUDInt + I_TcArguments + 32 + + value + UDINT + 32 + + + + AddUInt + I_TcArguments + 32 + + value + UINT + 16 + + + + AddULInt + I_TcArguments + 32 + + value + ULINT + 64 + + + + AddUSInt + I_TcArguments + 32 + + value + USINT + 8 + + + + AddUtf8EncodedString + I_TcArguments + 32 + + value + STRING(80) + 32 + + + ItemType + InOut + + + + + + AddWord + I_TcArguments + 32 + + value + WORD + 16 + + + + AddWString + I_TcArguments + 32 + + value + WSTRING(80) + 32 + + + ItemType + InOut + + + + + + AddWStringByValue + I_TcArguments + 32 + + value + WSTRING(255) + 4096 + + + + Clear + I_TcArguments + 32 + + + + ITcEventUniqueIdProvider + 32 + ITcUnknown + + GetUniqueId + HRESULT + 32 + + id + UDINT + 32 + + + + + FB_TcSourceInfo + 2848 + I_TcSourceInfo + + nId + UDINT + 32 + 83299560 + 83299584 + + + sName + STRING(255) + 2048 + 83299600 + 83299612 + + + ExtendName + BOOL + 8 + + sExtension + STRING(255) + 2048 + + + + __getipData + ITcSourceInfo + 32 + + ipData + ITcSourceInfo + 32 + + + + property + + + conditionalshow + + + + + __getnId + UDINT + 32 + + nId + UDINT + 32 + + + + property + + + monitoring + call + + + + + ResetToDefault + HRESULT + 32 + + + Clear + + + __setnId + + nId + UDINT + 32 + + + monitoring + call + + + + + + property + + + monitoring + call + + + + + __setguid + + guid + GUID + 128 + + + + property + + + + + EqualsTo + BOOL + 8 + + ipOther + I_TcSourceInfo + 32 + + + + __getguid + GUID + 128 + + guid + GUID + 128 + + + + property + + + + + __getsName + STRING(255) + 2048 + + sName + STRING(255) + 2048 + + + + property + + + monitoring + call + + + TcEncoding + UTF-8 + + + + + __setsName + + sName + STRING(255) + 2048 + + + monitoring + call + + + TcEncoding + UTF-8 + + + + + + property + + + monitoring + call + + + TcEncoding + UTF-8 + + + + + + PouType + FunctionBlock + + + no_explicit_call + do not call this POU directly + + + + + FB_TcEventBase + 3424 + I_ArgumentsChangeListener + + fbSourceInfo + FB_TcSourceInfo + 2848 + 256 + + + conditionalshow + + + + + __REQUESTEVENTCLASSNAME__FBRESULT + FB_AsyncStrResult + 64 + 3232 + + + conditionalshow + + + + + __REQUESTEVENTCLASSNAME__BBUSY + BOOL + 8 + 3296 + + + conditionalshow + + + + + __REQUESTEVENTTEXT__FBRESULT + FB_AsyncStrResult + 64 + 3328 + + + conditionalshow + + + + + __REQUESTEVENTTEXT__BBUSY + BOOL + 8 + 3392 + + + conditionalshow + + + + + eSeverity + TcEventSeverity + 16 + 83299712 + + + ipSourceInfo + I_TcSourceInfo + 32 + 83299692 + + + nEventId + UDINT + 32 + 83299780 + + + nUniqueId + UDINT + 32 + 83299784 + + + sEventClassName + STRING(255) + 2048 + 83299740 + + + sEventText + STRING(255) + 2048 + 83299788 + + + EqualsToEventClass + BOOL + 8 + + OtherEventClass + GUID + 128 + + + _EventClass + GUID + 128 + + + + GetEventClassName + HRESULT + 32 + + nLangId + English(US)=1033 ; German(Germay)=1031 + DINT + 32 + + + fbResult + FB_AsyncStrResult + 32 + + + ItemType + InOut + + + + + ipTmpEvent + ITcEvent + 32 + + + ipResult + ITcAsyncStringResult + 32 + + + hr + HRESULT + 32 + + + + Release + HRESULT + 32 + + + UpdateLangId + + + __getipSourceInfo + I_TcSourceInfo + 32 + + ipSourceInfo + I_TcSourceInfo + 32 + + + + property + + + monitoring + call + + + + + EqualsTo + BOOL + 8 + + ipOther + I_TcEventBase + 32 + + + + __getipEvent + ITcEvent + 32 + + ipEvent + ITcEvent + 32 + + + + property + + + conditionalshow + + + + + __getEventClass + GUID + 128 + + EventClass + GUID + 128 + + + ipTmpEvent + ITcEvent + 32 + + + + property + + + + + __geteSeverity + TcEventSeverity + 16 + + eSeverity + TcEventSeverity + 16 + + + ipTmpEvent + ITcEvent + 32 + + + + property + + + monitoring + call + + + + + __getstEventEntry + TcEventEntry + 192 + + stEventEntry + TcEventEntry + 192 + + + + property + + + + + OnCreate + HRESULT + 32 + + + EqualsToEventEntry + BOOL + 8 + + OtherEventClass + GUID + 128 + + + nOtherEventID + UDINT + 32 + + + eOtherSeverity + TcEventSeverity + 16 + + + + RequestEventText + BOOL + 8 + + nLangId + English(US)=1033 ; German(Germay)=1031 + DINT + 32 + + + sResult + buffer for result text + STRING(80) + 32 + + + nResultSize + size of buffer in bytes + UDINT + 32 + + + bError + BOOL + 8 + + + ItemType + Output + + + + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + fbResult + FB_AsyncStrResult + 64 + + + uselocation + __REQUESTEVENTTEXT__FBRESULT + + + + + bBusy + BOOL + 8 + + + uselocation + __REQUESTEVENTTEXT__BBUSY + + + + + + OnArgumentsChanged + + + __getsEventClassName + STRING(255) + 2048 + + sEventClassName + STRING(255) + 2048 + + + + property + + + monitoring + call + + + TcEncoding + UTF-8 + + + + + __getipArguments + I_TcArguments + 32 + + ipArguments + I_TcArguments + 32 + + + + property + + + + + GetEventText + HRESULT + 32 + + nLangId + English(US)=1033 ; German(Germay)=1031 + DINT + 32 + + + fbResult + FB_AsyncStrResult + 32 + + + ItemType + InOut + + + + + ipTmpEvent + ITcEvent + 32 + + + ipResult + ITcAsyncStringResult + 32 + + + hr + HRESULT + 32 + + + + GetJsonAttribute + HRESULT + 32 + + sJsonAttribute + STRING(80) + 32 + + + nJsonAttribute + UDINT + 32 + + + ipTmpEvent + ITcEvent + 32 + + + + RequestEventClassName + BOOL + 8 + + nLangId + English(US)=1033 ; German(Germay)=1031 + DINT + 32 + + + sResult + buffer for result text + STRING(80) + 32 + + + nResultSize + size of buffer in bytes + UDINT + 32 + + + bError + BOOL + 8 + + + ItemType + Output + + + + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + fbResult + FB_AsyncStrResult + 64 + + + uselocation + __REQUESTEVENTCLASSNAME__FBRESULT + + + + + bBusy + BOOL + 8 + + + uselocation + __REQUESTEVENTCLASSNAME__BBUSY + + + + + + EqualsToEventEntryEx + BOOL + 8 + + stOther + TcEventEntry + 192 + + + + __getnEventId + UDINT + 32 + + nEventId + UDINT + 32 + + + ipTmpEvent + ITcEvent + 32 + + + + property + + + monitoring + call + + + + + __getnUniqueId + UDINT + 32 + + nUniqueId + UDINT + 32 + + + ipTmpEvent + ITcEvent + 32 + + + ipProvider + ITcEventUniqueIdProvider + 32 + + + + property + + + monitoring + call + + + + + __getsEventText + STRING(255) + 2048 + + sEventText + STRING(255) + 2048 + + + + property + + + monitoring + call + + + TcEncoding + UTF-8 + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + no_explicit_call + do not call this POU directly + + + + + I_TcMessage + 32 + I_TcEventBase + + Send + HRESULT + 32 + + nTimeStamp + ULINT + 64 + + + + + ITcMessage + 32 + ITcEvent + + SetJsonAttribute + HRESULT + 32 + + sJsonAttribute + PCCH + 32 + + + + GetArguments + HRESULT + 32 + + pipArguments + ITcArguments + 32 + + + + Send + HRESULT + 32 + + timeStamp + ULINT + 64 + + + + + ITcMessage2 + 32 + ITcMessage + + GetTimeSent + HRESULT + 32 + + timeStamp + ULINT + 32 + + + + + FB_TcMessage + 3488 + FB_TcEventBase + I_TcMessage + + nTimeSent + ULINT + 64 + 83299812 + + + SetJsonAttribute + HRESULT + 32 + + sJsonAttribute + STRING(80) + 32 + + + ItemType + InOut + + + + + + CreateEx + HRESULT + 32 + + stEventEntry + TcEventEntry + 192 + + + ipSourceInfo + optional (otherwise a default source info is taken) + I_TcSourceInfo + 32 + + + + Init + + ipMessage + ITcMessage + 32 + + + ipArguments + ITcArguments + 32 + + + ipSourceInfo + ITcSourceInfo + 32 + + + + conditionalshow + + + + + __getnTimeSent + ULINT + 64 + + nTimeSent + ULINT + 64 + + + ipMessage2 + ITcMessage2 + 32 + + + nTimeStamp + ULINT + 64 + + + + property + + + monitoring + call + + + TcDisplayTypeGUID + 18071995-0000-0000-0000-000000000046 + + + + + Create + HRESULT + 32 + + eventClass + GUID + 128 + + + nEventId + UDINT + 32 + + + eSeverity + TcEventSeverity + 16 + + + ipSourceInfo + optional (otherwise a default source info is taken) + I_TcSourceInfo + 32 + + + hr + HRESULT + 32 + + + ipArguments + ITcArguments + 32 + + + + __getipEvent + ITcEvent + 32 + + ipEvent + ITcEvent + 32 + + + + property + + + conditionalshow + + + + + Send + HRESULT + 32 + + nTimeStamp + set 0 to get the current time automatically + ULINT + 64 + + + + Release + HRESULT + 32 + + + + PouType + FunctionBlock + + + reflection + + + conditionalshow_all_locals + + + no_explicit_call + do not call this POU directly + + + + + F_TRIG + Falling Edge detection. -]]>64CLKBOOL832ItemTypeInputQBOOL840ItemTypeOutputMBOOL8481conditionalshowPouTypeFunctionBlockconditionalshow_all_localsFB_LogMessage81984sMsgT_MaxString204832ItemTypeInputeSevrTcEventSeverity1620800ItemTypeInputeSubsystemE_Subsystem162096ItemTypeInputsJsonSTRING(7000)560082112{}ItemTypeInputnMinTimeViolationAcceptableINT16581285ItemTypeInputnLocalTripThresholdTIME32581441ItemTypeInputnTrickleTripThresholdTIME> LocalTripThreshold]]>3258176100ItemTypeInputnTripResetPeriodTIME3258208600000ItemTypeInputbEnableAutoResetBOOL8582401ItemTypeInputbInitializedBOOL8582480bInitFailedBOOL8582560sSubsystemSourceSTRING(80)64858264fbMessageFB_TcMessage3258912fbMessagesFB_TcMessage051744058944fbSourceFB_TcSourceInfo284876384ipResultMessageI_TcMessage3279232hrHRESULT3279264hrLastInternalErrorHRESULT3279296eTraceLevelTcEventSeverity16793280bFirstCallBOOL8793441sPathT_MaxString204879352instance-pathnoinitnTotalEventsUINT1681408nTimesViolatedINT1681424LastCallTimeULINT6481472CurrentCallTimeULINT6481536DeltaSinceLastCallULINT6481600WhenTripsClearedULINT6481664ftTrippedReleasedF_TRIG6481728bLocalTrickleTrippedBOOL881792bLocalTrippedBOOL881800bTrippedBOOL881808pytmc + + 64 + + CLK + BOOL + signal to detect + 8 + 32 + + + ItemType + Input + + + + + Q + BOOL + falling edge at signal detected + 8 + 40 + + + ItemType + Output + + + + + M + BOOL + 8 + 48 + + 1 + + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + FB_LogMessage + 81984 + + sMsg + T_MaxString + Message to send + 2048 + 32 + + + ItemType + Input + + + + + eSevr + TcEventSeverity + 16 + 2080 + + 0 + + + + ItemType + Input + + + + + eSubsystem + E_Subsystem + Subsystem + 16 + 2096 + + + ItemType + Input + + + + + sJson + STRING(7000) + JSON to add to the message + 56008 + 2112 + + {} + + + + ItemType + Input + + + + + nMinTimeViolationAcceptable + INT + How many times the min. time can be violated before the CB trips + 16 + 58128 + + 5 + + + + ItemType + Input + + + + + nLocalTripThreshold + TIME + Minimum time between calls allowed, pairs with nMinTimeViolationAcceptable + 32 + 58144 + + 1 + + + + ItemType + Input + + + + + nTrickleTripThreshold + TIME + Trickle trip, activated by global threshold, should be >> LocalTripThreshold + 32 + 58176 + + 100 + + + + ItemType + Input + + + + + nTripResetPeriod + TIME + Time for auto-reset + 32 + 58208 + + 600000 + + + + ItemType + Input + + + + + bEnableAutoReset + BOOL + Enable circuit breaker auto-reset (true by default) + 8 + 58240 + + 1 + + + + ItemType + Input + + + + + bInitialized + BOOL + 8 + 58248 + + 0 + + + + bInitFailed + BOOL + 8 + 58256 + + 0 + + + + sSubsystemSource + STRING(80) + 648 + 58264 + + + fbMessage + FB_TcMessage + 32 + 58912 + + + fbMessages + FB_TcMessage + + 0 + 5 + + 17440 + 58944 + + + fbSource + FB_TcSourceInfo + 2848 + 76384 + + + ipResultMessage + I_TcMessage + 32 + 79232 + + + hr + HRESULT + 32 + 79264 + + + hrLastInternalError + HRESULT + 32 + 79296 + + + eTraceLevel + TcEventSeverity + 16 + 79328 + + 0 + + + + bFirstCall + BOOL + 8 + 79344 + + 1 + + + + sPath + T_MaxString + 2048 + 79352 + + + instance-path + + + noinit + + + + + nTotalEvents + UINT + //////////////////////////// + 16 + 81408 + + + nTimesViolated + INT + 16 + 81424 + + + LastCallTime + ULINT + 64 + 81472 + + + CurrentCallTime + ULINT + 64 + 81536 + + + DeltaSinceLastCall + ULINT + 64 + 81600 + + + WhenTripsCleared + ULINT + 64 + 81664 + + + ftTrippedReleased + F_TRIG + 64 + 81728 + + + bLocalTrickleTripped + BOOL + 8 + 81792 + + + bLocalTripped + BOOL + 8 + 81800 + + + bTripped + BOOL + Won't emit messages if true + 8 + 81808 + + + pytmc + pv: Tripped io: i field: DESC Log message FB tripped - bResetBreakerBOOL881816pytmc + + + + + + bResetBreaker + BOOL + 8 + 81816 + + + pytmc + pv: Reset io: o field: DESC Rising-edge reset of trip - rtResetBreakerR_TRIG6481824rtTrippedR_TRIG6481888CircuitBreakerPouTypeFunctionBlockreflectionST_LibVersion288iMajorUINT160iMinorUINT1616iBuildUINT1632iRevisionUINT1648nFlagsDWORD3264sVersionSTRING(23)19296E_WATCHDOG_TIME_CONFIG16INTeWATCHDOG_TIME_DISABLED0eWATCHDOG_TIME_SECONDS1eWATCHDOG_TIME_MINUTES2E_HashPrefixTypes16INTHASHPREFIX_IEC0HASHPREFIX_STDC1E_SBCSType16INTeSBCS_WesternEuropean1eSBCS_CentralEuropean2T_AmsNetID192STRING(23)E_RouteTransportType16UINTeRouteTransport_None0eRouteTransport_TCP_IP1eRouteTransport_IIO_LIGHTBUS2eRouteTransport_PROFIBUS_DP3eRouteTransport_PCI_ISA_BUS4eRouteTransport_ADS_UDP5eRouteTransport_FATP_UDP6eRouteTransport_COM_PORT7eRouteTransport_USB8eRouteTransport_CAN_OPEN9eRouteTransport_DEVICE_NET10eRouteTransport_SSB11eRouteTransport_SOAP12ST_AmsRouteEntry1184sNameSTRING(31)2560sNetIDT_AmsNetID192256sAddressSTRING(79)640448eTransportE_RouteTransportType161088tTimeoutTIME321120dwFlagsDWORD321152T_ULARGE_INTEGER64dwLowPartDWORD320dwHighPartDWORD3232TIMESTRUCT128wYearWORD160wMonthWORD1616wDayOfWeekWORD1632wDayWORD1648wHourWORD1664wMinuteWORD1680wSecondWORD1696wMillisecondsWORD16112ST_TimeZoneInformation864biasDINT + + + + + rtResetBreaker + R_TRIG + 64 + 81824 + + + rtTripped + R_TRIG + 64 + 81888 + + + CircuitBreaker + + + + PouType + FunctionBlock + + + reflection + + + + + ST_LibVersion + 288 + + iMajor + UINT + 16 + 0 + + + iMinor + UINT + 16 + 16 + + + iBuild + UINT + 16 + 32 + + + iRevision + UINT + 16 + 48 + + + nFlags + DWORD + 32 + 64 + + + sVersion + STRING(23) + 192 + 96 + + + + E_WATCHDOG_TIME_CONFIG + 16 + INT + + eWATCHDOG_TIME_DISABLED + 0 + + + eWATCHDOG_TIME_SECONDS + 1 + + + eWATCHDOG_TIME_MINUTES + 2 + + + + E_HashPrefixTypes + 16 + INT + + HASHPREFIX_IEC + 0 + 2#, 8#, 16# + + + HASHPREFIX_STDC + 1 + 0 for octal type, 0x, 0X for hex else none + + + + E_SBCSType + 16 + INT + + eSBCS_WesternEuropean + 1 + Windows 1252 (default) + + + eSBCS_CentralEuropean + 2 + Windows 1251 + + + + T_AmsNetID + TwinCAT AMS netID address string. + 192 + STRING(23) + + + E_RouteTransportType + 16 + UINT + + eRouteTransport_None + 0 + + + eRouteTransport_TCP_IP + 1 + + + eRouteTransport_IIO_LIGHTBUS + 2 + + + eRouteTransport_PROFIBUS_DP + 3 + + + eRouteTransport_PCI_ISA_BUS + 4 + + + eRouteTransport_ADS_UDP + 5 + + + eRouteTransport_FATP_UDP + 6 + + + eRouteTransport_COM_PORT + 7 + + + eRouteTransport_USB + 8 + + + eRouteTransport_CAN_OPEN + 9 + + + eRouteTransport_DEVICE_NET + 10 + + + eRouteTransport_SSB + 11 + + + eRouteTransport_SOAP + 12 + + + + ST_AmsRouteEntry + TwinCAT AMS route entry struct + 1184 + + sName + STRING(31) + String containing route name + 256 + 0 + + + sNetID + T_AmsNetID + TwinCAT network address (ams net id) + 192 + 256 + + + sAddress + STRING(79) + String containing route network Ipv4 address or host name. + 640 + 448 + + + eTransport + E_RouteTransportType + Route transport type + 16 + 1088 + + + tTimeout + TIME + Route timeout + 32 + 1120 + + + dwFlags + DWORD + Additional flags + 32 + 1152 + + + + T_ULARGE_INTEGER + 64 bit unsigned integer + 64 + + dwLowPart + DWORD + Lower double word + 32 + 0 + + + dwHighPart + DWORD + Higher double word + 32 + 32 + + + + TIMESTRUCT + System Time Structure + 128 + + wYear + WORD + Year: 1970..2106 + 16 + 0 + + + wMonth + WORD + Month: 1..12 (January = 1, February = 2 and so on) + 16 + 16 + + + wDayOfWeek + WORD + Day of the week: 0..6 (Sunday = 0, Monday = 1, .. , Saturday = 6 and so on) + 16 + 32 + + + wDay + WORD + Day of the month: 1..31 + 16 + 48 + + + wHour + WORD + Hour: 0..23 + 16 + 64 + + + wMinute + WORD + Minute: 0..59 + 16 + 80 + + + wSecond + WORD + Second: 0..59 + 16 + 96 + + + wMilliseconds + WORD + Milliseconds: 0..999 + 16 + 112 + + + + ST_TimeZoneInformation + 864 + + bias + DINT + Specifies the current bias, in minutes, for local time translation on this computer. The bias is the difference, in minutes, between Coordinated Universal Time (UTC) and local time. - UTC = local time + bias ]]>320standardNameSTRING(31)25632standardDateTIMESTRUCT128288standardBiasDINT32416daylightNameSTRING(31)256448daylightDateTIMESTRUCT128704daylightBiasDINT32832ST_SockAddr160nPortUDINT320sAddrSTRING(15)12832T_HSOCKET352handleUDINT320localAddrST_SockAddr16032remoteAddrST_SockAddr160192T_ThrottleTimes416TIME013hideI_TestResultFormatter32PVOIDFormatNumberOfTestSuitesUINT16NumberOfTestCasesUINT16NumberOfSuccessfulTestCasesUINT16NumberOfFailedTestCasesUINT16BusyBOOL8ItemTypeOutputFB_ADSTestResultFormatter + 32 + 0 + + + standardName + STRING(31) + Specifies a null-terminated string associated with standard time + on this operating system. + 256 + 32 + + + standardDate + TIMESTRUCT + Specifies a SYSTEMTIME structure that contains a date and local time when the + transition from daylight saving time to standard time occurs on this operating system. + 128 + 288 + + + standardBias + DINT + Specifies a bias value to be used during local time translations that occur during standard time. + 32 + 416 + + + daylightName + STRING(31) + Specifies a null-terminated string associated with daylight saving time on this operating system. + For example, this member could contain "PDT" to indicate Pacific Daylight Time. + 256 + 448 + + + daylightDate + TIMESTRUCT + Specifies a SYSTEMTIME structure that contains a date and local time when the transition + from standard time to daylight saving time occurs on this operating system. + 128 + 704 + + + daylightBias + DINT + Specifies a bias value to be used during local time translations that occur during daylight saving time. + 32 + 832 + + + + ST_SockAddr + Local or remote endpoint address to which to connect a socket + 160 + + nPort + UDINT + Internet Protocol (IP) port. + 32 + 0 + + + sAddr + STRING(15) + String containing an (Ipv4) Internet Protocol dotted address. + 128 + 32 + + + + T_HSOCKET + Connectionless or connection oriented socket handle + 352 + + handle + UDINT + Connection handle + 32 + 0 + + + localAddr + ST_SockAddr + Local address to which to connect a socket + 160 + 32 + + + remoteAddr + ST_SockAddr + Remote endpoint address to which to connect a socket + 160 + 192 + + + + T_ThrottleTimes + 416 + TIME + + 0 + 13 + + + + hide + + + + + I_TestResultFormatter + 32 + PVOID + + Format + + NumberOfTestSuites + The total number of test suites + UINT + 16 + + + NumberOfTestCases + The total number of test cases (for all test suites) + UINT + 16 + + + NumberOfSuccessfulTestCases + The total number of test cases that had all ASSERTS successful + UINT + 16 + + + NumberOfFailedTestCases + The total number of test cases that had at least one ASSERT failed + UINT + 16 + + + Busy + BOOL + 8 + + + ItemType + Output + + + + + + + FB_ADSTestResultFormatter + This function block reports the results from the tests using the built-in ADSLOGSTR functionality provided by the Tc2_System library. This sends the result using ADS, which is consumed by the error list of Visual Studio. -]]>320I_TestResultFormatterADSDelayTimerTON + 320 + I_TestResultFormatter + + ADSDelayTimer + TON + Although we can print a message no #1 prior to message no #2, the message #2 can still be displayed before message #1, most likely because of some delay of the ADS data. To workaround this, we add a small delay between - transmission of the ADS messages. ]]>22464.PT300LastPrintStateUSINT82880PrintStateUSINT82960FormatNumberOfTestSuitesUINT16NumberOfTestCasesUINT16NumberOfSuccessfulTestCasesUINT16NumberOfFailedTestCasesUINT16BusyBOOL8ItemTypeOutputErrorCodeDINT32PouTypeFunctionBlockFB_TcUnitRunner + 224 + 64 + + + .PT + 300 + + + + + LastPrintState + USINT + 8 + 288 + + 0 + + + + PrintState + USINT + 8 + 296 + + 0 + + + + Format + + NumberOfTestSuites + The total number of test suites + UINT + 16 + + + NumberOfTestCases + The total number of test cases (for all test function blocks) + UINT + 16 + + + NumberOfSuccessfulTestCases + The total number of test cases that had all ASSERTS successful + UINT + 16 + + + NumberOfFailedTestCases + The total number of test cases that had at least one ASSERT failed + UINT + 16 + + + Busy + BOOL + 8 + + + ItemType + Output + + + + + ErrorCode + DINT + 32 + + + + + PouType + FunctionBlock + + + + + FB_TcUnitRunner + This function block is responsible for holding track of the tests and executing them. -]]>512AllTestSuitesFinishedBOOL8320ADSTestResultFormatterFB_ADSTestResultFormatter32064TestResultPrinterI_TestResultFormatter32384NumberOfTestSuitesFinishedUINT164160NumberOfTestCasesUINT164320NumberOfFailedTestCasesUINT164480NumberOfSuccessfulTestCasesUINT164640DonePrintingTestResultsBOOL8480AbortRunningTestSuitesBOOL8488AbortRunningTestSuiteTestsRunTestSuiteTestsCounterUINT16BusyPrintingBOOL8NumberOfTestSuitesFinished_Temp + 512 + + AllTestSuitesFinished + BOOL + Indication of whether all test suites have reported that they are finished + 8 + 32 + + 0 + + + + ADSTestResultFormatter + FB_ADSTestResultFormatter + Prints the results to ADS so that Visual Studio can display the results. + This test result formatter can be replaced with something else than ADS + 320 + 64 + + + TestResultPrinter + I_TestResultFormatter + 32 + 384 + + + NumberOfTestSuitesFinished + UINT + These variables (statistics) are occupied once all tests are complete + 16 + 416 + + 0 + + + + NumberOfTestCases + UINT + 16 + 432 + + 0 + + + + NumberOfFailedTestCases + UINT + 16 + 448 + + 0 + + + + NumberOfSuccessfulTestCases + UINT + 16 + 464 + + 0 + + + + DonePrintingTestResults + BOOL + Indication of that the printing of test results is complete + 8 + 480 + + + AbortRunningTestSuites + BOOL + If this flag is set, it means that some external event triggered the + request to abort running the test suites + 8 + 488 + + + AbortRunningTestSuiteTests + + + RunTestSuiteTests + + Counter + UINT + 16 + + + BusyPrinting + BOOL + 8 + + + NumberOfTestSuitesFinished_Temp + We need to hold a temporary state of the statistics (failed, successful, total number of test cases etc) as we don't consider the tests to be completely finished until all test suites have executed completely. The reason we want to do it this way is because a test suite can run over several cycles. Only once all tests - are finished (which might take many cycles), do we gather correct statistics ]]>UINT16NumberOfTestCases_TempUINT16NumberOfFailedTestCases_TempUINT16NumberOfSuccessfulTestCases_TempUINT16PouTypeFunctionBlockTYPE_CLASS32DWORDTYPE_BOOL0TYPE_BIT1TYPE_BYTE2TYPE_WORD3TYPE_DWORD4TYPE_LWORD5TYPE_SINT6TYPE_INT7TYPE_DINT8TYPE_LINT9TYPE_USINT10TYPE_UINT11TYPE_UDINT12TYPE_ULINT13TYPE_REAL14TYPE_LREAL15TYPE_STRING16TYPE_WSTRING17TYPE_TIME18TYPE_DATE19TYPE_DATEANDTIME20TYPE_TIMEOFDAY21TYPE_POINTER22TYPE_REFERENCE23TYPE_SUBRANGE24TYPE_ENUM25TYPE_ARRAY26TYPE_PARAMS27TYPE_USERDEF28TYPE_NONE29TYPE_ANY30TYPE_ANYBIT31TYPE_ANYDATE32TYPE_ANYINT33TYPE_ANYNUM34TYPE_ANYREAL35TYPE_LAZY36TYPE_LTIME37TYPE_BITCONST38AnyType96pValueBYTE320diSizeDINT3232TypeClassTYPE_CLASS3264linkalwaysFB_AnyComparator + UINT + 16 + + + NumberOfTestCases_Temp + UINT + 16 + + + NumberOfFailedTestCases_Temp + UINT + 16 + + + NumberOfSuccessfulTestCases_Temp + UINT + 16 + + + + + PouType + FunctionBlock + + + + + TYPE_CLASS + 32 + DWORD + + TYPE_BOOL + 0 + + + TYPE_BIT + 1 + + + TYPE_BYTE + 2 + + + TYPE_WORD + 3 + + + TYPE_DWORD + 4 + + + TYPE_LWORD + 5 + + + TYPE_SINT + 6 + + + TYPE_INT + 7 + + + TYPE_DINT + 8 + + + TYPE_LINT + 9 + + + TYPE_USINT + 10 + + + TYPE_UINT + 11 + + + TYPE_UDINT + 12 + + + TYPE_ULINT + 13 + + + TYPE_REAL + 14 + + + TYPE_LREAL + 15 + + + TYPE_STRING + 16 + + + TYPE_WSTRING + 17 + + + TYPE_TIME + 18 + + + TYPE_DATE + 19 + + + TYPE_DATEANDTIME + 20 + + + TYPE_TIMEOFDAY + 21 + + + TYPE_POINTER + 22 + + + TYPE_REFERENCE + 23 + + + TYPE_SUBRANGE + 24 + + + TYPE_ENUM + 25 + + + TYPE_ARRAY + 26 + + + TYPE_PARAMS + 27 + + + TYPE_USERDEF + 28 + + + TYPE_NONE + 29 + + + TYPE_ANY + 30 + + + TYPE_ANYBIT + 31 + + + TYPE_ANYDATE + 32 + + + TYPE_ANYINT + 33 + + + TYPE_ANYNUM + 34 + + + TYPE_ANYREAL + 35 + + + TYPE_LAZY + 36 + + + TYPE_LTIME + 37 + + + TYPE_BITCONST + 38 + + + + AnyType + 96 + + pValue + BYTE + 32 + 0 + + + diSize + DINT + 32 + 32 + + + TypeClass + TYPE_CLASS + 32 + 64 + + + + linkalways + + + + + FB_AnyComparator + This FB compares two instances of any object type and returns whether they are the same type, size and value or not. This is necessary for two reasons: 1. So that we can know exactly what differs between the two input parameters - 2. It's not possible to do a comparison (= or <>) between two instances of ANY. -]]>288AnyValueOneAnyType9632ItemTypeInputanytypeclassANYAnyValueTwoAnyType96128ItemTypeInputanytypeclassANYDataTypesNotEqualsBOOL8224ItemTypeOutputDataSizeNotEqualsBOOL8232ItemTypeOutputDataContentNotEqualsBOOL8240ItemTypeOutputIteratorCounterDINT32256PouTypeFunctionBlockhasanytypeFW_GetCurTaskIndex64nIndexBYTE832ItemTypeOutputPouTypeFunctionBlockconditionalshowGETCURTASKINDEX128indexBYTE832ItemTypeOutputfbGetCurTaskIndexFW_GetCurTaskIndex6464conditionalshowPouTypeFunctionBlockconditionalshow_all_localsFB_Test + 288 + + AnyValueOne + AnyType + 96 + 32 + + + ItemType + Input + + + anytypeclass + ANY + + + + + AnyValueTwo + AnyType + 96 + 128 + + + ItemType + Input + + + anytypeclass + ANY + + + + + DataTypesNotEquals + BOOL + The data type of the two ANY input parameters are not equal + 8 + 224 + + + ItemType + Output + + + + + DataSizeNotEquals + BOOL + The data size of the two ANY input parameters are not equal + 8 + 232 + + + ItemType + Output + + + + + DataContentNotEquals + BOOL + The data content of the two ANY input parameters are not equal + 8 + 240 + + + ItemType + Output + + + + + IteratorCounter + DINT + 32 + 256 + + + + PouType + FunctionBlock + + + hasanytype + + + + + FW_GetCurTaskIndex + 64 + + nIndex + BYTE + 8 + 32 + + + ItemType + Output + + + + + + PouType + FunctionBlock + + + conditionalshow + + + + + GETCURTASKINDEX + This function block GETCURTASKINDEX finds the task index of the task from which it is called. + 128 + + index + BYTE + Returns the current task index of the calling task. + 8 + 32 + + + ItemType + Output + + + + + fbGetCurTaskIndex + FW_GetCurTaskIndex + 64 + 64 + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + FB_Test + This function block holds all data that defines a test. -]]>2112TestNameT_MaxString204832TestIsFailedBOOL82080TestIsFinishedBOOL82088IsFinishedBOOL8SetNameNameT_MaxString2048SetFailedIsFailedBOOL8GetNameT_MaxString2048SetFinishedBOOL8PouTypeFunctionBlockU_ExpectedOrActual2048boolExpectedOrActualBOOL80bitExpectedOrActualBIT80byteExpectedOrActualBYTE80sintExpectedOrActualSINT80usintExpectedOrActualUSINT80intExpectedOrActualINT160uintExpectedOrActualUINT160wordExpectedOrActualWORD160dwordExpectedOrActualDWORD320dateandtimeExpectedOrActualDATE_AND_TIME320dintExpectedOrActualDINT320realExpectedOrActualREAL320timeExpectedOrActualTIME320dateExpectedOrActualDATE320udintExpectedOrActualUDINT320timeofdayExpectedOrActualTIME_OF_DAY320lwordExpectedOrActualLWORD640lintExpectedOrActualLINT640ulintExpectedOrActualULINT640lrealExpectedOrActualLREAL640ltimeExpectedOrActualLTIME640wstringExpectedOrActualWSTRING(80)12960stringExpectedOrActualT_MaxString20480ST_AssertResult8192ExpectedU_ExpectedOrActual20480ActualU_ExpectedOrActual20482048MessageT_MaxString20484096TestInstancePathT_MaxString20486144ST_AssertResultInstances8256AssertResultST_AssertResult81920DetectionCountUINT168192DetectionCountThisCycleUINT168208FB_AssertResultStatic + 2112 + + TestName + T_MaxString + 2048 + 32 + + + TestIsFailed + BOOL + Indication of whether this test has at least one failed assert + 8 + 2080 + + + TestIsFinished + BOOL + 8 + 2088 + + + IsFinished + BOOL + 8 + + + SetName + + Name + T_MaxString + 2048 + + + + SetFailed + + + IsFailed + BOOL + 8 + + + GetName + T_MaxString + 2048 + + + SetFinished + BOOL + 8 + + + + PouType + FunctionBlock + + + + + U_ExpectedOrActual + 2048 + + boolExpectedOrActual + BOOL + 8 + 0 + + + bitExpectedOrActual + BIT + 8 + 0 + + + byteExpectedOrActual + BYTE + 8 + 0 + + + sintExpectedOrActual + SINT + 8 + 0 + + + usintExpectedOrActual + USINT + 8 + 0 + + + intExpectedOrActual + INT + 16 + 0 + + + uintExpectedOrActual + UINT + 16 + 0 + + + wordExpectedOrActual + WORD + 16 + 0 + + + dwordExpectedOrActual + DWORD + 32 + 0 + + + dateandtimeExpectedOrActual + DATE_AND_TIME + 32 + 0 + + + dintExpectedOrActual + DINT + 32 + 0 + + + realExpectedOrActual + REAL + 32 + 0 + + + timeExpectedOrActual + TIME + 32 + 0 + + + dateExpectedOrActual + DATE + 32 + 0 + + + udintExpectedOrActual + UDINT + 32 + 0 + + + timeofdayExpectedOrActual + TIME_OF_DAY + 32 + 0 + + + lwordExpectedOrActual + LWORD + 64 + 0 + + + lintExpectedOrActual + LINT + 64 + 0 + + + ulintExpectedOrActual + ULINT + 64 + 0 + + + lrealExpectedOrActual + LREAL + 64 + 0 + + + ltimeExpectedOrActual + LTIME + 64 + 0 + + + wstringExpectedOrActual + WSTRING(80) + 1296 + 0 + + + stringExpectedOrActual + T_MaxString + 2048 + 0 + + + + ST_AssertResult + 8192 + + Expected + U_ExpectedOrActual + 2048 + 0 + + + Actual + U_ExpectedOrActual + 2048 + 2048 + + + Message + T_MaxString + 2048 + 4096 + + + TestInstancePath + T_MaxString + 2048 + 6144 + + + + ST_AssertResultInstances + 8256 + + AssertResult + ST_AssertResult + 8192 + 0 + + + DetectionCount + UINT + Number of instances of the "AssertResult" + 16 + 8192 + + + DetectionCountThisCycle + UINT + Number of instance of the "AssertResult" in this specific PLC-cycle + 16 + 8208 + + + + FB_AssertResultStatic + This function block is responsible for keeping track of which asserts that have been made. The reason we need to keep track of these is because if the user does the same assert twice (because of running a test suite over several PLC-cycles) we want to know it so we don't print several times (if the assert fails). @@ -98,7 +7468,632 @@ - Value of actual - Message (string) - Test instance path (string) -]]>8224320AssertResultsST_AssertResult1500409600064TotalAssertsUINT1640960640GetCurrentTaskIndexGETCURTASKINDEX1284096096AssertResultInstancesST_AssertResultInstances150041280004096256CycleCountUDINT328224256FirstCycleExecutedBOOL88224288CopyDetectionCountAndResetDetectionCountInThisCycleIteratorCounterUINT16IncreaseDetectionCountThisCycleByOneExpectedAnyType96anytypeclassANYActualAnyType96anytypeclassANYMessageT_MaxString2048TestInstancePathT_MaxString2048IteratorCounterUINT16hasanytypeCreateAssertResultInstanceExpectedAnyType96anytypeclassANYActualAnyType96anytypeclassANYMessageT_MaxString2048TestInstancePathT_MaxString2048IteratorCounterUINT16hasanytypeGetDetectionCountThisCycleUINT16ExpectedAnyType96anytypeclassANYActualAnyType96anytypeclassANYMessageT_MaxString2048TestInstancePathT_MaxString2048IteratorCounterUINT16hasanytypeGetDetectionCountUINT16ExpectedAnyType96anytypeclassANYActualAnyType96anytypeclassANYMessageT_MaxString2048TestInstancePathT_MaxString2048IteratorCounterUINT16hasanytypeReportResultExpectedAnyType96anytypeclassANYActualAnyType96anytypeclassANYMessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8ItemTypeOutputLocationIndexUINT16DataTypesNotEqualsBOOL8DataSizeNotEqualsBOOL8DataContentNotEqualsBOOL8CurrentCycleCountUDINT32IteratorCounterUINT16DetectionCountTempUINT16FoundOneBOOL8AdditionalIdenticalAssertBOOL8hasanytypeAddAssertResultExpectedAnyType96anytypeclassANYActualAnyType96anytypeclassANYMessageT_MaxString2048TestInstancePathT_MaxString2048hasanytypePouTypeFunctionBlockTypeClass16INTTYPE_BOOL0TYPE_BIT1TYPE_BYTE2TYPE_WORD3TYPE_DWORD4TYPE_LWORD5TYPE_SINT6TYPE_INT7TYPE_DINT8TYPE_LINT9TYPE_USINT10TYPE_UINT11TYPE_UDINT12TYPE_ULINT13TYPE_REAL14TYPE_LREAL15TYPE_STRING16TYPE_WSTRING17TYPE_TIME18TYPE_DATE19TYPE_DATEANDTIME20TYPE_TIMEOFDAY21TYPE_POINTER22TYPE_REFERENCE23TYPE_SUBRANGE24TYPE_ENUM25TYPE_ARRAY26TYPE_PARAMS27TYPE_USERDEF28TYPE_NONE29TYPE_ANY30TYPE_ANYBIT31TYPE_ANYDATE32TYPE_ANYINT33TYPE_ANYNUM34TYPE_ANYREAL35TYPE_LAZY36TYPE_LTIME37TYPE_BITCONST38TYPE_INTERFACE-4096ST_AssertArrayResult4224ExpectedsSizeUDINT320ExpectedsTypeClassTypeClass1632ActualsSizeUDINT3264ActualsTypeClassTypeClass1696MessageT_MaxString2048112TestInstancePathT_MaxString20482160ST_AssertArrayResultInstances4256AssertArrayResultST_AssertArrayResult42240DetectionCountUINT164224DetectionCountThisCycleUINT164240FB_AssertArrayResultStatic + 8224320 + + AssertResults + ST_AssertResult + + 1 + 500 + + The total number of instances of each of the "AssertResults" + 4096000 + 64 + + + TotalAsserts + UINT + The total number of unique asserts + 16 + 4096064 + + 0 + + + + GetCurrentTaskIndex + GETCURTASKINDEX + Function block to get the current task cycle + 128 + 4096096 + + + AssertResultInstances + ST_AssertResultInstances + + 1 + 500 + + The total number of instances of each of the "AssertResults" + 4128000 + 4096256 + + + CycleCount + UDINT + The last PLC cycle count + 32 + 8224256 + + + FirstCycleExecuted + BOOL + Only run first cycle + 8 + 8224288 + + + CopyDetectionCountAndResetDetectionCountInThisCycle + + IteratorCounter + UINT + 16 + + + + IncreaseDetectionCountThisCycleByOne + + Expected + AnyType + 96 + + + anytypeclass + ANY + + + + + Actual + AnyType + 96 + + + anytypeclass + ANY + + + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + + hasanytype + + + + + CreateAssertResultInstance + + Expected + AnyType + 96 + + + anytypeclass + ANY + + + + + Actual + AnyType + 96 + + + anytypeclass + ANY + + + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + + hasanytype + + + + + GetDetectionCountThisCycle + UINT + 16 + + Expected + AnyType + 96 + + + anytypeclass + ANY + + + + + Actual + AnyType + 96 + + + anytypeclass + ANY + + + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + + hasanytype + + + + + GetDetectionCount + UINT + 16 + + Expected + AnyType + 96 + + + anytypeclass + ANY + + + + + Actual + AnyType + 96 + + + anytypeclass + ANY + + + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + + hasanytype + + + + + ReportResult + + Expected + AnyType + 96 + + + anytypeclass + ANY + + + + + Actual + AnyType + 96 + + + anytypeclass + ANY + + + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + ItemType + Output + + + + + LocationIndex + UINT + 16 + + + DataTypesNotEquals + BOOL + 8 + + + DataSizeNotEquals + BOOL + 8 + + + DataContentNotEquals + BOOL + 8 + + + CurrentCycleCount + UDINT + 32 + + + IteratorCounter + UINT + 16 + + + DetectionCountTemp + UINT + 16 + + + FoundOne + BOOL + 8 + + + AdditionalIdenticalAssert + BOOL + 8 + + + + hasanytype + + + + + AddAssertResult + + Expected + AnyType + 96 + + + anytypeclass + ANY + + + + + Actual + AnyType + 96 + + + anytypeclass + ANY + + + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + + hasanytype + + + + + + PouType + FunctionBlock + + + + + TypeClass + 16 + INT + + TYPE_BOOL + 0 + + + TYPE_BIT + 1 + + + TYPE_BYTE + 2 + + + TYPE_WORD + 3 + + + TYPE_DWORD + 4 + + + TYPE_LWORD + 5 + + + TYPE_SINT + 6 + + + TYPE_INT + 7 + + + TYPE_DINT + 8 + + + TYPE_LINT + 9 + + + TYPE_USINT + 10 + + + TYPE_UINT + 11 + + + TYPE_UDINT + 12 + + + TYPE_ULINT + 13 + + + TYPE_REAL + 14 + + + TYPE_LREAL + 15 + + + TYPE_STRING + 16 + + + TYPE_WSTRING + 17 + + + TYPE_TIME + 18 + + + TYPE_DATE + 19 + + + TYPE_DATEANDTIME + 20 + + + TYPE_TIMEOFDAY + 21 + + + TYPE_POINTER + 22 + + + TYPE_REFERENCE + 23 + + + TYPE_SUBRANGE + 24 + + + TYPE_ENUM + 25 + + + TYPE_ARRAY + 26 + + + TYPE_PARAMS + 27 + + + TYPE_USERDEF + 28 + + + TYPE_NONE + 29 + + + TYPE_ANY + 30 + + + TYPE_ANYBIT + 31 + + + TYPE_ANYDATE + 32 + + + TYPE_ANYINT + 33 + + + TYPE_ANYNUM + 34 + + + TYPE_ANYREAL + 35 + + + TYPE_LAZY + 36 + + + TYPE_LTIME + 37 + + + TYPE_BITCONST + 38 + + + TYPE_INTERFACE + -4096 + + + + ST_AssertArrayResult + 4224 + + ExpectedsSize + UDINT + Size in bytes of the expecteds-array + 32 + 0 + + + ExpectedsTypeClass + TypeClass + The data type of the expecteds-array + 16 + 32 + + + ActualsSize + UDINT + Size in bytes of the actuals-array + 32 + 64 + + + ActualsTypeClass + TypeClass + The data type of the actuals-array + 16 + 96 + + + Message + T_MaxString + 2048 + 112 + + + TestInstancePath + T_MaxString + 2048 + 2160 + + + + ST_AssertArrayResultInstances + 4256 + + AssertArrayResult + ST_AssertArrayResult + 4224 + 0 + + + DetectionCount + UINT + Number of instances of the "AssertArrayResult" + 16 + 4224 + + + DetectionCountThisCycle + UINT + Number of instance of the "AssertArrayResult" in this specific PLC-cycle + 16 + 4240 + + + + FB_AssertArrayResultStatic + This function block is responsible for keeping track of which array-asserts that have been made. The reason we need to keep track of these is because if the user does the same assert twice (because of running a test suite over several PLC-cycles) we want to know it so we don't print several times @@ -109,118 +8104,10940 @@ - Datatype of the actuals - Message (string) - Test instance path (string) -]]>4240256AssertArrayResultsST_AssertArrayResult1500211200032TotalArrayAssertsUINT1621120320GetCurrentTaskIndexGETCURTASKINDEX1282112064AssertArrayResultInstancesST_AssertArrayResultInstances150021280002112192CycleCountUDINT324240192FirstCycleExecutedBOOL84240224IncreaseDetectionCountThisCycleByOneExpectedsSizeUDINT32ExpectedsTypeClassTypeClass16ActualsSizeUDINT32ActualsTypeClassTypeClass16MessageT_MaxString2048TestInstancePathT_MaxString2048IteratorCounterUINT16CreateAssertResultInstanceExpectedsSizeUDINT32ExpectedsTypeClassTypeClass16ActualsSizeUDINT32ActualsTypeClassTypeClass16MessageT_MaxString2048TestInstancePathT_MaxString2048IteratorCounterUINT16GetDetectionCountThisCycleUINT16ExpectedsSizeUDINT32ExpectedsTypeClassTypeClass16ActualsSizeUDINT32ActualsTypeClassTypeClass16MessageT_MaxString2048TestInstancePathT_MaxString2048IteratorCounterUINT16GetDetectionCountUINT16ExpectedsSizeUDINT32ExpectedsTypeClassTypeClass16ActualsSizeUDINT32ActualsTypeClassTypeClass16MessageT_MaxString2048TestInstancePathT_MaxString2048IteratorCounterUINT16ReportResultExpectedsSizeUDINT32ExpectedsTypeClassTypeClass16ActualsSizeUDINT32ActualsTypeClassTypeClass16MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8ItemTypeOutputLocationIndexUINT16DataTypesNotEqualsBOOL8DataSizeNotEqualsBOOL8DataContentNotEqualsBOOL8CurrentCycleCountUDINT32IteratorCounterUINT16DetectionCountTempUINT16FoundOneBOOL8AdditionalIdenticalAssertBOOL8CopyDetectionCountAndResetDetectionCountInThisCycleIteratorCounterUINT16AddAssertArrayResultExpectedsSizeUDINT32ExpectedsTypeClassTypeClass16ActualsSizeUDINT32ActualsTypeClassTypeClass16MessageT_MaxString2048TestInstancePathT_MaxString2048PouTypeFunctionBlockI_AssertMessageFormatter32PVOIDLogAssertFailureExpectedT_MaxString2048ActualT_MaxString2048MessageT_MaxString2048TestInstancePathT_MaxString2048FB_AdjustAssertFailureMessageToMax252CharLength + 4240256 + + AssertArrayResults + ST_AssertArrayResult + + 1 + 500 + + The total number of instances of each of the "AssertArrayResults" + 2112000 + 32 + + + TotalArrayAsserts + UINT + The total number of unique asserts + 16 + 2112032 + + 0 + + + + GetCurrentTaskIndex + GETCURTASKINDEX + Function block to get the current task cycle + 128 + 2112064 + + + AssertArrayResultInstances + ST_AssertArrayResultInstances + + 1 + 500 + + The total number of instances of each of the "AssertArrayResults" + 2128000 + 2112192 + + + CycleCount + UDINT + The last PLC cycle count + 32 + 4240192 + + + FirstCycleExecuted + BOOL + Only run first cycle + 8 + 4240224 + + + IncreaseDetectionCountThisCycleByOne + + ExpectedsSize + UDINT + 32 + + + ExpectedsTypeClass + TypeClass + 16 + + + ActualsSize + UDINT + 32 + + + ActualsTypeClass + TypeClass + 16 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + + CreateAssertResultInstance + + ExpectedsSize + UDINT + 32 + + + ExpectedsTypeClass + TypeClass + 16 + + + ActualsSize + UDINT + 32 + + + ActualsTypeClass + TypeClass + 16 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + + GetDetectionCountThisCycle + UINT + 16 + + ExpectedsSize + UDINT + 32 + + + ExpectedsTypeClass + TypeClass + 16 + + + ActualsSize + UDINT + 32 + + + ActualsTypeClass + TypeClass + 16 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + + GetDetectionCount + UINT + 16 + + ExpectedsSize + UDINT + 32 + + + ExpectedsTypeClass + TypeClass + 16 + + + ActualsSize + UDINT + 32 + + + ActualsTypeClass + TypeClass + 16 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + + ReportResult + + ExpectedsSize + UDINT + 32 + + + ExpectedsTypeClass + TypeClass + 16 + + + ActualsSize + UDINT + 32 + + + ActualsTypeClass + TypeClass + 16 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + ItemType + Output + + + + + LocationIndex + UINT + 16 + + + DataTypesNotEquals + BOOL + 8 + + + DataSizeNotEquals + BOOL + 8 + + + DataContentNotEquals + BOOL + 8 + + + CurrentCycleCount + UDINT + 32 + + + IteratorCounter + UINT + 16 + + + DetectionCountTemp + UINT + 16 + + + FoundOne + BOOL + 8 + + + AdditionalIdenticalAssert + BOOL + 8 + + + + CopyDetectionCountAndResetDetectionCountInThisCycle + + IteratorCounter + UINT + 16 + + + + AddAssertArrayResult + + ExpectedsSize + UDINT + 32 + + + ExpectedsTypeClass + TypeClass + 16 + + + ActualsSize + UDINT + 32 + + + ActualsTypeClass + TypeClass + 16 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + + + PouType + FunctionBlock + + + + + I_AssertMessageFormatter + 32 + PVOID + + LogAssertFailure + + Expected + T_MaxString + 2048 + + + Actual + T_MaxString + 2048 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + + + FB_AdjustAssertFailureMessageToMax252CharLength + This function block is responsible for making sure that the asserted test instance path and test message are not loo long. The total printed message can not be more than 252 characters long. -]]>11584MsgFmtStringT_MaxString204832ItemTypeInputStringArgT_MaxString20482080ItemTypeInputMsgFmtStringProcessedT_MaxString20484128ItemTypeOutputStringArgProcessedT_MaxString20486176ItemTypeOutputMsgFmtStringTempT_MaxString20488224TestNameTooLongSTRING(80)64810272...TestName too longTestMsgTooLongSTRING(80)64810920...TestMsg too longMSG_FMT_STRING_MAX_NUMBER_OF_CHARACTERSINT1611568252PouTypeFunctionBlockFB_ADSAssertMessageFormatter + 11584 + + MsgFmtString + T_MaxString + Test instance path + 2048 + 32 + + + ItemType + Input + + + + + StringArg + T_MaxString + Test message + 2048 + 2080 + + + ItemType + Input + + + + + MsgFmtStringProcessed + T_MaxString + 2048 + 4128 + + + ItemType + Output + + + + + StringArgProcessed + T_MaxString + 2048 + 6176 + + + ItemType + Output + + + + + MsgFmtStringTemp + T_MaxString + 2048 + 8224 + + + TestNameTooLong + STRING(80) + 648 + 10272 + + ...TestName too long + + + + TestMsgTooLong + STRING(80) + 648 + 10920 + + ...TestMsg too long + + + + MSG_FMT_STRING_MAX_NUMBER_OF_CHARACTERS + INT + This is actually 253, but if StrArg-argument is used (which it is in TcUnit) it is 252. + 16 + 11568 + + 252 + + + + + PouType + FunctionBlock + + + + + FB_ADSAssertMessageFormatter + This function block is responsible for printing the results of the assertions using the built-in ADSLOGSTR functionality provided by the Tc2_System library. This sends the result using ADS, which is consumed by the error list of Visual Studio. -]]>64I_AssertMessageFormatterLogAssertFailureExpectedT_MaxString2048ActualT_MaxString2048MessageT_MaxString2048TestInstancePathT_MaxString2048AdjustAssertFailureMessageToMax252CharLengthFB_AdjustAssertFailureMessageToMax252CharLength11584TestInstancePathCleanedT_MaxString2048TestInstancePathFinalT_MaxString2048ReturnValueDINT32TestInstancePathProcessedT_MaxString2048MessageProcessedT_MaxString2048PouTypeFunctionBlockFB_TestSuite + 64 + I_AssertMessageFormatter + + LogAssertFailure + + Expected + T_MaxString + 2048 + + + Actual + T_MaxString + 2048 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AdjustAssertFailureMessageToMax252CharLength + FB_AdjustAssertFailureMessageToMax252CharLength + 11584 + + + TestInstancePathCleaned + T_MaxString + 2048 + + + TestInstancePathFinal + T_MaxString + 2048 + + + ReturnValue + DINT + 32 + + + TestInstancePathProcessed + T_MaxString + 2048 + + + MessageProcessed + T_MaxString + 2048 + + + + + PouType + FunctionBlock + + + + + FB_TestSuite + This function block is responsible for holding the internal state of the test suite. Every test suite can have one or more tests, and every test can do one or more asserts. It's also responsible for providing all the assert-methods for asserting different data types. Only failed assertions are recorded. -]]>12687744InstancePathT_MaxString204832instance-pathnoinitGetCurrentTaskIndexGETCURTASKINDEX + 12687744 + + InstancePath + T_MaxString + 2048 + 32 + + + instance-path + + + noinit + + + + + GetCurrentTaskIndex + GETCURTASKINDEX + We need to have access to specific information of the current task that this test suite is executed in. This is for instance necessary when we need to know whether a test is defined already. The definition of a test that is defined already is that we call on it - with the same name twice in the same cycle ]]>1282080NumberOfTestsUINT1622080TestsFB_Test11002112002240TestDuplicateNameTriggerR_TRIG11006400213440TestCycleCountIndexUDINT11003200219840AssertResultsFB_AssertResultStatic8224320223040AssertArrayResultFB_AssertArrayResultStatic42402568447360ADSAssertMessageFormatterFB_ADSAssertMessageFormatter6412687616AssertMessageFormatterI_AssertMessageFormatter3212687680AssertArrayEquals_REALExpectedsREAL32variable_length_arrayDimensions1ActualsREAL32variable_length_arrayDimensions1DeltaREAL32MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringSTRING(80)648ActualStringSTRING(80)648AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32AssertEquals_BOOLExpectedBOOL8ActualBOOL8MessageT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048AssertArrayEquals_WORDExpectedsWORD32variable_length_arrayDimensions1ActualsWORD32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringSTRING(80)648ActualStringSTRING(80)648AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedDWordStringSTRING(80)648ActualDWordStringSTRING(80)648ExpectedsIndexDINT32ActualsIndexDINT32AssertEquals_STRINGExpectedT_MaxString2048ActualT_MaxString2048MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertEquals_ULINTExpectedULINT64ActualULINT64MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArrayEquals_USINTExpectedsUSINT32variable_length_arrayDimensions1ActualsUSINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringSTRING(80)648ActualStringSTRING(80)648AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32GetNumberOfSuccessfulTestsUINT16AssertArrayEquals_BYTEExpectedsBYTE32variable_length_arrayDimensions1ActualsBYTE32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringSTRING(80)648ActualStringSTRING(80)648AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedByteStringSTRING(80)648ActualByteStringSTRING(80)648ExpectedsIndexDINT32ActualsIndexDINT32SetTestFailedIteratorCounterUINT16AssertEquals_WORDExpectedWORD16ActualWORD16MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArrayEquals_ULINTExpectedsULINT32variable_length_arrayDimensions1ActualsULINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringSTRING(80)648ActualStringSTRING(80)648AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32IsTestFinishedBOOL8TestNameT_MaxString2048IteratorCounterUINT16AssertEquals_LINTExpectedLINT64ActualLINT64MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertEqualsExpectedAnyType96anytypeclassANYActualAnyType96anytypeclassANYMessageT_MaxString2048CountDINT32ExpectedDataStringSTRING(80)648ActualDataStringSTRING(80)648TestInstancePathT_MaxString2048AlreadyReportedBOOL8AnyComparatorFB_AnyComparator288boolExpectedBOOL8boolActualBOOL8byteExpectedBYTE8byteActualBYTE8dateExpectedDATE32dateActualDATE32dateAndTimeExpectedDATE_AND_TIME32dateAndTimeActualDATE_AND_TIME32dintExpectedDINT32dintActualDINT32dwordExpectedDWORD32dwordActualDWORD32intExpectedINT16intActualINT16lintExpectedLINT64lintActualLINT64lrealExpectedLREAL64lrealActualLREAL64ltimeExpectedLTIME64ltimeActualLTIME64lwordExpectedLWORD64lwordActualLWORD64realExpectedREAL32realActualREAL32sintExpectedSINT8sintActualSINT8stringExpectedT_MaxString2048stringActualT_MaxString2048timeExpectedTIME32timeActualTIME32timeOfDayExpectedTIME_OF_DAY32timeOfDayActualTIME_OF_DAY32udintExpectedUDINT32udintActualUDINT32uintExpectedUINT16uintActualUINT16ulintExpectedULINT64ulintActualULINT64usintExpectedUSINT8usintActualUSINT8wordExpectedWORD16wordActualWORD16hasanytypeAssertEquals_TIME_OF_DAYExpectedTIME_OF_DAY32ActualTIME_OF_DAY32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertEquals_USINTExpectedUSINT8ActualUSINT8MessageT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048AssertArrayEquals_DINTExpectedsDINT32variable_length_arrayDimensions1ActualsDINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringSTRING(80)648ActualStringSTRING(80)648AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32AssertEquals_SINTExpectedSINT8ActualSINT8MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8GetNumberOfTestsUINT16AssertEquals_LREALExpectedLREAL64ActualLREAL64DeltaLREAL64MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArray2dEquals_REALExpectedsREAL32variable_length_arrayDimensions2ActualsREAL32variable_length_arrayDimensions2DeltaREAL32MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8ExpectedStringSTRING(80)648ActualStringSTRING(80)648AlreadyReportedBOOL8TestInstancePathT_MaxString2048DimensionIndexUSINT8LowerBoundExpectedsDINT1264UpperBoundExpectedsDINT1264LowerBoundActualsDINT1264UpperBoundActualsDINT1264SizeOfExpectedsDINT1264SizeOfActualsDINT1264OffsetDINT1264ExpectedArrayIndexDINT1264ActualArrayIndexDINT1264ExpectedREAL32ActualREAL32__Index__0DINT32AddTestNameToInstancePathT_MaxString2048TestInstancePathT_MaxString2048CompleteTestInstancePathT_MaxString2048AssertTrueConditionBOOL8MessageT_MaxString2048AssertArray3dEquals_LREALExpectedsLREAL32variable_length_arrayDimensions3ActualsLREAL32variable_length_arrayDimensions3DeltaLREAL64MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8ExpectedStringSTRING(80)648ActualStringSTRING(80)648AlreadyReportedBOOL8TestInstancePathT_MaxString2048DimensionIndexUSINT8LowerBoundExpectedsDINT1396UpperBoundExpectedsDINT1396LowerBoundActualsDINT1396UpperBoundActualsDINT1396SizeOfExpectedsDINT1396SizeOfActualsDINT1396OffsetDINT1396ExpectedArrayIndexDINT1396ActualArrayIndexDINT1396ExpectedLREAL64ActualLREAL64__Index__0DINT32AssertEquals_INTExpectedINT16ActualINT16MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertEquals_DATEExpectedDATE32ActualDATE32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertEquals_DWORDExpectedDWORD32ActualDWORD32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertEquals_REALExpectedREAL32ActualREAL32DeltaREAL32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertEquals_UDINTExpectedUDINT32ActualUDINT32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertEquals_LTIMEExpectedLTIME64ActualLTIME64MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArrayEquals_SINTExpectedsSINT32variable_length_arrayDimensions1ActualsSINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringSTRING(80)648ActualStringSTRING(80)648AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32AssertEquals_TIMEExpectedTIME32ActualTIME32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertEquals_DATE_AND_TIMEExpectedDATE_AND_TIME32ActualDATE_AND_TIME32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArray3dEquals_REALExpectedsREAL32variable_length_arrayDimensions3ActualsREAL32variable_length_arrayDimensions3DeltaREAL32MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8ExpectedStringSTRING(80)648ActualStringSTRING(80)648AlreadyReportedBOOL8TestInstancePathT_MaxString2048DimensionIndexUSINT8LowerBoundExpectedsDINT1396UpperBoundExpectedsDINT1396LowerBoundActualsDINT1396UpperBoundActualsDINT1396SizeOfExpectedsDINT1396SizeOfActualsDINT1396OffsetDINT1396ExpectedArrayIndexDINT1396ActualArrayIndexDINT1396ExpectedREAL32ActualREAL32ExpectedValueStringT_MaxString2048ActualValueStringT_MaxString2048FormatStringFB_FormatString7840__Index__0DINT32AssertEquals_DINTExpectedDINT32ActualDINT32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArrayEquals_UDINTExpectedsUDINT32variable_length_arrayDimensions1ActualsUDINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringSTRING(80)648ActualStringSTRING(80)648AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32AssertArrayEquals_INTExpectedsINT32variable_length_arrayDimensions1ActualsINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringSTRING(80)648ActualStringSTRING(80)648AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32AssertFalseConditionBOOL8MessageT_MaxString2048GetNumberOfFailedTestsUINT16CounterUINT16FailedTestsCountUINT16AssertArrayEquals_LINTExpectedsLINT32variable_length_arrayDimensions1ActualsLINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringSTRING(80)648ActualStringSTRING(80)648AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32AssertArrayEquals_LWORDExpectedsLWORD32variable_length_arrayDimensions1ActualsLWORD32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringSTRING(80)648ActualStringSTRING(80)648AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedDWordStringSTRING(80)648ActualDWordStringSTRING(80)648ExpectedsIndexDINT32ActualsIndexDINT32AssertEquals_LWORDExpectedLWORD64ActualLWORD64MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArray2dEquals_LREALExpectedsLREAL32variable_length_arrayDimensions2ActualsLREAL32variable_length_arrayDimensions2DeltaLREAL64MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8ExpectedStringSTRING(80)648ActualStringSTRING(80)648AlreadyReportedBOOL8TestInstancePathT_MaxString2048DimensionIndexUSINT8LowerBoundExpectedsDINT1264UpperBoundExpectedsDINT1264LowerBoundActualsDINT1264UpperBoundActualsDINT1264SizeOfExpectedsDINT1264SizeOfActualsDINT1264OffsetDINT1264ExpectedArrayIndexDINT1264ActualArrayIndexDINT1264ExpectedLREAL64ActualLREAL64__Index__0DINT32AssertArrayEquals_BOOLExpectedsBOOL32variable_length_arrayDimensions1ActualsBOOL32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringSTRING(80)648ActualStringSTRING(80)648AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32AreAllTestsFinishedBOOL8CounterUINT16GetCurTaskIndexGETCURTASKINDEX128AddTestTestNameT_MaxString2048IteratorCounterUINT16ErrorMessageT_MaxString2048TestInstancePathT_MaxString2048FunctionCallResultDINT32CycleCountUDINT32TestWithThisNameAlreadyExistsBOOL8LowerCasedTestNameT_MaxString2048TrimmedTestNameT_MaxString2048AssertArrayEquals_DWORDExpectedsDWORD32variable_length_arrayDimensions1ActualsDWORD32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringSTRING(80)648ActualStringSTRING(80)648AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedDWordStringSTRING(80)648ActualDWordStringSTRING(80)648ExpectedsIndexDINT32ActualsIndexDINT32FindTestSuiteInstancePathT_MaxString2048AssertEquals_BYTEExpectedBYTE8ActualBYTE8MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertEquals_UINTExpectedUINT16ActualUINT16MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8GetInstancePathT_MaxString2048SetTestFinishedBOOL8TestNameT_MaxString2048IteratorCounterUINT16AssertArrayEquals_UINTExpectedsUINT32variable_length_arrayDimensions1ActualsUINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringSTRING(80)648ActualStringSTRING(80)648AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32AssertArrayEquals_LREALExpectedsLREAL32variable_length_arrayDimensions1ActualsLREAL32variable_length_arrayDimensions1DeltaLREAL64MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringSTRING(80)648ActualStringSTRING(80)648AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32PouTypeFunctionBlockcall_after_initreflectionST_ADSLogStringMessage4096MsgFmtStrT_MaxString20480StrArgT_MaxString20482048pack_mode1FB_MemRingBuffer + 128 + 2080 + + + NumberOfTests + UINT + 16 + 2208 + + 0 + + + + Tests + FB_Test + + 1 + 100 + + 211200 + 2240 + + + TestDuplicateNameTrigger + R_TRIG + + 1 + 100 + + Rising trigger of whether we have already notified the user of that the test name pointed to by the current + position is a duplicate + 6400 + 213440 + + + TestCycleCountIndex + UDINT + + 1 + 100 + + Last cycle count index for a specific test. Used to detect whether this test has already been defined in the + current test suite + 3200 + 219840 + + + AssertResults + FB_AssertResultStatic + 8224320 + 223040 + + + AssertArrayResult + FB_AssertArrayResultStatic + 4240256 + 8447360 + + + ADSAssertMessageFormatter + FB_ADSAssertMessageFormatter + Prints the failed asserts to ADS so that Visual Studio can display the assert message. + This assert formatter can be replaced with something else than ADS + 64 + 12687616 + + + AssertMessageFormatter + I_AssertMessageFormatter + 32 + 12687680 + + + AssertArrayEquals_REAL + + Expecteds + REAL array with expected values + REAL + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + REAL array with actual values + REAL + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Delta + The maximum delta between the value of expected and actual for which both numbers are still considered equal, proportional to the Expected value in that array cell + REAL + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + STRING(80) + 648 + + + ActualString + STRING(80) + 648 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + + AssertEquals_BOOL + + Expected + BOOL expected value + BOOL + 8 + + + Actual + BOOL actual value + BOOL + 8 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + + AssertArrayEquals_WORD + + Expecteds + WORD array with expected values + WORD + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + WORD array with actual values + WORD + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + STRING(80) + 648 + + + ActualString + STRING(80) + 648 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedDWordString + STRING(80) + 648 + + + ActualDWordString + STRING(80) + 648 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + + AssertEquals_STRING + + Expected + STRING expected value + T_MaxString + 2048 + + + Actual + STRING actual value + T_MaxString + 2048 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertEquals_ULINT + + Expected + ULINT expected value + ULINT + 64 + + + Actual + ULINT actual value + ULINT + 64 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertArrayEquals_USINT + + Expecteds + USINT array with expected values + USINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + USINT array with actual values + USINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + STRING(80) + 648 + + + ActualString + STRING(80) + 648 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + + GetNumberOfSuccessfulTests + UINT + 16 + + + AssertArrayEquals_BYTE + + Expecteds + BYTE array with expected values + BYTE + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + BYTE array with actual values + BYTE + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + STRING(80) + 648 + + + ActualString + STRING(80) + 648 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedByteString + STRING(80) + 648 + + + ActualByteString + STRING(80) + 648 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + + SetTestFailed + + IteratorCounter + UINT + 16 + + + + AssertEquals_WORD + + Expected + WORD expected value + WORD + 16 + + + Actual + WORD actual value + WORD + 16 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertArrayEquals_ULINT + + Expecteds + ULINT array with expected values + ULINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + ULINT array with actual values + ULINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + STRING(80) + 648 + + + ActualString + STRING(80) + 648 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + + IsTestFinished + BOOL + 8 + + TestName + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + + AssertEquals_LINT + + Expected + LINT expected value + LINT + 64 + + + Actual + LINT actual value + LINT + 64 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertEquals + + Expected + Expected value + AnyType + 96 + + + anytypeclass + ANY + + + + + Actual + The value to check against expected + AnyType + 96 + + + anytypeclass + ANY + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Count + DINT + 32 + + + ExpectedDataString + STRING(80) + 648 + + + ActualDataString + STRING(80) + 648 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + AnyComparator + FB_AnyComparator + 288 + + + boolExpected + BOOL + 8 + + + boolActual + BOOL + 8 + + + byteExpected + BYTE + 8 + + + byteActual + BYTE + 8 + + + dateExpected + DATE + 32 + + + dateActual + DATE + 32 + + + dateAndTimeExpected + DATE_AND_TIME + 32 + + + dateAndTimeActual + DATE_AND_TIME + 32 + + + dintExpected + DINT + 32 + + + dintActual + DINT + 32 + + + dwordExpected + DWORD + 32 + + + dwordActual + DWORD + 32 + + + intExpected + INT + 16 + + + intActual + INT + 16 + + + lintExpected + LINT + 64 + + + lintActual + LINT + 64 + + + lrealExpected + LREAL + 64 + + + lrealActual + LREAL + 64 + + + ltimeExpected + LTIME + 64 + + + ltimeActual + LTIME + 64 + + + lwordExpected + LWORD + 64 + + + lwordActual + LWORD + 64 + + + realExpected + REAL + 32 + + + realActual + REAL + 32 + + + sintExpected + SINT + 8 + + + sintActual + SINT + 8 + + + stringExpected + T_MaxString + 2048 + + + stringActual + T_MaxString + 2048 + + + timeExpected + TIME + 32 + + + timeActual + TIME + 32 + + + timeOfDayExpected + TIME_OF_DAY + 32 + + + timeOfDayActual + TIME_OF_DAY + 32 + + + udintExpected + UDINT + 32 + + + udintActual + UDINT + 32 + + + uintExpected + UINT + 16 + + + uintActual + UINT + 16 + + + ulintExpected + ULINT + 64 + + + ulintActual + ULINT + 64 + + + usintExpected + USINT + 8 + + + usintActual + USINT + 8 + + + wordExpected + WORD + 16 + + + wordActual + WORD + 16 + + + + hasanytype + + + + + AssertEquals_TIME_OF_DAY + + Expected + TIME_OF_DAY expected value + TIME_OF_DAY + 32 + + + Actual + TIME_OF_DAY actual value + TIME_OF_DAY + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertEquals_USINT + + Expected + USINT expected value + USINT + 8 + + + Actual + USINT actual value + USINT + 8 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + + AssertArrayEquals_DINT + + Expecteds + DINT array with expected values + DINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + DINT array with actual values + DINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + STRING(80) + 648 + + + ActualString + STRING(80) + 648 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + + AssertEquals_SINT + + Expected + SINT expected value + SINT + 8 + + + Actual + SINT actual value + SINT + 8 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + GetNumberOfTests + UINT + 16 + + + AssertEquals_LREAL + + Expected + LREAL expected value + LREAL + 64 + + + Actual + LREAL actual value + LREAL + 64 + + + Delta + The maximum delta between the absolute value of expected and actual for which both numbers are still considered equal + LREAL + 64 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertArray2dEquals_REAL + + Expecteds + REAL 2d array with expected values + REAL + 32 + + + variable_length_array + + + Dimensions + 2 + + + + + Actuals + REAL 2d array with actual values + REAL + 32 + + + variable_length_array + + + Dimensions + 2 + + + + + Delta + The maximum delta between the value of expected and actual for which both numbers are still considered equal, proportional to the Expected value in that array cell + REAL + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + ExpectedString + STRING(80) + 648 + + + ActualString + STRING(80) + 648 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + DimensionIndex + Index when looping through Dimensions + USINT + 8 + + + LowerBoundExpecteds + Lower bounds of Expecteds array in each dimension + DINT + + 1 + 2 + + 64 + + + UpperBoundExpecteds + Upper bounds of Expecteds array in each dimension + DINT + + 1 + 2 + + 64 + + + LowerBoundActuals + Lower bounds of Actuals array in each dimension + DINT + + 1 + 2 + + 64 + + + UpperBoundActuals + Upper bounds of Actuals array in each dimension + DINT + + 1 + 2 + + 64 + + + SizeOfExpecteds + Size of Expecteds array in each dimension + DINT + + 1 + 2 + + 64 + + + SizeOfActuals + Size of Actuals array in each dimension + DINT + + 1 + 2 + + 64 + + + Offset + Current Array index offsets from Lower Bound in each dimension + DINT + + 1 + 2 + + 64 + + + ExpectedArrayIndex + Array of current Expected array indexes when looping through arrays + DINT + + 1 + 2 + + 64 + + + ActualArrayIndex + Array of current Actual array indexes when looping through arrays + DINT + + 1 + 2 + + 64 + + + Expected + Single expected value + REAL + 32 + + + Actual + Single actual value + REAL + 32 + + + __Index__0 + DINT + 32 + + + + AddTestNameToInstancePath + T_MaxString + 2048 + + TestInstancePath + T_MaxString + 2048 + + + CompleteTestInstancePath + T_MaxString + 2048 + + + + AssertTrue + + Condition + Condition to be checked + BOOL + 8 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + + AssertArray3dEquals_LREAL + + Expecteds + LREAL 3d array with expected values + LREAL + 32 + + + variable_length_array + + + Dimensions + 3 + + + + + Actuals + LREAL 3d array with actual values + LREAL + 32 + + + variable_length_array + + + Dimensions + 3 + + + + + Delta + The maximum delta between the value of expected and actual for which both numbers are still considered equal, proportional to the Expected value in that array cell + LREAL + 64 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + ExpectedString + STRING(80) + 648 + + + ActualString + STRING(80) + 648 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + DimensionIndex + Index when looping through Dimensions + USINT + 8 + + + LowerBoundExpecteds + Lower bounds of Expecteds array in each dimension + DINT + + 1 + 3 + + 96 + + + UpperBoundExpecteds + Upper bounds of Expecteds array in each dimension + DINT + + 1 + 3 + + 96 + + + LowerBoundActuals + Lower bounds of Actuals array in each dimension + DINT + + 1 + 3 + + 96 + + + UpperBoundActuals + Upper bounds of Actuals array in each dimension + DINT + + 1 + 3 + + 96 + + + SizeOfExpecteds + Size of Expecteds array in each dimension + DINT + + 1 + 3 + + 96 + + + SizeOfActuals + Size of Actuals array in each dimension + DINT + + 1 + 3 + + 96 + + + Offset + Current Array index offsets from Lower Bound in each dimension + DINT + + 1 + 3 + + 96 + + + ExpectedArrayIndex + Array of current Expected array indexes when looping through arrays + DINT + + 1 + 3 + + 96 + + + ActualArrayIndex + Array of current Actual array indexes when looping through arrays + DINT + + 1 + 3 + + 96 + + + Expected + Single expected value + LREAL + 64 + + + Actual + Single actual value + LREAL + 64 + + + __Index__0 + DINT + 32 + + + + AssertEquals_INT + + Expected + INT expected value + INT + 16 + + + Actual + INT actual value + INT + 16 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertEquals_DATE + + Expected + DATE expected value + DATE + 32 + + + Actual + DATE actual value + DATE + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertEquals_DWORD + + Expected + DWORD expected value + DWORD + 32 + + + Actual + DWORD actual value + DWORD + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertEquals_REAL + + Expected + REAL expected value + REAL + 32 + + + Actual + REAL actual value + REAL + 32 + + + Delta + The maximum delta between the absolute value of expected and actual for which both numbers are still considered equal + REAL + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertEquals_UDINT + + Expected + UDINT expected value + UDINT + 32 + + + Actual + UDINT actual value + UDINT + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertEquals_LTIME + + Expected + LTIME expected value + LTIME + 64 + + + Actual + LTIME actual value + LTIME + 64 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertArrayEquals_SINT + + Expecteds + SINT array with expected values + SINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + SINT array with actual values + SINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + STRING(80) + 648 + + + ActualString + STRING(80) + 648 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + + AssertEquals_TIME + + Expected + TIME expected value + TIME + 32 + + + Actual + TIME actual value + TIME + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertEquals_DATE_AND_TIME + + Expected + DATE_AND_TIME expected value + DATE_AND_TIME + 32 + + + Actual + DATE_AND_TIME actual value + DATE_AND_TIME + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertArray3dEquals_REAL + + Expecteds + REAL 3d array with expected values + REAL + 32 + + + variable_length_array + + + Dimensions + 3 + + + + + Actuals + REAL 3d array with actual values + REAL + 32 + + + variable_length_array + + + Dimensions + 3 + + + + + Delta + The maximum delta between the value of expected and actual for which both numbers are still considered equal, proportional to the Expected value in that array cell + REAL + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + ExpectedString + STRING(80) + 648 + + + ActualString + STRING(80) + 648 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + DimensionIndex + Index when looping through Dimensions + USINT + 8 + + + LowerBoundExpecteds + Lower bounds of Expecteds array in each dimension + DINT + + 1 + 3 + + 96 + + + UpperBoundExpecteds + Upper bounds of Expecteds array in each dimension + DINT + + 1 + 3 + + 96 + + + LowerBoundActuals + Lower bounds of Actuals array in each dimension + DINT + + 1 + 3 + + 96 + + + UpperBoundActuals + Upper bounds of Actuals array in each dimension + DINT + + 1 + 3 + + 96 + + + SizeOfExpecteds + Size of Expecteds array in each dimension + DINT + + 1 + 3 + + 96 + + + SizeOfActuals + Size of Actuals array in each dimension + DINT + + 1 + 3 + + 96 + + + Offset + Current Array index offsets from Lower Bound in each dimension + DINT + + 1 + 3 + + 96 + + + ExpectedArrayIndex + Array of current Expected array indexes when looping through arrays + DINT + + 1 + 3 + + 96 + + + ActualArrayIndex + Array of current Actual array indexes when looping through arrays + DINT + + 1 + 3 + + 96 + + + Expected + Single expected value + REAL + 32 + + + Actual + Single actual value + REAL + 32 + + + ExpectedValueString + T_MaxString + 2048 + + + ActualValueString + T_MaxString + 2048 + + + FormatString + String formatter for output messages + FB_FormatString + 7840 + + + __Index__0 + DINT + 32 + + + + AssertEquals_DINT + + Expected + DINT expected value + DINT + 32 + + + Actual + DINT actual value + DINT + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertArrayEquals_UDINT + + Expecteds + UDINT array with expected values + UDINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + UDINT array with actual values + UDINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + STRING(80) + 648 + + + ActualString + STRING(80) + 648 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + + AssertArrayEquals_INT + + Expecteds + INT array with expected values + INT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + INT array with actual values + INT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + STRING(80) + 648 + + + ActualString + STRING(80) + 648 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + + AssertFalse + + Condition + Condition to be checked + BOOL + 8 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + + GetNumberOfFailedTests + UINT + 16 + + Counter + UINT + 16 + + + FailedTestsCount + UINT + 16 + + + + AssertArrayEquals_LINT + + Expecteds + LINT array with expected values + LINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + LINT array with actual values + LINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + STRING(80) + 648 + + + ActualString + STRING(80) + 648 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + + AssertArrayEquals_LWORD + + Expecteds + LWORD array with expected values + LWORD + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + LWORD array with actual values + LWORD + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + STRING(80) + 648 + + + ActualString + STRING(80) + 648 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedDWordString + STRING(80) + 648 + + + ActualDWordString + STRING(80) + 648 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + + AssertEquals_LWORD + + Expected + LWORD expected value + LWORD + 64 + + + Actual + LWORD actual value + LWORD + 64 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertArray2dEquals_LREAL + + Expecteds + LREAL 2d array with expected values + LREAL + 32 + + + variable_length_array + + + Dimensions + 2 + + + + + Actuals + LREAL 2d array with actual values + LREAL + 32 + + + variable_length_array + + + Dimensions + 2 + + + + + Delta + The maximum delta between the value of expected and actual for which both numbers are still considered equal, proportional to the Expected value in that array cell + LREAL + 64 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + ExpectedString + STRING(80) + 648 + + + ActualString + STRING(80) + 648 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + DimensionIndex + Index when looping through Dimensions + USINT + 8 + + + LowerBoundExpecteds + Lower bounds of Expecteds array in each dimension + DINT + + 1 + 2 + + 64 + + + UpperBoundExpecteds + Upper bounds of Expecteds array in each dimension + DINT + + 1 + 2 + + 64 + + + LowerBoundActuals + Lower bounds of Actuals array in each dimension + DINT + + 1 + 2 + + 64 + + + UpperBoundActuals + Upper bounds of Actuals array in each dimension + DINT + + 1 + 2 + + 64 + + + SizeOfExpecteds + Size of Expecteds array in each dimension + DINT + + 1 + 2 + + 64 + + + SizeOfActuals + Size of Actuals array in each dimension + DINT + + 1 + 2 + + 64 + + + Offset + Current Array index offsets from Lower Bound in each dimension + DINT + + 1 + 2 + + 64 + + + ExpectedArrayIndex + Array of current Expected array indexes when looping through arrays + DINT + + 1 + 2 + + 64 + + + ActualArrayIndex + Array of current Actual array indexes when looping through arrays + DINT + + 1 + 2 + + 64 + + + Expected + Single expected value + LREAL + 64 + + + Actual + Single actual value + LREAL + 64 + + + __Index__0 + DINT + 32 + + + + AssertArrayEquals_BOOL + + Expecteds + BOOL array with expected values + BOOL + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + BOOL array with actual values + BOOL + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + STRING(80) + 648 + + + ActualString + STRING(80) + 648 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + + AreAllTestsFinished + BOOL + 8 + + Counter + UINT + 16 + + + GetCurTaskIndex + GETCURTASKINDEX + 128 + + + + AddTest + + TestName + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + ErrorMessage + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + FunctionCallResult + DINT + 32 + + + CycleCount + UDINT + 32 + + + TestWithThisNameAlreadyExists + BOOL + 8 + + + LowerCasedTestName + T_MaxString + 2048 + + + TrimmedTestName + T_MaxString + 2048 + + + + AssertArrayEquals_DWORD + + Expecteds + DWORD array with expected values + DWORD + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + DWORD array with actual values + DWORD + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + STRING(80) + 648 + + + ActualString + STRING(80) + 648 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedDWordString + STRING(80) + 648 + + + ActualDWordString + STRING(80) + 648 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + + FindTestSuiteInstancePath + T_MaxString + 2048 + + + AssertEquals_BYTE + + Expected + BYTE expected value + BYTE + 8 + + + Actual + BYTE actual value + BYTE + 8 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertEquals_UINT + + Expected + UINT expected value + UINT + 16 + + + Actual + UINT actual value + UINT + 16 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + GetInstancePath + T_MaxString + 2048 + + + SetTestFinished + BOOL + 8 + + TestName + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + + AssertArrayEquals_UINT + + Expecteds + UINT array with expected values + UINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + UINT array with actual values + UINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + STRING(80) + 648 + + + ActualString + STRING(80) + 648 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + + AssertArrayEquals_LREAL + + Expecteds + LREAL array with expected values + LREAL + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + LREAL array with actual values + LREAL + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Delta + The maximum delta between the value of expected and actual for which both numbers are still considered equal, proportional to the Expected value in that array cell + LREAL + 64 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + STRING(80) + 648 + + + ActualString + STRING(80) + 648 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + + + PouType + FunctionBlock + + + call_after_init + + + reflection + + + + + ST_ADSLogStringMessage + 4096 + + MsgFmtStr + T_MaxString + 2048 + 0 + + + StrArg + T_MaxString + 2048 + 2048 + + + + pack_mode + 1 + + + + + FB_MemRingBuffer + This function block implements ring buffer fifo functionality. A_AddTail adds new entry, A_GetHead gets first (oldest) entry - A_RemoveHead gets and removes first (oldest) entry. Use A_Reset to clear all fifo data. ]]>544pWriteBYTE3232ItemTypeInputcbWriteUDINT3264ItemTypeInputpReadBYTE3296ItemTypeInputcbReadUDINT32128ItemTypeInputpBufferBYTE32160ItemTypeInputcbBufferUDINT32192ItemTypeInputbOkBOOL8224ItemTypeOutputnCountUDINT322560ItemTypeOutputcbSizeUDINT322880ItemTypeOutputcbReturnUDINT Number of recend realy returned (removed or get) data bytes - If bOk == FALSE and cbReturn <> 0 => Number of required read buffer data bytes (cbRead underflow) ]]>323200ItemTypeOutputidxLastDWORD323520conditionalshowidxFirstDWORD323840conditionalshowidxGetDWORD32416conditionalshowpTmpBYTE32448conditionalshowcbTmpDWORD32480conditionalshowcbCopiedDWORD32512conditionalshowA_ResetA_AddTailA_RemoveHeadA_GetHeadPouTypeFunctionBlockconditionalshow_all_localsFB_ADSLogStringMessageFifoQueue + 544 + + pWrite + BYTE + Pointer to write data + 32 + 32 + + + ItemType + Input + + + + + cbWrite + UDINT + Byte size of write data + 32 + 64 + + + ItemType + Input + + + + + pRead + BYTE + Pointer to read data buffer + 32 + 96 + + + ItemType + Input + + + + + cbRead + UDINT + Byte size of read data buffer + 32 + 128 + + + ItemType + Input + + + + + pBuffer + BYTE + Pointer to ring buffer data bytes + 32 + 160 + + + ItemType + Input + + + + + cbBuffer + UDINT + Max. ring buffer byte size + 32 + 192 + + + ItemType + Input + + + + + bOk + BOOL + TRUE = new entry added or removed succesfully, FALSE = fifo overflow or fifo empty + 8 + 224 + + + ItemType + Output + + + + + nCount + UDINT + Number of fifo entries + 32 + 256 + + 0 + + + + ItemType + Output + + + + + cbSize + UDINT + Current byte length of fifo data + 32 + 288 + + 0 + + + + ItemType + Output + + + + + cbReturn + UDINT + If bOk == TRUE => Number of recend realy returned (removed or get) data bytes + If bOk == FALSE and cbReturn <> 0 => Number of required read buffer data bytes (cbRead underflow) + 32 + 320 + + 0 + + + + ItemType + Output + + + + + idxLast + DWORD + 32 + 352 + + 0 + + + + conditionalshow + + + + + idxFirst + DWORD + 32 + 384 + + 0 + + + + conditionalshow + + + + + idxGet + DWORD + 32 + 416 + + + conditionalshow + + + + + pTmp + BYTE + 32 + 448 + + + conditionalshow + + + + + cbTmp + DWORD + 32 + 480 + + + conditionalshow + + + + + cbCopied + DWORD + 32 + 512 + + + conditionalshow + + + + + A_Reset + + + A_AddTail + + + A_RemoveHead + + + A_GetHead + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + FB_ADSLogStringMessageFifoQueue + This function block is responsible for making sure that the ADSLOGSTR-messages to the ADS-router are transmitted cyclically and not in a burst. The reason this is necessary is because that if too many messages are sent at the same time some get lost and are never printed to the error list output -]]>4128864ArrayBufferBYTE0516000412800032MemRingBufferFB_MemRingBuffer5444128032TimerBetweenMessagesTON2244128576.IN1.PT50RING_BUFFER_SIZEUINT1641288001000MEM_RING_BUFFER_INTERNAL_USE_PER_DATA_RECORDUSINT841288164TIME_BETWEEN_MESSAGESTIME32412883250GetLogCountUDINT32WriteLogMsgFmtStrT_MaxString2048StrArgT_MaxString2048ErrorBOOL8ItemTypeOutputAdsLogStringMessageST_ADSLogStringMessage4096GetLogAdsLogStringMessageST_ADSLogStringMessage4096ItemTypeOutputErrorBOOL8ItemTypeOutputPouTypeFunctionBlockST_FFInfo6832sPathT_MaxString20480pytmc + + 4128864 + + ArrayBuffer + BYTE + + 0 + 516000 + + 4128000 + 32 + + + MemRingBuffer + FB_MemRingBuffer + 544 + 4128032 + + + TimerBetweenMessages + TON + 224 + 4128576 + + + .IN + 1 + + + .PT + 50 + + + + + RING_BUFFER_SIZE + UINT + 16 + 4128800 + + 1000 + + + + MEM_RING_BUFFER_INTERNAL_USE_PER_DATA_RECORD + USINT + 8 + 4128816 + + 4 + + + + TIME_BETWEEN_MESSAGES + TIME + 32 + 4128832 + + 50 + + + + GetLogCount + UDINT + 32 + + + WriteLog + + MsgFmtStr + T_MaxString + 2048 + + + StrArg + T_MaxString + 2048 + + + Error + Buffer overflow + BOOL + 8 + + + ItemType + Output + + + + + AdsLogStringMessage + ST_ADSLogStringMessage + 4096 + + + + GetLog + + AdsLogStringMessage + ST_ADSLogStringMessage + 4096 + + + ItemType + Output + + + + + Error + Buffer empty + BOOL + 8 + + + ItemType + Output + + + + + + + PouType + FunctionBlock + + + + + ST_FFInfo + These elements should be set at init and never changed. + 6832 + + sPath + T_MaxString + Full PLC path to FF object + 2048 + 0 + + + pytmc + pv: Path io: i - DescT_MaxString20482048pytmc + + + + + + Desc + T_MaxString + Set at instantiation to a helpful description of the fast fault purpose + 2048 + 2048 + + + pytmc + pv: Desc io: i - DevNameT_MaxString20484096pytmc + + + + + + DevName + T_MaxString + Component name, used in diagnostic to help narrow down where beam faults are coming from + 2048 + 4096 + + + pytmc + pv: DevName io: i - TypeCodeUINT166144pytmc + + + + + + TypeCode + UINT + Set at instantiation to fault class code + 16 + 6144 + + + pytmc + pv: TypeCode io: i - InUseBOOL861600pytmc + + + + + + InUse + BOOL + //////////////////////////////////////// +//////////////////////////////////////// + 8 + 6160 + + 0 + + + + pytmc + pv: InUse io: i - AutoResetBOOL86168VetoableBOOL861761InfoStringSTRING(80)6486184pytmc + + + + + + AutoReset + BOOL + //////////////////////////////////////// + 8 + 6168 + + + Vetoable + BOOL + Can this fast fault be masked by the veto device input? + 8 + 6176 + + 1 + + + + InfoString + STRING(80) + 648 + 6184 + + + pytmc + pv: InfoString io: i - TP + + + + + + TP + Pulse Timer. Q produces a High-Signal with the length of PT on every rising edge on IN. -]]>192INBOOL832ItemTypeInputPTTIME3264ItemTypeInputQBOOL896ItemTypeOutputETTIME32128ItemTypeOutputStartTimeTIME32160PouTypeFunctionBlockST_FFOverride576DurationDINT320pytmc + + 192 + + IN + BOOL + Trigger for Start of the Signal + 8 + 32 + + + ItemType + Input + + + + + PT + TIME + The length of the High-Signal in 10ms + 32 + 64 + + + ItemType + Input + + + + + Q + BOOL + The pulse + 8 + 96 + + + ItemType + Output + + + + + ET + TIME + The current phase of the High-Signal + 32 + 128 + + + ItemType + Output + + + + + StartTime + TIME + 32 + 160 + + + + PouType + FunctionBlock + + + + + ST_FFOverride + 576 + + Duration + DINT + DINT to be compatible with EPICS + 32 + 0 + + + pytmc + pv: Duration io: o - ExpirationDINT3232pytmc + + + + + + Expiration + DINT + DINT to be compatible with EPICS + 32 + 32 + + + pytmc + pv: Expiration io: o - StartDTDINT3264pytmc + + + + + + StartDT + DINT + DINT to be compatible with EPICS + 32 + 64 + + + pytmc + pv: StartDT io: o - ActivateBOOL896pytmc + + + + + + Activate + BOOL + 8 + 96 + + + pytmc + pv: Activate io: o - DeactivateBOOL8104pytmc + + + + + + Deactivate + BOOL + 8 + 104 + + + pytmc + pv: Deactivate io: o - ElapsedTimeDINT32128pytmc + + + + + + ElapsedTime + DINT + DINT to be compatible with EPICS + 32 + 128 + + + pytmc + pv: ElapsedTime io: i - RemainingTimeDINT32160pytmc + + + + + + RemainingTime + DINT + DINT to be compatible with EPICS + 32 + 160 + + + pytmc + pv: RemainingTime io: i - ActiveBOOL8192pytmc + + + + + + Active + BOOL + 8 + 192 + + + pytmc + pv: Active io: i - TimerTP192224OvrdActLogAckBOOL8416OvrdExpLogAckBOOL8424tOvrdActivateR_TRIG64448tOvrdExpiringF_TRIG64512RS64SETBOOL832ItemTypeInputRESET1BOOL840ItemTypeInputQ1BOOL848ItemTypeOutputPouTypeFunctionBlockST_FF7680InfoST_FFInfo68320pytmc + + + + + + Timer + TP + 192 + 224 + + + OvrdActLogAck + BOOL + 8 + 416 + + + OvrdExpLogAck + BOOL + 8 + 424 + + + tOvrdActivate + R_TRIG + 64 + 448 + + + tOvrdExpiring + F_TRIG + 64 + 512 + + + + RS + 64 + + SET + BOOL + Input to set Q1 + 8 + 32 + + + ItemType + Input + + + + + RESET1 + BOOL + Input to reset Q1 (reset dominant) + 8 + 40 + + + ItemType + Input + + + + + Q1 + BOOL + 8 + 48 + + + ItemType + Output + + + + + + PouType + FunctionBlock + + + + + ST_FF + 7680 + + Info + ST_FFInfo + 6832 + 0 + + + pytmc + pv: Info - OvrdST_FFOverride5766848pytmc + + + + + + Ovrd + ST_FFOverride + 576 + 6848 + + + pytmc + pv: Ovrd - OKBOOL87424pytmc + + + + + + OK + BOOL + Fault logic state + 8 + 7424 + + + pytmc + pv: OK io: i - FaultAckBOOL87432ClearAckBOOL87440BeamPermittedBOOL87448pytmc + + + + + + FaultAck + BOOL + Set when faulted, reset by logger. + 8 + 7432 + + + ClearAck + BOOL + 8 + 7440 + + + BeamPermitted + BOOL + Result of reset, veto, and fault logic, true beam off boolean + 8 + 7448 + + + pytmc + pv: BeamPermitted io: i - ResetBOOL87456pytmc + + + + + + Reset + BOOL + 8 + 7456 + + + pytmc + pv: Reset io: o - bsFFRS647488rtResetR_TRIG647552ftCountFaultF_TRIG647616DWORD (1..86400)32DWORDLowerBorder1UpperBorder86400E_TimeZoneID16INTeTimeZoneID_Invalid-1eTimeZoneID_Unknown0eTimeZoneID_Standard1eTimeZoneID_Daylight2T_AmsPort16UINTADSREAD1248NETIDT_AmsNetID19232ItemTypeInputPORTT_AmsPort16224ItemTypeInputIDXGRPUDINT32256ItemTypeInputIDXOFFSUDINT32288ItemTypeInputLENUDINT32320ItemTypeInputDESTADDRPVOID32352ItemTypeInputTcIgnorePersistentREADBOOL8384ItemTypeInputTMOUTTIME324165000ItemTypeInputBUSYBOOL8448ItemTypeOutputERRBOOL8456ItemTypeOutputERRIDUDINT32480ItemTypeOutputPouTypeFunctionBlockhide_all_localsNT_GetTime1728NETIDT_AmsNetID19232ItemTypeInputSTARTBOOL8224ItemTypeInputTMOUTTIME322565000ItemTypeInputBUSYBOOL8288ItemTypeOutputERRBOOL8296ItemTypeOutputERRIDUDINT32320ItemTypeOutputTIMESTRTIMESTRUCT128352ItemTypeOutputfbAdsReadADSREAD1248480.PORT10000.IDXGRP400.IDXOFFS1conditionalshowPouTypeFunctionBlockconditionalshow_all_localsST_AmsGetTimeZoneInformation896tzInfoST_TimeZoneInformation8640apiResultDWORD32864conditionalshowFB_GetTimeZoneInformation3488sNetIDT_AmsNetID19232ItemTypeInputbExecuteBOOL8224ItemTypeInputtTimeoutTIME322565000ItemTypeInputbBusyBOOL8288ItemTypeOutputbErrorBOOL8296ItemTypeOutputnErrIDUDINT32320ItemTypeOutputtzIDE_TimeZoneID16352ItemTypeOutputtzInfoST_TimeZoneInformation864384ItemTypeOutputfbAdsReadADSREAD12481248.PORT10000.IDXGRP400.IDXOFFS6conditionalshowfbTriggerR_TRIG642496conditionalshowstateBYTE82560conditionalshowresST_AmsGetTimeZoneInformation8962592conditionalshowPouTypeFunctionBlockconditionalshow_all_localsADSWRITE1216NETIDT_AmsNetID19232ItemTypeInputPORTT_AmsPort16224ItemTypeInputIDXGRPUDINT32256ItemTypeInputIDXOFFSUDINT32288ItemTypeInputLENUDINT32320ItemTypeInputSRCADDRPVOID32352ItemTypeInputTcIgnorePersistentWRITEBOOL8384ItemTypeInputTMOUTTIME324165000ItemTypeInputBUSYBOOL8448ItemTypeOutputERRBOOL8456ItemTypeOutputERRIDUDINT32480ItemTypeOutputPouTypeFunctionBlockhide_all_localsADSRDWRTEX1440NETIDT_AmsNetID19232ItemTypeInputPORTT_AmsPort16224ItemTypeInputIDXGRPUDINT32256ItemTypeInputIDXOFFSUDINT32288ItemTypeInputWRITELENUDINT32320ItemTypeInputREADLENUDINT32352ItemTypeInputSRCADDRPVOID32384ItemTypeInputTcIgnorePersistentDESTADDRPVOID32416ItemTypeInputTcIgnorePersistentWRTRDBOOL8448ItemTypeInputTMOUTTIME324805000ItemTypeInputBUSYBOOL8512ItemTypeOutputERRBOOL8520ItemTypeOutputERRIDUDINT32544ItemTypeOutputCOUNT_RUDINT32576ItemTypeOutputPouTypeFunctionBlockhide_all_localsST_HKeySrvRead4096sSubT_MaxString20480sValT_MaxString20482048conditionalshowFB_RegQueryValue10304sNetIdT_AmsNetID19232ItemTypeInputsSubKeyT_MaxString2048224ItemTypeInputsValNameT_MaxString20482272ItemTypeInputcbDataUDINT324320ItemTypeInputpDataBYTE324352ItemTypeInputbExecuteBOOL84384ItemTypeInputtTimeOutTIME3244165000ItemTypeInputbBusyBOOL84448ItemTypeOutputbErrorBOOL84456ItemTypeOutputnErrIdUDINT324480ItemTypeOutputcbReadUDINT324512ItemTypeOutputfbAdsRdWrtExADSRDWRTEX14404544.PORT10000.IDXGRP200.IDXOFFS0conditionalshowfbTriggerR_TRIG645984conditionalshowstateBYTE86048conditionalshows1LenUDINT326080conditionalshows2LenUDINT326112conditionalshowptrBYTE326144conditionalshowcbBuffUDINT326176conditionalshowtmpBuffST_HKeySrvRead40966208conditionalshowPouTypeFunctionBlockconditionalshow_all_localsNT_SetTimeToRTCTime12032NETIDT_AmsNetID19232ItemTypeInputSETBOOL8224ItemTypeInputTMOUTTIME322565000ItemTypeInputBUSYBOOL8288ItemTypeOutputERRBOOL8296ItemTypeOutputERRIDUDINT32320ItemTypeOutputfbAdsWriteADSWRITE1216352.PORT10000.IDXGRP4.IDXOFFS0conditionalshowfbRegQueryFB_RegQueryValue103041568.sSubKeySoftware\Beckhoff\TwinCAT3\System.sValNameNumOfCPUsconditionalshowfbTriggerR_TRIG6411872conditionalshowbTmpDWORD32119360conditionalshowstateBYTE8119680conditionalshowbInitBOOL8119761conditionalshownumOfCPUsDWORD32120000conditionalshowPouTypeFunctionBlockconditionalshow_all_localsFW_GetCpuCounter96dwCpuCntLoUDINT3232ItemTypeOutputdwCpuCntHiUDINT3264ItemTypeOutputPouTypeFunctionBlockconditionalshowGETCPUCOUNTER + + + + + bsFF + RS + 64 + 7488 + + + rtReset + R_TRIG + 64 + 7552 + + + ftCountFault + F_TRIG + 64 + 7616 + + + + DWORD (1..86400) + 32 + DWORD + + + LowerBorder + 1 + + + UpperBorder + 86400 + + + + + E_TimeZoneID + 16 + INT + + eTimeZoneID_Invalid + -1 + Invalid time zone + + + eTimeZoneID_Unknown + 0 + Unknown time zone + + + eTimeZoneID_Standard + 1 + Standard time (Winterzeit) + + + eTimeZoneID_Daylight + 2 + Daylight saving time (Sommerzeit) + + + + T_AmsPort + TwinCAT AMS port address. + 16 + UINT + + + ADSREAD + ADS read command. + 1248 + + NETID + T_AmsNetID + Ams net id + 192 + 32 + + + ItemType + Input + + + + + PORT + T_AmsPort + Ads communication port + 16 + 224 + + + ItemType + Input + + + + + IDXGRP + UDINT + Index group + 32 + 256 + + + ItemType + Input + + + + + IDXOFFS + UDINT + Index offset + 32 + 288 + + + ItemType + Input + + + + + LEN + UDINT + Max. number of data bytes to read (LEN <= max. size of destination buffer) + 32 + 320 + + + ItemType + Input + + + + + DESTADDR + PVOID + Pointer to destination buffer + 32 + 352 + + + ItemType + Input + + + TcIgnorePersistent + + + + + READ + BOOL + Rising edge starts command execution + 8 + 384 + + + ItemType + Input + + + + + TMOUT + TIME + Maximum time allowed for the execution of this ADS command + 32 + 416 + + 5000 + + + + ItemType + Input + + + + + BUSY + BOOL + Busy flag + 8 + 448 + + + ItemType + Output + + + + + ERR + BOOL + Error flag + 8 + 456 + + + ItemType + Output + + + + + ERRID + UDINT + ADS error code + 32 + 480 + + + ItemType + Output + + + + + + PouType + FunctionBlock + + + hide_all_locals + + + + + NT_GetTime + Reads local windows system time (struct) + 1728 + + NETID + T_AmsNetID + TwinCAT network address (ams net id) + 192 + 32 + + + ItemType + Input + + + + + START + BOOL + Rising edge on this input activates the fb execution + 8 + 224 + + + ItemType + Input + + + + + TMOUT + TIME + Max fb execution time + 32 + 256 + + 5000 + + + + ItemType + Input + + + + + BUSY + BOOL + 8 + 288 + + + ItemType + Output + + + + + ERR + BOOL + 8 + 296 + + + ItemType + Output + + + + + ERRID + UDINT + 32 + 320 + + + ItemType + Output + + + + + TIMESTR + TIMESTRUCT + Local windows system time + 128 + 352 + + + ItemType + Output + + + + + fbAdsRead + ADSREAD + 1248 + 480 + + + .PORT + 10000 + + + .IDXGRP + 400 + + + .IDXOFFS + 1 + + + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + ST_AmsGetTimeZoneInformation + 896 + + tzInfo + ST_TimeZoneInformation + GetTimeZoneInformation return data + 864 + 0 + + + apiResult + DWORD + api call result + 32 + 864 + + + + conditionalshow + + + + + FB_GetTimeZoneInformation + Reads time zone information + 3488 + + sNetID + T_AmsNetID + TwinCAT network address (ams net id) + 192 + 32 + + + ItemType + Input + + + + + bExecute + BOOL + Rising edge on this input activates the fb execution + 8 + 224 + + + ItemType + Input + + + + + tTimeout + TIME + Max fb execution time + 32 + 256 + + 5000 + + + + ItemType + Input + + + + + bBusy + BOOL + 8 + 288 + + + ItemType + Output + + + + + bError + BOOL + 8 + 296 + + + ItemType + Output + + + + + nErrID + UDINT + 32 + 320 + + + ItemType + Output + + + + + tzID + E_TimeZoneID + 16 + 352 + + + ItemType + Output + + + + + tzInfo + ST_TimeZoneInformation + 864 + 384 + + + ItemType + Output + + + + + fbAdsRead + ADSREAD + 1248 + 1248 + + + .PORT + 10000 + + + .IDXGRP + 400 + + + .IDXOFFS + 6 + + + + + conditionalshow + + + + + fbTrigger + R_TRIG + 64 + 2496 + + + conditionalshow + + + + + state + BYTE + 8 + 2560 + + + conditionalshow + + + + + res + ST_AmsGetTimeZoneInformation + 896 + 2592 + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + ADSWRITE + ADS write command. + 1216 + + NETID + T_AmsNetID + Ams net id + 192 + 32 + + + ItemType + Input + + + + + PORT + T_AmsPort + Ads communication port + 16 + 224 + + + ItemType + Input + + + + + IDXGRP + UDINT + Index group + 32 + 256 + + + ItemType + Input + + + + + IDXOFFS + UDINT + Index offset + 32 + 288 + + + ItemType + Input + + + + + LEN + UDINT + Max. number of data bytes to write (LEN <= max. size of source buffer) + 32 + 320 + + + ItemType + Input + + + + + SRCADDR + PVOID + Pointer to source buffer + 32 + 352 + + + ItemType + Input + + + TcIgnorePersistent + + + + + WRITE + BOOL + Rising edge starts command execution + 8 + 384 + + + ItemType + Input + + + + + TMOUT + TIME + Maximum time allowed for the execution of this ADS command + 32 + 416 + + 5000 + + + + ItemType + Input + + + + + BUSY + BOOL + Busy flag + 8 + 448 + + + ItemType + Output + + + + + ERR + BOOL + Error flag + 8 + 456 + + + ItemType + Output + + + + + ERRID + UDINT + ADS error code + 32 + 480 + + + ItemType + Output + + + + + + PouType + FunctionBlock + + + hide_all_locals + + + + + ADSRDWRTEX + Extended ADS read/write command. + 1440 + + NETID + T_AmsNetID + Ams net id + 192 + 32 + + + ItemType + Input + + + + + PORT + T_AmsPort + Ads communication port + 16 + 224 + + + ItemType + Input + + + + + IDXGRP + UDINT + Index group + 32 + 256 + + + ItemType + Input + + + + + IDXOFFS + UDINT + Index offset + 32 + 288 + + + ItemType + Input + + + + + WRITELEN + UDINT + Max. number of data bytes to write (WRITELEN <= max. size of source buffer) + 32 + 320 + + + ItemType + Input + + + + + READLEN + UDINT + Max. number of data bytes to read (READLEN <= max. size of destination buffer) + 32 + 352 + + + ItemType + Input + + + + + SRCADDR + PVOID + Pointer to source buffer + 32 + 384 + + + ItemType + Input + + + TcIgnorePersistent + + + + + DESTADDR + PVOID + Pointer to destination buffer + 32 + 416 + + + ItemType + Input + + + TcIgnorePersistent + + + + + WRTRD + BOOL + Rising edge starts command execution + 8 + 448 + + + ItemType + Input + + + + + TMOUT + TIME + Maximum time allowed for the execution of this ADS command + 32 + 480 + + 5000 + + + + ItemType + Input + + + + + BUSY + BOOL + Busy flag + 8 + 512 + + + ItemType + Output + + + + + ERR + BOOL + Error flag + 8 + 520 + + + ItemType + Output + + + + + ERRID + UDINT + ADS error code + 32 + 544 + + + ItemType + Output + + + + + COUNT_R + UDINT + Count of bytes actually read + 32 + 576 + + + ItemType + Output + + + + + + PouType + FunctionBlock + + + hide_all_locals + + + + + ST_HKeySrvRead + 4096 + + sSub + T_MaxString + 2048 + 0 + + + sVal + T_MaxString + 2048 + 2048 + + + + conditionalshow + + + + + FB_RegQueryValue + Reads windows registry value + 10304 + + sNetId + T_AmsNetID + TwinCAT network address (ams net id) + 192 + 32 + + + ItemType + Input + + + + + sSubKey + T_MaxString + HKEY_LOCAL_MACHINE \ sub key name + 2048 + 224 + + + ItemType + Input + + + + + sValName + T_MaxString + Value name + 2048 + 2272 + + + ItemType + Input + + + + + cbData + UDINT + Number of data bytes to read + 32 + 4320 + + + ItemType + Input + + + + + pData + BYTE + Points to registry key data buffer + 32 + 4352 + + + ItemType + Input + + + + + bExecute + BOOL + Rising edge on this input activates the fb execution + 8 + 4384 + + + ItemType + Input + + + + + tTimeOut + TIME + Max fb execution time + 32 + 4416 + + 5000 + + + + ItemType + Input + + + + + bBusy + BOOL + 8 + 4448 + + + ItemType + Output + + + + + bError + BOOL + 8 + 4456 + + + ItemType + Output + + + + + nErrId + UDINT + 32 + 4480 + + + ItemType + Output + + + + + cbRead + UDINT + Number of succesfully read data bytes + 32 + 4512 + + + ItemType + Output + + + + + fbAdsRdWrtEx + ADSRDWRTEX + 1440 + 4544 + + + .PORT + 10000 + + + .IDXGRP + 200 + + + .IDXOFFS + 0 + + + + + conditionalshow + + + + + fbTrigger + R_TRIG + 64 + 5984 + + + conditionalshow + + + + + state + BYTE + 8 + 6048 + + + conditionalshow + + + + + s1Len + UDINT + 32 + 6080 + + + conditionalshow + + + + + s2Len + UDINT + 32 + 6112 + + + conditionalshow + + + + + ptr + BYTE + 32 + 6144 + + + conditionalshow + + + + + cbBuff + UDINT + 32 + 6176 + + + conditionalshow + + + + + tmpBuff + ST_HKeySrvRead + 4096 + 6208 + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + NT_SetTimeToRTCTime + 12032 + + NETID + T_AmsNetID + TwinCAT network address (ams net id) + 192 + 32 + + + ItemType + Input + + + + + SET + BOOL + Rising edge on this input activates the fb execution + 8 + 224 + + + ItemType + Input + + + + + TMOUT + TIME + Max fb execution time + 32 + 256 + + 5000 + + + + ItemType + Input + + + + + BUSY + BOOL + 8 + 288 + + + ItemType + Output + + + + + ERR + BOOL + 8 + 296 + + + ItemType + Output + + + + + ERRID + UDINT + 32 + 320 + + + ItemType + Output + + + + + fbAdsWrite + ADSWRITE + 1216 + 352 + + + .PORT + 10000 + + + .IDXGRP + 4 + + + .IDXOFFS + 0 + + + + + conditionalshow + + + + + fbRegQuery + FB_RegQueryValue + 10304 + 1568 + + + .sSubKey + Software\Beckhoff\TwinCAT3\System + + + .sValName + NumOfCPUs + + + + + conditionalshow + + + + + fbTrigger + R_TRIG + 64 + 11872 + + + conditionalshow + + + + + bTmp + DWORD + 32 + 11936 + + 0 + + + + conditionalshow + + + + + state + BYTE + 8 + 11968 + + 0 + + + + conditionalshow + + + + + bInit + BOOL + 8 + 11976 + + 1 + + + + conditionalshow + + + + + numOfCPUs + DWORD + 32 + 12000 + + 0 + + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + FW_GetCpuCounter + 96 + + dwCpuCntLo + UDINT + 32 + 32 + + + ItemType + Output + + + + + dwCpuCntHi + UDINT + 32 + 64 + + + ItemType + Output + + + + + + PouType + FunctionBlock + + + conditionalshow + + + + + GETCPUCOUNTER + The CPU cycle counter can be read with this function block. The numerical value is a relative 64 bit integer, which, independently of the CPUs internal clock rate, is output in a form converted into 100ns ticks. The number is refreshed to a precision of 100ns with every call by the PLC system, and can be used, for instance, for timing tasks. - One unit is equivalent to 100 ns. ]]>192cpuCntLoDWUDINT3232ItemTypeOutputcpuCntHiDWUDINT3264ItemTypeOutputfbGetCpuCounterFW_GetCpuCounter9696conditionalshowPouTypeFunctionBlockconditionalshow_all_localsRTC_EX2896ENBOOL832ItemTypeInputPDTTIMESTRUCT12848ItemTypeInputPMICRODWORD32192ItemTypeInputQBOOL Output time is valid, FALSE => Output time is invalid ]]>8224ItemTypeOutputCDTTIMESTRUCT128240.wYear1970.wMonth1.wDay1.wDayOfWeek4ItemTypeOutputCMICRODWORD32384ItemTypeOutputfbGetCpuCounterGETCPUCOUNTER192416conditionalshowrisingEdgeR_TRIG64608conditionalshowoldTickDWORD32672conditionalshowcurrTickDWORD32704conditionalshownanoDiffDWORD32736conditionalshownanoRestDWORD32768conditionalshowsecDiffDWORD32800conditionalshowdateTimeDATE_AND_TIME32832conditionalshowbInitializedBOOL8864conditionalshowPouTypeFunctionBlockconditionalshow_all_localsFB_LocalSystemTime19040sNetIDT_AmsNetID19232ItemTypeInputbEnableBOOL8224ItemTypeInputdwCycleDWORD (1..86400)322565ItemTypeInputdwOptDWORD Synchronize Windows Time to RTC time ]]>322881ItemTypeInputtTimeoutTIME323205000ItemTypeInputbValidBOOL The systemTime and tzID output is valid, FALSE => systemTime and tzID is not valid ]]>8352ItemTypeOutputsystemTimeTIMESTRUCT128368ItemTypeOutputtzIDE_TimeZoneID16496-1ItemTypeOutputrtrigR_TRIG64512conditionalshowstateBYTE8576conditionalshowfbNTNT_GetTime1728608conditionalshowfbTZFB_GetTimeZoneInformation34882336conditionalshowfbSETNT_SetTimeToRTCTime120325824conditionalshowfbRTCRTC_EX289617856conditionalshowtimerTON22418752conditionalshownSyncDWORD3218976conditionalshowbNotSupBOOL819008conditionalshowPouTypeFunctionBlockconditionalshow_all_localsT_FILETIME64dwLowDateTimeDWORD320dwHighDateTimeDWORD3232FB_TranslateLocalTimeToUtcByZoneID2400inT_FILETIME6432ItemTypeInputtzInfoST_TimeZoneInformation86496ItemTypeInputwDldYearWORD not used (default) else used only if tzInfo.daylightDate.wYear = 0. ]]>169600ItemTypeInputwStdYearWORD not used (default) else used only if tzInfo.standardDate.wYear = 0. ]]>169760ItemTypeInputoutT_FILETIME64992ItemTypeOutputeTzIDE_TimeZoneID1610560ItemTypeOutputbBBOOL A time, TRUE => B time]]>81072ItemTypeOutputbiasDINT321088ItemTypeOutputinLocalTIMESTRUCT1281120tziSommerTIMESTRUCT1281248tziWinterTIMESTRUCT1281376tziLocalSommerT_FILETIME641504tziLocalWinterT_FILETIME641568tziLocalSommerJumpT_FILETIME641632tziLocalWinterJumpT_FILETIME641696ui64LocalInT_ULARGE_INTEGER641760ui64LocalSommerT_ULARGE_INTEGER641824ui64LocalWinterT_ULARGE_INTEGER641888in_to_sDINT321952in_to_wDINT321984s_to_wDINT322016in_to_s_jumpDINT322048in_to_w_jumpDINT322080iStandardBiasDINT322112iDaylightBiasDINT322144ui64PreviousInT_ULARGE_INTEGER642176ui64FallDiffT_ULARGE_INTEGER642240bFallDiffBOOL82304dtSommerJumpDATE_AND_TIME322336dtWinterJumpDATE_AND_TIME322368A_ResetPouTypeFunctionBlockconditionalshowFB_TzSpecificLocalTimeToSystemTime3584inTIMESTRUCT12832ItemTypeInputtzInfoST_TimeZoneInformation864160ItemTypeInputoutTIMESTRUCT1281024ItemTypeOutputeTzIDE_TimeZoneID1611520ItemTypeOutputbBBOOL A time, TRUE => B time]]>81168ItemTypeOutputfbBaseFB_TranslateLocalTimeToUtcByZoneID24001184conditionalshowA_ResetPouTypeFunctionBlockconditionalshow_all_localsFB_JsonSaxWriter + 192 + + cpuCntLoDW + UDINT + Contains the low-value 4 bytes of the numerical value + 32 + 32 + + + ItemType + Output + + + + + cpuCntHiDW + UDINT + Contains the high-value 4 bytes of the numerical value + 32 + 64 + + + ItemType + Output + + + + + fbGetCpuCounter + FW_GetCpuCounter + 96 + 96 + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + RTC_EX2 + Software RTC (real time clock), returns time in structured system time format + microseconds (microsecond resolution) + 896 + + EN + BOOL + Enable/set clock + 8 + 32 + + + ItemType + Input + + + + + PDT + TIMESTRUCT + Preset/set time in system time format (struct) + 128 + 48 + + + ItemType + Input + + + + + PMICRO + DWORD + Preset microseconds + 32 + 192 + + + ItemType + Input + + + + + Q + BOOL + TRUE => Output time is valid, FALSE => Output time is invalid + 8 + 224 + + + ItemType + Output + + + + + CDT + TIMESTRUCT + Current time in system time format (struct) + 128 + 240 + + + .wYear + 1970 + + + .wMonth + 1 + + + .wDay + 1 + + + .wDayOfWeek + 4 + + + + + ItemType + Output + + + + + CMICRO + DWORD + Current microseconds + 32 + 384 + + + ItemType + Output + + + + + fbGetCpuCounter + GETCPUCOUNTER + 192 + 416 + + + conditionalshow + + + + + risingEdge + R_TRIG + 64 + 608 + + + conditionalshow + + + + + oldTick + DWORD + 32 + 672 + + + conditionalshow + + + + + currTick + DWORD + 32 + 704 + + + conditionalshow + + + + + nanoDiff + DWORD + 32 + 736 + + + conditionalshow + + + + + nanoRest + DWORD + 32 + 768 + + + conditionalshow + + + + + secDiff + DWORD + 32 + 800 + + + conditionalshow + + + + + dateTime + DATE_AND_TIME + 32 + 832 + + + conditionalshow + + + + + bInitialized + BOOL + 8 + 864 + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + FB_LocalSystemTime + This function block synchronizes cyclically to and returns the Local Windows System Time. + 19040 + + sNetID + T_AmsNetID + The target TwinCAT system network address + 192 + 32 + + + + + + ItemType + Input + + + + + bEnable + BOOL + Enable/start cyclic time synchronisation (output is synchronized to Local Windows System Time) + 8 + 224 + + + ItemType + Input + + + + + dwCycle + DWORD (1..86400) + Time synchronisation cycle (seconds) + 32 + 256 + + 5 + + + + ItemType + Input + + + + + dwOpt + DWORD + Additional option flags: If bit 0 is set => Synchronize Windows Time to RTC time + 32 + 288 + + 1 + + + + ItemType + Input + + + + + tTimeout + TIME + Max. ADS function block execution time (internal communication timeout). + 32 + 320 + + 5000 + + + + ItemType + Input + + + + + bValid + BOOL + TRUE => The systemTime and tzID output is valid, FALSE => systemTime and tzID is not valid + 8 + 352 + + + ItemType + Output + + + + + systemTime + TIMESTRUCT + Local Windows System Time struct + 128 + 368 + + + ItemType + Output + + + + + tzID + E_TimeZoneID + Daylight/standard time zone information + 16 + 496 + + -1 + + + + ItemType + Output + + + + + rtrig + R_TRIG + 64 + 512 + + + conditionalshow + + + + + state + BYTE + 8 + 576 + + + conditionalshow + + + + + fbNT + NT_GetTime + 1728 + 608 + + + conditionalshow + + + + + fbTZ + FB_GetTimeZoneInformation + 3488 + 2336 + + + conditionalshow + + + + + fbSET + NT_SetTimeToRTCTime + 12032 + 5824 + + + conditionalshow + + + + + fbRTC + RTC_EX2 + 896 + 17856 + + + conditionalshow + + + + + timer + TON + 224 + 18752 + + + conditionalshow + + + + + nSync + DWORD + 32 + 18976 + + + conditionalshow + + + + + bNotSup + BOOL + 8 + 19008 + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + T_FILETIME + The FILETIME structure is a 64-bit value representing the number of 100-nanosecond intervals since January 1, 1601 (UTC). + 64 + + dwLowDateTime + DWORD + Specifies the low-order 32 bits of the file time. + 32 + 0 + + + dwHighDateTime + DWORD + Specifies the high-order 32 bits of the file time. + 32 + 32 + + + + FB_TranslateLocalTimeToUtcByZoneID + Internal helper function block. Detects time zone ID, bias and B time flag and translates the local file time to UTC file time time + 2400 + + in + T_FILETIME + Time to be converted (Local file time format) + 64 + 32 + + + ItemType + Input + + + + + tzInfo + ST_TimeZoneInformation + Time zone information + 864 + 96 + + + ItemType + Input + + + + + wDldYear + WORD + Optional daylightDate.wYear value. If 0 => not used (default) else used only if tzInfo.daylightDate.wYear = 0. + 16 + 960 + + 0 + + + + ItemType + Input + + + + + wStdYear + WORD + Optional standardDate.wYear value. If 0 => not used (default) else used only if tzInfo.standardDate.wYear = 0. + 16 + 976 + + 0 + + + + ItemType + Input + + + + + out + T_FILETIME + Converted time (UTC file time format) + 64 + 992 + + + ItemType + Output + + + + + eTzID + E_TimeZoneID + Detected daylight saving time information + 16 + 1056 + + 0 + + + + ItemType + Output + + + + + bB + BOOL + FALSE => A time, TRUE => B time + 8 + 1072 + + + ItemType + Output + + + + + bias + DINT + Bias value in minutes + 32 + 1088 + + + ItemType + Output + + + + + inLocal + TIMESTRUCT + 128 + 1120 + + + tziSommer + TIMESTRUCT + 128 + 1248 + + + tziWinter + TIMESTRUCT + 128 + 1376 + + + tziLocalSommer + T_FILETIME + 64 + 1504 + + + tziLocalWinter + T_FILETIME + 64 + 1568 + + + tziLocalSommerJump + T_FILETIME + 64 + 1632 + + + tziLocalWinterJump + T_FILETIME + 64 + 1696 + + + ui64LocalIn + T_ULARGE_INTEGER + 64 + 1760 + + + ui64LocalSommer + T_ULARGE_INTEGER + 64 + 1824 + + + ui64LocalWinter + T_ULARGE_INTEGER + 64 + 1888 + + + in_to_s + DINT + 32 + 1952 + + + in_to_w + DINT + 32 + 1984 + + + s_to_w + DINT + 32 + 2016 + + + in_to_s_jump + DINT + 32 + 2048 + + + in_to_w_jump + DINT + 32 + 2080 + + + iStandardBias + DINT + 32 + 2112 + + + iDaylightBias + DINT + 32 + 2144 + + + ui64PreviousIn + T_ULARGE_INTEGER + 64 + 2176 + + + ui64FallDiff + T_ULARGE_INTEGER + 64 + 2240 + + + bFallDiff + BOOL + 8 + 2304 + + + dtSommerJump + DATE_AND_TIME + 32 + 2336 + + + dtWinterJump + DATE_AND_TIME + 32 + 2368 + + + A_Reset + + + + PouType + FunctionBlock + + + conditionalshow + + + + + FB_TzSpecificLocalTimeToSystemTime + Converts time zone's specific local system time to Coordinated Universal Time (UTC) system time + 3584 + + in + TIMESTRUCT + Time zone's specific local system time. Structure that specifies the system time since January 1, 1601 + 128 + 32 + + + ItemType + Input + + + + + tzInfo + ST_TimeZoneInformation + Time zone settings + 864 + 160 + + + ItemType + Input + + + + + out + TIMESTRUCT + Coordinated Universal Time (UTC) in system time format + 128 + 1024 + + + ItemType + Output + + + + + eTzID + E_TimeZoneID + Daylight saving time information + 16 + 1152 + + 0 + + + + ItemType + Output + + + + + bB + BOOL + FALSE => A time, TRUE => B time + 8 + 1168 + + + ItemType + Output + + + + + fbBase + FB_TranslateLocalTimeToUtcByZoneID + 2400 + 1184 + + + conditionalshow + + + + + A_Reset + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + FB_JsonSaxWriter + | Provides the functionality to create a JSON document. | Steps of documentation creation: | 1. StartObject() to start a new object in the document. | 2. Add several keys/values via AddKeyString() and the other methods. | 3. EndObject() to finish object. | 4. GetDocument() in order to get the full document as string. - | 5. ResetDocument() if a new document should be created with the same SaxWriter instance.]]>256initStatusHRESULT3232-1743714536ItemTypeOutputipWriterITcJsonSaxWriter3264ipWriter2ITcJsonSaxWriter23296CLSID_TcJsonSaxWriterCLSID128128.Data13870298264.Data256256.Data317669.Data4[0]158.Data4[1]60.Data4[2]93.Data4[3]248.Data4[4]70.Data4[5]150.Data4[6]7.Data4[7]196AddKeyNumberkeySTRING(80)32ItemTypeInOutvalueDINT32AddStringvalueSTRING(80)32ItemTypeInOutAddKeyFileTimekeySTRING(80)32ItemTypeInOutvalueFILETIME64IsCompleteBOOL8AddUdintvalueUDINT32AddHexBinarypBytesBYTE32nBytesDINT32AddLintvalueLINT64AddLrealvalueLREAL64AddKeykeySTRING(80)32ItemTypeInOutResetDocumentHRESULT32AddKeyLrealkeySTRING(80)32ItemTypeInOutvalueLREAL64StartObjectHRESULT32GetDocumentLengthUDINT32hrErrorCodeHRESULT32ItemTypeOutputnUDINT32pSTRING(80)32AddKeyDcTimekeySTRING(80)32ItemTypeInOutvalueDCTIME64AddDateTimevalueDATE_AND_TIME32AddRawObjectrawJsonSTRING(80)32ItemTypeInOutSetMaxDecimalPlacesHRESULT32decimalPlacesDINT32__get_ipWriterITcJsonSaxWriter32_ipWriterITcJsonSaxWriter32propertyAddKeyBoolkeySTRING(80)32ItemTypeInOutvalueBOOL8GetDocumentSTRING(255)2048hrErrorCodeHRESULT32ItemTypeOutputpSINT32nUDINT32AddDintvalueDINT32AddRawArrayBOOL8rawJsonSTRING(80)32ItemTypeInOutAddKeyStringkeySTRING(80)32ItemTypeInOutvalueSTRING(80)32ItemTypeInOutCopyDocumentUDINT32pDocSTRING(80)32ItemTypeInOutnDocUDINT32hrErrorCodeHRESULT32ItemTypeOutputAddUlintvalueULINT64GetMaxDecimalPlacesDINT32dpDINT32AddFileTimevalueFILETIME64AddNullAddKeyDateTimekeySTRING(80)32ItemTypeInOutvalueDATE_AND_TIME32AddBoolvalueBOOL8AddBase64pBytesBYTE32nBytesDINT32AddDcTimevalueDCTIME64AddKeyNullkeySTRING(80)32ItemTypeInOutEndArrayHRESULT32EndObjectHRESULT32StartArrayHRESULT32AddRealvalueREAL32PouTypeFunctionBlockno_explicit_calldo not call this POU directlyFB_HardwareFFOutput495296FF_ARRAY_UPPER_BOUNDUINT163250i_xResetBOOL848ItemTypeInputpytmc + | 5. ResetDocument() if a new document should be created with the same SaxWriter instance. + 256 + + initStatus + HRESULT + 32 + 32 + + -1743714536 + + + + ItemType + Output + + + + + ipWriter + ITcJsonSaxWriter + 32 + 64 + + + ipWriter2 + ITcJsonSaxWriter2 + 32 + 96 + + + CLSID_TcJsonSaxWriter + CLSID + 128 + 128 + + + .Data1 + 3870298264 + + + .Data2 + 56256 + + + .Data3 + 17669 + + + .Data4[0] + 158 + + + .Data4[1] + 60 + + + .Data4[2] + 93 + + + .Data4[3] + 248 + + + .Data4[4] + 70 + + + .Data4[5] + 150 + + + .Data4[6] + 7 + + + .Data4[7] + 196 + + + + + AddKeyNumber + + key + STRING(80) + 32 + + + ItemType + InOut + + + + + value + DINT + 32 + + + + AddString + + value + STRING(80) + 32 + + + ItemType + InOut + + + + + + AddKeyFileTime + + key + STRING(80) + 32 + + + ItemType + InOut + + + + + value + FILETIME + 64 + + + + IsComplete + BOOL + 8 + + + AddUdint + + value + UDINT + 32 + + + + AddHexBinary + + pBytes + BYTE + 32 + + + nBytes + DINT + 32 + + + + AddLint + + value + LINT + 64 + + + + AddLreal + + value + LREAL + 64 + + + + AddKey + + key + STRING(80) + 32 + + + ItemType + InOut + + + + + + ResetDocument + HRESULT + 32 + + + AddKeyLreal + + key + STRING(80) + 32 + + + ItemType + InOut + + + + + value + LREAL + 64 + + + + StartObject + HRESULT + 32 + + + GetDocumentLength + UDINT + 32 + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + n + UDINT + 32 + + + p + STRING(80) + 32 + + + + AddKeyDcTime + + key + STRING(80) + 32 + + + ItemType + InOut + + + + + value + DCTIME + 64 + + + + AddDateTime + + value + DATE_AND_TIME + 32 + + + + AddRawObject + + rawJson + STRING(80) + 32 + + + ItemType + InOut + + + + + + SetMaxDecimalPlaces + HRESULT + 32 + + decimalPlaces + DINT + 32 + + + + __get_ipWriter + ITcJsonSaxWriter + 32 + + _ipWriter + ITcJsonSaxWriter + 32 + + + + property + + + + + AddKeyBool + + key + STRING(80) + 32 + + + ItemType + InOut + + + + + value + BOOL + 8 + + + + GetDocument + STRING(255) + 2048 + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + p + SINT + 32 + + + n + UDINT + 32 + + + + AddDint + + value + DINT + 32 + + + + AddRawArray + BOOL + 8 + + rawJson + STRING(80) + 32 + + + ItemType + InOut + + + + + + AddKeyString + + key + STRING(80) + 32 + + + ItemType + InOut + + + + + value + STRING(80) + 32 + + + ItemType + InOut + + + + + + CopyDocument + UDINT + 32 + + pDoc + target string buffer where the document should be copied to + STRING(80) + 32 + + + ItemType + InOut + + + + + nDoc + size in bytes of the target string buffer + UDINT + 32 + + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + + AddUlint + + value + ULINT + 64 + + + + GetMaxDecimalPlaces + DINT + 32 + + dp + DINT + 32 + + + + AddFileTime + + value + FILETIME + 64 + + + + AddNull + + + AddKeyDateTime + + key + STRING(80) + 32 + + + ItemType + InOut + + + + + value + DATE_AND_TIME + 32 + + + + AddBool + + value + BOOL + 8 + + + + AddBase64 + + pBytes + BYTE + 32 + + + nBytes + DINT + 32 + + + + AddDcTime + + value + DCTIME + 64 + + + + AddKeyNull + + key + STRING(80) + 32 + + + ItemType + InOut + + + + + + EndArray + HRESULT + 32 + + + EndObject + HRESULT + 32 + + + StartArray + HRESULT + 32 + + + AddReal + + value + REAL + 32 + + + + + PouType + FunctionBlock + + + no_explicit_call + do not call this POU directly + + + + + FB_HardwareFFOutput + 495296 + + FF_ARRAY_UPPER_BOUND + UINT + 16 + 32 + + 50 + + + + i_xReset + BOOL + 8 + 48 + + + ItemType + Input + + + pytmc + pv: ClearFault io: o field: DESC Might be overidden by PLC writes - i_xVetoBOOL856ItemTypeInputpytmc + + + + + + i_xVeto + BOOL + 8 + 56 + + + ItemType + Input + + + pytmc + pv: EnableVeto io: o - bAutoResetBOOL8640ItemTypeInputi_sNetIDT_AmsNetID19272ItemTypeInputq_xFastFaultOutBOOL8264ItemTypeOutputpytmc + + + + + + bAutoReset + BOOL + Set true for the FFO to automatically permit beam again after all fast faults are cleared + 8 + 64 + + 0 + + + + ItemType + Input + + + + + i_sNetID + T_AmsNetID + Set to the Arbiter AmsNetID to be used for the synchronisation. An empty string means the system will sue local time + 192 + 72 + + + + + + ItemType + Input + + + + + q_xFastFaultOut + BOOL + 8 + 264 + + + ItemType + Output + + + pytmc + pv: FaultHWO io: i field: DESC Hardware Output Status - TcAddressTypeOutputq_xValidSyncTimeBOOL8272ItemTypeOutputastFFST_FF150384000288pytmc + + + + TcAddressType + Output + + + + + q_xValidSyncTime + BOOL + system time bValid output True when sync is successful + 8 + 272 + + + ItemType + Output + + + + + astFF + ST_FF + + 1 + 50 + + 384000 + 288 + + + pytmc + pv: FF - xFastFaultRegFailBOOL83842880pytmc + + + + + + xFastFaultRegFail + BOOL + Set true if a fast fault fails to register. Holds beam off. + 8 + 384288 + + 0 + + + + pytmc + pv: RegistrationFailure io: io - tFFRegFailF_TRIG64384320sPathT_MaxString2048384384instance-pathnoinitxOKBOOL83864321pytmc + + + + + + tFFRegFail + F_TRIG + 64 + 384320 + + + sPath + T_MaxString + 2048 + 384384 + + + instance-path + + + noinit + + + + + xOK + BOOL + Current internal state of FFO, indicates if FFO will accept a reset + 8 + 386432 + + 1 + + + + pytmc + pv: OK io: i - rtResetR_TRIG64386464rtResetandOKR_TRIG64386528nIndexUINT163865921IdxOKBOOL8386608fbTimeFB_LocalSystemTime19040386624.bEnable1.dwCycle1fbTime_to_UTCFB_TzSpecificLocalTimeToSystemTime3584405664fbGetTimeZoneFB_GetTimeZoneInformation3488409248fbJsonFB_JsonSaxWriter256412736pmpsTypeCodeUDINT324129920fbLoggerFB_LogMessage81984413056.eSevr4.eSubsystem2.nMinTimeViolationAcceptable50__EXECUTELOGGING__HELLOTIMERTOF224495040.PT86400000ExecuteNoLogEvaluateOutputExecuteEvaluateVetosBOOL8obsoleteUse EvaluateOverrides instead.EvaluateOverridesBOOL8FFST_FF32EvalIdxDINT32MaxTimeDINT32no_checkExecuteLoggingBOOL8FFST_FF32logIdxDINT32HelloTimerTOF224uselocation__EXECUTELOGGING__HELLOTIMERno_checkRegisterBOOL8stFFInfoST_FFInfo6832FFONameT_MaxString2048ItemTypeOutputIdxUINT16ItemTypeOutputno_checkIdxCheckInBOOL8IdxDINT32OKBOOL8ResetBOOL8stFFST_FF7680BeamPermittedBOOL8no_checkFormulateLogJsonSTRING(80)648FFST_FF7680PouTypeFunctionBlockreflectionno_checkT_AmsNetIdArr48AMSNETIDFB_GetLocalAmsNetId10848bExecuteBOOL832ItemTypeInputtTimeOutTIME32645000ItemTypeInputbBusyBOOL896ItemTypeOutputbErrorBOOL8104ItemTypeOutputnErrIdUDINT32128ItemTypeOutputAddrStringT_AmsNetID1921600.0.0.0.0.0ItemTypeOutputAddrBytesT_AmsNetIdArr48352[0]0[1]0[2]0[3]0[4]0[5]0ItemTypeOutputfbRegQueryValueFB_RegQueryValue10304416.sNetId.sSubKeySOFTWARE\Beckhoff\TwinCAT3\System.sValNameAmsNetIdconditionalshowfbTriggerR_TRIG6410720conditionalshowstateBYTE810784conditionalshowtmpBytesT_AmsNetIdArr4810792conditionalshowPouTypeFunctionBlockconditionalshow_all_localsFB_JsonDomParserBase128ipDomITcJsonDomParser3232conditionalshowipDom2ITcJsonDomParser23264conditionalshowipXFAITcDomParserFileAccess3296conditionalshowGetHexBinaryDINT32vSJsonValue32pPVOID32nDINT32HasMemberBOOL8vSJsonValue32memberSTRING(80)32ItemTypeInOutSetDateTimeSJsonValue32vSJsonValue32valueDATE_AND_TIME32SetBoolSJsonValue32vSJsonValue32valueBOOL8SetJsonSJsonValue32vSJsonValue32rawJsonSTRING(80)32ItemTypeInOutIsNullBOOL8vSJsonValue32PushbackFileTimeValueSJsonValue32vSJsonValue32valueFILETIME64PushbackIntValueSJsonValue32vSJsonValue32valueDINT32AddFileTimeMemberSJsonValue32vSJsonValue32memberSTRING(80)32ItemTypeInOutvalueFILETIME64RemoveMemberByNameBOOL8vSJsonValue32memberSTRING(80)32ItemTypeInOutkeepOrderBOOL8AddArrayMemberSJsonValue32vSJsonValue32memberSTRING(80)32ItemTypeInOutreserveUDINT32SetNullSJsonValue32vSJsonValue32SetStringSJsonValue32vSJsonValue32valueSTRING(80)32ItemTypeInOutMemberEndSJsonIterator32vSJsonValue32PushbackUintValueSJsonValue32vSJsonValue32valueUDINT32ParseDocumentSJsonValue32sJsonSTRING(80)32ItemTypeInOutAddIntMemberSJsonValue32vSJsonValue32memberSTRING(80)32ItemTypeInOutvalueDINT32ArrayEndSJsonAIterator32vSJsonValue32SetDoubleSJsonValue32vSJsonValue32valueLREAL64PushbackBoolValueSJsonValue32vSJsonValue32valueBOOL8AddHexBinaryMemberSJsonValue32vSJsonValue32memberSTRING(80)32ItemTypeInOutpPVOID32nDINT32GetBase64DINT32vSJsonValue32pPVOID32nDINT32GetMemberValueSJsonValue32iSJsonIterator32SetObjectSJsonValue32vSJsonValue32AddDateTimeMemberSJsonValue32vSJsonValue32memberSTRING(80)32ItemTypeInOutvalueDATE_AND_TIME32GetIntDINT32vSJsonValue32PushbackUint64ValueSJsonValue32vSJsonValue32valueULINT64ClearArrayBOOL8vSJsonValue32iSJsonAIterator32RemoveAllMembersBOOL8vSJsonValue32ExceptionRaisedBOOL8IsISO8601TimeFormatBOOL8vSJsonValue32GetArraySizeUDINT32vSJsonValue32GetInt64LINT64vSJsonValue32IsBoolBOOL8vSJsonValue32AddInt64MemberSJsonValue32vSJsonValue32memberSTRING(80)32ItemTypeInOutvalueLINT64FindMemberPathSJsonValue32vSJsonValue32memberSTRING(80)32ItemTypeInOutSetDcTimeSJsonValue32vSJsonValue32valueDCTIME64SetArraySJsonValue32vSJsonValue32reserveUDINT32GetFileTimeFILETIME64vSJsonValue32GetStringLengthUDINT32vSJsonValue32pBYTE32lUDINT32SaveDocumentToFileBOOL8sFileSTRING(80)32ItemTypeInOutbExecBOOL32hrErrorCodeHRESULT32ItemTypeOutputPushbackBase64ValueSJsonValue32vSJsonValue32pPVOID32nDINT32IsBase64BOOL8vSJsonValue32IsTrueBOOL8vSJsonValue32IsIntBOOL8vSJsonValue32GetDocumentRootSJsonValue32CopyDocumentUDINT32pDocSTRING(80)32ItemTypeInOutnDocUDINT32GetTypeEJsonType32vSJsonValue32PushbackDcTimeValueSJsonValue32vSJsonValue32valueDCTIME64GetMemberNameSTRING(80)648iSJsonIterator32pSTRING(80)32IsNumberBOOL8vSJsonValue32AddObjectMemberSJsonValue32vSJsonValue32memberSTRING(80)32ItemTypeInOutIsInt64BOOL8vSJsonValue32IsUint64BOOL8vSJsonValue32SetFileTimeSJsonValue32vSJsonValue32valueFILETIME64CopyStringUDINT32vSJsonValue32pStrSTRING(80)32ItemTypeInOutnStrUDINT32pBYTE32qBYTE32lUDINT32SetBase64SJsonValue32vSJsonValue32pPVOID32nDINT32GetJsonLengthUDINT32vSJsonValue32pSTRING(80)32SwapBOOL8vSJsonValue32wSJsonValue32SetUint64SJsonValue32vSJsonValue32valueULINT64IsHexBinaryBOOL8vSJsonValue32AddUint64MemberSJsonValue32vSJsonValue32memberSTRING(80)32ItemTypeInOutvalueULINT64IsFalseBOOL8vSJsonValue32SetAdsProviderBOOL8oidOTCID32MemberBeginSJsonIterator32vSJsonValue32NewDocumentSJsonValue32GetStringSTRING(255)2048vSJsonValue32pSTRING(255)32IsUintBOOL8vSJsonValue32NextMemberSJsonIterator32iSJsonIterator32ArrayBeginSJsonAIterator32vSJsonValue32IsStringBOOL8vSJsonValue32PopbackValueBOOL8vSJsonValue32AddJsonMemberSJsonValue32vSJsonValue32memberSTRING(80)32ItemTypeInOutrawJsonSTRING(80)32ItemTypeInOutLoadDocumentFromFileBOOL8sFileSTRING(80)32ItemTypeInOutbExecBOOL32hrErrorCodeHRESULT32ItemTypeOutputGetDateTimeDATE_AND_TIME32vSJsonValue32IsObjectBOOL8vSJsonValue32PushbackStringValueSJsonValue32vSJsonValue32valueSTRING(80)32ItemTypeInOutRemoveMemberBOOL8vSJsonValue32iSJsonIterator32keepOrderBOOL8RemoveArrayBOOL8vSJsonValue32iSJsonAIterator32AddDcTimeMemberSJsonValue32vSJsonValue32memberSTRING(80)32ItemTypeInOutvalueDCTIME64SetMaxDecimalPlacesdpDINT32FindMemberSJsonValue32vSJsonValue32memberSTRING(80)32ItemTypeInOutPushbackDateTimeValueSJsonValue32vSJsonValue32valueDATE_AND_TIME32PushbackInt64ValueSJsonValue32vSJsonValue32valueLINT64AddBase64MemberSJsonValue32vSJsonValue32memberSTRING(80)32ItemTypeInOutpPVOID32nDINT32SetUintSJsonValue32vSJsonValue32valueUDINT32SetHexBinarySJsonValue32vSJsonValue32pPVOID32nDINT32GetArrayValueByIdxSJsonValue32vSJsonValue32idxUDINT32PushbackHexBinaryValueSJsonValue32vSJsonValue32pPVOID32nDINT32AddDoubleMemberSJsonValue32vSJsonValue32memberSTRING(80)32ItemTypeInOutvalueLREAL64PushbackNullValueSJsonValue32vSJsonValue32AddBoolMemberSJsonValue32vSJsonValue32memberSTRING(80)32ItemTypeInOutvalueBOOL8GetDcTimeDCTIME64vSJsonValue32AddUintMemberSJsonValue32vSJsonValue32memberSTRING(80)32ItemTypeInOutvalueUDINT32CopyJsonUDINT32vSJsonValue32pDocSTRING(80)32ItemTypeInOutnDocUDINT32SetInt64SJsonValue32vSJsonValue32valueLINT64CopyFromSJsonValue32vSJsonValue32wSJsonValue32AddStringMemberSJsonValue32vSJsonValue32memberSTRING(80)32ItemTypeInOutvalueSTRING(80)32ItemTypeInOutGetBoolBOOL8vSJsonValue32GetDoubleLREAL64vSJsonValue32GetMaxDecimalPlacesDINT32GetArrayValueSJsonValue32iSJsonAIterator32NextArraySJsonAIterator32iSJsonAIterator32GetDocumentSTRING(255)2048pBYTE32qBYTE32tSTRING(255)32lengthUDINT32SetIntSJsonValue32vSJsonValue32valueDINT32PushbackDoubleValueSJsonValue32vSJsonValue32valueLREAL64GetUintUDINT32vSJsonValue32GetUint64ULINT64vSJsonValue32GetDocumentLengthUDINT32pSTRING(80)32GetJsonSTRING(255)2048vSJsonValue32pBYTE32qBYTE32tSTRING(255)32lengthUDINT32IsArrayBOOL8vSJsonValue32PushbackJsonValueSJsonValue32vSJsonValue32rawJsonSTRING(80)32ItemTypeInOutIsDoubleBOOL8vSJsonValue32AddNullMemberSJsonValue32vSJsonValue32memberSTRING(80)32ItemTypeInOutPouTypeFunctionBlockconditionalshow_all_localsno_explicit_calldo not call this POU directlyFB_JsonDomParser288FB_JsonDomParserBaseinitStatusHRESULT32128-1743714536ItemTypeOutputCLSID_TcJsonDomParserCLSID128160.Data11337382113.Data245876.Data323182.Data4[0]166.Data4[1]151.Data4[2]186.Data4[3]40.Data4[4]25.Data4[5]175.Data4[6]202.Data4[7]216conditionalshowPouTypeFunctionBlockconditionalshow_all_localsno_explicit_calldo not call this POU directlyE_OpenPath16UINTPATH_GENERIC1PATH_BOOTPRJ2PATH_BOOTDATA3PATH_BOOTPATH4PATH_USERPATH111PATH_USERPATH212PATH_USERPATH313PATH_USERPATH414PATH_USERPATH515PATH_USERPATH616PATH_USERPATH717PATH_USERPATH818PATH_USERPATH919FB_FileOpen3456sNetIdT_AmsNetID19232ItemTypeInputsPathNameT_MaxString2048224ItemTypeInputnModeDWORD322272ItemTypeInputePathE_OpenPath1623041ItemTypeInputbExecuteBOOL82320ItemTypeInputtTimeoutTIME3223365000ItemTypeInputbBusyBOOL82368ItemTypeOutputbErrorBOOL82376ItemTypeOutputnErrIdUDINT322400ItemTypeOutputhFileUINT162432ItemTypeOutputPouTypeFunctionBlockhide_all_localsFB_FileClose1184sNetIdT_AmsNetID19232ItemTypeInputhFileUINT16224ItemTypeInputbExecuteBOOL8240ItemTypeInputtTimeoutTIME322565000ItemTypeInputbBusyBOOL8288ItemTypeOutputbErrorBOOL8296ItemTypeOutputnErrIdUDINT32320ItemTypeOutputPouTypeFunctionBlockhide_all_localsFB_FileRead1440sNetIdT_AmsNetID19232ItemTypeInputhFileUINT16224ItemTypeInputpReadBuffPVOID32256ItemTypeInputTcIgnorePersistentcbReadLenUDINT32288ItemTypeInputbExecuteBOOL8320ItemTypeInputtTimeoutTIME323525000ItemTypeInputbBusyBOOL8384ItemTypeOutputbErrorBOOL8392ItemTypeOutputnErrIdUDINT32416ItemTypeOutputcbReadUDINT32448ItemTypeOutputbEOFBOOL8480ItemTypeOutputPouTypeFunctionBlockhide_all_localsFB_FastFault + + + + + rtReset + R_TRIG + 64 + 386464 + + + rtResetandOK + R_TRIG + 64 + 386528 + + + nIndex + UINT + 16 + 386592 + + 1 + + + + IdxOK + BOOL + 8 + 386608 + + + fbTime + FB_LocalSystemTime + Get current system time, used for override + 19040 + 386624 + + + .bEnable + 1 + + + .dwCycle + 1 + + + + + fbTime_to_UTC + FB_TzSpecificLocalTimeToSystemTime + 3584 + 405664 + + + fbGetTimeZone + FB_GetTimeZoneInformation + 3488 + 409248 + + + fbJson + FB_JsonSaxWriter + 256 + 412736 + + + pmpsTypeCode + UDINT + shows up in json as pmps_typecode + 32 + 412992 + + 0 + + + + fbLogger + FB_LogMessage + 81984 + 413056 + + + .eSevr + 4 + + + .eSubsystem + 2 + + + .nMinTimeViolationAcceptable + 50 + + + + + __EXECUTELOGGING__HELLOTIMER + TOF + 224 + 495040 + + + .PT + 86400000 + + + + + ExecuteNoLog + + + EvaluateOutput + + + Execute + + + EvaluateVetos + BOOL + 8 + + + obsolete + Use EvaluateOverrides instead. + + + + + EvaluateOverrides + BOOL + 8 + + FF + ST_FF + 32 + + + EvalIdx + DINT + 32 + + + MaxTime + 49.7 days + DINT + 32 + + + + no_check + + + + + ExecuteLogging + BOOL + 8 + + FF + ST_FF + 32 + + + logIdx + DINT + 32 + + + HelloTimer + TOF + 224 + + + uselocation + __EXECUTELOGGING__HELLOTIMER + + + + + + no_check + + + + + Register + BOOL + 8 + + stFFInfo + ST_FFInfo + 6832 + + + FFOName + T_MaxString + 2048 + + + ItemType + Output + + + + + Idx + UINT + 16 + + + ItemType + Output + + + + + + no_check + + + + + IdxCheckIn + BOOL + 8 + + Idx + DINT + 32 + + + OK + BOOL + 8 + + + Reset + BOOL + 8 + + + stFF + ST_FF + 7680 + + + BeamPermitted + BOOL + 8 + + + + no_check + + + + + FormulateLogJson + STRING(80) + 648 + + FF + ST_FF + 7680 + + + + + PouType + FunctionBlock + + + reflection + + + no_check + + + + + T_AmsNetIdArr + TwinCAT AMS netID address bytes. + 48 + AMSNETID + + + FB_GetLocalAmsNetId + Reads the local AmsNetId (local TwinCAT-specific network address) + 10848 + + bExecute + BOOL + Rising edge on this input activates the fb execution + 8 + 32 + + + ItemType + Input + + + + + tTimeOut + TIME + Max fb execution time + 32 + 64 + + 5000 + + + + ItemType + Input + + + + + bBusy + BOOL + 8 + 96 + + + ItemType + Output + + + + + bError + BOOL + 8 + 104 + + + ItemType + Output + + + + + nErrId + UDINT + 32 + 128 + + + ItemType + Output + + + + + AddrString + T_AmsNetID + TwinCAT -specific network address as string + 192 + 160 + + 0.0.0.0.0.0 + + + + ItemType + Output + + + + + AddrBytes + T_AmsNetIdArr + TwinCAT-specific network address as array of byte + 48 + 352 + + + [0] + 0 + + + [1] + 0 + + + [2] + 0 + + + [3] + 0 + + + [4] + 0 + + + [5] + 0 + + + + + ItemType + Output + + + + + fbRegQueryValue + FB_RegQueryValue + 10304 + 416 + + + .sNetId + + + + .sSubKey + SOFTWARE\Beckhoff\TwinCAT3\System + + + .sValName + AmsNetId + + + + + conditionalshow + + + + + fbTrigger + R_TRIG + 64 + 10720 + + + conditionalshow + + + + + state + BYTE + 8 + 10784 + + + conditionalshow + + + + + tmpBytes + T_AmsNetIdArr + 48 + 10792 + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + FB_JsonDomParserBase + 128 + + ipDom + ITcJsonDomParser + 32 + 32 + + + conditionalshow + + + + + ipDom2 + ITcJsonDomParser2 + 32 + 64 + + + conditionalshow + + + + + ipXFA + ITcDomParserFileAccess + 32 + 96 + + + conditionalshow + + + + + GetHexBinary + DINT + 32 + + v + SJsonValue + 32 + + + p + PVOID + 32 + + + n + DINT + 32 + + + + HasMember + BOOL + 8 + + v + SJsonValue + 32 + + + member + STRING(80) + 32 + + + ItemType + InOut + + + + + + SetDateTime + SJsonValue + 32 + + v + SJsonValue + 32 + + + value + DATE_AND_TIME + 32 + + + + SetBool + SJsonValue + 32 + + v + SJsonValue + 32 + + + value + BOOL + 8 + + + + SetJson + SJsonValue + 32 + + v + SJsonValue + 32 + + + rawJson + STRING(80) + 32 + + + ItemType + InOut + + + + + + IsNull + BOOL + 8 + + v + SJsonValue + 32 + + + + PushbackFileTimeValue + SJsonValue + 32 + + v + SJsonValue + 32 + + + value + FILETIME + 64 + + + + PushbackIntValue + SJsonValue + 32 + + v + SJsonValue + 32 + + + value + DINT + 32 + + + + AddFileTimeMember + SJsonValue + 32 + + v + SJsonValue + 32 + + + member + STRING(80) + 32 + + + ItemType + InOut + + + + + value + FILETIME + 64 + + + + RemoveMemberByName + BOOL + 8 + + v + SJsonValue + 32 + + + member + STRING(80) + 32 + + + ItemType + InOut + + + + + keepOrder + BOOL + 8 + + + + AddArrayMember + SJsonValue + 32 + + v + SJsonValue + 32 + + + member + STRING(80) + 32 + + + ItemType + InOut + + + + + reserve + UDINT + 32 + + + + SetNull + SJsonValue + 32 + + v + SJsonValue + 32 + + + + SetString + SJsonValue + 32 + + v + SJsonValue + 32 + + + value + STRING(80) + 32 + + + ItemType + InOut + + + + + + MemberEnd + SJsonIterator + 32 + + v + SJsonValue + 32 + + + + PushbackUintValue + SJsonValue + 32 + + v + SJsonValue + 32 + + + value + UDINT + 32 + + + + ParseDocument + SJsonValue + 32 + + sJson + STRING(80) + 32 + + + ItemType + InOut + + + + + + AddIntMember + SJsonValue + 32 + + v + SJsonValue + 32 + + + member + STRING(80) + 32 + + + ItemType + InOut + + + + + value + DINT + 32 + + + + ArrayEnd + SJsonAIterator + 32 + + v + SJsonValue + 32 + + + + SetDouble + SJsonValue + 32 + + v + SJsonValue + 32 + + + value + LREAL + 64 + + + + PushbackBoolValue + SJsonValue + 32 + + v + SJsonValue + 32 + + + value + BOOL + 8 + + + + AddHexBinaryMember + SJsonValue + 32 + + v + SJsonValue + 32 + + + member + STRING(80) + 32 + + + ItemType + InOut + + + + + p + PVOID + 32 + + + n + DINT + 32 + + + + GetBase64 + DINT + 32 + + v + SJsonValue + 32 + + + p + PVOID + 32 + + + n + DINT + 32 + + + + GetMemberValue + SJsonValue + 32 + + i + SJsonIterator + 32 + + + + SetObject + SJsonValue + 32 + + v + SJsonValue + 32 + + + + AddDateTimeMember + SJsonValue + 32 + + v + SJsonValue + 32 + + + member + STRING(80) + 32 + + + ItemType + InOut + + + + + value + DATE_AND_TIME + 32 + + + + GetInt + DINT + 32 + + v + SJsonValue + 32 + + + + PushbackUint64Value + SJsonValue + 32 + + v + SJsonValue + 32 + + + value + ULINT + 64 + + + + ClearArray + BOOL + 8 + + v + SJsonValue + 32 + + + i + SJsonAIterator + 32 + + + + RemoveAllMembers + BOOL + 8 + + v + SJsonValue + 32 + + + + ExceptionRaised + BOOL + 8 + + + IsISO8601TimeFormat + BOOL + 8 + + v + SJsonValue + 32 + + + + GetArraySize + UDINT + 32 + + v + SJsonValue + 32 + + + + GetInt64 + LINT + 64 + + v + SJsonValue + 32 + + + + IsBool + BOOL + 8 + + v + SJsonValue + 32 + + + + AddInt64Member + SJsonValue + 32 + + v + SJsonValue + 32 + + + member + STRING(80) + 32 + + + ItemType + InOut + + + + + value + LINT + 64 + + + + FindMemberPath + SJsonValue + 32 + + v + SJsonValue + 32 + + + member + member of v seperatet by '/' without leading '/' ('/' in a member name will be encoded as "~1" and '~' as "~0") + STRING(80) + 32 + + + ItemType + InOut + + + + + + SetDcTime + SJsonValue + 32 + + v + SJsonValue + 32 + + + value + DCTIME + 64 + + + + SetArray + SJsonValue + 32 + + v + SJsonValue + 32 + + + reserve + UDINT + 32 + + + + GetFileTime + FILETIME + 64 + + v + SJsonValue + 32 + + + + GetStringLength + UDINT + 32 + + v + SJsonValue + 32 + + + p + BYTE + 32 + + + l + UDINT + 32 + + + + SaveDocumentToFile + BOOL + 8 + + sFile + file path + STRING(80) + 32 + + + ItemType + InOut + + + + + bExec + a rising edge triggers the saving. + BOOL + 32 + + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + + PushbackBase64Value + SJsonValue + 32 + + v + SJsonValue + 32 + + + p + PVOID + 32 + + + n + DINT + 32 + + + + IsBase64 + BOOL + 8 + + v + SJsonValue + 32 + + + + IsTrue + BOOL + 8 + + v + SJsonValue + 32 + + + + IsInt + BOOL + 8 + + v + SJsonValue + 32 + + + + GetDocumentRoot + SJsonValue + 32 + + + CopyDocument + UDINT + 32 + + pDoc + target string buffer where the document should be copied to + STRING(80) + 32 + + + ItemType + InOut + + + + + nDoc + size in bytes of target string buffer + UDINT + 32 + + + + GetType + EJsonType + 32 + + v + SJsonValue + 32 + + + + PushbackDcTimeValue + SJsonValue + 32 + + v + SJsonValue + 32 + + + value + DCTIME + 64 + + + + GetMemberName + STRING(80) + 648 + + i + SJsonIterator + 32 + + + p + STRING(80) + 32 + + + + IsNumber + BOOL + 8 + + v + SJsonValue + 32 + + + + AddObjectMember + SJsonValue + 32 + + v + SJsonValue + 32 + + + member + STRING(80) + 32 + + + ItemType + InOut + + + + + + IsInt64 + BOOL + 8 + + v + SJsonValue + 32 + + + + IsUint64 + BOOL + 8 + + v + SJsonValue + 32 + + + + SetFileTime + SJsonValue + 32 + + v + SJsonValue + 32 + + + value + FILETIME + 64 + + + + CopyString + UDINT + 32 + + v + SJsonValue + 32 + + + pStr + STRING(80) + 32 + + + ItemType + InOut + + + + + nStr + UDINT + 32 + + + p + BYTE + 32 + + + q + BYTE + 32 + + + l + UDINT + 32 + + + + SetBase64 + SJsonValue + 32 + + v + SJsonValue + 32 + + + p + PVOID + 32 + + + n + DINT + 32 + + + + GetJsonLength + UDINT + 32 + + v + SJsonValue + 32 + + + p + STRING(80) + 32 + + + + Swap + BOOL + 8 + + v + SJsonValue + 32 + + + w + SJsonValue + 32 + + + + SetUint64 + SJsonValue + 32 + + v + SJsonValue + 32 + + + value + ULINT + 64 + + + + IsHexBinary + BOOL + 8 + + v + SJsonValue + 32 + + + + AddUint64Member + SJsonValue + 32 + + v + SJsonValue + 32 + + + member + STRING(80) + 32 + + + ItemType + InOut + + + + + value + ULINT + 64 + + + + IsFalse + BOOL + 8 + + v + SJsonValue + 32 + + + + SetAdsProvider + BOOL + 8 + + oid + OTCID + 32 + + + + MemberBegin + SJsonIterator + 32 + + v + SJsonValue + 32 + + + + NewDocument + SJsonValue + 32 + + + GetString + STRING(255) + 2048 + + v + SJsonValue + 32 + + + p + STRING(255) + 32 + + + + IsUint + BOOL + 8 + + v + SJsonValue + 32 + + + + NextMember + SJsonIterator + 32 + + i + SJsonIterator + 32 + + + + ArrayBegin + SJsonAIterator + 32 + + v + SJsonValue + 32 + + + + IsString + BOOL + 8 + + v + SJsonValue + 32 + + + + PopbackValue + BOOL + 8 + + v + SJsonValue + 32 + + + + AddJsonMember + SJsonValue + 32 + + v + SJsonValue + 32 + + + member + STRING(80) + 32 + + + ItemType + InOut + + + + + rawJson + STRING(80) + 32 + + + ItemType + InOut + + + + + + LoadDocumentFromFile + BOOL + 8 + + sFile + file path + STRING(80) + 32 + + + ItemType + InOut + + + + + bExec + a rising edge triggers the load. + BOOL + 32 + + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + + GetDateTime + DATE_AND_TIME + 32 + + v + SJsonValue + 32 + + + + IsObject + BOOL + 8 + + v + SJsonValue + 32 + + + + PushbackStringValue + SJsonValue + 32 + + v + SJsonValue + 32 + + + value + STRING(80) + 32 + + + ItemType + InOut + + + + + + RemoveMember + BOOL + 8 + + v + SJsonValue + 32 + + + i + SJsonIterator + 32 + + + keepOrder + BOOL + 8 + + + + RemoveArray + BOOL + 8 + + v + SJsonValue + 32 + + + i + SJsonAIterator + 32 + + + + AddDcTimeMember + SJsonValue + 32 + + v + SJsonValue + 32 + + + member + STRING(80) + 32 + + + ItemType + InOut + + + + + value + DCTIME + 64 + + + + SetMaxDecimalPlaces + + dp + DINT + 32 + + + + FindMember + SJsonValue + 32 + + v + SJsonValue + 32 + + + member + STRING(80) + 32 + + + ItemType + InOut + + + + + + PushbackDateTimeValue + SJsonValue + 32 + + v + SJsonValue + 32 + + + value + DATE_AND_TIME + 32 + + + + PushbackInt64Value + SJsonValue + 32 + + v + SJsonValue + 32 + + + value + LINT + 64 + + + + AddBase64Member + SJsonValue + 32 + + v + SJsonValue + 32 + + + member + STRING(80) + 32 + + + ItemType + InOut + + + + + p + PVOID + 32 + + + n + DINT + 32 + + + + SetUint + SJsonValue + 32 + + v + SJsonValue + 32 + + + value + UDINT + 32 + + + + SetHexBinary + SJsonValue + 32 + + v + SJsonValue + 32 + + + p + PVOID + 32 + + + n + DINT + 32 + + + + GetArrayValueByIdx + SJsonValue + 32 + + v + SJsonValue + 32 + + + idx + UDINT + 32 + + + + PushbackHexBinaryValue + SJsonValue + 32 + + v + SJsonValue + 32 + + + p + PVOID + 32 + + + n + DINT + 32 + + + + AddDoubleMember + SJsonValue + 32 + + v + SJsonValue + 32 + + + member + STRING(80) + 32 + + + ItemType + InOut + + + + + value + LREAL + 64 + + + + PushbackNullValue + SJsonValue + 32 + + v + SJsonValue + 32 + + + + AddBoolMember + SJsonValue + 32 + + v + SJsonValue + 32 + + + member + STRING(80) + 32 + + + ItemType + InOut + + + + + value + BOOL + 8 + + + + GetDcTime + DCTIME + 64 + + v + SJsonValue + 32 + + + + AddUintMember + SJsonValue + 32 + + v + SJsonValue + 32 + + + member + STRING(80) + 32 + + + ItemType + InOut + + + + + value + UDINT + 32 + + + + CopyJson + UDINT + 32 + + v + SJsonValue + 32 + + + pDoc + target string buffer where the document should be copied to + STRING(80) + 32 + + + ItemType + InOut + + + + + nDoc + size in bytes of target string buffer + UDINT + 32 + + + + SetInt64 + SJsonValue + 32 + + v + SJsonValue + 32 + + + value + LINT + 64 + + + + CopyFrom + SJsonValue + 32 + + v + SJsonValue + 32 + + + w + SJsonValue + 32 + + + + AddStringMember + SJsonValue + 32 + + v + SJsonValue + 32 + + + member + STRING(80) + 32 + + + ItemType + InOut + + + + + value + STRING(80) + 32 + + + ItemType + InOut + + + + + + GetBool + BOOL + 8 + + v + SJsonValue + 32 + + + + GetDouble + LREAL + 64 + + v + SJsonValue + 32 + + + + GetMaxDecimalPlaces + DINT + 32 + + + GetArrayValue + SJsonValue + 32 + + i + SJsonAIterator + 32 + + + + NextArray + SJsonAIterator + 32 + + i + SJsonAIterator + 32 + + + + GetDocument + STRING(255) + 2048 + + p + BYTE + 32 + + + q + BYTE + 32 + + + t + STRING(255) + 32 + + + length + UDINT + 32 + + + + SetInt + SJsonValue + 32 + + v + SJsonValue + 32 + + + value + DINT + 32 + + + + PushbackDoubleValue + SJsonValue + 32 + + v + SJsonValue + 32 + + + value + LREAL + 64 + + + + GetUint + UDINT + 32 + + v + SJsonValue + 32 + + + + GetUint64 + ULINT + 64 + + v + SJsonValue + 32 + + + + GetDocumentLength + UDINT + 32 + + p + STRING(80) + 32 + + + + GetJson + STRING(255) + 2048 + + v + SJsonValue + 32 + + + p + BYTE + 32 + + + q + BYTE + 32 + + + t + STRING(255) + 32 + + + length + UDINT + 32 + + + + IsArray + BOOL + 8 + + v + SJsonValue + 32 + + + + PushbackJsonValue + SJsonValue + 32 + + v + SJsonValue + 32 + + + rawJson + STRING(80) + 32 + + + ItemType + InOut + + + + + + IsDouble + BOOL + 8 + + v + SJsonValue + 32 + + + + AddNullMember + SJsonValue + 32 + + v + SJsonValue + 32 + + + member + STRING(80) + 32 + + + ItemType + InOut + + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + no_explicit_call + do not call this POU directly + + + + + FB_JsonDomParser + 288 + FB_JsonDomParserBase + + initStatus + HRESULT + 32 + 128 + + -1743714536 + + + + ItemType + Output + + + + + CLSID_TcJsonDomParser + CLSID + 128 + 160 + + + .Data1 + 1337382113 + + + .Data2 + 45876 + + + .Data3 + 23182 + + + .Data4[0] + 166 + + + .Data4[1] + 151 + + + .Data4[2] + 186 + + + .Data4[3] + 40 + + + .Data4[4] + 25 + + + .Data4[5] + 175 + + + .Data4[6] + 202 + + + .Data4[7] + 216 + + + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + no_explicit_call + do not call this POU directly + + + + + E_OpenPath + 16 + UINT + + PATH_GENERIC + 1 + Search/open/create files in selected/generic folder + + + PATH_BOOTPRJ + 2 + Search/open/create files in TwinCAT boot project folder and adds the *.wbp extension + + + PATH_BOOTDATA + 3 + Reserved for future use + + + PATH_BOOTPATH + 4 + Refers to the TwinCAT/Boot directory without adding an extension (.wbp) + + + PATH_USERPATH1 + 11 + Reserved for future use + + + PATH_USERPATH2 + 12 + Reserved for future use + + + PATH_USERPATH3 + 13 + Reserved for future use + + + PATH_USERPATH4 + 14 + Reserved for future use + + + PATH_USERPATH5 + 15 + Reserved for future use + + + PATH_USERPATH6 + 16 + Reserved for future use + + + PATH_USERPATH7 + 17 + Reserved for future use + + + PATH_USERPATH8 + 18 + Reserved for future use + + + PATH_USERPATH9 + 19 + Reserved for future use + + + + FB_FileOpen + Open and/or create a file. + 3456 + + sNetId + T_AmsNetID + Ams net id + 192 + 32 + + + ItemType + Input + + + + + sPathName + T_MaxString + Max filename length = 255 + 2048 + 224 + + + ItemType + Input + + + + + nMode + DWORD + Open mode flags + 32 + 2272 + + + ItemType + Input + + + + + ePath + E_OpenPath + Default: Open generic file + 16 + 2304 + + 1 + + + + ItemType + Input + + + + + bExecute + BOOL + Rising edge starts command execution + 8 + 2320 + + + ItemType + Input + + + + + tTimeout + TIME + Maximum time allowed for the execution of this ADS command + 32 + 2336 + + 5000 + + + + ItemType + Input + + + + + bBusy + BOOL + Busy flag + 8 + 2368 + + + ItemType + Output + + + + + bError + BOOL + Error flag + 8 + 2376 + + + ItemType + Output + + + + + nErrId + UDINT + ADS error code + 32 + 2400 + + + ItemType + Output + + + + + hFile + UINT + File handle + 16 + 2432 + + + ItemType + Output + + + + + + PouType + FunctionBlock + + + hide_all_locals + + + + + FB_FileClose + Closes a file stream. + 1184 + + sNetId + T_AmsNetID + Ams net id + 192 + 32 + + + ItemType + Input + + + + + hFile + UINT + File handle obtained through 'open' + 16 + 224 + + + ItemType + Input + + + + + bExecute + BOOL + Rising edge starts command execution + 8 + 240 + + + ItemType + Input + + + + + tTimeout + TIME + Maximum time allowed for the execution of this ADS command + 32 + 256 + + 5000 + + + + ItemType + Input + + + + + bBusy + BOOL + Busy flag + 8 + 288 + + + ItemType + Output + + + + + bError + BOOL + Error flag + 8 + 296 + + + ItemType + Output + + + + + nErrId + UDINT + ADS error code + 32 + 320 + + + ItemType + Output + + + + + + PouType + FunctionBlock + + + hide_all_locals + + + + + FB_FileRead + Reads data from a stream. + 1440 + + sNetId + T_AmsNetID + Ams net id + 192 + 32 + + + ItemType + Input + + + + + hFile + UINT + File handle + 16 + 224 + + + ItemType + Input + + + + + pReadBuff + PVOID + Buffer address for read + 32 + 256 + + + ItemType + Input + + + TcIgnorePersistent + + + + + cbReadLen + UDINT + Count of bytes for read + 32 + 288 + + + ItemType + Input + + + + + bExecute + BOOL + Rising edge starts command execution + 8 + 320 + + + ItemType + Input + + + + + tTimeout + TIME + Maximum time allowed for the execution of this ADS command + 32 + 352 + + 5000 + + + + ItemType + Input + + + + + bBusy + BOOL + Busy flag + 8 + 384 + + + ItemType + Output + + + + + bError + BOOL + Error flag + 8 + 392 + + + ItemType + Output + + + + + nErrId + UDINT + ADS error code + 32 + 416 + + + ItemType + Output + + + + + cbRead + UDINT + Count of bytes actually read + 32 + 448 + + + ItemType + Output + + + + + bEOF + BOOL + End of file + 8 + 480 + + + ItemType + Output + + + + + + PouType + FunctionBlock + + + hide_all_locals + + + + + FB_FastFault + Fast Fault 2019-9-13 A. Wallace Use this block to generate a beam-off fault. Connects to a fast fault hardware output @@ -229,76 +19046,2967 @@ function block to contribute to the state of the fast fault output (FFO). If the i_xOK goes false, the associated FFO will go false, despite the state of any other contributing fast faults, unless the FFO is currently vetoed. -]]>25088i_xOKBOOL832ItemTypeInputi_xResetBOOL840ItemTypeInputi_xAutoResetBOOL8480ItemTypeInputi_xVetoableBOOL8561ItemTypeInputi_DevNameT_MaxString204864ItemTypeInputi_DescT_MaxString20482112ItemTypeInputi_TypeCodeUINT164160ItemTypeInputo_xFFLineBOOL84176ItemTypeOutputio_fbFFHWOFB_HardwareFFOutput324192ItemTypeInOutsPathT_MaxString20484224instance-pathnoinitFFInfoST_FFInfo68326272RegistrationIdxUINT16131041xInitBOOL8131201InfoStringFmtrFB_FormatString784013152InUseT_MaxString204820992AutoResetT_MaxString204823040PouTypeFunctionBlockreflectionFB_JsonFileToJsonDoc928512bExecuteBOOL832ItemTypeInputsPLCNameSTRING(80)64840ItemTypeInputsSrcNetIdT_AmsNetID192688ItemTypeInputsSrcPathNameT_MaxString2048880ItemTypeInputPMPS_jsonDocSJsonValue322944ItemTypeOutputbHasPLCBOOL82976ItemTypeOutputbBusyBOOL82984ItemTypeOutputbErrorBOOL82992ItemTypeOutputnErrIdUDINT323008ItemTypeOutputsErrMsgSTRING(80)6483040ItemTypeOutputio_fbFFHWOFB_HardwareFFOutput323712ItemTypeInOutfb_GetLocalAmsNetIdFB_GetLocalAmsNetId108483744fbJsonFB_JsonDomParser28814592jsonDocSJsonValue3214880jsonPropSJsonValue3214912fbFileOpenFB_FileOpen345614944fbFileCloseFB_FileClose118418400fbFileReadFB_FileRead144019584hSrcFileUINT16210240StepINT1621040indexDINT3221056RisingEdgeR_TRIG6421088sbuffReadSTRING(100000)80000821152cbReadLengthUDINT328211840nFileLengthUDINT328212160bfbJsonExceptionRaisedBOOL8821248tTimeOutTIME328212805000bInitBOOL8821312tNewMessageR_TRIG64821344fbLoggerFB_LogMessage81984821440.eSubsystem2.nMinTimeViolationAcceptable10FFOFB_FastFault25088903424.i_DescFault occurs when there is an error reading json file.i_TypeCode65299ACT_FFOACT_LoggerPouTypeFunctionBlockFB_Standard_PMPSDB27744io_fbFFHWOFB_HardwareFFOutput3232ItemTypeInOutbEnableBOOL864ItemTypeInputsPlcNameSTRING(80)64872ItemTypeInputbRefreshBOOL8720ItemTypeInputpytmc + + 25088 + + i_xOK + BOOL + Connect to fast-fault condition (false produces fault) + 8 + 32 + + + ItemType + Input + + + + + i_xReset + BOOL + Resets when i_xOK is true and this is true + 8 + 40 + + + ItemType + Input + + + + + i_xAutoReset + BOOL + Automatically clear fast fault (latching vs non-latching) + 8 + 48 + + 0 + + + + ItemType + Input + + + + + i_xVetoable + BOOL + Mask this fast fault if the FFO veto device is true + 8 + 56 + + 1 + + + + ItemType + Input + + + + + i_DevName + T_MaxString + Device name for diagnostic + 2048 + 64 + + + + + + ItemType + Input + + + + + i_Desc + T_MaxString + Description of fast fault (you should set at init) + 2048 + 2112 + + + + + + ItemType + Input + + + + + i_TypeCode + UINT + Error code for classifying fast faults + 16 + 4160 + + + ItemType + Input + + + + + o_xFFLine + BOOL + Connect to HW output or another FF input if you like (Optional) + 8 + 4176 + + + ItemType + Output + + + + + io_fbFFHWO + FB_HardwareFFOutput + Point to FB_HardwareFFOutput of your choice + 32 + 4192 + + + ItemType + InOut + + + + + sPath + T_MaxString + 2048 + 4224 + + + instance-path + + + noinit + + + + + FFInfo + ST_FFInfo + 6832 + 6272 + + + RegistrationIdx + UINT + The index this FF was registered in the FFO + 16 + 13104 + + 1 + + + + xInit + BOOL + 8 + 13120 + + 1 + + + + InfoStringFmtr + FB_FormatString + 7840 + 13152 + + + InUse + T_MaxString + 2048 + 20992 + + + AutoReset + T_MaxString + 2048 + 23040 + + + + PouType + FunctionBlock + + + reflection + + + + + FB_JsonFileToJsonDoc + 928512 + + bExecute + BOOL + Rising Edge + 8 + 32 + + + ItemType + Input + + + + + sPLCName + STRING(80) + 648 + 40 + + + ItemType + Input + + + + + sSrcNetId + T_AmsNetID + 192 + 688 + + + ItemType + Input + + + + + sSrcPathName + T_MaxString + 2048 + 880 + + + ItemType + Input + + + + + PMPS_jsonDoc + SJsonValue + 32 + 2944 + + + ItemType + Output + + + + + bHasPLC + BOOL + 8 + 2976 + + + ItemType + Output + + + + + bBusy + BOOL + 8 + 2984 + + + ItemType + Output + + + + + bError + BOOL + 8 + 2992 + + + ItemType + Output + + + + + nErrId + UDINT + 32 + 3008 + + + ItemType + Output + + + + + sErrMsg + STRING(80) + 648 + 3040 + + + ItemType + Output + + + + + io_fbFFHWO + FB_HardwareFFOutput + 32 + 3712 + + + ItemType + InOut + + + + + fb_GetLocalAmsNetId + FB_GetLocalAmsNetId + Get AMS Net ID + 10848 + 3744 + + + fbJson + FB_JsonDomParser + JSON + 288 + 14592 + + + jsonDoc + SJsonValue + 32 + 14880 + + + jsonProp + SJsonValue + 32 + 14912 + + + fbFileOpen + FB_FileOpen + File + 3456 + 14944 + + + fbFileClose + FB_FileClose + 1184 + 18400 + + + fbFileRead + FB_FileRead + 1440 + 19584 + + + hSrcFile + UINT + File handle of the source file + 16 + 21024 + + 0 + + + + Step + INT + 16 + 21040 + + + index + DINT + 32 + 21056 + + + RisingEdge + R_TRIG + 64 + 21088 + + + sbuffRead + STRING(100000) + Buffer + 800008 + 21152 + + + cbReadLength + UDINT + 32 + 821184 + + 0 + + + + nFileLength + UDINT + 32 + 821216 + + 0 + + + + bfbJsonExceptionRaised + BOOL + 8 + 821248 + + + tTimeOut + TIME + 32 + 821280 + + 5000 + + + + bInit + BOOL + 8 + 821312 + + + tNewMessage + R_TRIG + Logger + 64 + 821344 + + + fbLogger + FB_LogMessage + 81984 + 821440 + + + .eSubsystem + 2 + + + .nMinTimeViolationAcceptable + 10 + + + + + FFO + FB_FastFault + FFO + 25088 + 903424 + + + .i_Desc + Fault occurs when there is an error reading json file + + + .i_TypeCode + 65299 + + + + + ACT_FFO + + + ACT_Logger + + + + PouType + FunctionBlock + + + + + FB_Standard_PMPSDB + 27744 + + io_fbFFHWO + FB_HardwareFFOutput + 32 + 32 + + + ItemType + InOut + + + + + bEnable + BOOL + If TRUE, FB will run. Reads when enable goes TRUE. + 8 + 64 + + + ItemType + Input + + + + + sPlcName + STRING(80) + E.g. lfe-motion + 648 + 72 + + + ItemType + Input + + + + + bRefresh + BOOL + Set to TRUE to cause an extra read. + 8 + 720 + + + ItemType + Input + + + pytmc + pv: REFRESH io: io - sDirectorySTRING(80)648728/Hard Disk/ftp/PMPS/ItemTypeInputnLastRefreshTimeDINT321376ItemTypeOutputpytmc + + + + + + sDirectory + STRING(80) + Directory where the DB is stored. + 648 + 728 + + /Hard Disk/ftp/PMPS/ + + + + ItemType + Input + + + + + nLastRefreshTime + DINT + 32 + 1376 + + + ItemType + Output + + + pytmc + pv: LAST_REFRESH io: i - bExecuteBOOL81408rtEnableR_TRIG641440rtRefreshR_TRIG641504ftBusyF_TRIG641568fbTimeFB_LocalSystemTime190401632.bEnable1.dwCycle1fbTime_to_UTCFB_TzSpecificLocalTimeToSystemTime358420672fbGetTimeZoneFB_GetTimeZoneInformation348824256PouTypeFunctionBlockST_PMPS_Attenuator_IO64nTranREAL320xAttOKUINT1632ST_PMPS_Attenuator64ST_PMPS_Attenuator_IOST_PMPS_Aperture_IO96WidthREAL320plcAttribute_pytmcpv: Width + + + + + + bExecute + BOOL + 8 + 1408 + + + rtEnable + R_TRIG + 64 + 1440 + + + rtRefresh + R_TRIG + 64 + 1504 + + + ftBusy + F_TRIG + 64 + 1568 + + + fbTime + FB_LocalSystemTime + Time tracking liften from Arbiter PLCs + 19040 + 1632 + + + .bEnable + 1 + + + .dwCycle + 1 + + + + + fbTime_to_UTC + FB_TzSpecificLocalTimeToSystemTime + 3584 + 20672 + + + fbGetTimeZone + FB_GetTimeZoneInformation + 3488 + 24256 + + + + PouType + FunctionBlock + + + + + ST_PMPS_Attenuator_IO + 64 + + nTran + REAL + 32 + 0 + + + xAttOK + UINT + 16 + 32 + + + + + + + + + + + + + + + ST_PMPS_Attenuator + 64 + ST_PMPS_Attenuator_IO + + + ST_PMPS_Aperture_IO + 96 + + Width + REAL + distance between horizontal slits (x) + 32 + 0 + + + plcAttribute_pytmc + pv: Width io: i - field: EGU mmHeightREAL3232plcAttribute_pytmcpv: Height + field: EGU mm + + + + + Height + REAL + distance between vertical slits (y) + 32 + 32 + + + plcAttribute_pytmc + pv: Height io: i - field: EGU mmxOKBOOL864plcAttribute_pytmcpv: OK - io: iST_PMPS_Aperture96ST_PMPS_Aperture_IOST_BeamParams1760nTranREAL3200pytmcpv: Transmission + field: EGU mm + + + + + xOK + BOOL + status of aperture, false if error or in motion + 8 + 64 + + + plcAttribute_pytmc + pv: OK + io: i + + + + + + ST_PMPS_Aperture + 96 + ST_PMPS_Aperture_IO + + + ST_BeamParams + 1760 + + nTran + REAL + Requested pre-optic attenuation % + 32 + 0 + + 0 + + + + pytmc + pv: Transmission io: i field: HOPR 1; field: LOPR 0; field: PREC 2; - nRateUDINT32320pytmcpv: Rate + + + + + + nRate + UDINT + Pulse-rate + 32 + 32 + + 0 + + + + pytmc + pv: Rate io: i field: EGU Hz - neVRangeDWORD32640pytmcpv: eVRanges + + + + + + neVRange + DWORD + Photon energy ranges + 32 + 64 + + 0 + + + + pytmc + pv: eVRanges io: i - field: EGU eVdisplaymodebinaryneVREAL32960pytmcpv: PhotonEnergy + field: EGU eV + + + displaymode + binary + + + + + neV + REAL + Photon energy + 32 + 96 + + 0 + + + + pytmc + pv: PhotonEnergy io: i - field: EGU eVnBCRangeWORD161280pytmcpv: BeamClassRanges - io: idisplaymodebinarynBeamClassUSINT81440pytmcpv: BeamClass - io: inMachineModeUSINT81523pytmcpv: MachineMode - io: iastAttenuatorsST_PMPS_Attenuator1161024160pytmcpv: AuxAtt - io: iaVetoDevicesBOOL1161281184pytmcpv: Veto - io: iastAperturesST_PMPS_Aperture143841312[1].Width1000[1].Height1000[2].Width1000[2].Height1000[3].Width1000[3].Height1000[4].Width1000[4].Height1000pytmcpv: Apt - io: ixValidToggleBOOL81696xValidBOOL81704pytmcpv: Valid - io: inCohortIntUDINT321728pytmcpv: Cohort + field: EGU eV + + + + + nBCRange + WORD + Beamclass ranges + 16 + 128 + + 0 + + + + pytmc + pv: BeamClassRanges + io: i + + + displaymode + binary + + + + + nBeamClass + USINT + Beamclass + 8 + 144 + + 0 + + + + pytmc + pv: BeamClass + io: i + + + + + nMachineMode + USINT + Machine Mode + 8 + 152 + + 3 + + + + pytmc + pv: MachineMode + io: i + + + + + astAttenuators + ST_PMPS_Attenuator + + 1 + 16 + + Beamline attenuators + 1024 + 160 + + + pytmc + pv: AuxAtt + io: i + + + + + aVetoDevices + BOOL + + 1 + 16 + + Stoppers + 128 + 1184 + + + pytmc + pv: Veto + io: i + + + + + astApertures + ST_PMPS_Aperture + + 1 + 4 + + Apertures + 384 + 1312 + + + [1].Width + 1000 + + + [1].Height + 1000 + + + [2].Width + 1000 + + + [2].Height + 1000 + + + [3].Width + 1000 + + + [3].Height + 1000 + + + [4].Width + 1000 + + + [4].Height + 1000 + + + + + pytmc + pv: Apt + io: i + + + + + xValidToggle + BOOL + Toggle for watchdog + 8 + 1696 + + + xValid + BOOL + Beam parameter set is valid (if readback), or acknowledged (if request) + 8 + 1704 + + + pytmc + pv: Valid + io: i + + + + + nCohortInt + UDINT + Cohort index. Identifies which cohort this BP set was included in arbitration + 32 + 1728 + + + pytmc + pv: Cohort io: i field: DESC Cohort inc on each arb cycle - PE_Ranges + + + + + + PE_Ranges + Does nothing other than set the gvl for photon energy bitmask to one of two constants, K or L. Workaround for compile defines not fully working for libraries at the time of writing this. - Otherwise I would have just used the compile define in the GVL declaration.]]>32PouTypeFunctionBlockUINT (0..GVL_Param_TcUnit.MaxNumberOfTestSuites)16UINTLowerBorder0UpperBorder1000UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16UINTLowerBorder0UpperBorder100E_AssertionType8BYTEType_UNDEFINED0Type_ANY1Type_BOOL2Type_BYTE3Type_DATE4Type_DATE_AND_TIME5Type_DINT6Type_DWORD7Type_INT8Type_LINT9Type_LREAL10Type_LTIME11Type_LWORD12Type_REAL13Type_SINT14Type_STRING15Type_TIME16Type_TIME_OF_DAY17Type_UDINT18Type_UINT19Type_ULINT20Type_USINT21Type_WORD22Type_WSTRING23Type_Array2D_LREAL24Type_Array2D_REAL25Type_Array3D_LREAL26Type_Array3D_REAL27Type_Array_BOOL28Type_Array_BYTE29Type_Array_DINT30Type_Array_DWORD31Type_Array_INT32Type_Array_LINT33Type_Array_LREAL34Type_Array_LWORD35Type_Array_REAL36Type_Array_SINT37Type_Array_UDINT38Type_Array_UINT39Type_Array_ULINT40Type_Array_USINT41Type_Array_WORD42ST_TestCaseResult6192TestNameT_MaxString20480TestClassNameT_MaxString20482048TestIsFailedBOOL84096TestIsSkippedBOOL84104FailureMessageT_MaxString20484112FailureTypeE_AssertionType86160NumberOfAssertsUINT166176ST_TestSuiteResult621296NameT_MaxString20480IdentityUINT (0..GVL_Param_TcUnit.MaxNumberOfTestSuites)162048NumberOfTestsUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)162064NumberOfFailedTestsUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)162080TestCaseResultsST_TestCaseResult11006192002096ST_TestSuiteResults621296064NumberOfTestSuitesUINT160NumberOfTestCasesUINT1616NumberOfSuccessfulTestCasesUINT1632NumberOfFailedTestCasesUINT1648TestSuiteResultsST_TestSuiteResult1100062129600064I_TestResults32PVOIDGetAreTestResultsAvailableBOOL8GetTestSuiteResultsST_TestSuiteResults32UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites)16UINTLowerBorder1UpperBorder1000FB_TestResults621296256I_TestResultsTestSuiteResultsST_TestSuiteResults62129606464StoringTestSuiteResultNumberUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites)16621296128StoringTestSuiteTriggerR_TRIG64621296160StoredTestSuiteResultsBOOL8621296224StoredGeneralTestResultsBOOL8621296232NumberOfTestsToAnalyseUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites)16621296240GetAreTestResultsAvailableBOOL8GetTestSuiteResultsST_TestSuiteResults32PouTypeFunctionBlockI_TestResultLogger32PVOIDLogTestSuiteResultsUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16UINTLowerBorder1UpperBorder100FB_AdsTestResultLogger + 32 + + + PouType + FunctionBlock + + + + + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestSuites) + 16 + UINT + + + LowerBorder + 0 + + + UpperBorder + 1000 + + + + + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + UINT + + + LowerBorder + 0 + + + UpperBorder + 100 + + + + + E_AssertionType + 8 + BYTE + + Type_UNDEFINED + 0 + + + Type_ANY + 1 + + + Type_BOOL + 2 + Primitive types + + + Type_BYTE + 3 + + + Type_DATE + 4 + + + Type_DATE_AND_TIME + 5 + + + Type_DINT + 6 + + + Type_DWORD + 7 + + + Type_INT + 8 + + + Type_LINT + 9 + + + Type_LREAL + 10 + + + Type_LTIME + 11 + + + Type_LWORD + 12 + + + Type_REAL + 13 + + + Type_SINT + 14 + + + Type_STRING + 15 + + + Type_TIME + 16 + + + Type_TIME_OF_DAY + 17 + + + Type_UDINT + 18 + + + Type_UINT + 19 + + + Type_ULINT + 20 + + + Type_USINT + 21 + + + Type_WORD + 22 + + + Type_WSTRING + 23 + + + Type_Array2D_LREAL + 24 + Array types + + + Type_Array2D_REAL + 25 + + + Type_Array3D_LREAL + 26 + + + Type_Array3D_REAL + 27 + + + Type_Array_BOOL + 28 + + + Type_Array_BYTE + 29 + + + Type_Array_DINT + 30 + + + Type_Array_DWORD + 31 + + + Type_Array_INT + 32 + + + Type_Array_LINT + 33 + + + Type_Array_LREAL + 34 + + + Type_Array_LWORD + 35 + + + Type_Array_REAL + 36 + + + Type_Array_SINT + 37 + + + Type_Array_UDINT + 38 + + + Type_Array_UINT + 39 + + + Type_Array_ULINT + 40 + + + Type_Array_USINT + 41 + + + Type_Array_WORD + 42 + + + + ST_TestCaseResult + 6192 + + TestName + T_MaxString + 2048 + 0 + + + TestClassName + T_MaxString + 2048 + 2048 + + + TestIsFailed + BOOL + 8 + 4096 + + + TestIsSkipped + BOOL + 8 + 4104 + + + FailureMessage + T_MaxString + 2048 + 4112 + + + FailureType + E_AssertionType + 8 + 6160 + + + NumberOfAsserts + UINT + 16 + 6176 + + + + ST_TestSuiteResult + 621296 + + Name + T_MaxString + Full class name + 2048 + 0 + + + Identity + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestSuites) + Should be 0..GVL_Param_TcUnit.MaxNumberOfTestSuites-1 but gives unknown compiler error + 16 + 2048 + + + NumberOfTests + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + 2064 + + + NumberOfFailedTests + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + 2080 + + + TestCaseResults + ST_TestCaseResult + + 1 + 100 + + 619200 + 2096 + + + + ST_TestSuiteResults + 621296064 + + NumberOfTestSuites + UINT + The total number of test suites + 16 + 0 + + + NumberOfTestCases + UINT + The total number of test cases (for all test suites) + 16 + 16 + + + NumberOfSuccessfulTestCases + UINT + The total number of test cases that had all ASSERTS successful + 16 + 32 + + + NumberOfFailedTestCases + UINT + The total number of test cases that had at least one ASSERT failed + 16 + 48 + + + TestSuiteResults + ST_TestSuiteResult + + 1 + 1000 + + Test results for each individiual test suite + 621296000 + 64 + + + + I_TestResults + 32 + PVOID + + GetAreTestResultsAvailable + BOOL + 8 + + + GetTestSuiteResults + ST_TestSuiteResults + 32 + + + + UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) + 16 + UINT + + + LowerBorder + 1 + + + UpperBorder + 1000 + + + + + FB_TestResults + This function block holds results of the complete test run, i.e. results for all test suites + 621296256 + I_TestResults + + TestSuiteResults + ST_TestSuiteResults + Test results + 621296064 + 64 + + + StoringTestSuiteResultNumber + UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) + Misc variables + 16 + 621296128 + + + StoringTestSuiteTrigger + R_TRIG + 64 + 621296160 + + + StoredTestSuiteResults + BOOL + 8 + 621296224 + + + StoredGeneralTestResults + BOOL + 8 + 621296232 + + + NumberOfTestsToAnalyse + UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) + 16 + 621296240 + + + GetAreTestResultsAvailable + BOOL + 8 + + + GetTestSuiteResults + ST_TestSuiteResults + 32 + + + + PouType + FunctionBlock + + + + + I_TestResultLogger + 32 + PVOID + + LogTestSuiteResults + + + + UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + UINT + + + LowerBorder + 1 + + + UpperBorder + 100 + + + + + FB_AdsTestResultLogger + This function block reports the results from the tests using the built-in ADSLOGSTR functionality provided by the Tc2_System library. This sends the result using ADS, which is consumed by the "Error List" of Visual Studio (which can print Errors, Warnings and Messages). -]]>224I_TestResultLoggerTestResultsI_TestResults3264PrintingTestSuiteResultNumberUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites)1696PrintingTestSuiteTriggerR_TRIG64128PrintedFinalTestResultsBOOL8192PrintedTestSuitesResultsBOOL8200LogTestSuiteResultsTcUnitTestResultsST_TestSuiteResults32StringToPrintT_MaxString2048TestsInTestSuiteCounterUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16MaxNumberOfTestsToPrintUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16TEST_STATUS_SKIPSTRING(80)648TEST_STATUS_PASSSTRING(80)648TEST_STATUS_FAILSTRING(80)648PouTypeFunctionBlockRTS_IEC_RESULT32UDINTACCESS_MODE32UDINTAM_READ0AM_WRITE1AM_APPEND2AM_READ_PLUS3AM_WRITE_PLUS4AM_APPEND_PLUS5RTS_IEC_SIZE32BYTERTS_IEC_HANDLE32BYTEFB_FileControl + 224 + I_TestResultLogger + + TestResults + I_TestResults + 32 + 64 + + + PrintingTestSuiteResultNumber + UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) + 16 + 96 + + + PrintingTestSuiteTrigger + R_TRIG + 64 + 128 + + + PrintedFinalTestResults + BOOL + This flag is set once the final end result has printed + 8 + 192 + + + PrintedTestSuitesResults + BOOL + This flag is set once the test suites result have been printed + 8 + 200 + + + LogTestSuiteResults + + TcUnitTestResults + ST_TestSuiteResults + 32 + + + StringToPrint + T_MaxString + 2048 + + + TestsInTestSuiteCounter + UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + + + MaxNumberOfTestsToPrint + UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + + + TEST_STATUS_SKIP + STRING(80) + 648 + + + TEST_STATUS_PASS + STRING(80) + 648 + + + TEST_STATUS_FAIL + STRING(80) + 648 + + + + + PouType + FunctionBlock + + + + + RTS_IEC_RESULT + 32 + UDINT + + + ACCESS_MODE + 32 + UDINT + + AM_READ + 0 + Open an existing file with Read access. If file does not exist, Open fails + + + AM_WRITE + 1 + Create new file with Write access. If file does exist, content is discarded + + + AM_APPEND + 2 + Open an existing file with Append (only write) access. If file does not exist, Open fails + + + AM_READ_PLUS + 3 + Open an existing file with Read/Write access. If file does not exist, Open fails + + + AM_WRITE_PLUS + 4 + Create new file with Read/Write access. If file does exist, content is discarded + + + AM_APPEND_PLUS + 5 + Open an existing file with Append (read/write) access. If file does not exist, Open creates a new file + + + + RTS_IEC_SIZE + 32 + BYTE + + + RTS_IEC_HANDLE + 32 + BYTE + + + FB_FileControl + This functionblock can open, close, read, write and delete files on the local filesystem -]]>96FileAccessModeACCESS_MODE32325FileHandleRTS_IEC_HANDLE3264ReadRTS_IEC_RESULT32BufferPointerBYTE32SizeUDINT32FileSizeRTS_IEC_SIZE32ItemTypeOutputCloseRTS_IEC_RESULT32OpenRTS_IEC_RESULT32FileNameT_MaxString2048FileAccessModeACCESS_MODE32DeleteRTS_IEC_RESULT32FileNameT_MaxString2048WriteRTS_IEC_RESULT32BufferPointerBYTE32SizeUDINT32PouTypeFunctionBlockE_XmlError8BYTEOk0ErrorMaxBufferLen1ErrorStringLen2Error3FB_StreamBuffer + 96 + + FileAccessMode + ACCESS_MODE + Append_Plus creates the file if it doesn't exist yet. + 32 + 32 + + 5 + + + + FileHandle + RTS_IEC_HANDLE + 32 + 64 + + + Read + RTS_IEC_RESULT + 32 + + BufferPointer + Call with ADR(); + BYTE + 32 + + + Size + Call with SIZEOF(); + UDINT + 32 + + + FileSize + RTS_IEC_SIZE + 32 + + + ItemType + Output + + + + + + Close + RTS_IEC_RESULT + 32 + + + Open + RTS_IEC_RESULT + 32 + + FileName + File name can contain an absolute or relative path to the file. Path entries must be separated with a Slash (/) + T_MaxString + 2048 + + + FileAccessMode + ACCESS_MODE + 32 + + + + Delete + RTS_IEC_RESULT + 32 + + FileName + File name can contain an absolute or relative path to the file. Path entries must be separated with a forward slash (/) + T_MaxString + 2048 + + + + Write + RTS_IEC_RESULT + 32 + + BufferPointer + Call with ADR(); + BYTE + 32 + + + Size + Call with SIZEOF(); + UDINT + 32 + + + + + PouType + FunctionBlock + + + + + E_XmlError + 8 + BYTE + + Ok + 0 + + + ErrorMaxBufferLen + 1 + + + ErrorStringLen + 2 + + + Error + 3 + + + + FB_StreamBuffer + This functionblock acts as a stream buffer for use with FB_XmlControl -]]>128_PointerToStringBufferBYTE3232_BufferSizeUDINT3264_LengthUDINT3296CutOffT_MaxString2048StartPosUDINT32CutLenUDINT32ItemTypeOutputXmlErrorE_XmlError8ItemTypeOutputLoopUDINT32PointerToByteToCutBYTE32PointerToByteBufferBYTE32FindUDINT32SearchStringSTRING(80)648StartPosUDINT32LoopUDINT32SearchUDINT32PointerToBufferBYTE32PointerToSearchBYTE32FindBackUDINT32SearchStringT_MaxString2048LoopUDINT32SearchUDINT32PointerToBufferBYTE32PointerToSearchBYTE32__getLengthUDINT32LengthUDINT32propertyClearCountUDINT32__setAppendAppend + 128 + + _PointerToStringBuffer + BYTE + 32 + 32 + + + _BufferSize + UDINT + 32 + 64 + + + _Length + UDINT + 32 + 96 + + + CutOff + T_MaxString + 2048 + + StartPos + UDINT + 32 + + + CutLen + UDINT + 32 + + + ItemType + Output + + + + + XmlError + E_XmlError + 8 + + + ItemType + Output + + + + + Loop + UDINT + 32 + + + PointerToByteToCut + BYTE + 32 + + + PointerToByteBuffer + BYTE + 32 + + + + Find + UDINT + 32 + + SearchString + STRING(80) + 648 + + + StartPos + UDINT + 32 + + + Loop + UDINT + 32 + + + Search + UDINT + 32 + + + PointerToBuffer + BYTE + 32 + + + PointerToSearch + BYTE + 32 + + + + FindBack + UDINT + 32 + + SearchString + T_MaxString + 2048 + + + Loop + UDINT + 32 + + + Search + UDINT + 32 + + + PointerToBuffer + BYTE + 32 + + + PointerToSearch + BYTE + 32 + + + + __getLength + UDINT + 32 + + Length + UDINT + 32 + + + + property + + + + + Clear + + Count + UDINT + 32 + + + + __setAppend + + Append + Appends a string to the buffer -]]>T_MaxString2048ByteInBYTE32ByteBufferBYTE32property__getBufferSizeUDINT32BufferSizeUDINT32property__setLengthLength + T_MaxString + 2048 + + + ByteIn + BYTE + 32 + + + ByteBuffer + BYTE + 32 + + + + property + + + + + __getBufferSize + UDINT + 32 + + BufferSize + UDINT + 32 + + + + property + + + + + __setLength + + Length + Gets/Sets the current length (in bytes) of the streambuffer -]]>UDINT32propertySetBufferBOOL8PointerToBufferAddressBYTE32SizeOfBufferUDINT32CopyT_MaxString2048StartPosUDINT32EndPosUDINT32CopyLenUDINT32ItemTypeOutputXmlErrorE_XmlError8ItemTypeOutputLoopUDINT32PointerToByteToCopyBYTE32PointerToBufferBYTE32CurPosUDINT32PouTypeFunctionBlockFB_XmlControl + UDINT + 32 + + + + property + + + + + SetBuffer + BOOL + 8 + + PointerToBufferAddress + Set buffer address (ADR ...) + BYTE + 32 + + + SizeOfBuffer + Set buffer size (SIZEOF ...) + UDINT + 32 + + + + Copy + T_MaxString + 2048 + + StartPos + UDINT + 32 + + + EndPos + UDINT + 32 + + + CopyLen + UDINT + 32 + + + ItemType + Output + + + + + XmlError + E_XmlError + 8 + + + ItemType + Output + + + + + Loop + UDINT + 32 + + + PointerToByteToCopy + BYTE + 32 + + + PointerToBuffer + BYTE + 32 + + + CurPos + UDINT + 32 + + + + + PouType + FunctionBlock + + + + + FB_XmlControl + Organizes parsing and composing of XML data. Data can be treated as STRING or char array. Buffer size of file can be set via GVL_Param_TcUnit (xUnitBufferSize) -]]>5696XmlBufferFB_StreamBuffer12832TagListBufferFB_StreamBuffer128160TagsT_MaxString2048288TagListSeekBufferFB_StreamBuffer1282336TagsSeekSTRING(80)6482464TagBufferFB_StreamBuffer1283136TagT_MaxString20483264TagOpenBOOL85312SelectUDINT325344SearchPositionUDINT325376TAG_OPENSTRING(1)165408<TAG_CLOSESTRING(1)165424>END_TAG_CLOSESTRING(2)245440/>SPACESTRING(1)165464 EQUALSSTRING(1)165480=QUOTESTRING(1)165496"BACK_SLASHSTRING(1)165512\FORWARD_SLASHSTRING(1)165528/OPEN_COMMENTSTRING(5)485544<!-- CLOSE_COMMENTSTRING(4)405592 -->TABSTRING(2)245632 CR_LFSTRING(4)405656 -NewParameterNameT_MaxString2048ValueT_MaxString2048NewTagNameT_MaxString2048CloseTagT_MaxString2048ClosedTagT_MaxString2048WriteDocumentHeaderHeaderT_MaxString2048NewCommentCommentT_MaxString2048__getLengthUDINT32LengthUDINT32propertyNewTagDataDataT_MaxString2048SetBufferPointerToBufferBYTE32SizeOfBufferUDINT32ClearBufferToStartBufferPouTypeFunctionBlockFB_xUnitXmlPublisher + 5696 + + XmlBuffer + FB_StreamBuffer + 128 + 32 + + + TagListBuffer + FB_StreamBuffer + 128 + 160 + + + Tags + T_MaxString + 2048 + 288 + + + TagListSeekBuffer + FB_StreamBuffer + 128 + 2336 + + + TagsSeek + STRING(80) + 648 + 2464 + + + TagBuffer + FB_StreamBuffer + 128 + 3136 + + + Tag + T_MaxString + 2048 + 3264 + + + TagOpen + BOOL + 8 + 5312 + + + Select + UDINT + 32 + 5344 + + + SearchPosition + UDINT + 32 + 5376 + + + TAG_OPEN + STRING(1) + 16 + 5408 + + < + + + + TAG_CLOSE + STRING(1) + 16 + 5424 + + > + + + + END_TAG_CLOSE + STRING(2) + 24 + 5440 + + /> + + + + SPACE + STRING(1) + 16 + 5464 + + + + + + EQUALS + STRING(1) + 16 + 5480 + + = + + + + QUOTE + STRING(1) + 16 + 5496 + + " + + + + BACK_SLASH + STRING(1) + 16 + 5512 + + \ + + + + FORWARD_SLASH + STRING(1) + 16 + 5528 + + / + + + + OPEN_COMMENT + STRING(5) + 48 + 5544 + + <!-- + + + + CLOSE_COMMENT + STRING(4) + 40 + 5592 + + --> + + + + TAB + STRING(2) + 24 + 5632 + + + + + + CR_LF + STRING(4) + 40 + 5656 + + + + + + + NewParameter + + Name + T_MaxString + 2048 + + + Value + T_MaxString + 2048 + + + + NewTag + + Name + T_MaxString + 2048 + + + + CloseTag + T_MaxString + 2048 + + ClosedTag + T_MaxString + 2048 + + + + WriteDocumentHeader + + Header + T_MaxString + 2048 + + + + NewComment + + Comment + T_MaxString + 2048 + + + + __getLength + UDINT + 32 + + Length + UDINT + 32 + + + + property + + + + + NewTagData + + Data + T_MaxString + 2048 + + + + SetBuffer + + PointerToBuffer + ADR(..) + BYTE + 32 + + + SizeOfBuffer + SIZEOF(..) + UDINT + 32 + + + + ClearBuffer + + + ToStartBuffer + + + + PouType + FunctionBlock + + + + + FB_xUnitXmlPublisher + Publishes test results into an xUnit compatible Xml file -]]>530304I_TestResultLoggerTestResultsI_TestResults3264AccessModeACCESS_MODE32964FileFB_FileControl96128XmlFB_XmlControl5696224BufferInitialisedBOOL859200BufferBYTE0655355242805928WritingTestSuiteResultNumberUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites)16530208PublishTriggerR_TRIG64530240DeleteOpenWriteCloseRTS_IEC_RESULT32LogTestSuiteResultsUnitTestResultsST_TestSuiteResults32CurrentSuiteNumberUINT16CurrentTestCountUINT16TEST_STATUS_SKIPSTRING(80)648TEST_STATUS_PASSSTRING(80)648TEST_STATUS_FAILSTRING(80)648InitialisedBOOL8PouTypeFunctionBlockFB_TcUnitRunner + 530304 + I_TestResultLogger + + TestResults + I_TestResults + Dependancy Injection via FB_Init + 32 + 64 + + + AccessMode + ACCESS_MODE + File access mode + 32 + 96 + + 4 + + + + File + FB_FileControl + 96 + 128 + + + Xml + FB_XmlControl + 5696 + 224 + + + BufferInitialised + BOOL + 8 + 5920 + + 0 + + + + Buffer + BYTE + + 0 + 65535 + + 524280 + 5928 + + + WritingTestSuiteResultNumber + UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) + 16 + 530208 + + + PublishTrigger + R_TRIG + 64 + 530240 + + + DeleteOpenWriteClose + RTS_IEC_RESULT + 32 + + + LogTestSuiteResults + + UnitTestResults + ST_TestSuiteResults + 32 + + + CurrentSuiteNumber + UINT + 16 + + + CurrentTestCount + UINT + 16 + + + TEST_STATUS_SKIP + STRING(80) + 648 + + + TEST_STATUS_PASS + STRING(80) + 648 + + + TEST_STATUS_FAIL + STRING(80) + 648 + + + + Initialised + BOOL + 8 + + + + PouType + FunctionBlock + + + + + FB_TcUnitRunner + This function block is responsible for holding track of the tests and executing them. -]]>621827200AllTestSuitesFinishedBOOL8320TestResultsFB_TestResults62129625664AdsTestResultLoggerFB_AdsTestResultLogger224621296320old_input_assignmentsTestResultLoggerI_TestResultLogger32621296544AbortRunningTestSuitesBOOL8621296576xUnitXmlPublisherFB_xUnitXmlPublisher530304621296608old_input_assignmentsXmlTestResultPublisherI_TestResultLogger32621826912__RUNTESTSUITETESTSINSEQUENCE__CURRENTLYRUNNINGTESTSUITEUINT166218269441__RUNTESTSUITETESTSINSEQUENCE__TIMERBETWEENEXECUTIONOFTESTSUITESTOF224621826976AbortRunningTestSuiteTestsRunTestSuiteTestsInSequenceTimeBetweenTestSuitesExecutionTIME32BusyPrintingBOOL8NumberOfTestSuitesFinished + 621827200 + + AllTestSuitesFinished + BOOL + Indication of whether all test suites have reported that they are finished + 8 + 32 + + 0 + + + + TestResults + FB_TestResults + Test result information + 621296256 + 64 + + + AdsTestResultLogger + FB_AdsTestResultLogger + Prints the results to ADS so that Visual Studio can display the results. + This test result formatter can be replaced with something else than ADS + 224 + 621296320 + + + old_input_assignments + + + + + TestResultLogger + I_TestResultLogger + 32 + 621296544 + + + AbortRunningTestSuites + BOOL + If this flag is set, it means that some external event triggered the + request to abort running the test suites + 8 + 621296576 + + + xUnitXmlPublisher + FB_xUnitXmlPublisher + Publishes a xUnit compatible XML file + 530304 + 621296608 + + + old_input_assignments + + + + + XmlTestResultPublisher + I_TestResultLogger + 32 + 621826912 + + + __RUNTESTSUITETESTSINSEQUENCE__CURRENTLYRUNNINGTESTSUITE + UINT + This variable holds which current test suite is being called, as we are running + each one in a sequence (one by one) + 16 + 621826944 + + 1 + + + + __RUNTESTSUITETESTSINSEQUENCE__TIMERBETWEENEXECUTIONOFTESTSUITES + TOF + 224 + 621826976 + + + AbortRunningTestSuiteTests + + + RunTestSuiteTestsInSequence + + TimeBetweenTestSuitesExecution + Time delay between a test suite is finished and the next test suite starts + TIME + 32 + + + BusyPrinting + BOOL + 8 + + + NumberOfTestSuitesFinished + We need to hold a temporary state of the statistics as we don't consider the tests to be completely finished until all test suites have executed completely. The reason we want to do it this way is because a test suite can run over several cycles. Only once all tests - are finished (which might take many cycles), do we gather correct statistics ]]>UINT16CurrentlyRunningTestSuiteUINT16uselocation__RUNTESTSUITETESTSINSEQUENCE__CURRENTLYRUNNINGTESTSUITETimerBetweenExecutionOfTestSuitesTOF224uselocation__RUNTESTSUITETESTSINSEQUENCE__TIMERBETWEENEXECUTIONOFTESTSUITESRunTestSuiteTestsCounterUINT16BusyPrintingBOOL8NumberOfTestSuitesFinished + UINT + 16 + + + CurrentlyRunningTestSuite + This variable holds which current test suite is being called, as we are running + each one in a sequence (one by one) + UINT + 16 + + + uselocation + __RUNTESTSUITETESTSINSEQUENCE__CURRENTLYRUNNINGTESTSUITE + + + + + TimerBetweenExecutionOfTestSuites + TOF + 224 + + + uselocation + __RUNTESTSUITETESTSINSEQUENCE__TIMERBETWEENEXECUTIONOFTESTSUITES + + + + + + RunTestSuiteTests + + Counter + UINT + 16 + + + BusyPrinting + BOOL + 8 + + + NumberOfTestSuitesFinished + We need to hold a temporary state of the statistics as we don't consider the tests to be completely finished until all test suites have executed completely. The reason we want to do it this way is because a test suite can run over several cycles. Only once all tests - are finished (which might take many cycles), do we gather correct statistics ]]>UINT16PouTypeFunctionBlockFB_Test + UINT + 16 + + + + + PouType + FunctionBlock + + + + + FB_Test + This function block holds all data that defines a test. -]]>4192TestNameT_MaxString204832TestIsFinishedBOOL82080TestIsSkippedBOOL82088NumberOfAssertionsUINT162096TestOrderNumberUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 4192 + + TestName + T_MaxString + 2048 + 32 + + + TestIsFinished + BOOL + 8 + 2080 + + + TestIsSkipped + BOOL + This is set to true, if test is disabled (by putting the string "disabled_" in front of the test name + 8 + 2088 + + + NumberOfAssertions + UINT + 16 + 2096 + + + TestOrderNumber + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + In which order/sequence relative to the order tests should this test be executed/evaluated. A value of 0 means it is not defined by TEST_ORDERED() but by un-ordered test (TEST()). - A value <> 0 tells in which order this test will be executed/evaluated. The lower the number, the earlier it will execute. ]]>162112TestIsFailedBOOL82128AssertionMessageT_MaxString20482136AssertionTypeE_AssertionType84184GetAssertionTypeE_AssertionType8SetFailedSetNameNameT_MaxString2048GetNameT_MaxString2048SetNumberOfAssertionsNoOfAssertionsUINT16SetTestOrderOrderNumberUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16IsSkippedBOOL8GetNumberOfAssertionsUINT16SetFinishedBOOL8GetAssertionMessageT_MaxString2048SetSkippedSetAssertionMessageAssertMessageT_MaxString2048SetAssertionTypeAssertTypeE_AssertionType8IsFinishedBOOL8GetTestOrderUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16IsFailedBOOL8PouTypeFunctionBlockUINT (1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16UINTLowerBorder1UpperBorder100U_ExpectedOrActual4096boolExpectedOrActualBOOL80bitExpectedOrActualBIT80byteExpectedOrActualBYTE80sintExpectedOrActualSINT80usintExpectedOrActualUSINT80intExpectedOrActualINT160uintExpectedOrActualUINT160wordExpectedOrActualWORD160dwordExpectedOrActualDWORD320dateandtimeExpectedOrActualDATE_AND_TIME320dintExpectedOrActualDINT320realExpectedOrActualREAL320timeExpectedOrActualTIME320dateExpectedOrActualDATE320udintExpectedOrActualUDINT320timeofdayExpectedOrActualTIME_OF_DAY320lwordExpectedOrActualLWORD640lintExpectedOrActualLINT640ulintExpectedOrActualULINT640lrealExpectedOrActualLREAL640ltimeExpectedOrActualLTIME640stringExpectedOrActualT_MaxString20480wstringExpectedOrActualWSTRING(255)40960ST_AssertResult12288ExpectedU_ExpectedOrActual40960ActualU_ExpectedOrActual40964096MessageT_MaxString20488192TestInstancePathT_MaxString204810240ST_AssertResultInstances12352AssertResultST_AssertResult122880DetectionCountUINT1612288DetectionCountThisCycleUINT1612304FB_AssertResultStatic + 16 + 2112 + + + TestIsFailed + BOOL + Indication of whether this test has at least one failed assert + 8 + 2128 + + + AssertionMessage + T_MaxString + Assertion message for the first assertion in this test + 2048 + 2136 + + + AssertionType + E_AssertionType + Assertion type for the first assertion in this test + 8 + 4184 + + + GetAssertionType + E_AssertionType + 8 + + + SetFailed + + + SetName + + Name + T_MaxString + 2048 + + + + GetName + T_MaxString + 2048 + + + SetNumberOfAssertions + + NoOfAssertions + UINT + 16 + + + + SetTestOrder + + OrderNumber + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + + + + IsSkipped + BOOL + 8 + + + GetNumberOfAssertions + UINT + 16 + + + SetFinished + BOOL + 8 + + + GetAssertionMessage + T_MaxString + 2048 + + + SetSkipped + + + SetAssertionMessage + + AssertMessage + T_MaxString + 2048 + + + + SetAssertionType + + AssertType + E_AssertionType + 8 + + + + IsFinished + BOOL + 8 + + + GetTestOrder + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + + + IsFailed + BOOL + 8 + + + + PouType + FunctionBlock + + + + + UINT (1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + UINT + + + LowerBorder + 1 + + + UpperBorder + 100 + + + + + U_ExpectedOrActual + 4096 + + boolExpectedOrActual + BOOL + 8 + 0 + + + bitExpectedOrActual + BIT + 8 + 0 + + + byteExpectedOrActual + BYTE + 8 + 0 + + + sintExpectedOrActual + SINT + 8 + 0 + + + usintExpectedOrActual + USINT + 8 + 0 + + + intExpectedOrActual + INT + 16 + 0 + + + uintExpectedOrActual + UINT + 16 + 0 + + + wordExpectedOrActual + WORD + 16 + 0 + + + dwordExpectedOrActual + DWORD + 32 + 0 + + + dateandtimeExpectedOrActual + DATE_AND_TIME + 32 + 0 + + + dintExpectedOrActual + DINT + 32 + 0 + + + realExpectedOrActual + REAL + 32 + 0 + + + timeExpectedOrActual + TIME + 32 + 0 + + + dateExpectedOrActual + DATE + 32 + 0 + + + udintExpectedOrActual + UDINT + 32 + 0 + + + timeofdayExpectedOrActual + TIME_OF_DAY + 32 + 0 + + + lwordExpectedOrActual + LWORD + 64 + 0 + + + lintExpectedOrActual + LINT + 64 + 0 + + + ulintExpectedOrActual + ULINT + 64 + 0 + + + lrealExpectedOrActual + LREAL + 64 + 0 + + + ltimeExpectedOrActual + LTIME + 64 + 0 + + + stringExpectedOrActual + T_MaxString + 2048 + 0 + + + wstringExpectedOrActual + WSTRING(255) + 4096 + 0 + + + + ST_AssertResult + 12288 + + Expected + U_ExpectedOrActual + 4096 + 0 + + + Actual + U_ExpectedOrActual + 4096 + 4096 + + + Message + T_MaxString + 2048 + 8192 + + + TestInstancePath + T_MaxString + 2048 + 10240 + + + + ST_AssertResultInstances + 12352 + + AssertResult + ST_AssertResult + 12288 + 0 + + + DetectionCount + UINT + Number of instances of the "AssertResult" + 16 + 12288 + + + DetectionCountThisCycle + UINT + Number of instance of the "AssertResult" in this specific PLC-cycle + 16 + 12304 + + + + FB_AssertResultStatic + This function block is responsible for keeping track of which asserts that have been made. The reason we need to keep track of these is because if the user does the same assert twice (because of running a test suite over several PLC-cycles) we want to know it so we don't print several times (if the assert fails). @@ -307,7 +22015,457 @@ contributing fast faults, unless the FFO is currently vetoed. - Value of actual - Message (string) - Test instance path (string) -]]>24640320AssertResultsST_AssertResult110001228800064TotalAssertsUINT16122880640GetCurrentTaskIndexGETCURTASKINDEX12812288096AssertResultInstancesST_AssertResultInstances110001235200012288256CycleCountUDINT3224640256FirstCycleExecutedBOOL824640288CopyDetectionCountAndResetDetectionCountInThisCycleIteratorCounterUINT16GetNumberOfAssertsForTestUINT16CompleteTestInstancePathT_MaxString2048CounterUINT16NumberOfAssertsUINT16CreateAssertResultInstanceExpectedSizeUDINT32ExpectedTypeClassTypeClass16ExpectedValueBYTE32ActualSizeUDINT32ActualTypeClassTypeClass16ActualValueBYTE32MessageT_MaxString2048TestInstancePathT_MaxString2048IteratorCounterUINT16GetDetectionCountThisCycleUINT16ExpectedSizeUDINT32ExpectedTypeClassTypeClass16ExpectedValueBYTE32ActualSizeUDINT32ActualTypeClassTypeClass16ActualValueBYTE32MessageT_MaxString2048TestInstancePathT_MaxString2048IteratorCounterUINT16GetDetectionCountUINT16ExpectedSizeUDINT32ExpectedTypeClassTypeClass16ExpectedValueBYTE32ActualSizeUDINT32ActualTypeClassTypeClass16ActualValueBYTE32MessageT_MaxString2048TestInstancePathT_MaxString2048IteratorCounterUINT16ReportResultExpectedSizeUDINT32ExpectedTypeClassTypeClass16ExpectedValueBYTE32ActualSizeUDINT32ActualTypeClassTypeClass16ActualValueBYTE32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8ItemTypeOutputLocationIndexUINT16DataTypesNotEqualsBOOL8DataSizeNotEqualsBOOL8DataContentNotEqualsBOOL8CurrentCycleCountUDINT32IteratorCounterUINT16DetectionCountTempUINT16FoundOneBOOL8AdditionalIdenticalAssertBOOL8AddAssertResultExpectedSizeUDINT32ExpectedTypeClassTypeClass16ExpectedValueBYTE32ActualSizeUDINT32ActualTypeClassTypeClass16ActualValueBYTE32MessageT_MaxString2048TestInstancePathT_MaxString2048PouTypeFunctionBlockST_AssertArrayResult4224ExpectedsSizeUDINT320ExpectedsTypeClassTypeClass1632ActualsSizeUDINT3264ActualsTypeClassTypeClass1696MessageT_MaxString2048112TestInstancePathT_MaxString20482160ST_AssertArrayResultInstances4256AssertArrayResultST_AssertArrayResult42240DetectionCountUINT164224DetectionCountThisCycleUINT164240FB_AssertArrayResultStatic + 24640320 + + AssertResults + ST_AssertResult + + 1 + 1000 + + The total number of instances of each of the "AssertResults" + 12288000 + 64 + + + TotalAsserts + UINT + The total number of unique asserts + 16 + 12288064 + + 0 + + + + GetCurrentTaskIndex + GETCURTASKINDEX + Function block to get the current task cycle + 128 + 12288096 + + + AssertResultInstances + ST_AssertResultInstances + + 1 + 1000 + + The total number of instances of each of the "AssertResults" + 12352000 + 12288256 + + + CycleCount + UDINT + The last PLC cycle count + 32 + 24640256 + + + FirstCycleExecuted + BOOL + Only run first cycle + 8 + 24640288 + + + CopyDetectionCountAndResetDetectionCountInThisCycle + + IteratorCounter + UINT + 16 + + + + GetNumberOfAssertsForTest + UINT + 16 + + CompleteTestInstancePath + T_MaxString + 2048 + + + Counter + UINT + 16 + + + NumberOfAsserts + UINT + 16 + + + + CreateAssertResultInstance + + ExpectedSize + UDINT + 32 + + + ExpectedTypeClass + TypeClass + 16 + + + ExpectedValue + BYTE + 32 + + + ActualSize + UDINT + 32 + + + ActualTypeClass + TypeClass + 16 + + + ActualValue + BYTE + 32 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + + GetDetectionCountThisCycle + UINT + 16 + + ExpectedSize + UDINT + 32 + + + ExpectedTypeClass + TypeClass + 16 + + + ExpectedValue + BYTE + 32 + + + ActualSize + UDINT + 32 + + + ActualTypeClass + TypeClass + 16 + + + ActualValue + BYTE + 32 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + + GetDetectionCount + UINT + 16 + + ExpectedSize + UDINT + 32 + + + ExpectedTypeClass + TypeClass + 16 + + + ExpectedValue + BYTE + 32 + + + ActualSize + UDINT + 32 + + + ActualTypeClass + TypeClass + 16 + + + ActualValue + BYTE + 32 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + + ReportResult + + ExpectedSize + UDINT + 32 + + + ExpectedTypeClass + TypeClass + 16 + + + ExpectedValue + BYTE + 32 + + + ActualSize + UDINT + 32 + + + ActualTypeClass + TypeClass + 16 + + + ActualValue + BYTE + 32 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + ItemType + Output + + + + + LocationIndex + UINT + 16 + + + DataTypesNotEquals + BOOL + 8 + + + DataSizeNotEquals + BOOL + 8 + + + DataContentNotEquals + BOOL + 8 + + + CurrentCycleCount + UDINT + 32 + + + IteratorCounter + UINT + 16 + + + DetectionCountTemp + UINT + 16 + + + FoundOne + BOOL + 8 + + + AdditionalIdenticalAssert + BOOL + 8 + + + + AddAssertResult + + ExpectedSize + UDINT + 32 + + + ExpectedTypeClass + TypeClass + 16 + + + ExpectedValue + BYTE + 32 + + + ActualSize + UDINT + 32 + + + ActualTypeClass + TypeClass + 16 + + + ActualValue + BYTE + 32 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + + + PouType + FunctionBlock + + + + + ST_AssertArrayResult + 4224 + + ExpectedsSize + UDINT + Size in bytes of the expecteds-array + 32 + 0 + + + ExpectedsTypeClass + TypeClass + The data type of the expecteds-array + 16 + 32 + + + ActualsSize + UDINT + Size in bytes of the actuals-array + 32 + 64 + + + ActualsTypeClass + TypeClass + The data type of the actuals-array + 16 + 96 + + + Message + T_MaxString + 2048 + 112 + + + TestInstancePath + T_MaxString + 2048 + 2160 + + + + ST_AssertArrayResultInstances + 4256 + + AssertArrayResult + ST_AssertArrayResult + 4224 + 0 + + + DetectionCount + UINT + Number of instances of the "AssertArrayResult" + 16 + 4224 + + + DetectionCountThisCycle + UINT + Number of instance of the "AssertArrayResult" in this specific PLC-cycle + 16 + 4240 + + + + FB_AssertArrayResultStatic + This function block is responsible for keeping track of which array-asserts that have been made. The reason we need to keep track of these is because if the user does the same assert twice (because of running a test suite over several PLC-cycles) we want to know it so we don't print several times @@ -318,34 +22476,6923 @@ contributing fast faults, unless the FFO is currently vetoed. - Datatype of the actuals - Message (string) - Test instance path (string) -]]>8480256AssertArrayResultsST_AssertArrayResult11000422400032TotalArrayAssertsUINT1642240320GetCurrentTaskIndexGETCURTASKINDEX1284224064AssertArrayResultInstancesST_AssertArrayResultInstances1100042560004224192CycleCountUDINT328480192FirstCycleExecutedBOOL88480224CreateAssertResultInstanceExpectedsSizeUDINT32ExpectedsTypeClassTypeClass16ActualsSizeUDINT32ActualsTypeClassTypeClass16MessageT_MaxString2048TestInstancePathT_MaxString2048IteratorCounterUINT16GetDetectionCountThisCycleUINT16ExpectedsSizeUDINT32ExpectedsTypeClassTypeClass16ActualsSizeUDINT32ActualsTypeClassTypeClass16MessageT_MaxString2048TestInstancePathT_MaxString2048IteratorCounterUINT16GetDetectionCountUINT16ExpectedsSizeUDINT32ExpectedsTypeClassTypeClass16ActualsSizeUDINT32ActualsTypeClassTypeClass16MessageT_MaxString2048TestInstancePathT_MaxString2048IteratorCounterUINT16ReportResultExpectedsSizeUDINT32ExpectedsTypeClassTypeClass16ActualsSizeUDINT32ActualsTypeClassTypeClass16MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8ItemTypeOutputLocationIndexUINT16DataTypesNotEqualsBOOL8DataSizeNotEqualsBOOL8DataContentNotEqualsBOOL8CurrentCycleCountUDINT32IteratorCounterUINT16DetectionCountTempUINT16FoundOneBOOL8AdditionalIdenticalAssertBOOL8GetNumberOfArrayAssertsForTestUINT16CompleteTestInstancePathT_MaxString2048CounterUINT16NumberOfArrayAssertsUINT16CopyDetectionCountAndResetDetectionCountInThisCycleIteratorCounterUINT16AddAssertArrayResultExpectedsSizeUDINT32ExpectedsTypeClassTypeClass16ActualsSizeUDINT32ActualsTypeClassTypeClass16MessageT_MaxString2048TestInstancePathT_MaxString2048PouTypeFunctionBlockI_AssertMessageFormatter32PVOIDLogAssertFailureExpectedT_MaxString2048ActualT_MaxString2048MessageT_MaxString2048TestInstancePathT_MaxString2048FB_AdjustAssertFailureMessageToMax253CharLength + 8480256 + + AssertArrayResults + ST_AssertArrayResult + + 1 + 1000 + + The total number of instances of each of the "AssertArrayResults" + 4224000 + 32 + + + TotalArrayAsserts + UINT + The total number of unique asserts + 16 + 4224032 + + 0 + + + + GetCurrentTaskIndex + GETCURTASKINDEX + Function block to get the current task cycle + 128 + 4224064 + + + AssertArrayResultInstances + ST_AssertArrayResultInstances + + 1 + 1000 + + The total number of instances of each of the "AssertArrayResults" + 4256000 + 4224192 + + + CycleCount + UDINT + The last PLC cycle count + 32 + 8480192 + + + FirstCycleExecuted + BOOL + Only run first cycle + 8 + 8480224 + + + CreateAssertResultInstance + + ExpectedsSize + UDINT + 32 + + + ExpectedsTypeClass + TypeClass + 16 + + + ActualsSize + UDINT + 32 + + + ActualsTypeClass + TypeClass + 16 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + + GetDetectionCountThisCycle + UINT + 16 + + ExpectedsSize + UDINT + 32 + + + ExpectedsTypeClass + TypeClass + 16 + + + ActualsSize + UDINT + 32 + + + ActualsTypeClass + TypeClass + 16 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + + GetDetectionCount + UINT + 16 + + ExpectedsSize + UDINT + 32 + + + ExpectedsTypeClass + TypeClass + 16 + + + ActualsSize + UDINT + 32 + + + ActualsTypeClass + TypeClass + 16 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + + ReportResult + + ExpectedsSize + UDINT + 32 + + + ExpectedsTypeClass + TypeClass + 16 + + + ActualsSize + UDINT + 32 + + + ActualsTypeClass + TypeClass + 16 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + ItemType + Output + + + + + LocationIndex + UINT + 16 + + + DataTypesNotEquals + BOOL + 8 + + + DataSizeNotEquals + BOOL + 8 + + + DataContentNotEquals + BOOL + 8 + + + CurrentCycleCount + UDINT + 32 + + + IteratorCounter + UINT + 16 + + + DetectionCountTemp + UINT + 16 + + + FoundOne + BOOL + 8 + + + AdditionalIdenticalAssert + BOOL + 8 + + + + GetNumberOfArrayAssertsForTest + UINT + 16 + + CompleteTestInstancePath + T_MaxString + 2048 + + + Counter + UINT + 16 + + + NumberOfArrayAsserts + UINT + 16 + + + + CopyDetectionCountAndResetDetectionCountInThisCycle + + IteratorCounter + UINT + 16 + + + + AddAssertArrayResult + + ExpectedsSize + UDINT + 32 + + + ExpectedsTypeClass + TypeClass + 16 + + + ActualsSize + UDINT + 32 + + + ActualsTypeClass + TypeClass + 16 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + + + PouType + FunctionBlock + + + + + I_AssertMessageFormatter + 32 + PVOID + + LogAssertFailure + + Expected + T_MaxString + 2048 + + + Actual + T_MaxString + 2048 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + + + FB_AdjustAssertFailureMessageToMax253CharLength + This function block is responsible for making sure that the asserted test instance path and test message are not loo long. The total printed message can not be more than 253 characters long. -]]>11584MsgFmtStringT_MaxString204832ItemTypeInputStringArgT_MaxString20482080ItemTypeInputMsgFmtStringProcessedT_MaxString20484128ItemTypeOutputStringArgProcessedT_MaxString20486176ItemTypeOutputMsgFmtStringTempT_MaxString20488224TestNameTooLongSTRING(80)64810272...TestName too longTestMsgTooLongSTRING(80)64810920...TestMsg too longMSG_FMT_STRING_MAX_NUMBER_OF_CHARACTERSINT1611568253PouTypeFunctionBlockFB_AdsAssertMessageFormatter + 11584 + + MsgFmtString + T_MaxString + Test instance path + 2048 + 32 + + + ItemType + Input + + + + + StringArg + T_MaxString + Test message + 2048 + 2080 + + + ItemType + Input + + + + + MsgFmtStringProcessed + T_MaxString + 2048 + 4128 + + + ItemType + Output + + + + + StringArgProcessed + T_MaxString + 2048 + 6176 + + + ItemType + Output + + + + + MsgFmtStringTemp + T_MaxString + 2048 + 8224 + + + TestNameTooLong + STRING(80) + 648 + 10272 + + ...TestName too long + + + + TestMsgTooLong + STRING(80) + 648 + 10920 + + ...TestMsg too long + + + + MSG_FMT_STRING_MAX_NUMBER_OF_CHARACTERS + INT + This is actually 254, but if StrArg-argument is used (which it is in TcUnit) it is 253. + 16 + 11568 + + 253 + + + + + PouType + FunctionBlock + + + + + FB_AdsAssertMessageFormatter + This function block is responsible for printing the results of the assertions using the built-in ADSLOGSTR functionality provided by the Tc2_System library. This sends the result using ADS, which is consumed by the error list of Visual Studio. -]]>64I_AssertMessageFormatterLogAssertFailureExpectedT_MaxString2048ActualT_MaxString2048MessageT_MaxString2048TestInstancePathT_MaxString2048AdjustAssertFailureMessageToMax253CharLengthFB_AdjustAssertFailureMessageToMax253CharLength11584TestInstancePathCleanedT_MaxString2048TestInstancePathFinalT_MaxString2048ReturnValueDINT32TestInstancePathProcessedT_MaxString2048MessageProcessedT_MaxString2048PouTypeFunctionBlockFB_TestSuite + 64 + I_AssertMessageFormatter + + LogAssertFailure + + Expected + T_MaxString + 2048 + + + Actual + T_MaxString + 2048 + + + Message + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AdjustAssertFailureMessageToMax253CharLength + FB_AdjustAssertFailureMessageToMax253CharLength + 11584 + + + TestInstancePathCleaned + T_MaxString + 2048 + + + TestInstancePathFinal + T_MaxString + 2048 + + + ReturnValue + DINT + 32 + + + TestInstancePathProcessed + T_MaxString + 2048 + + + MessageProcessed + T_MaxString + 2048 + + + + + PouType + FunctionBlock + + + + + FB_TestSuite + This function block is responsible for holding the internal state of the test suite. Every test suite can have one or more tests, and every test can do one or more asserts. It's also responsible for providing all the assert-methods for asserting different data types. Only failed assertions are recorded. -]]>33551744InstancePathT_MaxString204832instance-pathnoinitGetCurrentTaskIndexGETCURTASKINDEX + 33551744 + + InstancePath + T_MaxString + 2048 + 32 + + + instance-path + + + noinit + + + + + GetCurrentTaskIndex + GETCURTASKINDEX + We need to have access to specific information of the current task that this test suite is executed in. This is for instance necessary when we need to know whether a test is defined already. The definition of a test that is defined already is that we call on it - with the same name twice in the same cycle ]]>1282080NumberOfTestsUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)1622080TestsFB_Test11004192002240TestDuplicateNameTriggerR_TRIG11006400421440TestCycleCountIndexUDINT11003200427840AssertResultsFB_AssertResultStatic24640320431040AssertArrayResultsFB_AssertArrayResultStatic848025625071360AdsAssertMessageFormatterFB_AdsAssertMessageFormatter6433551616AssertMessageFormatterI_AssertMessageFormatter3233551680HasStartedRunningBOOL833551712NumberOfOrderedTestsUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)1633551728AssertEquals_LINTExpectedLINT64ActualLINT64MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8GetNumberOfSuccessfulTestsUINT16AssertArrayEquals_ULINTExpectedsULINT32variable_length_arrayDimensions1ActualsULINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32FindTestSuiteInstancePathT_MaxString2048AssertEquals_TIMEExpectedTIME32ActualTIME32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertEquals_TIME_OF_DAYExpectedTIME_OF_DAY32ActualTIME_OF_DAY32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertEquals_BYTEExpectedBYTE8ActualBYTE8MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8GetNumberOfFailedTestsUINT16CounterUINT16FailedTestsCountUINT16NumberOfTestsToAnalyseUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites)16NumberOfTestOverArrayLimitUINT16AssertEquals_DATE_AND_TIMEExpectedDATE_AND_TIME32ActualDATE_AND_TIME32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8GetTestByPositionFB_Test4192PositionUINT (1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16AssertArrayEquals_BOOLExpectedsBOOL32variable_length_arrayDimensions1ActualsBOOL32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32AssertArrayEquals_BYTEExpectedsBYTE32variable_length_arrayDimensions1ActualsBYTE32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedByteStringSTRING(80)648ActualByteStringSTRING(80)648ExpectedsIndexDINT32ActualsIndexDINT32AssertEquals_DATEExpectedDATE32ActualDATE32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertEquals_WORDExpectedWORD16ActualWORD16MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArrayEquals_LINTExpectedsLINT32variable_length_arrayDimensions1ActualsLINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32AssertEquals_LTIMEExpectedLTIME64ActualLTIME64MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArrayEquals_UINTExpectedsUINT32variable_length_arrayDimensions1ActualsUINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32AssertEquals_LREALExpectedLREAL64ActualLREAL64DeltaLREAL64MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArrayEquals_LWORDExpectedsLWORD32variable_length_arrayDimensions1ActualsLWORD32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedLWordStringSTRING(80)648ActualLWordStringSTRING(80)648ExpectedsIndexDINT32ActualsIndexDINT32AssertEqualsExpectedAnyType96anytypeclassANYActualAnyType96anytypeclassANYMessageT_MaxString2048CountDINT32ExpectedDataStringT_MaxString2048ActualDataStringT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8boolExpectedBOOL8boolActualBOOL8byteExpectedBYTE8byteActualBYTE8dateExpectedDATE32dateActualDATE32dateAndTimeExpectedDATE_AND_TIME32dateAndTimeActualDATE_AND_TIME32dintExpectedDINT32dintActualDINT32dwordExpectedDWORD32dwordActualDWORD32intExpectedINT16intActualINT16lintExpectedLINT64lintActualLINT64lrealExpectedLREAL64lrealActualLREAL64ltimeExpectedLTIME64ltimeActualLTIME64lwordExpectedLWORD64lwordActualLWORD64realExpectedREAL32realActualREAL32sintExpectedSINT8sintActualSINT8stringExpectedT_MaxString2048stringActualT_MaxString2048wstringExpectedWSTRING(255)4096wstringActualWSTRING(255)4096timeExpectedTIME32timeActualTIME32timeOfDayExpectedTIME_OF_DAY32timeOfDayActualTIME_OF_DAY32udintExpectedUDINT32udintActualUDINT32uintExpectedUINT16uintActualUINT16ulintExpectedULINT64ulintActualULINT64usintExpectedUSINT8usintActualUSINT8wordExpectedWORD16wordActualWORD16DataTypesNotEqualsBOOL8DataSizeNotEqualsBOOL8DataContentNotEqualsBOOL8IteratorCounterDINT32hasanytypeAssertFalseConditionBOOL8MessageT_MaxString2048AssertEquals_SINTExpectedSINT8ActualSINT8MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArray2dEquals_LREALExpectedsLREAL32variable_length_arrayDimensions2ActualsLREAL32variable_length_arrayDimensions2DeltaLREAL64MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048DimensionIndexUSINT8LowerBoundExpectedsDINT1264UpperBoundExpectedsDINT1264LowerBoundActualsDINT1264UpperBoundActualsDINT1264SizeOfExpectedsDINT1264SizeOfActualsDINT1264OffsetDINT1264ExpectedArrayIndexDINT1264ActualArrayIndexDINT1264ExpectedLREAL64ActualLREAL64__Index__0DINT32AssertEquals_ULINTExpectedULINT64ActualULINT64MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertEquals_BOOLExpectedBOOL8ActualBOOL8MessageT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048AssertEquals_USINTExpectedUSINT8ActualUSINT8MessageT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048AssertEquals_LWORDExpectedLWORD64ActualLWORD64MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArrayEquals_USINTExpectedsUSINT32variable_length_arrayDimensions1ActualsUSINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32SetHasStartedRunningSetTestFailedAssertionTypeE_AssertionType8AssertionMessageT_MaxString2048IteratorCounterUINT16NumberOfTestsToAnalyseUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16GetInstancePathT_MaxString2048GetTestOrderNumberUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16TestNameT_MaxString2048IteratorCounterUINT16NumberOfTestsToAnalyseUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites)16GetNumberOfTestsUINT16AssertArrayEquals_DWORDExpectedsDWORD32variable_length_arrayDimensions1ActualsDWORD32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedDWordStringSTRING(80)648ActualDWordStringSTRING(80)648ExpectedsIndexDINT32ActualsIndexDINT32GetHasStartedRunningBOOL8AssertArrayEquals_LREALExpectedsLREAL32variable_length_arrayDimensions1ActualsLREAL32variable_length_arrayDimensions1DeltaLREAL64MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32AssertEquals_WSTRINGExpectedWSTRING(255)4096ActualWSTRING(255)4096MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8IsTestFinishedBOOL8TestNameT_MaxString2048IteratorCounterUINT16NumberOfTestsToAnalyseUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16AssertArrayEquals_REALExpectedsREAL32variable_length_arrayDimensions1ActualsREAL32variable_length_arrayDimensions1DeltaREAL32MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32AssertEquals_DINTExpectedDINT32ActualDINT32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArrayEquals_DINTExpectedsDINT32variable_length_arrayDimensions1ActualsDINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32AssertEquals_STRINGExpectedT_MaxString2048ActualT_MaxString2048MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8SetTestFinishedBOOL8TestNameT_MaxString2048IteratorCounterUINT16NumberOfTestsToAnalyseUINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite)16AreAllTestsFinishedBOOL8CounterUINT16GetCurTaskIndexGETCURTASKINDEX128NumberOfTestsToAnalyseUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites)16AssertArrayEquals_WORDExpectedsWORD32variable_length_arrayDimensions1ActualsWORD32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedDWordStringSTRING(80)648ActualDWordStringSTRING(80)648ExpectedsIndexDINT32ActualsIndexDINT32AssertArray3dEquals_LREALExpectedsLREAL32variable_length_arrayDimensions3ActualsLREAL32variable_length_arrayDimensions3DeltaLREAL64MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048DimensionIndexUSINT8LowerBoundExpectedsDINT1396UpperBoundExpectedsDINT1396LowerBoundActualsDINT1396UpperBoundActualsDINT1396SizeOfExpectedsDINT1396SizeOfActualsDINT1396OffsetDINT1396ExpectedArrayIndexDINT1396ActualArrayIndexDINT1396ExpectedLREAL64ActualLREAL64__Index__0DINT32AssertArrayEquals_INTExpectedsINT32variable_length_arrayDimensions1ActualsINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32CalculateAndSetNumberOfAssertsForTestTestNameT_MaxString2048TestInstancePathT_MaxString2048TotalNumberOfAssertsUINT16NumberOfAssertsUINT16NumberOfArrayAssertsUINT16IteratorCounterUINT16GetNumberOfSkippedTestsUINT16CounterUINT16SkippedTestsCountUINT16NumberOfTestsToAnalyseUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites)16AssertEquals_DWORDExpectedDWORD32ActualDWORD32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertTrueConditionBOOL8MessageT_MaxString2048AssertEquals_INTExpectedINT16ActualINT16MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertEquals_UINTExpectedUINT16ActualUINT16MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArray2dEquals_REALExpectedsREAL32variable_length_arrayDimensions2ActualsREAL32variable_length_arrayDimensions2DeltaREAL32MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048DimensionIndexUSINT8LowerBoundExpectedsDINT1264UpperBoundExpectedsDINT1264LowerBoundActualsDINT1264UpperBoundActualsDINT1264SizeOfExpectedsDINT1264SizeOfActualsDINT1264OffsetDINT1264ExpectedArrayIndexDINT1264ActualArrayIndexDINT1264ExpectedREAL32ActualREAL32__Index__0DINT32AddTestTestNameT_MaxString2048IsTestOrderedBOOL8IteratorCounterUINT16ErrorMessageT_MaxString2048TestInstancePathT_MaxString2048FunctionCallResultDINT32CycleCountUDINT32TestWithThisNameAlreadyExistsBOOL8LowerCasedTestNameT_MaxString2048TrimmedTestNameT_MaxString2048IgnoreCurrentTestCaseBOOL8NumberOfTestsToAnalyseUINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites)16AssertArray3dEquals_REALExpectedsREAL32variable_length_arrayDimensions3ActualsREAL32variable_length_arrayDimensions3DeltaREAL32MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048DimensionIndexUSINT8LowerBoundExpectedsDINT1396UpperBoundExpectedsDINT1396LowerBoundActualsDINT1396UpperBoundActualsDINT1396SizeOfExpectedsDINT1396SizeOfActualsDINT1396OffsetDINT1396ExpectedArrayIndexDINT1396ActualArrayIndexDINT1396ExpectedREAL32ActualREAL32ExpectedValueStringT_MaxString2048ActualValueStringT_MaxString2048FormatStringFB_FormatString7840__Index__0DINT32AddTestNameToInstancePathT_MaxString2048TestInstancePathT_MaxString2048CompleteTestInstancePathT_MaxString2048AssertEquals_UDINTExpectedUDINT32ActualUDINT32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertEquals_REALExpectedREAL32ActualREAL32DeltaREAL32MessageT_MaxString2048TestInstancePathT_MaxString2048AlreadyReportedBOOL8AssertArrayEquals_SINTExpectedsSINT32variable_length_arrayDimensions1ActualsSINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32AssertArrayEquals_UDINTExpectedsUDINT32variable_length_arrayDimensions1ActualsUDINT32variable_length_arrayDimensions1MessageT_MaxString2048EqualsBOOL8SizeEqualsBOOL8IndexDINT32ExpectedStringT_MaxString2048ActualStringT_MaxString2048AlreadyReportedBOOL8TestInstancePathT_MaxString2048SizeOfExpectedsDINT32SizeOfActualsDINT32ExpectedsIndexDINT32ActualsIndexDINT32PouTypeFunctionBlockcall_after_initreflectionST_AdsLogStringMessage4128MsgCtrlMaskDWORD320MsgFmtStrT_MaxString204832StrArgT_MaxString20482080pack_mode1FB_AdsLogStringMessageFifoQueue + 128 + 2080 + + + NumberOfTests + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + 2208 + + 0 + + + + Tests + FB_Test + + 1 + 100 + + 419200 + 2240 + + + TestDuplicateNameTrigger + R_TRIG + + 1 + 100 + + Rising trigger of whether we have already notified the user of that the test name pointed to by the current + position is a duplicate + 6400 + 421440 + + + TestCycleCountIndex + UDINT + + 1 + 100 + + Last cycle count index for a specific test. Used to detect whether this test has already been defined in the + current test suite + 3200 + 427840 + + + AssertResults + FB_AssertResultStatic + 24640320 + 431040 + + + AssertArrayResults + FB_AssertArrayResultStatic + 8480256 + 25071360 + + + AdsAssertMessageFormatter + FB_AdsAssertMessageFormatter + Prints the failed asserts to ADS so that Visual Studio can display the assert message. + This assert formatter can be replaced with something else than ADS + 64 + 33551616 + + + AssertMessageFormatter + I_AssertMessageFormatter + 32 + 33551680 + + + HasStartedRunning + BOOL + Indication whether this test suite has started running its tests + 8 + 33551712 + + + NumberOfOrderedTests + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + Number of ordered tests (created by TEST_ORDERED()) that this test suite contains + 16 + 33551728 + + + AssertEquals_LINT + + Expected + LINT expected value + LINT + 64 + + + Actual + LINT actual value + LINT + 64 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + GetNumberOfSuccessfulTests + UINT + 16 + + + AssertArrayEquals_ULINT + + Expecteds + ULINT array with expected values + ULINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + ULINT array with actual values + ULINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + + FindTestSuiteInstancePath + T_MaxString + 2048 + + + AssertEquals_TIME + + Expected + TIME expected value + TIME + 32 + + + Actual + TIME actual value + TIME + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertEquals_TIME_OF_DAY + + Expected + TIME_OF_DAY expected value + TIME_OF_DAY + 32 + + + Actual + TIME_OF_DAY actual value + TIME_OF_DAY + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertEquals_BYTE + + Expected + BYTE expected value + BYTE + 8 + + + Actual + BYTE actual value + BYTE + 8 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + GetNumberOfFailedTests + UINT + 16 + + Counter + UINT + 16 + + + FailedTestsCount + UINT + 16 + + + NumberOfTestsToAnalyse + UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) + 16 + + + NumberOfTestOverArrayLimit + UINT + 16 + + + + AssertEquals_DATE_AND_TIME + + Expected + DATE_AND_TIME expected value + DATE_AND_TIME + 32 + + + Actual + DATE_AND_TIME actual value + DATE_AND_TIME + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + GetTestByPosition + FB_Test + 4192 + + Position + UINT (1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + + + + AssertArrayEquals_BOOL + + Expecteds + BOOL array with expected values + BOOL + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + BOOL array with actual values + BOOL + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + + AssertArrayEquals_BYTE + + Expecteds + BYTE array with expected values + BYTE + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + BYTE array with actual values + BYTE + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedByteString + STRING(80) + 648 + + + ActualByteString + STRING(80) + 648 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + + AssertEquals_DATE + + Expected + DATE expected value + DATE + 32 + + + Actual + DATE actual value + DATE + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertEquals_WORD + + Expected + WORD expected value + WORD + 16 + + + Actual + WORD actual value + WORD + 16 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertArrayEquals_LINT + + Expecteds + LINT array with expected values + LINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + LINT array with actual values + LINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + + AssertEquals_LTIME + + Expected + LTIME expected value + LTIME + 64 + + + Actual + LTIME actual value + LTIME + 64 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertArrayEquals_UINT + + Expecteds + UINT array with expected values + UINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + UINT array with actual values + UINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + + AssertEquals_LREAL + + Expected + LREAL expected value + LREAL + 64 + + + Actual + LREAL actual value + LREAL + 64 + + + Delta + The maximum delta between the absolute value of expected and actual for which both numbers are still considered equal + LREAL + 64 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertArrayEquals_LWORD + + Expecteds + LWORD array with expected values + LWORD + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + LWORD array with actual values + LWORD + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedLWordString + STRING(80) + 648 + + + ActualLWordString + STRING(80) + 648 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + + AssertEquals + + Expected + Expected value + AnyType + 96 + + + anytypeclass + ANY + + + + + Actual + The value to check against expected + AnyType + 96 + + + anytypeclass + ANY + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Count + DINT + 32 + + + ExpectedDataString + T_MaxString + 2048 + + + ActualDataString + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + boolExpected + BOOL + 8 + + + boolActual + BOOL + 8 + + + byteExpected + BYTE + 8 + + + byteActual + BYTE + 8 + + + dateExpected + DATE + 32 + + + dateActual + DATE + 32 + + + dateAndTimeExpected + DATE_AND_TIME + 32 + + + dateAndTimeActual + DATE_AND_TIME + 32 + + + dintExpected + DINT + 32 + + + dintActual + DINT + 32 + + + dwordExpected + DWORD + 32 + + + dwordActual + DWORD + 32 + + + intExpected + INT + 16 + + + intActual + INT + 16 + + + lintExpected + LINT + 64 + + + lintActual + LINT + 64 + + + lrealExpected + LREAL + 64 + + + lrealActual + LREAL + 64 + + + ltimeExpected + LTIME + 64 + + + ltimeActual + LTIME + 64 + + + lwordExpected + LWORD + 64 + + + lwordActual + LWORD + 64 + + + realExpected + REAL + 32 + + + realActual + REAL + 32 + + + sintExpected + SINT + 8 + + + sintActual + SINT + 8 + + + stringExpected + T_MaxString + 2048 + + + stringActual + T_MaxString + 2048 + + + wstringExpected + WSTRING(255) + 4096 + + + wstringActual + WSTRING(255) + 4096 + + + timeExpected + TIME + 32 + + + timeActual + TIME + 32 + + + timeOfDayExpected + TIME_OF_DAY + 32 + + + timeOfDayActual + TIME_OF_DAY + 32 + + + udintExpected + UDINT + 32 + + + udintActual + UDINT + 32 + + + uintExpected + UINT + 16 + + + uintActual + UINT + 16 + + + ulintExpected + ULINT + 64 + + + ulintActual + ULINT + 64 + + + usintExpected + USINT + 8 + + + usintActual + USINT + 8 + + + wordExpected + WORD + 16 + + + wordActual + WORD + 16 + + + DataTypesNotEquals + The data type of the two ANY input parameters are not equal + BOOL + 8 + + + DataSizeNotEquals + The data size of the two ANY input parameters are not equal + BOOL + 8 + + + DataContentNotEquals + The data content of the two ANY input parameters are not equal + BOOL + 8 + + + IteratorCounter + DINT + 32 + + + + hasanytype + + + + + AssertFalse + + Condition + Condition to be checked + BOOL + 8 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + + AssertEquals_SINT + + Expected + SINT expected value + SINT + 8 + + + Actual + SINT actual value + SINT + 8 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertArray2dEquals_LREAL + + Expecteds + LREAL 2d array with expected values + LREAL + 32 + + + variable_length_array + + + Dimensions + 2 + + + + + Actuals + LREAL 2d array with actual values + LREAL + 32 + + + variable_length_array + + + Dimensions + 2 + + + + + Delta + The maximum delta between the value of expected and actual for which both numbers are still considered equal, proportional to the expected value in that array cell + LREAL + 64 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + DimensionIndex + Index when looping through Dimensions + USINT + 8 + + + LowerBoundExpecteds + Lower bounds of Expecteds array in each dimension + DINT + + 1 + 2 + + 64 + + + UpperBoundExpecteds + Upper bounds of Expecteds array in each dimension + DINT + + 1 + 2 + + 64 + + + LowerBoundActuals + Lower bounds of Actuals array in each dimension + DINT + + 1 + 2 + + 64 + + + UpperBoundActuals + Upper bounds of Actuals array in each dimension + DINT + + 1 + 2 + + 64 + + + SizeOfExpecteds + Size of Expecteds array in each dimension + DINT + + 1 + 2 + + 64 + + + SizeOfActuals + Size of Actuals array in each dimension + DINT + + 1 + 2 + + 64 + + + Offset + Current Array index offsets from Lower Bound in each dimension + DINT + + 1 + 2 + + 64 + + + ExpectedArrayIndex + Array of current Expected array indexes when looping through arrays + DINT + + 1 + 2 + + 64 + + + ActualArrayIndex + Array of current Actual array indexes when looping through arrays + DINT + + 1 + 2 + + 64 + + + Expected + Single expected value + LREAL + 64 + + + Actual + Single actual value + LREAL + 64 + + + __Index__0 + DINT + 32 + + + + AssertEquals_ULINT + + Expected + ULINT expected value + ULINT + 64 + + + Actual + ULINT actual value + ULINT + 64 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertEquals_BOOL + + Expected + BOOL expected value + BOOL + 8 + + + Actual + BOOL actual value + BOOL + 8 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + + AssertEquals_USINT + + Expected + USINT expected value + USINT + 8 + + + Actual + USINT actual value + USINT + 8 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + + AssertEquals_LWORD + + Expected + LWORD expected value + LWORD + 64 + + + Actual + LWORD actual value + LWORD + 64 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertArrayEquals_USINT + + Expecteds + USINT array with expected values + USINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + USINT array with actual values + USINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + + SetHasStartedRunning + + + SetTestFailed + + AssertionType + E_AssertionType + 8 + + + AssertionMessage + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + NumberOfTestsToAnalyse + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + + + + GetInstancePath + T_MaxString + 2048 + + + GetTestOrderNumber + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + + TestName + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + NumberOfTestsToAnalyse + UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) + 16 + + + + GetNumberOfTests + UINT + 16 + + + AssertArrayEquals_DWORD + + Expecteds + DWORD array with expected values + DWORD + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + DWORD array with actual values + DWORD + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedDWordString + STRING(80) + 648 + + + ActualDWordString + STRING(80) + 648 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + + GetHasStartedRunning + BOOL + 8 + + + AssertArrayEquals_LREAL + + Expecteds + LREAL array with expected values + LREAL + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + LREAL array with actual values + LREAL + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Delta + The maximum delta between the value of expected and actual for which both numbers are still considered equal, proportional to the expected value in that array cell + LREAL + 64 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + + AssertEquals_WSTRING + + Expected + WSTRING expected value + WSTRING(255) + 4096 + + + Actual + WSTRING actual value + WSTRING(255) + 4096 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + IsTestFinished + BOOL + 8 + + TestName + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + NumberOfTestsToAnalyse + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + + + + AssertArrayEquals_REAL + + Expecteds + REAL array with expected values + REAL + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + REAL array with actual values + REAL + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Delta + The maximum delta between the value of expected and actual for which both numbers are still considered equal, proportional to the expected value in that array cell + REAL + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + + AssertEquals_DINT + + Expected + DINT expected value + DINT + 32 + + + Actual + DINT actual value + DINT + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertArrayEquals_DINT + + Expecteds + DINT array with expected values + DINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + DINT array with actual values + DINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + + AssertEquals_STRING + + Expected + STRING expected value + T_MaxString + 2048 + + + Actual + STRING actual value + T_MaxString + 2048 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + SetTestFinished + BOOL + 8 + + TestName + T_MaxString + 2048 + + + IteratorCounter + UINT + 16 + + + NumberOfTestsToAnalyse + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + + + + AreAllTestsFinished + BOOL + 8 + + Counter + UINT + 16 + + + GetCurTaskIndex + GETCURTASKINDEX + 128 + + + NumberOfTestsToAnalyse + UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) + 16 + + + + AssertArrayEquals_WORD + + Expecteds + WORD array with expected values + WORD + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + WORD array with actual values + WORD + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedDWordString + STRING(80) + 648 + + + ActualDWordString + STRING(80) + 648 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + + AssertArray3dEquals_LREAL + + Expecteds + LREAL 3d array with expected values + LREAL + 32 + + + variable_length_array + + + Dimensions + 3 + + + + + Actuals + LREAL 3d array with actual values + LREAL + 32 + + + variable_length_array + + + Dimensions + 3 + + + + + Delta + The maximum delta between the value of expected and actual for which both numbers are still considered equal, proportional to the expected value in that array cell + LREAL + 64 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + DimensionIndex + Index when looping through Dimensions + USINT + 8 + + + LowerBoundExpecteds + Lower bounds of Expecteds array in each dimension + DINT + + 1 + 3 + + 96 + + + UpperBoundExpecteds + Upper bounds of Expecteds array in each dimension + DINT + + 1 + 3 + + 96 + + + LowerBoundActuals + Lower bounds of Actuals array in each dimension + DINT + + 1 + 3 + + 96 + + + UpperBoundActuals + Upper bounds of Actuals array in each dimension + DINT + + 1 + 3 + + 96 + + + SizeOfExpecteds + Size of Expecteds array in each dimension + DINT + + 1 + 3 + + 96 + + + SizeOfActuals + Size of Actuals array in each dimension + DINT + + 1 + 3 + + 96 + + + Offset + Current Array index offsets from Lower Bound in each dimension + DINT + + 1 + 3 + + 96 + + + ExpectedArrayIndex + Array of current Expected array indexes when looping through arrays + DINT + + 1 + 3 + + 96 + + + ActualArrayIndex + Array of current Actual array indexes when looping through arrays + DINT + + 1 + 3 + + 96 + + + Expected + Single expected value + LREAL + 64 + + + Actual + Single actual value + LREAL + 64 + + + __Index__0 + DINT + 32 + + + + AssertArrayEquals_INT + + Expecteds + INT array with expected values + INT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + INT array with actual values + INT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + + CalculateAndSetNumberOfAssertsForTest + + TestName + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + TotalNumberOfAsserts + UINT + 16 + + + NumberOfAsserts + UINT + 16 + + + NumberOfArrayAsserts + UINT + 16 + + + IteratorCounter + UINT + 16 + + + + GetNumberOfSkippedTests + UINT + 16 + + Counter + UINT + 16 + + + SkippedTestsCount + UINT + 16 + + + NumberOfTestsToAnalyse + UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) + 16 + + + + AssertEquals_DWORD + + Expected + DWORD expected value + DWORD + 32 + + + Actual + DWORD actual value + DWORD + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertTrue + + Condition + Condition to be checked + BOOL + 8 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + + AssertEquals_INT + + Expected + INT expected value + INT + 16 + + + Actual + INT actual value + INT + 16 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertEquals_UINT + + Expected + UINT expected value + UINT + 16 + + + Actual + UINT actual value + UINT + 16 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertArray2dEquals_REAL + + Expecteds + REAL 2d array with expected values + REAL + 32 + + + variable_length_array + + + Dimensions + 2 + + + + + Actuals + REAL 2d array with actual values + REAL + 32 + + + variable_length_array + + + Dimensions + 2 + + + + + Delta + The maximum delta between the value of expected and actual for which both numbers are still considered equal, proportional to the expected value in that array cell + REAL + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + DimensionIndex + Index when looping through Dimensions + USINT + 8 + + + LowerBoundExpecteds + Lower bounds of Expecteds array in each dimension + DINT + + 1 + 2 + + 64 + + + UpperBoundExpecteds + Upper bounds of Expecteds array in each dimension + DINT + + 1 + 2 + + 64 + + + LowerBoundActuals + Lower bounds of Actuals array in each dimension + DINT + + 1 + 2 + + 64 + + + UpperBoundActuals + Upper bounds of Actuals array in each dimension + DINT + + 1 + 2 + + 64 + + + SizeOfExpecteds + Size of Expecteds array in each dimension + DINT + + 1 + 2 + + 64 + + + SizeOfActuals + Size of Actuals array in each dimension + DINT + + 1 + 2 + + 64 + + + Offset + Current Array index offsets from Lower Bound in each dimension + DINT + + 1 + 2 + + 64 + + + ExpectedArrayIndex + Array of current Expected array indexes when looping through arrays + DINT + + 1 + 2 + + 64 + + + ActualArrayIndex + Array of current Actual array indexes when looping through arrays + DINT + + 1 + 2 + + 64 + + + Expected + Single expected value + REAL + 32 + + + Actual + Single actual value + REAL + 32 + + + __Index__0 + DINT + 32 + + + + AddTest + + TestName + T_MaxString + 2048 + + + IsTestOrdered + BOOL + 8 + + + IteratorCounter + UINT + 16 + + + ErrorMessage + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + FunctionCallResult + DINT + 32 + + + CycleCount + UDINT + 32 + + + TestWithThisNameAlreadyExists + BOOL + 8 + + + LowerCasedTestName + T_MaxString + 2048 + + + TrimmedTestName + T_MaxString + 2048 + + + IgnoreCurrentTestCase + BOOL + 8 + + + NumberOfTestsToAnalyse + UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) + 16 + + + + AssertArray3dEquals_REAL + + Expecteds + REAL 3d array with expected values + REAL + 32 + + + variable_length_array + + + Dimensions + 3 + + + + + Actuals + REAL 3d array with actual values + REAL + 32 + + + variable_length_array + + + Dimensions + 3 + + + + + Delta + The maximum delta between the value of expected and actual for which both numbers are still considered equal, proportional to the expected value in that array cell + REAL + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + DimensionIndex + Index when looping through Dimensions + USINT + 8 + + + LowerBoundExpecteds + Lower bounds of Expecteds array in each dimension + DINT + + 1 + 3 + + 96 + + + UpperBoundExpecteds + Upper bounds of Expecteds array in each dimension + DINT + + 1 + 3 + + 96 + + + LowerBoundActuals + Lower bounds of Actuals array in each dimension + DINT + + 1 + 3 + + 96 + + + UpperBoundActuals + Upper bounds of Actuals array in each dimension + DINT + + 1 + 3 + + 96 + + + SizeOfExpecteds + Size of Expecteds array in each dimension + DINT + + 1 + 3 + + 96 + + + SizeOfActuals + Size of Actuals array in each dimension + DINT + + 1 + 3 + + 96 + + + Offset + Current Array index offsets from Lower Bound in each dimension + DINT + + 1 + 3 + + 96 + + + ExpectedArrayIndex + Array of current Expected array indexes when looping through arrays + DINT + + 1 + 3 + + 96 + + + ActualArrayIndex + Array of current Actual array indexes when looping through arrays + DINT + + 1 + 3 + + 96 + + + Expected + Single expected value + REAL + 32 + + + Actual + Single actual value + REAL + 32 + + + ExpectedValueString + T_MaxString + 2048 + + + ActualValueString + T_MaxString + 2048 + + + FormatString + String formatter for output messages + FB_FormatString + 7840 + + + __Index__0 + DINT + 32 + + + + AddTestNameToInstancePath + T_MaxString + 2048 + + TestInstancePath + T_MaxString + 2048 + + + CompleteTestInstancePath + T_MaxString + 2048 + + + + AssertEquals_UDINT + + Expected + UDINT expected value + UDINT + 32 + + + Actual + UDINT actual value + UDINT + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertEquals_REAL + + Expected + REAL expected value + REAL + 32 + + + Actual + REAL actual value + REAL + 32 + + + Delta + The maximum delta between the absolute value of expected and actual for which both numbers are still considered equal + REAL + 32 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + TestInstancePath + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + + AssertArrayEquals_SINT + + Expecteds + SINT array with expected values + SINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + SINT array with actual values + SINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + + AssertArrayEquals_UDINT + + Expecteds + UDINT array with expected values + UDINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Actuals + UDINT array with actual values + UDINT + 32 + + + variable_length_array + + + Dimensions + 1 + + + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + Equals + BOOL + 8 + + + SizeEquals + BOOL + 8 + + + Index + DINT + 32 + + + ExpectedString + T_MaxString + 2048 + + + ActualString + T_MaxString + 2048 + + + AlreadyReported + BOOL + 8 + + + TestInstancePath + T_MaxString + 2048 + + + SizeOfExpecteds + DINT + 32 + + + SizeOfActuals + DINT + 32 + + + ExpectedsIndex + DINT + 32 + + + ActualsIndex + DINT + 32 + + + + + PouType + FunctionBlock + + + call_after_init + + + reflection + + + + + ST_AdsLogStringMessage + 4128 + + MsgCtrlMask + DWORD + 32 + 0 + + + MsgFmtStr + T_MaxString + 2048 + 32 + + + StrArg + T_MaxString + 2048 + 2080 + + + + pack_mode + 1 + + + + + FB_AdsLogStringMessageFifoQueue + This function block is responsible for making sure that the ADSLOGSTR-messages to the ADS-router are transmitted cyclically and not in a burst. The reason this is necessary is because that if too many messages are sent at the same time some get lost and are never printed to the error list output -]]>8320864ArrayBufferBYTE01040000832000032MemRingBufferFB_MemRingBuffer5448320032TimerBetweenMessagesTON2248320576.IN1.PT10MEM_RING_BUFFER_INTERNAL_USE_PER_DATA_RECORDUSINT883208004TIME_BETWEEN_MESSAGESTIME32832083210GetLogCountUDINT32WriteLogMsgCtrlMaskDWORD32MsgFmtStrT_MaxString2048StrArgT_MaxString2048ErrorBOOL8ItemTypeOutputAdsLogStringMessageST_AdsLogStringMessage4128GetAndRemoveLogFromQueueAdsLogStringMessageST_AdsLogStringMessage4128ItemTypeOutputErrorBOOL8ItemTypeOutputPouTypeFunctionBlock_ST_NCADS_IDXOFFS_AxisParameter1632PARAMSTRUCTUDINT3200IDUDINT32321NAMEUDINT32642AXISTYPEUDINT32963CYCLETIMEUDINT321284UNITNAMEUDINT321605VELOREFSEARCHUDINT321926VELOSYNCSEARCHUDINT322247VELOSLOWMANUALUDINT322568VELOFASTMANUALUDINT322889VELOFASTUDINT3232010POSAREAENABLEUDINT3235215POSAREARANGEUDINT3238416MOTCNTRLENABLEUDINT3241617MOTCNTRLTIMEUDINT3244818LOOPENABLEUDINT3248019LOOPDISTANCEUDINT3251220TARGETPOSENAUDINT3254421TARGETPOSRANGEUDINT3257622TARGETPOSTIMEUDINT3260823PULSDISTPOSUDINT3264024PULSDISTNEGUDINT3267225FADINGACCELERATIONUDINT3270429FASTAXISSTOPSIGNALTYPEUDINT3273630UNITFLAGSUDINT3276838VELOMAXIMUMUDINT3280039MOTCNTRLRANGEUDINT3283240PEHCONTROLENAUDINT3286441PEHCONTROLTIMEUDINT3289642BACKLASHCOMPENAUDINT3292843BACKLASHUDINT3296044DATAPERSISTENCEUDINT3299248HWAMSADDRUDINT32102449HWCHNNOUDINT32105650APPLICATIONREQUESTUDINT32108851ACCUDINT321120257DECUDINT321152258JERKUDINT321184259DELAYUDINT321216260OVERRIDETYPEUDINT321248261VELOJUMPFACTORUDINT321280262REDUCTIONFEEDBACKUDINT321312263TOLERANCEBALLAUXAXISUDINT321344264MAXPOSDEVIATIONAUXAXISUDINT321376265FASTACCUDINT321408266FASTDECUDINT321440267FASTJERKUDINT321472268REF_POSUDINT32150465795ENCSEARCHDIRUDINT32153665793ENCSYNCDIRUDINT32156865794ENCREFMODEUDINT32160065799conditionalshow_ST_NCADS_AxisParameter1664IDXGRPUDINT32016384IDXOFFS_ST_NCADS_IDXOFFS_AxisParameter163232conditionalshow_ST_NCADS_IDXOFFS_AxisState800ONLINESTRUCTUDINT3200ERRORUDINT32321SETTASKCYCLEUDINT + 8320864 + + ArrayBuffer + BYTE + + 0 + 1040000 + + 8320000 + 32 + + + MemRingBuffer + FB_MemRingBuffer + 544 + 8320032 + + + TimerBetweenMessages + TON + 224 + 8320576 + + + .IN + 1 + + + .PT + 10 + + + + + MEM_RING_BUFFER_INTERNAL_USE_PER_DATA_RECORD + USINT + 8 + 8320800 + + 4 + + + + TIME_BETWEEN_MESSAGES + TIME + 32 + 8320832 + + 10 + + + + GetLogCount + UDINT + 32 + + + WriteLog + + MsgCtrlMask + DWORD + 32 + + + MsgFmtStr + T_MaxString + 2048 + + + StrArg + T_MaxString + 2048 + + + Error + Buffer overflow + BOOL + 8 + + + ItemType + Output + + + + + AdsLogStringMessage + ST_AdsLogStringMessage + 4128 + + + + GetAndRemoveLogFromQueue + + AdsLogStringMessage + ST_AdsLogStringMessage + 4128 + + + ItemType + Output + + + + + Error + Buffer empty + BOOL + 8 + + + ItemType + Output + + + + + + + PouType + FunctionBlock + + + + + _ST_NCADS_IDXOFFS_AxisParameter + 1632 + + PARAMSTRUCT + UDINT + NC ADS Index Offsets for Axis Parameters + 32 + 0 + + 0 + + + + ID + UDINT + 32 + 32 + + 1 + + + + NAME + UDINT + 32 + 64 + + 2 + + + + AXISTYPE + UDINT + 32 + 96 + + 3 + + + + CYCLETIME + UDINT + 32 + 128 + + 4 + + + + UNITNAME + UDINT + 32 + 160 + + 5 + + + + VELOREFSEARCH + UDINT + 32 + 192 + + 6 + + + + VELOSYNCSEARCH + UDINT + 32 + 224 + + 7 + + + + VELOSLOWMANUAL + UDINT + 32 + 256 + + 8 + + + + VELOFASTMANUAL + UDINT + 32 + 288 + + 9 + + + + VELOFAST + UDINT + 32 + 320 + + 10 + + + + POSAREAENABLE + UDINT + 32 + 352 + + 15 + + + + POSAREARANGE + UDINT + 32 + 384 + + 16 + + + + MOTCNTRLENABLE + UDINT + 32 + 416 + + 17 + + + + MOTCNTRLTIME + UDINT + 32 + 448 + + 18 + + + + LOOPENABLE + UDINT + 32 + 480 + + 19 + + + + LOOPDISTANCE + UDINT + 32 + 512 + + 20 + + + + TARGETPOSENA + UDINT + 32 + 544 + + 21 + + + + TARGETPOSRANGE + UDINT + 32 + 576 + + 22 + + + + TARGETPOSTIME + UDINT + 32 + 608 + + 23 + + + + PULSDISTPOS + UDINT + 32 + 640 + + 24 + + + + PULSDISTNEG + UDINT + 32 + 672 + + 25 + + + + FADINGACCELERATION + UDINT + 32 + 704 + + 29 + + + + FASTAXISSTOPSIGNALTYPE + UDINT + 32 + 736 + + 30 + + + + UNITFLAGS + UDINT + 32 + 768 + + 38 + + + + VELOMAXIMUM + UDINT + 32 + 800 + + 39 + + + + MOTCNTRLRANGE + UDINT + 32 + 832 + + 40 + + + + PEHCONTROLENA + UDINT + 32 + 864 + + 41 + + + + PEHCONTROLTIME + UDINT + 32 + 896 + + 42 + + + + BACKLASHCOMPENA + UDINT + 32 + 928 + + 43 + + + + BACKLASH + UDINT + 32 + 960 + + 44 + + + + DATAPERSISTENCE + UDINT + 32 + 992 + + 48 + + + + HWAMSADDR + UDINT + 32 + 1024 + + 49 + + + + HWCHNNO + UDINT + 32 + 1056 + + 50 + + + + APPLICATIONREQUEST + UDINT + 32 + 1088 + + 51 + + + + ACC + UDINT + 32 + 1120 + + 257 + + + + DEC + UDINT + 32 + 1152 + + 258 + + + + JERK + UDINT + 32 + 1184 + + 259 + + + + DELAY + UDINT + 32 + 1216 + + 260 + + + + OVERRIDETYPE + UDINT + 32 + 1248 + + 261 + + + + VELOJUMPFACTOR + UDINT + 32 + 1280 + + 262 + + + + REDUCTIONFEEDBACK + UDINT + 32 + 1312 + + 263 + + + + TOLERANCEBALLAUXAXIS + UDINT + 32 + 1344 + + 264 + + + + MAXPOSDEVIATIONAUXAXIS + UDINT + 32 + 1376 + + 265 + + + + FASTACC + UDINT + 32 + 1408 + + 266 + + + + FASTDEC + UDINT + 32 + 1440 + + 267 + + + + FASTJERK + UDINT + 32 + 1472 + + 268 + + + + REF_POS + UDINT + 32 + 1504 + + 65795 + + + + ENCSEARCHDIR + UDINT + 32 + 1536 + + 65793 + + + + ENCSYNCDIR + UDINT + 32 + 1568 + + 65794 + + + + ENCREFMODE + UDINT + 32 + 1600 + + 65799 + + + + + conditionalshow + + + + + _ST_NCADS_AxisParameter + 1664 + + IDXGRP + UDINT + 32 + 0 + + 16384 + + + + IDXOFFS + _ST_NCADS_IDXOFFS_AxisParameter + 1632 + 32 + + + + conditionalshow + + + + + _ST_NCADS_IDXOFFS_AxisState + 800 + + ONLINESTRUCT + UDINT + 32 + 0 + + 0 + + + + ERROR + UDINT + 32 + 32 + + 1 + + + + SETTASKCYCLE + UDINT + ACTPOS = TCNC_IDXOFFS_AXmappedENC | 0x00000002; // 0x00010002; ACTVELO = TCNC_IDXOFFS_AXmappedENC | 0x00000005; // 0x00010005; ACTACC = TCNC_IDXOFFS_AXmappedENC | 0x00000006; // 0x00010006; MODULOACTPOS = TCNC_IDXOFFS_AXmappedENC | 0x00000003; // 0x00010003; MODULOACTTURNS = TCNC_IDXOFFS_AXmappedENC | 0x00000004; // 0x00010004; ACTINCREMENTS = TCNC_IDXOFFS_AXmappedENC | 0x00000007; // 0x00010007; -]]>32649SETPOSUDINT329610SETVELOUDINT3212814SETACCUDINT3216015MODULOSETPOSUDINT3219211MODULOSETTURNSUDINT3222412SETDIRUDINT3225613TARGETPOSITIONUDINT3228819REMAININGTIMEANDPOSUDINT3232020STOPINFORMATIONUDINT3235224SETTASKCYCLE_WITHOUTCORRUDINT3238425SETPOS_WITHOUTCORRUDINT3241626SETVELO_WITHOUTCORRUDINT3244830SETACC_WITHOUTCORRUDINT3248031SETDIR_WITHOUTCORRUDINT3251229COUPLESTATEUDINT3254432CPLPARAMSUDINT3257634CPLFACTORUDINT3260835AXISCTRLLOOPIDXUDINT3264036AXISSETPOINTGENIDXUDINT3267237CPLCHARACVALUESUDINT3270438CAMINFOUDINT3273639CAMSTATUSUDINT3276840conditionalshow_ST_NCADS_AxisState832IDXGRPUDINT32016640IDXOFFS_ST_NCADS_IDXOFFS_AxisState80032conditionalshow_ST_NCADS_IDXOFFS_AxisFunctions1792RESETUDINT3201STOPUDINT32322CLEARUDINT32643EMERGENCYSTOPUDINT32964PARAMETRIZEDSTOPUDINT321285INITIALIZEUDINT321607ORIENTEDSTOPUDINT321929CALIBRUDINT3222416NEWTARGPOSUDINT3225617NEWTARGPOSANDVELOUDINT3228818CHANGEDYNAMICPARAMUDINT3232021UNIVERSALSTARTUDINT3235222SLAVEUNIVERSALSTARTUDINT3238423RELEASEAXISLOCKUDINT3241624SETEXTERNALERRORUDINT3244825SETPOSUDINT3248026SETCALFLAGUDINT3251227SETACTPOSUDINT3254428SETDRIVEPOSUDINT3257629SETENCODERSCALINGUDINT3260830SETPOSONTHEFLYUDINT3264031STARTUDINT3267232STARTEXTUDINT3270433STARTVELOCHANGEUDINT3273634ENABLEEXTGENUDINT3276835DISABLEEXTGENUDINT3280036REVERSINGSEQUENCEUDINT3283237STARTDRVOUTUDINT3286438STOPDRVOUTUDINT3289639CHANGEDRVOUTUDINT3292840JUMPTOOVERRIDEUDINT3296041EXTSETGENUNIVERSALSTARTUDINT3299243UNIVERSALTORQUESTARTUDINT32102445STARTSCOMUDINT32105648STOPSCOMUDINT32108849PHASINGREQEUSTUDINT32112052CPLUDINT32115264DECPLUDINT32118465CPLCHANGEUDINT32121666TABCPLCHANGEUDINT32124867STOPSLAVEUDINT32128068CPLTABUDINT32131269TABSLVACTIVCORUDINT32134470TABSLVLEAVECYCUDINT32137671TABSLVCOROFFSETUDINT32140872TABSLVSCALINGUDINT32144073CPLSOLOTABUDINT32147274CPLSYNCHRONIZINGUDINT32150475CAMSCALINGUDINT32153677DISABLEUDINT32156880ENABLEUDINT32160081CHANGEAXISCTRLLOOPUDINT32163282DRIVEDISABLEUDINT32166496DRIVEENABLEUDINT32169697RELEASEBRAKEUDINT32172898RECONFIGURATEUDINT321760112conditionalshow_ST_NCADS_AxisFunctions1824IDXGRPUDINT32016896IDXOFFS_ST_NCADS_IDXOFFS_AxisFunctions179232conditionalshow_ST_NCADS_Axis4320Parameter_ST_NCADS_AxisParameter16640State_ST_NCADS_AxisState8321664Functions_ST_NCADS_AxisFunctions18242496conditionalshow_ST_NCADS_IDXOFFS_TableParameter192MFREADCHARACVALUESUDINT32080WRITETABROWSUDINT323216777216WRITEMFTABROWSUDINT326483886080MFREADTABUDINT329634READSLAVEDYNAMICSUDINT3212835READMASTERPOSITIONUDINT3216036conditionalshow_ST_NCADS_TableParameter224IDXGRPUDINT32040960IDXOFFS_ST_NCADS_IDXOFFS_TableParameter19232conditionalshow_ST_NCADS_IDXOFFS_TableFunctions96CREATETABUDINT32065536CREATEMOTIONTABUDINT323265552DELETETABUDINT3264131072conditionalshow_ST_NCADS_TableFunctions128IDXGRPUDINT32041472IDXOFFS_ST_NCADS_IDXOFFS_TableFunctions9632conditionalshow_ST_NCADS_Table352Parameter_ST_NCADS_TableParameter2240Functions_ST_NCADS_TableFunctions128224conditionalshowADSRDDEVINFO1280NETIDT_AmsNetID19232ItemTypeInputPORTT_AmsPort16224ItemTypeInputRDINFOBOOL8240ItemTypeInputTMOUTTIME322565000ItemTypeInputBUSYBOOL8288ItemTypeOutputERRBOOL8296ItemTypeOutputERRIDUDINT32320ItemTypeOutputDEVNAMESTRING(19)160352ItemTypeOutputDEVVERUDINT32512ItemTypeOutputPouTypeFunctionBlockhide_all_locals_TCMCGLOBAL6976NCPORT_TCMCUINT1632500ItemTypeInputNCPORT_TCMC_COUPLINGUINT1648500ItemTypeInputNCNETID_TCMCT_AmsNetID19264ItemTypeInputNCPORT_TCMC_CAMUINT16256500ItemTypeInputNCPORT_TCMC_CAM_FASTUINT16272500ItemTypeInputNCNETID_TCMC_CAMT_AmsNetID192288ItemTypeInputNCPORT_TCMC_SUPERPOSITIONUINT16480501ItemTypeInputNcDeviceInfoTcMainVersionDWORD32512ItemTypeOutputNcDeviceInfoTcSubVersionDWORD32544ItemTypeOutputNcDeviceInfoNcDriverVersionDWORD32576ItemTypeOutputNcDeviceInfoNcVersionDWORD32608ItemTypeOutputNcDeviceInfoNcNameSTRING(19)160640ItemTypeOutputAxis_ST_NCADS_Axis4320800ItemTypeOutputsuppress_warning_0C0228Table_ST_NCADS_Table3525120ItemTypeOutputsuppress_warning_0C0228NCPORT_TCNCCAMMING_TABLEFUNCTIONUINT165472500tTargetPosTimeOutTIME3255046000tADSTimeOutTIME3255361000tStopMonitoringTimeOutTIME325568100NCTOPLC_FEEDBACK_MAXWAITCYCLESINT16560010fbADSRDDEVINFOADSRDDEVINFO12805632DeviceVersionDWORD326912InitBOOL86944ReadDeviceInfoPouTypeFunctionBlockconditionalshowPLCTONC_AXIS_REF_CTRL32EnableBIT10FeedEnablePlusBIT11FeedEnableMinusBIT12HomingSensorBIT15AcceptBlockedDriveBIT18PlcDebugFlagBIT130NcDebugFlagBIT131%08x0x%08x16#%08XPLCTONC_AXIS_REF1024ControlDWordPLCTONC_AXIS_REF_CTRL320OverrideUDINT3232AxisModeRequestUDINT3264AxisModeDWordUDINT3296AxisModeLRealLREAL64128PositionCorrectionLREAL64192ExtSetPosLREAL64256ExtSetVeloLREAL64320ExtSetAccLREAL64384ExtSetDirectionDINT32448ExtControllerOutputLREAL64512GearRatio1LREAL64576GearRatio2LREAL64640GearRatio3LREAL64704GearRatio4LREAL64768MapStateBOOL8832PlcCycleControlBYTE8840PlcCycleCountBYTE8848NcStructType1NCAXLESTRUCT_FROMPLC3NCTOPLC_AXIS_REF_STATE32OperationalBIT10HomedBIT11NotMovingBIT12InPositionAreaBIT13InTargetPositionBIT14ProtectedBIT15ErrorPropagationDelayedBIT16HasBeenStoppedBIT17HasJobBIT18PositiveDirectionBIT19NegativeDirectionBIT110HomingBusyBIT111ConstantVelocityBIT112CompensatingBIT113ExtSetPointGenEnabledBIT114PhasingActiveBIT115ExternalLatchValidBIT116NewTargetPosBIT117ContinuousMotionBIT119ControlLoopClosedBIT120CamTableQueuedBIT121CamDataQueuedBIT122CamScalingPendingBIT123CmdBufferedBIT124PTPmodeBIT125SoftLimitMinExceededBIT126SoftLimitMaxExceededBIT127DriveDeviceErrorBIT128MotionCommandsLockedBIT129IoDataInvalidBIT130ErrorBIT131%08x0x%08x16#%08XNCTOPLC_AXIS_REF_OPMODE32OpModePosAreaMonitoringBIT10OpModeTargetPosMonitoringBIT11OpModeLoopBIT12OpModeMotionMonitoringBIT13OpModePEHTimeMonitoringBIT14OpModeBacklashCompensationBIT15OpModeDelayedErrorReactionBIT16OpModeModuloBIT17OpModeSimulationAxisBIT18OpModePosLagMonitoringBIT116OpModeVeloLagMonitoringBIT117OpModeSoftLimitMinMonitoringBIT118OpModeSoftLimitMaxMonitoringBIT119OpModePosCorrectionBIT120OpModeAllowSlaveCommandsBIT121OpModeAllowExtSetAxisCommandsBIT122ApplicationRequestBIT123NCTOPLC_AXIS_REF_STATE2_FLAGS32AvoidingCollisionBIT10%08x0x%08x16#%08XNCTOPLC_AXIS_REF_STATE232ValueDWORD320FlagsNCTOPLC_AXIS_REF_STATE2_FLAGS320%08x0x%08x16#%08XNCTOPLC_AXIS_REF_CAMCOUPLINGSTATE8CamActivationPendingBIT10CamDeactivationPendingBIT11CamActiveBIT12CamDataQueuedBIT16CamScalingPendingBIT17UINTARR8128UINT08NCTOPLC_AXIS_REF2048StateDWordNCTOPLC_AXIS_REF_STATE320ErrorCodeUDINT3232AxisStateUDINT + 32 + 64 + + 9 + + + + SETPOS + UDINT + 32 + 96 + + 10 + + + + SETVELO + UDINT + 32 + 128 + + 14 + + + + SETACC + UDINT + 32 + 160 + + 15 + + + + MODULOSETPOS + UDINT + 32 + 192 + + 11 + + + + MODULOSETTURNS + UDINT + 32 + 224 + + 12 + + + + SETDIR + UDINT + 32 + 256 + + 13 + + + + TARGETPOSITION + UDINT + 32 + 288 + + 19 + + + + REMAININGTIMEANDPOS + UDINT + 32 + 320 + + 20 + + + + STOPINFORMATION + UDINT + 32 + 352 + + 24 + + + + SETTASKCYCLE_WITHOUTCORR + UDINT + 32 + 384 + + 25 + + + + SETPOS_WITHOUTCORR + UDINT + 32 + 416 + + 26 + + + + SETVELO_WITHOUTCORR + UDINT + 32 + 448 + + 30 + + + + SETACC_WITHOUTCORR + UDINT + 32 + 480 + + 31 + + + + SETDIR_WITHOUTCORR + UDINT + 32 + 512 + + 29 + + + + COUPLESTATE + UDINT + 32 + 544 + + 32 + + + + CPLPARAMS + UDINT + 32 + 576 + + 34 + + + + CPLFACTOR + UDINT + 32 + 608 + + 35 + + + + AXISCTRLLOOPIDX + UDINT + 32 + 640 + + 36 + + + + AXISSETPOINTGENIDX + UDINT + 32 + 672 + + 37 + + + + CPLCHARACVALUES + UDINT + 32 + 704 + + 38 + + + + CAMINFO + UDINT + 32 + 736 + + 39 + + + + CAMSTATUS + UDINT + activation status etc. + 32 + 768 + + 40 + + + + + conditionalshow + + + + + _ST_NCADS_AxisState + 832 + + IDXGRP + UDINT + 32 + 0 + + 16640 + + + + IDXOFFS + _ST_NCADS_IDXOFFS_AxisState + 800 + 32 + + + + conditionalshow + + + + + _ST_NCADS_IDXOFFS_AxisFunctions + 1792 + + RESET + UDINT + 32 + 0 + + 1 + + + + STOP + UDINT + 32 + 32 + + 2 + + + + CLEAR + UDINT + 32 + 64 + + 3 + + + + EMERGENCYSTOP + UDINT + 32 + 96 + + 4 + + + + PARAMETRIZEDSTOP + UDINT + 32 + 128 + + 5 + + + + INITIALIZE + UDINT + Initialize Axis + 32 + 160 + + 7 + + + + ORIENTEDSTOP + UDINT + 19.04.04 issue #2470 + 32 + 192 + + 9 + + + + CALIBR + UDINT + 32 + 224 + + 16 + + + + NEWTARGPOS + UDINT + 32 + 256 + + 17 + + + + NEWTARGPOSANDVELO + UDINT + 32 + 288 + + 18 + + + + CHANGEDYNAMICPARAM + UDINT + NEU: Neue Dynamikparameter (Acc;Dec) fuer Positionierung + 32 + 320 + + 21 + + + + UNIVERSALSTART + UDINT + 05.03.07: new 'axis start and restart' command with buffer mode (issue #2786+#3276) + 32 + 352 + + 22 + + + + SLAVEUNIVERSALSTART + UDINT + 24.02.09: decoupling command with succeding universal axis start commanded to a slave axis + 32 + 384 + + 23 + + + + RELEASEAXISLOCK + UDINT + 10.12.18 release axis lock for motion commands + 32 + 416 + + 24 + + + + SETEXTERNALERROR + UDINT + 06.10.04: Externen Achsfehler setzen (Laufzeitfehler) issue #2665 + 32 + 448 + + 25 + + + + SETPOS + UDINT + 32 + 480 + + 26 + + + + SETCALFLAG + UDINT + "ist referenziert"-Flag setzen + 32 + 512 + + 27 + + + + SETACTPOS + UDINT + nur Istwertsetzen ohne Sollwertaenderung !!! + 32 + 544 + + 28 + + + + SETDRIVEPOS + UDINT + antriebsseitiges Istwertsetzen + 32 + 576 + + 29 + + + + SETENCODERSCALING + UDINT + 17.07.08: "Fliegende Änderung des Skalierungsfaktors" + 32 + 608 + + 30 + + + + SETPOSONTHEFLY + UDINT + 29.11.05: "Fliegendes Istwert Setzen" (betrifft Ist - und Sollwert) (issue #3017) + 32 + 640 + + 31 + + + + START + UDINT + 32 + 672 + + 32 + + + + STARTEXT + UDINT + 32 + 704 + + 33 + + + + STARTVELOCHANGE + UDINT + special function for MMW + 32 + 736 + + 34 + + + + ENABLEEXTGEN + UDINT + enable/start external setpoint values + 32 + 768 + + 35 + + + + DISABLEEXTGEN + UDINT + disable/stop external setpoint values + 32 + 800 + + 36 + + + + REVERSINGSEQUENCE + UDINT + 32 + 832 + + 37 + + + + STARTDRVOUT + UDINT + 32 + 864 + + 38 + + + + STOPDRVOUT + UDINT + 32 + 896 + + 39 + + + + CHANGEDRVOUT + UDINT + 32 + 928 + + 40 + + + + JUMPTOOVERRIDE + UDINT + 04.11.04: jump to actual override value and froze them until change (issue #2697) + 32 + 960 + + 41 + + + + EXTSETGENUNIVERSALSTART + UDINT + 23.11.10: deactivation of external setpoint generator with succeding universal axis start command + 32 + 992 + + 43 + + + + UNIVERSALTORQUESTART + UDINT + 20181210 Fap - new 'axis torque control start and restart' command with buffer mode + 32 + 1024 + + 45 + + + + STARTSCOM + UDINT + start superposition (position compensation) - 21.12.04: nun auch als 'ReadWrite'-Kommando + 32 + 1056 + + 48 + + + + STOPSCOM + UDINT + stop superposition (position compensation) + 32 + 1088 + + 49 + + + + PHASINGREQEUST + UDINT + start/stop the additional phasing set point generator used for a master/slave phase shift + 32 + 1120 + + 52 + + + + CPL + UDINT + Achse koppeln + 32 + 1152 + + 64 + + + + DECPL + UDINT + Achse entkoppeln (und optional neue Endposition mit neuer Geschwindigkeit) + 32 + 1184 + + 65 + + + + CPLCHANGE + UDINT + Achse Koppelparams ändern + 32 + 1216 + + 66 + + + + TABCPLCHANGE + UDINT + 3x TabSlaveAxe Tabelle-Koppelparams ändern + 32 + 1248 + + 67 + + + + STOPSLAVE + UDINT + Slave-Stop (Diagonal-Slave / Flying Saw) + 32 + 1280 + + 68 + + + + CPLTAB + UDINT + TabSlaveAxe Koppelparams setzen + 32 + 1312 + + 69 + + + + TABSLVACTIVCOR + UDINT + 2x TabSlaveAxe Korrekturtabelle aktivieren (mit/ohne Aktivierungsposition) + 32 + 1344 + + 70 + + + + TABSLVLEAVECYC + UDINT + TabSlaveAxe Monozyklische Tabelle beenden + 32 + 1376 + + 71 + + + + TABSLVCOROFFSET + UDINT + TabSlaveAxe Letzter Korrektur Offset + 32 + 1408 + + 72 + + + + TABSLVSCALING + UDINT + NEU: Slave-Skalierung der Solo-Tabellenkopplung setzen + 32 + 1440 + + 73 + + + + CPLSOLOTAB + UDINT + Solo Tabellen Kopplung + 32 + 1472 + + 74 + + + + CPLSYNCHRONIZING + UDINT + Slave Synchronizing Generator ('GearInPos' and 'GearInVelo') + 32 + 1504 + + 75 + + + + CAMSCALING + UDINT + Slave Change CAM Scaling (Aenderung der Tabellenskalierung) (issue #2514) + 32 + 1536 + + 77 + + + + DISABLE + UDINT + Achse sperren + 32 + 1568 + + 80 + + + + ENABLE + UDINT + Achse reaktivieren + 32 + 1600 + + 81 + + + + CHANGEAXISCTRLLOOP + UDINT + NEU: Aenderung des aktiven Achsregelkreises + 32 + 1632 + + 82 + + + + DRIVEDISABLE + UDINT + Drive-Output der Achse sperren + 32 + 1664 + + 96 + + + + DRIVEENABLE + UDINT + Drive-Output der Achse reaktivieren + 32 + 1696 + + 97 + + + + RELEASEBRAKE + UDINT + Feststellbremse loesen (Eil/Schleich-Gruppe) + 32 + 1728 + + 98 + + + + RECONFIGURATE + UDINT + Achse zurueckfuehren in eigene PTP-Gruppe + 32 + 1760 + + 112 + + + + + conditionalshow + + + + + _ST_NCADS_AxisFunctions + 1824 + + IDXGRP + UDINT + 32 + 0 + + 16896 + + + + IDXOFFS + _ST_NCADS_IDXOFFS_AxisFunctions + 1792 + 32 + + + + conditionalshow + + + + + _ST_NCADS_Axis + 4320 + + Parameter + _ST_NCADS_AxisParameter + 1664 + 0 + + + State + _ST_NCADS_AxisState + 832 + 1664 + + + Functions + _ST_NCADS_AxisFunctions + 1824 + 2496 + + + + conditionalshow + + + + + _ST_NCADS_IDXOFFS_TableParameter + 192 + + MFREADCHARACVALUES + UDINT + read characteristic values of a motion function + 32 + 0 + + 80 + + + + WRITETABROWS + UDINT + write table + 32 + 32 + + 16777216 + + + + WRITEMFTABROWS + UDINT + write motion function table + 32 + 64 + + 83886080 + + + + MFREADTAB + UDINT + read motion function as data table + 32 + 96 + + 34 + + + + READSLAVEDYNAMICS + UDINT + read slave table position, velocity and acceleration related to a master position + 32 + 128 + + 35 + + + + READMASTERPOSITION + UDINT + read master table position related to slave position + 32 + 160 + + 36 + + + + + conditionalshow + + + + + _ST_NCADS_TableParameter + 224 + + IDXGRP + UDINT + 32 + 0 + + 40960 + + + + IDXOFFS + _ST_NCADS_IDXOFFS_TableParameter + 192 + 32 + + + + conditionalshow + + + + + _ST_NCADS_IDXOFFS_TableFunctions + 96 + + CREATETAB + UDINT + create table + 32 + 0 + + 65536 + + + + CREATEMOTIONTAB + UDINT + create motion function table + 32 + 32 + + 65552 + + + + DELETETAB + UDINT + delete tables + 32 + 64 + + 131072 + + + + + conditionalshow + + + + + _ST_NCADS_TableFunctions + 128 + + IDXGRP + UDINT + 32 + 0 + + 41472 + + + + IDXOFFS + _ST_NCADS_IDXOFFS_TableFunctions + 96 + 32 + + + + conditionalshow + + + + + _ST_NCADS_Table + 352 + + Parameter + _ST_NCADS_TableParameter + 224 + 0 + + + Functions + _ST_NCADS_TableFunctions + 128 + 224 + + + + conditionalshow + + + + + ADSRDDEVINFO + ADS read device info command. + 1280 + + NETID + T_AmsNetID + Ams net id + 192 + 32 + + + ItemType + Input + + + + + PORT + T_AmsPort + Ads communication port + 16 + 224 + + + ItemType + Input + + + + + RDINFO + BOOL + Rising edge starts command execution + 8 + 240 + + + ItemType + Input + + + + + TMOUT + TIME + Maximum time allowed for the execution of this ADS command + 32 + 256 + + 5000 + + + + ItemType + Input + + + + + BUSY + BOOL + Busy flag + 8 + 288 + + + ItemType + Output + + + + + ERR + BOOL + Error flag + 8 + 296 + + + ItemType + Output + + + + + ERRID + UDINT + ADS error code + 32 + 320 + + + ItemType + Output + + + + + DEVNAME + STRING(19) + Device name + 160 + 352 + + + ItemType + Output + + + + + DEVVER + UDINT + Device version + 32 + 512 + + + ItemType + Output + + + + + + PouType + FunctionBlock + + + hide_all_locals + + + + + _TCMCGLOBAL + Global constants and parameters + 6976 + + NCPORT_TCMC + UINT + 20110511 type changed from INT to UINT + 16 + 32 + + 500 + + + + ItemType + Input + + + + + NCPORT_TCMC_COUPLING + UINT + 20110511 type changed from INT to UINT + 16 + 48 + + 500 + + + + ItemType + Input + + + + + NCNETID_TCMC + T_AmsNetID + 192 + 64 + + + + + + ItemType + Input + + + + + NCPORT_TCMC_CAM + UINT + 20110511 type changed from INT to UINT + 16 + 256 + + 500 + + + + ItemType + Input + + + + + NCPORT_TCMC_CAM_FAST + UINT + 20150728 KSt added + 16 + 272 + + 500 + + + + ItemType + Input + + + + + NCNETID_TCMC_CAM + T_AmsNetID + 192 + 288 + + + + + + ItemType + Input + + + + + NCPORT_TCMC_SUPERPOSITION + UINT + 20140930 KSt added + 16 + 480 + + 501 + + + + ItemType + Input + + + + + NcDeviceInfoTcMainVersion + DWORD + 32 + 512 + + + ItemType + Output + + + + + NcDeviceInfoTcSubVersion + DWORD + 32 + 544 + + + ItemType + Output + + + + + NcDeviceInfoNcDriverVersion + DWORD + 32 + 576 + + + ItemType + Output + + + + + NcDeviceInfoNcVersion + DWORD + 32 + 608 + + + ItemType + Output + + + + + NcDeviceInfoNcName + STRING(19) + 160 + 640 + + + ItemType + Output + + + + + Axis + _ST_NCADS_Axis + IDXGRP and IDXOFFS constants of axis parameter/status/functions + 4320 + 800 + + + ItemType + Output + + + suppress_warning_0 + C0228 + + + + + Table + _ST_NCADS_Table + IDXGRP and IDXOFFS constants of table parameter/status/functions + 352 + 5120 + + + ItemType + Output + + + suppress_warning_0 + C0228 + + + + + NCPORT_TCNCCAMMING_TABLEFUNCTION + UINT + 16 + 5472 + + 500 + + + + tTargetPosTimeOut + TIME + 32 + 5504 + + 6000 + + + + tADSTimeOut + TIME + 32 + 5536 + + 1000 + + + + tStopMonitoringTimeOut + TIME + 32 + 5568 + + 100 + + + + NCTOPLC_FEEDBACK_MAXWAITCYCLES + INT + 16 + 5600 + + 10 + + + + fbADSRDDEVINFO + ADSRDDEVINFO + 1280 + 5632 + + + DeviceVersion + DWORD + 32 + 6912 + + + Init + BOOL + 8 + 6944 + + + ReadDeviceInfo + + + + PouType + FunctionBlock + + + conditionalshow + + + + + PLCTONC_AXIS_REF_CTRL + 32 + + Enable + BIT + 1 + 0 + + + FeedEnablePlus + BIT + 1 + 1 + + + FeedEnableMinus + BIT + 1 + 2 + + + HomingSensor + BIT + 1 + 5 + + + AcceptBlockedDrive + BIT + 1 + 8 + + + PlcDebugFlag + BIT + 1 + 30 + + + NcDebugFlag + BIT + 1 + 31 + + + %08x + + + 0x%08x + + + 16#%08X + + + + PLCTONC_AXIS_REF + 1024 + + ControlDWord + PLCTONC_AXIS_REF_CTRL + 32 + 0 + + + Override + UDINT + 32 + 32 + + + AxisModeRequest + UDINT + 32 + 64 + + + AxisModeDWord + UDINT + 32 + 96 + + + AxisModeLReal + LREAL + 64 + 128 + + + PositionCorrection + LREAL + 64 + 192 + + + ExtSetPos + LREAL + 64 + 256 + + + ExtSetVelo + LREAL + 64 + 320 + + + ExtSetAcc + LREAL + 64 + 384 + + + ExtSetDirection + DINT + 32 + 448 + + + ExtControllerOutput + LREAL + 64 + 512 + + + GearRatio1 + LREAL + 64 + 576 + + + GearRatio2 + LREAL + 64 + 640 + + + GearRatio3 + LREAL + 64 + 704 + + + GearRatio4 + LREAL + 64 + 768 + + + MapState + BOOL + 8 + 832 + + + PlcCycleControl + BYTE + 8 + 840 + + + PlcCycleCount + BYTE + 8 + 848 + + + + NcStructType + 1 + + + + + NCAXLESTRUCT_FROMPLC3 + + + + + NCTOPLC_AXIS_REF_STATE + 32 + + Operational + BIT + 1 + 0 + + + Homed + BIT + 1 + 1 + + + NotMoving + BIT + 1 + 2 + + + InPositionArea + BIT + 1 + 3 + + + InTargetPosition + BIT + 1 + 4 + + + Protected + BIT + 1 + 5 + + + ErrorPropagationDelayed + BIT + 1 + 6 + + + HasBeenStopped + BIT + 1 + 7 + + + HasJob + BIT + 1 + 8 + + + PositiveDirection + BIT + 1 + 9 + + + NegativeDirection + BIT + 1 + 10 + + + HomingBusy + BIT + 1 + 11 + + + ConstantVelocity + BIT + 1 + 12 + + + Compensating + BIT + 1 + 13 + + + ExtSetPointGenEnabled + BIT + 1 + 14 + + + PhasingActive + BIT + 1 + 15 + + + ExternalLatchValid + BIT + 1 + 16 + + + NewTargetPos + BIT + 1 + 17 + + + ContinuousMotion + BIT + 1 + 19 + + + ControlLoopClosed + BIT + 1 + 20 + + + CamTableQueued + BIT + 1 + 21 + + + CamDataQueued + BIT + 1 + 22 + + + CamScalingPending + BIT + 1 + 23 + + + CmdBuffered + BIT + 1 + 24 + + + PTPmode + BIT + 1 + 25 + + + SoftLimitMinExceeded + BIT + 1 + 26 + + + SoftLimitMaxExceeded + BIT + 1 + 27 + + + DriveDeviceError + BIT + 1 + 28 + + + MotionCommandsLocked + BIT + 1 + 29 + + + IoDataInvalid + BIT + 1 + 30 + + + Error + BIT + 1 + 31 + + + %08x + + + 0x%08x + + + 16#%08X + + + + NCTOPLC_AXIS_REF_OPMODE + 32 + + OpModePosAreaMonitoring + BIT + 1 + 0 + + + OpModeTargetPosMonitoring + BIT + 1 + 1 + + + OpModeLoop + BIT + 1 + 2 + + + OpModeMotionMonitoring + BIT + 1 + 3 + + + OpModePEHTimeMonitoring + BIT + 1 + 4 + + + OpModeBacklashCompensation + BIT + 1 + 5 + + + OpModeDelayedErrorReaction + BIT + 1 + 6 + + + OpModeModulo + BIT + 1 + 7 + + + OpModeSimulationAxis + BIT + 1 + 8 + + + OpModePosLagMonitoring + BIT + 1 + 16 + + + OpModeVeloLagMonitoring + BIT + 1 + 17 + + + OpModeSoftLimitMinMonitoring + BIT + 1 + 18 + + + OpModeSoftLimitMaxMonitoring + BIT + 1 + 19 + + + OpModePosCorrection + BIT + 1 + 20 + + + OpModeAllowSlaveCommands + BIT + 1 + 21 + + + OpModeAllowExtSetAxisCommands + BIT + 1 + 22 + + + ApplicationRequest + BIT + 1 + 23 + + + + NCTOPLC_AXIS_REF_STATE2_FLAGS + 32 + + AvoidingCollision + BIT + 1 + 0 + + + %08x + + + 0x%08x + + + 16#%08X + + + + NCTOPLC_AXIS_REF_STATE2 + 32 + + Value + DWORD + 32 + 0 + + + Flags + NCTOPLC_AXIS_REF_STATE2_FLAGS + 32 + 0 + + + %08x + + + 0x%08x + + + 16#%08X + + + + NCTOPLC_AXIS_REF_CAMCOUPLINGSTATE + 8 + + CamActivationPending + BIT + 1 + 0 + + + CamDeactivationPending + BIT + 1 + 1 + + + CamActive + BIT + 1 + 2 + + + CamDataQueued + BIT + 1 + 6 + + + CamScalingPending + BIT + 1 + 7 + + + + UINTARR8 + 128 + UINT + + 0 + 8 + + + + NCTOPLC_AXIS_REF + 2048 + + StateDWord + NCTOPLC_AXIS_REF_STATE + 32 + 0 + + + ErrorCode + UDINT + 32 + 32 + + + AxisState + UDINT + Present State Of The Axis Movement (continuous axis): 0 = INACTIVE: axis has no job 1 = RUNNING: axis is executing a motion job 2 = OVERRIDE_ZERO: axis is executing a job but override is zero @@ -359,7 +29406,20 @@ Slaves only: External Setpoint Generation: 41 = EXTSETGEN_MODE1: external setpoint generation active 42 = EXTSETGEN_MODE2: internal and external setpoint gen. active -]]>3264AxisModeConfirmationUDINT3296HomingStateUDINT + 32 + 64 + + + AxisModeConfirmation + UDINT + 32 + 96 + + + HomingState + UDINT + Axis Homing Status: 0: idle 1: start homing 2: searching home switch @@ -367,12 +29427,1279 @@ External Setpoint Generation: 4: moving off home switch 5: searching sync pulse 6: stopping after homing -]]>32128CoupleStateUDINT + 32 + 128 + + + CoupleState + UDINT + Axis Coupling Status: 0: axis is a single axis (not coupled) 1: axis is a master axis 2: axis is master and slave 3: axis is a slave axis -]]>32160SvbEntriesUDINT32192SafEntriesUDINT32224AxisIdUDINT32256OpModeDWordNCTOPLC_AXIS_REF_OPMODE32288ActPosLREAL64320ModuloActPosLREAL64384ActiveControlLoopIndexUINT16448ControlLoopIndexUINT16464ModuloActTurnsDINT32480ActVeloLREAL64512PosDiffLREAL64576SetPosLREAL64640SetVeloLREAL64704SetAccLREAL64768TargetPosLREAL64832ModuloSetPosLREAL64896ModuloSetTurnsDINT32960CmdNoUINT16992CmdStateUINT161008SetJerkLREAL641024SetTorqueLREAL641088ActTorqueLREAL641152StateDWord2NCTOPLC_AXIS_REF_STATE2321216StateDWord3DWORD321248TouchProbeStateDWORD321280TouchProbeCounterDWORD321312CamCouplingStateNCTOPLC_AXIS_REF_CAMCOUPLINGSTATE08641344CamCouplingTableIDUINTARR81281408ActTorqueDerivativeLREAL641536SetTorqueDerivativeLREAL641600ActPosWithoutPosCorrectionLREAL641792ActAccLREAL641856DcTimeStampUDINT321920NcStructType2NCAXLESTRUCT_TOPLCNCAXLESTRUCT_TOPLC2NCAXLESTRUCT_TOPLC3NCAXLESTRUCT_TOPLC4ST_AdsAddress224NetIdSTRING(23)1920PortUINT16192ChannelUINT16208MC_AxisStates16INTMC_AXISSTATE_UNDEFINED0MC_AXISSTATE_DISABLED1MC_AXISSTATE_STANDSTILL2MC_AXISSTATE_ERRORSTOP3MC_AXISSTATE_STOPPING4MC_AXISSTATE_HOMING5MC_AXISSTATE_DISCRETEMOTION6MC_AXISSTATE_CONTINOUSMOTION7MC_AXISSTATE_SYNCHRONIZEDMOTION8ST_AxisOpModes136PositionAreaMonitoringBOOL80TargetPositionMonitoringBOOL88LoopModeBOOL816MotionMonitoringBOOL824PEHTimeMonitoringBOOL832BacklashCompensationBOOL840DelayedErrorReactionBOOL848ModuloBOOL856SimulationAxisBOOL864StopMonitoringBOOL872PositionLagMonitoringBOOL880VelocityLagMonitoringBOOL888SoftLimitMinMonitoringBOOL896SoftLimitMaxMonitoringBOOL8104PositionCorrectionBOOL8112AllowSlaveCommandsBOOL8120AllowExtSetAxisCommandsBOOL8128ST_AxisStatus768UpdateTaskIndexBYTE80UpdateCycleTimeLREAL6464CycleCounterUDINT32128NcCycleCounterUDINT32160MotionStateMC_AxisStates16192ErrorBOOL8208ErrorIDUDINT32224displaymodehexErrorStopBOOL8256DisabledBOOL8264StoppingBOOL8272StandStillBOOL8280DiscreteMotionBOOL8288ContinuousMotionBOOL8296SynchronizedMotionBOOL8304HomingBOOL8312ConstantVelocityBOOL8320AcceleratingBOOL8328DeceleratingBOOL8336OperationalBOOL8344ControlLoopClosedBOOL8352HasJobBOOL8360HasBeenStoppedBOOL8368NewTargetPositionBOOL8376InPositionAreaBOOL8384InTargetPositionBOOL8392ProtectedModeBOOL8400HomedBOOL8408HomingBusyBOOL8416MotionCommandsLockedBOOL8424SoftLimitMinExceededBOOL8432SoftLimitMaxExceededBOOL8440MovingBOOL8448PositiveDirectionBOOL8456NegativeDirectionBOOL8464NotMovingBOOL8472CompensatingBOOL8480ExtSetPointGenEnabledBOOL8488PhasingActiveBOOL8496ExternalLatchValidBOOL8504CamDataQueuedBOOL8512CamTableQueuedBOOL8520CamScalingPendingBOOL8528CmdBufferedBOOL8536PTPmodeBOOL8544DriveDeviceErrorBOOL8552IoDataInvalidBOOL8560ErrorPropagationDelayedBOOL8568DriveLimitActiveBOOL8576CoupledBOOL8584OpModeST_AxisOpModes136592NcApplicationRequestBOOL8728E_NcDriveType32DWORDNcDriveType_undefined0NcDriveType_M2400_DAC11NcDriveType_M2400_DAC22NcDriveType_M2400_DAC33NcDriveType_M2400_DAC44NcDriveType_KL4XXX5NcDriveType_KL4XXX_NonLinear6NcDriveType_Discete_TwoSpeed7NcDriveType_Stepper8NcDriveType_Sercos9NcDriveType_KL505110NcDriveType_AX2000_B20011NcDriveType_ProfiDrive12NcDriveType_Universal13NcDriveType_NcBackplane14NcDriveType_CANopen_Lenze15NcDriveType_CANopen_DS402_MDP74216NcDriveType_AX2000_B90017NcDriveType_KL2531_Stepper20NcDriveType_KL2532_DC21NcDriveType_TCOM22 Interface to Soft Drive]]>NcDriveType_MDP_73323NcDriveType_MDP_70324E_NcEncoderType32DWORDNcEncoderType_undefined0NcEncoderType_Simulation1NcEncoderType_ABS_M30002NcEncoderType_INC_M31X03NcEncoderType_INC_KL51014NcEncoderType_ABS_KL5001_SSI5NcEncoderType_INC_KL50516NcEncoderType_ABS_KL30XX7NcEncoderType_INC_Sercos_P8NcEncoderType_INC_Sercos_PV9NcEncoderType_INC_Binary10NcEncoderType_ABS_M251011NcEncoderType_ABS_FOX5012NcEncoderType_ABS_HYDRAULIC_FORCE13NcEncoderType_INC_AX2000_B20014NcEncoderType_INC_PROFIDRIVE15NcEncoderType_INC_UNIVERSAL16NcEncoderType_INC_NCBACKPLANE17NcEncoderType_INC_CANOPEN_LENZE18NcEncoderType_INC_CANOPEN_DS402_MDP513_MDP74219NcEncoderType_INC_AX2000_B90020NcEncoderType_INC_KL515121NcEncoderType_INC_IP520924NcEncoderType_INC_KL2531_Stepper25NcEncoderType_INC_KL2532_DC26NcEncoderType_INC_TIMEBASEGENERATOR27NcEncoderType_INC_TCOM28 Interface to Soft Drive Encoder]]>NcEncoderType_INC_CANOPEN_MDP513_64BIT29NcEncoderType_SPECIFIC100E_NcAxisType32DWORDNcAxisType_undefined0NcAxisType_Continious1NcAxisType_Discrete_TwoSpeed2NcAxisType_LowCostStepper_DigIO3NcAxisType_Encoder5NcAxisType_Hydraulic6NcAxisType_TimeGenerator7NcAxisType_Specific100ST_DriveAddress640NetIDT_AmsNetID1920NetIdBytesT_AmsNetIdArr48192SlaveAddressT_AmsPort16240ChannelBYTE8256NcDriveIdDWORD32288NcDriveIndexDWORD32320NcDriveTypeE_NcDriveType32352NcEncoderIdDWORD32384NcEncoderIndexDWORD32416NcEncoderTypeE_NcEncoderType32448NcAxisIdDWORD32480NcAxisTypeE_NcAxisType32512TcSoftDriveObjectIdOTCID32544conditionalshowTcDriveObjectIdOTCID32576TcEncoderObjectIdOTCID32608_E_PhasingState16INTPhasingInactive0PhasingActivated1PhasingAborted2_InternalAxisRefData128NcCycleCounterAvailableBOOL80NcCycleCounter_AtReadStatusCallUDINT3232LastTaskIndex_AtReadStatusCallBYTE864CounterSameTaskIndex_AtReadStatusCallUINT1680PhasingState_E_PhasingState1696conditionalshowAXIS_REF + 32 + 160 + + + SvbEntries + UDINT + 32 + 192 + + + SafEntries + UDINT + 32 + 224 + + + AxisId + UDINT + 32 + 256 + + + OpModeDWord + NCTOPLC_AXIS_REF_OPMODE + 32 + 288 + + + ActPos + LREAL + 64 + 320 + + + ModuloActPos + LREAL + 64 + 384 + + + ActiveControlLoopIndex + UINT + 16 + 448 + + + ControlLoopIndex + UINT + 16 + 464 + + + ModuloActTurns + DINT + 32 + 480 + + + ActVelo + LREAL + 64 + 512 + + + PosDiff + LREAL + 64 + 576 + + + SetPos + LREAL + 64 + 640 + + + SetVelo + LREAL + 64 + 704 + + + SetAcc + LREAL + 64 + 768 + + + TargetPos + LREAL + 64 + 832 + + + ModuloSetPos + LREAL + 64 + 896 + + + ModuloSetTurns + DINT + 32 + 960 + + + CmdNo + UINT + 16 + 992 + + + CmdState + UINT + 16 + 1008 + + + SetJerk + LREAL + 64 + 1024 + + + SetTorque + LREAL + 64 + 1088 + + + ActTorque + LREAL + 64 + 1152 + + + StateDWord2 + NCTOPLC_AXIS_REF_STATE2 + 32 + 1216 + + + StateDWord3 + DWORD + 32 + 1248 + + + TouchProbeState + DWORD + 32 + 1280 + + + TouchProbeCounter + DWORD + 32 + 1312 + + + CamCouplingState + NCTOPLC_AXIS_REF_CAMCOUPLINGSTATE + + 0 + 8 + + 64 + 1344 + + + CamCouplingTableID + UINTARR8 + 128 + 1408 + + + ActTorqueDerivative + LREAL + 64 + 1536 + + + SetTorqueDerivative + LREAL + 64 + 1600 + + + ActPosWithoutPosCorrection + LREAL + 64 + 1792 + + + ActAcc + LREAL + 64 + 1856 + + + DcTimeStamp + UDINT + 32 + 1920 + + + + NcStructType + 2 + + + + + NCAXLESTRUCT_TOPLC + + + NCAXLESTRUCT_TOPLC2 + + + NCAXLESTRUCT_TOPLC3 + + + NCAXLESTRUCT_TOPLC4 + + + + + + + + + + + + + + ST_AdsAddress + 224 + + NetId + STRING(23) + 192 + 0 + + + Port + UINT + 16 + 192 + + + Channel + UINT + 16 + 208 + + + + MC_AxisStates + 16 + INT + + MC_AXISSTATE_UNDEFINED + 0 + + + MC_AXISSTATE_DISABLED + 1 + + + MC_AXISSTATE_STANDSTILL + 2 + + + MC_AXISSTATE_ERRORSTOP + 3 + + + MC_AXISSTATE_STOPPING + 4 + + + MC_AXISSTATE_HOMING + 5 + + + MC_AXISSTATE_DISCRETEMOTION + 6 + + + MC_AXISSTATE_CONTINOUSMOTION + 7 + + + MC_AXISSTATE_SYNCHRONIZEDMOTION + 8 + + + + ST_AxisOpModes + axis operation mode feedback from NcToPlc. + 136 + + PositionAreaMonitoring + BOOL + bit 0 - OpModeDWord + 8 + 0 + + + TargetPositionMonitoring + BOOL + bit 1 - OpModeDWord + 8 + 8 + + + LoopMode + BOOL + bit 2 - OpModeDWord - loop mode for two speed axes + 8 + 16 + + + MotionMonitoring + BOOL + bit 3 - OpModeDWord + 8 + 24 + + + PEHTimeMonitoring + BOOL + bit 4 - OpModeDWord + 8 + 32 + + + BacklashCompensation + BOOL + bit 5 - OpModeDWord + 8 + 40 + + + DelayedErrorReaction + BOOL + bit 6 - OpModeDWord + 8 + 48 + + + Modulo + BOOL + bit 7 - OpModeDWord - axis is parameterized as modulo axis + 8 + 56 + + + SimulationAxis + BOOL + bit 8 - OpModeDWord - axis is a simulation axis - available from 2.11 R2 B2033 - 2011-05-31 KSt + 8 + 64 + + + StopMonitoring + BOOL + bit 12 - OpModeDWord - TargetPositionMonitoring for Stop and Halt commands - available from 2.11 R3 - 2011-12-09 KSt + 8 + 72 + + + PositionLagMonitoring + BOOL + bit 16 - OpModeDWord + 8 + 80 + + + VelocityLagMonitoring + BOOL + bit 17 - OpModeDWord + 8 + 88 + + + SoftLimitMinMonitoring + BOOL + bit 18 - OpModeDWord + 8 + 96 + + + SoftLimitMaxMonitoring + BOOL + bit 19 - OpModeDWord + 8 + 104 + + + PositionCorrection + BOOL + bit 20 - OpModeDWord + 8 + 112 + + + AllowSlaveCommands + BOOL + 2009-02-20 KSt + 8 + 120 + + + AllowExtSetAxisCommands + BOOL + 2011-10-13 KSt + 8 + 128 + + + + ST_AxisStatus + 768 + + UpdateTaskIndex + BYTE + Task-Index of the task that updated this data set + 8 + 0 + + + UpdateCycleTime + LREAL + task cycle time of the task which calls the status function + 64 + 64 + + + CycleCounter + UDINT + PLC cycle counter when this data set updated + 32 + 128 + + + NcCycleCounter + UDINT + NC cycle counter incremented after NC task updated NcToPlc data structures + 32 + 160 + + + MotionState + MC_AxisStates + motion state in the PLCopen state diagram + 16 + 192 + + + Error + BOOL + StateDWord bit 31 - axis error state + 8 + 208 + + + ErrorID + UDINT + axis error code + 32 + 224 + + + displaymode + hex + + + + + ErrorStop + BOOL + PLCopen motion control statemachine states: + 8 + 256 + + + Disabled + BOOL + 8 + 264 + + + Stopping + BOOL + 8 + 272 + + + StandStill + BOOL + 8 + 280 + + + DiscreteMotion + BOOL + 8 + 288 + + + ContinuousMotion + BOOL + StateDWord bit 19 + 8 + 296 + + + SynchronizedMotion + BOOL + 8 + 304 + + + Homing + BOOL + 8 + 312 + + + ConstantVelocity + BOOL + StateDWord bit 12 + 8 + 320 + + + Accelerating + BOOL + 8 + 328 + + + Decelerating + BOOL + 8 + 336 + + + Operational + BOOL + StateDWord bit 0 - (was ready) + 8 + 344 + + + ControlLoopClosed + BOOL + StateDWord bit 20 - operational and position control active + 8 + 352 + + + HasJob + BOOL + StateDWord bit 8 + 8 + 360 + + + HasBeenStopped + BOOL + StateDWord bit 7 + 8 + 368 + + + NewTargetPosition + BOOL + StateDWord bit 17 - new target position commanded during move + 8 + 376 + + + InPositionArea + BOOL + StateDWord bit 3 + 8 + 384 + + + InTargetPosition + BOOL + StateDWord bit 4 + 8 + 392 + + + ProtectedMode + BOOL + StateDWord bit 5 + 8 + 400 + + + Homed + BOOL + StateDWord bit 1 + 8 + 408 + + + HomingBusy + BOOL + StateDWord bit 11 + 8 + 416 + + + MotionCommandsLocked + BOOL + StateDWord bit 29 - stop 'n hold + 8 + 424 + + + SoftLimitMinExceeded + BOOL + StateDWord bit 26 - reverse soft travel limit exceeded + 8 + 432 + + + SoftLimitMaxExceeded + BOOL + StateDWord bit 27 - forward soft travel limit exceeded + 8 + 440 + + + Moving + BOOL + StateDWord bit 9+10 + 8 + 448 + + + PositiveDirection + BOOL + StateDWord bit 9 + 8 + 456 + + + NegativeDirection + BOOL + StateDWord bit 10 + 8 + 464 + + + NotMoving + BOOL + StateDWord bit 2 + 8 + 472 + + + Compensating + BOOL + superposition - overlayed motion + 8 + 480 + + + ExtSetPointGenEnabled + BOOL + StateDWord bit 14 + 8 + 488 + + + PhasingActive + BOOL + StateDWord bit 15 + 8 + 496 + + + ExternalLatchValid + BOOL + StateDWord bit 16 + 8 + 504 + + + CamDataQueued + BOOL + StateDWord bit 22 + 8 + 512 + + + CamTableQueued + BOOL + StateDWord bit 21 + 8 + 520 + + + CamScalingPending + BOOL + StateDWord bit 23 + 8 + 528 + + + CmdBuffered + BOOL + StateDWord bit 24 + 8 + 536 + + + PTPmode + BOOL + StateDWord bit 25 + 8 + 544 + + + DriveDeviceError + BOOL + StateDWord bit 28 + 8 + 552 + + + IoDataInvalid + BOOL + StateDWord bit 30 + 8 + 560 + + + ErrorPropagationDelayed + BOOL + StateDWord bit 6 + 8 + 568 + + + DriveLimitActive + BOOL + StateDWord bit 18 - 20181213 Fap + 8 + 576 + + + Coupled + BOOL + Axis.NcToPlc.CoupleState + 8 + 584 + + + OpMode + ST_AxisOpModes + axis operation mode feedback from NcToPlc + 136 + 592 + + + NcApplicationRequest + BOOL + OpModeDWord bit 23 + 8 + 728 + + + + E_NcDriveType + 32 + DWORD + + NcDriveType_undefined + 0 + + + NcDriveType_M2400_DAC1 + 1 + + + NcDriveType_M2400_DAC2 + 2 + + + NcDriveType_M2400_DAC3 + 3 + + + NcDriveType_M2400_DAC4 + 4 + + + NcDriveType_KL4XXX + 5 + MDP 252/253: KL4xxx, PWM KL2502_30K (Frq-Cnt-Impuls-Modus), KL4132 (16 Bit), Pulse-Train KL2521, IP2512 + + + NcDriveType_KL4XXX_NonLinear + 6 + MDP 252/253: Analog-Typ für nichtlineare Kennlinie + + + NcDriveType_Discete_TwoSpeed + 7 + + + NcDriveType_Stepper + 8 + + + NcDriveType_Sercos + 9 + + + NcDriveType_KL5051 + 10 + MDP 510: BISSI Drive KL5051 mit 32 Bit (siehe KL4XXX) + + + NcDriveType_AX2000_B200 + 11 + AX2000-B200 Lightbus, Inkremental mit 32 Bit (AX2000) + + + NcDriveType_ProfiDrive + 12 + Inkremental mit 32 Bit + + + NcDriveType_Universal + 13 + Variable Bitmaske (max. 32 Bit, signed value) + + + NcDriveType_NcBackplane + 14 + Variable Bitmaske (max. 32 Bit, signed value) + + + NcDriveType_CANopen_Lenze + 15 + CANopen Lenze (max. 32 Bit, signed value) + + + NcDriveType_CANopen_DS402_MDP742 + 16 + MDP 742 (DS402): CANopen und EtherCAT (AX2000-B510, AX2000-B1x0, EL7201, AX8000) + + + NcDriveType_AX2000_B900 + 17 + AX2000-B900 Ethernet (max. 32 Bit, signed value) + + + NcDriveType_KL2531_Stepper + 20 + Schrittmotorklemme KL2531/KL2541 + + + NcDriveType_KL2532_DC + 21 + 2-Kanal-DC-Motor-Endstufe (2-channel DC motor stage) KL2532/KL2542, 2-Kanal-PWM-DC-Motorendstufe KL2535/KL2545 + + + NcDriveType_TCOM + 22 + TCOM Drive -> Interface to Soft Drive + + + NcDriveType_MDP_733 + 23 + MDP 733: Modular Device Profile MDP 733 for DC (e.g. EL7332/EL7342) (20.02.09) + + + NcDriveType_MDP_703 + 24 + MDP 703: Modular Device Profile MDP 703 for stepper (e.g. EL7031/EL7041) + + + + E_NcEncoderType + 32 + DWORD + + NcEncoderType_undefined + 0 + + + NcEncoderType_Simulation + 1 + Simulation + + + NcEncoderType_ABS_M3000 + 2 + Absolut mit 24 und 25 Bit sowie 12 und 13 Bit Single Turn Encoder (M3000) + + + NcEncoderType_INC_M31X0 + 3 + Inkremental mit 24 Bit (M31x0, M3200, M3100, M2000) + + + NcEncoderType_INC_KL5101 + 4 + MDP 511: Inkremental mit 16 Bit und Latch (MDP511: EL7041, EL5101, EL5151, EL2521, EL5021(SinCos); KL5101, IP5109, KL5111) + + + NcEncoderType_ABS_KL5001_SSI + 5 + MDP 500/501: Absolut SSI mit 24 Bit (KL5001, IP5009)(MDP 501: EL5001) + + + NcEncoderType_INC_KL5051 + 6 + MDP 510: Absolut/Inkremental BISSI mit 16 Bit (KL5051, PWM KL2502_30K (Frq-Cnt-Impuls-Modus), Pulse-Train KL2521, IP2512 ) + + + NcEncoderType_ABS_KL30XX + 7 + Absolut Analog Eingang mit 16 Bit (KL30xx) + + + NcEncoderType_INC_Sercos_P + 8 + SERCOS "Encoder" POS + + + NcEncoderType_INC_Sercos_PV + 9 + SERCOS "Encoder" POS und VELO + + + NcEncoderType_INC_Binary + 10 + Binaerer Inkremental Encoder (0/1) + + + NcEncoderType_ABS_M2510 + 11 + Absolut Analog Eingang mit 12 Bit (M2510) + + + NcEncoderType_ABS_FOX50 + 12 + T&R Fox 50 Modul (24 Bit Absolut (SSI)) + + + NcEncoderType_ABS_HYDRAULIC_FORCE + 13 + MMW-Typ: Kraftermittlung aus Pa, Pb, Aa, Ab + + + NcEncoderType_INC_AX2000_B200 + 14 + Inkremental AX2000-B200 Lightbus mit 16/20 Bit (AX2000) + + + NcEncoderType_INC_PROFIDRIVE + 15 + Inkremental mit 32 Bit + + + NcEncoderType_INC_UNIVERSAL + 16 + Inkremental mit variabler Bitmaske (max. 32 Bit) + + + NcEncoderType_INC_NCBACKPLANE + 17 + Inkremental NC Rückwand + + + NcEncoderType_INC_CANOPEN_LENZE + 18 + Inkremental CANopen Lenze + + + NcEncoderType_INC_CANOPEN_DS402_MDP513_MDP742 + 19 + MDP 513 / MDP 742 (DS402): CANopen und EtherCAT (AX2000-B510, AX2000-B1x0, EL7201, EL5032/32Bit) + + + NcEncoderType_INC_AX2000_B900 + 20 + Inkremental AX2000-B900 Ethernet + + + NcEncoderType_INC_KL5151 + 21 + Inkremental mit 32 Bit Zaehler und int.+ ext. 32 Bit Latch (KL5151_0000) (nur umschaltbar), die 2-kanalige KL5151_0050 hat kein Latch ! + + + NcEncoderType_INC_IP5209 + 24 + Inkremental mit 32 Bit Zaehler und int. 32 Bit Latch (IP5209) + + + NcEncoderType_INC_KL2531_Stepper + 25 + Inkremental mit 16 Bit Zaehler und int.+ext. 16 Bit Latch (nur umschaltbar) (Schrittmotorklemme KL2531/KL2541) + + + NcEncoderType_INC_KL2532_DC + 26 + Inkremental mit 16 Bit Zaehler und ext. 16 Bit Latch (nur umschaltbar) (2-Kanal-DC-Motor-Endstufe KL2532/KL2542), 2-Kanal-PWM-DC-Motorendstufe KL2535/KL2545 + + + NcEncoderType_INC_TIMEBASEGENERATOR + 27 + Time Base Generator + + + NcEncoderType_INC_TCOM + 28 + TCOM Encoder -> Interface to Soft Drive Encoder + + + NcEncoderType_INC_CANOPEN_MDP513_64BIT + 29 + MDP 513 (DS402, EnDat2.2, 64 Bit): EL5032/64Bit + + + NcEncoderType_SPECIFIC + 100 + + + + E_NcAxisType + 32 + DWORD + + NcAxisType_undefined + 0 + + + NcAxisType_Continious + 1 + Kontinuierliche Achse (auch SERCOS) + + + NcAxisType_Discrete_TwoSpeed + 2 + Diskrete Achse (Eil/Schleich-Achse) + + + NcAxisType_LowCostStepper_DigIO + 3 + Schrittmotor Achse (ohne PWM Klemme KL2502/30 und ohne Pulse-Train KL2521) + + + NcAxisType_Encoder + 5 + Encoder Achse + + + NcAxisType_Hydraulic + 6 + Kontinuierliche Achse mit Betriebsartumschaltung fur Positions-/Druck-Regelung + + + NcAxisType_TimeGenerator + 7 + Time Base Generator + + + NcAxisType_Specific + 100 + + + + ST_DriveAddress + 640 + + NetID + T_AmsNetID + AMS NetID of the hardware drive as a string + 192 + 0 + + + NetIdBytes + T_AmsNetIdArr + AMS NetID of the hardware drive as a byte array (same information as NetID) + 48 + 192 + + + SlaveAddress + T_AmsPort + slave address of the hardware drive connected to a bus master + 16 + 240 + + + Channel + BYTE + channel number of the hardware drive + 8 + 256 + + + NcDriveId + DWORD + ID [1..255] of the NC software drive of an axis + 32 + 288 + + + NcDriveIndex + DWORD + index [0..9] of the NC software drive of an axis + 32 + 320 + + + NcDriveType + E_NcDriveType + type enumeration of the NC software drive of an axis + 32 + 352 + + + NcEncoderId + DWORD + ID [1..255] of the NC software encoder of an axis + 32 + 384 + + + NcEncoderIndex + DWORD + index [0..9] of the NC software encoder of an axis + 32 + 416 + + + NcEncoderType + E_NcEncoderType + type enumeration of the NC encoder drive of an axis + 32 + 448 + + + NcAxisId + DWORD + ID [1..255] of the NC axis + 32 + 480 + + + NcAxisType + E_NcAxisType + type enumeration of the NC axis + 32 + 512 + + + TcSoftDriveObjectId + OTCID + new since 2016-04-11 FAP - just available with versions after this date, otherwise zero + 32 + 544 + + + conditionalshow + + + + + TcDriveObjectId + OTCID + 32 + 576 + + + TcEncoderObjectId + OTCID + 32 + 608 + + + + _E_PhasingState + 16 + INT + + PhasingInactive + 0 + + + PhasingActivated + 1 + + + PhasingAborted + 2 + + + + _InternalAxisRefData + 128 + + NcCycleCounterAvailable + BOOL + TRUE if the NcCycleCounter is definitely available on the target system - FALSE if undefined + 8 + 0 + + + NcCycleCounter_AtReadStatusCall + UDINT + current NC cycle counter when calling ReadStatus + 32 + 32 + + + LastTaskIndex_AtReadStatusCall + BYTE + task index of last recent status update + 8 + 64 + + + CounterSameTaskIndex_AtReadStatusCall + UINT + counter increments to max 100 if the task index for the status update never changes + 16 + 80 + + + PhasingState + _E_PhasingState + KSt 20190703 global handshake for phasing blocks + 16 + 96 + + + + conditionalshow + + + + + AXIS_REF + AXIS_REF data structure The FBAXIS_REF is actually not a function block but a data structure @@ -381,224 +30708,2644 @@ External Setpoint Generation: located I/O variables. The user is supposed to use the AXIS_REF data type which internally redirects the type to this function block definition (alias). -]]>9024PlcToNcPLCTONC_AXIS_REF102464ItemTypeInputTcAddressTypeOutputNcToPlcNCTOPLC_AXIS_REF20481088ItemTypeOutputTcAddressTypeInputADSST_AdsAddress2243136ItemTypeOutputStatusST_AxisStatus7683392ItemTypeOutputDriveAddressST_DriveAddress6404160ItemTypeInput_internal_InternalAxisRefData1284800conditionalshowStorageDWORD012840964928conditionalshowReadStatusPouTypeFunctionBlockconditionalshow_all_localsENUM_StageEnableMode16INTALWAYS0NEVER1DURING_MOTION2ENUM_StageBrakeMode16INTIF_ENABLED0IF_MOVING1NO_BRAKE2ENUM_EpicsHomeCmd16INTLOW_LIMIT1HIGH_LIMIT2HOME_VIA_LOW3HOME_VIA_HIGH4ABSOLUTE_SET15NONE-1ST_AxisParameterSet8192AxisIdDWORD320nAxisTypeE_NcAxisType3232sAxisNameSTRING(31)25664fAxisCycleTimeLREAL64320bEnablePositionAreaControlWORD16384fPositionAreaControlRangeLREAL64448bEnableMotionControlWORD16512fMotionControlTimeLREAL64576bEnableLoopWORD16640fLoopDistanceLREAL64704bEnableTargetPosControlWORD16768fTargetPosControlRangeLREAL64832fTargetPosControlTimeLREAL64896fVeloMaximumLREAL64960fRefVeloSearchLREAL641024fRefVeloSyncLREAL641088fVeloSlowManualLREAL641152fVeloFastManualLREAL641216fMotionControlRangeLREAL641280bEnablePEHTimeControlWORD161344fPEHControlTimeLREAL641408bEnableBacklashCompensationWORD161472fBacklashLREAL641536sAmsNetIdT_AmsNetID1921600nPortWORD161792nChnNoWORD161808fAccelerationLREAL641856fDecelerationLREAL641920fJerkLREAL641984nEncIdDWORD322048nEncTypeE_NcEncoderType322080sEncNameSTRING(31)2562112fEncScaleFactorNumeratorLREAL642368fEncScaleFactorDenominatorLREAL642432fEncScaleFactorInternalLREAL642496fEncOffsetLREAL642560bEncIsInverseWORD162624fEncModuloFactorLREAL642688nEncModeDWORD322752bEncEnableSoftEndMinControlWORD162784bEncEnableSoftEndMaxControlWORD162800fEncSoftEndMinLREAL642816fEncSoftEndMaxLREAL642880nEncMaxIncrementDWORD322944nEncRefSoftSyncMaskDWORD322976bEncEnablePosCorrectionWORD163008nEncReferenceSystemDWORD323040fEncPosCorrectionFilterTimeLREAL643072bEncRefSearchInverseUINT163136bEncRefSyncInverseUINT163152nEncRefModeUDINT323168fEncRefPositionLREAL643200nCtrlIdDWORD323264nCtrlTypeDWORD323296sCtrlNameSTRING(31)2563328bCtrlEnablePosDiffControlWORD163584bCtrlEnableVeloDiffControlWORD163600fCtrlPosDiffMaxLREAL643648fCtrlPosDiffMaxTimeLREAL643712fCtrlPosKpLREAL643776fCtrlPosTnLREAL643840fCtrlPosTvLREAL643904fCtrlPosTdLREAL643968fCtrlPosExtKpLREAL644032fCtrlPosExtVeloLREAL644096fCtrlAccKaLREAL644160nDriveIdDWORD324224nDriveTypeE_NcDriveType324256sDriveNameSTRING(31)2564288bDriveIsInverseWORD164544nDriveControlDWordDWORD324576fDriveVeloReferenzLREAL644608fDriveOutputReferenzLREAL644672fDriveOutputScalingAccLREAL644736fDriveOutputScalingTorqueLREAL644800fDriveInputScalingTorqueLREAL644864fDriveInputFiltertimeTorqueLREAL644928fDriveInputFiltertimeTorqueDerivativeLREAL644992fAccelerationMaxLREAL645056fDecelerationMaxLREAL645120DUT_AxisStatus_v0_01768bEnableBOOL80bResetBOOL88bExecuteBOOL816nCommandUINT1632nCmdDataUINT1648fVelocityLREAL6464fPositionLREAL64128fAccelerationLREAL64192fDecelerationLREAL64256bJogFwdBOOL8320bJogBwdBOOL8328bLimitFwdBOOL8336bLimitBwdBOOL8344fOverrideLREAL64384100bHomeSensorBOOL8448bEnabledBOOL8456bErrorBOOL8464nErrorIdUDINT32480fActVelocityLREAL64512fActPositionLREAL64576fActDiffLREAL64640bHomedBOOL8704bBusyBOOL8712DUT_MotionStage21184AxisAXIS_REF90240bLimitForwardEnableBOOL89024pytmc + + 9024 + + PlcToNc + PLCTONC_AXIS_REF + 1024 + 64 + + + ItemType + Input + + + TcAddressType + Output + + + + + NcToPlc + NCTOPLC_AXIS_REF + 2048 + 1088 + + + ItemType + Output + + + TcAddressType + Input + + + + + ADS + ST_AdsAddress + 224 + 3136 + + + ItemType + Output + + + + + Status + ST_AxisStatus + 768 + 3392 + + + ItemType + Output + + + + + DriveAddress + ST_DriveAddress + 640 + 4160 + + + ItemType + Input + + + + + _internal + _InternalAxisRefData + 128 + 4800 + + + conditionalshow + + + + + Storage + DWORD + + 0 + 128 + + 4096 + 4928 + + + conditionalshow + + + + + ReadStatus + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + ENUM_StageEnableMode + 16 + INT + + ALWAYS + 0 + Always set bEnable to TRUE + + + NEVER + 1 + Only change bEnable on errors + + + DURING_MOTION + 2 + Enable before motion, disable after motion + + + + ENUM_StageBrakeMode + 16 + INT + + IF_ENABLED + 0 + Disengage brake when the motor is enabled + + + IF_MOVING + 1 + Disengage brake when the motor is moving + + + NO_BRAKE + 2 + Do not change the brake state in FB_MotionStage + + + + ENUM_EpicsHomeCmd + 16 + INT + + LOW_LIMIT + 1 + Low limit switch + + + HIGH_LIMIT + 2 + High limit switch + + + HOME_VIA_LOW + 3 + Home switch via low switch + + + HOME_VIA_HIGH + 4 + Home switch via high switch + + + ABSOLUTE_SET + 15 + Set here to be fHomePosition + + + NONE + -1 + Do not home, ever + + + + ST_AxisParameterSet + 8192 + + AxisId + DWORD + TC3 &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& + 32 + 0 + + + nAxisType + E_NcAxisType + 0x00000003 + 32 + 32 + + + sAxisName + STRING(31) + 0x00000002 + 256 + 64 + + + fAxisCycleTime + LREAL + available from Tc 2.11 R2 + 64 + 320 + + + bEnablePositionAreaControl + WORD + 0x0000000F + 16 + 384 + + + fPositionAreaControlRange + LREAL + 0x00000010 + 64 + 448 + + + bEnableMotionControl + WORD + 0x00000011 + 16 + 512 + + + fMotionControlTime + LREAL + 0x00000012 + 64 + 576 + + + bEnableLoop + WORD + 0x00000013 + 16 + 640 + + + fLoopDistance + LREAL + 0x00000014 + 64 + 704 + + + bEnableTargetPosControl + WORD + 0x00000015 + 16 + 768 + + + fTargetPosControlRange + LREAL + 0x00000016 + 64 + 832 + + + fTargetPosControlTime + LREAL + 0x00000017 + 64 + 896 + + + fVeloMaximum + LREAL + 0x00000027 + 64 + 960 + + + fRefVeloSearch + LREAL + 0x00000006 calibration velo (TO plc cam) (17.05.11: parameter extension) + 64 + 1024 + + + fRefVeloSync + LREAL + 0x00000007 calibration velo (off plc cam) (17.05.11: parameter extension) + 64 + 1088 + + + fVeloSlowManual + LREAL + 0x00000008 manual velocity (slow) (17.05.11: parameter extension) + 64 + 1152 + + + fVeloFastManual + LREAL + 0x00000009 manual velocity (fast) (17.05.11: parameter extension) + 64 + 1216 + + + fMotionControlRange + LREAL + 0x00000028 + 64 + 1280 + + + bEnablePEHTimeControl + WORD + 0x00000029 + 16 + 1344 + + + fPEHControlTime + LREAL + 0x0000002A + 64 + 1408 + + + bEnableBacklashCompensation + WORD + 0x0000002B + 16 + 1472 + + + fBacklash + LREAL + 0x0000002C + 64 + 1536 + + + sAmsNetId + T_AmsNetID + 0x00000031 (Wandlung von "BYTE b[6]" zum nullterminierten STRING mit 23+1 Zeichen) + 192 + 1600 + + + nPort + WORD + 0x00000031 + 16 + 1792 + + + nChnNo + WORD + 0x00000031 + 16 + 1808 + + + fAcceleration + LREAL + 0x00000101 + 64 + 1856 + + + fDeceleration + LREAL + 0x00000102 + 64 + 1920 + + + fJerk + LREAL + 0x00000103 + 64 + 1984 + + + nEncId + DWORD + 0x00010001 + 32 + 2048 + + + nEncType + E_NcEncoderType + 0x00010003 + 32 + 2080 + + + sEncName + STRING(31) + 0x00010002 + 256 + 2112 + + + fEncScaleFactorNumerator + LREAL + 0x00010023 + 64 + 2368 + + + fEncScaleFactorDenominator + LREAL + 0x00010024 + 64 + 2432 + + + fEncScaleFactorInternal + LREAL + fEncScaleFactorInternal = fEncScaleFactorNumerator / fEncScaleFactorDenominator + 64 + 2496 + + + fEncOffset + LREAL + 0x00010007 + 64 + 2560 + + + bEncIsInverse + WORD + 0x00010008 + 16 + 2624 + + + fEncModuloFactor + LREAL + 0x00010009 + 64 + 2688 + + + nEncMode + DWORD + 0x0001000A + 32 + 2752 + + + bEncEnableSoftEndMinControl + WORD + 0x0001000B + 16 + 2784 + + + bEncEnableSoftEndMaxControl + WORD + 0x0001000C + 16 + 2800 + + + fEncSoftEndMin + LREAL + 0x0001000D + 64 + 2816 + + + fEncSoftEndMax + LREAL + 0x0001000E + 64 + 2880 + + + nEncMaxIncrement + DWORD + 0x00010015 + 32 + 2944 + + + nEncRefSoftSyncMask + DWORD + 0x00010108 + 32 + 2976 + + + bEncEnablePosCorrection + WORD + 0x00010016 + 16 + 3008 + + + nEncReferenceSystem + DWORD + 0x00010019 (15.10.15: parameter extension) + 32 + 3040 + + + fEncPosCorrectionFilterTime + LREAL + 0x00010017 + 64 + 3072 + + + bEncRefSearchInverse + UINT + 0x00010101 (17.05.11: parameter extension) + 16 + 3136 + + + bEncRefSyncInverse + UINT + 0x00010102 (17.05.11: parameter extension) + 16 + 3152 + + + nEncRefMode + UDINT + 0x00010107 (17.05.11: parameter extension) + 32 + 3168 + + + fEncRefPosition + LREAL + 0x00010103 (17.05.11: parameter extension) + 64 + 3200 + + + nCtrlId + DWORD + 0x00020001 + 32 + 3264 + + + nCtrlType + DWORD + 0x00020003 + 32 + 3296 + + + sCtrlName + STRING(31) + 0x00020002 + 256 + 3328 + + + bCtrlEnablePosDiffControl + WORD + 0x00020010 + 16 + 3584 + + + bCtrlEnableVeloDiffControl + WORD + 0x00020011 + 16 + 3600 + + + fCtrlPosDiffMax + LREAL + 0x00020012 + 64 + 3648 + + + fCtrlPosDiffMaxTime + LREAL + 0x00020013 + 64 + 3712 + + + fCtrlPosKp + LREAL + 0x00020102 + 64 + 3776 + + + fCtrlPosTn + LREAL + 0x00020103 + 64 + 3840 + + + fCtrlPosTv + LREAL + 0x00020104 + 64 + 3904 + + + fCtrlPosTd + LREAL + 0x00020105 + 64 + 3968 + + + fCtrlPosExtKp + LREAL + 0x00020106 + 64 + 4032 + + + fCtrlPosExtVelo + LREAL + 0x00020107 + 64 + 4096 + + + fCtrlAccKa + LREAL + 0x00020108 + 64 + 4160 + + + nDriveId + DWORD + 0x00030001 + 32 + 4224 + + + nDriveType + E_NcDriveType + 0x00030003 + 32 + 4256 + + + sDriveName + STRING(31) + 0x00030002 + 256 + 4288 + + + bDriveIsInverse + WORD + 0x00030006 + 16 + 4544 + + + nDriveControlDWord + DWORD + 0x00030010 + 32 + 4576 + + + fDriveVeloReferenz + LREAL + 0x00030101 + 64 + 4608 + + + fDriveOutputReferenz + LREAL + 0x00030102 + 64 + 4672 + + + fDriveOutputScalingAcc + LREAL + 0x0003000A (15.10.15: parameter extension) + 64 + 4736 + + + fDriveOutputScalingTorque + LREAL + 0x0003000B (15.10.15: parameter extension) + 64 + 4800 + + + fDriveInputScalingTorque + LREAL + 0x00030031 (15.10.15: parameter extension) + 64 + 4864 + + + fDriveInputFiltertimeTorque + LREAL + 0x00030032 (15.10.15: parameter extension) + 64 + 4928 + + + fDriveInputFiltertimeTorqueDerivative + LREAL + 0x00030033 (15.10.15: parameter extension) + 64 + 4992 + + + fAccelerationMax + LREAL + 0x000000F1 (15.10.15: parameter extension) + 64 + 5056 + + + fDecelerationMax + LREAL + 0x000000F2 (15.10.15: parameter extension) + 64 + 5120 + + + + DUT_AxisStatus_v0_01 + 768 + + bEnable + BOOL + 8 + 0 + + + bReset + BOOL + 8 + 8 + + + bExecute + BOOL + 8 + 16 + + + nCommand + UINT + 16 + 32 + + + nCmdData + UINT + 16 + 48 + + + fVelocity + LREAL + 64 + 64 + + + fPosition + LREAL + 64 + 128 + + + fAcceleration + LREAL + 64 + 192 + + + fDeceleration + LREAL + 64 + 256 + + + bJogFwd + BOOL + 8 + 320 + + + bJogBwd + BOOL + 8 + 328 + + + bLimitFwd + BOOL + 8 + 336 + + + bLimitBwd + BOOL + 8 + 344 + + + fOverride + LREAL + 64 + 384 + + 100 + + + + bHomeSensor + BOOL + 8 + 448 + + + bEnabled + BOOL + 8 + 456 + + + bError + BOOL + 8 + 464 + + + nErrorId + UDINT + 32 + 480 + + + fActVelocity + LREAL + 64 + 512 + + + fActPosition + LREAL + 64 + 576 + + + fActDiff + LREAL + 64 + 640 + + + bHomed + BOOL + 8 + 704 + + + bBusy + BOOL + 8 + 712 + + + + DUT_MotionStage + 21184 + + Axis + AXIS_REF + Hardware + PLC Axis Reference + 9024 + 0 + + + bLimitForwardEnable + BOOL + NC Forward Limit Switch: TRUE if ok to move + 8 + 9024 + + + pytmc + pv: PLC:bLimitForwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if forward limit hit - TcAddressTypeInputbLimitBackwardEnableBOOL89032pytmc + + + + TcAddressType + Input + + + + + bLimitBackwardEnable + BOOL + NC Backward Limit Switch: TRUE if ok to move + 8 + 9032 + + + pytmc + pv: PLC:bLimitBackwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if reverse limit hit - TcAddressTypeInputbHomeBOOL89040pytmc + + + + TcAddressType + Input + + + + + bHome + BOOL + NO Home Switch: TRUE if at home + 8 + 9040 + + + pytmc + pv: PLC:bHome io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if at homing switch - TcAddressTypeInputbBrakeReleaseBOOL89048pytmc + + + + TcAddressType + Input + + + + + bBrakeRelease + BOOL + NC Brake Output: TRUE to release brake + 8 + 9048 + + + pytmc + pv: PLC:bBrakeRelease io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if brake released - TcAddressTypeOutputbHardwareEnableBOOL89056pytmc + + + + TcAddressType + Output + + + + + bHardwareEnable + BOOL + NC STO Input: TRUE if ok to move + 8 + 9056 + + + pytmc + pv: PLC:bHardwareEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if STO not hit - TcAddressTypeInputnRawEncoderULINTULINT649088TcAddressTypeInputnRawEncoderUINTUINT169152TcAddressTypeInputnRawEncoderINTINT169168TcAddressTypeInputbAllForwardEnableBOOL891840pytmc + + + + TcAddressType + Input + + + + + nRawEncoderULINT + ULINT + Raw encoder IO for ULINT (Biss-C) + 64 + 9088 + + + TcAddressType + Input + + + + + nRawEncoderUINT + UINT + Raw encoder IO for UINT (Relative Encoders) + 16 + 9152 + + + TcAddressType + Input + + + + + nRawEncoderINT + INT + Raw encoder IO for INT (LVDT) + 16 + 9168 + + + TcAddressType + Input + + + + + bAllForwardEnable + BOOL + Psuedo-hardware + Forward enable EPS summary + 8 + 9184 + + 0 + + + + pytmc + pv: PLC:bAllForwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC Summary of axis permission to move forward - bAllBackwardEnableBOOL891920pytmc + + + + + + bAllBackwardEnable + BOOL + Backward enable EPS summary + 8 + 9192 + + 0 + + + + pytmc + pv: PLC:bAllBackwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC Summary of axis permission to move backward - bAllEnableBOOL892000pytmc + + + + + + bAllEnable + BOOL + Enable EPS summary encapsulating emergency stop button and any additional motion preventive hardware + 8 + 9200 + + 0 + + + + pytmc + pv: PLC:bAllEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC Summary of axis permission to have power - bGantryForwardEnableBOOL892080pytmc + + + + + + bGantryForwardEnable + BOOL + Forward virtual gantry limit switch + 8 + 9208 + + 0 + + + + pytmc + pv: PLC:bGantryForwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if gantry ok to move forward - bGantryBackwardEnableBOOL892160pytmc + + + + + + bGantryBackwardEnable + BOOL + Backward virtual gantry limit switch + 8 + 9216 + + 0 + + + + pytmc + pv: PLC:bGantryBackwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if gantry ok to move backward - nEncoderCountUDINT329248pytmc + + + + + + nEncoderCount + UDINT + Encoder count summary, if linked above + 32 + 9248 + + + pytmc + pv: PLC:nEncoderCount io: i field: DESC Count from encoder hardware - sNameSTRING(80)6489280pytmc + + + + + + sName + STRING(80) + Settings + Name to use for log messages, fast faults, etc. + 648 + 9280 + + + pytmc + pv: PLC:sName io: i field: DESC PLC program name - bPowerSelfBOOL899280pytmc + + + + + + bPowerSelf + BOOL + If TRUE, we want to enable the motor independently of PMPS or other safety systems. + 8 + 9928 + + 0 + + + + pytmc + pv: PLC:bPowerSelf io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if axis is in PMPS - nEnableModeENUM_StageEnableMode1699362pytmc + + + + + + nEnableMode + ENUM_StageEnableMode + Determines when we automatically enable the motor + 16 + 9936 + + 2 + + + + pytmc + pv: PLC:nEnableMode io: i field: DESC Describes when the axis will automatically get power - nBrakeModeENUM_StageBrakeMode1699520pytmc + + + + + + nBrakeMode + ENUM_StageBrakeMode + Determines when we automatically disengage the brake + 16 + 9952 + + 0 + + + + pytmc + pv: PLC:nBrakeMode io: i field: DESC Describes when the brake will be released - nHomingModeENUM_EpicsHomeCmd169968-1pytmc + + + + + + nHomingMode + ENUM_EpicsHomeCmd + Determines our encoder homing strategy + 16 + 9968 + + -1 + + + + pytmc + pv: PLC:nHomingMode io: i field: DESC Describes our homing strategy - bGantryAxisBOOL899840pytmc + + + + + + bGantryAxis + BOOL + Set true to activate gantry EPS + 8 + 9984 + + 0 + + + + pytmc + pv: PLC:bGantryAxis io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if gantry EPS active - nGantryTolLINT64100480nEncRefULINT64101120bEnableBOOL810176pytmc + + + + + + nGantryTol + LINT + Set to gantry difference tolerance + 64 + 10048 + + 0 + + + + nEncRef + ULINT + Encoder count at which this axis is aligned with other axis + 64 + 10112 + + 0 + + + + bEnable + BOOL + Commands + Used internally to request enables + 8 + 10176 + + + pytmc + pv: PLC:bEnable io: io field: ZNAM FALSE field: ONAM TRUE field: DESC Used internally to request enables - bResetBOOL810184pytmc + + + + + + bReset + BOOL + Used internally to reset errors and other state + 8 + 10184 + + + pytmc + pv: PLC:bReset io: io field: ZNAM FALSE field: ONAM TRUE field: DESC Used internally to reset errors - bExecuteBOOL810192pytmc + + + + + + bExecute + BOOL + Used internally and by the IOC to start or stop a move + 8 + 10192 + + + pytmc + pv: PLC:bExecute io: io field: ZNAM FALSE field: ONAM TRUE field: DESC Used internally and by the IOC to start or stop - bUserEnableBOOL8102001pytmc + + + + + + bUserEnable + BOOL + Used by the IOC to disable an axis + 8 + 10200 + + 1 + + + + pytmc + pv: PLC:bUserEnable io: io field: ZNAM DISABLE field: ONAM ENABLE field: DESC Used to disable power entirely for an axis - bMoveCmdBOOL810208pytmc + + + + + + bMoveCmd + BOOL + Shortcut Commands + Start a move to fPosition with fVelocity + 8 + 10208 + + + pytmc + pv: PLC:bMoveCmd io: io field: DESC Start a move - bHomeCmdBOOL810216pytmc + + + + + + bHomeCmd + BOOL + Start the homing routine + 8 + 10216 + + + pytmc + pv: PLC:bHomeCmd io: io field: DESC Start the homing routine - nCommandINT1610224pytmc + + + + + + nCommand + INT + Command Args + Used internally and by the IOC to pick what kind of move to do + 16 + 10224 + + + pytmc + pv: PLC:nCommand io: io field: DESC Used internally and by the IOC to pick move type - nCmdDataINT1610240pytmc + + + + + + nCmdData + INT + Used internally and by the IOC to pass additional data to some commands + 16 + 10240 + + + pytmc + pv: PLC:nCmdData io: io field: DESC Used internally and by the IOC to pass extra args - fPositionLREAL6410304pytmc + + + + + + fPosition + LREAL + Used internally and by the IOC to pick a destination for the move + 64 + 10304 + + + pytmc + pv: PLC:fPosition io: io field: DESC Used internally and by the IOC as the set position - fVelocityLREAL6410368pytmc + + + + + + fVelocity + LREAL + Used internally and by the IOC to pick a move velocity + 64 + 10368 + + + pytmc + pv: PLC:fVelocity io: io field: DESC Used internally and by the IOC to set velocity - fAccelerationLREAL6410432pytmc + + + + + + fAcceleration + LREAL + Used internally and by the IOC to pick a move acceleration + 64 + 10432 + + + pytmc + pv: PLC:fAcceleration io: io field: DESC Used internally and by the IOC to set acceleration - fDecelerationLREAL6410496pytmc + + + + + + fDeceleration + LREAL + Used internally and by the IOC to pick a move deceleration + 64 + 10496 + + + pytmc + pv: PLC:fDeceleration io: io field: DESC Used internally and by the IOC to set deceleration - fHomePositionLREAL6410560pytmc + + + + + + fHomePosition + LREAL + Used internally and by the IOC to pick a home position + 64 + 10560 + + + pytmc + pv: PLC:fHomePosition io: io field: DESC Used internally and by the IOC to pick home position - nMotionAxisIDUDINT32106240pytmc + + + + + + nMotionAxisID + UDINT + Info + Unique ID assigned to each axis in the NC + 32 + 10624 + + 0 + + + + pytmc + pv: PLC:nMotionAxisID io: i field: DESC Unique ID assigned to each axis in the NC - bEnableDoneBOOL810656pytmc + + + + + + bEnableDone + BOOL + Returns + TRUE if done enabling + 8 + 10656 + + + pytmc + pv: PLC:bEnableDone io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if done enabling - bBusyBOOL810664pytmc + + + + + + bBusy + BOOL + TRUE if in the middle of a command + 8 + 10664 + + + pytmc + pv: PLC:bBusy io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if in the middle of a command - bDoneBOOL810672pytmc + + + + + + bDone + BOOL + TRUE if we've done a command and it has finished + 8 + 10672 + + + pytmc + pv: PLC:bDone io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if command finished successfully - bHomedBOOL810680pytmc + + + + + + bHomed + BOOL + TRUE if the motor has been homed, or does not need to be homed + 8 + 10680 + + + pytmc + pv: PLC:bHomed io: i field: DESC TRUE if the motor has been homed - bSafetyReadyBOOL810688pytmc + + + + + + bSafetyReady + BOOL + TRUE if we have safety permission to move + 8 + 10688 + + + pytmc + pv: PLC:bSafetyReady io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if safe to start a move - bErrorBOOL810696pytmc + + + + + + bError + BOOL + TRUE if we're in an error state + 8 + 10696 + + + pytmc + pv: PLC:bError io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if we are in an error state update: 100Hz notify - nErrorIdUDINT3210720pytmc + + + + + + nErrorId + UDINT + Error code if nonzero + 32 + 10720 + + + pytmc + pv: PLC:nErrorId io: i field: DESC Error code if nonzero update: 100Hz notify - sErrorMessageSTRING(80)64810752pytmc + + + + + + sErrorMessage + STRING(80) + Message to identify the error state + 648 + 10752 + + + pytmc + pv: PLC:sErrorMessage io: i field: DESC Message to identify the error state update: 100Hz notify - sCustomErrorMessageSTRING(80)64811400stAxisParametersST_AxisParameterSet819212096bAxisParamsInitBOOL820288stAxisStatusDUT_AxisStatus_v0_0176820352fPosDiffLREAL6421120pytmc + + + + + + sCustomErrorMessage + STRING(80) + Internal hook for custom error messages + 648 + 11400 + + + stAxisParameters + ST_AxisParameterSet + MC_ReadParameterSet Output + 8192 + 12096 + + + bAxisParamsInit + BOOL + True if we've updated stAxisParameters at least once + 8 + 20288 + + + stAxisStatus + DUT_AxisStatus_v0_01 + Misc axis status information for the IOC + 768 + 20352 + + + fPosDiff + LREAL + Other status information for users of the IOC + Position lag difference + 64 + 21120 + + + pytmc + pv: PLC:fPosDiff io: i field: DESC Position lag difference - _E_TcMC_STATES16INTSTATE_INITIALIZATION100STATE_ORDER101STATE_RUNNING102STATE_WAITING103STATE_MOTIONCOMMANDSLOCKED104_ST_FunctionBlockResults96DoneBOOL80CommandAbortedBOOL88ErrorBOOL816ErrorIDUDINT3232displaymodehexBusyCounterUDINT3264displaymodedecconditionalshowMC_Reset1632AxisAXIS_REF3232ItemTypeInOutExecuteBOOL864ItemTypeInputDoneBOOL872ItemTypeOutputBusyBOOL880ItemTypeOutputErrorBOOL888ItemTypeOutputErrorIDUDINT3296ItemTypeOutputdisplaymodehexADSbusyBOOL8128iState_E_TcMC_STATES16144100LastExecutionResult_ST_FunctionBlockResults96160fbOnTriggerR_TRIG641568conditionalshowPouTypeFunctionBlockMC_BufferMode16UINTMC_Aborting0MC_Buffered1MC_BlendingLow18MC_BlendingPrevious19MC_BlendingNext20MC_BlendingHigh21ST_PowerOptions0MC_Power768AxisAXIS_REF3232ItemTypeInOutEnableBOOL864ItemTypeInputEnable_PositiveBOOL872ItemTypeInputEnable_NegativeBOOL880ItemTypeInputOverrideLREAL64128100ItemTypeInputBufferModeMC_BufferMode16192ItemTypeInputOptionsST_PowerOptions0208ItemTypeInputStatusBOOL8208ItemTypeOutputBusyBOOL8216ItemTypeOutputActiveBOOL8224ItemTypeOutputErrorBOOL8232ItemTypeOutputErrorIDUDINT32256ItemTypeOutputdisplaymodehexEnableTimeoutTON224288conditionalshowEnableOffOnDelayTP192512conditionalshowiOverrideDWORD32704conditionalshowPouTypeFunctionBlockconditionalshow_all_localsST_MoveOptions320EnableBlendingPositionBOOL80BlendingPositionLREAL6464StartVelocityLREAL64128EndVelocityLREAL64192IgnorePositionMonitoringBOOL8256EnableStopPositionMonitoringBOOL + + + + + + _E_TcMC_STATES + 16 + INT + + STATE_INITIALIZATION + 100 + + + STATE_ORDER + 101 + + + STATE_RUNNING + 102 + + + STATE_WAITING + 103 + + + STATE_MOTIONCOMMANDSLOCKED + 104 + + + + _ST_FunctionBlockResults + 96 + + Done + BOOL + 8 + 0 + + + CommandAborted + BOOL + 8 + 8 + + + Error + BOOL + 8 + 16 + + + ErrorID + UDINT + 32 + 32 + + + displaymode + hex + + + + + BusyCounter + UDINT + busy cycles since triggering the block - 2018-01-24 KSt + 32 + 64 + + + displaymode + dec + + + + + + conditionalshow + + + + + MC_Reset + 1632 + + Axis + AXIS_REF + Reference to an axis + 32 + 32 + + + ItemType + InOut + + + + + Execute + BOOL + B + 8 + 64 + + + ItemType + Input + + + + + Done + BOOL + B + 8 + 72 + + + ItemType + Output + + + + + Busy + BOOL + E + 8 + 80 + + + ItemType + Output + + + + + Error + BOOL + B + 8 + 88 + + + ItemType + Output + + + + + ErrorID + UDINT + B + 32 + 96 + + + ItemType + Output + + + displaymode + hex + + + + + ADSbusy + BOOL + 8 + 128 + + + iState + _E_TcMC_STATES + 16 + 144 + + 100 + + + + LastExecutionResult + _ST_FunctionBlockResults + 96 + 160 + + + fbOnTrigger + R_TRIG + 64 + 1568 + + + conditionalshow + + + + + + PouType + FunctionBlock + + + + + MC_BufferMode + 16 + UINT + + MC_Aborting + 0 + + + MC_Buffered + 1 + + + MC_BlendingLow + 18 + + + MC_BlendingPrevious + 19 + + + MC_BlendingNext + 20 + + + MC_BlendingHigh + 21 + + + + ST_PowerOptions + 0 + + + MC_Power + 768 + + Axis + AXIS_REF + Reference to an axis + 32 + 32 + + + ItemType + InOut + + + + + Enable + BOOL + B + 8 + 64 + + + ItemType + Input + + + + + Enable_Positive + BOOL + E + 8 + 72 + + + ItemType + Input + + + + + Enable_Negative + BOOL + E + 8 + 80 + + + ItemType + Input + + + + + Override + LREAL + in percent - Beckhoff proprietary input + 64 + 128 + + 100 + + + + ItemType + Input + + + + + BufferMode + MC_BufferMode + V + 16 + 192 + + + ItemType + Input + + + + + Options + ST_PowerOptions + 0 + 208 + + + ItemType + Input + + + + + Status + BOOL + B + 8 + 208 + + + ItemType + Output + + + + + Busy + BOOL + V + 8 + 216 + + + ItemType + Output + + + + + Active + BOOL + V + 8 + 224 + + + ItemType + Output + + + + + Error + BOOL + B + 8 + 232 + + + ItemType + Output + + + + + ErrorID + UDINT + E + 32 + 256 + + + ItemType + Output + + + displaymode + hex + + + + + EnableTimeout + TON + 224 + 288 + + + conditionalshow + + + + + EnableOffOnDelay + TP + 192 + 512 + + + conditionalshow + + + + + iOverride + DWORD + 32 + 704 + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + ST_MoveOptions + 320 + + EnableBlendingPosition + BOOL + Command activation at defined ActivationPosition - extends the buffer mode when enabled + 8 + 0 + + + BlendingPosition + LREAL + 64 + 64 + + + StartVelocity + LREAL + velocity profile options - instantaneous speed change at the beginning and at the end of the profile + 64 + 128 + + + EndVelocity + LREAL + 64 + 192 + + + IgnorePositionMonitoring + BOOL + PositionAreaMonitoring, TargetPositionMonitoring and StopMonitoring can be ignored using this flag - 20190311 + 8 + 256 + + + EnableStopPositionMonitoring + BOOL + PositionAreaMonitoring, TargetPositionMonitoring can be enabled for MC_Stop and MC_Halt commands - 20191010 Monitoring can just be enabled if the monitoring parameters of the axis are enabled as well - The default is no monitoring for both commands even if monitoring options are enabled by axis parameters ]]>8264_E_TcNC_StartPosType16UINTTCNC_START_ABSOLUTE1TCNC_START_RELATIVE2TCNC_START_ENDLESS_PLUS3TCNC_START_ENDLESS_MINUS4TCNC_START_MODULO5TCNC_START_ADDITIVE6TCNC_START_MODULO_SHORT261TCNC_START_MODULO_PLUS517TCNC_START_MODULO_MINUS773TCNC_START_MODULO_CURRENT1029TCNC_START_ABS_INTERNAL9TCNC_START_ENDLESSPLUS_SLOWMANUAL272TCNC_START_ENDLESSMINUS_SLOWMANUAL273TCNC_START_ENDLESSPLUS_FASTMANUAL528TCNC_START_ENDLESSMINUS_FASTMANUAL529TCNC_START_STOPANDLOCK4096TCNC_START_HALT8192TCNC_START_TORQUE_ABORT12288TCNC_START_TORQUE_ABSOLUTE12289TCNC_START_TORQUE_RELATIVE12290ST_TorqueControlOptions128ControlMaskUDINT320conditionalshowModeUDINT3232conditionalshowManualTorqueStartValueLREAL6464_ST_TcNC_UnversalAxisStartRequest640nStartTypeUDINT320nControlMaskUDINT3232fPosTargetLREAL6464fVeloRequLREAL64128fAccLREAL= 0) ]]>64192fDecLREAL= 0) ]]>64256fJerkLREAL= 0) ]]>64320nBufferModeUDINT32384nReservedUDINT32416fBlendingPositionLREAL64448fVeloStartLREAL64512fVeloEndLREAL64576conditionalshow_ST_TcNC_UniversalAxisTorqueStartRequest576nStartTypeUDINT320nControlMaskUDINT3232nModeUDINT3264nBufferModeUDINT3296fTorqueLREAL64128fTorqueRampLREAL64192fVelocityLimitHighLREAL64256fVelocityLimitLowLREAL64320fAccelerationLREAL= 0) ]]>64384fDecelerationLREAL= 0) ]]>64448fManualTorqueLREAL64512conditionalshow_ST_TcNC_UnversalAxisStartResponse32nCmdNoWORD160nCmdStateWORD1616conditionalshow_ST_TcNc_OperationModes128PosAreaControlDWORD3201TargetPosControlDWORD32322StopMonitoringDWORD + 8 + 264 + + + + _E_TcNC_StartPosType + 16 + UINT + + TCNC_START_ABSOLUTE + 1 + Start to absolute position + + + TCNC_START_RELATIVE + 2 + Start to relative position + + + TCNC_START_ENDLESS_PLUS + 3 + Start to endless positive position + + + TCNC_START_ENDLESS_MINUS + 4 + Start to endless negative position + + + TCNC_START_MODULO + 5 + Start to modulo position + + + TCNC_START_ADDITIVE + 6 + Start to a position relative to the last recent target position + + + TCNC_START_MODULO_SHORT + 261 + Start to modulo position + + + TCNC_START_MODULO_PLUS + 517 + Start to modulo position + + + TCNC_START_MODULO_MINUS + 773 + Start to modulo position + + + TCNC_START_MODULO_CURRENT + 1029 + start to modulo position in current direction + + + TCNC_START_ABS_INTERNAL + 9 + Start to absolute position, internal use + + + TCNC_START_ENDLESSPLUS_SLOWMANUAL + 272 + manual jog mode + + + TCNC_START_ENDLESSMINUS_SLOWMANUAL + 273 + manual jog mode + + + TCNC_START_ENDLESSPLUS_FASTMANUAL + 528 + manual jog mode + + + TCNC_START_ENDLESSMINUS_FASTMANUAL + 529 + manual jog mode + + + TCNC_START_STOPANDLOCK + 4096 + stop axis and lock against any motion commands + + + TCNC_START_HALT + 8192 + halt axis - can be interrupted by any motion commands + + + TCNC_START_TORQUE_ABORT + 12288 + 20181210 Fap - halt torque control + + + TCNC_START_TORQUE_ABSOLUTE + 12289 + 20181210 Fap - Start torque control absolute + + + TCNC_START_TORQUE_RELATIVE + 12290 + 20190108 Fap - Start torque control relative NOT IMPLEMENTED + + + + ST_TorqueControlOptions + 128 + + ControlMask + UDINT + optional: control mask + 32 + 0 + + + conditionalshow + + + + + Mode + UDINT + optional: mode (ENUM) + 32 + 32 + + + conditionalshow + + + + + ManualTorqueStartValue + LREAL + 64 + 64 + + + + _ST_TcNC_UnversalAxisStartRequest + 640 + + nStartType + UDINT + axis start TYPE (ABSOLUT, RELATIV, ENDLESS_PLUS, ENDLESS_MINUS, MODULO_SHORT, MODULO_PLUS, MODULO_MINUS) + 32 + 0 + + + nControlMask + UDINT + optional: control mask + 32 + 32 + + + fPosTarget + LREAL + target position + 64 + 64 + + + fVeloRequ + LREAL + required velocity + 64 + 128 + + + fAcc + LREAL + acceleration (>= 0) + 64 + 192 + + + fDec + LREAL + deceleration (>= 0) + 64 + 256 + + + fJerk + LREAL + jerk (>= 0) + 64 + 320 + + + nBufferMode + UDINT + optional: 'buffer mode' OR 'activation mode' FOR 'buffered commands' (issue #2786) + 32 + 384 + + + nReserved + UDINT + reserved + 32 + 416 + + + fBlendingPosition + LREAL + optional: activation position + 64 + 448 + + + fVeloStart + LREAL + optional: start velocity (0 <= fVeloStart <= fVeloRequ) Frage: erstmal weglassen ??? + 64 + 512 + + + fVeloEnd + LREAL + optional: end velocity (0 <= fVeloEnd <= fVeloRequ) Frage: erstmal weglassen ??? + 64 + 576 + + + + conditionalshow + + + + + _ST_TcNC_UniversalAxisTorqueStartRequest + 576 + + nStartType + UDINT + axis start TYPE (TORQUECONTINUOUS) + 32 + 0 + + + nControlMask + UDINT + optional: control mask + 32 + 32 + + + nMode + UDINT + optional: mode (ENUM) + 32 + 64 + + + nBufferMode + UDINT + 'buffer mode' OR 'activation mode' FOR 'buffered commands' (first Only ABORTING) + 32 + 96 + + + fTorque + LREAL + target torque [signed] + 64 + 128 + + + fTorqueRamp + LREAL + nc torque ramp + 64 + 192 + + + fVelocityLimitHigh + LREAL + velocity limit high [signed] + 64 + 256 + + + fVelocityLimitLow + LREAL + velocity limit low [signed] + 64 + 320 + + + fAcceleration + LREAL + acceleration (>= 0) + 64 + 384 + + + fDeceleration + LREAL + deceleration (>= 0) + 64 + 448 + + + fManualTorque + LREAL + optional: manual torque (sync value) + 64 + 512 + + + + conditionalshow + + + + + _ST_TcNC_UnversalAxisStartResponse + 32 + + nCmdNo + WORD + Continuous actual command number + 16 + 0 + + + nCmdState + WORD + Command state + 16 + 16 + + + + conditionalshow + + + + + _ST_TcNc_OperationModes + 128 + + PosAreaControl + DWORD + OpModeDWord in cyclic interface + 0 + 32 + 0 + + 1 + + + + TargetPosControl + DWORD + 1 + 32 + 32 + + 2 + + + + StopMonitoring + DWORD + 2 Loop : DWORD := 2#0000_0000_0000_0000_0000_0000_0000_0100; 3 MotionControl : DWORD := 2#0000_0000_0000_0000_0000_0000_0000_1000; @@ -613,7 +33360,17 @@ External Setpoint Generation: 8 SimulationAxis bits 9 .. 11 reserved for supplement products - 12 ]]>32644096AllowSlaveCommandsDWORD + 32 + 64 + + 4096 + + + + AllowSlaveCommands + DWORD + bits 13 .. 15 reserved 16 PosDiffControl : DWORD := 2#0000_0000_0000_0001_0000_0000_0000_0000; 17 @@ -624,306 +33381,17262 @@ External Setpoint Generation: SoftEndMaxControl: DWORD := 2#0000_0000_0000_1000_0000_0000_0000_0000; 20 ActPosCorrection : DWORD := 2#0000_0000_0001_0000_0000_0000_0000_0000; - 21 ]]>32962097152conditionalshow_FB_MoveUniversalGeneric7616AxisAXIS_REF3232ItemTypeInOutLastExecutionResult_ST_FunctionBlockResults3264ItemTypeInOutExecuteBOOL896ItemTypeInputStartType_E_TcNC_StartPosType16112ItemTypeInputPositionLREAL64128ItemTypeInputTorqueLREAL64192ItemTypeInputTorqueRampLREAL64256ItemTypeInputVelocityLREAL64320ItemTypeInputVelocityLimitHighLREAL64384ItemTypeInputVelocityLimitLowLREAL64448ItemTypeInputAccelerationLREAL64512ItemTypeInputDecelerationLREAL64576ItemTypeInputJerkLREAL64640ItemTypeInputBufferModeMC_BufferMode16704ItemTypeInputOptionsST_MoveOptions320768ItemTypeInputOptionsTorqueST_TorqueControlOptions1281088ItemTypeInputResetBOOL81216ItemTypeInputGotoRunStateBOOL81224ItemTypeInputDoneBOOL81232ItemTypeOutputBusyBOOL81240ItemTypeOutputActiveBOOL81248ItemTypeOutputCommandAbortedBOOL81256ItemTypeOutputErrorBOOL81264ItemTypeOutputErrorIDUDINT321280ItemTypeOutputdisplaymodehexCmdNoUINT161312ItemTypeOutputADSbusyBOOL81328ItemTypeOutputInTorqueBOOL81336ItemTypeOutputiState_E_TcMC_STATES161344100sStartRequest_ST_TcNC_UnversalAxisStartRequest6401408sTorqueStartRequest_ST_TcNC_UniversalAxisTorqueStartRequest5762048sStartResponse_ST_TcNC_UnversalAxisStartResponse322624fbAdsReadWriteADSRDWRTEX14402656ContinousModeBOOL84096InVelocityBOOL84104DiffCycleCounterUDINT324128EmptyStartResponse_ST_TcNC_UnversalAxisStartResponse324160COUNT_RUDINT324192CounterCmdNoZeroBYTE84224CounterCmdNotStartedBYTE84232DiffCmdNoINT164240InitialNcToPlcCmdNoUINT164256NcCycleCounterBYTE84272LastNcCycleCounterBYTE84280NcMappingCounterBYTE84288NcCycleCounterAvailableBOOL84296NcCycleCounterNotAvailableBOOL84304NcCyclicFeedbackExpectedBOOL84312PlcDebugCodeDWORD324320AxisIsSlaveBOOL84352GetTaskIndexGETCURTASKINDEX1284384CycleCounterUDINT324512BusyCounterUDINT324544fbTimeOutTON2244576fbStopMonitoringTimeOutTON2244800fbTimeOutMappingCounterTON2245024fbOnTriggerR_TRIG645248sTempMsgSTRING(255)20485312AccDecreasingBOOL87360AccOldLREAL647424OpMode_ST_TcNc_OperationModes1287488suppress_warning_0C0228ActMonitorStopActMonitorAbortTorqueActMonitorContinousMotionActMonitorDiscreteMotionActErrorMessageActMonitorContinuousTorqueActCalcDiffCmdNoActNcCycleCounterPouTypeFunctionBlockconditionalshowMC_Halt8576AxisAXIS_REF3232ItemTypeInOutExecuteBOOL864ItemTypeInputDecelerationLREAL64128ItemTypeInputJerkLREAL64192ItemTypeInputBufferModeMC_BufferMode16256ItemTypeInputOptionsST_MoveOptions320320ItemTypeInputDoneBOOL8640ItemTypeOutputBusyBOOL8648ItemTypeOutputActiveBOOL8656ItemTypeOutputCommandAbortedBOOL8664ItemTypeOutputErrorBOOL8672ItemTypeOutputErrorIDUDINT32704ItemTypeOutputdisplaymodehexLastExecutionResult_ST_FunctionBlockResults96736ADSbusyBOOL8832MoveGeneric_FB_MoveUniversalGeneric7616896CmdNoUINT168512PouTypeFunctionBlockE_JogMode16INTMC_JOGMODE_STANDARD_SLOW0MC_JOGMODE_STANDARD_FAST1MC_JOGMODE_CONTINOUS2MC_JOGMODE_INCHING3MC_JOGMODE_INCHING_MODULO4MC_Direction16INTMC_Positive_Direction1MC_Shortest_Way2MC_Negative_Direction3MC_Current_Direction4MC_Undefined_Direction128MC_MoveVelocity8704AxisAXIS_REF3232ItemTypeInOutExecuteBOOL864ItemTypeInputVelocityLREAL64128ItemTypeInputAccelerationLREAL64192ItemTypeInputDecelerationLREAL64256ItemTypeInputJerkLREAL64320ItemTypeInputDirectionMC_Direction163841ItemTypeInputBufferModeMC_BufferMode16400ItemTypeInputOptionsST_MoveOptions320448ItemTypeInputInVelocityBOOL8768ItemTypeOutputBusyBOOL8776ItemTypeOutputActiveBOOL8784ItemTypeOutputCommandAbortedBOOL8792ItemTypeOutputErrorBOOL8800ItemTypeOutputErrorIDUDINT32832ItemTypeOutputdisplaymodehexLastExecutionResult_ST_FunctionBlockResults96864ADSbusyBOOL8960MoveGeneric_FB_MoveUniversalGeneric76161024CmdNoUINT168640PouTypeFunctionBlockST_McOutputs96DoneBOOL80BusyBOOL88ActiveBOOL816CommandAbortedBOOL824ErrorBOOL832ErrorIDUDINT3264MC_MoveAbsolute8768AxisAXIS_REF3232ItemTypeInOutExecuteBOOL864ItemTypeInputPositionLREAL64128ItemTypeInputVelocityLREAL64192ItemTypeInputAccelerationLREAL64256ItemTypeInputDecelerationLREAL64320ItemTypeInputJerkLREAL64384ItemTypeInputBufferModeMC_BufferMode16448ItemTypeInputOptionsST_MoveOptions320512ItemTypeInputDoneBOOL8832ItemTypeOutputBusyBOOL8840ItemTypeOutputActiveBOOL8848ItemTypeOutputCommandAbortedBOOL8856ItemTypeOutputErrorBOOL8864ItemTypeOutputErrorIDUDINT32896ItemTypeOutputdisplaymodehexLastExecutionResult_ST_FunctionBlockResults96928ADSbusyBOOL81024MoveGeneric_FB_MoveUniversalGeneric76161088CmdNoUINT168704PouTypeFunctionBlockMC_MoveRelative8768AxisAXIS_REF3232ItemTypeInOutExecuteBOOL864ItemTypeInputDistanceLREAL64128ItemTypeInputVelocityLREAL64192ItemTypeInputAccelerationLREAL64256ItemTypeInputDecelerationLREAL64320ItemTypeInputJerkLREAL64384ItemTypeInputBufferModeMC_BufferMode16448ItemTypeInputOptionsST_MoveOptions320512ItemTypeInputDoneBOOL8832ItemTypeOutputBusyBOOL8840ItemTypeOutputActiveBOOL8848ItemTypeOutputCommandAbortedBOOL8856ItemTypeOutputErrorBOOL8864ItemTypeOutputErrorIDUDINT32896ItemTypeOutputdisplaymodehexLastExecutionResult_ST_FunctionBlockResults96928ADSbusyBOOL81024MoveGeneric_FB_MoveUniversalGeneric76161088CmdNoUINT168704PouTypeFunctionBlockMC_Jog44032AxisAXIS_REF3232ItemTypeInOutJogForwardBOOL864ItemTypeInputJogBackwardsBOOL872ItemTypeInputModeE_JogMode1680ItemTypeInputPositionLREAL64128ItemTypeInputVelocityLREAL64192ItemTypeInputAccelerationLREAL64256ItemTypeInputDecelerationLREAL64320ItemTypeInputJerkLREAL64384ItemTypeInputDoneBOOL8448ItemTypeOutputBusyBOOL8456ItemTypeOutputActiveBOOL8464ItemTypeOutputCommandAbortedBOOL8472ItemTypeOutputErrorBOOL8480ItemTypeOutputErrorIDUDINT32512ItemTypeOutputdisplaymodehexstateINT16544LastExecutionResult_ST_FunctionBlockResults96576StateDWordBOOL8672ExecuteMoveVelocityBOOL8680MoveVelocityMC_MoveVelocity8704704MoveVelocityOutST_McOutputs969408DirectionMC_Direction169504ExecuteHaltBOOL89520HaltMC_Halt85769536HaltOutST_McOutputs9618112ExecuteMoveAbsoluteBOOL818208MoveAbsoluteMC_MoveAbsolute876818240MoveAbsoluteOutST_McOutputs9627008ExecuteMoveRelativeBOOL827104MoveRelativeMC_MoveRelative876827136MoveRelativeOutST_McOutputs9635904JogMove_FB_MoveUniversalGeneric761636032LastJogMoveResult_ST_FunctionBlockResults9643648ExecuteJogMoveBOOL843744StartType_E_TcNC_StartPosType1643760JogMoveOutST_McOutputs9643776JogEndBOOL843872TargetPositionLREAL6443904moduloLREAL6443968ActJogMoveActCheckJogEndPouTypeFunctionBlockMC_MoveModulo8832AxisAXIS_REF3232ItemTypeInOutExecuteBOOL864ItemTypeInputPositionLREAL64128ItemTypeInputVelocityLREAL64192ItemTypeInputAccelerationLREAL64256ItemTypeInputDecelerationLREAL64320ItemTypeInputJerkLREAL64384ItemTypeInputDirectionMC_Direction16448ItemTypeInputBufferModeMC_BufferMode16464ItemTypeInputOptionsST_MoveOptions320512ItemTypeInputDoneBOOL8832ItemTypeOutputBusyBOOL8840ItemTypeOutputActiveBOOL8848ItemTypeOutputCommandAbortedBOOL8856ItemTypeOutputErrorBOOL8864ItemTypeOutputErrorIDUDINT32896ItemTypeOutputdisplaymodehexLastExecutionResult_ST_FunctionBlockResults96928ADSbusyBOOL81024MoveGeneric_FB_MoveUniversalGeneric76161088StartType_E_TcNC_StartPosType168704CmdNoUINT168720TriggerExecuteR_TRIG648736MC_MoveModuloCallPouTypeFunctionBlockMC_HomingMode16INTMC_DefaultHoming0MC_AbsSwitch1MC_LimitSwitch2MC_RefPulse3MC_Direct4MC_Absolute5MC_Block6MC_ForceCalibration7MC_ResetCalibration8E_EncoderReferenceMode32UDINTENCODERREFERENCEMODE_DEFAULT0ENCODERREFERENCEMODE_PLCCAM1ENCODERREFERENCEMODE_HARDWARESYNC2ENCODERREFERENCEMODE_HARDWARELATCHPOS3ENCODERREFERENCEMODE_HARDWARELATCHNEG4ENCODERREFERENCEMODE_SOFTWARESYNC5ENCODERREFERENCEMODE_SOFTDRIVELATCHPOS6ENCODERREFERENCEMODE_SOFTDRIVELATCHNEG7ENCODERREFERENCEMODE_APPLICATION20ST_HomingOptions320ClearPositionLagBOOL80SearchDirectionMC_Direction1616128SearchVelocityLREAL6464SyncDirectionMC_Direction16128128SyncVelocityLREAL64192ReferenceModeE_EncoderReferenceMode322560ST_SetPositionOptions32ClearPositionLagBOOL80SelectEncoderIndexBOOL88EncoderIndexUINT1616_ST_TcNC_SetPosOnTheFly256nPosSetTypeUDINT320nCtrlDWordUDINT3232fPreviousActualPosLREAL6464fNewActualPosLREAL64128nReservedDWORD1264192conditionalshowMC_SetPosition1984AxisAXIS_REF3232ItemTypeInOutExecuteBOOL864ItemTypeInputPositionLREAL64128ItemTypeInputModeBOOL8192ItemTypeInputOptionsST_SetPositionOptions32208ItemTypeInputDoneBOOL8240ItemTypeOutputBusyBOOL8248ItemTypeOutputErrorBOOL8256ItemTypeOutputErrorIDUDINT32288ItemTypeOutputdisplaymodehexADSbusyBOOL8320stSetPos_ST_TcNC_SetPosOnTheFly256384iState_E_TcMC_STATES16640100fbAdsWriteADSWRITE1216672fbOnTriggerR_TRIG641888conditionalshowPouTypeFunctionBlockMC_Home7168AxisAXIS_REF3232ItemTypeInOutExecuteBOOL864ItemTypeInputPositionLREAL641281E+307ItemTypeInputHomingModeMC_HomingMode16192ItemTypeInputBufferModeMC_BufferMode16208ItemTypeInputOptionsST_HomingOptions320256ItemTypeInputbCalibrationCamBOOL8576ItemTypeInputDoneBOOL8584ItemTypeOutputBusyBOOL8592ItemTypeOutputActiveBOOL8600ItemTypeOutputCommandAbortedBOOL8608ItemTypeOutputErrorBOOL8616ItemTypeOutputErrorIDUDINT32640ItemTypeOutputdisplaymodehexLastExecutionResult_ST_FunctionBlockResults96672conditionalshowADSbusyBOOL8768conditionalshowiState_E_TcMC_STATES16784100conditionalshowiSubStateINT16800conditionalshowfbAdsWriteCmdADSWRITE1216832conditionalshowfbAdsWriteParameterADSWRITE12162048conditionalshowfbAdsReadRefPosADSREAD12483264conditionalshowReferenceFlagValueUDINT324512conditionalshowfbSetPositionMC_SetPosition19844544conditionalshowCalibrationValueLREAL646528conditionalshowSearchDirectionUINT166592conditionalshowSearchVelocityLREAL646656conditionalshowSyncDirectionUINT166720conditionalshowSyncVelocityLREAL646784conditionalshowReferenceModeE_EncoderReferenceMode326848conditionalshowfbTriggerR_TRIG646880conditionalshowfbTimeOutTON2246944conditionalshowPouTypeFunctionBlockconditionalshow_all_localsFB_WriteParameterInNc_v1_001504bExecuteBOOL832ItemTypeInputnDeviceGroupUDINT3264ItemTypeInputnIndexOffsetUDINT3296ItemTypeInputnDataDWORD32128ItemTypeInputbBusyBOOL8160ItemTypeOutputbDoneBOOL8168ItemTypeOutputbErrorBOOL8176ItemTypeOutputnErrorIdUDINT32192ItemTypeOutputAxisAXIS_REF32224ItemTypeInOutnStateUINT16256fbADSWRITEADSWRITE1216288PouTypeFunctionBlockFB_WriteFloatParameter1536bExecuteBOOL832ItemTypeInputnDeviceGroupUDINT3264ItemTypeInputnIndexOffsetUDINT3296ItemTypeInputnDataLREAL64128ItemTypeInputbBusyBOOL8192ItemTypeOutputbDoneBOOL8200ItemTypeOutputbErrorBOOL8208ItemTypeOutputnErrorIdUDINT32224ItemTypeOutputAxisAXIS_REF32256ItemTypeInOutnStateUINT16288fbADSWRITEADSWRITE1216320PouTypeFunctionBlockFB_HomeWriteNcVelocities3456EnBOOL832ItemTypeInputbResetBOOL840ItemTypeInputbExecuteBOOL848ItemTypeInputfVelocityToCamLREAL6464ItemTypeInputfVelocityFromCamLREAL64128ItemTypeInputAxisAXIS_REF32192ItemTypeInOutEnOBOOL8224ItemTypeOutputbBusyBOOL8232ItemTypeOutputbDoneBOOL8240ItemTypeOutputbErrorBOOL8248ItemTypeOutputnErrorIdUDINT32256ItemTypeOutputfbExecuteRiseEdgeR_TRIG64288fbWriteVelocityToCamFB_WriteFloatParameter1536384fbWriteVelocityFromCamFB_WriteFloatParameter15361920PouTypeFunctionBlockFB_HomeToSwitch15744EnBOOL832ItemTypeInputbResetBOOL840ItemTypeInputbExecuteBOOL848ItemTypeInputbCamSensorBOOL856ItemTypeInputnSearchDirTwoardsCamMC_Direction1664ItemTypeInputnSearchDirOffCamMC_Direction1680ItemTypeInputfHomePositionLREAL64128ItemTypeInputfVelocityToCamNCLREAL64192ItemTypeInputfVelocityFromCamNCLREAL64256ItemTypeInputAxisAXIS_REF32320ItemTypeInOutEnOBOOL8352ItemTypeOutputbBusyBOOL8360ItemTypeOutputbDoneBOOL8368ItemTypeOutputbHomedBOOL8376ItemTypeOutputbErrorBOOL8384ItemTypeOutputnErrorIdUDINT32416ItemTypeOutputfbHomeMC_Home7168448fbWriteHomeDirCamToNCFB_WriteParameterInNc_v1_0015047616fbWriteHomeDirSyncToNCFB_WriteParameterInNc_v1_0015049120fbWriteHomeModeToNCFB_WriteParameterInNc_v1_00150410624fbWriteHomeVelocitiesToNCFB_HomeWriteNcVelocities345612160bConfigNCDoneBOOL8156160fbRTriggR_TRIG6415648PouTypeFunctionBlockFB_HomeDirect7424EnBOOL832ItemTypeInputbResetBOOL840ItemTypeInputbExecuteBOOL848ItemTypeInputfHomePositionLREAL6464ItemTypeInputAxisAXIS_REF32128ItemTypeInOutEnOBOOL8160ItemTypeOutputbBusyBOOL8168ItemTypeOutputbDoneBOOL8176ItemTypeOutputbHomedBOOL8184ItemTypeOutputbErrorBOOL8192ItemTypeOutputnErrorIdUDINT32224ItemTypeOutputfbHomeMC_Home7168256PouTypeFunctionBlockFB_ReadParameterInNc_v1_001536bExecuteBOOL832ItemTypeInputnDeviceGroupUDINT3264ItemTypeInputnIndexOffsetUDINT3296ItemTypeInputnDataDWORD32128ItemTypeOutputbBusyBOOL8160ItemTypeOutputbDoneBOOL8168ItemTypeOutputbErrorBOOL8176ItemTypeOutputnErrorIdUDINT32192ItemTypeOutputAxisAXIS_REF32224ItemTypeInOutnStateUINT16256fbADSREADADSREAD1248288PouTypeFunctionBlockFB_HomeReadSoftLimEnable3264EnBOOL832ItemTypeInputbResetBOOL840ItemTypeInputbExecuteBOOL848ItemTypeInputAxisAXIS_REF3264ItemTypeInOutEnOBOOL896ItemTypeOutputbBusyBOOL8104ItemTypeOutputbDoneBOOL8112ItemTypeOutputbErrorBOOL8120ItemTypeOutputnErrorIdUDINT32128ItemTypeOutputbSofLimEnableLowBOOL81601ItemTypeOutputbSofLimEnableHighBOOL81681ItemTypeOutputfbReadSoftLimEnableLowFB_ReadParameterInNc_v1_001536192fbReadSoftLimEnableHighFB_ReadParameterInNc_v1_0015361728PouTypeFunctionBlockFB_HomeWriteSoftLimEnable3264EnBOOL832ItemTypeInputbResetBOOL840ItemTypeInputbExecuteBOOL848ItemTypeInputbSofLimEnableLowBOOL8561ItemTypeInputbSofLimEnableHighBOOL8641ItemTypeInputAxisAXIS_REF3296ItemTypeInOutEnOBOOL8128ItemTypeOutputbBusyBOOL8136ItemTypeOutputbDoneBOOL8144ItemTypeOutputbErrorBOOL8152ItemTypeOutputnErrorIdUDINT32160ItemTypeOutputfbExecuteRiseEdgeR_TRIG64192fbWriteSoftLimEnableLowFB_WriteParameterInNc_v1_001504256fbWriteSoftLimEnableHighFB_WriteParameterInNc_v1_0015041760PouTypeFunctionBlockFB_ReadFloatParameter1600bExecuteBOOL832ItemTypeInputnDeviceGroupUDINT3264ItemTypeInputnIndexOffsetUDINT3296ItemTypeInputnDataLREAL64128ItemTypeOutputbBusyBOOL8192ItemTypeOutputbDoneBOOL8200ItemTypeOutputbErrorBOOL8208ItemTypeOutputnErrorIdUDINT32224ItemTypeOutputAxisAXIS_REF32256ItemTypeInOutnStateUINT16288fbADSREADADSREAD1248320PouTypeFunctionBlockFB_HomeReadNcVelocities3520EnBOOL832ItemTypeInputbResetBOOL840ItemTypeInputbExecuteBOOL848ItemTypeInputAxisAXIS_REF3264ItemTypeInOutEnOBOOL896ItemTypeOutputbBusyBOOL8104ItemTypeOutputbDoneBOOL8112ItemTypeOutputbErrorBOOL8120ItemTypeOutputnErrorIdUDINT32128ItemTypeOutputfVelocityToCamLREAL64192ItemTypeOutputfVelocityFromCamLREAL64256ItemTypeOutputfbReadVelocityToCamFB_ReadFloatParameter1600320fbReadVelocityFromCamFB_ReadFloatParameter16001920PouTypeFunctionBlockFB_HomePrepare17728EnBOOL832ItemTypeInputbResetBOOL840ItemTypeInputbExecuteBOOL848ItemTypeInputnCmdDataUINT1664ItemTypeInputAxisAXIS_REF3296ItemTypeInOutEnOBOOL8128ItemTypeOutputbBusyBOOL8136ItemTypeOutputbDoneBOOL8144ItemTypeOutputbErrorBOOL8152ItemTypeOutputnErrorIdUDINT32160ItemTypeOutputbSofLimEnableLowOriginalBOOL81921ItemTypeOutputbSofLimEnableHighOriginalBOOL82001ItemTypeOutputfVelocityToCamLREAL642560ItemTypeOutputfVelocityFromCamLREAL643200ItemTypeOutputfbHomeReadSoftLimEnableFB_HomeReadSoftLimEnable3264384fbHomeDisableSoftLimEnableFB_HomeWriteSoftLimEnable32643648fbHomeReadNCVelocitiesFB_HomeReadNcVelocities35206912fbHomeResetCalibrationFlagMC_Home716810432fbExecuteRiseEdgeR_TRIG6417600bExecuteReadNCBOOL8176640bExecuteWriteNCBOOL8176720nStateINT16176800PouTypeFunctionBlockFB_HomeFinish3552EnBOOL832ItemTypeInputbResetBOOL840ItemTypeInputbExecuteBOOL848ItemTypeInputnCmdDataUINT1664ItemTypeInputbSofLimEnableLowBOOL8801ItemTypeInputbSofLimEnableHighBOOL8881ItemTypeInputAxisAXIS_REF3296ItemTypeInOutEnOBOOL8128ItemTypeOutputbBusyBOOL8136ItemTypeOutputbDoneBOOL8144ItemTypeOutputbErrorBOOL8152ItemTypeOutputnErrorIdUDINT32160ItemTypeOutputfbHomewriteSoftLimEnableFB_HomeWriteSoftLimEnable3264192fbExecuteRiseEdgeR_TRIG643456bExecuteWriteNCBOOL835200nStateINT1635360PouTypeFunctionBlockFB_HomeVirtual53696EnBOOL832ItemTypeInputbResetBOOL840ItemTypeInputbExecuteBOOL848ItemTypeInputnCmdDataUINT1664ItemTypeInputbLimitFwdBOOL880ItemTypeInputbLimitBwdBOOL888ItemTypeInputbHomeSensorBOOL896ItemTypeInputfHomePositionLREAL64128ItemTypeInputnHomeRevOffsetUINT16192ItemTypeInputAxisAXIS_REF32224ItemTypeInOutEnOBOOL8256ItemTypeOutputbBusyBOOL8264ItemTypeOutputbDoneBOOL8272ItemTypeOutputbHomedBOOL8280ItemTypeOutputbErrorBOOL8288ItemTypeOutputnErrorIdUDINT32320ItemTypeOutputfbHomeToSwitchFB_HomeToSwitch15744384fbHomeDirectFB_HomeDirect742416128fbMoveVelocityMC_MoveVelocity870423552fbHomePrepareFB_HomePrepare1772832256fbHomeFinishFB_HomeFinish355249984fbExecuteRiseEdgeR_TRIG6453536nHomingStateINT16536000bExecuteHomeToSwitchBOOL8536160bExecuteMoveVelocityBOOL8536240bExecutePrepareBOOL8536320bExecuteFinishBOOL8536400bExecuteHomeDirectBOOL853648nCmdDataLocalUINT1653664bSequenceReadyBOOL8536801bRestoreNCDataNeededBOOL8536880PouTypeFunctionBlockST_GearInDynOptions8CCVmodeBOOL80_ST_TcNC_CoupleSlave384nSlaveTypeUDINT320nMasterAxisIdUDINT3232nMasterSubIdxUDINT3264nSlaveSubIdxUDINT3296fCoupleParam1LREAL64128fCoupleParam2LREAL64192fCoupleParam3LREAL64256fCoupleParam4LREAL64320conditionalshowMC_GearInDyn4032MasterAXIS_REF3232ItemTypeInOutSlaveAXIS_REF3264ItemTypeInOutEnableBOOL896ItemTypeInputGearRatioLREAL641281ItemTypeInputAccelerationLREAL64192ItemTypeInputDecelerationLREAL64256ItemTypeInputJerkLREAL64320ItemTypeInputBufferModeMC_BufferMode16384ItemTypeInputOptionsST_GearInDynOptions8400ItemTypeInputInGearBOOL8408ItemTypeOutputBusyBOOL8416ItemTypeOutputActiveBOOL8424ItemTypeOutputCommandAbortedBOOL8432ItemTypeOutputErrorBOOL8440ItemTypeOutputErrorIDUDINT32448ItemTypeOutputdisplaymodehexLastExecutionResult_ST_FunctionBlockResults96480ADSbusyBOOL8576iState_E_TcMC_STATES16592100iSubStateINT16608fbAdsWriteADSWRITE1216640fbAdsReadADSREAD12481856sCouple_ST_TcNC_CoupleSlave3843136v_maxLREAL643520pa_limitLREAL643584WasInGearBOOL83648iAccelerationLREAL643712conditionalshowTimerStateFeedbackTON2243776conditionalshowPouTypeFunctionBlockST_GearOutOptions8reservedBOOL80conditionalshowMC_GearOut1792SlaveAXIS_REF3232ItemTypeInOutExecuteBOOL864ItemTypeInputOptionsST_GearOutOptions872ItemTypeInputDoneBOOL880ItemTypeOutputBusyBOOL888ItemTypeOutputErrorBOOL896ItemTypeOutputErrorIDUDINT32128ItemTypeOutputdisplaymodehexLastExecutionResult_ST_FunctionBlockResults96160ADSbusyBOOL8256iState_E_TcMC_STATES16272100fbAdsWriteADSWRITE1216288fbOnTriggerR_TRIG641504conditionalshowTimerStateFeedbackTON2241568conditionalshowPouTypeFunctionBlockFB_DriveVirtual162688sVersionSTRING(80)648321.0.3EnBOOL8680ItemTypeInputbEnableBOOL8688ItemTypeInputbResetBOOL8696ItemTypeInputbExecuteBOOL8704ItemTypeInputnCommandUINT + 32 + 96 + + 2097152 + + + + + conditionalshow + + + + + _FB_MoveUniversalGeneric + 7616 + + Axis + AXIS_REF + Reference to an axis + 32 + 32 + + + ItemType + InOut + + + + + LastExecutionResult + _ST_FunctionBlockResults + 32 + 64 + + + ItemType + InOut + + + + + Execute + BOOL + 8 + 96 + + + ItemType + Input + + + + + StartType + _E_TcNC_StartPosType + 20110511 KSt type changed for Tc3 + 16 + 112 + + + ItemType + Input + + + + + Position + LREAL + 64 + 128 + + + ItemType + Input + + + + + Torque + LREAL + 64 + 192 + + + ItemType + Input + + + + + TorqueRamp + LREAL + 64 + 256 + + + ItemType + Input + + + + + Velocity + LREAL + 64 + 320 + + + ItemType + Input + + + + + VelocityLimitHigh + LREAL + 64 + 384 + + + ItemType + Input + + + + + VelocityLimitLow + LREAL + 64 + 448 + + + ItemType + Input + + + + + Acceleration + LREAL + 64 + 512 + + + ItemType + Input + + + + + Deceleration + LREAL + 64 + 576 + + + ItemType + Input + + + + + Jerk + LREAL + 64 + 640 + + + ItemType + Input + + + + + BufferMode + MC_BufferMode + Direction : MC_Direction := MC_Positive_Direction; + E + 16 + 704 + + + ItemType + Input + + + + + Options + ST_MoveOptions + 320 + 768 + + + ItemType + Input + + + + + OptionsTorque + ST_TorqueControlOptions + 128 + 1088 + + + ItemType + Input + + + + + Reset + BOOL + for internal use only + 8 + 1216 + + + ItemType + Input + + + + + GotoRunState + BOOL + for internal use only + 8 + 1224 + + + ItemType + Input + + + + + Done + BOOL + Same meaning as InVelocity for continous motion commands + 8 + 1232 + + + ItemType + Output + + + + + Busy + BOOL + 8 + 1240 + + + ItemType + Output + + + + + Active + BOOL + 8 + 1248 + + + ItemType + Output + + + + + CommandAborted + BOOL + 8 + 1256 + + + ItemType + Output + + + + + Error + BOOL + 8 + 1264 + + + ItemType + Output + + + + + ErrorID + UDINT + 32 + 1280 + + + ItemType + Output + + + displaymode + hex + + + + + CmdNo + UINT + 16 + 1312 + + + ItemType + Output + + + + + ADSbusy + BOOL + 8 + 1328 + + + ItemType + Output + + + + + InTorque + BOOL + 8 + 1336 + + + ItemType + Output + + + + + iState + _E_TcMC_STATES + 16 + 1344 + + 100 + + + + sStartRequest + _ST_TcNC_UnversalAxisStartRequest + 640 + 1408 + + + sTorqueStartRequest + _ST_TcNC_UniversalAxisTorqueStartRequest + 576 + 2048 + + + sStartResponse + _ST_TcNC_UnversalAxisStartResponse + 32 + 2624 + + + fbAdsReadWrite + ADSRDWRTEX + 1440 + 2656 + + + ContinousMode + BOOL + 8 + 4096 + + + InVelocity + BOOL + 8 + 4104 + + + DiffCycleCounter + UDINT + 32 + 4128 + + + EmptyStartResponse + _ST_TcNC_UnversalAxisStartResponse + 32 + 4160 + + + COUNT_R + UDINT + 32 + 4192 + + + CounterCmdNoZero + BYTE + 8 + 4224 + + + CounterCmdNotStarted + BYTE + 8 + 4232 + + + DiffCmdNo + INT + 16 + 4240 + + + InitialNcToPlcCmdNo + UINT + 16 + 4256 + + + NcCycleCounter + BYTE + 8 + 4272 + + + LastNcCycleCounter + BYTE + 8 + 4280 + + + NcMappingCounter + BYTE + 8 + 4288 + + + NcCycleCounterAvailable + BOOL + 8 + 4296 + + + NcCycleCounterNotAvailable + BOOL + 8 + 4304 + + + NcCyclicFeedbackExpected + BOOL + 8 + 4312 + + + PlcDebugCode + DWORD + 32 + 4320 + + + AxisIsSlave + BOOL + 8 + 4352 + + + GetTaskIndex + GETCURTASKINDEX + 128 + 4384 + + + CycleCounter + UDINT + 32 + 4512 + + + BusyCounter + UDINT + 32 + 4544 + + + fbTimeOut + TON + 224 + 4576 + + + fbStopMonitoringTimeOut + TON + 224 + 4800 + + + fbTimeOutMappingCounter + TON + 224 + 5024 + + + fbOnTrigger + R_TRIG + 64 + 5248 + + + sTempMsg + STRING(255) + 2048 + 5312 + + + AccDecreasing + BOOL + 8 + 7360 + + + AccOld + LREAL + 64 + 7424 + + + OpMode + _ST_TcNc_OperationModes + 128 + 7488 + + + suppress_warning_0 + C0228 + + + + + ActMonitorStop + + + ActMonitorAbortTorque + + + ActMonitorContinousMotion + + + ActMonitorDiscreteMotion + + + ActErrorMessage + + + ActMonitorContinuousTorque + + + ActCalcDiffCmdNo + + + ActNcCycleCounter + + + + PouType + FunctionBlock + + + conditionalshow + + + + + MC_Halt + 8576 + + Axis + AXIS_REF + Reference to an axis + 32 + 32 + + + ItemType + InOut + + + + + Execute + BOOL + 8 + 64 + + + ItemType + Input + + + + + Deceleration + LREAL + 64 + 128 + + + ItemType + Input + + + + + Jerk + LREAL + 64 + 192 + + + ItemType + Input + + + + + BufferMode + MC_BufferMode + 16 + 256 + + + ItemType + Input + + + + + Options + ST_MoveOptions + optional parameters + 320 + 320 + + + ItemType + Input + + + + + Done + BOOL + 8 + 640 + + + ItemType + Output + + + + + Busy + BOOL + 8 + 648 + + + ItemType + Output + + + + + Active + BOOL + 8 + 656 + + + ItemType + Output + + + + + CommandAborted + BOOL + 8 + 664 + + + ItemType + Output + + + + + Error + BOOL + 8 + 672 + + + ItemType + Output + + + + + ErrorID + UDINT + 32 + 704 + + + ItemType + Output + + + displaymode + hex + + + + + LastExecutionResult + _ST_FunctionBlockResults + 96 + 736 + + + ADSbusy + BOOL + 8 + 832 + + + MoveGeneric + _FB_MoveUniversalGeneric + 7616 + 896 + + + CmdNo + UINT + 16 + 8512 + + + + PouType + FunctionBlock + + + + + E_JogMode + 16 + INT + + MC_JOGMODE_STANDARD_SLOW + 0 + motion with standard jog parameters for slow motion + + + MC_JOGMODE_STANDARD_FAST + 1 + motion with standard jog parameters for fast motion + + + MC_JOGMODE_CONTINOUS + 2 + axis moves as long as the jog button is pressed using parameterized dynamics + + + MC_JOGMODE_INCHING + 3 + axis moves for a certain relative distance + + + MC_JOGMODE_INCHING_MODULO + 4 + axis moves for a certain relative distance - stop position is rounded to the distance value + + + + MC_Direction + 16 + INT + + MC_Positive_Direction + 1 + + + MC_Shortest_Way + 2 + + + MC_Negative_Direction + 3 + + + MC_Current_Direction + 4 + + + MC_Undefined_Direction + 128 + + + + MC_MoveVelocity + 8704 + + Axis + AXIS_REF + Reference to an axis + 32 + 32 + + + ItemType + InOut + + + + + Execute + BOOL + 8 + 64 + + + ItemType + Input + + + + + Velocity + LREAL + ContinuousUpdate : BOOL; + not available + 64 + 128 + + + ItemType + Input + + + + + Acceleration + LREAL + 64 + 192 + + + ItemType + Input + + + + + Deceleration + LREAL + 64 + 256 + + + ItemType + Input + + + + + Jerk + LREAL + 64 + 320 + + + ItemType + Input + + + + + Direction + MC_Direction + 16 + 384 + + 1 + + + + ItemType + Input + + + + + BufferMode + MC_BufferMode + 16 + 400 + + + ItemType + Input + + + + + Options + ST_MoveOptions + 320 + 448 + + + ItemType + Input + + + + + InVelocity + BOOL + Commanded velocity reached + 8 + 768 + + + ItemType + Output + + + + + Busy + BOOL + 8 + 776 + + + ItemType + Output + + + + + Active + BOOL + 8 + 784 + + + ItemType + Output + + + + + CommandAborted + BOOL + 8 + 792 + + + ItemType + Output + + + + + Error + BOOL + 8 + 800 + + + ItemType + Output + + + + + ErrorID + UDINT + 32 + 832 + + + ItemType + Output + + + displaymode + hex + + + + + LastExecutionResult + _ST_FunctionBlockResults + 96 + 864 + + + ADSbusy + BOOL + 8 + 960 + + + MoveGeneric + _FB_MoveUniversalGeneric + 7616 + 1024 + + + CmdNo + UINT + 16 + 8640 + + + + PouType + FunctionBlock + + + + + ST_McOutputs + 96 + + Done + BOOL + 8 + 0 + + + Busy + BOOL + 8 + 8 + + + Active + BOOL + 8 + 16 + + + CommandAborted + BOOL + 8 + 24 + + + Error + BOOL + 8 + 32 + + + ErrorID + UDINT + 32 + 64 + + + + MC_MoveAbsolute + 8768 + + Axis + AXIS_REF + Reference to an axis + 32 + 32 + + + ItemType + InOut + + + + + Execute + BOOL + Start the motion at rising edge + 8 + 64 + + + ItemType + Input + + + + + Position + LREAL + Target position for the motion + 64 + 128 + + + ItemType + Input + + + + + Velocity + LREAL + Value of the maximum velocity + 64 + 192 + + + ItemType + Input + + + + + Acceleration + LREAL + Value of the maximum acceleration + 64 + 256 + + + ItemType + Input + + + + + Deceleration + LREAL + Value of the maximum deceleration + 64 + 320 + + + ItemType + Input + + + + + Jerk + LREAL + Value of the maximum jerk + 64 + 384 + + + ItemType + Input + + + + + BufferMode + MC_BufferMode + Direction : MC_Direction; + not available + 16 + 448 + + + ItemType + Input + + + + + Options + ST_MoveOptions + optional parameters + 320 + 512 + + + ItemType + Input + + + + + Done + BOOL + 8 + 832 + + + ItemType + Output + + + + + Busy + BOOL + 8 + 840 + + + ItemType + Output + + + + + Active + BOOL + 8 + 848 + + + ItemType + Output + + + + + CommandAborted + BOOL + 8 + 856 + + + ItemType + Output + + + + + Error + BOOL + 8 + 864 + + + ItemType + Output + + + + + ErrorID + UDINT + 32 + 896 + + + ItemType + Output + + + displaymode + hex + + + + + LastExecutionResult + _ST_FunctionBlockResults + 96 + 928 + + + ADSbusy + BOOL + 8 + 1024 + + + MoveGeneric + _FB_MoveUniversalGeneric + 7616 + 1088 + + + CmdNo + UINT + 16 + 8704 + + + + PouType + FunctionBlock + + + + + MC_MoveRelative + 8768 + + Axis + AXIS_REF + Reference to an axis + 32 + 32 + + + ItemType + InOut + + + + + Execute + BOOL + 8 + 64 + + + ItemType + Input + + + + + Distance + LREAL + ContinuousUpdate : BOOL; + not available + 64 + 128 + + + ItemType + Input + + + + + Velocity + LREAL + 64 + 192 + + + ItemType + Input + + + + + Acceleration + LREAL + 64 + 256 + + + ItemType + Input + + + + + Deceleration + LREAL + 64 + 320 + + + ItemType + Input + + + + + Jerk + LREAL + 64 + 384 + + + ItemType + Input + + + + + BufferMode + MC_BufferMode + 16 + 448 + + + ItemType + Input + + + + + Options + ST_MoveOptions + 320 + 512 + + + ItemType + Input + + + + + Done + BOOL + 8 + 832 + + + ItemType + Output + + + + + Busy + BOOL + 8 + 840 + + + ItemType + Output + + + + + Active + BOOL + 8 + 848 + + + ItemType + Output + + + + + CommandAborted + BOOL + 8 + 856 + + + ItemType + Output + + + + + Error + BOOL + 8 + 864 + + + ItemType + Output + + + + + ErrorID + UDINT + 32 + 896 + + + ItemType + Output + + + displaymode + hex + + + + + LastExecutionResult + _ST_FunctionBlockResults + 96 + 928 + + + ADSbusy + BOOL + 8 + 1024 + + + MoveGeneric + _FB_MoveUniversalGeneric + 7616 + 1088 + + + CmdNo + UINT + 16 + 8704 + + + + PouType + FunctionBlock + + + + + MC_Jog + 44032 + + Axis + AXIS_REF + Reference to an axis + 32 + 32 + + + ItemType + InOut + + + + + JogForward + BOOL + 8 + 64 + + + ItemType + Input + + + + + JogBackwards + BOOL + 8 + 72 + + + ItemType + Input + + + + + Mode + E_JogMode + 16 + 80 + + + ItemType + Input + + + + + Position + LREAL + 64 + 128 + + + ItemType + Input + + + + + Velocity + LREAL + 64 + 192 + + + ItemType + Input + + + + + Acceleration + LREAL + 64 + 256 + + + ItemType + Input + + + + + Deceleration + LREAL + 64 + 320 + + + ItemType + Input + + + + + Jerk + LREAL + 64 + 384 + + + ItemType + Input + + + + + Done + BOOL + 8 + 448 + + + ItemType + Output + + + + + Busy + BOOL + 8 + 456 + + + ItemType + Output + + + + + Active + BOOL + 8 + 464 + + + ItemType + Output + + + + + CommandAborted + BOOL + 8 + 472 + + + ItemType + Output + + + + + Error + BOOL + 8 + 480 + + + ItemType + Output + + + + + ErrorID + UDINT + 32 + 512 + + + ItemType + Output + + + displaymode + hex + + + + + state + INT + 16 + 544 + + + LastExecutionResult + _ST_FunctionBlockResults + 96 + 576 + + + StateDWord + BOOL + 8 + 672 + + + ExecuteMoveVelocity + BOOL + 8 + 680 + + + MoveVelocity + MC_MoveVelocity + 8704 + 704 + + + MoveVelocityOut + ST_McOutputs + 96 + 9408 + + + Direction + MC_Direction + 16 + 9504 + + + ExecuteHalt + BOOL + 8 + 9520 + + + Halt + MC_Halt + 8576 + 9536 + + + HaltOut + ST_McOutputs + 96 + 18112 + + + ExecuteMoveAbsolute + BOOL + 8 + 18208 + + + MoveAbsolute + MC_MoveAbsolute + 8768 + 18240 + + + MoveAbsoluteOut + ST_McOutputs + 96 + 27008 + + + ExecuteMoveRelative + BOOL + 8 + 27104 + + + MoveRelative + MC_MoveRelative + 8768 + 27136 + + + MoveRelativeOut + ST_McOutputs + 96 + 35904 + + + JogMove + _FB_MoveUniversalGeneric + 7616 + 36032 + + + LastJogMoveResult + _ST_FunctionBlockResults + 96 + 43648 + + + ExecuteJogMove + BOOL + 8 + 43744 + + + StartType + _E_TcNC_StartPosType + 16 + 43760 + + + JogMoveOut + ST_McOutputs + 96 + 43776 + + + JogEnd + BOOL + 8 + 43872 + + + TargetPosition + LREAL + 64 + 43904 + + + modulo + LREAL + 64 + 43968 + + + ActJogMove + + + ActCheckJogEnd + + + + PouType + FunctionBlock + + + + + MC_MoveModulo + 8832 + + Axis + AXIS_REF + Reference to an axis + 32 + 32 + + + ItemType + InOut + + + + + Execute + BOOL + 8 + 64 + + + ItemType + Input + + + + + Position + LREAL + 64 + 128 + + + ItemType + Input + + + + + Velocity + LREAL + 64 + 192 + + + ItemType + Input + + + + + Acceleration + LREAL + 64 + 256 + + + ItemType + Input + + + + + Deceleration + LREAL + 64 + 320 + + + ItemType + Input + + + + + Jerk + LREAL + 64 + 384 + + + ItemType + Input + + + + + Direction + MC_Direction + modulo shortest way, modulo positive, modulo negative + 16 + 448 + + + ItemType + Input + + + + + BufferMode + MC_BufferMode + E + 16 + 464 + + + ItemType + Input + + + + + Options + ST_MoveOptions + 320 + 512 + + + ItemType + Input + + + + + Done + BOOL + 8 + 832 + + + ItemType + Output + + + + + Busy + BOOL + 8 + 840 + + + ItemType + Output + + + + + Active + BOOL + 8 + 848 + + + ItemType + Output + + + + + CommandAborted + BOOL + 8 + 856 + + + ItemType + Output + + + + + Error + BOOL + 8 + 864 + + + ItemType + Output + + + + + ErrorID + UDINT + 32 + 896 + + + ItemType + Output + + + displaymode + hex + + + + + LastExecutionResult + _ST_FunctionBlockResults + 96 + 928 + + + ADSbusy + BOOL + 8 + 1024 + + + MoveGeneric + _FB_MoveUniversalGeneric + 7616 + 1088 + + + StartType + _E_TcNC_StartPosType + 16 + 8704 + + + CmdNo + UINT + 16 + 8720 + + + TriggerExecute + R_TRIG + 64 + 8736 + + + MC_MoveModuloCall + + + + PouType + FunctionBlock + + + + + MC_HomingMode + 16 + INT + + MC_DefaultHoming + 0 + default homing as defined in the SystemManager encoder parameters + + + MC_AbsSwitch + 1 + not implemented - Absolute Switch homing plus Limit switches + + + MC_LimitSwitch + 2 + not implemented - Homing against Limit switches + + + MC_RefPulse + 3 + not implemented - Homing using encoder Reference Pulse "Zero Mark" + + + MC_Direct + 4 + Static Homing forcing position from user reference + + + MC_Absolute + 5 + not implemented - Static Homing forcing position from absolute encoder + + + MC_Block + 6 + not implemented - Homing against hardware parts blocking movement + + + MC_ForceCalibration + 7 + set the calibration flag without performing any motion or changing the position + + + MC_ResetCalibration + 8 + resets the calibration flag without performing any motion or changing the position + + + + E_EncoderReferenceMode + 32 + UDINT + + ENCODERREFERENCEMODE_DEFAULT + 0 + + + ENCODERREFERENCEMODE_PLCCAM + 1 + + + ENCODERREFERENCEMODE_HARDWARESYNC + 2 + + + ENCODERREFERENCEMODE_HARDWARELATCHPOS + 3 + + + ENCODERREFERENCEMODE_HARDWARELATCHNEG + 4 + + + ENCODERREFERENCEMODE_SOFTWARESYNC + 5 + + + ENCODERREFERENCEMODE_SOFTDRIVELATCHPOS + 6 + + + ENCODERREFERENCEMODE_SOFTDRIVELATCHNEG + 7 + + + ENCODERREFERENCEMODE_APPLICATION + 20 + + + + ST_HomingOptions + 320 + + ClearPositionLag + BOOL + set actual and set position to same value and clear the position lag + 8 + 0 + + + SearchDirection + MC_Direction + 16 + 16 + + 128 + + + + SearchVelocity + LREAL + 64 + 64 + + + SyncDirection + MC_Direction + 16 + 128 + + 128 + + + + SyncVelocity + LREAL + 64 + 192 + + + ReferenceMode + E_EncoderReferenceMode + 32 + 256 + + 0 + + + + + ST_SetPositionOptions + 32 + + ClearPositionLag + BOOL + set actual and set position to same value and clear the position lag + 8 + 0 + + + SelectEncoderIndex + BOOL + selects an encoder with index 0..n explicitly if enabled - selction by EncoderIndex below + 8 + 8 + + + EncoderIndex + UINT + encoder with index 0..n, 0 is first encoder - valid only if SelectEncoderIndex=TRUE + 16 + 16 + + + + _ST_TcNC_SetPosOnTheFly + 256 + + nPosSetType + UDINT + Absolute, Relative - added KSt 2009-01-28 + 32 + 0 + + + nCtrlDWord + UDINT + added KSt 2009-01-28 + 32 + 32 + + + fPreviousActualPos + LREAL + value not used any longer since 2009-01-28 + 64 + 64 + + + fNewActualPos + LREAL + 64 + 128 + + + nReserved + DWORD + + 1 + 2 + + added KSt 2009-01-28 + 64 + 192 + + + + conditionalshow + + + + + MC_SetPosition + 1984 + + Axis + AXIS_REF + Reference to an axis + 32 + 32 + + + ItemType + InOut + + + + + Execute + BOOL + Start setting position in axis + 8 + 64 + + + ItemType + Input + + + + + Position + LREAL + Position unit [u] (Means ‘Distance’ if Mode = RELATIVE) + 64 + 128 + + + ItemType + Input + + + + + Mode + BOOL + RELATIVE =True, ABSOLUTE = False (Default) + 8 + 192 + + + ItemType + Input + + + + + Options + ST_SetPositionOptions + Beckhoff proprietary input + 32 + 208 + + + ItemType + Input + + + + + Done + BOOL + Position has new value + 8 + 240 + + + ItemType + Output + + + + + Busy + BOOL + Shows that the Function Block is not finished + 8 + 248 + + + ItemType + Output + + + + + Error + BOOL + Signals that an error has occurred within the Function Block + 8 + 256 + + + ItemType + Output + + + + + ErrorID + UDINT + Error identification + 32 + 288 + + + ItemType + Output + + + displaymode + hex + + + + + ADSbusy + BOOL + 8 + 320 + + + stSetPos + _ST_TcNC_SetPosOnTheFly + 256 + 384 + + + iState + _E_TcMC_STATES + 16 + 640 + + 100 + + + + fbAdsWrite + ADSWRITE + 1216 + 672 + + + fbOnTrigger + R_TRIG + 64 + 1888 + + + conditionalshow + + + + + + PouType + FunctionBlock + + + + + MC_Home + 7168 + + Axis + AXIS_REF + Reference to an axis + 32 + 32 + + + ItemType + InOut + + + + + Execute + BOOL + 8 + 64 + + + ItemType + Input + + + + + Position + LREAL + 64 + 128 + + 1E+307 + + + + ItemType + Input + + + + + HomingMode + MC_HomingMode + 16 + 192 + + + ItemType + Input + + + + + BufferMode + MC_BufferMode + 16 + 208 + + + ItemType + Input + + + + + Options + ST_HomingOptions + Beckhoff proprietary input + 320 + 256 + + + ItemType + Input + + + + + bCalibrationCam + BOOL + Beckhoff proprietary input + 8 + 576 + + + ItemType + Input + + + + + Done + BOOL + 8 + 584 + + + ItemType + Output + + + + + Busy + BOOL + 8 + 592 + + + ItemType + Output + + + + + Active + BOOL + 8 + 600 + + + ItemType + Output + + + + + CommandAborted + BOOL + 8 + 608 + + + ItemType + Output + + + + + Error + BOOL + 8 + 616 + + + ItemType + Output + + + + + ErrorID + UDINT + 32 + 640 + + + ItemType + Output + + + displaymode + hex + + + + + LastExecutionResult + _ST_FunctionBlockResults + 96 + 672 + + + conditionalshow + + + + + ADSbusy + BOOL + 8 + 768 + + + conditionalshow + + + + + iState + _E_TcMC_STATES + 16 + 784 + + 100 + + + + conditionalshow + + + + + iSubState + INT + 16 + 800 + + + conditionalshow + + + + + fbAdsWriteCmd + ADSWRITE + 1216 + 832 + + + conditionalshow + + + + + fbAdsWriteParameter + ADSWRITE + 1216 + 2048 + + + conditionalshow + + + + + fbAdsReadRefPos + ADSREAD + 1248 + 3264 + + + conditionalshow + + + + + ReferenceFlagValue + UDINT + 32 + 4512 + + + conditionalshow + + + + + fbSetPosition + MC_SetPosition + 1984 + 4544 + + + conditionalshow + + + + + CalibrationValue + LREAL + 64 + 6528 + + + conditionalshow + + + + + SearchDirection + UINT + 16 + 6592 + + + conditionalshow + + + + + SearchVelocity + LREAL + 64 + 6656 + + + conditionalshow + + + + + SyncDirection + UINT + 16 + 6720 + + + conditionalshow + + + + + SyncVelocity + LREAL + 64 + 6784 + + + conditionalshow + + + + + ReferenceMode + E_EncoderReferenceMode + 32 + 6848 + + + conditionalshow + + + + + fbTrigger + R_TRIG + 64 + 6880 + + + conditionalshow + + + + + fbTimeOut + TON + 224 + 6944 + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + FB_WriteParameterInNc_v1_00 + 1504 + + bExecute + BOOL + 8 + 32 + + + ItemType + Input + + + + + nDeviceGroup + UDINT + 16#4000=Axisdata, 16#5000=Encoderdata, 16#6000=Controldata, 16#7000=Drivedata + 32 + 64 + + + ItemType + Input + + + + + nIndexOffset + UDINT + 32 + 96 + + + ItemType + Input + + + + + nData + DWORD + 32 + 128 + + + ItemType + Input + + + + + bBusy + BOOL + 8 + 160 + + + ItemType + Output + + + + + bDone + BOOL + 8 + 168 + + + ItemType + Output + + + + + bError + BOOL + 8 + 176 + + + ItemType + Output + + + + + nErrorId + UDINT + 32 + 192 + + + ItemType + Output + + + + + Axis + AXIS_REF + 32 + 224 + + + ItemType + InOut + + + + + nState + UINT + 16 + 256 + + + fbADSWRITE + ADSWRITE + 1216 + 288 + + + + PouType + FunctionBlock + + + + + FB_WriteFloatParameter + 1536 + + bExecute + BOOL + 8 + 32 + + + ItemType + Input + + + + + nDeviceGroup + UDINT + 16#4000=Axisdata, 16#5000=Encoderdata, 16#6000=Controldata, 16#7000=Drivedata + 32 + 64 + + + ItemType + Input + + + + + nIndexOffset + UDINT + 32 + 96 + + + ItemType + Input + + + + + nData + LREAL + 64 + 128 + + + ItemType + Input + + + + + bBusy + BOOL + 8 + 192 + + + ItemType + Output + + + + + bDone + BOOL + 8 + 200 + + + ItemType + Output + + + + + bError + BOOL + 8 + 208 + + + ItemType + Output + + + + + nErrorId + UDINT + 32 + 224 + + + ItemType + Output + + + + + Axis + AXIS_REF + 32 + 256 + + + ItemType + InOut + + + + + nState + UINT + 16 + 288 + + + fbADSWRITE + ADSWRITE + 1216 + 320 + + + + PouType + FunctionBlock + + + + + FB_HomeWriteNcVelocities + 3456 + + En + BOOL + 8 + 32 + + + ItemType + Input + + + + + bReset + BOOL + 8 + 40 + + + ItemType + Input + + + + + bExecute + BOOL + 8 + 48 + + + ItemType + Input + + + + + fVelocityToCam + LREAL + 64 + 64 + + + ItemType + Input + + + + + fVelocityFromCam + LREAL + 64 + 128 + + + ItemType + Input + + + + + Axis + AXIS_REF + 32 + 192 + + + ItemType + InOut + + + + + EnO + BOOL + 8 + 224 + + + ItemType + Output + + + + + bBusy + BOOL + 8 + 232 + + + ItemType + Output + + + + + bDone + BOOL + 8 + 240 + + + ItemType + Output + + + + + bError + BOOL + 8 + 248 + + + ItemType + Output + + + + + nErrorId + UDINT + 32 + 256 + + + ItemType + Output + + + + + fbExecuteRiseEdge + R_TRIG + 64 + 288 + + + fbWriteVelocityToCam + FB_WriteFloatParameter + 1536 + 384 + + + fbWriteVelocityFromCam + FB_WriteFloatParameter + 1536 + 1920 + + + + PouType + FunctionBlock + + + + + FB_HomeToSwitch + 15744 + + En + BOOL + 8 + 32 + + + ItemType + Input + + + + + bReset + BOOL + 8 + 40 + + + ItemType + Input + + + + + bExecute + BOOL + 8 + 48 + + + ItemType + Input + + + + + bCamSensor + BOOL + 8 + 56 + + + ItemType + Input + + + + + nSearchDirTwoardsCam + MC_Direction + 16 + 64 + + + ItemType + Input + + + + + nSearchDirOffCam + MC_Direction + 16 + 80 + + + ItemType + Input + + + + + fHomePosition + LREAL + 64 + 128 + + + ItemType + Input + + + + + fVelocityToCamNC + LREAL + Velcoity when searching for cam + 64 + 192 + + + ItemType + Input + + + + + fVelocityFromCamNC + LREAL + Velocity after found cam (searching for next signal transition) + 64 + 256 + + + ItemType + Input + + + + + Axis + AXIS_REF + 32 + 320 + + + ItemType + InOut + + + + + EnO + BOOL + 8 + 352 + + + ItemType + Output + + + + + bBusy + BOOL + 8 + 360 + + + ItemType + Output + + + + + bDone + BOOL + 8 + 368 + + + ItemType + Output + + + + + bHomed + BOOL + 8 + 376 + + + ItemType + Output + + + + + bError + BOOL + 8 + 384 + + + ItemType + Output + + + + + nErrorId + UDINT + 32 + 416 + + + ItemType + Output + + + + + fbHome + MC_Home + 7168 + 448 + + + fbWriteHomeDirCamToNC + FB_WriteParameterInNc_v1_00 + 1504 + 7616 + + + fbWriteHomeDirSyncToNC + FB_WriteParameterInNc_v1_00 + 1504 + 9120 + + + fbWriteHomeModeToNC + FB_WriteParameterInNc_v1_00 + 1504 + 10624 + + + fbWriteHomeVelocitiesToNC + FB_HomeWriteNcVelocities + 3456 + 12160 + + + bConfigNCDone + BOOL + 8 + 15616 + + 0 + + + + fbRTrigg + R_TRIG + 64 + 15648 + + + + PouType + FunctionBlock + + + + + FB_HomeDirect + 7424 + + En + BOOL + 8 + 32 + + + ItemType + Input + + + + + bReset + BOOL + 8 + 40 + + + ItemType + Input + + + + + bExecute + BOOL + 8 + 48 + + + ItemType + Input + + + + + fHomePosition + LREAL + 64 + 64 + + + ItemType + Input + + + + + Axis + AXIS_REF + 32 + 128 + + + ItemType + InOut + + + + + EnO + BOOL + 8 + 160 + + + ItemType + Output + + + + + bBusy + BOOL + 8 + 168 + + + ItemType + Output + + + + + bDone + BOOL + 8 + 176 + + + ItemType + Output + + + + + bHomed + BOOL + 8 + 184 + + + ItemType + Output + + + + + bError + BOOL + 8 + 192 + + + ItemType + Output + + + + + nErrorId + UDINT + 32 + 224 + + + ItemType + Output + + + + + fbHome + MC_Home + 7168 + 256 + + + + PouType + FunctionBlock + + + + + FB_ReadParameterInNc_v1_00 + 1536 + + bExecute + BOOL + 8 + 32 + + + ItemType + Input + + + + + nDeviceGroup + UDINT + 16#4000=Axisdata, 16#5000=Encoderdata, 16#6000=Controldata, 16#7000=Drivedata + 32 + 64 + + + ItemType + Input + + + + + nIndexOffset + UDINT + 32 + 96 + + + ItemType + Input + + + + + nData + DWORD + 32 + 128 + + + ItemType + Output + + + + + bBusy + BOOL + 8 + 160 + + + ItemType + Output + + + + + bDone + BOOL + 8 + 168 + + + ItemType + Output + + + + + bError + BOOL + 8 + 176 + + + ItemType + Output + + + + + nErrorId + UDINT + 32 + 192 + + + ItemType + Output + + + + + Axis + AXIS_REF + 32 + 224 + + + ItemType + InOut + + + + + nState + UINT + 16 + 256 + + + fbADSREAD + ADSREAD + 1248 + 288 + + + + PouType + FunctionBlock + + + + + FB_HomeReadSoftLimEnable + 3264 + + En + BOOL + 8 + 32 + + + ItemType + Input + + + + + bReset + BOOL + 8 + 40 + + + ItemType + Input + + + + + bExecute + BOOL + 8 + 48 + + + ItemType + Input + + + + + Axis + AXIS_REF + 32 + 64 + + + ItemType + InOut + + + + + EnO + BOOL + 8 + 96 + + + ItemType + Output + + + + + bBusy + BOOL + 8 + 104 + + + ItemType + Output + + + + + bDone + BOOL + 8 + 112 + + + ItemType + Output + + + + + bError + BOOL + 8 + 120 + + + ItemType + Output + + + + + nErrorId + UDINT + 32 + 128 + + + ItemType + Output + + + + + bSofLimEnableLow + BOOL + 8 + 160 + + 1 + + + + ItemType + Output + + + + + bSofLimEnableHigh + BOOL + 8 + 168 + + 1 + + + + ItemType + Output + + + + + fbReadSoftLimEnableLow + FB_ReadParameterInNc_v1_00 + 1536 + 192 + + + fbReadSoftLimEnableHigh + FB_ReadParameterInNc_v1_00 + 1536 + 1728 + + + + PouType + FunctionBlock + + + + + FB_HomeWriteSoftLimEnable + 3264 + + En + BOOL + 8 + 32 + + + ItemType + Input + + + + + bReset + BOOL + 8 + 40 + + + ItemType + Input + + + + + bExecute + BOOL + 8 + 48 + + + ItemType + Input + + + + + bSofLimEnableLow + BOOL + 8 + 56 + + 1 + + + + ItemType + Input + + + + + bSofLimEnableHigh + BOOL + 8 + 64 + + 1 + + + + ItemType + Input + + + + + Axis + AXIS_REF + 32 + 96 + + + ItemType + InOut + + + + + EnO + BOOL + 8 + 128 + + + ItemType + Output + + + + + bBusy + BOOL + 8 + 136 + + + ItemType + Output + + + + + bDone + BOOL + 8 + 144 + + + ItemType + Output + + + + + bError + BOOL + 8 + 152 + + + ItemType + Output + + + + + nErrorId + UDINT + 32 + 160 + + + ItemType + Output + + + + + fbExecuteRiseEdge + R_TRIG + 64 + 192 + + + fbWriteSoftLimEnableLow + FB_WriteParameterInNc_v1_00 + 1504 + 256 + + + fbWriteSoftLimEnableHigh + FB_WriteParameterInNc_v1_00 + 1504 + 1760 + + + + PouType + FunctionBlock + + + + + FB_ReadFloatParameter + 1600 + + bExecute + BOOL + 8 + 32 + + + ItemType + Input + + + + + nDeviceGroup + UDINT + 16#4000=Axisdata, 16#5000=Encoderdata, 16#6000=Controldata, 16#7000=Drivedata + 32 + 64 + + + ItemType + Input + + + + + nIndexOffset + UDINT + 32 + 96 + + + ItemType + Input + + + + + nData + LREAL + 64 + 128 + + + ItemType + Output + + + + + bBusy + BOOL + 8 + 192 + + + ItemType + Output + + + + + bDone + BOOL + 8 + 200 + + + ItemType + Output + + + + + bError + BOOL + 8 + 208 + + + ItemType + Output + + + + + nErrorId + UDINT + 32 + 224 + + + ItemType + Output + + + + + Axis + AXIS_REF + 32 + 256 + + + ItemType + InOut + + + + + nState + UINT + 16 + 288 + + + fbADSREAD + ADSREAD + 1248 + 320 + + + + PouType + FunctionBlock + + + + + FB_HomeReadNcVelocities + 3520 + + En + BOOL + 8 + 32 + + + ItemType + Input + + + + + bReset + BOOL + 8 + 40 + + + ItemType + Input + + + + + bExecute + BOOL + 8 + 48 + + + ItemType + Input + + + + + Axis + AXIS_REF + 32 + 64 + + + ItemType + InOut + + + + + EnO + BOOL + 8 + 96 + + + ItemType + Output + + + + + bBusy + BOOL + 8 + 104 + + + ItemType + Output + + + + + bDone + BOOL + 8 + 112 + + + ItemType + Output + + + + + bError + BOOL + 8 + 120 + + + ItemType + Output + + + + + nErrorId + UDINT + 32 + 128 + + + ItemType + Output + + + + + fVelocityToCam + LREAL + 64 + 192 + + + ItemType + Output + + + + + fVelocityFromCam + LREAL + 64 + 256 + + + ItemType + Output + + + + + fbReadVelocityToCam + FB_ReadFloatParameter + 1600 + 320 + + + fbReadVelocityFromCam + FB_ReadFloatParameter + 1600 + 1920 + + + + PouType + FunctionBlock + + + + + FB_HomePrepare + 17728 + + En + BOOL + 8 + 32 + + + ItemType + Input + + + + + bReset + BOOL + 8 + 40 + + + ItemType + Input + + + + + bExecute + BOOL + 8 + 48 + + + ItemType + Input + + + + + nCmdData + UINT + 16 + 64 + + + ItemType + Input + + + + + Axis + AXIS_REF + 32 + 96 + + + ItemType + InOut + + + + + EnO + BOOL + 8 + 128 + + + ItemType + Output + + + + + bBusy + BOOL + 8 + 136 + + + ItemType + Output + + + + + bDone + BOOL + 8 + 144 + + + ItemType + Output + + + + + bError + BOOL + 8 + 152 + + + ItemType + Output + + + + + nErrorId + UDINT + 32 + 160 + + + ItemType + Output + + + + + bSofLimEnableLowOriginal + BOOL + 8 + 192 + + 1 + + + + ItemType + Output + + + + + bSofLimEnableHighOriginal + BOOL + 8 + 200 + + 1 + + + + ItemType + Output + + + + + fVelocityToCam + LREAL + 64 + 256 + + 0 + + + + ItemType + Output + + + + + fVelocityFromCam + LREAL + 64 + 320 + + 0 + + + + ItemType + Output + + + + + fbHomeReadSoftLimEnable + FB_HomeReadSoftLimEnable + 3264 + 384 + + + fbHomeDisableSoftLimEnable + FB_HomeWriteSoftLimEnable + 3264 + 3648 + + + fbHomeReadNCVelocities + FB_HomeReadNcVelocities + 3520 + 6912 + + + fbHomeResetCalibrationFlag + MC_Home + Only used for reset of calibration flag + 7168 + 10432 + + + fbExecuteRiseEdge + R_TRIG + 64 + 17600 + + + bExecuteReadNC + BOOL + 8 + 17664 + + 0 + + + + bExecuteWriteNC + BOOL + 8 + 17672 + + 0 + + + + nState + INT + 16 + 17680 + + 0 + + + + + PouType + FunctionBlock + + + + + FB_HomeFinish + 3552 + + En + BOOL + 8 + 32 + + + ItemType + Input + + + + + bReset + BOOL + 8 + 40 + + + ItemType + Input + + + + + bExecute + BOOL + 8 + 48 + + + ItemType + Input + + + + + nCmdData + UINT + 16 + 64 + + + ItemType + Input + + + + + bSofLimEnableLow + BOOL + 8 + 80 + + 1 + + + + ItemType + Input + + + + + bSofLimEnableHigh + BOOL + 8 + 88 + + 1 + + + + ItemType + Input + + + + + Axis + AXIS_REF + 32 + 96 + + + ItemType + InOut + + + + + EnO + BOOL + 8 + 128 + + + ItemType + Output + + + + + bBusy + BOOL + 8 + 136 + + + ItemType + Output + + + + + bDone + BOOL + 8 + 144 + + + ItemType + Output + + + + + bError + BOOL + 8 + 152 + + + ItemType + Output + + + + + nErrorId + UDINT + 32 + 160 + + + ItemType + Output + + + + + fbHomewriteSoftLimEnable + FB_HomeWriteSoftLimEnable + 3264 + 192 + + + fbExecuteRiseEdge + R_TRIG + 64 + 3456 + + + bExecuteWriteNC + BOOL + 8 + 3520 + + 0 + + + + nState + INT + 16 + 3536 + + 0 + + + + + PouType + FunctionBlock + + + + + FB_HomeVirtual + 53696 + + En + BOOL + 8 + 32 + + + ItemType + Input + + + + + bReset + BOOL + 8 + 40 + + + ItemType + Input + + + + + bExecute + BOOL + 8 + 48 + + + ItemType + Input + + + + + nCmdData + UINT + 16 + 64 + + + ItemType + Input + + + + + bLimitFwd + BOOL + 8 + 80 + + + ItemType + Input + + + + + bLimitBwd + BOOL + 8 + 88 + + + ItemType + Input + + + + + bHomeSensor + BOOL + 8 + 96 + + + ItemType + Input + + + + + fHomePosition + LREAL + 64 + 128 + + + ItemType + Input + + + + + nHomeRevOffset + UINT + 16 + 192 + + + ItemType + Input + + + + + Axis + AXIS_REF + 32 + 224 + + + ItemType + InOut + + + + + EnO + BOOL + 8 + 256 + + + ItemType + Output + + + + + bBusy + BOOL + 8 + 264 + + + ItemType + Output + + + + + bDone + BOOL + 8 + 272 + + + ItemType + Output + + + + + bHomed + BOOL + 8 + 280 + + + ItemType + Output + + + + + bError + BOOL + 8 + 288 + + + ItemType + Output + + + + + nErrorId + UDINT + 32 + 320 + + + ItemType + Output + + + + + fbHomeToSwitch + FB_HomeToSwitch + 15744 + 384 + + + fbHomeDirect + FB_HomeDirect + Only used for direct homing (set of position) + 7424 + 16128 + + + fbMoveVelocity + MC_MoveVelocity + 8704 + 23552 + + + fbHomePrepare + FB_HomePrepare + 17728 + 32256 + + + fbHomeFinish + FB_HomeFinish + 3552 + 49984 + + + fbExecuteRiseEdge + R_TRIG + 64 + 53536 + + + nHomingState + INT + 16 + 53600 + + 0 + + + + bExecuteHomeToSwitch + BOOL + 8 + 53616 + + 0 + + + + bExecuteMoveVelocity + BOOL + 8 + 53624 + + 0 + + + + bExecutePrepare + BOOL + 8 + 53632 + + 0 + + + + bExecuteFinish + BOOL + 8 + 53640 + + 0 + + + + bExecuteHomeDirect + BOOL + 8 + 53648 + + + nCmdDataLocal + UINT + Ensure that nCmdData is not changed during sequence + 16 + 53664 + + + bSequenceReady + BOOL + 8 + 53680 + + 1 + + + + bRestoreNCDataNeeded + BOOL + 8 + 53688 + + 0 + + + + + PouType + FunctionBlock + + + + + ST_GearInDynOptions + 8 + + CCVmode + BOOL + constant circumference velocity mode + 8 + 0 + + + + _ST_TcNC_CoupleSlave + 384 + + nSlaveType + UDINT + 32 + 0 + + + nMasterAxisId + UDINT + 32 + 32 + + + nMasterSubIdx + UDINT + 32 + 64 + + + nSlaveSubIdx + UDINT + 32 + 96 + + + fCoupleParam1 + LREAL + 64 + 128 + + + fCoupleParam2 + LREAL + 64 + 192 + + + fCoupleParam3 + LREAL + 64 + 256 + + + fCoupleParam4 + LREAL + 64 + 320 + + + + conditionalshow + + + + + MC_GearInDyn + 4032 + + Master + AXIS_REF + Reference to an axis + 32 + 32 + + + ItemType + InOut + + + + + Slave + AXIS_REF + Reference to an axis + 32 + 64 + + + ItemType + InOut + + + + + Enable + BOOL + 8 + 96 + + + ItemType + Input + + + + + GearRatio + LREAL + 64 + 128 + + 1 + + + + ItemType + Input + + + + + Acceleration + LREAL + 64 + 192 + + + ItemType + Input + + + + + Deceleration + LREAL + not used + 64 + 256 + + + ItemType + Input + + + + + Jerk + LREAL + not used + 64 + 320 + + + ItemType + Input + + + + + BufferMode + MC_BufferMode + 16 + 384 + + + ItemType + Input + + + + + Options + ST_GearInDynOptions + optional parameters + 8 + 400 + + + ItemType + Input + + + + + InGear + BOOL + 8 + 408 + + + ItemType + Output + + + + + Busy + BOOL + 8 + 416 + + + ItemType + Output + + + + + Active + BOOL + 8 + 424 + + + ItemType + Output + + + + + CommandAborted + BOOL + 8 + 432 + + + ItemType + Output + + + + + Error + BOOL + 8 + 440 + + + ItemType + Output + + + + + ErrorID + UDINT + 32 + 448 + + + ItemType + Output + + + displaymode + hex + + + + + LastExecutionResult + _ST_FunctionBlockResults + 96 + 480 + + + ADSbusy + BOOL + 8 + 576 + + + iState + _E_TcMC_STATES + 16 + 592 + + 100 + + + + iSubState + INT + 16 + 608 + + + fbAdsWrite + ADSWRITE + 1216 + 640 + + + fbAdsRead + ADSREAD + 1248 + 1856 + + + sCouple + _ST_TcNC_CoupleSlave + 384 + 3136 + + + v_max + LREAL + 64 + 3520 + + + pa_limit + LREAL + 64 + 3584 + + + WasInGear + BOOL + 8 + 3648 + + + iAcceleration + LREAL + 64 + 3712 + + + conditionalshow + + + + + TimerStateFeedback + TON + 224 + 3776 + + + conditionalshow + + + + + + PouType + FunctionBlock + + + + + ST_GearOutOptions + 8 + + reserved + BOOL + 8 + 0 + + + conditionalshow + + + + + + MC_GearOut + 1792 + + Slave + AXIS_REF + Reference to an axis + 32 + 32 + + + ItemType + InOut + + + + + Execute + BOOL + 8 + 64 + + + ItemType + Input + + + + + Options + ST_GearOutOptions + optional parameters + 8 + 72 + + + ItemType + Input + + + + + Done + BOOL + 8 + 80 + + + ItemType + Output + + + + + Busy + BOOL + 8 + 88 + + + ItemType + Output + + + + + Error + BOOL + 8 + 96 + + + ItemType + Output + + + + + ErrorID + UDINT + 32 + 128 + + + ItemType + Output + + + displaymode + hex + + + + + LastExecutionResult + _ST_FunctionBlockResults + 96 + 160 + + + ADSbusy + BOOL + 8 + 256 + + + iState + _E_TcMC_STATES + 16 + 272 + + 100 + + + + fbAdsWrite + ADSWRITE + 1216 + 288 + + + fbOnTrigger + R_TRIG + 64 + 1504 + + + conditionalshow + + + + + TimerStateFeedback + TON + 224 + 1568 + + + conditionalshow + + + + + + PouType + FunctionBlock + + + + + FB_DriveVirtual + 162688 + + sVersion + STRING(80) + 648 + 32 + + 1.0.3 + + + + En + BOOL + 8 + 680 + + + ItemType + Input + + + + + bEnable + BOOL + 8 + 688 + + + ItemType + Input + + + + + bReset + BOOL + 8 + 696 + + + ItemType + Input + + + + + bExecute + BOOL + 8 + 704 + + + ItemType + Input + + + + + nCommand + UINT + // nCommandLocal... // 0 = Jog // 1 = MoveVelocity // 2 = MoveRelative // 3 = MoveAbsolut // 4 = MoveModulo // 10 = Homing -// 20 = SuperInp >>>ToBe -// 30 = Gear]]>16720ItemTypeInputnCmdDataUINT16736ItemTypeInputfVelocityLREAL64768ItemTypeInputfPositionLREAL64832ItemTypeInputfAccelerationLREAL64896ItemTypeInputfDecelerationLREAL64960ItemTypeInputbJogFwdBOOL81024ItemTypeInputbJogBwdBOOL81032ItemTypeInputbLimitFwdBOOL81040ItemTypeInputbLimitBwdBOOL81048ItemTypeInputfOverrideLREAL641088100ItemTypeInputbHomeSensorBOOL81152ItemTypeInputfHomePositionLREAL641216ItemTypeInputnHomeRevOffsetUINT161280ItemTypeInputMasterAxisAXIS_REF90241344ItemTypeInputbPowerSelfBOOL810368ItemTypeInputEnOBOOL810376ItemTypeOutputbEnabledBOOL810384ItemTypeOutputbBusyBOOL810392ItemTypeOutputbDoneBOOL810400ItemTypeOutputbErrorBOOL810408ItemTypeOutputbHomedBOOL810416ItemTypeOutputnErrorIdUDINT3210432ItemTypeOutputnMotionAxisIDUDINT32104640ItemTypeOutputStatusST_AxisStatus76810496ItemTypeOutputfActVelocityLREAL6411264ItemTypeOutputfActPositionLREAL6411328ItemTypeOutputfActDiffLREAL6411392ItemTypeOutputsErrorMessageSTRING(80)64811456ItemTypeOutputAxisAXIS_REF3212128ItemTypeInOutnCommandLocalUINT1612160nCmdDataLocalUINT1612176bFirstScanBOOL8121921fbResetMC_Reset163212224fbPowerMC_Power76813888fbHaltMC_Halt857614656fbJogMC_Jog4403223232fbMoveVelocityMC_MoveVelocity870467264fbMoveRelativeMC_MoveRelative876875968fbMoveAbsoluteMC_MoveAbsolute876884736fbMoveModuloMC_MoveModulo883293504fbHomeVirtualFB_HomeVirtual53696102336fbGearInDynMC_GearInDyn4032156032fbGearOutMC_GearOut1792160064fbExecuteRiseEdgeR_TRIG64161856stAxisStatusDUT_AxisStatus_v0_01768161920PouTypeFunctionBlockFB_MotionHoming46656stMotionStageDUT_MotionStage3232ItemTypeInOutbExecuteBOOL864ItemTypeInputbBusyBOOL872ItemTypeOutputbDoneBOOL880ItemTypeOutputbErrorBOOL888ItemTypeOutputnErrorIDUDINT3296ItemTypeOutputfbSetPosMC_SetPosition1984128fbJogMC_Jog440322112rtExecR_TRIG6446144ftExecF_TRIG6446208nHomeStateMachineINT16462720nStateAfterStopINT1646288nMovesINT1646304bFirstDirectionBOOL846320bAtHomeBOOL846328bMoveBOOL846336nErrCountINT1646352bInterruptedBOOL846368IDLEINT16463840NEXT_MOVEINT16464001CHECK_FWDINT16464162CHECK_BWDINT16464323FINAL_MOVEINT16464484FINAL_SETPOSINT16464645ERRORINT16464806WAIT_STOPINT16464967FWD_STARTLREAL + 16 + 720 + + + ItemType + Input + + + + + nCmdData + UINT + 16 + 736 + + + ItemType + Input + + + + + fVelocity + LREAL + 64 + 768 + + + ItemType + Input + + + + + fPosition + LREAL + 64 + 832 + + + ItemType + Input + + + + + fAcceleration + LREAL + 64 + 896 + + + ItemType + Input + + + + + fDeceleration + LREAL + 64 + 960 + + + ItemType + Input + + + + + bJogFwd + BOOL + 8 + 1024 + + + ItemType + Input + + + + + bJogBwd + BOOL + 8 + 1032 + + + ItemType + Input + + + + + bLimitFwd + BOOL + 8 + 1040 + + + ItemType + Input + + + + + bLimitBwd + BOOL + 8 + 1048 + + + ItemType + Input + + + + + fOverride + LREAL + 64 + 1088 + + 100 + + + + ItemType + Input + + + + + bHomeSensor + BOOL + 8 + 1152 + + + ItemType + Input + + + + + fHomePosition + LREAL + 64 + 1216 + + + ItemType + Input + + + + + nHomeRevOffset + UINT + 16 + 1280 + + + ItemType + Input + + + + + MasterAxis + AXIS_REF + 9024 + 1344 + + + ItemType + Input + + + + + bPowerSelf + BOOL + 8 + 10368 + + + ItemType + Input + + + + + EnO + BOOL + 8 + 10376 + + + ItemType + Output + + + + + bEnabled + BOOL + 8 + 10384 + + + ItemType + Output + + + + + bBusy + BOOL + 8 + 10392 + + + ItemType + Output + + + + + bDone + BOOL + 8 + 10400 + + + ItemType + Output + + + + + bError + BOOL + 8 + 10408 + + + ItemType + Output + + + + + bHomed + BOOL + 8 + 10416 + + + ItemType + Output + + + + + nErrorId + UDINT + 32 + 10432 + + + ItemType + Output + + + + + nMotionAxisID + UDINT + Axis id in Motion (NC) + 32 + 10464 + + 0 + + + + ItemType + Output + + + + + Status + ST_AxisStatus + 768 + 10496 + + + ItemType + Output + + + + + fActVelocity + LREAL + 64 + 11264 + + + ItemType + Output + + + + + fActPosition + LREAL + 64 + 11328 + + + ItemType + Output + + + + + fActDiff + LREAL + 64 + 11392 + + + ItemType + Output + + + + + sErrorMessage + STRING(80) + 648 + 11456 + + + ItemType + Output + + + + + Axis + AXIS_REF + 32 + 12128 + + + ItemType + InOut + + + + + nCommandLocal + UINT + 16 + 12160 + + + nCmdDataLocal + UINT + 16 + 12176 + + + bFirstScan + BOOL + 8 + 12192 + + 1 + + + + fbReset + MC_Reset + 1632 + 12224 + + + fbPower + MC_Power + 768 + 13888 + + + fbHalt + MC_Halt + 8576 + 14656 + + + fbJog + MC_Jog + 44032 + 23232 + + + fbMoveVelocity + MC_MoveVelocity + 8704 + 67264 + + + fbMoveRelative + MC_MoveRelative + 8768 + 75968 + + + fbMoveAbsolute + MC_MoveAbsolute + 8768 + 84736 + + + fbMoveModulo + MC_MoveModulo + 8832 + 93504 + + + fbHomeVirtual + FB_HomeVirtual + 53696 + 102336 + + + fbGearInDyn + MC_GearInDyn + 4032 + 156032 + + + fbGearOut + MC_GearOut + 1792 + 160064 + + + fbExecuteRiseEdge + R_TRIG + 64 + 161856 + + + stAxisStatus + DUT_AxisStatus_v0_01 + 768 + 161920 + + + + PouType + FunctionBlock + + + + + FB_MotionHoming + 46656 + + stMotionStage + DUT_MotionStage + 32 + 32 + + + ItemType + InOut + + + + + bExecute + BOOL + 8 + 64 + + + ItemType + Input + + + + + bBusy + BOOL + 8 + 72 + + + ItemType + Output + + + + + bDone + BOOL + 8 + 80 + + + ItemType + Output + + + + + bError + BOOL + 8 + 88 + + + ItemType + Output + + + + + nErrorID + UDINT + 32 + 96 + + + ItemType + Output + + + + + fbSetPos + MC_SetPosition + 1984 + 128 + + + fbJog + MC_Jog + 44032 + 2112 + + + rtExec + R_TRIG + 64 + 46144 + + + ftExec + F_TRIG + 64 + 46208 + + + nHomeStateMachine + INT + 16 + 46272 + + 0 + + + + nStateAfterStop + INT + 16 + 46288 + + + nMoves + INT + 16 + 46304 + + + bFirstDirection + BOOL + 8 + 46320 + + + bAtHome + BOOL + 8 + 46328 + + + bMove + BOOL + 8 + 46336 + + + nErrCount + INT + 16 + 46352 + + + bInterrupted + BOOL + 8 + 46368 + + + IDLE + INT + 16 + 46384 + + 0 + + + + NEXT_MOVE + INT + 16 + 46400 + + 1 + + + + CHECK_FWD + INT + 16 + 46416 + + 2 + + + + CHECK_BWD + INT + 16 + 46432 + + 3 + + + + FINAL_MOVE + INT + 16 + 46448 + + 4 + + + + FINAL_SETPOS + INT + 16 + 46464 + + 5 + + + + ERROR + INT + 16 + 46480 + + 6 + + + + WAIT_STOP + INT + 16 + 46496 + + 7 + + + + FWD_START + LREAL + This is a simpler way of disabling the soft limits that ends up being really obvious if something has gone wrong. If you turn the limits off/on, not only do you need to keep track of if you had soft limits set, but you need to always restore this properly or risk some issue. Instead, I set position to a ridiculous value that can always move forward or backward. If this gets stuck for any reason it's very clear that something has gone wrong, rather than a silent failure of the soft limit marks. - ]]>6446528-99999999BWD_STARTLREAL644659299999999PouTypeFunctionBlockFB_EncSaveRestore2880stMotionStageDUT_MotionStage3232ItemTypeInOutbEnableBOOL864ItemTypeInputfbSetPosMC_SetPosition1984128timerTON2242112bInitBOOL82336bLoadBOOL82344nLatchErrorUDINT322368bEncErrorBOOL82400tRetryDelayTIME3224321000nMaxRetriesUINT16246410nCurrTriesUINT1624800bWaitRetryBOOL82496tonRetryTON2242528bSavedBOOL82752TcPersistentfPositionLREAL642816TcPersistentPouTypeFunctionBlockFB_LogMotionError83136stMotionStageDUT_MotionStage3232ItemTypeInOutbEnableBOOL864ItemTypeInputfbLogMessageFB_LogMessage81984128rtNewErrorR_TRIG6482112bChangedErrorBOOL882176sPrevErrSTRING(80)64882184fbJsonFB_JsonSaxWriter25682848PouTypeFunctionBlockFB_SetEnables64stMotionStageDUT_MotionStage3232ItemTypeInOutPouTypeFunctionBlockFB_EncoderValue64stMotionStageDUT_MotionStage3232ItemTypeInOutPouTypeFunctionBlockMC_ReadParameterSet1600ParameterST_AxisParameterSet3232ItemTypeInOutAxisAXIS_REF3264ItemTypeInOutExecuteBOOL896ItemTypeInputDoneBOOL8104ItemTypeOutputBusyBOOL8112ItemTypeOutputErrorBOOL8120ItemTypeOutputErrorIDUDINT32128ItemTypeOutputdisplaymodehexTriggerExecuteR_TRIG64160state_E_TcMC_STATES16224100fbAdsReadADSREAD1248256SizeofPayloadDataUDINT321504SizeofPayloadData64ULINT641536ActGetSizeOfParameterSetPouTypeFunctionBlockFB_MotionStageNCParams2112stMotionStageDUT_MotionStage3232ItemTypeInOutbEnableBOOL864ItemTypeInputtRefreshDelayTIME3296ItemTypeInputbErrorBOOL8128ItemTypeOutputmcReadParamsMC_ReadParameterSet1600192timerTON2241792bExecuteBOOL820161nLatchErrIdUDINT322048PouTypeFunctionBlockFB_MotionStage298304stMotionStageDUT_MotionStage3232ItemTypeInOutfbDriveVirtualFB_DriveVirtual16268864fbMotionHomeFB_MotionHoming46656162752fbSaveRestoreFB_EncSaveRestore2880209408fbLogErrorFB_LogMotionError83136212288bExecuteBOOL8295424bExecMoveBOOL8295432bExecHomeBOOL8295440bFwdHitBOOL8295448bBwdHitBOOL8295456ftExecF_TRIG64295488rtExecR_TRIG64295552rtUserExecR_TRIG64295616rtTargetR_TRIG64295680rtHomedR_TRIG64295744fbSetEnablesFB_SetEnables64295808bPosGoalBOOL8295872bNegGoalBOOL8295880fbEncoderValueFB_EncoderValue64295904fbNCParamsFB_MotionStageNCParams2112296000bNewMoveReqBOOL8298112bPrepareDisableBOOL8298120bMoveCmdBOOL8298128rtMoveCmdShortcutR_TRIG64298144rtHomeCmdShortcutR_TRIG64298208PouTypeFunctionBlockEL5042_Status0ST_RenishawAbsEnc128CountULINT640TcAddressTypeInputStatusEL5042_Status064RefULINT6464FB_GantryDiffVirtualLimitSwitch512PEncST_RenishawAbsEnc12864ItemTypeInputSEncST_RenishawAbsEnc128192ItemTypeInputGantDiffTolLINT64320ItemTypeInputPLimFwdBOOL8384ItemTypeOutputPLimBwdBOOL8392ItemTypeOutputSLimFwdBOOL8400ItemTypeOutputSLimBwdBOOL8408ItemTypeOutputGantryDiffLINT64448PouTypeFunctionBlock_E_TcNC_SlaveTypes16INTTCNC_SLAVETYPE_LINEAR1TCNC_SLAVETYPE_FLYINGSAW_ONVELOCITY2TCNC_SLAVETYPE_FLYINGSAW_ONPOSITION3TCNC_SLAVETYPE_FLYINGSAW_QUADRATIC4TCNC_SLAVETYPE_SYNCHRONIZING_ONVELO5TCNC_SLAVETYPE_SYNCHRONIZING_ONPOS6TCNC_SLAVETYPE_SYNCJERKSETTER_ONVELO7TCNC_SLAVETYPE_TABULAR10TCNC_SLAVETYPE_MULTITABULAR11TCNC_SLAVETYPE_FLYINGMODULO_LINEAR12TCNC_SLAVETYPE_MOTIONFUNCTIONTABULAR13TCNC_SLAVETYPE_UNIVERSALTABULAR14TCNC_SLAVETYPE_LINEAR_CYCLICCHANGES_RAMP15TCNC_SLAVETYPE_BILINEAR16TCNC_SLAVETYPE_LINEAR_MULTIMASTER17TCNC_SLAVETYPE_CONST_SURFACEVELO_RAMP18ST_GearInOptions16SlaveType_E_TcNC_SlaveTypes160MC_GearIn6656MasterAXIS_REF3232ItemTypeInOutSlaveAXIS_REF3264ItemTypeInOutExecuteBOOL896ItemTypeInputRatioNumeratorLREAL641281ItemTypeInputRatioDenominatorUINT161921ItemTypeInputAccelerationLREAL64256ItemTypeInputDecelerationLREAL64320ItemTypeInputJerkLREAL64384ItemTypeInputBufferModeMC_BufferMode16448ItemTypeInputOptionsST_GearInOptions16464ItemTypeInputInGearBOOL8480ItemTypeOutputBusyBOOL8488ItemTypeOutputActiveBOOL8496ItemTypeOutputCommandAbortedBOOL8504ItemTypeOutputErrorBOOL8512ItemTypeOutputErrorIDUDINT32544ItemTypeOutputdisplaymodehexLastExecutionResult_ST_FunctionBlockResults96576ADSbusyBOOL8672iState_E_TcMC_STATES16688100fbAdsWriteADSWRITE1216704sCouple_ST_TcNC_CoupleSlave3841920fbOptGearInDynMC_GearInDyn40322304fbOnTriggerR_TRIG646336conditionalshowTimerStateFeedbackTON2246400conditionalshowActGearInDynWriteGearRatioPouTypeFunctionBlockFB_GantryAutoCoupling9472nGantryTolLINT6464ItemTypeInputbGantryAlreadyCoupledBOOL8128ItemTypeOutputMasterDUT_MotionStage32160ItemTypeInOutMasterEncST_RenishawAbsEnc32192ItemTypeInOutSlaveDUT_MotionStage32224ItemTypeInOutSlaveEncST_RenishawAbsEnc32256ItemTypeInOutbExecuteCoupleBOOL32288ItemTypeInOutbExecuteDecoupleBOOL32320ItemTypeInOutgantry_diff_limitFB_GantryDiffVirtualLimitSwitch512384coupleMC_GearIn6656896decoupleMC_GearOut17927552bInitCompleteBOOL89344fbSetEnablesFB_SetEnables649376PouTypeFunctionBlockFB_RunHOMS20416nYupEncRefULINT6464ItemTypeInputnYdwnEncRefULINT64128ItemTypeInputnXupEncRefULINT64192ItemTypeInputnXdwnEncRefULINT64256ItemTypeInputnGantryTolYLINT6432050000ItemTypeInputnGantryTolXLINT6438450000ItemTypeInputbGantryAlreadyCoupledYBOOL8448ItemTypeOutputbGantryAlreadyCoupledXBOOL8456ItemTypeOutputnCurrGantryYLINT64512ItemTypeOutputnCurrGantryXLINT64576ItemTypeOutputstYupDUT_MotionStage32640ItemTypeInOutstYdwnDUT_MotionStage32672ItemTypeInOutstXupDUT_MotionStage32704ItemTypeInOutstXdwnDUT_MotionStage32736ItemTypeInOutstPitchDUT_MotionStage32768ItemTypeInOutbExecuteCoupleYBOOL32800ItemTypeInOutbExecuteCoupleXBOOL32832ItemTypeInOutbExecuteDecoupleYBOOL32864ItemTypeInOutbExecuteDecoupleXBOOL32896ItemTypeInOutbSTOEnable1BOOL8928TcAddressTypeInputbSTOEnable2BOOL8936TcAddressTypeInputstYupEncST_RenishawAbsEnc128960TcAddressTypeInputstYdwnEncST_RenishawAbsEnc1281088TcAddressTypeInputstXupEncST_RenishawAbsEnc1281216TcAddressTypeInputstXdwnEncST_RenishawAbsEnc1281344TcAddressTypeInputfbAutoCoupleYFB_GantryAutoCoupling94721472fbAutoCoupleXFB_GantryAutoCoupling947210944PouTypeFunctionBlockDUT_HOMS20672fbRunHOMSFB_RunHOMS204160bExecuteCoupleYBOOL820416pytmc + + 64 + 46528 + + -99999999 + + + + BWD_START + LREAL + 64 + 46592 + + 99999999 + + + + + PouType + FunctionBlock + + + + + FB_EncSaveRestore + 2880 + + stMotionStage + DUT_MotionStage + 32 + 32 + + + ItemType + InOut + + + + + bEnable + BOOL + 8 + 64 + + + ItemType + Input + + + + + fbSetPos + MC_SetPosition + 1984 + 128 + + + timer + TON + 224 + 2112 + + + bInit + BOOL + 8 + 2336 + + + bLoad + BOOL + 8 + 2344 + + + nLatchError + UDINT + 32 + 2368 + + + bEncError + BOOL + 8 + 2400 + + + tRetryDelay + TIME + 32 + 2432 + + 1000 + + + + nMaxRetries + UINT + 16 + 2464 + + 10 + + + + nCurrTries + UINT + 16 + 2480 + + 0 + + + + bWaitRetry + BOOL + 8 + 2496 + + + tonRetry + TON + 224 + 2528 + + + bSaved + BOOL + 8 + 2752 + + + TcPersistent + + + + + fPosition + LREAL + 64 + 2816 + + + TcPersistent + + + + + + PouType + FunctionBlock + + + + + FB_LogMotionError + 83136 + + stMotionStage + DUT_MotionStage + 32 + 32 + + + ItemType + InOut + + + + + bEnable + BOOL + 8 + 64 + + + ItemType + Input + + + + + fbLogMessage + FB_LogMessage + 81984 + 128 + + + rtNewError + R_TRIG + 64 + 82112 + + + bChangedError + BOOL + 8 + 82176 + + + sPrevErr + STRING(80) + 648 + 82184 + + + fbJson + FB_JsonSaxWriter + 256 + 82848 + + + + PouType + FunctionBlock + + + + + FB_SetEnables + 64 + + stMotionStage + DUT_MotionStage + 32 + 32 + + + ItemType + InOut + + + + + + PouType + FunctionBlock + + + + + FB_EncoderValue + 64 + + stMotionStage + DUT_MotionStage + 32 + 32 + + + ItemType + InOut + + + + + + PouType + FunctionBlock + + + + + MC_ReadParameterSet + 1600 + + Parameter + ST_AxisParameterSet + 32 + 32 + + + ItemType + InOut + + + + + Axis + AXIS_REF + Reference to an axis + 32 + 64 + + + ItemType + InOut + + + + + Execute + BOOL + 8 + 96 + + + ItemType + Input + + + + + Done + BOOL + 8 + 104 + + + ItemType + Output + + + + + Busy + BOOL + 8 + 112 + + + ItemType + Output + + + + + Error + BOOL + 8 + 120 + + + ItemType + Output + + + + + ErrorID + UDINT + 32 + 128 + + + ItemType + Output + + + displaymode + hex + + + + + TriggerExecute + R_TRIG + 64 + 160 + + + state + _E_TcMC_STATES + 16 + 224 + + 100 + + + + fbAdsRead + ADSREAD + 1248 + 256 + + + SizeofPayloadData + UDINT + 32 + 1504 + + + SizeofPayloadData64 + ULINT + 64 + 1536 + + + ActGetSizeOfParameterSet + + + + PouType + FunctionBlock + + + + + FB_MotionStageNCParams + 2112 + + stMotionStage + DUT_MotionStage + 32 + 32 + + + ItemType + InOut + + + + + bEnable + BOOL + 8 + 64 + + + ItemType + Input + + + + + tRefreshDelay + TIME + 32 + 96 + + + ItemType + Input + + + + + bError + BOOL + 8 + 128 + + + ItemType + Output + + + + + mcReadParams + MC_ReadParameterSet + 1600 + 192 + + + timer + TON + 224 + 1792 + + + bExecute + BOOL + 8 + 2016 + + 1 + + + + nLatchErrId + UDINT + 32 + 2048 + + + + PouType + FunctionBlock + + + + + FB_MotionStage + 298304 + + stMotionStage + DUT_MotionStage + 32 + 32 + + + ItemType + InOut + + + + + fbDriveVirtual + FB_DriveVirtual + 162688 + 64 + + + fbMotionHome + FB_MotionHoming + 46656 + 162752 + + + fbSaveRestore + FB_EncSaveRestore + 2880 + 209408 + + + fbLogError + FB_LogMotionError + 83136 + 212288 + + + bExecute + BOOL + 8 + 295424 + + + bExecMove + BOOL + 8 + 295432 + + + bExecHome + BOOL + 8 + 295440 + + + bFwdHit + BOOL + 8 + 295448 + + + bBwdHit + BOOL + 8 + 295456 + + + ftExec + F_TRIG + 64 + 295488 + + + rtExec + R_TRIG + 64 + 295552 + + + rtUserExec + R_TRIG + 64 + 295616 + + + rtTarget + R_TRIG + 64 + 295680 + + + rtHomed + R_TRIG + 64 + 295744 + + + fbSetEnables + FB_SetEnables + 64 + 295808 + + + bPosGoal + BOOL + 8 + 295872 + + + bNegGoal + BOOL + 8 + 295880 + + + fbEncoderValue + FB_EncoderValue + 64 + 295904 + + + fbNCParams + FB_MotionStageNCParams + 2112 + 296000 + + + bNewMoveReq + BOOL + 8 + 298112 + + + bPrepareDisable + BOOL + 8 + 298120 + + + bMoveCmd + BOOL + 8 + 298128 + + + rtMoveCmdShortcut + R_TRIG + 64 + 298144 + + + rtHomeCmdShortcut + R_TRIG + 64 + 298208 + + + + PouType + FunctionBlock + + + + + EL5042_Status + 0 + + + ST_RenishawAbsEnc + Renishaw BiSS-C absolute encoder used with an EL5042 + 128 + + Count + ULINT + Connect to encoder "Position" input + 64 + 0 + + + TcAddressType + Input + + + + + Status + EL5042_Status + Status struct placeholder + 0 + 64 + + + Ref + ULINT + Encoder zero position (useful for aligned position with gantries) + 64 + 64 + + + + FB_GantryDiffVirtualLimitSwitch + 512 + + PEnc + ST_RenishawAbsEnc + Primary axis encoder (usually the upstream one) + 128 + 64 + + + ItemType + Input + + + + + SEnc + ST_RenishawAbsEnc + Secondary axis encoder (couples to the primary) + 128 + 192 + + + ItemType + Input + + + + + GantDiffTol + LINT + Gantry differenace tolerance in encoder counts + 64 + 320 + + + ItemType + Input + + + + + PLimFwd + BOOL + Primary axis forward direction enable + 8 + 384 + + + ItemType + Output + + + + + PLimBwd + BOOL + Primary axis reverse direction enable + 8 + 392 + + + ItemType + Output + + + + + SLimFwd + BOOL + Secondary axis forward direction enable + 8 + 400 + + + ItemType + Output + + + + + SLimBwd + BOOL + Secondary axis reverse direction enable + 8 + 408 + + + ItemType + Output + + + + + GantryDiff + LINT + 64 + 448 + + + + PouType + FunctionBlock + + + + + _E_TcNC_SlaveTypes + 16 + INT + + TCNC_SLAVETYPE_LINEAR + 1 + Lineare Kopplung (Geradengleichung) + + + TCNC_SLAVETYPE_FLYINGSAW_ONVELOCITY + 2 + diagonal synchron. Aufkoppeln schnellstens auf Geschwindigkeit + + + TCNC_SLAVETYPE_FLYINGSAW_ONPOSITION + 3 + diagonal synchron. Aufkoppeln auf Position und Geschwindigkeit + + + TCNC_SLAVETYPE_FLYINGSAW_QUADRATIC + 4 + diagonal synchron. Aufkoppeln (quadratisches Geschw.-Profil) + + + TCNC_SLAVETYPE_SYNCHRONIZING_ONVELO + 5 + synchron. Aufkoppeln instantan auf Geschwindigkeit + + + TCNC_SLAVETYPE_SYNCHRONIZING_ONPOS + 6 + synchron. Aufkoppeln auf Positionen und Geschwindigkeit + + + TCNC_SLAVETYPE_SYNCJERKSETTER_ONVELO + 7 + synchron. Aufkoppeln auf Geschwindigkeit (zeitbasiert mittels Ruck-Steller) + + + TCNC_SLAVETYPE_TABULAR + 10 + Tabellen-Kopplung ("simple/standard tabular slave") + + + TCNC_SLAVETYPE_MULTITABULAR + 11 + Tabellen-Kopplung ("multiscalable multi-tabular slave") + + + TCNC_SLAVETYPE_FLYINGMODULO_LINEAR + 12 + Modulo Kopplung auf Position und/oder Geschwindigkeit mit anschliessender Linear Kopplung ("Schuette") + + + TCNC_SLAVETYPE_MOTIONFUNCTIONTABULAR + 13 + Tabellen-Kopplung "motion functions" + + + TCNC_SLAVETYPE_UNIVERSALTABULAR + 14 + Tabellen-Kopplung, universal tabular type substitues TABULAR, MULTITABULAR and MOTIONFUNCTION - 08.07.05 + + + TCNC_SLAVETYPE_LINEAR_CYCLICCHANGES_RAMP + 15 + Lineare Kopplung (Geradengleichung) mit zyklischer Koppelfaktoraenderung + + + TCNC_SLAVETYPE_BILINEAR + 16 + 27.04.01: Zweifach Lineare Kopplung (Geradengleichung) + + + TCNC_SLAVETYPE_LINEAR_MULTIMASTER + 17 + 29.05.08: Lineare Multi-Master-Kopplung ('MC_GearInMultiMaster') + + + TCNC_SLAVETYPE_CONST_SURFACEVELO_RAMP + 18 + Verrechnete Winkelgeschwindigkeit fuer konstante Oberflaechengeschwindig. in Abhaengigkeit vom Radiusistwert des Enc.2 + + + + ST_GearInOptions + 16 + + SlaveType + _E_TcNC_SlaveTypes + 16 + 0 + + + + MC_GearIn + 6656 + + Master + AXIS_REF + Reference to an axis + 32 + 32 + + + ItemType + InOut + + + + + Slave + AXIS_REF + Reference to an axis + 32 + 64 + + + ItemType + InOut + + + + + Execute + BOOL + 8 + 96 + + + ItemType + Input + + + + + RatioNumerator + LREAL + changed from INT (PLCopen) to LREAL + 64 + 128 + + 1 + + + + ItemType + Input + + + + + RatioDenominator + UINT + 16 + 192 + + 1 + + + + ItemType + Input + + + + + Acceleration + LREAL + MasterValueSource : MC_SOURCE; + not available + 64 + 256 + + + ItemType + Input + + + + + Deceleration + LREAL + 64 + 320 + + + ItemType + Input + + + + + Jerk + LREAL + 64 + 384 + + + ItemType + Input + + + + + BufferMode + MC_BufferMode + 16 + 448 + + + ItemType + Input + + + + + Options + ST_GearInOptions + optional parameters + 16 + 464 + + + ItemType + Input + + + + + InGear + BOOL + 8 + 480 + + + ItemType + Output + + + + + Busy + BOOL + 8 + 488 + + + ItemType + Output + + + + + Active + BOOL + 8 + 496 + + + ItemType + Output + + + + + CommandAborted + BOOL + 8 + 504 + + + ItemType + Output + + + + + Error + BOOL + 8 + 512 + + + ItemType + Output + + + + + ErrorID + UDINT + 32 + 544 + + + ItemType + Output + + + displaymode + hex + + + + + LastExecutionResult + _ST_FunctionBlockResults + 96 + 576 + + + ADSbusy + BOOL + 8 + 672 + + + iState + _E_TcMC_STATES + 16 + 688 + + 100 + + + + fbAdsWrite + ADSWRITE + 1216 + 704 + + + sCouple + _ST_TcNC_CoupleSlave + 384 + 1920 + + + fbOptGearInDyn + MC_GearInDyn + 4032 + 2304 + + + fbOnTrigger + R_TRIG + 64 + 6336 + + + conditionalshow + + + + + TimerStateFeedback + TON + 224 + 6400 + + + conditionalshow + + + + + ActGearInDyn + + + WriteGearRatio + + + + PouType + FunctionBlock + + + + + FB_GantryAutoCoupling + 9472 + + nGantryTol + LINT + 64 + 64 + + + ItemType + Input + + + + + bGantryAlreadyCoupled + BOOL + 8 + 128 + + + ItemType + Output + + + + + Master + DUT_MotionStage + 32 + 160 + + + ItemType + InOut + + + + + MasterEnc + ST_RenishawAbsEnc + 32 + 192 + + + ItemType + InOut + + + + + Slave + DUT_MotionStage + 32 + 224 + + + ItemType + InOut + + + + + SlaveEnc + ST_RenishawAbsEnc + 32 + 256 + + + ItemType + InOut + + + + + bExecuteCouple + BOOL + 32 + 288 + + + ItemType + InOut + + + + + bExecuteDecouple + BOOL + 32 + 320 + + + ItemType + InOut + + + + + gantry_diff_limit + FB_GantryDiffVirtualLimitSwitch + 512 + 384 + + + couple + MC_GearIn + 6656 + 896 + + + decouple + MC_GearOut + 1792 + 7552 + + + bInitComplete + BOOL + 8 + 9344 + + + fbSetEnables + FB_SetEnables + 64 + 9376 + + + + PouType + FunctionBlock + + + + + FB_RunHOMS + 20416 + + nYupEncRef + ULINT + Encoder Reference Values + 64 + 64 + + + ItemType + Input + + + + + nYdwnEncRef + ULINT + 64 + 128 + + + ItemType + Input + + + + + nXupEncRef + ULINT + 64 + 192 + + + ItemType + Input + + + + + nXdwnEncRef + ULINT + 64 + 256 + + + ItemType + Input + + + + + nGantryTolY + LINT + Encoder counts = nm + 64 + 320 + + 50000 + + + + ItemType + Input + + + + + nGantryTolX + LINT + Encoder counts = nm + 64 + 384 + + 50000 + + + + ItemType + Input + + + + + bGantryAlreadyCoupledY + BOOL + Gantry coupling status + 8 + 448 + + + ItemType + Output + + + + + bGantryAlreadyCoupledX + BOOL + 8 + 456 + + + ItemType + Output + + + + + nCurrGantryY + LINT + Current gantry difference + 64 + 512 + + + ItemType + Output + + + + + nCurrGantryX + LINT + 64 + 576 + + + ItemType + Output + + + + + stYup + DUT_MotionStage + Motor Structs + 32 + 640 + + + ItemType + InOut + + + + + stYdwn + DUT_MotionStage + 32 + 672 + + + ItemType + InOut + + + + + stXup + DUT_MotionStage + 32 + 704 + + + ItemType + InOut + + + + + stXdwn + DUT_MotionStage + 32 + 736 + + + ItemType + InOut + + + + + stPitch + DUT_MotionStage + 32 + 768 + + + ItemType + InOut + + + + + bExecuteCoupleY + BOOL + Manual coupling Gantried Axes + 32 + 800 + + + ItemType + InOut + + + + + bExecuteCoupleX + BOOL + 32 + 832 + + + ItemType + InOut + + + + + bExecuteDecoupleY + BOOL + 32 + 864 + + + ItemType + InOut + + + + + bExecuteDecoupleX + BOOL + 32 + 896 + + + ItemType + InOut + + + + + bSTOEnable1 + BOOL + STO Button + 8 + 928 + + + TcAddressType + Input + + + + + bSTOEnable2 + BOOL + 8 + 936 + + + TcAddressType + Input + + + + + stYupEnc + ST_RenishawAbsEnc + Encoders + 128 + 960 + + + TcAddressType + Input + + + + + stYdwnEnc + ST_RenishawAbsEnc + 128 + 1088 + + + TcAddressType + Input + + + + + stXupEnc + ST_RenishawAbsEnc + 128 + 1216 + + + TcAddressType + Input + + + + + stXdwnEnc + ST_RenishawAbsEnc + 128 + 1344 + + + TcAddressType + Input + + + + + fbAutoCoupleY + FB_GantryAutoCoupling + Autocoupling Gantried Axes + 9472 + 1472 + + + fbAutoCoupleX + FB_GantryAutoCoupling + 9472 + 10944 + + + + PouType + FunctionBlock + + + + + DUT_HOMS + 20672 + + fbRunHOMS + FB_RunHOMS + System initializiation + 20416 + 0 + + + bExecuteCoupleY + BOOL + Couple/Decouple motors + 8 + 20416 + + + pytmc + pv: COUPLE_Y io: o - bExecuteDecoupleYBOOL820424pytmc + + + + + + bExecuteDecoupleY + BOOL + 8 + 20424 + + + pytmc + pv: DECOUPLE_Y io: o - bExecuteCoupleXBOOL820432pytmc + + + + + + bExecuteCoupleX + BOOL + 8 + 20432 + + + pytmc + pv: COUPLE_X io: o - bExecuteDecoupleXBOOL820440pytmc + + + + + + bExecuteDecoupleX + BOOL + 8 + 20440 + + + pytmc + pv: DECOUPLE_X io: o - bGantryAlreadyCoupledYBOOL820448pytmc + + + + + + bGantryAlreadyCoupledY + BOOL + Coupling status + 8 + 20448 + + + pytmc + pv: ALREADY_COUPLED_Y io: i field: ZSV MAJOR - bGantryAlreadyCoupledXBOOL820456pytmc + + + + + + bGantryAlreadyCoupledX + BOOL + 8 + 20456 + + + pytmc + pv: ALREADY_COUPLED_X io: i field: ZSV MAJOR - nCurrGantryYLINT6420480nCurrGantryXLINT6420544fCurrGantryY_umREAL3220608pytmc + + + + + + nCurrGantryY + LINT + encoder counts = nm + 64 + 20480 + + + nCurrGantryX + LINT + encoder counts = nm + 64 + 20544 + + + fCurrGantryY_um + REAL + Y Gantry difference in um + 32 + 20608 + + + pytmc + pv: GANTRY_Y field: EGU um io: i - fCurrGantryX_umREAL3220640pytmc + + + + + + fCurrGantryX_um + REAL + X Gantry difference in um + 32 + 20640 + + + pytmc + pv: GANTRY_X field: EGU um io: i - FB_DataBuffer288bExecuteBOOL832ItemTypeInputpInputAdrPVOID3264ItemTypeInputiInputSizeUDINT3296ItemTypeInputiElemCountUDINT32128ItemTypeInputpPartialAdrPVOID32160ItemTypeInputpOutputAdrPVOID32192ItemTypeInputbNewArrayBOOL8224ItemTypeOutputiArrayIndexUDINT322560PouTypeFunctionBlockFB_LREALBuffer128512bExecuteBOOL832ItemTypeInputfInputLREAL6464ItemTypeInputarrOutputLREAL1100064000128ItemTypeOutputbNewArrayBOOL864128ItemTypeOutputarrPartialLREAL110006400064192fbDataBufferFB_DataBuffer288128192PouTypeFunctionBlockFB_BasicStats896aSignalLREAL3232ItemTypeInputpytmc + + + + + + + FB_DataBuffer + 288 + + bExecute + BOOL + Whether or not to accumulate on this cycle + 8 + 32 + + + ItemType + Input + + + + + pInputAdr + PVOID + Address of the value to accumulate + 32 + 64 + + + ItemType + Input + + + + + iInputSize + UDINT + Size of the accumulated value + 32 + 96 + + + ItemType + Input + + + + + iElemCount + UDINT + Number of values in the output array + 32 + 128 + + + ItemType + Input + + + + + pPartialAdr + PVOID + Address of the rolling buffer to be filled every cycle + 32 + 160 + + + ItemType + Input + + + + + pOutputAdr + PVOID + Address of the output buffer to be filled when the rolling buffer is full + 32 + 192 + + + ItemType + Input + + + + + bNewArray + BOOL + Set to TRUE on the cycle that we copy the output array + 8 + 224 + + + ItemType + Output + + + + + iArrayIndex + UDINT + 32 + 256 + + 0 + + + + + PouType + FunctionBlock + + + + + FB_LREALBuffer + 128512 + + bExecute + BOOL + If TRUE, we'll accumulate a value on this cycle. + 8 + 32 + + + ItemType + Input + + + + + fInput + LREAL + The value to accumulate. + 64 + 64 + + + ItemType + Input + + + + + arrOutput + LREAL + + 1 + 1000 + + 64000 + 128 + + + ItemType + Output + + + + + bNewArray + BOOL + 8 + 64128 + + + ItemType + Output + + + + + arrPartial + LREAL + + 1 + 1000 + + 64000 + 64192 + + + fbDataBuffer + FB_DataBuffer + 288 + 128192 + + + + PouType + FunctionBlock + + + + + FB_BasicStats + 896 + + aSignal + LREAL + Input array of floats + 32 + 32 + + + ItemType + Input + + + pytmc + pv: STATS:DATA io: i - variable_length_arrayDimensions1bAlwaysCalcBOOL864ItemTypeInputpytmcpv: STATS:ALWAYS_CALCbExecuteBOOL872ItemTypeInputpytmcpv: STATS:EXECUTEbResetBOOL880ItemTypeInputpytmcpv: STATS:RESETnElemsUDINT3296ItemTypeInputpytmc + + + + variable_length_array + + + Dimensions + 1 + + + + + bAlwaysCalc + BOOL + If TRUE, we will update the results every cycle + 8 + 64 + + + ItemType + Input + + + pytmc + pv: STATS:ALWAYS_CALC + + + + + bExecute + BOOL + On rising edge, do one calculation + 8 + 72 + + + ItemType + Input + + + pytmc + pv: STATS:EXECUTE + + + + + bReset + BOOL + If set to TRUE, reset outputs + 8 + 80 + + + ItemType + Input + + + pytmc + pv: STATS:RESET + + + + + nElems + UDINT + If nonzero, we will only pay attention to the first nElems items in aSignal + 32 + 96 + + + ItemType + Input + + + pytmc + pv: STATS:NELM io: i - fMeanLREAL64128ItemTypeOutputpytmc + + + + + + fMean + LREAL + Average of all values in the array + 64 + 128 + + + ItemType + Output + + + pytmc + pv: STATS:MEAN io: i - fStDevLREAL64192ItemTypeOutputpytmc + + + + + + fStDev + LREAL + Standard deviation of all values in the array + 64 + 192 + + + ItemType + Output + + + pytmc + pv: STATS:STDEV io: i - fMaxLREAL64256ItemTypeOutputpytmc + + + + + + fMax + LREAL + Largest value in the array + 64 + 256 + + + ItemType + Output + + + pytmc + pv: STATS:MAX io: i - fMinLREAL64320ItemTypeOutputpytmc + + + + + + fMin + LREAL + Smallest value in the array + 64 + 320 + + + ItemType + Output + + + pytmc + pv: STATS:MIN io: i - fRangeLREAL64384ItemTypeOutputpytmc + + + + + + fRange + LREAL + Largest array element subtracted by the smallest + 64 + 384 + + + ItemType + Output + + + pytmc + pv: STATS:RANGE io: i - bValidBOOL8448ItemTypeOutputpytmc + + + + + + bValid + BOOL + True if the other outputs are valid + 8 + 448 + + + ItemType + Output + + + pytmc + pv: STATS:VALID io: i - rTrigR_TRIG64480nIndexDINT32544nElemsSeenUDINT32576fSumLREAL64640fVarianceSumLREAL64704fVarianceMeanLREAL64768PouTypeFunctionBlockFB_RMSWatch386624fMaxRMSErrorLREAL64640ItemTypeOutputfMinRMSErrorLREAL641281000ItemTypeOutputstMotionStageDUT_MotionStage32192ItemTypeInOutfbDataActPosFB_LREALBuffer128512256fbDataSetPosFB_LREALBuffer128512128768bExecuteDataStorageBOOL82572801bNewEncArrayBOOL8257288fbStatsFB_BasicStats896257344fEncMeanLREAL64258240pytmc + + + + + + rTrig + R_TRIG + 64 + 480 + + + nIndex + DINT + 32 + 544 + + + nElemsSeen + UDINT + 32 + 576 + + + fSum + LREAL + 64 + 640 + + + fVarianceSum + LREAL + 64 + 704 + + + fVarianceMean + LREAL + 64 + 768 + + + + PouType + FunctionBlock + + + + + FB_RMSWatch + 386624 + + fMaxRMSError + LREAL + RMS Error + 64 + 64 + + 0 + + + + ItemType + Output + + + + + fMinRMSError + LREAL + start at something huge, FB will update with any smaller measured value + 64 + 128 + + 1000 + + + + ItemType + Output + + + + + stMotionStage + DUT_MotionStage + 32 + 192 + + + ItemType + InOut + + + + + fbDataActPos + FB_LREALBuffer + ActPos Data Acquisition FB + 128512 + 256 + + + fbDataSetPos + FB_LREALBuffer + SetPos Data Acquisition FB + 128512 + 128768 + + + bExecuteDataStorage + BOOL + Take data of both ActPos and SetPos + 8 + 257280 + + 1 + + + + bNewEncArray + BOOL + 8 + 257288 + + + fbStats + FB_BasicStats + Calculate mean/standard deviation of ActPos + 896 + 257344 + + + fEncMean + LREAL + 64 + 258240 + + + pytmc + pv: MEAN io: i - fEncStDevLREAL64258304pytmc + + + + + + fEncStDev + LREAL + 64 + 258304 + + + pytmc + pv: STDEV io: i - fCurrRMSErrorLREAL642583680pytmc + + + + + + fCurrRMSError + LREAL + 64 + 258368 + + 0 + + + + pytmc + pv: RMS io: i - nIndexDINT32258432fSumLREAL642584960fDiffLREAL642585600aEncActPosLREAL1100064000258624pytmc + + + + + + nIndex + DINT + 32 + 258432 + + + fSum + LREAL + Just for calculating rms + 64 + 258496 + + 0 + + + + fDiff + LREAL + 64 + 258560 + + 0 + + + + aEncActPos + LREAL + + 1 + 1000 + + 64000 + 258624 + + + pytmc + pv: ACTPOSARRAY io: i - aEncSetPosLREAL1100064000322624pytmc + + + + + + aEncSetPos + LREAL + + 1 + 1000 + + 64000 + 322624 + + + pytmc + pv: SETPOSARRAY io: i - PouTypeFunctionBlockFB_Bender128stBenderDUT_MotionStage3232ItemTypeInOutbSTOEnable1BOOL3264ItemTypeInOutbSTOEnable2BOOL3296ItemTypeInOutPouTypeFunctionBlockE_ReadMode16INTREADMODE_ONCE1READMODE_CYCLIC2MC_AxisParameter16INTCommandedPosition1SWLimitPos2SWLimitNeg3EnableLimitPos4EnableLimitNeg5EnablePosLagMonitoring6MaxPositionLag7MaxVelocitySystem8MaxVelocityAppl9ActualVelocity10CommandedVelocity11MaxAccelerationSystem12MaxAccelerationAppl13MaxDecelerationSystem14MaxDecelerationAppl15MaxJerkSystem16MaxJerkAppl17AxisId1000AxisVeloManSlow1001AxisVeloManFast1002AxisVeloMax1003AxisAcc1004AxisDec1005AxisJerk1006MaxJerk1007AxisMaxVelocity1008AxisRapidTraverseVelocity1009AxisManualVelocityFast1010AxisManualVelocitySlow1011AxisCalibrationVelocityForward1012AxisCalibrationVelocityBackward1013AxisJogIncrementForward1014AxisJogIncrementBackward1015AxisEnMinSoftPosLimit1016AxisMinSoftPosLimit1017AxisEnMaxSoftPosLimit1018AxisMaxSoftPosLimit1019AxisEnPositionLagMonitoring1020AxisMaxPosLagValue1021AxisMaxPosLagFilterTime1022AxisEnPositionRangeMonitoring1023AxisPositionRangeWindow1024AxisEnTargetPositionMonitoring1025AxisTargetPositionWindow1026AxisTargetPositionMonitoringTime1027AxisEnInTargetTimeout1028AxisInTargetTimeout1029AxisEnMotionMonitoring1030AxisMotionMonitoringWindow1031AxisMotionMonitoringTime1032AxisDelayTimeVeloPosition1033AxisEnLoopingDistance1034AxisLoopingDistance1035AxisEnBacklashCompensation1036AxisBacklash1037AxisEnDataPersistence1038AxisRefVeloOnRefOutput1039AxisOverrideType1040AxisEncoderScalingFactor1041AxisEncoderOffset1042AxisEncoderDirectionInverse1043AxisEncoderMask1044AxisEncoderModuloValue1045AxisModuloToleranceWindow1046AxisEnablePosCorrection1047AxisPosCorrectionFilterTime1048AxisUnitInterpretation1049AxisMotorDirectionInverse1050AxisCycleTime1051AxisFastStopSignalType1052AxisFastAcc1053AxisFastDec1054AxisFastJerk1055AxisEncoderScalingNumerator1056AxisEncoderScalingDenominator1057AxisMaximumAcceleration1058AxisMaximumDeceleration1059AxisVeloJumpFactor1060AxisToleranceBallAuxAxis1061AxisMaxPositionDeviationAuxAxis1062AxisErrorPropagationMode1063AxisErrorPropagationDelay1064AxisCoupleSlaveToActualValues1065AxisAllowMotionCmdToSlaveAxis1066AxisAllowMotionCmdToExtSetAxis1067AxisEncoderSubMask1068AxisEncoderReferenceSystem1069AxisEncoderPositionFilterPT11070AxisEncoderVelocityFilterPT11071AxisEncoderAccelerationFilterPT11072AxisEncoderMode1073AxisEncoderHomingInvDirCamSearch1074AxisEncoderHomingInvDirSyncSearch1075AxisEncoderHomingCalibValue1076AxisEncoderReferenceMode1077AxisRefVeloOutputRatio1078AxisDrivePositionOutputScaling1079AxisDriveVelocityOutputScaling1080AxisDriveVelocityOutputDelay1081AxisDriveMinOutputLimitation1082AxisDriveMaxOutputLimitation1083AxisTorqueInputScaling1084AxisTorqueInputFilterPT11085AxisTorqueDerivationInputFilterPT11086AxisTorqueOutputScaling1087AxisTorqueOutputDelay1088AxisAccelerationOutputScaling1089AxisAccelerationOutputDelay1090AxisDrivePosOutputSmoothFilterType1091AxisDrivePosOutputSmoothFilterTime1092AxisDrivePosOutputSmoothFilterOrder1093AxisDriveMode1094AxisDriftCompensationOffset1095AxisPositionControlKv1096AxisCtrlVelocityPreCtrlWeight1097AxisControllerMode1098AxisCtrlAutoOffset1099AxisCtrlAutoOffsetTimer1100AxisCtrlAutoOffsetLimit1101AxisSlaveCouplingControlKcp1102AxisCtrlOutputLimit1103AxisFadingAccleration1104AxisTargetPosition2000AxisRemainingTimeToGo2001AxisRemainingDistanceToGo2002AxisGearRatio3000NcSafCycleTime4000NcSvbCycleTime4001AxisMasPositionDeviationAuxAxis32000 + + + + + + PouType + FunctionBlock + + + + + FB_Bender + 128 + + stBender + DUT_MotionStage + 32 + 32 + + + ItemType + InOut + + + + + bSTOEnable1 + BOOL + 32 + 64 + + + ItemType + InOut + + + + + bSTOEnable2 + BOOL + 32 + 96 + + + ItemType + InOut + + + + + + PouType + FunctionBlock + + + + + E_ReadMode + 16 + INT + + READMODE_ONCE + 1 + + + READMODE_CYCLIC + 2 + + + + MC_AxisParameter + 16 + INT + + CommandedPosition + 1 + taken from NcToPlc + + + SWLimitPos + 2 + IndexOffset= 16#0001_000E + + + SWLimitNeg + 3 + IndexOffset= 16#0001_000D + + + EnableLimitPos + 4 + IndexOffset= 16#0001_000C + + + EnableLimitNeg + 5 + IndexOffset= 16#0001_000B + + + EnablePosLagMonitoring + 6 + IndexOffset= 16#0002_0010 + + + MaxPositionLag + 7 + IndexOffset= 16#0002_0012 + + + MaxVelocitySystem + 8 + IndexOffset= 16#0000_0027 + + + MaxVelocityAppl + 9 + IndexOffset= 16#0000_0027 + + + ActualVelocity + 10 + taken from NcToPlc + + + CommandedVelocity + 11 + taken from NcToPlc + + + MaxAccelerationSystem + 12 + IndexOffset= 16#0000_0101 + + + MaxAccelerationAppl + 13 + IndexOffset= 16#0000_0101 + + + MaxDecelerationSystem + 14 + IndexOffset= 16#0000_0102 + + + MaxDecelerationAppl + 15 + IndexOffset= 16#0000_0102 + + + MaxJerkSystem + 16 + IndexOffset= 16#0000_0103 + + + MaxJerkAppl + 17 + IndexOffset= 16#0000_0103 + + + AxisId + 1000 + IndexOffset= 16#0000_0001 + + + AxisVeloManSlow + 1001 + IndexOffset= 16#0000_0008 + + + AxisVeloManFast + 1002 + IndexOffset= 16#0000_0009 + + + AxisVeloMax + 1003 + IndexOffset= 16#0000_0027 + + + AxisAcc + 1004 + IndexOffset= 16#0000_0101 + + + AxisDec + 1005 + IndexOffset= 16#0000_0102 + + + AxisJerk + 1006 + IndexOffset= 16#0000_0103 + + + MaxJerk + 1007 + IndexOffset= 16#0000_0103 + + + AxisMaxVelocity + 1008 + IndexOffset= 16#0000_0027 + + + AxisRapidTraverseVelocity + 1009 + IndexOffset= 16#0000_000A + + + AxisManualVelocityFast + 1010 + IndexOffset= 16#0000_0009 + + + AxisManualVelocitySlow + 1011 + IndexOffset= 16#0000_0008 + + + AxisCalibrationVelocityForward + 1012 + IndexOffset= 16#0000_0006 + + + AxisCalibrationVelocityBackward + 1013 + IndexOffset= 16#0000_0007 + + + AxisJogIncrementForward + 1014 + IndexOffset= 16#0000_0018 + + + AxisJogIncrementBackward + 1015 + IndexOffset= 16#0000_0019 + + + AxisEnMinSoftPosLimit + 1016 + IndexOffset= 16#0001_000B + + + AxisMinSoftPosLimit + 1017 + IndexOffset= 16#0001_000D + + + AxisEnMaxSoftPosLimit + 1018 + IndexOffset= 16#0001_000C + + + AxisMaxSoftPosLimit + 1019 + IndexOffset= 16#0001_000E + + + AxisEnPositionLagMonitoring + 1020 + IndexOffset= 16#0002_0010 + + + AxisMaxPosLagValue + 1021 + IndexOffset= 16#0002_0012 + + + AxisMaxPosLagFilterTime + 1022 + IndexOffset= 16#0002_0013 + + + AxisEnPositionRangeMonitoring + 1023 + IndexOffset= 16#0000_000F + + + AxisPositionRangeWindow + 1024 + IndexOffset= 16#0000_0010 + + + AxisEnTargetPositionMonitoring + 1025 + IndexOffset= 16#0000_0015 + + + AxisTargetPositionWindow + 1026 + IndexOffset= 16#0000_0016 + + + AxisTargetPositionMonitoringTime + 1027 + IndexOffset= 16#0000_0017 + + + AxisEnInTargetTimeout + 1028 + IndexOffset= 16#0000_0029 + + + AxisInTargetTimeout + 1029 + IndexOffset= 16#0000_002A + + + AxisEnMotionMonitoring + 1030 + IndexOffset= 16#0000_0011 + + + AxisMotionMonitoringWindow + 1031 + IndexOffset= 16#0000_0028 + + + AxisMotionMonitoringTime + 1032 + IndexOffset= 16#0000_0012 + + + AxisDelayTimeVeloPosition + 1033 + IndexOffset= 16#0000_0104 + + + AxisEnLoopingDistance + 1034 + IndexOffset= 16#0000_0013 + + + AxisLoopingDistance + 1035 + IndexOffset= 16#0000_0014 + + + AxisEnBacklashCompensation + 1036 + IndexOffset= 16#0000_002B + + + AxisBacklash + 1037 + IndexOffset= 16#0000_002C + + + AxisEnDataPersistence + 1038 + IndexOffset= 16#0000_0030 + + + AxisRefVeloOnRefOutput + 1039 + IndexOffset= 16#0003_0101 + + + AxisOverrideType + 1040 + IndexOffset= 16#0000_0105 + + + AxisEncoderScalingFactor + 1041 + IndexOffset= 16#0001_0006 + + + AxisEncoderOffset + 1042 + IndexOffset= 16#0001_0007 + + + AxisEncoderDirectionInverse + 1043 + IndexOffset= 16#0001_0008 + + + AxisEncoderMask + 1044 + IndexOffset= 16#0001_0015 + + + AxisEncoderModuloValue + 1045 + IndexOffset= 16#0001_0009 + + + AxisModuloToleranceWindow + 1046 + IndexOffset= 16#0001_001B + + + AxisEnablePosCorrection + 1047 + IndexOffset= 16#0001_0016 + + + AxisPosCorrectionFilterTime + 1048 + IndexOffset= 16#0001_0017 + + + AxisUnitInterpretation + 1049 + added 5/20/2008 KSt + + + AxisMotorDirectionInverse + 1050 + IndexOffset= 16#0003_0006 + + + AxisCycleTime + 1051 + IndexOffset= 16#0000_0004 + + + AxisFastStopSignalType + 1052 + IndexOffset= 16#0000_001E + + + AxisFastAcc + 1053 + IndexOffset= 16#0000_010A + + + AxisFastDec + 1054 + IndexOffset= 16#0000_010B + + + AxisFastJerk + 1055 + IndexOffset= 16#0000_010C + + + AxisEncoderScalingNumerator + 1056 + IndexOffset= 16#0001_0023 - available in Tc3 + + + AxisEncoderScalingDenominator + 1057 + IndexOffset= 16#0001_0024 - available in Tc3 + + + AxisMaximumAcceleration + 1058 + IndexOffset= 16#0000_00F1 - available in Tc3 + + + AxisMaximumDeceleration + 1059 + IndexOffset= 16#0000_00F2 - available in Tc3 + + + AxisVeloJumpFactor + 1060 + IndexOffset= 16#0000_0106 + + + AxisToleranceBallAuxAxis + 1061 + IndexOffset= 16#0000_0108 + + + AxisMaxPositionDeviationAuxAxis + 1062 + IndexOffset= 16#0000_0109 + + + AxisErrorPropagationMode + 1063 + IndexOffset= 16#0000_001A + + + AxisErrorPropagationDelay + 1064 + IndexOffset= 16#0000_001B + + + AxisCoupleSlaveToActualValues + 1065 + IndexOffset= 16#0000_001C + + + AxisAllowMotionCmdToSlaveAxis + 1066 + IndexOffset= 16#0000_0020 + + + AxisAllowMotionCmdToExtSetAxis + 1067 + IndexOffset= 16#0000_0021 + + + AxisEncoderSubMask + 1068 + IndexOffset= 16#0001_0108 + + + AxisEncoderReferenceSystem + 1069 + IndexOffset= 16#0001_0019 + + + AxisEncoderPositionFilterPT1 + 1070 + IndexOffset= 16#0001_0010 + + + AxisEncoderVelocityFilterPT1 + 1071 + IndexOffset= 16#0001_0011 + + + AxisEncoderAccelerationFilterPT1 + 1072 + IndexOffset= 16#0001_0012 + + + AxisEncoderMode + 1073 + IndexOffset= 16#0001_000A + + + AxisEncoderHomingInvDirCamSearch + 1074 + IndexOffset= 16#0001_0101 + + + AxisEncoderHomingInvDirSyncSearch + 1075 + IndexOffset= 16#0001_0102 + + + AxisEncoderHomingCalibValue + 1076 + IndexOffset= 16#0001_0103 + + + AxisEncoderReferenceMode + 1077 + IndexOffset= 16#0001_0107 + + + AxisRefVeloOutputRatio + 1078 + IndexOffset= 16#0003_0102 + + + AxisDrivePositionOutputScaling + 1079 + IndexOffset= 16#0003_0109 + + + AxisDriveVelocityOutputScaling + 1080 + IndexOffset= 16#0003_0105 + + + AxisDriveVelocityOutputDelay + 1081 + IndexOffset= 16#0003_010D + + + AxisDriveMinOutputLimitation + 1082 + IndexOffset= 16#0003_000B + + + AxisDriveMaxOutputLimitation + 1083 + IndexOffset= 16#0003_000C + + + AxisTorqueInputScaling + 1084 + IndexOffset= 16#0003_0031 - available in Tc3 + + + AxisTorqueInputFilterPT1 + 1085 + IndexOffset= 16#0003_0032 - available in Tc3 + + + AxisTorqueDerivationInputFilterPT1 + 1086 + IndexOffset= 16#0003_0033 - available in Tc3 + + + AxisTorqueOutputScaling + 1087 + IndexOffset= 16#0003_010B + + + AxisTorqueOutputDelay + 1088 + IndexOffset= 16#0003_010F + + + AxisAccelerationOutputScaling + 1089 + IndexOffset= 16#0003_010A + + + AxisAccelerationOutputDelay + 1090 + IndexOffset= 16#0003_010E + + + AxisDrivePosOutputSmoothFilterType + 1091 + IndexOffset= 16#0003_0110 + + + AxisDrivePosOutputSmoothFilterTime + 1092 + IndexOffset= 16#0003_0111 + + + AxisDrivePosOutputSmoothFilterOrder + 1093 + IndexOffset= 16#0003_0112 + + + AxisDriveMode + 1094 + IndexOffset= 16#0003_000A + + + AxisDriftCompensationOffset + 1095 + IndexOffset= 16#0003_0104 + + + AxisPositionControlKv + 1096 + IndexOffset= 16#0002_0102 + + + AxisCtrlVelocityPreCtrlWeight + 1097 + IndexOffset= 16#0002_000B + + + AxisControllerMode + 1098 + IndexOffset= 16#0002_000A + + + AxisCtrlAutoOffset + 1099 + IndexOffset= 16#0002_0110 + + + AxisCtrlAutoOffsetTimer + 1100 + IndexOffset= 16#0002_0115 + + + AxisCtrlAutoOffsetLimit + 1101 + IndexOffset= 16#0002_0114 + + + AxisSlaveCouplingControlKcp + 1102 + IndexOffset= 16#0002_010F + + + AxisCtrlOutputLimit + 1103 + IndexOffset= 16#0002_0100 + + + AxisFadingAccleration + 1104 + IndexOffset= 16#0000_001D + + + AxisTargetPosition + 2000 + IndexOffset= 16#0000_0013 + + + AxisRemainingTimeToGo + 2001 + IndexOffset= 16#0000_0014 + + + AxisRemainingDistanceToGo + 2002 + IndexOffset= 16#0000_0022, 16#0000_0042 + + + AxisGearRatio + 3000 + read:IdxGrp=0x4100+ID, IdxOffs=16#0000_0022, write:IdxGrp=0x4200+ID, IdxOffs=16#0000_0042 + + + NcSafCycleTime + 4000 + IndexOffset= 16#0000_0010 + + + NcSvbCycleTime + 4001 + IndexOffset= 16#0000_0012 + + + AxisMasPositionDeviationAuxAxis + 32000 + lreal IndexOffset= 16#0000_0109 - added for compatibility reasons (write error AxisMasPositionDeviationAuxAxis changed to AxisMaxPositionDeviationAuxAxis) 2018-05-03 KSt ]]>_E_ParameterType16INTPARAMETERTYPE_NOTYPE0PARAMETERTYPE_BOOL1PARAMETERTYPE_DWORD2PARAMETERTYPE_LREAL3_ST_ParaStruct192PortUINT160IndexGroupUDINT3232IndexOffsetUDINT3264ParaType_E_ParameterType1696LrealSizeUDINT32128LrealOffsetUDINT32160conditionalshow_FB_ReadWriteParameter3840AxisAXIS_REF3232ItemTypeInOutEnableBOOL864ItemTypeInputParameterNumberMC_AxisParameter1680ItemTypeInputModeINT1696ItemTypeInputDoneBOOL8112ItemTypeOutputBusyBOOL8120ItemTypeOutputErrorBOOL8128ItemTypeOutputErrorIDUDINT32160ItemTypeOutputdisplaymodehexADSbusyBOOL8192ItemTypeOutputValueLrealLREAL32224ItemTypeInOutValueDwordDWORD32256ItemTypeInOutValueBoolBOOL32288ItemTypeInOutiState_E_TcMC_STATES16320100fbAdsReadADSREAD1248352fbAdsWriteADSWRITE12161600dwValueDWORD322816lrValueLREAL1106402880NcBoolValueUINT163520bStartedBOOL83536stParaStruct_ST_ParaStruct1923552nINT163744iINT163760ParaLREALINT1637762PouTypeFunctionBlockconditionalshowMC_ReadParameter4352AxisAXIS_REF3232ItemTypeInOutEnableBOOL864ItemTypeInputParameterNumberINT1680ItemTypeInputReadModeE_ReadMode16961ItemTypeInputValidBOOL8112ItemTypeOutputBusyBOOL8120ItemTypeOutputErrorBOOL8128ItemTypeOutputErrorIDUDINT32160ItemTypeOutputdisplaymodehexValueLREAL64192ItemTypeOutputADSbusyBOOL8256fbReadWriteParameter_FB_ReadWriteParameter3840320nParatype_E_ParameterType164160conditionalshowdwValueDWORD324192conditionalshowbValueBOOL84224conditionalshowbStartedBOOL84232conditionalshowfbTriggerR_TRIG644256conditionalshowPouTypeFunctionBlockTcEventConfirmationState16INT01234plcAttribute_qualified_onlyplcAttribute_strictITcAlarm32ITcEventSetJsonAttributeHRESULT32sJsonAttributePCCH32GetArgumentsHRESULT32pipArgumentsITcArguments32GetIsRaisedHRESULT32bIsRaisedBOOL3232RaiseHRESULT32timeStampULINT64ClearHRESULT32timeStampULINT64bResetConfirmationBOOL3232GetConfirmationStateHRESULT32stateTcEventConfirmationState32ConfirmHRESULT32timeStampULINT64ITcAlarm232ITcAlarmGetTimeRaisedHRESULT32timeStampULINT32GetTimeConfirmedHRESULT32timeStampULINT32GetTimeClearedHRESULT32timeStampULINT32FB_TcEvent3584FB_TcEventBaseI_TcEventBasenTimestampULINT6483305244__getnTimestampULINT64nTimestampULINT64propertymonitoringcallTcDisplayTypeGUID18071995-0000-0000-0000-000000000046ReleaseHRESULT32InitipEventITcEvent32nTimestampULINT64ipMessageITcMessage232ipAlarmITcAlarm232conditionalshowobsoleteInit is obsolete, use Init2 instead!__getipEventITcEvent32ipEventITcEvent32propertyconditionalshowInit2ipEventITcEvent32nTimestampULINT64ipArgumentsITcArguments32ipMessageITcMessage32ipAlarmITcAlarm32ipSourceInfoITcSourceInfo32conditionalshowPouTypeFunctionBlockreflectionconditionalshow_all_localsno_explicit_calldo not call this POU directlyI_Listener32PVOIDOnAlarmClearedfbEventFB_TcEvent32OnAlarmConfirmedfbEventFB_TcEvent32OnAlarmDisposedfbEventFB_TcEvent32OnAlarmRaisedfbEventFB_TcEvent32OnMessageSentfbEventFB_TcEvent32ITcEventFilterConfig32ITcUnknownAddEventClassHRESULT32eventClassGUID32severityTcEventSeverity16RemoveEventClassHRESULT32eventClassGUID32AddSourceInfoHRESULT32ipSourceInfoITcSourceInfo32severityTcEventSeverity16RemoveSourceInfoHRESULT32ipSourceInfoITcSourceInfo32ITcMessageListener32ITcUnknownOnMessageSentHRESULT32ipEventITcEvent32ITcAlarmListener32ITcUnknownOnAlarmRaisedHRESULT32ipEventITcEvent32OnAlarmClearedHRESULT32ipEventITcEvent32OnAlarmConfirmedHRESULT32ipEventITcEvent32OnAlarmDisposedHRESULT32ipEventITcEvent32FB_ListenerWrapper3840ITcMessageListenerITcAlarmListenerTcAddRefUDINT32c++_compatiblepack_mode4showminimal_input_size4OnAlarmRaisedHRESULT32ipEventITcEvent32ipAlarmITcAlarm232nTimeStampULINT64showc++_compatibleminimal_input_size4pack_mode4UnsubscribeHRESULT32hrHRESULT32OnAlarmClearedHRESULT32ipEventITcEvent32ipAlarmITcAlarm232nTimeStampULINT64showc++_compatibleminimal_input_size4pack_mode4TcQueryInterfaceHRESULT32iidIID32pipItfPVOID32ipMessageListenerITcMessageListener32ipAlarmListenerITcAlarmListener32c++_compatiblepack_mode4showminimal_input_size4OnMessageSentHRESULT32ipEventITcEvent32ipMessage2ITcMessage232nTimeStampULINT64showc++_compatibleminimal_input_size4pack_mode4SubscribeHRESULT32pipMessageFilterConfigITcEventFilterConfig32pipAlarmFilterConfigITcEventFilterConfig32hrHRESULT32TcReleaseUDINT32c++_compatiblepack_mode4showminimal_input_size4OnAlarmConfirmedHRESULT32ipEventITcEvent32ipAlarmITcAlarm232nTimeStampULINT64showc++_compatibleminimal_input_size4pack_mode4OnAlarmDisposedHRESULT32ipEventITcEvent32ipAlarmITcAlarm232nTimeStampULINT64showc++_compatibleminimal_input_size4pack_mode4ExecuteHRESULT32ipListenerI_Listener32hrHRESULT32PouTypeFunctionBlockc++_compatibleenable_dynamic_creationconditionalshow_all_localsno_explicit_calldo not call this POU directlyFB_ListenerBase96I_Listener_pListenerWrapperFB_ListenerWrapper3264OnAlarmRaisedfbEventFB_TcEvent32UnsubscribeHRESULT32hrHRESULT32OnAlarmClearedfbEventFB_TcEvent32OnMessageSentfbEventFB_TcEvent32SubscribeHRESULT32ipMessageFilterConfigITcEventFilterConfig32ipAlarmFilterConfigITcEventFilterConfig32hrHRESULT32OnAlarmConfirmedfbEventFB_TcEvent32OnAlarmDisposedfbEventFB_TcEvent32ExecuteHRESULT32hrHRESULT32PouTypeFunctionBlockno_explicit_calldo not call this POU directlyE_LogEventType16INT0123plcAttribute_qualified_onlyplcAttribute_strictST_LoggingEventInfo86272schemaSTRING(80) + + + + _E_ParameterType + 16 + INT + + PARAMETERTYPE_NOTYPE + 0 + + + PARAMETERTYPE_BOOL + 1 + + + PARAMETERTYPE_DWORD + 2 + + + PARAMETERTYPE_LREAL + 3 + + + + _ST_ParaStruct + 192 + + Port + UINT + 2014-07-14 KSt + 16 + 0 + + + IndexGroup + UDINT + 32 + 32 + + + IndexOffset + UDINT + 32 + 64 + + + ParaType + _E_ParameterType + 16 + 96 + + + LrealSize + UDINT + sizeof Lreal data array + 32 + 128 + + + LrealOffset + UDINT + offset in lreal data array + 32 + 160 + + + + conditionalshow + + + + + _FB_ReadWriteParameter + 3840 + + Axis + AXIS_REF + Reference to an axis + 32 + 32 + + + ItemType + InOut + + + + + Enable + BOOL + 8 + 64 + + + ItemType + Input + + + + + ParameterNumber + MC_AxisParameter + 16 + 80 + + + ItemType + Input + + + + + Mode + INT + read/write + 16 + 96 + + + ItemType + Input + + + + + Done + BOOL + 8 + 112 + + + ItemType + Output + + + + + Busy + BOOL + 8 + 120 + + + ItemType + Output + + + + + Error + BOOL + 8 + 128 + + + ItemType + Output + + + + + ErrorID + UDINT + 32 + 160 + + + ItemType + Output + + + displaymode + hex + + + + + ADSbusy + BOOL + 8 + 192 + + + ItemType + Output + + + + + ValueLreal + LREAL + 32 + 224 + + + ItemType + InOut + + + + + ValueDword + DWORD + 32 + 256 + + + ItemType + InOut + + + + + ValueBool + BOOL + 32 + 288 + + + ItemType + InOut + + + + + iState + _E_TcMC_STATES + 16 + 320 + + 100 + + + + fbAdsRead + ADSREAD + 1248 + 352 + + + fbAdsWrite + ADSWRITE + 1216 + 1600 + + + dwValue + DWORD + 32 + 2816 + + + lrValue + LREAL + + 1 + 10 + + 640 + 2880 + + + NcBoolValue + UINT + 16 + 3520 + + + bStarted + BOOL + 8 + 3536 + + + stParaStruct + _ST_ParaStruct + 192 + 3552 + + + n + INT + 16 + 3744 + + + i + INT + 16 + 3760 + + + ParaLREAL + INT + 16 + 3776 + + 2 + + + + + PouType + FunctionBlock + + + conditionalshow + + + + + MC_ReadParameter + 4352 + + Axis + AXIS_REF + Reference to an axis + 32 + 32 + + + ItemType + InOut + + + + + Enable + BOOL + 8 + 64 + + + ItemType + Input + + + + + ParameterNumber + INT + 16 + 80 + + + ItemType + Input + + + + + ReadMode + E_ReadMode + Beckhoff proprietary input + 16 + 96 + + 1 + + + + ItemType + Input + + + + + Valid + BOOL + 8 + 112 + + + ItemType + Output + + + + + Busy + BOOL + 8 + 120 + + + ItemType + Output + + + + + Error + BOOL + 8 + 128 + + + ItemType + Output + + + + + ErrorID + UDINT + 32 + 160 + + + ItemType + Output + + + displaymode + hex + + + + + Value + LREAL + 64 + 192 + + + ItemType + Output + + + + + ADSbusy + BOOL + 8 + 256 + + + fbReadWriteParameter + _FB_ReadWriteParameter + 3840 + 320 + + + nParatype + _E_ParameterType + 16 + 4160 + + + conditionalshow + + + + + dwValue + DWORD + 32 + 4192 + + + conditionalshow + + + + + bValue + BOOL + 8 + 4224 + + + conditionalshow + + + + + bStarted + BOOL + 8 + 4232 + + + conditionalshow + + + + + fbTrigger + R_TRIG + 64 + 4256 + + + conditionalshow + + + + + + PouType + FunctionBlock + + + + + TcEventConfirmationState + 16 + INT + + NotSupported + 0 + + + NotRequired + 1 + + + WaitForConfirmation + 2 + + + Confirmed + 3 + + + Reset + 4 + + + + plcAttribute_qualified_only + + + plcAttribute_strict + + + + + + + + ITcAlarm + 32 + ITcEvent + + SetJsonAttribute + HRESULT + 32 + + sJsonAttribute + PCCH + 32 + + + + GetArguments + HRESULT + 32 + + pipArguments + ITcArguments + 32 + + + + GetIsRaised + HRESULT + 32 + + bIsRaised + BOOL32 + 32 + + + + Raise + HRESULT + 32 + + timeStamp + ULINT + 64 + + + + Clear + HRESULT + 32 + + timeStamp + ULINT + 64 + + + bResetConfirmation + BOOL32 + 32 + + + + GetConfirmationState + HRESULT + 32 + + state + TcEventConfirmationState + 32 + + + + Confirm + HRESULT + 32 + + timeStamp + ULINT + 64 + + + + + ITcAlarm2 + 32 + ITcAlarm + + GetTimeRaised + HRESULT + 32 + + timeStamp + ULINT + 32 + + + + GetTimeConfirmed + HRESULT + 32 + + timeStamp + ULINT + 32 + + + + GetTimeCleared + HRESULT + 32 + + timeStamp + ULINT + 32 + + + + + FB_TcEvent + 3584 + FB_TcEventBase + I_TcEventBase + + nTimestamp + ULINT + 64 + 83305244 + + + __getnTimestamp + ULINT + 64 + + nTimestamp + ULINT + 64 + + + + property + + + monitoring + call + + + TcDisplayTypeGUID + 18071995-0000-0000-0000-000000000046 + + + + + Release + HRESULT + 32 + + + Init + + ipEvent + ITcEvent + 32 + + + nTimestamp + ULINT + 64 + + + ipMessage + ITcMessage2 + 32 + + + ipAlarm + ITcAlarm2 + 32 + + + + conditionalshow + + + obsolete + Init is obsolete, use Init2 instead! + + + + + __getipEvent + ITcEvent + 32 + + ipEvent + ITcEvent + 32 + + + + property + + + conditionalshow + + + + + Init2 + + ipEvent + ITcEvent + 32 + + + nTimestamp + ULINT + 64 + + + ipArguments + ITcArguments + 32 + + + ipMessage + ITcMessage + 32 + + + ipAlarm + ITcAlarm + 32 + + + ipSourceInfo + ITcSourceInfo + 32 + + + + conditionalshow + + + + + + PouType + FunctionBlock + + + reflection + + + conditionalshow_all_locals + + + no_explicit_call + do not call this POU directly + + + + + I_Listener + 32 + PVOID + + OnAlarmCleared + + fbEvent + FB_TcEvent + 32 + + + + OnAlarmConfirmed + + fbEvent + FB_TcEvent + 32 + + + + OnAlarmDisposed + + fbEvent + FB_TcEvent + 32 + + + + OnAlarmRaised + + fbEvent + FB_TcEvent + 32 + + + + OnMessageSent + + fbEvent + FB_TcEvent + 32 + + + + + ITcEventFilterConfig + 32 + ITcUnknown + + AddEventClass + HRESULT + 32 + + eventClass + GUID + 32 + + + severity + TcEventSeverity + 16 + + + + RemoveEventClass + HRESULT + 32 + + eventClass + GUID + 32 + + + + AddSourceInfo + HRESULT + 32 + + ipSourceInfo + ITcSourceInfo + 32 + + + severity + TcEventSeverity + 16 + + + + RemoveSourceInfo + HRESULT + 32 + + ipSourceInfo + ITcSourceInfo + 32 + + + + + ITcMessageListener + 32 + ITcUnknown + + OnMessageSent + HRESULT + 32 + + ipEvent + ITcEvent + 32 + + + + + ITcAlarmListener + 32 + ITcUnknown + + OnAlarmRaised + HRESULT + 32 + + ipEvent + ITcEvent + 32 + + + + OnAlarmCleared + HRESULT + 32 + + ipEvent + ITcEvent + 32 + + + + OnAlarmConfirmed + HRESULT + 32 + + ipEvent + ITcEvent + 32 + + + + OnAlarmDisposed + HRESULT + 32 + + ipEvent + ITcEvent + 32 + + + + + FB_ListenerWrapper + 3840 + ITcMessageListener + ITcAlarmListener + + TcAddRef + UDINT + 32 + + + c++_compatible + + + pack_mode + 4 + + + show + + + minimal_input_size + 4 + + + + + OnAlarmRaised + HRESULT + 32 + + ipEvent + ITcEvent + 32 + + + ipAlarm + ITcAlarm2 + 32 + + + nTimeStamp + ULINT + 64 + + + + show + + + c++_compatible + + + minimal_input_size + 4 + + + pack_mode + 4 + + + + + Unsubscribe + HRESULT + 32 + + hr + HRESULT + 32 + + + + OnAlarmCleared + HRESULT + 32 + + ipEvent + ITcEvent + 32 + + + ipAlarm + ITcAlarm2 + 32 + + + nTimeStamp + ULINT + 64 + + + + show + + + c++_compatible + + + minimal_input_size + 4 + + + pack_mode + 4 + + + + + TcQueryInterface + HRESULT + 32 + + iid + IID + 32 + + + pipItf + PVOID + 32 + + + ipMessageListener + ITcMessageListener + 32 + + + ipAlarmListener + ITcAlarmListener + 32 + + + + c++_compatible + + + pack_mode + 4 + + + show + + + minimal_input_size + 4 + + + + + OnMessageSent + HRESULT + 32 + + ipEvent + ITcEvent + 32 + + + ipMessage2 + ITcMessage2 + 32 + + + nTimeStamp + ULINT + 64 + + + + show + + + c++_compatible + + + minimal_input_size + 4 + + + pack_mode + 4 + + + + + Subscribe + HRESULT + 32 + + pipMessageFilterConfig + ITcEventFilterConfig + 32 + + + pipAlarmFilterConfig + ITcEventFilterConfig + 32 + + + hr + HRESULT + 32 + + + + TcRelease + UDINT + 32 + + + c++_compatible + + + pack_mode + 4 + + + show + + + minimal_input_size + 4 + + + + + OnAlarmConfirmed + HRESULT + 32 + + ipEvent + ITcEvent + 32 + + + ipAlarm + ITcAlarm2 + 32 + + + nTimeStamp + ULINT + 64 + + + + show + + + c++_compatible + + + minimal_input_size + 4 + + + pack_mode + 4 + + + + + OnAlarmDisposed + HRESULT + 32 + + ipEvent + ITcEvent + 32 + + + ipAlarm + ITcAlarm2 + 32 + + + nTimeStamp + ULINT + 64 + + + + show + + + c++_compatible + + + minimal_input_size + 4 + + + pack_mode + 4 + + + + + Execute + HRESULT + 32 + + ipListener + I_Listener + 32 + + + hr + HRESULT + 32 + + + + + PouType + FunctionBlock + + + c++_compatible + + + enable_dynamic_creation + + + conditionalshow_all_locals + + + no_explicit_call + do not call this POU directly + + + + + FB_ListenerBase + 96 + I_Listener + + _pListenerWrapper + FB_ListenerWrapper + 32 + 64 + + + OnAlarmRaised + + fbEvent + FB_TcEvent + 32 + + + + Unsubscribe + HRESULT + 32 + + hr + HRESULT + 32 + + + + OnAlarmCleared + + fbEvent + FB_TcEvent + 32 + + + + OnMessageSent + + fbEvent + FB_TcEvent + 32 + + + + Subscribe + HRESULT + 32 + + ipMessageFilterConfig + ITcEventFilterConfig + 32 + + + ipAlarmFilterConfig + ITcEventFilterConfig + 32 + + + hr + HRESULT + 32 + + + + OnAlarmConfirmed + + fbEvent + FB_TcEvent + 32 + + + + OnAlarmDisposed + + fbEvent + FB_TcEvent + 32 + + + + Execute + HRESULT + 32 + + hr + HRESULT + 32 + + + + + PouType + FunctionBlock + + + no_explicit_call + do not call this POU directly + + + + + E_LogEventType + 16 + INT + + ALARMCLEARED + 0 + + + ALARMCONFIRMED + 1 + + + ALARMRAISED + 2 + + + MESSAGESENT + 3 + + + + plcAttribute_qualified_only + + + plcAttribute_strict + + + + + ST_LoggingEventInfo + 86272 + + schema + STRING(80) + Message or Alarm{Cleared,Confirmed,Raised} event information Note that elements here do not follow the usual Hungarian notation / variable-type-prefixing naming convention due to the member names being - used directly in the generation of the JSON document.]]>6480plcAttribute_pytmcpv: Schema + used directly in the generation of the JSON document. + 648 + 0 + + twincat-event-0 + + + + plcAttribute_pytmc + pv: Schema io: i - field: DESC Schema stringtsLREAL64704plcAttribute_pytmcpv: Timestamp + field: DESC Schema string + + + + + ts + LREAL + 64 + 704 + + + plcAttribute_pytmc + pv: Timestamp io: i - field: DESC Unix timestampplcSTRING(80)648768plcAttribute_pytmcpv: Hostname + field: DESC Unix timestamp + + + + + plc + STRING(80) + 648 + 768 + + + plcAttribute_pytmc + pv: Hostname io: i - field: DESC PLC HostnameseverityTcEventSeverity161424plcAttribute_pytmcpv: Severity + field: DESC PLC Hostname + + + + + severity + TcEventSeverity + 16 + 1424 + + + plcAttribute_pytmc + pv: Severity io: i field: DESC TcEventSeverity field: ZRST Verbose field: ONST Info field: TWST Warning - field: THST ErroridUDINT321440plcAttribute_pytmcpv: MessageID + field: THST Error + + + + + id + UDINT + 32 + 1440 + + + plcAttribute_pytmc + pv: MessageID io: i - field: DESC TwinCAT Message IDevent_classSTRING(80)6481472plcAttribute_pytmcpv: EventClass + field: DESC TwinCAT Message ID + + + + + event_class + STRING(80) + 648 + 1472 + + + plcAttribute_pytmc + pv: EventClass io: i - field: DESC TwinCAT Event classmsgSTRING(255)20482120plcAttribute_pytmcpv: Message - io: isourceSTRING(255)20484168plcAttribute_pytmcpv: Source - io: ievent_typeE_LogEventType166224plcAttribute_pytmcpv: EventType + field: DESC TwinCAT Event class + + + + + msg + STRING(255) + 2048 + 2120 + + + plcAttribute_pytmc + pv: Message + io: i + + + + + source + STRING(255) + This is actually: T_MaxString + which has been expanded due to requirements for pinning global data types. + 2048 + 4168 + + + plcAttribute_pytmc + pv: Source + io: i + + + + + event_type + E_LogEventType + This is actually: STRING(Tc3_EventLogger.ParameterList.cSourceNameSize - 1) + which has been expanded due to requirements for pinning global data types. + 16 + 6224 + + + plcAttribute_pytmc + pv: EventType io: i - field: DESC The event typejsonSTRING(10000)800086240plcAttribute_pytmcpv: MessageJSON + field: DESC The event type + + + + + json + STRING(10000) + 80008 + 6240 + + + plcAttribute_pytmc + pv: MessageJSON io: i - field: DESC Metadata with the messageITcEventFilter32ITcUnknownITcEventListener32ITcUnknownITcAsyncCollection32ITcAsyncResultCountHRESULT32nCountUDINT32GetHRESULT32nIndexUDINT32pipValueITcUnknown32TcEventField16UINT0123456789101112plcAttribute_qualified_onlyplcAttribute_strictTcEventSortOrder16INT01plcAttribute_qualified_onlyplcAttribute_strictTcEventLimitType16UINT01plcAttribute_qualified_onlyplcAttribute_strictTcExportTimeFormat16UINT012345plcAttribute_qualified_onlyplcAttribute_strictTcExportTimeType16UINT01plcAttribute_qualified_onlyplcAttribute_strictTcExportTimePrecision16INT-103679plcAttribute_qualified_onlyplcAttribute_strictITcExportSettings32ITcUnknownSetSortingHRESULT32eFieldTcEventField16eOrderTcEventSortOrder16SetLimitHRESULT32eTypeTcEventLimitType16nLimitDINT32nOffsetDINT32SetTimeFormatHRESULT32eFormatTcExportTimeFormat16eTypeTcExportTimeType16ePrecisionTcExportTimePrecision16nLangIdDINT32sFormatPCCH32AddLanguageHRESULT32nLangIdDINT32sHeaderPCCH32AddFieldHRESULT32eTypeTcEventField16sHeaderPCCH32sPathPCCH32CreateFilterHRESULT32pipFilterITcEventFilter32AddFilterHRESULT32ipFilterITcEventFilter32ClearHRESULT32ITcClearLoggedEventsSettings32ITcUnknownSetSortingHRESULT32eFieldTcEventField16eOrderTcEventSortOrder16SetLimitHRESULT32eTypeTcEventLimitType16nLimitDINT32nOffsetDINT32AddFilterHRESULT32ipFilterITcEventFilter32ClearHRESULT32ITcRemoteEventLogger32ITcUnknownIsInitializedHRESULT32ConnectHRESULT32netIdAMSNETID32DisconnectHRESULT32IsConnectedHRESULT32GetAmsNetIdHRESULT32pAmsNetIdAMSNETID32ConfirmAlarmsHRESULT32timeStampULINT64ipFilterITcEventFilter32pipResultITcAsyncResult32ClearAlarmsHRESULT32timeStampULINT64bResetConfirmationBOOL3232ipFilterITcEventFilter32pipResultITcAsyncResult32AddListenerHRESULT32ipListenerITcEventListener32ipFilterITcEventFilter32RemoveListenerHRESULT32ipListenerITcEventListener32NotifyListenerHRESULT32ipListenerITcEventListener32SendTcMessageHRESULT32eventClassGUID32eventIdUDINT32severityTcEventSeverity16ipSourceInfoITcSourceInfo32timeStampULINT64ipSerializedArgumentsITcArguments32sJsonAttributePCCH32GetEventTextHRESULT32eventClassGUID32eventIdUDINT32ipSourceInfoITcSourceInfo32ipArgumentsITcArguments32nLangIdDINT32pipResultITcAsyncStringResult32GetEventClassNameHRESULT32eventClassGUID32nLangIdDINT32pipResultITcAsyncStringResult32GetCauseRemedyHRESULT32eventClassGUID32eventIdUDINT32nLangIdDINT32pipCollectionITcAsyncCollection32GetEventClassDetailsHRESULT32eventClassGUID32nLangIdDINT32pipCollectionITcAsyncCollection32GetEventDetailsHRESULT32eventClassGUID32eventIdUDINT32nLangIdDINT32pipCollectionITcAsyncCollection32GetActiveAlarmsHRESULT32pipCollectionITcAsyncCollection32GetLoggedEventsHRESULT32pipSettingsITcExportSettings32pipCollectionITcAsyncCollection32ClearLoggedEventsHRESULT32ipSettingsITcClearLoggedEventsSettings32pipResultITcAsyncResult32I_TcRemoteEventLogger32PVOID__getipDataITcRemoteEventLogger32propertyhideFB_RequestEventText96bBusyBOOL883304800bErrorBOOL883304844hrErrorCodeHRESULT3283304808nStringSizeUDINT3283304832sEventTextSTRING(255)204883304852__getbBusyBOOL8bBusyBOOL8b32IsBusyBOOL3232propertymonitoringcall__gethrErrorCodeHRESULT32hrErrorCodeHRESULT32hrErrorHRESULT32propertymonitoringcallRequestRemoteHRESULT32ipRemoteLoggerI_TcRemoteEventLogger32eventClassGUID128nEventIdUDINT32nLangIdDINT32ipArgsI_TcArguments32ipTcRemoteLoggerITcRemoteEventLogger32ipArgumentsITcArguments32conditionalshowGetStringBOOL8sResultSTRING(80)32nResultUDINT32__getnStringSizeUDINT32nStringSizeUDINT32pEmptySTRING(80)32propertymonitoringcallClear__getbErrorBOOL8bErrorBOOL8b32HasErrorBOOL3232propertymonitoringcallRequestHRESULT32eventClassGUID128nEventIdUDINT32nLangIdDINT32ipArgsI_TcArguments32ipArgumentsITcArguments32__getsEventTextSTRING(255)2048sEventTextSTRING(255)2048propertymonitoringcallTcEncodingUTF-8PouTypeFunctionBlockconditionalshow_all_localsno_explicit_calldo not call this POU directlyST_PendingEvent86400stEventInfoST_LoggingEventInfo862720pytmc + field: DESC Metadata with the message + + + + + + + + + ITcEventFilter + 32 + ITcUnknown + + + ITcEventListener + 32 + ITcUnknown + + + ITcAsyncCollection + 32 + ITcAsyncResult + + Count + HRESULT + 32 + + nCount + UDINT + 32 + + + + Get + HRESULT + 32 + + nIndex + UDINT + 32 + + + pipValue + ITcUnknown + 32 + + + + + TcEventField + 16 + UINT + + Id + 0 + + + SeverityLevel + 1 + + + EventClass + 2 + + + EventClassName + 3 + + + EventId + 4 + + + EventText + 5 + + + TimeRaised + 6 + + + TimeConfirmed + 7 + + + TimeCleared + 8 + + + SourceName + 9 + + + SourceId + 10 + + + SourceGuid + 11 + + + JsonAttribute + 12 + + + + plcAttribute_qualified_only + + + plcAttribute_strict + + + + + TcEventSortOrder + 16 + INT + + Descending + 0 + + + Ascending + 1 + + + + plcAttribute_qualified_only + + + plcAttribute_strict + + + + + TcEventLimitType + 16 + UINT + + First + 0 + + + Last + 1 + + + + plcAttribute_qualified_only + + + plcAttribute_strict + + + + + TcExportTimeFormat + 16 + UINT + + Filetime + 0 + + + Iso8601 + 1 + + + IecDateAndTime + 2 + + + VariantTime + 3 + + + Localized + 4 + + + Custom + 5 + + + + plcAttribute_qualified_only + + + plcAttribute_strict + + + + + TcExportTimeType + 16 + UINT + + UTC + 0 + + + LocaleTime + 1 + + + + plcAttribute_qualified_only + + + plcAttribute_strict + + + + + TcExportTimePrecision + 16 + INT + + Floating + -1 + + + Seconds + 0 + + + Milliseconds + 3 + + + Microseconds + 6 + + + OneHundertNanoseconds + 7 + + + Nanoseconds + 9 + + + + plcAttribute_qualified_only + + + plcAttribute_strict + + + + + ITcExportSettings + 32 + ITcUnknown + + SetSorting + HRESULT + 32 + + eField + TcEventField + 16 + + + eOrder + TcEventSortOrder + 16 + + + + SetLimit + HRESULT + 32 + + eType + TcEventLimitType + 16 + + + nLimit + DINT + 32 + + + nOffset + DINT + 32 + + + + SetTimeFormat + HRESULT + 32 + + eFormat + TcExportTimeFormat + 16 + + + eType + TcExportTimeType + 16 + + + ePrecision + TcExportTimePrecision + 16 + + + nLangId + DINT + 32 + + + sFormat + PCCH + 32 + + + + AddLanguage + HRESULT + 32 + + nLangId + DINT + 32 + + + sHeader + PCCH + 32 + + + + AddField + HRESULT + 32 + + eType + TcEventField + 16 + + + sHeader + PCCH + 32 + + + sPath + PCCH + 32 + + + + CreateFilter + HRESULT + 32 + + pipFilter + ITcEventFilter + 32 + + + + AddFilter + HRESULT + 32 + + ipFilter + ITcEventFilter + 32 + + + + Clear + HRESULT + 32 + + + + ITcClearLoggedEventsSettings + 32 + ITcUnknown + + SetSorting + HRESULT + 32 + + eField + TcEventField + 16 + + + eOrder + TcEventSortOrder + 16 + + + + SetLimit + HRESULT + 32 + + eType + TcEventLimitType + 16 + + + nLimit + DINT + 32 + + + nOffset + DINT + 32 + + + + AddFilter + HRESULT + 32 + + ipFilter + ITcEventFilter + 32 + + + + Clear + HRESULT + 32 + + + + ITcRemoteEventLogger + 32 + ITcUnknown + + IsInitialized + HRESULT + 32 + + + Connect + HRESULT + 32 + + netId + AMSNETID + 32 + + + + Disconnect + HRESULT + 32 + + + IsConnected + HRESULT + 32 + + + GetAmsNetId + HRESULT + 32 + + pAmsNetId + AMSNETID + 32 + + + + ConfirmAlarms + HRESULT + 32 + + timeStamp + ULINT + 64 + + + ipFilter + ITcEventFilter + 32 + + + pipResult + ITcAsyncResult + 32 + + + + ClearAlarms + HRESULT + 32 + + timeStamp + ULINT + 64 + + + bResetConfirmation + BOOL32 + 32 + + + ipFilter + ITcEventFilter + 32 + + + pipResult + ITcAsyncResult + 32 + + + + AddListener + HRESULT + 32 + + ipListener + ITcEventListener + 32 + + + ipFilter + ITcEventFilter + 32 + + + + RemoveListener + HRESULT + 32 + + ipListener + ITcEventListener + 32 + + + + NotifyListener + HRESULT + 32 + + ipListener + ITcEventListener + 32 + + + + SendTcMessage + HRESULT + 32 + + eventClass + GUID + 32 + + + eventId + UDINT + 32 + + + severity + TcEventSeverity + 16 + + + ipSourceInfo + ITcSourceInfo + 32 + + + timeStamp + ULINT + 64 + + + ipSerializedArguments + ITcArguments + 32 + + + sJsonAttribute + PCCH + 32 + + + + GetEventText + HRESULT + 32 + + eventClass + GUID + 32 + + + eventId + UDINT + 32 + + + ipSourceInfo + ITcSourceInfo + 32 + + + ipArguments + ITcArguments + 32 + + + nLangId + DINT + 32 + + + pipResult + ITcAsyncStringResult + 32 + + + + GetEventClassName + HRESULT + 32 + + eventClass + GUID + 32 + + + nLangId + DINT + 32 + + + pipResult + ITcAsyncStringResult + 32 + + + + GetCauseRemedy + HRESULT + 32 + + eventClass + GUID + 32 + + + eventId + UDINT + 32 + + + nLangId + DINT + 32 + + + pipCollection + ITcAsyncCollection + 32 + + + + GetEventClassDetails + HRESULT + 32 + + eventClass + GUID + 32 + + + nLangId + DINT + 32 + + + pipCollection + ITcAsyncCollection + 32 + + + + GetEventDetails + HRESULT + 32 + + eventClass + GUID + 32 + + + eventId + UDINT + 32 + + + nLangId + DINT + 32 + + + pipCollection + ITcAsyncCollection + 32 + + + + GetActiveAlarms + HRESULT + 32 + + pipCollection + ITcAsyncCollection + 32 + + + + GetLoggedEvents + HRESULT + 32 + + pipSettings + ITcExportSettings + 32 + + + pipCollection + ITcAsyncCollection + 32 + + + + ClearLoggedEvents + HRESULT + 32 + + ipSettings + ITcClearLoggedEventsSettings + 32 + + + pipResult + ITcAsyncResult + 32 + + + + + + + + I_TcRemoteEventLogger + 32 + PVOID + + __getipData + ITcRemoteEventLogger + 32 + + + property + + + hide + + + + + + FB_RequestEventText + 96 + + bBusy + BOOL + 8 + 83304800 + + + bError + BOOL + 8 + 83304844 + + + hrErrorCode + HRESULT + 32 + 83304808 + + + nStringSize + UDINT + 32 + 83304832 + + + sEventText + STRING(255) + 2048 + 83304852 + + + __getbBusy + BOOL + 8 + + bBusy + BOOL + 8 + + + b32IsBusy + BOOL32 + 32 + + + + property + + + monitoring + call + + + + + __gethrErrorCode + HRESULT + 32 + + hrErrorCode + HRESULT + 32 + + + hrError + HRESULT + 32 + + + + property + + + monitoring + call + + + + + RequestRemote + HRESULT + 32 + + ipRemoteLogger + I_TcRemoteEventLogger + 32 + + + eventClass + GUID + 128 + + + nEventId + UDINT + 32 + + + nLangId + English(US)=1033 ; German(Germay)=1031 + DINT + 32 + + + ipArgs + I_TcArguments + 32 + + + ipTcRemoteLogger + ITcRemoteEventLogger + 32 + + + ipArguments + ITcArguments + 32 + + + + conditionalshow + + + + + GetString + BOOL + 8 + + sResult + STRING(80) + 32 + + + nResult + buffer size in bytes + UDINT + 32 + + + + __getnStringSize + UDINT + 32 + + nStringSize + UDINT + 32 + + + pEmpty + STRING(80) + 32 + + + + property + + + monitoring + call + + + + + Clear + + + __getbError + BOOL + 8 + + bError + BOOL + 8 + + + b32HasError + BOOL32 + 32 + + + + property + + + monitoring + call + + + + + Request + HRESULT + 32 + + eventClass + GUID + 128 + + + nEventId + UDINT + 32 + + + nLangId + English(US)=1033 ; German(Germay)=1031 + DINT + 32 + + + ipArgs + I_TcArguments + 32 + + + ipArguments + ITcArguments + 32 + + + + __getsEventText + STRING(255) + 2048 + + sEventText + STRING(255) + 2048 + + + + property + + + monitoring + call + + + TcEncoding + UTF-8 + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + no_explicit_call + do not call this POU directly + + + + + ST_PendingEvent + 86400 + + stEventInfo + ST_LoggingEventInfo + 86272 + 0 + + + pytmc + pv: - bInUseBOOL886272fbRequestEventTextFB_RequestEventText9686304FB_JsonReadWriteDatatype96initStatusHRESULT3232-1743714536ItemTypeOutputipJsonITcIecApplicationJson3264GetJsonFromSymbolBOOL8sDatatype retrieve with GetDatatypeByAddreee()]]>STRING(80)32ItemTypeInOutnDataUDINT32pDataPVOID32nJsonUDINT32pJsonSTRING(80)32hrErrorCodeHRESULT32ItemTypeOutputCopyJsonStringFromSymbolPropertiesUDINT32sDatatype retrieve with GetDatatypeNameByAddress()]]>STRING(80)32ItemTypeInOutsPropertiesSTRING(80)32ItemTypeInOutpDocSTRING(80)32ItemTypeInOutnDocUDINT32hrErrorCodeHRESULT32ItemTypeOutputpTmpSTRING(80)32CopySymbolNameByAddressUDINT32nDataUDINT32pDataPVOID32sNameSTRING(80)32ItemTypeInOutnNameUDINT32hrErrorCodeHRESULT32ItemTypeOutputpTmpSTRING(80)32GetSizeJsonStringFromSymbolUDINT32sDatatype retrieve with GetDatatypeByAddreee()]]>STRING(80)32ItemTypeInOutnDataUDINT32pDataPVOID32hrErrorCodeHRESULT32ItemTypeOutputnSizeUDINT32pTmpSTRING(80)32GetJsonStringFromSymbolPropertiesSTRING(255)2048sDatatype retrieve with GetDatatypeByAddreee()]]>STRING(80)32ItemTypeInOutsPropertiesSTRING(80)32ItemTypeInOuthrErrorCodeHRESULT32ItemTypeOutputnSizeUDINT32pTmpSTRING(80)32AddJsonKeyPropertiesFromSymbolBOOL8fbWriterFB_JsonSaxWriter32ItemTypeInOutsKeySTRING(80)32ItemTypeInOutsDatatype retrieve with GetDatatypeByAddreee()]]>STRING(80)32ItemTypeInOutsPropertiesSTRING(80)32ItemTypeInOuthrErrorCodeHRESULT32ItemTypeOutputipWriterITcJsonSaxWriter32GetDatatypeNameByAddressSTRING(80)648nDataUDINT32pDataPVOID32hrErrorCodeHRESULT32ItemTypeOutputlengthUDINT32dataTypeSTRING(80)648SetSymbolFromJsonBOOL8sJsonSTRING(80)32ItemTypeInOutsDatatype retrieve with GetDatatypeByAddreee()]]>STRING(80)32ItemTypeInOutnDataUDINT32pDataPVOID32hrErrorCodeHRESULT32ItemTypeOutputGetSizeJsonStringFromSymbolPropertiesUDINT32sDatatype retrieve with GetDatatypeByAddreee()]]>STRING(80)32ItemTypeInOutsPropertiesSTRING(80)32ItemTypeInOuthrErrorCodeHRESULT32ItemTypeOutputnSizeUDINT32pTmpSTRING(80)32GetJsonStringFromSymbolSTRING(255)2048sDatatype retrieve with GetDatatypeByAddreee()]]>STRING(80)32ItemTypeInOutnDataUDINT32pDataPVOID32hrErrorCodeHRESULT32ItemTypeOutputnSizeUDINT32pTmpSTRING(80)32CopyJsonStringFromSymbolUDINT32sDatatype retrieve with GetDatatypeNameByAddress()]]>STRING(80)32ItemTypeInOutnDataUDINT32pDataPVOID32pDocSTRING(80)32ItemTypeInOutnDocUDINT32hrErrorCodeHRESULT32ItemTypeOutputpTmpSTRING(80)32GetSymbolNameByAddressSTRING(255)2048nDataUDINT32pDataPVOID32hrErrorCodeHRESULT32ItemTypeOutputlengthUDINT32AddJsonValueFromSymbolBOOL8fbWriterFB_JsonSaxWriter32ItemTypeInOutsDatatype retrieve with GetDatatypeByAddreee()]]>STRING(80)32ItemTypeInOutnDataUDINT32pDataPVOID32hrErrorCodeHRESULT32ItemTypeOutputipWriterITcJsonSaxWriter32AddJsonKeyValueFromSymbolBOOL8fbWriterFB_JsonSaxWriter32ItemTypeInOutsKeySTRING(80)32ItemTypeInOutsDatatype retrieve with GetDatatypeByAddreee()]]>STRING(80)32ItemTypeInOutnDataUDINT32pDataPVOID32hrErrorCodeHRESULT32ItemTypeOutputipWriterITcJsonSaxWriter32PouTypeFunctionBlockno_explicit_calldo not call this POU directlyT_IPv4Addr128STRING(15)E_SocketConnectionlessState16INTeSOCKET_CLOSED0eSOCKET_CREATED1eSOCKET_TRANSIENT2created or from created->closed ]]>FB_ConnectionlessSocket6784sSrvNetIDT_AmsNetIDserver runs on local system. ]]>19232ItemTypeInputnModeDWORD Disable debug messages, All other bits reserved. ]]>322240ItemTypeInputsLocalHostT_IPv4Addr128256ItemTypeInputnLocalPortUDINT323840ItemTypeInputbEnableBOOL8416ItemTypeInputtReconnectTIME3244845000ItemTypeInputbBusyBOOL8480ItemTypeOutputbErrorBOOL8488ItemTypeOutputnErrIDUDINT32512ItemTypeOutputhSocketT_HSOCKET352544ItemTypeOutputeStateE_SocketConnectionlessState168960ItemTypeOutputPouTypeFunctionBlockhide_all_localsFB_Listener944896FB_ListenerBasenEventIdxUINT16960nPendingEventsUINT161120bLogToVisualStudioBOOL81280pytmc + + + + + + bInUse + BOOL + 8 + 86272 + + + fbRequestEventText + FB_RequestEventText + 96 + 86304 + + + + FB_JsonReadWriteDatatype + 96 + + initStatus + HRESULT + 32 + 32 + + -1743714536 + + + + ItemType + Output + + + + + ipJson + ITcIecApplicationJson + 32 + 64 + + + GetJsonFromSymbol + BOOL + 8 + + sDatatype + data type name of symbol - if unknown -> retrieve with GetDatatypeByAddreee() + STRING(80) + 32 + + + ItemType + InOut + + + + + nData + size of symbol + UDINT + 32 + + + pData + address of sxmbol + PVOID + 32 + + + nJson + size of json buffer + UDINT + 32 + + + pJson + json buffer + STRING(80) + 32 + + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + + CopyJsonStringFromSymbolProperties + UDINT + 32 + + sDatatype + data type name of symbol - if unknown -> retrieve with GetDatatypeNameByAddress() + STRING(80) + 32 + + + ItemType + InOut + + + + + sProperties + multiple Properties separated by '|' + STRING(80) + 32 + + + ItemType + InOut + + + + + pDoc + target string buffer where the document should be copied to + STRING(80) + 32 + + + ItemType + InOut + + + + + nDoc + size in bytes of target string buffer + UDINT + 32 + + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + pTmp + STRING(80) + 32 + + + + CopySymbolNameByAddress + UDINT + 32 + + nData + size of symbol + UDINT + 32 + + + pData + address of symbol + PVOID + 32 + + + sName + target string buffer where the symbol name should be copied to + STRING(80) + 32 + + + ItemType + InOut + + + + + nName + size in bytes of target string buffer + UDINT + 32 + + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + pTmp + STRING(80) + 32 + + + + GetSizeJsonStringFromSymbol + UDINT + 32 + + sDatatype + data type name of symbol - if unknown -> retrieve with GetDatatypeByAddreee() + STRING(80) + 32 + + + ItemType + InOut + + + + + nData + size of symbol + UDINT + 32 + + + pData + address of symbol + PVOID + 32 + + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + nSize + UDINT + 32 + + + pTmp + STRING(80) + 32 + + + + GetJsonStringFromSymbolProperties + STRING(255) + 2048 + + sDatatype + data type name of symbol - if unknown -> retrieve with GetDatatypeByAddreee() + STRING(80) + 32 + + + ItemType + InOut + + + + + sProperties + multiple Properties separated by '|' + STRING(80) + 32 + + + ItemType + InOut + + + + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + nSize + UDINT + 32 + + + pTmp + STRING(80) + 32 + + + + AddJsonKeyPropertiesFromSymbol + BOOL + 8 + + fbWriter + FB_JsonSaxWriter + 32 + + + ItemType + InOut + + + + + sKey + STRING(80) + 32 + + + ItemType + InOut + + + + + sDatatype + data type name of symbol - if unknown -> retrieve with GetDatatypeByAddreee() + STRING(80) + 32 + + + ItemType + InOut + + + + + sProperties + multiple Properties separated by '|' + STRING(80) + 32 + + + ItemType + InOut + + + + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + ipWriter + ITcJsonSaxWriter + 32 + + + + GetDatatypeNameByAddress + STRING(80) + 648 + + nData + size of symbol + UDINT + 32 + + + pData + address of symbol + PVOID + 32 + + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + length + UDINT + 32 + + + dataType + STRING(80) + 648 + + + + SetSymbolFromJson + BOOL + 8 + + sJson + json string for the symbol + STRING(80) + 32 + + + ItemType + InOut + + + + + sDatatype + data type name of symbol - if unknown -> retrieve with GetDatatypeByAddreee() + STRING(80) + 32 + + + ItemType + InOut + + + + + nData + size of symbol + UDINT + 32 + + + pData + address of symbol + PVOID + 32 + + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + + GetSizeJsonStringFromSymbolProperties + UDINT + 32 + + sDatatype + data type name of symbol - if unknown -> retrieve with GetDatatypeByAddreee() + STRING(80) + 32 + + + ItemType + InOut + + + + + sProperties + multiple Properties separated by '|' + STRING(80) + 32 + + + ItemType + InOut + + + + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + nSize + UDINT + 32 + + + pTmp + STRING(80) + 32 + + + + GetJsonStringFromSymbol + STRING(255) + 2048 + + sDatatype + data type name of symbol - if unknown -> retrieve with GetDatatypeByAddreee() + STRING(80) + 32 + + + ItemType + InOut + + + + + nData + size of symbol + UDINT + 32 + + + pData + address of symbol + PVOID + 32 + + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + nSize + UDINT + 32 + + + pTmp + STRING(80) + 32 + + + + CopyJsonStringFromSymbol + UDINT + 32 + + sDatatype + data type name of symbol - if unknown -> retrieve with GetDatatypeNameByAddress() + STRING(80) + 32 + + + ItemType + InOut + + + + + nData + size of symbol + UDINT + 32 + + + pData + address of symbol + PVOID + 32 + + + pDoc + target string buffer where the document should be copied to + STRING(80) + 32 + + + ItemType + InOut + + + + + nDoc + size in bytes of target string buffer + UDINT + 32 + + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + pTmp + STRING(80) + 32 + + + + GetSymbolNameByAddress + STRING(255) + 2048 + + nData + size of symbol + UDINT + 32 + + + pData + address of symbol + PVOID + 32 + + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + length + UDINT + 32 + + + + AddJsonValueFromSymbol + BOOL + 8 + + fbWriter + FB_JsonSaxWriter + 32 + + + ItemType + InOut + + + + + sDatatype + data type name of symbol - if unknown -> retrieve with GetDatatypeByAddreee() + STRING(80) + 32 + + + ItemType + InOut + + + + + nData + size of symbol + UDINT + 32 + + + pData + address of sxmbol + PVOID + 32 + + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + ipWriter + ITcJsonSaxWriter + 32 + + + + AddJsonKeyValueFromSymbol + BOOL + 8 + + fbWriter + FB_JsonSaxWriter + 32 + + + ItemType + InOut + + + + + sKey + STRING(80) + 32 + + + ItemType + InOut + + + + + sDatatype + data type name of symbol - if unknown -> retrieve with GetDatatypeByAddreee() + STRING(80) + 32 + + + ItemType + InOut + + + + + nData + size of symbol + UDINT + 32 + + + pData + address of sxmbol + PVOID + 32 + + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + ipWriter + ITcJsonSaxWriter + 32 + + + + + PouType + FunctionBlock + + + no_explicit_call + do not call this POU directly + + + + + T_IPv4Addr + IPv4 network host address string. + 128 + STRING(15) + + + E_SocketConnectionlessState + 16 + INT + + eSOCKET_CLOSED + 0 + UDP socket is closed + + + eSOCKET_CREATED + 1 + UDP socket is created + + + eSOCKET_TRANSIENT + 2 + UDP socket state changes from closed->created or from created->closed + + + + FB_ConnectionlessSocket + This function block manages (creates and closes) connectionless UDP datagram socket + 6784 + + sSrvNetID + T_AmsNetID + The network address of the TcpIpServer.exe. If empty string=>server runs on local system. + 192 + 32 + + + + + + ItemType + Input + + + + + nMode + DWORD + Additional parameter flags e.g.: CONNECT_MODE_ENABLEDBG, 0 => Disable debug messages, All other bits reserved. + 32 + 224 + + 0 + + + + ItemType + Input + + + + + sLocalHost + T_IPv4Addr + Local address. String containing an (Ipv4) Internet Protocol dotted address. + 128 + 256 + + + + + + ItemType + Input + + + + + nLocalPort + UDINT + Local Internet Protocol (IP) port. + 32 + 384 + + 0 + + + + ItemType + Input + + + + + bEnable + BOOL + TRUE = Create UDP socket, FALSE = Close/don't open UDP socket + 8 + 416 + + + ItemType + Input + + + + + tReconnect + TIME + This timer specifies when create is retried. + 32 + 448 + + 45000 + + + + ItemType + Input + + + + + bBusy + BOOL + 8 + 480 + + + ItemType + Output + + + + + bError + BOOL + 8 + 488 + + + ItemType + Output + + + + + nErrID + UDINT + 32 + 512 + + + ItemType + Output + + + + + hSocket + T_HSOCKET + Created UDP socket handle + 352 + 544 + + + ItemType + Output + + + + + eState + E_SocketConnectionlessState + State + 16 + 896 + + 0 + + + + ItemType + Output + + + + + + PouType + FunctionBlock + + + hide_all_locals + + + + + FB_Listener + 944896 + FB_ListenerBase + + nEventIdx + UINT + 16 + 96 + + 0 + + + + nPendingEvents + UINT + 16 + 112 + + 0 + + + + bLogToVisualStudio + BOOL + 8 + 128 + + 0 + + + + pytmc + pv: LogToVisualStudio io: io - nCntMessagesSentUDINT321600pytmc + + + + + + nCntMessagesSent + UDINT + 32 + 160 + + 0 + + + + pytmc + pv: MessagesSent io: i - nCntAlarmsRaisedUDINT321920pytmc + + + + + + nCntAlarmsRaised + UDINT + 32 + 192 + + 0 + + + + pytmc + pv: AlarmsRaised io: i - nCntAlarmsConfirmedUDINT322240pytmc + + + + + + nCntAlarmsConfirmed + UDINT + 32 + 224 + + 0 + + + + pytmc + pv: AlarmsConfirmed io: i - nCntAlarmsClearedUDINT322560pytmc + + + + + + nCntAlarmsCleared + UDINT + 32 + 256 + + 0 + + + + pytmc + pv: AlarmsCleared io: i - eMinSeverityTcEventSeverity16288pytmc + + + + + + eMinSeverity + TcEventSeverity + 16 + 288 + + + pytmc + pv: MinSeverity io: io - stEventInfoST_LoggingEventInfo32320pytmc + + + + + + stEventInfo + ST_LoggingEventInfo + 32 + 320 + + + pytmc + pv: Log - stPendingEventsST_PendingEvent010864000384ipMessageConfigITcEventFilterConfig32864384fbSocketFB_ConnectionlessSocket32864416bConfiguredBOOL88644480nMaxEventsUINT1686446410__CONFIGURE__BSUBSCRIBEDBOOL88644800__PUBLISHEVENTS__FBJSONFB_JsonSaxWriter256864512__PUBLISHEVENTS__FBJSONDATATYPEFB_JsonReadWriteDatatype96864768__PUBLISHEVENTS__SJSONDOCSTRING(10000)80008864864OnAlarmRaisedfbEventFB_TcEvent32OnAlarmConfirmedfbEventFB_TcEvent32__getLogToVisualStudioBOOL8LogToVisualStudioBOOL8propertyOnAlarmClearedfbEventFB_TcEvent32SendMessageHRESULT32sMessageSTRING(80)32sLogStrT_MaxString2048OnMessageSentfbEventFB_TcEvent32PublishEventsHRESULT32nEventUINT16stPendingEventST_PendingEvent32stEventInfoST_LoggingEventInfo32fbRequestEventTextFB_RequestEventText32fbJsonFB_JsonSaxWriter256uselocation__PUBLISHEVENTS__FBJSONfbJsonDataTypeFB_JsonReadWriteDatatype96uselocation__PUBLISHEVENTS__FBJSONDATATYPEsJsonDocSTRING(10000)80008uselocation__PUBLISHEVENTS__SJSONDOCStoreEventHRESULT32fbEventFB_TcEvent32eEventTypeE_LogEventType16stPendingEventST_PendingEvent32stEventInfoST_LoggingEventInfo32nFailuresUINT16ConfigureHRESULT32i_EventClassGUID128i_MinSeverityTcEventSeverity16i_fbSocketFB_ConnectionlessSocket32bSubscribedBOOL8uselocation__CONFIGURE__BSUBSCRIBED__setLogToVisualStudioLogToVisualStudioBOOL8bValueBOOL8propertyPouTypeFunctionBlockFB_GetHostName3744sNetIDT_AmsNetID19232ItemTypeInputbExecuteBOOL8224ItemTypeInputtTimeoutTIME322565000ItemTypeInputbBusyBOOL8288ItemTypeOutputbErrorBOOL8296ItemTypeOutputnErrIDUDINT32320ItemTypeOutputsHostNameT_MaxString2048352ItemTypeOutputfbAdsReadADSREAD12482400.PORT10000.IDXGRP702.IDXOFFS0conditionalshowfbTriggerR_TRIG643648conditionalshowstateBYTE83712conditionalshowPouTypeFunctionBlockconditionalshow_all_localsFB_GetPLCHostname6176bEnableBOOL832ItemTypeInputtRetryDelayTIME326410000ItemTypeInputsHostnameT_MaxString204896ItemTypeOutputbDoneBOOL82144ItemTypeOutputbErrorBOOL82152ItemTypeOutputfbGetHostNameFB_GetHostName37442176tRetryTON2245920bResetBOOL86144bInitializedBOOL861520PouTypeFunctionBlockST_IPAdapterHwAddr96lengthUDINT3200bBYTE086432E_MIB_IF_Type16INTMIB_IF_TYPE_UNKNOWN0MIB_IF_TYPE_OTHER1MIB_IF_TYPE_ETHERNET6MIB_IF_TYPE_TOKENRING9MIB_IF_TYPE_FDDI15MIB_IF_TYPE_PPP23MIB_IF_TYPE_LOOPBACK24MIB_IF_TYPE_SLIP28ST_IPAdapterInfo4160bDefaultBOOL80sAdapterNameSTRING(259)20808sDescriptionSTRING(131)10562088physAddrST_IPAdapterHwAddr963168dwIndexDWORD323264eTypeE_MIB_IF_Type163296sIpAddrT_IPv4Addr1283312sSubNetT_IPv4Addr1283440sDefGatewayT_IPv4Addr1283568bDhcpEnabledBOOL83696sDhcpSrvT_IPv4Addr1283704bHaveWinsBOOL83832sPrimWinsSrvT_IPv4Addr1283840sSecWinsSrvT_IPv4Addr1283968tLeaseObtDATE_AND_TIME324096tLeaseExpDATE_AND_TIME324128ST_IP_ADDR_STRING320pNextDWORD3200sIpAddrT_IPv4Addr12832sIpMaskT_IPv4Addr128160dwContextDWORD322880conditionalshowST_IP_ADAPTER_INFO5120cbNextEntryOffsetDWORD 0 => offset to the next entry, If == 0 => last entry. TODO: Check the size of pNext on 64 bit target (change type to PVOID) ]]>3200dwComboIndexDWORD32320sAdapterNameSTRING(259)208064sDescriptionSTRING(131)10562144uiAddrLenUDINT3232000arrAddrBYTE08643232dwIndexDWORD3232960uiTypeUDINT3233280uiDhcpEnabledUDINT3233600pCurrIpAddrDWORD3233920stIpAddrListST_IP_ADDR_STRING3203424stGatewayListST_IP_ADDR_STRING3203744stDhcpServerST_IP_ADDR_STRING3204064iHaveWinsDINT3243840stPrimWinsSrvST_IP_ADDR_STRING3204416stSecWinsSrvST_IP_ADDR_STRING3204736tLeaseObtDATE_AND_TIME325056tLeaseExpDATE_AND_TIME325088conditionalshowFB_GetAdaptersInfo100640sNetIDT_AmsNetID19232ItemTypeInputbExecuteBOOL8224ItemTypeInputtTimeoutTIME322565000ItemTypeInputbBusyBOOL8288ItemTypeOutputbErrorBOOL8296ItemTypeOutputnErrIDUDINT32320ItemTypeOutputarrAdaptersST_IPAdapterInfo0624960352ItemTypeOutputnCountUDINT3225312ItemTypeOutputnGetUDINT3225344ItemTypeOutputfbAdsReadADSREAD124825376.PORT10000.IDXGRP701.IDXOFFS1conditionalshowfbRegQueryFB_RegQueryValue1030426624.sSubKeySoftware\Beckhoff\TwinCAT3\System.sValNameDefaultAdapterconditionalshowfbTriggerR_TRIG6436928conditionalshowstateBYTE836992conditionalshowcbInfoUDINT3237024conditionalshowidxUDINT3237056conditionalshowinfoST_IP_ADAPTER_INFO0126144037088conditionalshowpInfoST_IP_ADAPTER_INFO32985280conditionalshownRealCountUDINT32985600conditionalshowsDefaultAT_MaxString204898592conditionalshowPouTypeFunctionBlockconditionalshow_all_localsFB_GetPLCIPAddress101184bEnableBOOL832ItemTypeInputtRetryDelayTIME326410000ItemTypeInputsIPAddressSTRING(15)12896ItemTypeOutputbDoneBOOL8224ItemTypeOutputbErrorBOOL8232ItemTypeOutputfbGetAdapterIPFB_GetAdaptersInfo100640256.bExecute1.sNetIDiIndexUDINT32100896tRetryTON224100928bResetBOOL8101152bInitializedBOOL81011600PouTypeFunctionBlockCTU + + + + + stPendingEvents + ST_PendingEvent + + 0 + 10 + + 864000 + 384 + + + ipMessageConfig + ITcEventFilterConfig + 32 + 864384 + + + fbSocket + FB_ConnectionlessSocket + 32 + 864416 + + + bConfigured + BOOL + 8 + 864448 + + 0 + + + + nMaxEvents + UINT + The maximum number of events allowed *per-cycle* + 16 + 864464 + + 10 + + + + __CONFIGURE__BSUBSCRIBED + BOOL + 8 + 864480 + + 0 + + + + __PUBLISHEVENTS__FBJSON + FB_JsonSaxWriter + 256 + 864512 + + + __PUBLISHEVENTS__FBJSONDATATYPE + FB_JsonReadWriteDatatype + 96 + 864768 + + + __PUBLISHEVENTS__SJSONDOC + STRING(10000) + 80008 + 864864 + + + OnAlarmRaised + + fbEvent + FB_TcEvent + 32 + + + + OnAlarmConfirmed + + fbEvent + FB_TcEvent + 32 + + + + __getLogToVisualStudio + BOOL + 8 + + LogToVisualStudio + BOOL + 8 + + + + property + + + + + OnAlarmCleared + + fbEvent + FB_TcEvent + 32 + + + + SendMessage + HRESULT + 32 + + sMessage + STRING(80) + 32 + + + sLogStr + T_MaxString + 2048 + + + + OnMessageSent + + fbEvent + FB_TcEvent + 32 + + + + PublishEvents + HRESULT + 32 + + nEvent + UINT + 16 + + + stPendingEvent + ST_PendingEvent + 32 + + + stEventInfo + ST_LoggingEventInfo + 32 + + + fbRequestEventText + FB_RequestEventText + 32 + + + fbJson + FB_JsonSaxWriter + 256 + + + uselocation + __PUBLISHEVENTS__FBJSON + + + + + fbJsonDataType + FB_JsonReadWriteDatatype + 96 + + + uselocation + __PUBLISHEVENTS__FBJSONDATATYPE + + + + + sJsonDoc + STRING(10000) + 80008 + + + uselocation + __PUBLISHEVENTS__SJSONDOC + + + + + + StoreEvent + HRESULT + 32 + + fbEvent + FB_TcEvent + 32 + + + eEventType + E_LogEventType + 16 + + + stPendingEvent + ST_PendingEvent + 32 + + + stEventInfo + ST_LoggingEventInfo + 32 + + + nFailures + UINT + 16 + + + + Configure + HRESULT + 32 + + i_EventClass + GUID + 128 + + + i_MinSeverity + TcEventSeverity + 16 + + + i_fbSocket + FB_ConnectionlessSocket + 32 + + + bSubscribed + BOOL + 8 + + + uselocation + __CONFIGURE__BSUBSCRIBED + + + + + + __setLogToVisualStudio + + LogToVisualStudio + BOOL + 8 + + + bValue + BOOL + 8 + + + + property + + + + + + PouType + FunctionBlock + + + + + FB_GetHostName + The function block returns the standard host name for the local machine. + 3744 + + sNetID + T_AmsNetID + TwinCAT network address (ams net id) + 192 + 32 + + + ItemType + Input + + + + + bExecute + BOOL + Rising edge on this input activates the fb execution + 8 + 224 + + + ItemType + Input + + + + + tTimeout + TIME + Max. fb execution time + 32 + 256 + + 5000 + + + + ItemType + Input + + + + + bBusy + BOOL + 8 + 288 + + + ItemType + Output + + + + + bError + BOOL + 8 + 296 + + + ItemType + Output + + + + + nErrID + UDINT + 32 + 320 + + + ItemType + Output + + + + + sHostName + T_MaxString + The local host name + 2048 + 352 + + + ItemType + Output + + + + + fbAdsRead + ADSREAD + 1248 + 2400 + + + .PORT + 10000 + + + .IDXGRP + 702 + + + .IDXOFFS + 0 + + + + + conditionalshow + + + + + fbTrigger + R_TRIG + 64 + 3648 + + + conditionalshow + + + + + state + BYTE + 8 + 3712 + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + FB_GetPLCHostname + 6176 + + bEnable + BOOL + 8 + 32 + + + ItemType + Input + + + + + tRetryDelay + TIME + 32 + 64 + + 10000 + + + + ItemType + Input + + + + + sHostname + T_MaxString + 2048 + 96 + + + ItemType + Output + + + + + bDone + BOOL + 8 + 2144 + + + ItemType + Output + + + + + bError + BOOL + 8 + 2152 + + + ItemType + Output + + + + + fbGetHostName + FB_GetHostName + 3744 + 2176 + + + tRetry + TON + 224 + 5920 + + + bReset + BOOL + 8 + 6144 + + + bInitialized + BOOL + 8 + 6152 + + 0 + + + + + PouType + FunctionBlock + + + + + ST_IPAdapterHwAddr + Local adapter hardware address + 96 + + length + UDINT + Specifies the length of the hardware address for the adapter. + 32 + 0 + + 0 + + + + b + BYTE + + 0 + 8 + + Specifies the hardware address for the adapter. + 64 + 32 + + + + E_MIB_IF_Type + 16 + INT + + MIB_IF_TYPE_UNKNOWN + 0 + + + MIB_IF_TYPE_OTHER + 1 + + + MIB_IF_TYPE_ETHERNET + 6 + + + MIB_IF_TYPE_TOKENRING + 9 + + + MIB_IF_TYPE_FDDI + 15 + + + MIB_IF_TYPE_PPP + 23 + + + MIB_IF_TYPE_LOOPBACK + 24 + + + MIB_IF_TYPE_SLIP + 28 + + + + ST_IPAdapterInfo + Local adapter information + 4160 + + bDefault + BOOL + Specifies whether this adapter is default TwinCAT adapter. + 8 + 0 + + + sAdapterName + STRING(259) + Specifies the name of the adapter. + 2080 + 8 + + + + + + sDescription + STRING(131) + Specifies a description for the adapter. + 1056 + 2088 + + + + + + physAddr + ST_IPAdapterHwAddr + Hardware address + 96 + 3168 + + + dwIndex + DWORD + Specifies the adapter index. + 32 + 3264 + + + eType + E_MIB_IF_Type + Specifies the adapter type. + 16 + 3296 + + + sIpAddr + T_IPv4Addr + Specifies the IP address for this adapter. + 128 + 3312 + + + sSubNet + T_IPv4Addr + Specifies the IP address mask. + 128 + 3440 + + + sDefGateway + T_IPv4Addr + Specifies the IP address of the default gateway for this adapter. + 128 + 3568 + + + bDhcpEnabled + BOOL + Specifies whether dynamic host configuration protocol (DHCP) is enabled for this adapter. + 8 + 3696 + + + sDhcpSrv + T_IPv4Addr + Specifies the IP address of the DHCP server for this adapter. + 128 + 3704 + + + bHaveWins + BOOL + Specifies whether this adapter uses Windows Internet Name Service (WINS). + 8 + 3832 + + + sPrimWinsSrv + T_IPv4Addr + Specifies the IP address of the primary WINS server. + 128 + 3840 + + + sSecWinsSrv + T_IPv4Addr + Specifies the IP address of the secondary WINS server. + 128 + 3968 + + + tLeaseObt + DATE_AND_TIME + Specifies the time when the current DHCP lease was obtained ( UTC time ) + 32 + 4096 + + + tLeaseExp + DATE_AND_TIME + Specifies the time when the current DHCP lease will expire. ( UTC time ) + 32 + 4128 + + + + ST_IP_ADDR_STRING + 320 + + pNext + DWORD + Pointer : pNext element on 64 bit target is still 32bit due to 32bit system service + 32 + 0 + + 0 + + + + sIpAddr + T_IPv4Addr + 128 + 32 + + + sIpMask + T_IPv4Addr + 128 + 160 + + + dwContext + DWORD + 32 + 288 + + 0 + + + + + conditionalshow + + + + + ST_IP_ADAPTER_INFO + 5120 + + cbNextEntryOffset + DWORD + if <> 0 => offset to the next entry, If == 0 => last entry. TODO: Check the size of pNext on 64 bit target (change type to PVOID) + 32 + 0 + + 0 + + + + dwComboIndex + DWORD + 32 + 32 + + 0 + + + + sAdapterName + STRING(259) + 2080 + 64 + + + + + + sDescription + STRING(131) + 1056 + 2144 + + + + + + uiAddrLen + UDINT + 32 + 3200 + + 0 + + + + arrAddr + BYTE + + 0 + 8 + + 64 + 3232 + + + dwIndex + DWORD + 32 + 3296 + + 0 + + + + uiType + UDINT + 32 + 3328 + + 0 + + + + uiDhcpEnabled + UDINT + 32 + 3360 + + 0 + + + + pCurrIpAddr + DWORD + 32 + 3392 + + 0 + + + + stIpAddrList + ST_IP_ADDR_STRING + 320 + 3424 + + + stGatewayList + ST_IP_ADDR_STRING + 320 + 3744 + + + stDhcpServer + ST_IP_ADDR_STRING + 320 + 4064 + + + iHaveWins + DINT + 32 + 4384 + + 0 + + + + stPrimWinsSrv + ST_IP_ADDR_STRING + 320 + 4416 + + + stSecWinsSrv + ST_IP_ADDR_STRING + 320 + 4736 + + + tLeaseObt + DATE_AND_TIME + 32 + 5056 + + + tLeaseExp + DATE_AND_TIME + 32 + 5088 + + + + conditionalshow + + + + + FB_GetAdaptersInfo + This function block retrieves adapter information for the local computer. + 100640 + + sNetID + T_AmsNetID + TwinCAT network address (ams net id) + 192 + 32 + + + ItemType + Input + + + + + bExecute + BOOL + Rising edge on this input activates the fb execution + 8 + 224 + + + ItemType + Input + + + + + tTimeout + TIME + Max fb execution time + 32 + 256 + + 5000 + + + + ItemType + Input + + + + + bBusy + BOOL + 8 + 288 + + + ItemType + Output + + + + + bError + BOOL + 8 + 296 + + + ItemType + Output + + + + + nErrID + UDINT + 32 + 320 + + + ItemType + Output + + + + + arrAdapters + ST_IPAdapterInfo + + 0 + 6 + + 24960 + 352 + + + ItemType + Output + + + + + nCount + UDINT + Max. number of found adapters + 32 + 25312 + + + ItemType + Output + + + + + nGet + UDINT + Number of read adapter info entries + 32 + 25344 + + + ItemType + Output + + + + + fbAdsRead + ADSREAD + 1248 + 25376 + + + .PORT + 10000 + + + .IDXGRP + 701 + + + .IDXOFFS + 1 + + + + + conditionalshow + + + + + fbRegQuery + FB_RegQueryValue + 10304 + 26624 + + + .sSubKey + Software\Beckhoff\TwinCAT3\System + + + .sValName + DefaultAdapter + + + + + conditionalshow + + + + + fbTrigger + R_TRIG + 64 + 36928 + + + conditionalshow + + + + + state + BYTE + 8 + 36992 + + + conditionalshow + + + + + cbInfo + UDINT + 32 + 37024 + + + conditionalshow + + + + + idx + UDINT + 32 + 37056 + + + conditionalshow + + + + + info + ST_IP_ADAPTER_INFO + + 0 + 12 + + 61440 + 37088 + + + conditionalshow + + + + + pInfo + ST_IP_ADAPTER_INFO + 32 + 98528 + + 0 + + + + conditionalshow + + + + + nRealCount + UDINT + 32 + 98560 + + 0 + + + + conditionalshow + + + + + sDefaultA + T_MaxString + 2048 + 98592 + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + FB_GetPLCIPAddress + 101184 + + bEnable + BOOL + 8 + 32 + + + ItemType + Input + + + + + tRetryDelay + TIME + 32 + 64 + + 10000 + + + + ItemType + Input + + + + + sIPAddress + STRING(15) + 128 + 96 + + + ItemType + Output + + + + + bDone + BOOL + 8 + 224 + + + ItemType + Output + + + + + bError + BOOL + 8 + 232 + + + ItemType + Output + + + + + fbGetAdapterIP + FB_GetAdaptersInfo + Acquire IP of the correct adapter + 100640 + 256 + + + .bExecute + 1 + + + .sNetID + + + + + + iIndex + UDINT + 32 + 100896 + + + tRetry + TON + 224 + 100928 + + + bReset + BOOL + 8 + 101152 + + + bInitialized + BOOL + 8 + 101160 + + 0 + + + + + PouType + FunctionBlock + + + + + CTU + Counter Up. CV is incremented by 1 if CU has a rising edge. Q is TRUE, if CV is reached PV. -]]>128CUBOOL832ItemTypeInputRESETBOOL840ItemTypeInputPVWORD1648ItemTypeInputQBOOL864ItemTypeOutputCVWORD1680ItemTypeOutputMBOOL896conditionalshowPouTypeFunctionBlockconditionalshow_all_localsFB_LogHandler5784960fbTcAdsListenerFB_Listener94489664ItemTypeInputpytmc + + 128 + + CU + BOOL + Count Up + 8 + 32 + + + ItemType + Input + + + + + RESET + BOOL + Reset Counter to 0 + 8 + 40 + + + ItemType + Input + + + + + PV + WORD + Counter Limit + 16 + 48 + + + ItemType + Input + + + + + Q + BOOL + Counter reached the Limit + 8 + 64 + + + ItemType + Output + + + + + CV + WORD + Current Counter Value + 16 + 80 + + + ItemType + Output + + + + + M + BOOL + 8 + 96 + + + conditionalshow + + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + FB_LogHandler + 5784960 + + fbTcAdsListener + FB_Listener + 944896 + 64 + + + ItemType + Input + + + pytmc + pv: ADS - fbTcRouterListenerFB_Listener944896944960ItemTypeInputpytmc + + + + + + fbTcRouterListener + FB_Listener + 944896 + 944960 + + + ItemType + Input + + + pytmc + pv: Router - fbTcRTimeListenerFB_Listener9448961889856ItemTypeInputpytmc + + + + + + fbTcRTimeListener + FB_Listener + 944896 + 1889856 + + + ItemType + Input + + + pytmc + pv: RTime - fbTcSystemListenerFB_Listener9448962834752ItemTypeInputpytmc + + + + + + fbTcSystemListener + FB_Listener + 944896 + 2834752 + + + ItemType + Input + + + pytmc + pv: System - fbWindowsListenerFB_Listener9448963779648ItemTypeInputpytmc + + + + + + fbWindowsListener + FB_Listener + 944896 + 3779648 + + + ItemType + Input + + + pytmc + pv: Windows - fbLCLSListenerFB_Listener9448964724544ItemTypeInputpytmc + + + + + + fbLCLSListener + FB_Listener + 944896 + 4724544 + + + ItemType + Input + + + pytmc + pv: LCLS - bInitializedBOOL856694400bReadyToLogBOOL856694480rtFirstLogR_TRIG645669472fbGetHostNameFB_GetPLCHostname61765669536fbGetIPFB_GetPLCIPAddress1011845675712fbListenerFB_Listener325776896fbListenersFB_Listener061925776928eMinSeverityTcEventSeverity1657771200rtResetR_TRIG645777152namingomitbResetBOOL85777216fbSocketFB_ConnectionlessSocket67845777248nIUINT165784032SocketEnableBOOL85784048ctuSocketErrorCTU1285784064.PV3tRetryConnectionTON2245784192.PT3600000tofTrickleBreakerPreTOF2245784416.PT1000tonTrickleBreakerTON2245784640.PT10000bTripConBOOL85784864nNumListenersUINT1657848806DisarmCountDefaultUINT1657848965CircuitBreakerPouTypeFunctionBlockST_DbStateParams2496sPmpsStateSTRING(80)6480pytmc + + + + + + bInitialized + BOOL + 8 + 5669440 + + 0 + + + + bReadyToLog + BOOL + 8 + 5669448 + + 0 + + + + rtFirstLog + R_TRIG + 64 + 5669472 + + + fbGetHostName + FB_GetPLCHostname + 6176 + 5669536 + + + fbGetIP + FB_GetPLCIPAddress + 101184 + 5675712 + + + fbListener + FB_Listener + 32 + 5776896 + + + fbListeners + FB_Listener + + 0 + 6 + + 192 + 5776928 + + + eMinSeverity + TcEventSeverity + Default minimum severity for subscriptions + 16 + 5777120 + + 0 + + + + rtReset + R_TRIG + Reset trigger + 64 + 5777152 + + + naming + omit + + + + + bReset + BOOL + 8 + 5777216 + + + fbSocket + FB_ConnectionlessSocket + 6784 + 5777248 + + + nI + UINT + 16 + 5784032 + + + SocketEnable + BOOL + 8 + 5784048 + + + ctuSocketError + CTU + Circuit breaker for socket errors. 3 errors before it stops. + 128 + 5784064 + + + .PV + 3 + + + + + tRetryConnection + TON + Retry after an hour + 224 + 5784192 + + + .PT + 3600000 + + + + + tofTrickleBreakerPre + TOF + 224 + 5784416 + + + .PT + 1000 + + + + + tonTrickleBreaker + TON + 224 + 5784640 + + + .PT + 10000 + + + + + bTripCon + BOOL + 8 + 5784864 + + + nNumListeners + UINT + 16 + 5784880 + + 6 + + + + DisarmCountDefault + UINT + # number of cycles to permit below threshold condition + 16 + 5784896 + + 5 + + + + CircuitBreaker + + + + PouType + FunctionBlock + + + + + ST_DbStateParams + 2496 + + sPmpsState + STRING(80) + PMPS database lookup name for this state + 648 + 0 + + + pytmc + pv: PMPS_STATE io: i field: DESC PMPS Database Lookup Key - stBeamParamsST_BeamParams1760672pytmc + + + + + + stBeamParams + ST_BeamParams + Beam parameters associated with this state + 1760 + 672 + + + pytmc + pv: BP io: i - bBeamParamsLoadedBOOL82432pytmc + + + + + + bBeamParamsLoaded + BOOL + Set to TRUE once the PMPS library has loaded a valid state from the database + 8 + 2432 + + + pytmc + pv: PMPS_LOADED io: i field: DESC TRUE if PMPS loaded parameters from the database. - nRequestAssertionIDUDINT322464pytmc + + + + + + nRequestAssertionID + UDINT + Transition ID associated with this state + 32 + 2464 + + + pytmc + pv: PMPS_ID io: i field: DESC Assertion Request ID - DUT_PositionState3648sNameSTRING(80)6480Invalidpytmc + + + + + + + DUT_PositionState + 3648 + + sName + STRING(80) + Name as queried via the NAME PV in EPICS + 648 + 0 + + Invalid + + + + pytmc + pv: NAME io: input field: DESC Name of this position state - fPositionLREAL64704pytmc + + + + + + fPosition + LREAL + Position associated with this state + 64 + 704 + + + pytmc + pv: SETPOINT io: io field: DESC Axis position associated with this state - nEncoderCountUDINT32768pytmc + + + + + + nEncoderCount + UDINT + 32 + 768 + + + pytmc + pv: ENCODER io: i field: DESC Encoder count associated with this state - fDeltaLREAL64832pytmc + + + + + + fDelta + LREAL + Maximum allowable deviation from fPosition while at the state + 64 + 832 + + + pytmc + pv: DELTA io: io field: DRVL 0.0 field: DESC Max deviation from position at this state - fVelocityLREAL64896pytmc + + + + + + fVelocity + LREAL + Speed at which to move to this state + 64 + 896 + + + pytmc + pv: VELO io: io field: DESC Speed at which to move to this state - fAccelLREAL64960pytmc + + + + + + fAccel + LREAL + (optional) Acceleration to use for moves to this state + 64 + 960 + + + pytmc + pv: ACCL io: io field: DESC Acceleration to use for moves to this state - fDecelLREAL641024pytmc + + + + + + fDecel + LREAL + (optional) Deceleration to use for moves to this state + 64 + 1024 + + + pytmc + pv: DCCL io: io field: DESC Deceleration to use for moves to this state - bMoveOkBOOL81088pytmc + + + + + + bMoveOk + BOOL + Safety parameter. This must be set to TRUE by the PLC program to allow moves to this state. This is expected to change as conditions change. + 8 + 1088 + + + pytmc + pv: MOVE_OK io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if the move would be safe - bLockedBOOL81096pytmc + + + + + + bLocked + BOOL + Signifies to FB_PositionStateLock that this state should be immutable + 8 + 1096 + + + pytmc + pv: LOCKED io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if state is immutable - bValidBOOL81104pytmc + + + + + + bValid + BOOL + Set this to TRUE when you make your state. This defaults to FALSE so that uninitialized states can never be moved to + 8 + 1104 + + + pytmc + pv: VALID io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if this is a real state - bUseRawCountsBOOL81112bUpdatedBOOL81120stPMPSST_DbStateParams24961152pytmc + + + + + + bUseRawCounts + BOOL + Set this to TRUE when you want to use the raw encoder counts to define the state + 8 + 1112 + + + bUpdated + BOOL + Is set to TRUE by FB_PositionStateInternal when called + 8 + 1120 + + + stPMPS + ST_DbStateParams + We give this a state name and it is used to load parameters from the pmps database. + 2496 + 1152 + + + pytmc + pv: - ENUM_MotionRequest16INTWAIT0INTERRUPT1ABORT2FB_MotionRequest1600stMotionStageDUT_MotionStage3232ItemTypeInOutbExecuteBOOL864ItemTypeInputbResetBOOL872ItemTypeInputenumMotionRequestENUM_MotionRequest16800ItemTypeInputfPosLREAL64128ItemTypeInputfVelLREAL64192ItemTypeInputfAccLREAL64256ItemTypeInputfDecLREAL64320ItemTypeInputbErrorBOOL8384ItemTypeOutputnErrorIdUDINT32416ItemTypeOutputsErrorMessageSTRING(80)648448ItemTypeOutputbBusyBOOL81096ItemTypeOutputbDoneBOOL81104ItemTypeOutputrtExecR_TRIG641120ftExecF_TRIG641184rtResetR_TRIG641248ftBusyF_TRIG641312nStateUINT1613760bMyMoveBOOL81392bCausedErrorBOOL81400INITUINT1614080WAIT_EXECUINT1614241PICK_REQUESTUINT1614402WAIT_OTHER_MOVEUINT1614563STOP_OTHER_MOVEUINT1614724START_MOVEUINT1614885WAIT_MY_MOVEUINT1615046STOP_MY_MOVEUINT1615207DONE_MOVINGUINT1615368ERRORUINT1615529PouTypeFunctionBlockFB_PositionStateMove2560stMotionStageDUT_MotionStage3232ItemTypeInOutstPositionStateDUT_PositionState3264ItemTypeInOutpytmc + + + + + + + ENUM_MotionRequest + 16 + INT + + WAIT + 0 + + + INTERRUPT + 1 + + + ABORT + 2 + + + + FB_MotionRequest + 1600 + + stMotionStage + DUT_MotionStage + Motor to move + 32 + 32 + + + ItemType + InOut + + + + + bExecute + BOOL + Start move on rising edge, stop move on falling edge + 8 + 64 + + + ItemType + Input + + + + + bReset + BOOL + Reset errors on rising edge + 8 + 72 + + + ItemType + Input + + + + + enumMotionRequest + ENUM_MotionRequest + Define behavior for when the motor is already moving + 16 + 80 + + 0 + + + + ItemType + Input + + + + + fPos + LREAL + Goal position + 64 + 128 + + + ItemType + Input + + + + + fVel + LREAL + Move velocity + 64 + 192 + + + ItemType + Input + + + + + fAcc + LREAL + Optional acceleration + 64 + 256 + + + ItemType + Input + + + + + fDec + LREAL + Optional deceleration + 64 + 320 + + + ItemType + Input + + + + + bError + BOOL + True if in error state + 8 + 384 + + + ItemType + Output + + + + + nErrorId + UDINT + Error code + 32 + 416 + + + ItemType + Output + + + + + sErrorMessage + STRING(80) + What the error code means + 648 + 448 + + + ItemType + Output + + + + + bBusy + BOOL + If TRUE, we are moving the motor + 8 + 1096 + + + ItemType + Output + + + + + bDone + BOOL + If TRUE, we are not moving the motor and our most recent move was successful + 8 + 1104 + + + ItemType + Output + + + + + rtExec + R_TRIG + 64 + 1120 + + + ftExec + F_TRIG + 64 + 1184 + + + rtReset + R_TRIG + 64 + 1248 + + + ftBusy + F_TRIG + 64 + 1312 + + + nState + UINT + 16 + 1376 + + 0 + + + + bMyMove + BOOL + 8 + 1392 + + + bCausedError + BOOL + 8 + 1400 + + + INIT + UINT + 16 + 1408 + + 0 + + + + WAIT_EXEC + UINT + 16 + 1424 + + 1 + + + + PICK_REQUEST + UINT + 16 + 1440 + + 2 + + + + WAIT_OTHER_MOVE + UINT + 16 + 1456 + + 3 + + + + STOP_OTHER_MOVE + UINT + 16 + 1472 + + 4 + + + + START_MOVE + UINT + 16 + 1488 + + 5 + + + + WAIT_MY_MOVE + UINT + 16 + 1504 + + 6 + + + + STOP_MY_MOVE + UINT + 16 + 1520 + + 7 + + + + DONE_MOVING + UINT + 16 + 1536 + + 8 + + + + ERROR + UINT + 16 + 1552 + + 9 + + + + + PouType + FunctionBlock + + + + + FB_PositionStateMove + 2560 + + stMotionStage + DUT_MotionStage + Motor to move + 32 + 32 + + + ItemType + InOut + + + + + stPositionState + DUT_PositionState + State to move to + 32 + 64 + + + ItemType + InOut + + + pytmc + pv: - bExecuteBOOL896ItemTypeInputpytmc + + + + + + bExecute + BOOL + Start move on rising edge, stop move on falling edge + 8 + 96 + + + ItemType + Input + + + pytmc + pv: GO io: io field: ZNAM False field: ONAM True - bResetBOOL8104ItemTypeInputpytmc + + + + + + bReset + BOOL + Rising edge error reset + 8 + 104 + + + ItemType + Input + + + pytmc + pv: RESET io: io field: ZNAM False field: ONAM True - enumMotionRequestENUM_MotionRequest161120ItemTypeInputbAtStateBOOL8128ItemTypeOutputpytmc + + + + + + enumMotionRequest + ENUM_MotionRequest + Define behavior for when a move is already active + 16 + 112 + + 0 + + + + ItemType + Input + + + + + bAtState + BOOL + TRUE if the motor is at this state + 8 + 128 + + + ItemType + Output + + + pytmc + pv: AT_STATE io: input field: ZNAM False field: ONAM True - bErrorBOOL8136ItemTypeOutputpytmc + + + + + + bError + BOOL + TRUE if we have an error + 8 + 136 + + + ItemType + Output + + + pytmc + pv: ERR io: input field: ZNAM False field: ONAM True - nErrorIDUDINT32160ItemTypeOutputpytmc + + + + + + nErrorID + UDINT + Error code + 32 + 160 + + + ItemType + Output + + + pytmc + pv: ERRID io: input - sErrorMessageSTRING(80)648192ItemTypeOutputpytmc + + + + + + sErrorMessage + STRING(80) + Error description + 648 + 192 + + + ItemType + Output + + + pytmc + pv: ERRMSG io: input - bBusyBOOL8840ItemTypeOutputpytmc + + + + + + bBusy + BOOL + TRUE if we are moving to a state + 8 + 840 + + + ItemType + Output + + + pytmc + pv: BUSY io: input field: ZNAM False field: ONAM True - bDoneBOOL8848ItemTypeOutputpytmc + + + + + + bDone + BOOL + TRUE if we are note moving and we reached a state successfully on our last move + 8 + 848 + + + ItemType + Output + + + pytmc + pv: DONE io: input field: ZNAM False field: ONAM True - fbMotionRequestFB_MotionRequest1600896bAllowMoveBOOL82496PouTypeFunctionBlockFB_RawCountConverter8576stParametersST_AxisParameterSet819264ItemTypeInputnCountCheckUDINT328256ItemTypeInputfPosCheckLREAL648320ItemTypeInputnCountGetUDINT328384ItemTypeOutputfPosGetLREAL648448ItemTypeOutputbBusyBOOL88512ItemTypeOutputbDoneBOOL88520ItemTypeOutputbErrorBOOL88528ItemTypeOutputPouTypeFunctionBlockFB_PositionStateLock3840stPositionStateDUT_PositionState3232ItemTypeInOutbEnableBOOL864ItemTypeInputstCachedPositionStateDUT_PositionState3648128bInitBOOL837760PouTypeFunctionBlockFB_PositionStateInternal12544stMotionStageDUT_MotionStage3232ItemTypeInOutstPositionStateDUT_PositionState3264ItemTypeInOutfbEncConverterFB_RawCountConverter8576128fbLockFB_PositionStateLock38408704PouTypeFunctionBlockFB_PositionStateBase253824stMotionStageDUT_MotionStage3232ItemTypeInOutbEnableBOOL864ItemTypeInputbResetBOOL872ItemTypeInputpytmc + + + + + + fbMotionRequest + FB_MotionRequest + 1600 + 896 + + + bAllowMove + BOOL + 8 + 2496 + + + + PouType + FunctionBlock + + + + + FB_RawCountConverter + 8576 + + stParameters + ST_AxisParameterSet + Parameters to check against + 8192 + 64 + + + ItemType + Input + + + + + nCountCheck + UDINT + Optional count to convert to a real position + 32 + 8256 + + + ItemType + Input + + + + + fPosCheck + LREAL + Optional position to convert to encoder counts + 64 + 8320 + + + ItemType + Input + + + + + nCountGet + UDINT + If converting position, the number of counts + 32 + 8384 + + + ItemType + Output + + + + + fPosGet + LREAL + If converting counts, the position + 64 + 8448 + + + ItemType + Output + + + + + bBusy + BOOL + True during a parameter get/calc + 8 + 8512 + + + ItemType + Output + + + + + bDone + BOOL + True after a successful get/calc + 8 + 8520 + + + ItemType + Output + + + + + bError + BOOL + True if the calculation errored + 8 + 8528 + + + ItemType + Output + + + + + + PouType + FunctionBlock + + + + + FB_PositionStateLock + 3840 + + stPositionState + DUT_PositionState + 32 + 32 + + + ItemType + InOut + + + + + bEnable + BOOL + 8 + 64 + + + ItemType + Input + + + + + stCachedPositionState + DUT_PositionState + 3648 + 128 + + + bInit + BOOL + 8 + 3776 + + 0 + + + + + PouType + FunctionBlock + + + + + FB_PositionStateInternal + 12544 + + stMotionStage + DUT_MotionStage + 32 + 32 + + + ItemType + InOut + + + + + stPositionState + DUT_PositionState + 32 + 64 + + + ItemType + InOut + + + + + fbEncConverter + FB_RawCountConverter + 8576 + 128 + + + fbLock + FB_PositionStateLock + 3840 + 8704 + + + + PouType + FunctionBlock + + + + + FB_PositionStateBase + 253824 + + stMotionStage + DUT_MotionStage + Motor to move + 32 + 32 + + + ItemType + InOut + + + + + bEnable + BOOL + If TRUE, start a move when setState transitions to a nonzero number + 8 + 64 + + + ItemType + Input + + + + + bReset + BOOL + On rising edge, reset this FB + 8 + 72 + + + ItemType + Input + + + pytmc + pv: RESET io: io field: ZNAM False field: ONAM True - bErrorBOOL880ItemTypeOutputpytmc + + + + + + bError + BOOL + If TRUE, there is an error + 8 + 80 + + + ItemType + Output + + + pytmc + pv: ERR io: i field: ZNAM False field: ONAM True - nErrorIdUDINT3296ItemTypeOutputpytmc + + + + + + nErrorId + UDINT + Error ID + 32 + 96 + + + ItemType + Output + + + pytmc + pv: ERRID io: i - sErrorMessageSTRING(80)648128ItemTypeOutputpytmc + + + + + + sErrorMessage + STRING(80) + The error that caused bError to flip TRUE + 648 + 128 + + + ItemType + Output + + + pytmc + pv: ERRMSG io: i - bBusyBOOL8776ItemTypeOutputpytmc + + + + + + bBusy + BOOL + If TRUE, we are moving the motor + 8 + 776 + + + ItemType + Output + + + pytmc + pv: BUSY io: i field: ZNAM False field: ONAM True - bDoneBOOL8784ItemTypeOutputpytmc + + + + + + bDone + BOOL + If TRUE, we are not moving the motor and the last move completed successfully + 8 + 784 + + + ItemType + Output + + + pytmc + pv: DONE io: i field: ZNAM False field: ONAM True - arrStatesDUT_PositionState11554720832pytmc + + + + + + arrStates + DUT_PositionState + + 1 + 15 + + Pre-allocated array of states + 54720 + 832 + + + pytmc + pv: io: io expand: %.2d - setStateINT1655552goalStateINT1655568getStateINT1655584bInitBOOL855600stUnknownDUT_PositionState364855616stGoalDUT_PositionState364859264fbStateMoveFB_PositionStateMove256062912fbStateInternalFB_PositionStateInternal11518816065472nIndexINT16253632bNewGoalBOOL8253648bInnerExecBOOL8253656bInnerResetBOOL8253664rtResetR_TRIG64253696bMoveRequestedBOOL8253760ExecStateHandlerPouTypeFunctionBlockI_HigherAuthority32PVOIDCheckRequestBOOL8nReqIDDWORD32RemoveRequestBOOL8nReqIDDWORD32RequestBPBOOL8nReqIDDWORD32stReqBPST_BeamParams1760I_LowerAuthority32PVOID__getnLowerAuthorityIDDWORD32propertyElevateRequestBOOL8HigherAuthorityI_HigherAuthority32T_HashTableEntry64keyDWORD3200pytmc + + + + + + setState + INT + Corresponding arrStates index to move to, or 0 if no move selected + 16 + 55552 + + + goalState + INT + The current position we are trying to reach, or 0 + 16 + 55568 + + + getState + INT + The readback position + 16 + 55584 + + + bInit + BOOL + 8 + 55600 + + + stUnknown + DUT_PositionState + 3648 + 55616 + + + stGoal + DUT_PositionState + 3648 + 59264 + + + fbStateMove + FB_PositionStateMove + 2560 + 62912 + + + fbStateInternal + FB_PositionStateInternal + + 1 + 15 + + 188160 + 65472 + + + nIndex + INT + 16 + 253632 + + + bNewGoal + BOOL + 8 + 253648 + + + bInnerExec + BOOL + 8 + 253656 + + + bInnerReset + BOOL + 8 + 253664 + + + rtReset + R_TRIG + 64 + 253696 + + + bMoveRequested + BOOL + 8 + 253760 + + + Exec + + + StateHandler + + + + PouType + FunctionBlock + + + + + I_HigherAuthority + 32 + PVOID + + CheckRequest + BOOL + 8 + + nReqID + DWORD + 32 + + + + RemoveRequest + BOOL + 8 + + nReqID + StateID to remove + DWORD + 32 + + + + RequestBP + BOOL + 8 + + nReqID + StateID of state requesting beam parameter set + DWORD + 32 + + + stReqBP + Requested beam params + ST_BeamParams + 1760 + + + + + I_LowerAuthority + 32 + PVOID + + __getnLowerAuthorityID + DWORD + 32 + + + property + + + + + ElevateRequest + BOOL + 8 + + HigherAuthority + I_HigherAuthority + 32 + + + + + T_HashTableEntry + 64 + + key + DWORD + 32 + 0 + + 0 + + + + pytmc + pv: Key io: i - valuePVOID32320ST_BP_ArbInternal2464ST_BeamParamsnIdDWORD321760pytmcpv: ID + + + + + + value + PVOID + 32 + 32 + + 0 + + + + + ST_BP_ArbInternal + 2464 + ST_BeamParams + + nId + DWORD + 32 + 1760 + + + pytmc + pv: ID io: i - LiveInTableBOOL81792pytmcpv: Live + + + + + + LiveInTable + BOOL + 8 + 1792 + + + pytmc + pv: Live io: i - sDevNameSTRING(80)6481800pytmcpv: Device + + + + + + sDevName + STRING(80) + 648 + 1800 + + + pytmc + pv: Device io: i - T_HashTableEntry192keyDWORD3200valuePVOID32320lockDWORD: 0 = node free, 1 = node in use, other bits reserved ]]>32640conditionalshowpNextPVOID32960conditionalshowpNextFreePVOID321280conditionalshowpNextGlobPVOID321600conditionalshowT_HHASHTABLE3488nCountUDINT3200nFreeUDINT32320pEntriesT_HashTableEntry32640conditionalshowcbEntriesUDINT32960conditionalshownElementsUDINT321280conditionalshowcbElementUDINT321600conditionalshowpEntrysT_HashTableEntry01013232192conditionalshowpFreeEntrysT_HashTableEntry3234240conditionalshowpFirstEntryT_HashTableEntry3234560conditionalshowFB_HashTableCtrl352hTableT_HHASHTABLE3232ItemTypeInOutkeyDWORD32640ItemTypeInputputValuePVOID32960ItemTypeInputputPosPtrT_HashTableEntry321280ItemTypeInputbOkBOOL81600ItemTypeOutputgetValuePVOID321920ItemTypeOutputgetPosPtrT_HashTableEntry322240ItemTypeOutputpT_HashTableEntry322560conditionalshownT_HashTableEntry322880conditionalshownHashDWORD323200conditionalshowA_ResetA_RemoveAllA_GetNextA_GetIndexAtPosPtrA_AddA_RemoveA_GetFirstA_RemoveFirstA_LookupPouTypeFunctionBlockconditionalshow_all_localsFB_BeamParamAssertionPool214336keyDWORD32320ItemTypeInputputPosPtrT_HashTableEntry32640ItemTypeInputputValueST_BP_ArbInternal246496ItemTypeInputbOkBOOL825600ItemTypeOutputgetPosPtrT_HashTableEntry3225920ItemTypeOutputgetValueST_BP_ArbInternal24642624ItemTypeOutputnCountUDINT3250880ItemTypeOutputepicsDataPoolST_BP_ArbInternal120492805120pytmc + + + + + + + T_HashTableEntry + Hash table entry + 192 + + key + DWORD + Entry key: 32 bit unsigned integer or pointer + 32 + 0 + + 0 + + + + value + PVOID + Entry value: 32/64 bit unsigned integer or pointer + 32 + 32 + + 0 + + + + lock + DWORD + Node state flags: Bit 0 <0..1>: 0 = node free, 1 = node in use, other bits reserved + 32 + 64 + + 0 + + + + conditionalshow + + + + + pNext + PVOID + Pointer to next hash table element + 32 + 96 + + 0 + + + + conditionalshow + + + + + pNextFree + PVOID + Pointer to next free element + 32 + 128 + + 0 + + + + conditionalshow + + + + + pNextGlob + PVOID + Pointer to next global element + 32 + 160 + + 0 + + + + conditionalshow + + + + + + T_HHASHTABLE + Hash table object handle + 3488 + + nCount + UDINT + Number of used hash table entries + 32 + 0 + + 0 + + + + nFree + UDINT + Number of free hash table entries + 32 + 32 + + 0 + + + + pEntries + T_HashTableEntry + Pointer to table array + 32 + 64 + + 0 + + + + conditionalshow + + + + + cbEntries + UDINT + Byte size of table array + 32 + 96 + + 0 + + + + conditionalshow + + + + + nElements + UDINT + Number of table/array elements + 32 + 128 + + 0 + + + + conditionalshow + + + + + cbElement + UDINT + Byte size of one array element + 32 + 160 + + 0 + + + + conditionalshow + + + + + pEntrys + T_HashTableEntry + + 0 + 101 + + 3232 + 192 + + + conditionalshow + + + + + pFreeEntrys + T_HashTableEntry + 32 + 3424 + + 0 + + + + conditionalshow + + + + + pFirstEntry + T_HashTableEntry + 32 + 3456 + + 0 + + + + conditionalshow + + + + + + FB_HashTableCtrl + Hash table control function block + 352 + + hTable + T_HHASHTABLE + Hash table handle variable + 32 + 32 + + + ItemType + InOut + + + + + key + DWORD + Entry key: 32 bit unsigned integer or pointer, used by A_Lookup, A_Remove method, the key.lookup variable is also used by A_Add method + 32 + 64 + + 0 + + + + ItemType + Input + + + + + putValue + PVOID + Entry value: 32/64 bit unsigned integer or pointer + 32 + 96 + + 0 + + + + ItemType + Input + + + + + putPosPtr + T_HashTableEntry + Hash table entry position pointer, used by A_GetNext + 32 + 128 + + 0 + + + + ItemType + Input + + + + + bOk + BOOL + TRUE = success, FALSE = error + 8 + 160 + + 0 + + + + ItemType + Output + + + + + getValue + PVOID + Entry value: 32/64 bit unsigned integer or pointer + 32 + 192 + + 0 + + + + ItemType + Output + + + + + getPosPtr + T_HashTableEntry + returned by A_GetFirstEntry, A_GetNextEntry, A_Add, A_Lookup and A_Remove method + 32 + 224 + + 0 + + + + ItemType + Output + + + + + p + T_HashTableEntry + 32 + 256 + + 0 + + + + conditionalshow + + + + + n + T_HashTableEntry + 32 + 288 + + 0 + + + + conditionalshow + + + + + nHash + DWORD + 32 + 320 + + 0 + + + + conditionalshow + + + + + A_Reset + + + A_RemoveAll + + + A_GetNext + + + A_GetIndexAtPosPtr + + + A_Add + + + A_Remove + + + A_GetFirst + + + A_RemoveFirst + + + A_Lookup + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + FB_BeamParamAssertionPool + This function block implements simple database. Data element values are stored in the hash table. + 214336 + + key + DWORD + Entry key: used by A_Lookup, A_Remove method, the key variable is also used by A_Add method + 32 + 32 + + 0 + + + + ItemType + Input + + + + + putPosPtr + T_HashTableEntry + Hash table entry position pointer (used by A_Find, A_GetNext, A_GetPrev) + 32 + 64 + + 0 + + + + ItemType + Input + + + + + putValue + ST_BP_ArbInternal + Hash table entry value (used by A_AddHead, A_AddTail, A_Find ) + 2464 + 96 + + + ItemType + Input + + + + + bOk + BOOL + TRUE = Success, FALSE = Failed + 8 + 2560 + + 0 + + + + ItemType + Output + + + + + getPosPtr + T_HashTableEntry + Returned hash table entry position pointer + 32 + 2592 + + 0 + + + + ItemType + Output + + + + + getValue + ST_BP_ArbInternal + Returned hash table entry value + 2464 + 2624 + + + ItemType + Output + + + + + nCount + UDINT + Hash table size (number of used entries, used by A_Count) + 32 + 5088 + + 0 + + + + ItemType + Output + + + + + epicsDataPool + ST_BP_ArbInternal + + 1 + 20 + + Structured data element pool for display in EPICS + 49280 + 5120 + + + pytmc + pv: Entry io: i - dataPoolST_BP_ArbInternal06115030454400entriesT_HashTableEntry0613904204704fbTableFB_HashTableCtrl352208608hTableT_HHASHTABLE3488208960pRefPtrST_BP_ArbInternal322124480indexOfElemULINT32bit, x64=>64bit)]]>64212480cstSafeBeamST_BeamParams1760212544.nTran0.neVRange0.nRate0.nBCRange0A_ResetA_CountDataPoolToEpicsA_AddA_RemoveA_GetFirstA_GetNextA_LookupPouTypeFunctionBlockno_checkFB_Arbiter + + + + + dataPool + ST_BP_ArbInternal + + 0 + 61 + + Structured data element pool + 150304 + 54400 + + + entries + T_HashTableEntry + + 0 + 61 + + Max. number of hash table entries. The value of table entry = 32 bit integer (pointer to dataPool-array-entry) + 3904 + 204704 + + + fbTable + FB_HashTableCtrl + basic hash table control function block + 352 + 208608 + + + hTable + T_HHASHTABLE + hash table handle + 3488 + 208960 + + + pRefPtr + ST_BP_ArbInternal + 32 + 212448 + + 0 + + + + indexOfElem + ULINT + Integer value (max. size: x86=>32bit, x64=>64bit) + 64 + 212480 + + + cstSafeBeam + ST_BeamParams + MG + 1760 + 212544 + + + .nTran + 0 + + + .neVRange + 0 + + + .nRate + 0 + + + .nBCRange + 0 + + + + + A_Reset + + + A_Count + + + DataPoolToEpics + + + A_Add + + + A_Remove + + + A_GetFirst + + + A_GetNext + + + A_Lookup + + + + PouType + FunctionBlock + + + no_check + + + + + FB_Arbiter + FB Arbiter A. Wallace 2020-6-26 The arbiter primary objectives are: @@ -941,868 +50654,11470 @@ The hash table can be thought of as an array on steriods, they are worth reading the hash table will tell you when you reach the end of all the entries, and enables us to find entries quickly. These features efficiently address the addition, removal, and verification of beam parameter sets listed in the above requirements. -]]>474624I_HigherAuthorityI_LowerAuthoritynRequestsCountUDINT3296fbBPAssertionPoolFB_BeamParamAssertionPool214336128pytmc + + 474624 + I_HigherAuthority + I_LowerAuthority + + nRequestsCount + UDINT + How many requests are currently in the arbiter + 32 + 96 + + + fbBPAssertionPool + FB_BeamParamAssertionPool + Table of active beam parameter assertions + 214336 + 128 + + + pytmc + pv: AP io: i field: DESC Assertion Pool - xRequestMadeBOOL8214464nArbiterIDUDINT32214496pytmc + + + + + + xRequestMade + BOOL + Arbiter has confirmed its request has made it into the beam parameter request + 8 + 214464 + + + nArbiterID + UDINT + Arbiter ID, used for making higher-level BP requests + 32 + 214496 + + + pytmc + pv: ArbiterID io: i field: DESC Arbiter ID for elev. req. - nNextCohortUDINT322145281nAckInProgCohortUDINT322145600nActiveCohortUDINT322145920pytmc + + + + + + nNextCohort + UDINT + The cohort ID any new requests will adopt, will become ReqInProgCohort at the start of the next acknowledgement cycle + 32 + 214528 + + 1 + + + + nAckInProgCohort + UDINT + The cohort ID currently being acknowledged, will become nActiveCohort after acknowledgement from HA + 32 + 214560 + + 0 + + + + nActiveCohort + UDINT + Requests with cohorts <= to this value will be considered active in CheckRequest + 32 + 214592 + + 0 + + + + pytmc + pv: CohortCounter io: i field: DESC Intrnl cohort counter - bStartNewAckRequestBOOL8214624bAckInProgressBOOL8214632idTransmissionDWORD32214656idRateDWORD32214688sPathT_MaxString2048214720instance-pathnoinitsArbNameT_MaxString2048216768InfoStringFmtrFB_FormatString7840218816bVerboseBOOL82266560q_stBeamParamsST_BeamParams1760226688ItemTypeOutputpytmc + + + + + + bStartNewAckRequest + BOOL + Set by an add or remove method call, triggers an ack cycle + 8 + 214624 + + + bAckInProgress + BOOL + Set by ElevateReq when there is a new ack request and reset when the ack cycle is complete + 8 + 214632 + + + idTransmission + DWORD + ID of BP limiting transmission + 32 + 214656 + + + idRate + DWORD + ID of BP limiting rate + 32 + 214688 + + + sPath + T_MaxString + 2048 + 214720 + + + instance-path + + + noinit + + + + + sArbName + T_MaxString + 2048 + 216768 + + + InfoStringFmtr + FB_FormatString + 7840 + 218816 + + + bVerbose + BOOL + 8 + 226656 + + 0 + + + + q_stBeamParams + ST_BeamParams + Updated on each cycle of the arbiter FB with the current arbitrated beam parameter set + 1760 + 226688 + + + ItemType + Output + + + pytmc + pv: ArbitratedBP io: i field: DESC Arbitrated BP - q_xStateIDFoundBOOL8228448ItemTypeOutput__GETARBITRATEDBP__XFIRSTPASSBOOL82284561__GETARBITRATEDBP__FBGETCURTASKIDXGETCURTASKINDEX128228480__GETARBITRATEDBP__LASTCYCLECOUNTUDINT32228608__GETARBITRATEDBP__FBLOGMESSAGEFB_LogMessage81984228672__ADDREQUEST__FBLOGFB_LogMessage81984310656__REMOVEREQUEST__FBLOGFB_LogMessage81984392640__getnEntryCountUDINT32nEntryCountUDINT32propertyCheckRequestBOOL8nReqIDDWORD32BPST_BeamParams1760ElevateRequestBOOL8HigherAuthorityI_HigherAuthority32GetArbitratedBPST_BeamParams1760getPosPtrT_HashTableEntry32getBPStructIntST_BP_ArbInternal2464stOutputBPST_BP_ArbInternal2464xFirstPassBOOL8uselocation__GETARBITRATEDBP__XFIRSTPASSfbGetCurTaskIdxGETCURTASKINDEX128uselocation__GETARBITRATEDBP__FBGETCURTASKIDXLastCycleCountUDINT32uselocation__GETARBITRATEDBP__LASTCYCLECOUNTfbLogMessageFB_LogMessage81984uselocation__GETARBITRATEDBP__FBLOGMESSAGEArbitrateBPST_BP_ArbInternal2464stBP1ST_BP_ArbInternal2464stBP2ST_BP_ArbInternal2464idxUINT16bcBitmaskWORD16no_check__getnLowerAuthorityIDDWORD32nLowerAuthorityIDDWORD32propertyAddRequestBOOL8nReqIDDWORD32stReqBPST_BeamParams1760sDevNameSTRING(80)648BP_IntST_BP_ArbInternal2464fbLogFB_LogMessage81984uselocation__ADDREQUEST__FBLOGRemoveRequestBOOL8nReqIdDWORD32fbLogFB_LogMessage81984uselocation__REMOVEREQUEST__FBLOGBP_IntST_BP_ArbInternal2464CheckRequestInPoolBOOL8nReqIDDWORD32RequestBPBOOL8nReqIDDWORD32stReqBPST_BeamParams1760PouTypeFunctionBlockreflectionFB_PositionStatePMPS_Base19392stMotionStageDUT_MotionStage3232ItemTypeInOutarrStatesDUT_PositionState1153264ItemTypeInOutbArbiterEnabledBOOL8961ItemTypeInputbMaintModeBOOL8104ItemTypeInputpytmc + + + + + + q_xStateIDFound + BOOL + Set true if a state-id is found in the assertion pool after calling A_VerifyAssertion + 8 + 228448 + + + ItemType + Output + + + + + __GETARBITRATEDBP__XFIRSTPASS + BOOL + 8 + 228456 + + 1 + + + + __GETARBITRATEDBP__FBGETCURTASKIDX + GETCURTASKINDEX + 128 + 228480 + + + __GETARBITRATEDBP__LASTCYCLECOUNT + UDINT + 32 + 228608 + + + __GETARBITRATEDBP__FBLOGMESSAGE + FB_LogMessage + 81984 + 228672 + + + __ADDREQUEST__FBLOG + FB_LogMessage + 81984 + 310656 + + + __REMOVEREQUEST__FBLOG + FB_LogMessage + 81984 + 392640 + + + __getnEntryCount + UDINT + 32 + + nEntryCount + UDINT + 32 + + + + property + + + + + CheckRequest + BOOL + 8 + + nReqID + DWORD + 32 + + + BP + ST_BeamParams + 1760 + + + + ElevateRequest + BOOL + 8 + + HigherAuthority + I_HigherAuthority + 32 + + + + GetArbitratedBP + ST_BeamParams + 1760 + + getPosPtr + T_HashTableEntry + 32 + + + getBPStructInt + ST_BP_ArbInternal + 2464 + + + stOutputBP + Holding struct for arbitration process + ST_BP_ArbInternal + 2464 + + + xFirstPass + BOOL + 8 + + + uselocation + __GETARBITRATEDBP__XFIRSTPASS + + + + + fbGetCurTaskIdx + GETCURTASKINDEX + 128 + + + uselocation + __GETARBITRATEDBP__FBGETCURTASKIDX + + + + + LastCycleCount + UDINT + 32 + + + uselocation + __GETARBITRATEDBP__LASTCYCLECOUNT + + + + + fbLogMessage + FB_LogMessage + 81984 + + + uselocation + __GETARBITRATEDBP__FBLOGMESSAGE + + + + + + ArbitrateBP + ST_BP_ArbInternal + 2464 + + stBP1 + ST_BP_ArbInternal + 2464 + + + stBP2 + ST_BP_ArbInternal + 2464 + + + idx + UINT + 16 + + + bcBitmask + WORD + 16 + + + + no_check + + + + + __getnLowerAuthorityID + DWORD + 32 + + nLowerAuthorityID + DWORD + 32 + + + + property + + + + + AddRequest + BOOL + 8 + + nReqID + Unique ID within aribter for the request. Make sure this is unique for every device + state combination + DWORD + 32 + + + stReqBP + Requested beam params + ST_BeamParams + 1760 + + + sDevName + Name of the device making the request + STRING(80) + 648 + + + BP_Int + ST_BP_ArbInternal + 2464 + + + fbLog + FB_LogMessage + 81984 + + + uselocation + __ADDREQUEST__FBLOG + + + + + + RemoveRequest + BOOL + 8 + + nReqId + DWORD + 32 + + + fbLog + FB_LogMessage + 81984 + + + uselocation + __REMOVEREQUEST__FBLOG + + + + + BP_Int + ST_BP_ArbInternal + 2464 + + + + CheckRequestInPool + BOOL + 8 + + nReqID + DWORD + 32 + + + + RequestBP + BOOL + 8 + + nReqID + StateID of state requesting beam parameter set + DWORD + 32 + + + stReqBP + Requested beam params + ST_BeamParams + 1760 + + + + + PouType + FunctionBlock + + + reflection + + + + + FB_PositionStatePMPS_Base + 19392 + + stMotionStage + DUT_MotionStage + 32 + 32 + + + ItemType + InOut + + + + + arrStates + DUT_PositionState + + 1 + 15 + + 32 + 64 + + + ItemType + InOut + + + + + bArbiterEnabled + BOOL + 8 + 96 + + 1 + + + + ItemType + Input + + + + + bMaintMode + BOOL + 8 + 104 + + + ItemType + Input + + + pytmc + pv: MAINT io: io - bRequestTransitionBOOL8112ItemTypeInputsetStateINT16128ItemTypeInputgetStateINT16144ItemTypeInputfStateBoundaryDeadbandLREAL641920ItemTypeInputtArbiterTimeoutTIME322561000ItemTypeInputbMoveOnArbiterTimeoutBOOL82881ItemTypeInputbTransitionAuthorizedBOOL8296ItemTypeOutputbForwardAuthorizedBOOL8304ItemTypeOutputbBackwardAuthorizedBOOL8312ItemTypeOutputbArbiterTimeoutBOOL8320ItemTypeOutputstTransitionDbST_DbStateParams2496352pytmc + + + + + + bRequestTransition + BOOL + 8 + 112 + + + ItemType + Input + + + + + setState + INT + 16 + 128 + + + ItemType + Input + + + + + getState + INT + 16 + 144 + + + ItemType + Input + + + + + fStateBoundaryDeadband + LREAL + 64 + 192 + + 0 + + + + ItemType + Input + + + + + tArbiterTimeout + TIME + 32 + 256 + + 1000 + + + + ItemType + Input + + + + + bMoveOnArbiterTimeout + BOOL + 8 + 288 + + 1 + + + + ItemType + Input + + + + + bTransitionAuthorized + BOOL + 8 + 296 + + + ItemType + Output + + + + + bForwardAuthorized + BOOL + 8 + 304 + + + ItemType + Output + + + + + bBackwardAuthorized + BOOL + 8 + 312 + + + ItemType + Output + + + + + bArbiterTimeout + BOOL + 8 + 320 + + + ItemType + Output + + + + + stTransitionDb + ST_DbStateParams + 2496 + 352 + + + pytmc + pv: TRANS io: i - stTransitionBeamST_BeamParams17602848stTransitionStateDUT_PositionState36484608bInitBOOL882561bTransDoneBOOL88264rtTransReqR_TRIG648288bBPTMDoneBOOL88352rtBPTMDoneR_TRIG648384ftMotorExecF_TRIG648448rtTransDoneR_TRIG648512rtDoLateFinishR_TRIG648576tonDoneTON2248640stStateReqDUT_PositionState36488896mcPowerMC_Power76812544fUpperBoundLREAL6413312fLowerBoundLREAL6413376nGoalStateINT1613440stGoalStateDUT_PositionState364813504fActPosLREAL6417152fReqPosLREAL6417216bInTransitionBOOL817280stBeamNeededST_BeamParams176017312bFwdOkBOOL819072bBwdOkBOOL819080tonArbiterTON22419104bLateFinishBOOL819328bInternalAuthBOOL819336AssertHereHandleBPTMHandleFFOClearAssertsExecHandlePmpsDbGetBeamFromStateST_BeamParams1760nStateINT16stStateDUT_PositionState3648GetStateCodeINT16nStateINT16GetStateStructDUT_PositionState3648nStateINT16PouTypeFunctionBlockFB_JsonDocToSafeBP109440bExecuteBOOL832ItemTypeInputjsonDocSJsonValue3264ItemTypeInputsDeviceNameSTRING(80)64896ItemTypeInputbHasDeviceBOOL8744ItemTypeOutputbHasAllStatesBOOL8752ItemTypeOutputbHasAllParametersBOOL87601ItemTypeOutputbBusyBOOL8768ItemTypeOutputbErrorBOOL8776ItemTypeOutputnErrIdUDINT32800ItemTypeOutputsErrMsgSTRING(80)648832ItemTypeOutputarrStatesST_DbStateParams321504ItemTypeInputvariable_length_arrayDimensions1io_fbFFHWOFB_HardwareFFOutput321536ItemTypeInOutfbJsonFB_JsonDomParser2881568jsonPropSJsonValue321856jsonValueSJsonValue321888jsonParamSJsonValue321920jsonnTranSJsonValue321952jsonnRateSJsonValue321984StepINT162016indexDINT322048nStateCountDINT322080RisingEdgeR_TRIG642112tNewMessageR_TRIG642176fbLoggerFB_LogMessage819842240.eSubsystem2.nMinTimeViolationAcceptable10FFOFB_FastFault2508884224.i_DescFault occurs when there is an error loading safe beam parameters from json file.i_TypeCode65299sbuffReadSmallINT16109312ACT_FFOACT_LoggerM_LoadSafeBPBOOL8sStateNameSTRING(80)648IndexDINT32sApertureSTRING(80)648nApertureINT16sEVSTRING(80)648sBCSTRING(80)648nIndexINT16PouTypeFunctionBlockE_BPTMState16INTInit0NewTarget1000RequestBP1500WaitForBP2500WaitingForTransitionAssertion2000WaitingForFinalAssertion3000Transitioning4000WaitForFinalBP5000CleaningUp6000Idle10000Done8000Error9000FB_Index + + + + + stTransitionBeam + ST_BeamParams + 1760 + 2848 + + + stTransitionState + DUT_PositionState + 3648 + 4608 + + + bInit + BOOL + 8 + 8256 + + 1 + + + + bTransDone + BOOL + 8 + 8264 + + + rtTransReq + R_TRIG + 64 + 8288 + + + bBPTMDone + BOOL + 8 + 8352 + + + rtBPTMDone + R_TRIG + 64 + 8384 + + + ftMotorExec + F_TRIG + 64 + 8448 + + + rtTransDone + R_TRIG + 64 + 8512 + + + rtDoLateFinish + R_TRIG + 64 + 8576 + + + tonDone + TON + 224 + 8640 + + + stStateReq + DUT_PositionState + 3648 + 8896 + + + mcPower + MC_Power + 768 + 12544 + + + fUpperBound + LREAL + 64 + 13312 + + + fLowerBound + LREAL + 64 + 13376 + + + nGoalState + INT + 16 + 13440 + + + stGoalState + DUT_PositionState + 3648 + 13504 + + + fActPos + LREAL + 64 + 17152 + + + fReqPos + LREAL + 64 + 17216 + + + bInTransition + BOOL + 8 + 17280 + + + stBeamNeeded + ST_BeamParams + 1760 + 17312 + + + bFwdOk + BOOL + 8 + 19072 + + + bBwdOk + BOOL + 8 + 19080 + + + tonArbiter + TON + 224 + 19104 + + + bLateFinish + BOOL + 8 + 19328 + + + bInternalAuth + BOOL + 8 + 19336 + + + AssertHere + + + HandleBPTM + + + HandleFFO + + + ClearAsserts + + + Exec + + + HandlePmpsDb + + + GetBeamFromState + ST_BeamParams + 1760 + + nState + INT + 16 + + + stState + DUT_PositionState + 3648 + + + + GetStateCode + INT + 16 + + nState + INT + 16 + + + + GetStateStruct + DUT_PositionState + 3648 + + nState + INT + 16 + + + + + PouType + FunctionBlock + + + + + FB_JsonDocToSafeBP + 109440 + + bExecute + BOOL + Rising Edge + 8 + 32 + + + ItemType + Input + + + + + jsonDoc + SJsonValue + 32 + 64 + + + ItemType + Input + + + + + sDeviceName + STRING(80) + 648 + 96 + + + ItemType + Input + + + + + bHasDevice + BOOL + 8 + 744 + + + ItemType + Output + + + + + bHasAllStates + BOOL + 8 + 752 + + + ItemType + Output + + + + + bHasAllParameters + BOOL + 8 + 760 + + 1 + + + + ItemType + Output + + + + + bBusy + BOOL + 8 + 768 + + + ItemType + Output + + + + + bError + BOOL + 8 + 776 + + + ItemType + Output + + + + + nErrId + UDINT + 32 + 800 + + + ItemType + Output + + + + + sErrMsg + STRING(80) + 648 + 832 + + + ItemType + Output + + + + + arrStates + ST_DbStateParams + ARRAY [1.. MOTION_GVL.MAX_STATES] ; + 32 + 1504 + + + ItemType + Input + + + variable_length_array + + + Dimensions + 1 + + + + + io_fbFFHWO + FB_HardwareFFOutput + 32 + 1536 + + + ItemType + InOut + + + + + fbJson + FB_JsonDomParser + JSON + 288 + 1568 + + + jsonProp + SJsonValue + 32 + 1856 + + + jsonValue + SJsonValue + 32 + 1888 + + + jsonParam + SJsonValue + 32 + 1920 + + + jsonnTran + SJsonValue + 32 + 1952 + + + jsonnRate + SJsonValue + 32 + 1984 + + + Step + INT + 16 + 2016 + + + index + DINT + 32 + 2048 + + + nStateCount + DINT + 32 + 2080 + + + RisingEdge + R_TRIG + 64 + 2112 + + + tNewMessage + R_TRIG + Logger + 64 + 2176 + + + fbLogger + FB_LogMessage + 81984 + 2240 + + + .eSubsystem + 2 + + + .nMinTimeViolationAcceptable + 10 + + + + + FFO + FB_FastFault + FFO + 25088 + 84224 + + + .i_Desc + Fault occurs when there is an error loading safe beam parameters from json file + + + .i_TypeCode + 65299 + + + + + sbuffReadSmall + INT + 16 + 109312 + + + ACT_FFO + + + ACT_Logger + + + M_LoadSafeBP + BOOL + 8 + + sStateName + STRING(80) + 648 + + + Index + DINT + 32 + + + sAperture + bHasAllParameters : BOOL := TRUE; + STRING(80) + 648 + + + nAperture + INT + 16 + + + sEV + STRING(80) + 648 + + + sBC + STRING(80) + 648 + + + nIndex + INT + 16 + + + + + PouType + FunctionBlock + + + + + E_BPTMState + 16 + INT + + Init + 0 + + + NewTarget + 1000 + + + RequestBP + 1500 + + + WaitForBP + 2500 + + + WaitingForTransitionAssertion + 2000 + + + WaitingForFinalAssertion + 3000 + + + Transitioning + 4000 + + + WaitForFinalBP + 5000 + + + CleaningUp + 6000 + + + Idle + 10000 + + + Done + 8000 + + + Error + 9000 + + + + FB_Index + Index FB A. Wallace 2016-9-3 Why doesn't beckhoff have this as a builtin type? Use this thing to have a simple indexer with rollover. -]]>96LowerLimitINT16321ItemTypeInputnamingoffValIncINT16481ItemTypeInputUpperLimitINT16641ItemTypeInputnValINT16801namingoffDecIncDecValINT16IncValINT16PouTypeFunctionBlockBeamParameterTransitionManager + 96 + + LowerLimit + INT + Incrementer will rollver over to this value (and initialize to this value) + 16 + 32 + + 1 + + + + ItemType + Input + + + naming + off + + + + + ValInc + INT + Incrementer increments by this value + 16 + 48 + + 1 + + + + ItemType + Input + + + + + UpperLimit + INT + Incrementer will rollover at this value to lower limit + 16 + 64 + + 1 + + + + ItemType + Input + + + + + nVal + INT + Internal incrementer value, initialized to LowerLimit + 16 + 80 + + 1 + + + + naming + off + + + + + Dec + + + Inc + + + DecVal + INT + 16 + + + IncVal + INT + 16 + + + + PouType + FunctionBlock + + + + + BeamParameterTransitionManager + Implements the procedure for safely transitioning between device states. NOTE: The BPTM will throw an error if the arbiter does not have enough space for the transition and new final assertion. - ]]>60256fbArbiterFB_Arbiter3232ItemTypeInOuti_sDeviceNameSTRING(80)64864DeviceItemTypeInputi_TransitionAssertionIDUDINT327360ItemTypeInputi_stTransitionAssertionST_BeamParams1760768ItemTypeInputi_nRequestedAssertionIDUDINT3225280ItemTypeInputi_stRequestedAssertionST_BeamParams17602560.nTran0.neVRange0.nRate0.nBCRange0ItemTypeInputi_xMovingBOOL]]>843200ItemTypeInputi_xDoneMovingBOOL843280ItemTypeInputstCurrentBeamParametersST_BeamParams17604352ItemTypeInputbRetryBOOL861120ItemTypeInputq_xTransitionAuthorizedBOOL861200ItemTypeOutputbErrorBOOL86128ItemTypeOutputnErrIdUINT166144ItemTypeOutputbDoneBOOL86160ItemTypeOutputbBusyBOOL86168ItemTypeOutputnTargetAssertionIDUDINT3261760stTargetAssertionST_BeamParams17606208nCurrentAssertionIDUDINT3279680xNewBPBOOL88000xTranBPBOOL88008xFinalBPInArbBOOL88016xFinalBPBOOL88024eBPTMStateE_BPTMState1680320ePrevStateE_BPTMState1680480xEntryBOOL88064rTransitionR_TRIG648096xNewTargetBOOL88160bTransAssertionFailedBOOL88168bFinalAssertionFailedBOOL88176LogStrBufferSTRING(80)041265688184LogBuffIdxFB_Index9634752.LowerLimit0.UpperLimit40nAssrtAttemptINT1634848rtRetryR_TRIG6434880rtErrorR_TRIG6434944ffTimeoutFB_FastFault2508835008.i_DescPreemptive requests timed out in BPTM.i_TypeCode10.i_xAutoReset0rtDoneMovingR_TRIG6460096bLatchDoneMovingBOOL860160bFirstMoveBOOL8601681LogBuffSizeINT166017640cMaxAttemptsINT16601923cReqArbCapacityUDINT + 60256 + + fbArbiter + FB_Arbiter + Connect to local arbiter + 32 + 32 + + + ItemType + InOut + + + + + i_sDeviceName + STRING(80) + Name of the device requesting the transition + 648 + 64 + + Device + + + + ItemType + Input + + + + + i_TransitionAssertionID + UDINT + Must not be 0 or EXCLUDED_ID + 32 + 736 + + 0 + + + + ItemType + Input + + + + + i_stTransitionAssertion + ST_BeamParams + Assertion required during transition (always safer than anything inbetween) + 1760 + 768 + + + ItemType + Input + + + + + i_nRequestedAssertionID + UDINT + Must not be 0 or EXCLUDED_ID + 32 + 2528 + + 0 + + + + ItemType + Input + + + + + i_stRequestedAssertion + ST_BeamParams + PMPS_GVL.cstSafeBeam; //Requested assertion, change whenever + 1760 + 2560 + + + .nTran + 0 + + + .neVRange + 0 + + + .nRate + 0 + + + .nBCRange + 0 + + + + + ItemType + Input + + + + + i_xMoving + BOOL + Provide rising edge when device begins moving <remove> + 8 + 4320 + + 0 + + + + ItemType + Input + + + + + i_xDoneMoving + BOOL + Provide rising edge when device is done with a move + 8 + 4328 + + 0 + + + + ItemType + Input + + + + + stCurrentBeamParameters + ST_BeamParams + Connect to current beam parameters + 1760 + 4352 + + + ItemType + Input + + + + + bRetry + BOOL + Rising edge to cycle back through the BPTM process. Use if something in the process timed out or failed. This will interrupt a current process + 8 + 6112 + + 0 + + + + ItemType + Input + + + + + q_xTransitionAuthorized + BOOL + Rising edge indicating the device is safe to move, use as input to move execute (which requires a rising edge) + 8 + 6120 + + 0 + + + + ItemType + Output + + + + + bError + BOOL + Set if some issue occurs within the bptm + 8 + 6128 + + + ItemType + Output + + + + + nErrId + UINT + Set to non-zero to help understand the error. + 16 + 6144 + + + ItemType + Output + + + + + bDone + BOOL + 8 + 6160 + + + ItemType + Output + + + + + bBusy + BOOL + 8 + 6168 + + + ItemType + Output + + + + + nTargetAssertionID + UDINT + 32 + 6176 + + 0 + + + + stTargetAssertion + ST_BeamParams + Target assertion + 1760 + 6208 + + + nCurrentAssertionID + UDINT + ID of last set state (zero until a state is reached) + 32 + 7968 + + 0 + + + + xNewBP + BOOL + 8 + 8000 + + + xTranBP + BOOL + 8 + 8008 + + + xFinalBPInArb + BOOL + 8 + 8016 + + + xFinalBP + BOOL + 8 + 8024 + + + eBPTMState + E_BPTMState + 16 + 8032 + + 0 + + + + ePrevState + E_BPTMState + 16 + 8048 + + 0 + + + + xEntry + BOOL + 8 + 8064 + + + rTransition + R_TRIG + 64 + 8096 + + + xNewTarget + BOOL + 8 + 8160 + + + bTransAssertionFailed + BOOL + 8 + 8168 + + + bFinalAssertionFailed + BOOL + 8 + 8176 + + + LogStrBuffer + STRING(80) + + 0 + 41 + + 26568 + 8184 + + + LogBuffIdx + FB_Index + 96 + 34752 + + + .LowerLimit + 0 + + + .UpperLimit + 40 + + + + + nAssrtAttempt + INT + Number of times we have tried asserting a BP set + 16 + 34848 + + + rtRetry + R_TRIG + 64 + 34880 + + + rtError + R_TRIG + 64 + 34944 + + + ffTimeout + FB_FastFault + 25088 + 35008 + + + .i_Desc + Preemptive requests timed out in BPTM + + + .i_TypeCode + 10 + + + .i_xAutoReset + 0 + + + + + rtDoneMoving + R_TRIG + 64 + 60096 + + + bLatchDoneMoving + BOOL + 8 + 60160 + + + bFirstMove + BOOL + 8 + 60168 + + 1 + + + + LogBuffSize + INT + 16 + 60176 + + 40 + + + + cMaxAttempts + INT + 16 + 60192 + + 3 + + + + cReqArbCapacity + UDINT + The thought here is, a BPTM needs at most 2 arbiter slots to complete a transition. If we're at capacity, it means some BPTM before this one has begun a transition, and will require at least one more arbiter spot to complete. - ]]>32602242AuthorizeTransitionWaitingForFinalAssertion_DONewTarget_ENTRYAssertTransitionBPAssertFinalBPWaitingForTransitionAssertion_DORemoveTransitionAssertionSetNewTargetRequestBP_DOWaitingForTransitionAssertion_EXITWaitingForFinalAssertion_EXITDeauthorizeTransitionLogActionsBOOL8LogStrSTRING(80)648no_checkPouTypeFunctionBlockno_checkFB_PositionStatePMPS383104FB_PositionStatePMPS_BasefbArbiterFB_Arbiter3219392ItemTypeInOutfbFFHWOFB_HardwareFFOutput3219424ItemTypeInOutbReadPmpsDbBOOL819456ItemTypeInputsPmpsDeviceNameSTRING(80)64819464ItemTypeInputsTransitionKeySTRING(80)64820112ItemTypeInputstPmpsDocSJsonValue3220768ItemTypeInputstHighBeamThresholdST_BeamParams176020800ItemTypeInputbBPOKAutoResetBOOL8225600ItemTypeInputarrPMPSST_DbStateParams0163993622592nBPIndexINT1662528nTransitionAssertionIDUDINT3262560nLastReqAssertionIDUDINT3262592fbReadPmpsDbFB_JsonDocToSafeBP10944062656ftDbBusyF_TRIG64172096rtReadDBExecR_TRIG64172160ftReadF_TRIG64172224bptmBeamParameterTransitionManager60256172288ffBeamParamsOkFB_FastFault25088232544ffZeroRateFB_FastFault25088257632ffBPTMTimeoutAndMoveFB_FastFault25088282720ffBPTMErrorFB_FastFault25088307808ffMaintFB_FastFault25088332896ffUnknownFB_FastFault25088357984bFFOxOkBOOL8383072bAtSafeStateBOOL8383080nIterINT16383088HandlePmpsDbHandleFFOAssertHereClearAssertsHandleBPTMPouTypeFunctionBlockFB_NCErrorFFO27808stMotionStageDUT_MotionStage3232ItemTypeInOutfbFFHWOFB_HardwareFFOutput3264ItemTypeInOutbResetBOOL896ItemTypeInputbAutoResetBOOL8104ItemTypeInputnLowErrorIdUDINT3212816384ItemTypeInputnHighErrorIdUDINT3216020479ItemTypeInputsDescSTRING(80)648192Motor errorItemTypeInputbTrippedBOOL8840ItemTypeOutputnErrorTypeCodeUINT16848ItemTypeOutputbInitBOOL88641bNCErrorBOOL8872stBeamParamsST_BeamParams1760896fbFFFB_FastFault250882656rtTripR_TRIG6427744PouTypeFunctionBlockFB_EncErrorFFO27936stMotionStageDUT_MotionStage3232ItemTypeInOutfbFFHWOFB_HardwareFFOutput3264ItemTypeInOutbResetBOOL896ItemTypeInputbAutoResetBOOL8104ItemTypeInputbTrippedBOOL8112ItemTypeOutputfbNCErrorFFOFB_NCErrorFFO27808128.nLowErrorId17408.nHighErrorId17663.sDescEncoder errorPouTypeFunctionBlockFB_PositionStateBase_WithPMPS666496FB_PositionStateBasefbArbiterFB_Arbiter32253824ItemTypeInOutfbFFHWOFB_HardwareFFOutput32253856ItemTypeInOutsPmpsDeviceNameSTRING(80)648253888ItemTypeInputsTransitionKeySTRING(80)648254536ItemTypeInputbArbiterEnabledBOOL82551841ItemTypeInputpytmc + + 32 + 60224 + + 2 + + + + AuthorizeTransition + + + WaitingForFinalAssertion_DO + + + NewTarget_ENTRY + + + AssertTransitionBP + + + AssertFinalBP + + + WaitingForTransitionAssertion_DO + + + RemoveTransitionAssertion + + + SetNewTarget + + + RequestBP_DO + + + WaitingForTransitionAssertion_EXIT + + + WaitingForFinalAssertion_EXIT + + + DeauthorizeTransition + + + LogActions + BOOL + 8 + + LogStr + STRING(80) + 648 + + + + no_check + + + + + + PouType + FunctionBlock + + + no_check + + + + + FB_PositionStatePMPS + 383104 + FB_PositionStatePMPS_Base + + fbArbiter + FB_Arbiter + 32 + 19392 + + + ItemType + InOut + + + + + fbFFHWO + FB_HardwareFFOutput + 32 + 19424 + + + ItemType + InOut + + + + + bReadPmpsDb + BOOL + 8 + 19456 + + + ItemType + Input + + + + + sPmpsDeviceName + STRING(80) + 648 + 19464 + + + ItemType + Input + + + + + sTransitionKey + STRING(80) + 648 + 20112 + + + ItemType + Input + + + + + stPmpsDoc + SJsonValue + 32 + 20768 + + + ItemType + Input + + + + + stHighBeamThreshold + ST_BeamParams + 1760 + 20800 + + + ItemType + Input + + + + + bBPOKAutoReset + BOOL + 8 + 22560 + + 0 + + + + ItemType + Input + + + + + arrPMPS + ST_DbStateParams + + 0 + 16 + + 39936 + 22592 + + + nBPIndex + INT + 16 + 62528 + + + nTransitionAssertionID + UDINT + 32 + 62560 + + + nLastReqAssertionID + UDINT + 32 + 62592 + + + fbReadPmpsDb + FB_JsonDocToSafeBP + 109440 + 62656 + + + ftDbBusy + F_TRIG + 64 + 172096 + + + rtReadDBExec + R_TRIG + 64 + 172160 + + + ftRead + F_TRIG + 64 + 172224 + + + bptm + BeamParameterTransitionManager + 60256 + 172288 + + + ffBeamParamsOk + FB_FastFault + 25088 + 232544 + + + ffZeroRate + FB_FastFault + 25088 + 257632 + + + ffBPTMTimeoutAndMove + FB_FastFault + 25088 + 282720 + + + ffBPTMError + FB_FastFault + 25088 + 307808 + + + ffMaint + FB_FastFault + 25088 + 332896 + + + ffUnknown + FB_FastFault + 25088 + 357984 + + + bFFOxOk + BOOL + 8 + 383072 + + + bAtSafeState + BOOL + 8 + 383080 + + + nIter + INT + 16 + 383088 + + + HandlePmpsDb + + + HandleFFO + + + AssertHere + + + ClearAsserts + + + HandleBPTM + + + + PouType + FunctionBlock + + + + + FB_NCErrorFFO + 27808 + + stMotionStage + DUT_MotionStage + Motion stage to monitor + 32 + 32 + + + ItemType + InOut + + + + + fbFFHWO + FB_HardwareFFOutput + FFO to trip + 32 + 64 + + + ItemType + InOut + + + + + bReset + BOOL + Reset the fault + 8 + 96 + + + ItemType + Input + + + + + bAutoReset + BOOL + Auto-reset the fault + 8 + 104 + + + ItemType + Input + + + + + nLowErrorId + UDINT + The lowest error code that will trip the FFO + 32 + 128 + + 16384 + + + + ItemType + Input + + + + + nHighErrorId + UDINT + The highest error code that will trip the FFO + 32 + 160 + + 20479 + + + + ItemType + Input + + + + + sDesc + STRING(80) + A description of the fault + 648 + 192 + + Motor error + + + + ItemType + Input + + + + + bTripped + BOOL + Quick way for nearby code to check if this block has tripped the FFO. + 8 + 840 + + + ItemType + Output + + + + + nErrorTypeCode + UINT + Error code sent to PMPS. Is always 16#20XX, where XX is the first two hex in the NC error. + 16 + 848 + + + ItemType + Output + + + + + bInit + BOOL + 8 + 864 + + 1 + + + + bNCError + BOOL + 8 + 872 + + + stBeamParams + ST_BeamParams + 1760 + 896 + + + fbFF + FB_FastFault + 25088 + 2656 + + + rtTrip + R_TRIG + 64 + 27744 + + + + PouType + FunctionBlock + + + + + FB_EncErrorFFO + 27936 + + stMotionStage + DUT_MotionStage + Motion stage to monitor + 32 + 32 + + + ItemType + InOut + + + + + fbFFHWO + FB_HardwareFFOutput + FFO to trip + 32 + 64 + + + ItemType + InOut + + + + + bReset + BOOL + Reset the fault + 8 + 96 + + + ItemType + Input + + + + + bAutoReset + BOOL + Auto reset the fault + 8 + 104 + + + ItemType + Input + + + + + bTripped + BOOL + Quick way for nearby code to check if this block has tripped the FFO. + 8 + 112 + + + ItemType + Output + + + + + fbNCErrorFFO + FB_NCErrorFFO + 27808 + 128 + + + .nLowErrorId + 17408 + + + .nHighErrorId + 17663 + + + .sDesc + Encoder error + + + + + + PouType + FunctionBlock + + + + + FB_PositionStateBase_WithPMPS + 666496 + FB_PositionStateBase + + fbArbiter + FB_Arbiter + 32 + 253824 + + + ItemType + InOut + + + + + fbFFHWO + FB_HardwareFFOutput + 32 + 253856 + + + ItemType + InOut + + + + + sPmpsDeviceName + STRING(80) + 648 + 253888 + + + ItemType + Input + + + + + sTransitionKey + STRING(80) + 648 + 254536 + + + ItemType + Input + + + + + bArbiterEnabled + BOOL + 8 + 255184 + + 1 + + + + ItemType + Input + + + pytmc + pv: PMPS:ARB:ENABLE io: io - tArbiterTimeoutTIME322552001000ItemTypeInputbMoveOnArbiterTimeoutBOOL82552321ItemTypeInputfStateBoundaryDeadbandLREAL642552960ItemTypeInputbBPOKAutoResetBOOL82553600ItemTypeInputfbStatePMPSFB_PositionStatePMPS383104255424pytmcpv: PMPSfbEncErrFFOFB_EncErrorFFO27936638528ExecPMPSHandlerPouTypeFunctionBlockENUM_Si_B4C_Coating_States16INTUnknown0Si1B4C2FB_PositionState_Defaults320stPositionStateDUT_PositionState3232ItemTypeInOutfVeloDefaultLREAL6464ItemTypeInputfDeltaDefaultLREAL64128ItemTypeInputfAccelDefaultLREAL64192ItemTypeInputfDecelDefaultLREAL64256ItemTypeInputPouTypeFunctionBlockFB_Offset_Coating_States675840FB_PositionStateBase_WithPMPSenumSetENUM_Si_B4C_Coating_States16666496ItemTypeInputpytmc + + + + + + tArbiterTimeout + TIME + 32 + 255200 + + 1000 + + + + ItemType + Input + + + + + bMoveOnArbiterTimeout + BOOL + 8 + 255232 + + 1 + + + + ItemType + Input + + + + + fStateBoundaryDeadband + LREAL + 64 + 255296 + + 0 + + + + ItemType + Input + + + + + bBPOKAutoReset + BOOL + 8 + 255360 + + 0 + + + + ItemType + Input + + + + + fbStatePMPS + FB_PositionStatePMPS + 383104 + 255424 + + + pytmc + pv: PMPS + + + + + fbEncErrFFO + FB_EncErrorFFO + 27936 + 638528 + + + Exec + + + PMPSHandler + + + + PouType + FunctionBlock + + + + + ENUM_Si_B4C_Coating_States + 16 + INT + + Unknown + 0 + + + Si + 1 + + + B4C + 2 + + + + FB_PositionState_Defaults + 320 + + stPositionState + DUT_PositionState + 32 + 32 + + + ItemType + InOut + + + + + fVeloDefault + LREAL + 64 + 64 + + + ItemType + Input + + + + + fDeltaDefault + LREAL + 64 + 128 + + + ItemType + Input + + + + + fAccelDefault + LREAL + 64 + 192 + + + ItemType + Input + + + + + fDecelDefault + LREAL + 64 + 256 + + + ItemType + Input + + + + + + PouType + FunctionBlock + + + + + FB_Offset_Coating_States + 675840 + FB_PositionStateBase_WithPMPS + + enumSet + ENUM_Si_B4C_Coating_States + 16 + 666496 + + + ItemType + Input + + + pytmc + pv: SET io: io - stCoating1DUT_PositionState3648666560ItemTypeInputstCoating2DUT_PositionState3648670208ItemTypeInputsCoating1NameSTRING(80)648673856ItemTypeInputsCoating2NameSTRING(80)648674504ItemTypeInputenumGetENUM_Si_B4C_Coating_States16675152ItemTypeOutputpytmc + + + + + + stCoating1 + DUT_PositionState + 3648 + 666560 + + + ItemType + Input + + + + + stCoating2 + DUT_PositionState + 3648 + 670208 + + + ItemType + Input + + + + + sCoating1Name + STRING(80) + 648 + 673856 + + + ItemType + Input + + + + + sCoating2Name + STRING(80) + 648 + 674504 + + + ItemType + Input + + + + + enumGet + ENUM_Si_B4C_Coating_States + 16 + 675152 + + + ItemType + Output + + + pytmc + pv: GET; io: i; - fbStateDefaultsFB_PositionState_Defaults320675200bCoatingInitBOOL8675520fDeltaLREAL + + + + + fbStateDefaults + FB_PositionState_Defaults + 320 + 675200 + + + bCoatingInit + BOOL + 8 + 675520 + + + fDelta + LREAL + These are the default values Set values on states prior to passing in for non-default values - Units in Mircons]]>64675584100fVelocityLREAL64675648150fAccelLREAL64675712200fDecelLREAL64675776200PouTypeFunctionBlockFB_KBO_Coating_States676096FB_PositionStateBase_WithPMPSenumSetENUM_Si_B4C_Coating_States16666496ItemTypeInputpytmc + Units in Mircons + 64 + 675584 + + 100 + + + + fVelocity + LREAL + 64 + 675648 + + 150 + + + + fAccel + LREAL + 64 + 675712 + + 200 + + + + fDecel + LREAL + 64 + 675776 + + 200 + + + + + PouType + FunctionBlock + + + + + FB_KBO_Coating_States + 676096 + FB_PositionStateBase_WithPMPS + + enumSet + ENUM_Si_B4C_Coating_States + 16 + 666496 + + + ItemType + Input + + + pytmc + pv: SET io: io - stCoating1DUT_PositionState3648666560ItemTypeInputstCoating2DUT_PositionState3648670208ItemTypeInputbVerticalCoatingBOOL86738561ItemTypeInputsCoating1NameSTRING(80)648673864ItemTypeInputsCoating2NameSTRING(80)648674512ItemTypeInputenumGetENUM_Si_B4C_Coating_States16675168ItemTypeOutputpytmc + + + + + + stCoating1 + DUT_PositionState + 3648 + 666560 + + + ItemType + Input + + + + + stCoating2 + DUT_PositionState + 3648 + 670208 + + + ItemType + Input + + + + + bVerticalCoating + BOOL + 8 + 673856 + + 1 + + + + ItemType + Input + + + + + sCoating1Name + STRING(80) + 648 + 673864 + + + ItemType + Input + + + + + sCoating2Name + STRING(80) + 648 + 674512 + + + ItemType + Input + + + + + enumGet + ENUM_Si_B4C_Coating_States + 16 + 675168 + + + ItemType + Output + + + pytmc + pv: GET; io: i; - fbStateDefaultsFB_PositionState_Defaults320675200bCoatingInitBOOL8675520fCoatingAccelLREAL6467558410fCoatingDecelLREAL6467564810fDeltaLREAL + + + + + fbStateDefaults + FB_PositionState_Defaults + 320 + 675200 + + + bCoatingInit + BOOL + 8 + 675520 + + + fCoatingAccel + LREAL + 64 + 675584 + + 10 + + + + fCoatingDecel + LREAL + 64 + 675648 + + 10 + + + + fDelta + LREAL + These are the default values Set values on states prior to passing in for non-default values - Units in Millimeters]]>646757120.1fVelocityLREAL646757760.15fYAccelLREAL6467584010fYDecelLREAL6467590410fXAccelLREAL64675968100fXDecelLREAL64676032100PouTypeFunctionBlockFB_VetoArbiter27168I_HigherAuthoritybVetoBOOL8640ItemTypeInputHigherAuthorityI_HigherAuthority3296ItemTypeInputLowerAuthorityI_LowerAuthority32128ItemTypeInputFFOFB_HardwareFFOutput32160ItemTypeInOutffKeepItSecretKeepItSafeFB_FastFault25088192.i_xAutoReset1.i_DescHolds beam off until request is back in arbitration.i_TypeCode200.i_xVetoable1stStandbyBPST_BeamParams176025280rtVetoR_TRIG6427040ftVetoF_TRIG6427104CheckRequestBOOL8nReqIDDWORD32RequestBPBOOL8nReqIDDWORD32stReqBPST_BeamParams1760RemoveRequestBOOL8nReqIDDWORD32PouTypeFunctionBlockST_BeamParams_IO1760nTranREAL320011plcAttribute_pytmcpv: Attenuation - io: inRateUDINT3232120plcAttribute_pytmcpv: Rate - io: ineVRangeDWORD32644294967295plcAttribute_pytmcpv: PhotonEnergy - io: iplcAttribute_displaymodebinaryneVREAL3296nBCRangeWORD161280655350nBeamClassUSINT814400nMachineModeUSINT8152astAttenuatorsST_PMPS_Attenuator_IO1161024160plcAttribute_pytmcpv: AuxAttenuator - io: iastAperturesST_PMPS_Aperture_IO143841184aVetoDevicesBOOL1161281568plcAttribute_pytmcpv: AuxAttenuator - io: ixValidToggleBOOL81696xValidBOOL81704plcAttribute_pytmcpv: Valid - io: inCohortIntUDINT321728plcAttribute_pytmcpv: Attenuation - io: iFB_SubSysToArbiter_IO138752I_HigherAuthorityResetBOOL864ItemTypeInputsNameSTRING(80)64872SubSysToArbiterItemTypeInputi_bVetoBOOL8720ItemTypeInputArbiterFB_Arbiter32736ItemTypeInOutfbFFHWOFB_HardwareFFOutput32768ItemTypeInOuti_stCurrentBPST_BeamParams_IO1760800TcLinkToTIIB[PMPS_PRE]^IO Inputs^CurrentBPTcAddressTypeInputq_stRequestedBPST_BeamParams_IO17602560TcLinkToTIIB[PMPS_PRE]^IO Outputs^RequestedBPTcAddressTypeOutputxTxPDO_toggleBIT14320pytmcpv: TxPDO_toggle - io: iTcLinkToTIIB[PMPS_PRE]^SYNC Inputs^TxPDO toggleTcAddressTypeInputxTxPDO_stateBIT14321pytmcpv: TxPDO_state - io: iTcLinkToTIIB[PMPS_PRE]^SYNC Inputs^TxPDO stateTcAddressTypeInputffPMPSIO_DisconnectFB_FastFault250884352.i_DescArbiter network interface disconnected or not OP.i_DevNameSubSysToArbiternRequestCohortUDINT32294400pytmcpv: RequestCohort - io: inActiveCohortUDINT32294720pytmcpv: ActiveCohort - io: ifbVetoArbFB_VetoArbiter2716829504fbLogFB_LogMessage8198456704__CHECKREQUEST__XFIRSTTIMEBOOL81386881__CHECKREQUEST__NIDDWORD32138720CheckRequestBOOL8nReqIDDWORD32xFirstTimeBOOL8uselocation__CHECKREQUEST__XFIRSTTIMEnIdDWORD32uselocation__CHECKREQUEST__NIDRequestBPBOOL8nReqIDDWORD32stReqBPST_BeamParams1760RemoveRequestBOOL8nReqIDDWORD32PouTypeFunctionBlockFB_MirrorTwoCoatingProtection52480nCurrentEncoderCountUDINT3232ItemTypeInputneVRangeDWORD3264ItemTypeInputsDevNameSTRING(80)64896ItemTypeInputnUpperCoatingBoundaryUDINT32768ItemTypeInputnUpperCoatingBitmaskDWORD32800ItemTypeInputsUpperCoatingTypeSTRING(80)648832ItemTypeInputnLowerCoatingBoundaryUDINT321504ItemTypeInputnLowerCoatingBitMaskDWORD321536ItemTypeInputsLowerCoatingTypeSTRING(80)6481568ItemTypeInputbAutoClearBOOL822161ItemTypeInputFFOFB_HardwareFFOutput322240ItemTypeInOutffUpperCoatingFB_FastFault250882272.i_xAutoReset0.i_TypeCode1025ffLowerCoatingFB_FastFault2508827360.i_xAutoReset0.i_TypeCode1025bInitBOOL852448PouTypeFunctionBlockFB_AnalogInput320iRawINT1632ItemTypeInputTcAddressTypeInputiTermBitsUINT1648ItemTypeInputfTermMaxLREAL6464ItemTypeInputfTermMinLREAL64128ItemTypeInputfRealLREAL64192ItemTypeOutputfScaleLREAL64256PouTypeFunctionBlockFB_TempSensor256fResolutionLREAL64640.1ItemTypeInputfTempLREAL64128ItemTypeOutputpytmc + Units in Millimeters + 64 + 675712 + + 0.1 + + + + fVelocity + LREAL + 64 + 675776 + + 0.15 + + + + fYAccel + LREAL + 64 + 675840 + + 10 + + + + fYDecel + LREAL + 64 + 675904 + + 10 + + + + fXAccel + LREAL + 64 + 675968 + + 100 + + + + fXDecel + LREAL + 64 + 676032 + + 100 + + + + + PouType + FunctionBlock + + + + + FB_VetoArbiter + 27168 + I_HigherAuthority + + bVeto + BOOL + Rising edge clears request, hold true to veto continuously, falling edge restores request + 8 + 64 + + 0 + + + + ItemType + Input + + + + + HigherAuthority + I_HigherAuthority + Typically connected to a higher-level arbiter. + 32 + 96 + + + ItemType + Input + + + + + LowerAuthority + I_LowerAuthority + Lower authority to be vetoed + 32 + 128 + + + ItemType + Input + + + + + FFO + FB_HardwareFFOutput + This should be the FFO upstream of the veto device + 32 + 160 + + + ItemType + InOut + + + + + ffKeepItSecretKeepItSafe + FB_FastFault + 25088 + 192 + + + .i_xAutoReset + 1 + + + .i_Desc + Holds beam off until request is back in arbitration + + + .i_TypeCode + 200 + + + .i_xVetoable + 1 + + + + + stStandbyBP + ST_BeamParams + 1760 + 25280 + + + rtVeto + R_TRIG + 64 + 27040 + + + ftVeto + F_TRIG + 64 + 27104 + + + CheckRequest + BOOL + 8 + + nReqID + DWORD + 32 + + + + RequestBP + BOOL + 8 + + nReqID + StateID of state requesting beam parameter set + DWORD + 32 + + + stReqBP + Requested beam params + ST_BeamParams + 1760 + + + + RemoveRequest + BOOL + 8 + + nReqID + StateID to remove + DWORD + 32 + + + + + PouType + FunctionBlock + + + + + ST_BeamParams_IO + 1760 + + nTran + REAL + Requested pre-optic attenuation - 1 is full transmission + 32 + 0 + + 0 + 1 + 1 + + + + plcAttribute_pytmc + pv: Attenuation + io: i + + + + + nRate + UDINT + Pulse-rate + 32 + 32 + + 120 + + + + plcAttribute_pytmc + pv: Rate + io: i + + + + + neVRange + DWORD + Photon energy ranges + 32 + 64 + + 4294967295 + + + + plcAttribute_pytmc + pv: PhotonEnergy + io: i + + + plcAttribute_displaymode + binary + + + + + neV + REAL + Current Photon energy as calculated by the arbiter + 32 + 96 + + + nBCRange + WORD + 16 + 128 + + 0 + 65535 + 0 + + + + nBeamClass + USINT + 8 + 144 + + 0 + 0 + + + + nMachineMode + USINT + 8 + 152 + + + astAttenuators + ST_PMPS_Attenuator_IO + + 1 + 16 + + Beamline attenuators + 1024 + 160 + + + plcAttribute_pytmc + pv: AuxAttenuator + io: i + + + + + astApertures + ST_PMPS_Aperture_IO + + 1 + 4 + + 384 + 1184 + + + aVetoDevices + BOOL + + 1 + 16 + + Stopper statuses + 128 + 1568 + + + plcAttribute_pytmc + pv: AuxAttenuator + io: i + + + + + xValidToggle + BOOL + Toggle for watchdog + 8 + 1696 + + + xValid + BOOL + Beam parameter set is valid (if readback), or acknowledged (if request) + 8 + 1704 + + + plcAttribute_pytmc + pv: Valid + io: i + + + + + nCohortInt + UDINT + Cohort index. Identifies which cohort this BP set was included in arbitration + 32 + 1728 + + + plcAttribute_pytmc + pv: Attenuation + io: i + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + FB_SubSysToArbiter_IO + Use on a subsystem PLC to request from the arbiter + Run at the top of your cycle to receive the latest BP + 138752 + I_HigherAuthority + + Reset + BOOL + Fast fault reset + 8 + 64 + + + ItemType + Input + + + + + sName + STRING(80) + 648 + 72 + + SubSysToArbiter + + + + ItemType + Input + + + + + i_bVeto + BOOL + 8 + 720 + + + ItemType + Input + + + + + Arbiter + FB_Arbiter + 32 + 736 + + + ItemType + InOut + + + + + fbFFHWO + FB_HardwareFFOutput + 32 + 768 + + + ItemType + InOut + + + + + i_stCurrentBP + ST_BeamParams_IO + 1760 + 800 + + + TcLinkTo + TIIB[PMPS_PRE]^IO Inputs^CurrentBP + + + TcAddressType + Input + + + + + q_stRequestedBP + ST_BeamParams_IO + 1760 + 2560 + + + TcLinkTo + TIIB[PMPS_PRE]^IO Outputs^RequestedBP + + + TcAddressType + Output + + + + + xTxPDO_toggle + BIT + 1 + 4320 + + + pytmc + pv: TxPDO_toggle + io: i + + + TcLinkTo + TIIB[PMPS_PRE]^SYNC Inputs^TxPDO toggle + + + TcAddressType + Input + + + + + xTxPDO_state + BIT + 1 + 4321 + + + pytmc + pv: TxPDO_state + io: i + + + TcLinkTo + TIIB[PMPS_PRE]^SYNC Inputs^TxPDO state + + + TcAddressType + Input + + + + + ffPMPSIO_Disconnect + FB_FastFault + Fast faults + 25088 + 4352 + + + .i_Desc + Arbiter network interface disconnected or not OP + + + .i_DevName + SubSysToArbiter + + + + + nRequestCohort + UDINT + Request cohort + 32 + 29440 + + 0 + + + + pytmc + pv: RequestCohort + io: i + + + + + nActiveCohort + UDINT + Active cohort, updated by incoming BP from arbiter PLC, in the ElevateRequest arbiter call + 32 + 29472 + + 0 + + + + pytmc + pv: ActiveCohort + io: i + + + + + fbVetoArb + FB_VetoArbiter + 27168 + 29504 + + + fbLog + FB_LogMessage + 81984 + 56704 + + + __CHECKREQUEST__XFIRSTTIME + BOOL + 8 + 138688 + + 1 + + + + __CHECKREQUEST__NID + DWORD + 32 + 138720 + + + CheckRequest + BOOL + 8 + + nReqID + DWORD + 32 + + + xFirstTime + BOOL + 8 + + + uselocation + __CHECKREQUEST__XFIRSTTIME + + + + + nId + DWORD + 32 + + + uselocation + __CHECKREQUEST__NID + + + + + + RequestBP + BOOL + 8 + + nReqID + StateID of state requesting beam parameter set + DWORD + 32 + + + stReqBP + Requested beam params + ST_BeamParams + 1760 + + + + RemoveRequest + BOOL + 8 + + nReqID + StateID to remove + DWORD + 32 + + + + + PouType + FunctionBlock + + + + + FB_MirrorTwoCoatingProtection + 52480 + + nCurrentEncoderCount + UDINT + Current encoder count + 32 + 32 + + + ItemType + Input + + + + + neVRange + DWORD + Current ev range from stCurrentBeamParams + 32 + 64 + + + ItemType + Input + + + + + sDevName + STRING(80) + Device name + 648 + 96 + + + + + + ItemType + Input + + + + + nUpperCoatingBoundary + UDINT + Encoder count for upper boundary + 32 + 768 + + + ItemType + Input + + + + + nUpperCoatingBitmask + DWORD + Bitmask for upper coating + 32 + 800 + + + ItemType + Input + + + + + sUpperCoatingType + STRING(80) + Type of coating + 648 + 832 + + + + + + ItemType + Input + + + + + nLowerCoatingBoundary + UDINT + Encoder count for lower boundary + 32 + 1504 + + + ItemType + Input + + + + + nLowerCoatingBitMask + DWORD + 32 + 1536 + + + ItemType + Input + + + + + sLowerCoatingType + STRING(80) + Type of coating + 648 + 1568 + + + + + + ItemType + Input + + + + + bAutoClear + BOOL + Auto-clear these fast faults + 8 + 2216 + + 1 + + + + ItemType + Input + + + + + FFO + FB_HardwareFFOutput + 32 + 2240 + + + ItemType + InOut + + + + + ffUpperCoating + FB_FastFault + 25088 + 2272 + + + .i_xAutoReset + 0 + + + .i_TypeCode + 1025 + + + + + ffLowerCoating + FB_FastFault + 25088 + 27360 + + + .i_xAutoReset + 0 + + + .i_TypeCode + 1025 + + + + + bInit + BOOL + 8 + 52448 + + + + PouType + FunctionBlock + + + + + FB_AnalogInput + 320 + + iRaw + INT + Connect this input to the terminal + 16 + 32 + + + ItemType + Input + + + TcAddressType + Input + + + + + iTermBits + UINT + The number of bits correlated with the terminal's max value. This is not necessarily the resolution parameter. + 16 + 48 + + + ItemType + Input + + + + + fTermMax + LREAL + The fReal value correlated with the terminal's max value + 64 + 64 + + + ItemType + Input + + + + + fTermMin + LREAL + The fReal value correlated with the terminal's min value + 64 + 128 + + + ItemType + Input + + + + + fReal + LREAL + The real value read from the output + 64 + 192 + + + ItemType + Output + + + + + fScale + LREAL + 64 + 256 + + + + PouType + FunctionBlock + + + + + FB_TempSensor + 256 + + fResolution + LREAL + Resolution parameter from the Beckhoff docs. Default is 0.1 for 0.1 degree resolution + 64 + 64 + + 0.1 + + + + ItemType + Input + + + + + fTemp + LREAL + 64 + 128 + + + ItemType + Output + + + pytmc + pv: TEMP io: input field: EGU C field: PREC 2 - bConnectedBOOL8192ItemTypeOutputpytmc + + + + + + bConnected + BOOL + 8 + 192 + + + ItemType + Output + + + pytmc + pv: CONN io: input field: ONAM Connected field: ZNAM Disconnected - bErrorBOOL82001ItemTypeOutputpytmc + + + + + + bError + BOOL + 8 + 200 + + 1 + + + + ItemType + Output + + + pytmc + pv: ERR io: input field: ONAM True field: ZNAM False - TcAddressTypeInputbUnderrangeBOOL8208ItemTypeOutputTcAddressTypeInputbOverrangeBOOL8216ItemTypeOutputTcAddressTypeInputiRawINT16224TcAddressTypeInputPouTypeFunctionBlockVERSION64uiMajorUINT160uiMinorUINT1616uiServicePackUINT1632uiPatchUINT1648PlcLicenseInfo1024LicenseIdGUID1280InstancesUDINT32128LicenseNameSTRING(95)768256PlcTaskSystemInfo1024ObjIdOTCID320CycleTimeUDINT3232PriorityUINT1664AdsPortUINT1680CycleCountUDINT3296DcTaskTimeLINT64128LastExecTimeUDINT32192FirstCycleBOOL8224CycleTimeExceededBOOL8232InCallAfterOutputUpdateBOOL8240RTViolationBOOL8248TaskNameSTRING(63)512512TcSystemEventClassInternalErrorErrorNoRTimeErrorAllocationLockedMemoryErrorErrorInsertMailboxErrorErrorWrongReceiveHMSGErrorTargetPortNotFoundErrorTargetMachineNotFoundErrorUnknownCommandIDErrorBadTaskIDErrorNoIOErrorUnknownAdsCommandErrorWin32ErrorErrorPortNotConnectedErrorInvalidAdsLengthErrorInvalidAdsNetIDErrorLowInstallationLevelErrorNoDebugAvailableErrorPortDisabledErrorPortAlreadyConnectedErrorAdsSyncWin32ErrorErrorAdsSyncTimeoutErrorAdsSyncAmsErrorErrorAdsSyncNoIndexMapErrorInvalidAdsPortErrorNoMemoryErrorTCPSendErrorErrorHostUnreachableErrorInvalidAMSFragmentErrorTcGeneralAdsEventClassGeneralDeviceErrorErrorServiceNotSupportedErrorInvalidIndexGroupErrorInvalidIndexOffsetErrorInvalidAccessErrorInvalidSizeErrorInvalidDataErrorNotReadyErrorBusyErrorInvalidContextErrorNoMemoryErrorInvalidParamErrorNotFoundErrorSyntaxErrorIncompatibleErrorAlreadyExistsErrorSymbolNotFoundErrorSymbolVersionInvalid Release handle and try again.)]]>ErrorInvalidStateErrorTransModeNotSupportedErrorNotificationHandleInvalid Release handle and try again.)]]>ErrorClientUnknownErrorNoMoreHandlesErrorInvalidWatchSizeErrorNotInitErrorDeviceTimeoutErrorNoInterfaceErrorInvalidInterfaceErrorInvalidClassIDErrorInvalidObjectIDErrorPendingErrorAbortedErrorSignalWarningErrorInvalidArrayIndexErrorSymbolNotActive Release handle and try again.)]]>ErrorAccessDeniedErrorLicenseMissingErrorLicenseExpiredErrorLicenseExceededErrorLicenseInvalidErrorLicenseSystemIDErrorLicenseNoTimeLimitErrorLicenseFutureIssueErrorLicenseTimeTooLongErrorExceptionErrorLicenseDuplicatedErrorInvalidServiceParamErrorListEmptyErrorVariableConAlreadyInUseErrorInvokeIDAlreadyInUseErrorTimeoutElapsedErrorWin32ErrorErrorTimeoutInvalidErrorPortNotOpenErrorNoAMSAddrErrorSyncInternalErrorErrorAddHashErrorRemoveHashErrorNoMoreSymbolsErrorSyncResInvalidErrorSyncPortLockedErrorTcRouterEventClassNoLockedMemoryErrorResizeMemoryErrorMailboxFullErrorDebugBoxFullErrorUnknownPortTypeErrorNotInitializedErrorPortAlreadyInUseErrorNotRegisteredErrorNoMoreQueuesErrorInvalidPortErrorNotActivatedErrorFragmentBoxFullErrorFragmentTimeoutErrorToBeRemovedErrorTcRTimeEventClassInternalErrorErrorBadTimerPeriodsErrorInvalidTaskPtrErrorInvalidStackPtrErrorPrioExistsErrorNoMoreTCBErrorNoMoreSemasErrorNoMoreQueuesErrorExtIRQAlreadyDefErrorExtIRQNotDefErrorExtIRQInstallFailedErrorIRQNotLessOrEqualErrorVMXNotSupportedErrorVMXDisabledErrorVMXControlsMissingErrorVMXEnableFailsErrorWin32EventClassERROR_SUCCESSVerboseERROR_INVALID_FUNCTIONErrorERROR_FILE_NOT_FOUNDErrorERROR_PATH_NOT_FOUNDErrorERROR_TOO_MANY_OPEN_FILESErrorERROR_ACCESS_DENIEDErrorERROR_INVALID_HANDLEErrorERROR_NOT_ENOUGH_MEMORYErrorERROR_INVALID_DATAErrorERROR_NOT_READYErrorERROR_BAD_COMMANDErrorERROR_CRCErrorERROR_BAD_LENGTHErrorERROR_WRITE_FAULTErrorERROR_READ_FAULTErrorERROR_GEN_FAILUREErrorERROR_NOT_SUPPORTEDErrorERROR_REM_NOT_LISTErrorERROR_DUP_NAMEErrorERROR_BAD_NETPATHErrorERROR_NETWORK_BUSYErrorERROR_DEV_NOT_EXISTErrorERROR_FILE_EXISTSErrorERROR_CANNOT_MAKEErrorERROR_ALREADY_ASSIGNEDErrorERROR_INVALID_PASSWORDErrorERROR_INVALID_PARAMETERErrorERROR_OPEN_FAILEDErrorERROR_ALREADY_EXISTSErrorERROR_INVALID_FLAG_NUMBERErrorWAIT_TIMEOUTErrorERROR_NO_MORE_ITEMSErrorERROR_INVALID_ADDRESSErrorERROR_ARITHMETIC_OVERFLOWErrorERROR_OPERATION_ABORTEDErrorERROR_IO_INCOMPLETEErrorERROR_IO_PENDINGErrorLCLSGeneralEventClassCriticalCriticalErrorErrorWarningWarningInfoInfoVerboseVerbosetmo_optics{08500001-0000-0000-F000-000000000064}{777f1598-583b-4503-99bb-7c02e0abd97e}TF4100 TC3 Controller Toolbox{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication{bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd}TF6340 TC3 Serial-Communication0SerialIO#x020100701PiezoDriver#x020100602PlcTask#x020100300SerialIO Inputs084148224GVL_SerialIO.Serial_stComIn_M1K4192EL6inData22BTcAddressTypeInputTcVarGlobal6662184961SerialIO Outputs084148224GVL_SerialIO.Serial_stComOut_M1K4192EL6outData22BTcAddressTypeOutputTcVarGlobal6662186883SerialIO Internal084148224P_Serial_Com.fbSerialLineControl_EL6001_M1K410432SerialLineControl639766368GVL_COM_Buffers.Serial_RXBuffer_M1K42512ComBufferTcVarGlobal664266496GVL_COM_Buffers.Serial_TXBuffer_M1K42512ComBufferTcVarGlobal664269008TwinCAT_SystemInfoVarList._AppInfo2048PlcAppSystemInfono_initTcVarGlobal666221184TwinCAT_SystemInfoVarList._TaskPouOid_SerialIO32OTCIDno_initTcVarGlobal666226304TwinCAT_SystemInfoVarList._TaskOid_SerialIO32OTCIDno_initTcVarGlobal666226336TwinCAT_SystemInfoVarList.__SerialIO704_Implicit_Task_Info.dwVersion2TcContextNameSerialIOTcVarGlobal66622649619PiezoDriver Internal184148224PiezoSerial.fbE621SerialDriver_M1K4104032FB_PI_E621_SerialDriver639778336GVL_M1K4.M1K4_Pitch2496HOMS_PitchMechanism.ReqPosLimHi275.ReqPosLimLo-25.diEncPosLimHi10149192.diEncPosLimLo10047105TcLinkTo.diEncCnt:=TIIB[EL5042_M1K4_PitchBender]^FB Inputs Channel 1^PositionTcVarGlobal664271552TwinCAT_SystemInfoVarList._TaskPouOid_PiezoDriver32OTCIDno_initTcVarGlobal666226368TwinCAT_SystemInfoVarList._TaskOid_PiezoDriver32OTCIDno_initTcVarGlobal666226400TwinCAT_SystemInfoVarList.__PiezoDriver704_Implicit_Task_Info.dwVersion2TcContextNamePiezoDriverTcVarGlobal66622720032PlcTask Inputs284148224LCLS_General.DefaultGlobals.stSys.I_EcatMaster148AMSNETIDnamingomitTcAddressTypeInput4096040Main.bDreamEnable18BOOLTcLinkToTIIB[Term 109 (EL1004)]^Channel 1^InputTcAddressTypeInput631340208Main.bDreamEnable28BOOLTcLinkToTIIB[Term 109 (EL1004)]^Channel 2^InputTcAddressTypeInput631340216lcls_twincat_optics.GVL_TestStructs.TestPitch_LimitSwitches.diEncCnt64LINTTcAddressTypeInput639719744Main.M1.Axis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput639895232Main.M1.bLimitForwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + + + bUnderrange + BOOL + 8 + 208 + + + ItemType + Output + + + TcAddressType + Input + + + + + bOverrange + BOOL + 8 + 216 + + + ItemType + Output + + + TcAddressType + Input + + + + + iRaw + INT + 16 + 224 + + + TcAddressType + Input + + + + + + PouType + FunctionBlock + + + + + VERSION + 64 + + uiMajor + UINT + 16 + 0 + + + uiMinor + UINT + 16 + 16 + + + uiServicePack + UINT + 16 + 32 + + + uiPatch + UINT + 16 + 48 + + + + PlcLicenseInfo + 1024 + + LicenseId + GUID + 128 + 0 + + + Instances + UDINT + 32 + 128 + + + LicenseName + STRING(95) + 768 + 256 + + + + PlcTaskSystemInfo + 1024 + + ObjId + OTCID + 32 + 0 + + + CycleTime + UDINT + 32 + 32 + + + Priority + UINT + 16 + 64 + + + AdsPort + UINT + 16 + 80 + + + CycleCount + UDINT + 32 + 96 + + + DcTaskTime + LINT + 64 + 128 + + + LastExecTime + UDINT + 32 + 192 + + + FirstCycle + BOOL + 8 + 224 + + + CycleTimeExceeded + BOOL + 8 + 232 + + + InCallAfterOutputUpdate + BOOL + 8 + 240 + + + RTViolation + BOOL + 8 + 248 + + + TaskName + STRING(63) + 512 + 512 + + + + + + + + TcSystemEventClass + TcSystemEventClass + + InternalError + InternalError + Error + + + NoRTime + NoRTime + Error + + + AllocationLockedMemoryError + AllocationLockedMemoryError + Error + + + InsertMailboxError + InsertMailboxError + Error + + + WrongReceiveHMSG + WrongReceiveHMSG + Error + + + TargetPortNotFound + TargetPortNotFound (possible cause: ADS server not started) + Error + + + TargetMachineNotFound + TargetMachineNotFound (possible cause: missing ADS route) + Error + + + UnknownCommandID + UnknownCommandID + Error + + + BadTaskID + BadTaskID + Error + + + NoIO + NoIO + Error + + + UnknownAdsCommand + UnknownAdsCommand + Error + + + Win32Error + Win32Error + Error + + + PortNotConnected + PortNotConnected + Error + + + InvalidAdsLength + InvalidAdsLength + Error + + + InvalidAdsNetID + InvalidAdsNetID + Error + + + LowInstallationLevel + LowInstallationLevel + Error + + + NoDebugAvailable + NoDebugAvailable + Error + + + PortDisabled + PortDisabled + Error + + + PortAlreadyConnected + PortAlreadyConnected + Error + + + AdsSyncWin32Error + AdsSyncWin32Error + Error + + + AdsSyncTimeout + AdsSyncTimeout + Error + + + AdsSyncAmsError + AdsSyncAmsError + Error + + + AdsSyncNoIndexMap + AdsSyncNoIndexMap + Error + + + InvalidAdsPort + InvalidAdsPort + Error + + + NoMemory + NoMemory + Error + + + TCPSendError + TCPSendError + Error + + + HostUnreachable + HostUnreachable + Error + + + InvalidAMSFragment + InvalidAMSFragment + Error + + + + TcGeneralAdsEventClass + TcGeneralAdsEventClass + + GeneralDeviceError + General device error + Error + + + ServiceNotSupported + Service is not supported by server. + Error + + + InvalidIndexGroup + Invalid index group + Error + + + InvalidIndexOffset + Invalid index offset + Error + + + InvalidAccess + Reading/writing is not permitted. + Error + + + InvalidSize + Parameter size is not correct. + Error + + + InvalidData + Invalid parameter value(s) + Error + + + NotReady + Device is not in a ready state. + Error + + + Busy + Device is busy. + Error + + + InvalidContext + Invalid context + Error + + + NoMemory + Out of memory + Error + + + InvalidParam + Invalid parameter value(s) + Error + + + NotFound + Not found (files, ...) + Error + + + Syntax + Syntax error in comand or file + Error + + + Incompatible + Object does not match. + Error + + + AlreadyExists + Object already exists. + Error + + + SymbolNotFound + Symbol was not found. + Error + + + SymbolVersionInvalid + Symbol version is invalid. (-> Release handle and try again.) + Error + + + InvalidState + Server is in invalid state. + Error + + + TransModeNotSupported + AdsTransMode is not supported. + Error + + + NotificationHandleInvalid + Notification handle is invalid. (-> Release handle and try again.) + Error + + + ClientUnknown + Notification client is not registered. + Error + + + NoMoreHandles + No more notification handles + Error + + + InvalidWatchSize + Size for watch is too big. + Error + + + NotInit + Device is not initialized. + Error + + + DeviceTimeout + Device has a timeout. + Error + + + NoInterface + Query interface is failed. + Error + + + InvalidInterface + Wrong interface is required. + Error + + + InvalidClassID + Class ID is invalid. + Error + + + InvalidObjectID + Object ID is invalid. + Error + + + Pending + Request is pending. + Error + + + Aborted + Request is aborted. + Error + + + SignalWarning + Signal warning + Error + + + InvalidArrayIndex + Invalid array index + Error + + + SymbolNotActive + Symbol is not active. (-> Release handle and try again.) + Error + + + AccessDenied + Access is denied. + Error + + + LicenseMissing + License is missing / not found. + Error + + + LicenseExpired + License is expired. + Error + + + LicenseExceeded + License is exceeded. + Error + + + LicenseInvalid + License is invalid. + Error + + + LicenseSystemID + License with invalid system ID + Error + + + LicenseNoTimeLimit + License is not time limited. + Error + + + LicenseFutureIssue + License issue time is in the future. + Error + + + LicenseTimeTooLong + License time period is too long. + Error + + + Exception + Exception in the device code + Error + + + LicenseDuplicated + License file is read twice. + Error + + + InvalidServiceParam + Invalid parameter at service call + Error + + + ListEmpty + Polling list is empty. + Error + + + VariableConAlreadyInUse + Variable connection is already in use. + Error + + + InvokeIDAlreadyInUse + Invoke ID is already in use. + Error + + + TimeoutElapsed + Timeout is elapsed. + Error + + + Win32Error + Error in Win32 subsystem + Error + + + TimeoutInvalid + Timeout value is invalid. + Error + + + PortNotOpen + Port is not open (Ads dll). + Error + + + NoAMSAddr + No AMS address (Ads dll) + Error + + + SyncInternalError + Internal error in Ads sync + Error + + + AddHash + Hash table overflow + Error + + + RemoveHash + Key not found in hash table + Error + + + NoMoreSymbols + No more symbols in cache + Error + + + SyncResInvalid + Invalid response received + Error + + + SyncPortLocked + Sync port is locked. + Error + + + + + + + TcRouterEventClass + TcRouterEventClass + + NoLockedMemory + No locked memory can be allocated. + Error + + + ResizeMemory + The size of the router memory could not be changed. + Error + + + MailboxFull + The mailbox has reached the maximum number of possible messages. The current sent message was rejected. + Error + + + DebugBoxFull + The debug mailbox has reached the maximum number of possible messages. The sent message will not be displayed in the debug monitor. + Error + + + UnknownPortType + The port type is unknown. + Error + + + NotInitialized + TwinCAT Router is not initialised. + Error + + + PortAlreadyInUse + The desired port number is already assigned. + Error + + + NotRegistered + The Port is not registered. + Error + + + NoMoreQueues + The maximum number of Ports is reached. + Error + + + InvalidPort + The port is invalid. + Error + + + NotActivated + TwinCAT Router is not active. + Error + + + FragmentBoxFull + Fragment Box is full. + Error + + + FragmentTimeout + Fragment Timeout + Error + + + ToBeRemoved + ToBeRemoved + Error + + + + TcRTimeEventClass + TcRTimeEventClass + + InternalError + An internal fatal error in the TwinCAT real-time system occurred. + Error + + + BadTimerPeriods + The timer period is invalid. + Error + + + InvalidTaskPtr + The task pointer has the invalid value ZERO. + Error + + + InvalidStackPtr + The task stack pointer has the invalid value ZERO. + Error + + + PrioExists + The demanded task priority is already assigned. + Error + + + NoMoreTCB + No more free TCB (Task Control Block) available. The maximum number of TCBs is 64. + Error + + + NoMoreSemas + No more free semaphores available. The maximum number of semaphores is 64. + Error + + + NoMoreQueues + No more free queues available. The maximum number of queues is 64. + Error + + + ExtIRQAlreadyDef + An external synchronisation interrupt is already applied. + Error + + + ExtIRQNotDef + No external synchronsiation interrupt is applied. + Error + + + ExtIRQInstallFailed + The apply of the external synchronisation interrupt failed. + Error + + + IRQNotLessOrEqual + Call of a service function in the wrong context. + Error + + + VMXNotSupported + Intel VT-x extension is not supported. + Error + + + VMXDisabled + Intel VT-x extension is not enabled in BIOS. + Error + + + VMXControlsMissing + Missing feature in Intel VT-x extension. + Error + + + VMXEnableFails + Enabling Intel VT-x fails. + Error + + + + Win32EventClass + Win32EventClass + + ERROR_SUCCESS + The operation completed successfully. + Verbose + + + ERROR_INVALID_FUNCTION + Incorrect function. + Error + + + ERROR_FILE_NOT_FOUND + The system cannot find the file specified. + Error + + + ERROR_PATH_NOT_FOUND + The system cannot find the path specified. + Error + + + ERROR_TOO_MANY_OPEN_FILES + The system cannot open the file. + Error + + + ERROR_ACCESS_DENIED + Access is denied. + Error + + + ERROR_INVALID_HANDLE + The handle is invalid. + Error + + + ERROR_NOT_ENOUGH_MEMORY + Not enough storage is available to process this command. + Error + + + ERROR_INVALID_DATA + The data is invalid. + Error + + + ERROR_NOT_READY + The device is not ready. + Error + + + ERROR_BAD_COMMAND + The device does not recognize the command. + Error + + + ERROR_CRC + Data error (cyclic redundancy check). + Error + + + ERROR_BAD_LENGTH + The program issued a command but the command length is incorrect. + Error + + + ERROR_WRITE_FAULT + The system cannot write to the specified device. + Error + + + ERROR_READ_FAULT + The system cannot read from the specified device. + Error + + + ERROR_GEN_FAILURE + A device attached to the system is not functioning. + Error + + + ERROR_NOT_SUPPORTED + The request is not supported. + Error + + + ERROR_REM_NOT_LIST + The remote computer is not available. + Error + + + ERROR_DUP_NAME + A duplicate name exists on the network. + Error + + + ERROR_BAD_NETPATH + The network path was not found. + Error + + + ERROR_NETWORK_BUSY + The network is busy. + Error + + + ERROR_DEV_NOT_EXIST + The specified network resource or device is no longer available. + Error + + + ERROR_FILE_EXISTS + The file exists. + Error + + + ERROR_CANNOT_MAKE + The directory or file cannot be created. + Error + + + ERROR_ALREADY_ASSIGNED + The local device name is already in use. + Error + + + ERROR_INVALID_PASSWORD + The specified network password is not correct. + Error + + + ERROR_INVALID_PARAMETER + The parameter is incorrect. + Error + + + ERROR_OPEN_FAILED + The system cannot open the device or file specified. + Error + + + ERROR_ALREADY_EXISTS + Cannot create a file when that file already exists. + Error + + + ERROR_INVALID_FLAG_NUMBER + The flag passed is not correct. + Error + + + WAIT_TIMEOUT + The wait operation timed out. + Error + + + ERROR_NO_MORE_ITEMS + No more data is available. + Error + + + ERROR_INVALID_ADDRESS + Attempt to access invalid address. + Error + + + ERROR_ARITHMETIC_OVERFLOW + Arithmetic result exceeded 32 bits. + Error + + + ERROR_OPERATION_ABORTED + The I/O operation has been aborted because of either a thread exit or an application request. + Error + + + ERROR_IO_INCOMPLETE + Overlapped I/O event is not in a signaled state. + Error + + + ERROR_IO_PENDING + Overlapped I/O operation is in progress. + Error + + + + + + + LCLSGeneralEventClass + Log event + + Critical + Critical + Critical + + + Error + Error + Error + + + Warning + Warning + Warning + + + Info + Info + Info + + + Verbose + Verbose + Verbose + + + + + + + + + + + + + + + tmo_optics + {08500001-0000-0000-F000-000000000064} + + + {777f1598-583b-4503-99bb-7c02e0abd97e} + TF4100 TC3 Controller Toolbox + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + {bca6ee0a-9ce1-4d3f-98ca-413abc0d94fd} + TF6340 TC3 Serial-Communication + + + + + 0 + SerialIO + + #x02010070 + + + + 1 + PiezoDriver + + #x02010060 + + + + 2 + PlcTask + + #x02010030 + + + + + + + 0 + SerialIO Inputs + 0 + 84148224 + + GVL_SerialIO.Serial_stComIn_M1K4 + Better have your inputs and outputs! + M1K4 + 192 + EL6inData22B + + + TcAddressType + Input + + + TcVarGlobal + + + 666218496 + + + + 1 + SerialIO Outputs + 0 + 84148224 + + GVL_SerialIO.Serial_stComOut_M1K4 + 192 + EL6outData22B + + + TcAddressType + Output + + + TcVarGlobal + + + 666218688 + + + + 3 + SerialIO Internal + 0 + 84148224 + + P_Serial_Com.fbSerialLineControl_EL6001_M1K4 + 10432 + SerialLineControl + 639766368 + + + GVL_COM_Buffers.Serial_RXBuffer_M1K4 + M1K4 + 2512 + ComBuffer + + + TcVarGlobal + + + 664266496 + + + GVL_COM_Buffers.Serial_TXBuffer_M1K4 + 2512 + ComBuffer + + + TcVarGlobal + + + 664269008 + + + TwinCAT_SystemInfoVarList._AppInfo + 2048 + PlcAppSystemInfo + + + no_init + + + TcVarGlobal + + + 666221184 + + + TwinCAT_SystemInfoVarList._TaskPouOid_SerialIO + 32 + OTCID + + + no_init + + + TcVarGlobal + + + 666226304 + + + TwinCAT_SystemInfoVarList._TaskOid_SerialIO + 32 + OTCID + + + no_init + + + TcVarGlobal + + + 666226336 + + + TwinCAT_SystemInfoVarList.__SerialIO + 704 + _Implicit_Task_Info + + + .dwVersion + 2 + + + + + TcContextName + SerialIO + + + TcVarGlobal + + + 666226496 + + + + 19 + PiezoDriver Internal + 1 + 84148224 + + PiezoSerial.fbE621SerialDriver_M1K4 + PI Serial + 104032 + FB_PI_E621_SerialDriver + 639778336 + + + GVL_M1K4.M1K4_Pitch + Pitch Mechanism: + 2496 + HOMS_PitchMechanism + + + .ReqPosLimHi + 275 + + + .ReqPosLimLo + -25 + + + .diEncPosLimHi + 10149192 + + + .diEncPosLimLo + 10047105 + + + + + TcLinkTo + .diEncCnt:=TIIB[EL5042_M1K4_PitchBender]^FB Inputs Channel 1^Position + + + TcVarGlobal + + + 664271552 + + + TwinCAT_SystemInfoVarList._TaskPouOid_PiezoDriver + 32 + OTCID + + + no_init + + + TcVarGlobal + + + 666226368 + + + TwinCAT_SystemInfoVarList._TaskOid_PiezoDriver + 32 + OTCID + + + no_init + + + TcVarGlobal + + + 666226400 + + + TwinCAT_SystemInfoVarList.__PiezoDriver + 704 + _Implicit_Task_Info + + + .dwVersion + 2 + + + + + TcContextName + PiezoDriver + + + TcVarGlobal + + + 666227200 + + + + 32 + PlcTask Inputs + 2 + 84148224 + + LCLS_General.DefaultGlobals.stSys.I_EcatMaster1 + AMS Net ID used for FB_EcatDiag, among others + 48 + AMSNETID + + + naming + omit + + + TcAddressType + Input + + + 4096040 + + + Main.bDreamEnable1 + MR4K4 MR5K4 STO button + 8 + BOOL + + + TcLinkTo + TIIB[Term 109 (EL1004)]^Channel 1^Input + + + TcAddressType + Input + + + 631340208 + + + Main.bDreamEnable2 + 8 + BOOL + + + TcLinkTo + TIIB[Term 109 (EL1004)]^Channel 2^Input + + + TcAddressType + Input + + + 631340216 + + + lcls_twincat_optics.GVL_TestStructs.TestPitch_LimitSwitches.diEncCnt + Raw encoder count + 64 + LINT + + + TcAddressType + Input + + + 639719744 + + + Main.M1.Axis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 639895232 + + + Main.M1.bLimitForwardEnable + NC Forward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitForwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if forward limit hit - TcAddressTypeInput639903168Main.M1.bLimitBackwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + 639903168 + + + Main.M1.bLimitBackwardEnable + NC Backward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitBackwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if reverse limit hit - TcAddressTypeInput639903176Main.M1.bHome8BOOLpytmc + + + + TcAddressType + Input + + + 639903176 + + + Main.M1.bHome + NO Home Switch: TRUE if at home + 8 + BOOL + + + pytmc + pv: PLC:bHome io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if at homing switch - TcAddressTypeInput639903184Main.M1.bHardwareEnable8BOOLpytmc + + + + TcAddressType + Input + + + 639903184 + + + Main.M1.bHardwareEnable + NC STO Input: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bHardwareEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if STO not hit - TcAddressTypeInput639903200Main.M1.nRawEncoderULINT64ULINTTcAddressTypeInput639903232Main.M1.nRawEncoderUINT16UINTTcAddressTypeInput639903296Main.M1.nRawEncoderINT16INTTcAddressTypeInput639903312Main.fbMotionStage_m1.fbDriveVirtual.MasterAxis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput639917824Main.M2.Axis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput640214720Main.M2.bLimitForwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + 639903200 + + + Main.M1.nRawEncoderULINT + Raw encoder IO for ULINT (Biss-C) + 64 + ULINT + + + TcAddressType + Input + + + 639903232 + + + Main.M1.nRawEncoderUINT + Raw encoder IO for UINT (Relative Encoders) + 16 + UINT + + + TcAddressType + Input + + + 639903296 + + + Main.M1.nRawEncoderINT + Raw encoder IO for INT (LVDT) + 16 + INT + + + TcAddressType + Input + + + 639903312 + + + Main.fbMotionStage_m1.fbDriveVirtual.MasterAxis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 639917824 + + + Main.M2.Axis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 640214720 + + + Main.M2.bLimitForwardEnable + NC Forward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitForwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if forward limit hit - TcAddressTypeInput640222656Main.M2.bLimitBackwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + 640222656 + + + Main.M2.bLimitBackwardEnable + NC Backward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitBackwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if reverse limit hit - TcAddressTypeInput640222664Main.M2.bHome8BOOLpytmc + + + + TcAddressType + Input + + + 640222664 + + + Main.M2.bHome + NO Home Switch: TRUE if at home + 8 + BOOL + + + pytmc + pv: PLC:bHome io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if at homing switch - TcAddressTypeInput640222672Main.M2.bHardwareEnable8BOOLpytmc + + + + TcAddressType + Input + + + 640222672 + + + Main.M2.bHardwareEnable + NC STO Input: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bHardwareEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if STO not hit - TcAddressTypeInput640222688Main.M2.nRawEncoderULINT64ULINTTcAddressTypeInput640222720Main.M2.nRawEncoderUINT16UINTTcAddressTypeInput640222784Main.M2.nRawEncoderINT16INTTcAddressTypeInput640222800Main.fbMotionStage_m2.fbDriveVirtual.MasterAxis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput640237312Main.M3.Axis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput640534208Main.M3.bLimitForwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + 640222688 + + + Main.M2.nRawEncoderULINT + Raw encoder IO for ULINT (Biss-C) + 64 + ULINT + + + TcAddressType + Input + + + 640222720 + + + Main.M2.nRawEncoderUINT + Raw encoder IO for UINT (Relative Encoders) + 16 + UINT + + + TcAddressType + Input + + + 640222784 + + + Main.M2.nRawEncoderINT + Raw encoder IO for INT (LVDT) + 16 + INT + + + TcAddressType + Input + + + 640222800 + + + Main.fbMotionStage_m2.fbDriveVirtual.MasterAxis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 640237312 + + + Main.M3.Axis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 640534208 + + + Main.M3.bLimitForwardEnable + NC Forward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitForwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if forward limit hit - TcAddressTypeInput640542144Main.M3.bLimitBackwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + 640542144 + + + Main.M3.bLimitBackwardEnable + NC Backward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitBackwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if reverse limit hit - TcAddressTypeInput640542152Main.M3.bHome8BOOLpytmc + + + + TcAddressType + Input + + + 640542152 + + + Main.M3.bHome + NO Home Switch: TRUE if at home + 8 + BOOL + + + pytmc + pv: PLC:bHome io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if at homing switch - TcAddressTypeInput640542160Main.M3.bHardwareEnable8BOOLpytmc + + + + TcAddressType + Input + + + 640542160 + + + Main.M3.bHardwareEnable + NC STO Input: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bHardwareEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if STO not hit - TcAddressTypeInput640542176Main.M3.nRawEncoderULINT64ULINTTcAddressTypeInput640542208Main.M3.nRawEncoderUINT16UINTTcAddressTypeInput640542272Main.M3.nRawEncoderINT16INTTcAddressTypeInput640542288Main.fbMotionStage_m3.fbDriveVirtual.MasterAxis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput640556800Main.M4.Axis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput640853696Main.M4.bLimitForwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + 640542176 + + + Main.M3.nRawEncoderULINT + Raw encoder IO for ULINT (Biss-C) + 64 + ULINT + + + TcAddressType + Input + + + 640542208 + + + Main.M3.nRawEncoderUINT + Raw encoder IO for UINT (Relative Encoders) + 16 + UINT + + + TcAddressType + Input + + + 640542272 + + + Main.M3.nRawEncoderINT + Raw encoder IO for INT (LVDT) + 16 + INT + + + TcAddressType + Input + + + 640542288 + + + Main.fbMotionStage_m3.fbDriveVirtual.MasterAxis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 640556800 + + + Main.M4.Axis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 640853696 + + + Main.M4.bLimitForwardEnable + NC Forward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitForwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if forward limit hit - TcAddressTypeInput640861632Main.M4.bLimitBackwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + 640861632 + + + Main.M4.bLimitBackwardEnable + NC Backward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitBackwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if reverse limit hit - TcAddressTypeInput640861640Main.M4.bHome8BOOLpytmc + + + + TcAddressType + Input + + + 640861640 + + + Main.M4.bHome + NO Home Switch: TRUE if at home + 8 + BOOL + + + pytmc + pv: PLC:bHome io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if at homing switch - TcAddressTypeInput640861648Main.M4.bHardwareEnable8BOOLpytmc + + + + TcAddressType + Input + + + 640861648 + + + Main.M4.bHardwareEnable + NC STO Input: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bHardwareEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if STO not hit - TcAddressTypeInput640861664Main.M4.nRawEncoderULINT64ULINTTcAddressTypeInput640861696Main.M4.nRawEncoderUINT16UINTTcAddressTypeInput640861760Main.M4.nRawEncoderINT16INTTcAddressTypeInput640861776Main.fbMotionStage_m4.fbDriveVirtual.MasterAxis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput640876288Main.M5.Axis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput641173184Main.M5.bLimitForwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + 640861664 + + + Main.M4.nRawEncoderULINT + Raw encoder IO for ULINT (Biss-C) + 64 + ULINT + + + TcAddressType + Input + + + 640861696 + + + Main.M4.nRawEncoderUINT + Raw encoder IO for UINT (Relative Encoders) + 16 + UINT + + + TcAddressType + Input + + + 640861760 + + + Main.M4.nRawEncoderINT + Raw encoder IO for INT (LVDT) + 16 + INT + + + TcAddressType + Input + + + 640861776 + + + Main.fbMotionStage_m4.fbDriveVirtual.MasterAxis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 640876288 + + + Main.M5.Axis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 641173184 + + + Main.M5.bLimitForwardEnable + NC Forward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitForwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if forward limit hit - TcAddressTypeInput641181120Main.M5.bLimitBackwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + 641181120 + + + Main.M5.bLimitBackwardEnable + NC Backward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitBackwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if reverse limit hit - TcAddressTypeInput641181128Main.M5.bHome8BOOLpytmc + + + + TcAddressType + Input + + + 641181128 + + + Main.M5.bHome + NO Home Switch: TRUE if at home + 8 + BOOL + + + pytmc + pv: PLC:bHome io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if at homing switch - TcAddressTypeInput641181136Main.M5.bHardwareEnable8BOOLpytmc + + + + TcAddressType + Input + + + 641181136 + + + Main.M5.bHardwareEnable + NC STO Input: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bHardwareEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if STO not hit - TcAddressTypeInput641181152Main.M5.nRawEncoderULINT64ULINTTcAddressTypeInput641181184Main.M5.nRawEncoderUINT16UINTTcAddressTypeInput641181248Main.M5.nRawEncoderINT16INTTcAddressTypeInput641181264Main.fbMotionStage_m5.fbDriveVirtual.MasterAxis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput641195776Main.M6.Axis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput641492672Main.M6.bLimitForwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + 641181152 + + + Main.M5.nRawEncoderULINT + Raw encoder IO for ULINT (Biss-C) + 64 + ULINT + + + TcAddressType + Input + + + 641181184 + + + Main.M5.nRawEncoderUINT + Raw encoder IO for UINT (Relative Encoders) + 16 + UINT + + + TcAddressType + Input + + + 641181248 + + + Main.M5.nRawEncoderINT + Raw encoder IO for INT (LVDT) + 16 + INT + + + TcAddressType + Input + + + 641181264 + + + Main.fbMotionStage_m5.fbDriveVirtual.MasterAxis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 641195776 + + + Main.M6.Axis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 641492672 + + + Main.M6.bLimitForwardEnable + NC Forward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitForwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if forward limit hit - TcAddressTypeInput641500608Main.M6.bLimitBackwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + 641500608 + + + Main.M6.bLimitBackwardEnable + NC Backward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitBackwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if reverse limit hit - TcAddressTypeInput641500616Main.M6.bHome8BOOLpytmc + + + + TcAddressType + Input + + + 641500616 + + + Main.M6.bHome + NO Home Switch: TRUE if at home + 8 + BOOL + + + pytmc + pv: PLC:bHome io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if at homing switch - TcAddressTypeInput641500624Main.M6.bHardwareEnable8BOOLpytmc + + + + TcAddressType + Input + + + 641500624 + + + Main.M6.bHardwareEnable + NC STO Input: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bHardwareEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if STO not hit - TcAddressTypeInput641500640Main.M6.nRawEncoderULINT64ULINTTcAddressTypeInput641500672Main.M6.nRawEncoderUINT16UINTTcAddressTypeInput641500736Main.M6.nRawEncoderINT16INTTcAddressTypeInput641500752Main.fbMotionStage_m6.fbDriveVirtual.MasterAxis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput641515264Main.M1K4.fbRunHOMS.bSTOEnable18BOOLTcAddressTypeInput641812000Main.M1K4.fbRunHOMS.bSTOEnable28BOOLTcAddressTypeInput641812008Main.M1K4.fbRunHOMS.stYupEnc128ST_RenishawAbsEncTcAddressTypeInput641812032Main.M1K4.fbRunHOMS.stYdwnEnc128ST_RenishawAbsEncTcAddressTypeInput641812160Main.M1K4.fbRunHOMS.stXupEnc128ST_RenishawAbsEncTcAddressTypeInput641812288Main.M1K4.fbRunHOMS.stXdwnEnc128ST_RenishawAbsEncTcAddressTypeInput641812416Main.M1K4.fbRunHOMS.fbAutoCoupleY.gantry_diff_limit.PEnc.Count64ULINTTcAddressTypeInput641812992Main.M1K4.fbRunHOMS.fbAutoCoupleY.gantry_diff_limit.SEnc.Count64ULINTTcAddressTypeInput641813120Main.M1K4.fbRunHOMS.fbAutoCoupleX.gantry_diff_limit.PEnc.Count64ULINTTcAddressTypeInput641822464Main.M1K4.fbRunHOMS.fbAutoCoupleX.gantry_diff_limit.SEnc.Count64ULINTTcAddressTypeInput641822592Main.M7.Axis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput643384768Main.M7.bLimitForwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + 641500640 + + + Main.M6.nRawEncoderULINT + Raw encoder IO for ULINT (Biss-C) + 64 + ULINT + + + TcAddressType + Input + + + 641500672 + + + Main.M6.nRawEncoderUINT + Raw encoder IO for UINT (Relative Encoders) + 16 + UINT + + + TcAddressType + Input + + + 641500736 + + + Main.M6.nRawEncoderINT + Raw encoder IO for INT (LVDT) + 16 + INT + + + TcAddressType + Input + + + 641500752 + + + Main.fbMotionStage_m6.fbDriveVirtual.MasterAxis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 641515264 + + + Main.M1K4.fbRunHOMS.bSTOEnable1 + STO Button + 8 + BOOL + + + TcAddressType + Input + + + 641812000 + + + Main.M1K4.fbRunHOMS.bSTOEnable2 + 8 + BOOL + + + TcAddressType + Input + + + 641812008 + + + Main.M1K4.fbRunHOMS.stYupEnc + Encoders + 128 + ST_RenishawAbsEnc + + + TcAddressType + Input + + + 641812032 + + + Main.M1K4.fbRunHOMS.stYdwnEnc + 128 + ST_RenishawAbsEnc + + + TcAddressType + Input + + + 641812160 + + + Main.M1K4.fbRunHOMS.stXupEnc + 128 + ST_RenishawAbsEnc + + + TcAddressType + Input + + + 641812288 + + + Main.M1K4.fbRunHOMS.stXdwnEnc + 128 + ST_RenishawAbsEnc + + + TcAddressType + Input + + + 641812416 + + + Main.M1K4.fbRunHOMS.fbAutoCoupleY.gantry_diff_limit.PEnc.Count + Connect to encoder "Position" input + 64 + ULINT + + + TcAddressType + Input + + + 641812992 + + + Main.M1K4.fbRunHOMS.fbAutoCoupleY.gantry_diff_limit.SEnc.Count + Connect to encoder "Position" input + 64 + ULINT + + + TcAddressType + Input + + + 641813120 + + + Main.M1K4.fbRunHOMS.fbAutoCoupleX.gantry_diff_limit.PEnc.Count + Connect to encoder "Position" input + 64 + ULINT + + + TcAddressType + Input + + + 641822464 + + + Main.M1K4.fbRunHOMS.fbAutoCoupleX.gantry_diff_limit.SEnc.Count + Connect to encoder "Position" input + 64 + ULINT + + + TcAddressType + Input + + + 641822592 + + + Main.M7.Axis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 643384768 + + + Main.M7.bLimitForwardEnable + NC Forward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitForwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if forward limit hit - TcAddressTypeInput643392704Main.M7.bLimitBackwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + 643392704 + + + Main.M7.bLimitBackwardEnable + NC Backward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitBackwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if reverse limit hit - TcAddressTypeInput643392712Main.M7.bHome8BOOLpytmc + + + + TcAddressType + Input + + + 643392712 + + + Main.M7.bHome + NO Home Switch: TRUE if at home + 8 + BOOL + + + pytmc + pv: PLC:bHome io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if at homing switch - TcAddressTypeInput643392720Main.M7.bHardwareEnable8BOOLpytmc + + + + TcAddressType + Input + + + 643392720 + + + Main.M7.bHardwareEnable + NC STO Input: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bHardwareEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if STO not hit - TcAddressTypeInput643392736Main.M7.nRawEncoderULINT64ULINTTcAddressTypeInput643392768Main.M7.nRawEncoderUINT16UINTTcAddressTypeInput643392832Main.M7.nRawEncoderINT16INTTcAddressTypeInput643392848Main.fbMotionStage_m7.fbDriveVirtual.MasterAxis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput643407360Main.M8.Axis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput643704256Main.M8.bLimitForwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + 643392736 + + + Main.M7.nRawEncoderULINT + Raw encoder IO for ULINT (Biss-C) + 64 + ULINT + + + TcAddressType + Input + + + 643392768 + + + Main.M7.nRawEncoderUINT + Raw encoder IO for UINT (Relative Encoders) + 16 + UINT + + + TcAddressType + Input + + + 643392832 + + + Main.M7.nRawEncoderINT + Raw encoder IO for INT (LVDT) + 16 + INT + + + TcAddressType + Input + + + 643392848 + + + Main.fbMotionStage_m7.fbDriveVirtual.MasterAxis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 643407360 + + + Main.M8.Axis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 643704256 + + + Main.M8.bLimitForwardEnable + NC Forward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitForwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if forward limit hit - TcAddressTypeInput643712192Main.M8.bLimitBackwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + 643712192 + + + Main.M8.bLimitBackwardEnable + NC Backward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitBackwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if reverse limit hit - TcAddressTypeInput643712200Main.M8.bHome8BOOLpytmc + + + + TcAddressType + Input + + + 643712200 + + + Main.M8.bHome + NO Home Switch: TRUE if at home + 8 + BOOL + + + pytmc + pv: PLC:bHome io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if at homing switch - TcAddressTypeInput643712208Main.M8.bHardwareEnable8BOOLpytmc + + + + TcAddressType + Input + + + 643712208 + + + Main.M8.bHardwareEnable + NC STO Input: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bHardwareEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if STO not hit - TcAddressTypeInput643712224Main.M8.nRawEncoderULINT64ULINTTcAddressTypeInput643712256Main.M8.nRawEncoderUINT16UINTTcAddressTypeInput643712320Main.M8.nRawEncoderINT16INTTcAddressTypeInput643712336Main.fbMotionStage_m8.fbDriveVirtual.MasterAxis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput643726848Main.M9.Axis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput644023744Main.M9.bLimitForwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + 643712224 + + + Main.M8.nRawEncoderULINT + Raw encoder IO for ULINT (Biss-C) + 64 + ULINT + + + TcAddressType + Input + + + 643712256 + + + Main.M8.nRawEncoderUINT + Raw encoder IO for UINT (Relative Encoders) + 16 + UINT + + + TcAddressType + Input + + + 643712320 + + + Main.M8.nRawEncoderINT + Raw encoder IO for INT (LVDT) + 16 + INT + + + TcAddressType + Input + + + 643712336 + + + Main.fbMotionStage_m8.fbDriveVirtual.MasterAxis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 643726848 + + + Main.M9.Axis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 644023744 + + + Main.M9.bLimitForwardEnable + NC Forward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitForwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if forward limit hit - TcAddressTypeInput644031680Main.M9.bLimitBackwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + 644031680 + + + Main.M9.bLimitBackwardEnable + NC Backward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitBackwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if reverse limit hit - TcAddressTypeInput644031688Main.M9.bHome8BOOLpytmc + + + + TcAddressType + Input + + + 644031688 + + + Main.M9.bHome + NO Home Switch: TRUE if at home + 8 + BOOL + + + pytmc + pv: PLC:bHome io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if at homing switch - TcAddressTypeInput644031696Main.M9.bHardwareEnable8BOOLpytmc + + + + TcAddressType + Input + + + 644031696 + + + Main.M9.bHardwareEnable + NC STO Input: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bHardwareEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if STO not hit - TcAddressTypeInput644031712Main.M9.nRawEncoderULINT64ULINTTcAddressTypeInput644031744Main.M9.nRawEncoderUINT16UINTTcAddressTypeInput644031808Main.M9.nRawEncoderINT16INTTcAddressTypeInput644031824Main.fbMotionStage_m9.fbDriveVirtual.MasterAxis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput644046336Main.M10.Axis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput644343232Main.M10.bLimitForwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + 644031712 + + + Main.M9.nRawEncoderULINT + Raw encoder IO for ULINT (Biss-C) + 64 + ULINT + + + TcAddressType + Input + + + 644031744 + + + Main.M9.nRawEncoderUINT + Raw encoder IO for UINT (Relative Encoders) + 16 + UINT + + + TcAddressType + Input + + + 644031808 + + + Main.M9.nRawEncoderINT + Raw encoder IO for INT (LVDT) + 16 + INT + + + TcAddressType + Input + + + 644031824 + + + Main.fbMotionStage_m9.fbDriveVirtual.MasterAxis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 644046336 + + + Main.M10.Axis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 644343232 + + + Main.M10.bLimitForwardEnable + NC Forward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitForwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if forward limit hit - TcAddressTypeInput644351168Main.M10.bLimitBackwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + 644351168 + + + Main.M10.bLimitBackwardEnable + NC Backward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitBackwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if reverse limit hit - TcAddressTypeInput644351176Main.M10.bHome8BOOLpytmc + + + + TcAddressType + Input + + + 644351176 + + + Main.M10.bHome + NO Home Switch: TRUE if at home + 8 + BOOL + + + pytmc + pv: PLC:bHome io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if at homing switch - TcAddressTypeInput644351184Main.M10.bHardwareEnable8BOOLpytmc + + + + TcAddressType + Input + + + 644351184 + + + Main.M10.bHardwareEnable + NC STO Input: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bHardwareEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if STO not hit - TcAddressTypeInput644351200Main.M10.nRawEncoderULINT64ULINTTcAddressTypeInput644351232Main.M10.nRawEncoderUINT16UINTTcAddressTypeInput644351296Main.M10.nRawEncoderINT16INTTcAddressTypeInput644351312Main.fbMotionStage_m10.fbDriveVirtual.MasterAxis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput644365824Main.M11.Axis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput644662720Main.M11.bLimitForwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + 644351200 + + + Main.M10.nRawEncoderULINT + Raw encoder IO for ULINT (Biss-C) + 64 + ULINT + + + TcAddressType + Input + + + 644351232 + + + Main.M10.nRawEncoderUINT + Raw encoder IO for UINT (Relative Encoders) + 16 + UINT + + + TcAddressType + Input + + + 644351296 + + + Main.M10.nRawEncoderINT + Raw encoder IO for INT (LVDT) + 16 + INT + + + TcAddressType + Input + + + 644351312 + + + Main.fbMotionStage_m10.fbDriveVirtual.MasterAxis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 644365824 + + + Main.M11.Axis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 644662720 + + + Main.M11.bLimitForwardEnable + NC Forward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitForwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if forward limit hit - TcAddressTypeInput644670656Main.M11.bLimitBackwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + 644670656 + + + Main.M11.bLimitBackwardEnable + NC Backward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitBackwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if reverse limit hit - TcAddressTypeInput644670664Main.M11.bHome8BOOLpytmc + + + + TcAddressType + Input + + + 644670664 + + + Main.M11.bHome + NO Home Switch: TRUE if at home + 8 + BOOL + + + pytmc + pv: PLC:bHome io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if at homing switch - TcAddressTypeInput644670672Main.M11.bHardwareEnable8BOOLpytmc + + + + TcAddressType + Input + + + 644670672 + + + Main.M11.bHardwareEnable + NC STO Input: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bHardwareEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if STO not hit - TcAddressTypeInput644670688Main.M11.nRawEncoderULINT64ULINTTcAddressTypeInput644670720Main.M11.nRawEncoderUINT16UINTTcAddressTypeInput644670784Main.M11.nRawEncoderINT16INTTcAddressTypeInput644670800Main.fbMotionStage_m11.fbDriveVirtual.MasterAxis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput644685312Main.M12.Axis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput644982208Main.M12.bLimitForwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + 644670688 + + + Main.M11.nRawEncoderULINT + Raw encoder IO for ULINT (Biss-C) + 64 + ULINT + + + TcAddressType + Input + + + 644670720 + + + Main.M11.nRawEncoderUINT + Raw encoder IO for UINT (Relative Encoders) + 16 + UINT + + + TcAddressType + Input + + + 644670784 + + + Main.M11.nRawEncoderINT + Raw encoder IO for INT (LVDT) + 16 + INT + + + TcAddressType + Input + + + 644670800 + + + Main.fbMotionStage_m11.fbDriveVirtual.MasterAxis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 644685312 + + + Main.M12.Axis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 644982208 + + + Main.M12.bLimitForwardEnable + NC Forward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitForwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if forward limit hit - TcAddressTypeInput644990144Main.M12.bLimitBackwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + 644990144 + + + Main.M12.bLimitBackwardEnable + NC Backward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitBackwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if reverse limit hit - TcAddressTypeInput644990152Main.M12.bHome8BOOLpytmc + + + + TcAddressType + Input + + + 644990152 + + + Main.M12.bHome + NO Home Switch: TRUE if at home + 8 + BOOL + + + pytmc + pv: PLC:bHome io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if at homing switch - TcAddressTypeInput644990160Main.M12.bHardwareEnable8BOOLpytmc + + + + TcAddressType + Input + + + 644990160 + + + Main.M12.bHardwareEnable + NC STO Input: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bHardwareEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if STO not hit - TcAddressTypeInput644990176Main.M12.nRawEncoderULINT64ULINTTcAddressTypeInput644990208Main.M12.nRawEncoderUINT16UINTTcAddressTypeInput644990272Main.M12.nRawEncoderINT16INTTcAddressTypeInput644990288Main.fbMotionStage_m12.fbDriveVirtual.MasterAxis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput645004800Main.M13.Axis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput645301696Main.M13.bLimitForwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + 644990176 + + + Main.M12.nRawEncoderULINT + Raw encoder IO for ULINT (Biss-C) + 64 + ULINT + + + TcAddressType + Input + + + 644990208 + + + Main.M12.nRawEncoderUINT + Raw encoder IO for UINT (Relative Encoders) + 16 + UINT + + + TcAddressType + Input + + + 644990272 + + + Main.M12.nRawEncoderINT + Raw encoder IO for INT (LVDT) + 16 + INT + + + TcAddressType + Input + + + 644990288 + + + Main.fbMotionStage_m12.fbDriveVirtual.MasterAxis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 645004800 + + + Main.M13.Axis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 645301696 + + + Main.M13.bLimitForwardEnable + NC Forward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitForwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if forward limit hit - TcAddressTypeInput645309632Main.M13.bLimitBackwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + 645309632 + + + Main.M13.bLimitBackwardEnable + NC Backward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitBackwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if reverse limit hit - TcAddressTypeInput645309640Main.M13.bHome8BOOLpytmc + + + + TcAddressType + Input + + + 645309640 + + + Main.M13.bHome + NO Home Switch: TRUE if at home + 8 + BOOL + + + pytmc + pv: PLC:bHome io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if at homing switch - TcAddressTypeInput645309648Main.M13.bHardwareEnable8BOOLpytmc + + + + TcAddressType + Input + + + 645309648 + + + Main.M13.bHardwareEnable + NC STO Input: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bHardwareEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if STO not hit - TcAddressTypeInput645309664Main.M13.nRawEncoderULINT64ULINTTcAddressTypeInput645309696Main.M13.nRawEncoderUINT16UINTTcAddressTypeInput645309760Main.M13.nRawEncoderINT16INTTcAddressTypeInput645309776Main.fbMotionStage_m13.fbDriveVirtual.MasterAxis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput645324288Main.M14.Axis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput645621184Main.M14.bLimitForwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + 645309664 + + + Main.M13.nRawEncoderULINT + Raw encoder IO for ULINT (Biss-C) + 64 + ULINT + + + TcAddressType + Input + + + 645309696 + + + Main.M13.nRawEncoderUINT + Raw encoder IO for UINT (Relative Encoders) + 16 + UINT + + + TcAddressType + Input + + + 645309760 + + + Main.M13.nRawEncoderINT + Raw encoder IO for INT (LVDT) + 16 + INT + + + TcAddressType + Input + + + 645309776 + + + Main.fbMotionStage_m13.fbDriveVirtual.MasterAxis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 645324288 + + + Main.M14.Axis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 645621184 + + + Main.M14.bLimitForwardEnable + NC Forward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitForwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if forward limit hit - TcAddressTypeInput645629120Main.M14.bLimitBackwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + 645629120 + + + Main.M14.bLimitBackwardEnable + NC Backward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitBackwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if reverse limit hit - TcAddressTypeInput645629128Main.M14.bHome8BOOLpytmc + + + + TcAddressType + Input + + + 645629128 + + + Main.M14.bHome + NO Home Switch: TRUE if at home + 8 + BOOL + + + pytmc + pv: PLC:bHome io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if at homing switch - TcAddressTypeInput645629136Main.M14.bHardwareEnable8BOOLpytmc + + + + TcAddressType + Input + + + 645629136 + + + Main.M14.bHardwareEnable + NC STO Input: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bHardwareEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if STO not hit - TcAddressTypeInput645629152Main.M14.nRawEncoderULINT64ULINTTcAddressTypeInput645629184Main.M14.nRawEncoderUINT16UINTTcAddressTypeInput645629248Main.M14.nRawEncoderINT16INTTcAddressTypeInput645629264Main.fbMotionStage_m14.fbDriveVirtual.MasterAxis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput645643776Main.M15.Axis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput645940672Main.M15.bLimitForwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + 645629152 + + + Main.M14.nRawEncoderULINT + Raw encoder IO for ULINT (Biss-C) + 64 + ULINT + + + TcAddressType + Input + + + 645629184 + + + Main.M14.nRawEncoderUINT + Raw encoder IO for UINT (Relative Encoders) + 16 + UINT + + + TcAddressType + Input + + + 645629248 + + + Main.M14.nRawEncoderINT + Raw encoder IO for INT (LVDT) + 16 + INT + + + TcAddressType + Input + + + 645629264 + + + Main.fbMotionStage_m14.fbDriveVirtual.MasterAxis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 645643776 + + + Main.M15.Axis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 645940672 + + + Main.M15.bLimitForwardEnable + NC Forward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitForwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if forward limit hit - TcAddressTypeInput645948608Main.M15.bLimitBackwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + 645948608 + + + Main.M15.bLimitBackwardEnable + NC Backward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitBackwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if reverse limit hit - TcAddressTypeInput645948616Main.M15.bHome8BOOLpytmc + + + + TcAddressType + Input + + + 645948616 + + + Main.M15.bHome + NO Home Switch: TRUE if at home + 8 + BOOL + + + pytmc + pv: PLC:bHome io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if at homing switch - TcAddressTypeInput645948624Main.M15.bHardwareEnable8BOOLpytmc + + + + TcAddressType + Input + + + 645948624 + + + Main.M15.bHardwareEnable + NC STO Input: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bHardwareEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if STO not hit - TcAddressTypeInput645948640Main.M15.nRawEncoderULINT64ULINTTcAddressTypeInput645948672Main.M15.nRawEncoderUINT16UINTTcAddressTypeInput645948736Main.M15.nRawEncoderINT16INTTcAddressTypeInput645948752Main.fbMotionStage_m15.fbDriveVirtual.MasterAxis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput645963264Main.M16.Axis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput646260160Main.M16.bLimitForwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + 645948640 + + + Main.M15.nRawEncoderULINT + Raw encoder IO for ULINT (Biss-C) + 64 + ULINT + + + TcAddressType + Input + + + 645948672 + + + Main.M15.nRawEncoderUINT + Raw encoder IO for UINT (Relative Encoders) + 16 + UINT + + + TcAddressType + Input + + + 645948736 + + + Main.M15.nRawEncoderINT + Raw encoder IO for INT (LVDT) + 16 + INT + + + TcAddressType + Input + + + 645948752 + + + Main.fbMotionStage_m15.fbDriveVirtual.MasterAxis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 645963264 + + + Main.M16.Axis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 646260160 + + + Main.M16.bLimitForwardEnable + NC Forward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitForwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if forward limit hit - TcAddressTypeInput646268096Main.M16.bLimitBackwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + 646268096 + + + Main.M16.bLimitBackwardEnable + NC Backward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitBackwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if reverse limit hit - TcAddressTypeInput646268104Main.M16.bHome8BOOLpytmc + + + + TcAddressType + Input + + + 646268104 + + + Main.M16.bHome + NO Home Switch: TRUE if at home + 8 + BOOL + + + pytmc + pv: PLC:bHome io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if at homing switch - TcAddressTypeInput646268112Main.M16.bHardwareEnable8BOOLpytmc + + + + TcAddressType + Input + + + 646268112 + + + Main.M16.bHardwareEnable + NC STO Input: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bHardwareEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if STO not hit - TcAddressTypeInput646268128Main.M16.nRawEncoderULINT64ULINTTcAddressTypeInput646268160Main.M16.nRawEncoderUINT16UINTTcAddressTypeInput646268224Main.M16.nRawEncoderINT16INTTcAddressTypeInput646268240Main.fbMotionStage_m16.fbDriveVirtual.MasterAxis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput646282752Main.M17.Axis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput646579648Main.M17.bLimitForwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + 646268128 + + + Main.M16.nRawEncoderULINT + Raw encoder IO for ULINT (Biss-C) + 64 + ULINT + + + TcAddressType + Input + + + 646268160 + + + Main.M16.nRawEncoderUINT + Raw encoder IO for UINT (Relative Encoders) + 16 + UINT + + + TcAddressType + Input + + + 646268224 + + + Main.M16.nRawEncoderINT + Raw encoder IO for INT (LVDT) + 16 + INT + + + TcAddressType + Input + + + 646268240 + + + Main.fbMotionStage_m16.fbDriveVirtual.MasterAxis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 646282752 + + + Main.M17.Axis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 646579648 + + + Main.M17.bLimitForwardEnable + NC Forward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitForwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if forward limit hit - TcAddressTypeInput646587584Main.M17.bLimitBackwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + 646587584 + + + Main.M17.bLimitBackwardEnable + NC Backward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitBackwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if reverse limit hit - TcAddressTypeInput646587592Main.M17.bHome8BOOLpytmc + + + + TcAddressType + Input + + + 646587592 + + + Main.M17.bHome + NO Home Switch: TRUE if at home + 8 + BOOL + + + pytmc + pv: PLC:bHome io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if at homing switch - TcAddressTypeInput646587600Main.M17.bHardwareEnable8BOOLpytmc + + + + TcAddressType + Input + + + 646587600 + + + Main.M17.bHardwareEnable + NC STO Input: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bHardwareEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if STO not hit - TcAddressTypeInput646587616Main.M17.nRawEncoderULINT64ULINTTcAddressTypeInput646587648Main.M17.nRawEncoderUINT16UINTTcAddressTypeInput646587712Main.M17.nRawEncoderINT16INTTcAddressTypeInput646587728Main.fbMotionStageM17.fbDriveVirtual.MasterAxis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput646602240Main.M18.Axis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput646899136Main.M18.bLimitForwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + 646587616 + + + Main.M17.nRawEncoderULINT + Raw encoder IO for ULINT (Biss-C) + 64 + ULINT + + + TcAddressType + Input + + + 646587648 + + + Main.M17.nRawEncoderUINT + Raw encoder IO for UINT (Relative Encoders) + 16 + UINT + + + TcAddressType + Input + + + 646587712 + + + Main.M17.nRawEncoderINT + Raw encoder IO for INT (LVDT) + 16 + INT + + + TcAddressType + Input + + + 646587728 + + + Main.fbMotionStageM17.fbDriveVirtual.MasterAxis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 646602240 + + + Main.M18.Axis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 646899136 + + + Main.M18.bLimitForwardEnable + NC Forward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitForwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if forward limit hit - TcAddressTypeInput646907072Main.M18.bLimitBackwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + 646907072 + + + Main.M18.bLimitBackwardEnable + NC Backward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitBackwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if reverse limit hit - TcAddressTypeInput646907080Main.M18.bHome8BOOLpytmc + + + + TcAddressType + Input + + + 646907080 + + + Main.M18.bHome + NO Home Switch: TRUE if at home + 8 + BOOL + + + pytmc + pv: PLC:bHome io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if at homing switch - TcAddressTypeInput646907088Main.M18.bHardwareEnable8BOOLpytmc + + + + TcAddressType + Input + + + 646907088 + + + Main.M18.bHardwareEnable + NC STO Input: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bHardwareEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if STO not hit - TcAddressTypeInput646907104Main.M18.nRawEncoderULINT64ULINTTcAddressTypeInput646907136Main.M18.nRawEncoderUINT16UINTTcAddressTypeInput646907200Main.M18.nRawEncoderINT16INTTcAddressTypeInput646907216Main.fbMotionStageM18.fbDriveVirtual.MasterAxis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput646921728Main.M19.Axis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput647218624Main.M19.bLimitForwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + 646907104 + + + Main.M18.nRawEncoderULINT + Raw encoder IO for ULINT (Biss-C) + 64 + ULINT + + + TcAddressType + Input + + + 646907136 + + + Main.M18.nRawEncoderUINT + Raw encoder IO for UINT (Relative Encoders) + 16 + UINT + + + TcAddressType + Input + + + 646907200 + + + Main.M18.nRawEncoderINT + Raw encoder IO for INT (LVDT) + 16 + INT + + + TcAddressType + Input + + + 646907216 + + + Main.fbMotionStageM18.fbDriveVirtual.MasterAxis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 646921728 + + + Main.M19.Axis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 647218624 + + + Main.M19.bLimitForwardEnable + NC Forward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitForwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if forward limit hit - TcAddressTypeInput647226560Main.M19.bLimitBackwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + 647226560 + + + Main.M19.bLimitBackwardEnable + NC Backward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitBackwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if reverse limit hit - TcAddressTypeInput647226568Main.M19.bHome8BOOLpytmc + + + + TcAddressType + Input + + + 647226568 + + + Main.M19.bHome + NO Home Switch: TRUE if at home + 8 + BOOL + + + pytmc + pv: PLC:bHome io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if at homing switch - TcAddressTypeInput647226576Main.M19.bHardwareEnable8BOOLpytmc + + + + TcAddressType + Input + + + 647226576 + + + Main.M19.bHardwareEnable + NC STO Input: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bHardwareEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if STO not hit - TcAddressTypeInput647226592Main.M19.nRawEncoderULINT64ULINTTcAddressTypeInput647226624Main.M19.nRawEncoderUINT16UINTTcAddressTypeInput647226688Main.M19.nRawEncoderINT16INTTcAddressTypeInput647226704Main.fbMotionStageM19.fbDriveVirtual.MasterAxis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput647241216Main.M20.Axis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput647538112Main.M20.bLimitForwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + 647226592 + + + Main.M19.nRawEncoderULINT + Raw encoder IO for ULINT (Biss-C) + 64 + ULINT + + + TcAddressType + Input + + + 647226624 + + + Main.M19.nRawEncoderUINT + Raw encoder IO for UINT (Relative Encoders) + 16 + UINT + + + TcAddressType + Input + + + 647226688 + + + Main.M19.nRawEncoderINT + Raw encoder IO for INT (LVDT) + 16 + INT + + + TcAddressType + Input + + + 647226704 + + + Main.fbMotionStageM19.fbDriveVirtual.MasterAxis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 647241216 + + + Main.M20.Axis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 647538112 + + + Main.M20.bLimitForwardEnable + NC Forward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitForwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if forward limit hit - TcAddressTypeInput647546048Main.M20.bLimitBackwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + 647546048 + + + Main.M20.bLimitBackwardEnable + NC Backward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitBackwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if reverse limit hit - TcAddressTypeInput647546056Main.M20.bHome8BOOLpytmc + + + + TcAddressType + Input + + + 647546056 + + + Main.M20.bHome + NO Home Switch: TRUE if at home + 8 + BOOL + + + pytmc + pv: PLC:bHome io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if at homing switch - TcAddressTypeInput647546064Main.M20.bHardwareEnable8BOOLpytmc + + + + TcAddressType + Input + + + 647546064 + + + Main.M20.bHardwareEnable + NC STO Input: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bHardwareEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if STO not hit - TcAddressTypeInput647546080Main.M20.nRawEncoderULINT64ULINTTcAddressTypeInput647546112Main.M20.nRawEncoderUINT16UINTTcAddressTypeInput647546176Main.M20.nRawEncoderINT16INTTcAddressTypeInput647546192Main.fbMotionStageM20.fbDriveVirtual.MasterAxis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput647560704Main.M21.Axis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput647857600Main.M21.bLimitForwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + 647546080 + + + Main.M20.nRawEncoderULINT + Raw encoder IO for ULINT (Biss-C) + 64 + ULINT + + + TcAddressType + Input + + + 647546112 + + + Main.M20.nRawEncoderUINT + Raw encoder IO for UINT (Relative Encoders) + 16 + UINT + + + TcAddressType + Input + + + 647546176 + + + Main.M20.nRawEncoderINT + Raw encoder IO for INT (LVDT) + 16 + INT + + + TcAddressType + Input + + + 647546192 + + + Main.fbMotionStageM20.fbDriveVirtual.MasterAxis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 647560704 + + + Main.M21.Axis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 647857600 + + + Main.M21.bLimitForwardEnable + NC Forward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitForwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if forward limit hit - TcAddressTypeInput647865536Main.M21.bLimitBackwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + 647865536 + + + Main.M21.bLimitBackwardEnable + NC Backward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitBackwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if reverse limit hit - TcAddressTypeInput647865544Main.M21.bHome8BOOLpytmc + + + + TcAddressType + Input + + + 647865544 + + + Main.M21.bHome + NO Home Switch: TRUE if at home + 8 + BOOL + + + pytmc + pv: PLC:bHome io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if at homing switch - TcAddressTypeInput647865552Main.M21.bHardwareEnable8BOOLpytmc + + + + TcAddressType + Input + + + 647865552 + + + Main.M21.bHardwareEnable + NC STO Input: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bHardwareEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if STO not hit - TcAddressTypeInput647865568Main.M21.nRawEncoderULINT64ULINTTcAddressTypeInput647865600Main.M21.nRawEncoderUINT16UINTTcAddressTypeInput647865664Main.M21.nRawEncoderINT16INTTcAddressTypeInput647865680Main.fbMotionStageM21.fbDriveVirtual.MasterAxis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput647880192Main.M22.Axis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput648177088Main.M22.bLimitForwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + 647865568 + + + Main.M21.nRawEncoderULINT + Raw encoder IO for ULINT (Biss-C) + 64 + ULINT + + + TcAddressType + Input + + + 647865600 + + + Main.M21.nRawEncoderUINT + Raw encoder IO for UINT (Relative Encoders) + 16 + UINT + + + TcAddressType + Input + + + 647865664 + + + Main.M21.nRawEncoderINT + Raw encoder IO for INT (LVDT) + 16 + INT + + + TcAddressType + Input + + + 647865680 + + + Main.fbMotionStageM21.fbDriveVirtual.MasterAxis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 647880192 + + + Main.M22.Axis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 648177088 + + + Main.M22.bLimitForwardEnable + NC Forward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitForwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if forward limit hit - TcAddressTypeInput648185024Main.M22.bLimitBackwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + 648185024 + + + Main.M22.bLimitBackwardEnable + NC Backward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitBackwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if reverse limit hit - TcAddressTypeInput648185032Main.M22.bHome8BOOLpytmc + + + + TcAddressType + Input + + + 648185032 + + + Main.M22.bHome + NO Home Switch: TRUE if at home + 8 + BOOL + + + pytmc + pv: PLC:bHome io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if at homing switch - TcAddressTypeInput648185040Main.M22.bHardwareEnable8BOOLpytmc + + + + TcAddressType + Input + + + 648185040 + + + Main.M22.bHardwareEnable + NC STO Input: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bHardwareEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if STO not hit - TcAddressTypeInput648185056Main.M22.nRawEncoderULINT64ULINTTcAddressTypeInput648185088Main.M22.nRawEncoderUINT16UINTTcAddressTypeInput648185152Main.M22.nRawEncoderINT16INTTcAddressTypeInput648185168Main.fbMotionStageM22.fbDriveVirtual.MasterAxis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput648199680Main.M23.Axis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput648496576Main.M23.bLimitForwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + 648185056 + + + Main.M22.nRawEncoderULINT + Raw encoder IO for ULINT (Biss-C) + 64 + ULINT + + + TcAddressType + Input + + + 648185088 + + + Main.M22.nRawEncoderUINT + Raw encoder IO for UINT (Relative Encoders) + 16 + UINT + + + TcAddressType + Input + + + 648185152 + + + Main.M22.nRawEncoderINT + Raw encoder IO for INT (LVDT) + 16 + INT + + + TcAddressType + Input + + + 648185168 + + + Main.fbMotionStageM22.fbDriveVirtual.MasterAxis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 648199680 + + + Main.M23.Axis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 648496576 + + + Main.M23.bLimitForwardEnable + NC Forward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitForwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if forward limit hit - TcAddressTypeInput648504512Main.M23.bLimitBackwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + 648504512 + + + Main.M23.bLimitBackwardEnable + NC Backward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitBackwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if reverse limit hit - TcAddressTypeInput648504520Main.M23.bHome8BOOLpytmc + + + + TcAddressType + Input + + + 648504520 + + + Main.M23.bHome + NO Home Switch: TRUE if at home + 8 + BOOL + + + pytmc + pv: PLC:bHome io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if at homing switch - TcAddressTypeInput648504528Main.M23.bHardwareEnable8BOOLpytmc + + + + TcAddressType + Input + + + 648504528 + + + Main.M23.bHardwareEnable + NC STO Input: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bHardwareEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if STO not hit - TcAddressTypeInput648504544Main.M23.nRawEncoderULINT64ULINTTcAddressTypeInput648504576Main.M23.nRawEncoderUINT16UINTTcAddressTypeInput648504640Main.M23.nRawEncoderINT16INTTcAddressTypeInput648504656Main.fbMotionStageM23.fbDriveVirtual.MasterAxis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput648519168Main.M24.Axis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput648816064Main.M24.bLimitForwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + 648504544 + + + Main.M23.nRawEncoderULINT + Raw encoder IO for ULINT (Biss-C) + 64 + ULINT + + + TcAddressType + Input + + + 648504576 + + + Main.M23.nRawEncoderUINT + Raw encoder IO for UINT (Relative Encoders) + 16 + UINT + + + TcAddressType + Input + + + 648504640 + + + Main.M23.nRawEncoderINT + Raw encoder IO for INT (LVDT) + 16 + INT + + + TcAddressType + Input + + + 648504656 + + + Main.fbMotionStageM23.fbDriveVirtual.MasterAxis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 648519168 + + + Main.M24.Axis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 648816064 + + + Main.M24.bLimitForwardEnable + NC Forward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitForwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if forward limit hit - TcAddressTypeInput648824000Main.M24.bLimitBackwardEnable8BOOLpytmc + + + + TcAddressType + Input + + + 648824000 + + + Main.M24.bLimitBackwardEnable + NC Backward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bLimitBackwardEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC FALSE if reverse limit hit - TcAddressTypeInput648824008Main.M24.bHome8BOOLpytmc + + + + TcAddressType + Input + + + 648824008 + + + Main.M24.bHome + NO Home Switch: TRUE if at home + 8 + BOOL + + + pytmc + pv: PLC:bHome io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if at homing switch - TcAddressTypeInput648824016Main.M24.bHardwareEnable8BOOLpytmc + + + + TcAddressType + Input + + + 648824016 + + + Main.M24.bHardwareEnable + NC STO Input: TRUE if ok to move + 8 + BOOL + + + pytmc + pv: PLC:bHardwareEnable io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if STO not hit - TcAddressTypeInput648824032Main.M24.nRawEncoderULINT64ULINTTcAddressTypeInput648824064Main.M24.nRawEncoderUINT16UINTTcAddressTypeInput648824128Main.M24.nRawEncoderINT16INTTcAddressTypeInput648824144Main.fbMotionStageM24.fbDriveVirtual.MasterAxis.NcToPlc2048NCTOPLC_AXIS_REFTcAddressTypeInput648838656Main.LAMPbSTOEnable18BOOLTcAddressTypeInput656096384Main.LAMPbSTOEnable28BOOLTcAddressTypeInput656096392Main.bM2K4US_RTD_1_Err8BOOLTcAddressTypeInput656096400Main.bM2K4US_RTD_2_Err8BOOLTcAddressTypeInput656096408Main.fM3K4DS_RTD_332REALpytmc + + + + TcAddressType + Input + + + 648824032 + + + Main.M24.nRawEncoderULINT + Raw encoder IO for ULINT (Biss-C) + 64 + ULINT + + + TcAddressType + Input + + + 648824064 + + + Main.M24.nRawEncoderUINT + Raw encoder IO for UINT (Relative Encoders) + 16 + UINT + + + TcAddressType + Input + + + 648824128 + + + Main.M24.nRawEncoderINT + Raw encoder IO for INT (LVDT) + 16 + INT + + + TcAddressType + Input + + + 648824144 + + + Main.fbMotionStageM24.fbDriveVirtual.MasterAxis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 648838656 + + + Main.LAMPbSTOEnable1 + Emergency Stop for LAMP KBs (M2K4 and M3K4) + 8 + BOOL + + + TcAddressType + Input + + + 656096384 + + + Main.LAMPbSTOEnable2 + 8 + BOOL + + + TcAddressType + Input + + + 656096392 + + + Main.bM2K4US_RTD_1_Err + RTD error bit + 8 + BOOL + + + TcAddressType + Input + + + 656096400 + + + Main.bM2K4US_RTD_2_Err + 8 + BOOL + + + TcAddressType + Input + + + 656096408 + + + Main.fM3K4DS_RTD_3 + 32 + REAL + + + pytmc + pv: MR3K4:KBO:RTD:BEND:DS:3 field: ASLO 0.1 field: EGU cnt io: i - TcAddressTypeInput656096768Main.bM2K4US_RTD_3_Err8BOOLTcAddressTypeInput656096800Main.bM2K4DS_RTD_1_Err8BOOLTcAddressTypeInput656096808Main.bM2K4DS_RTD_2_Err8BOOLTcAddressTypeInput656096816Main.bM2K4DS_RTD_3_Err8BOOLTcAddressTypeInput656096824Main.bM3K4US_RTD_1_Err8BOOLTcAddressTypeInput656096832Main.bM3K4US_RTD_2_Err8BOOLTcAddressTypeInput656096840Main.bM3K4US_RTD_3_Err8BOOLTcAddressTypeInput656096848Main.bM3K4DS_RTD_1_Err8BOOLTcAddressTypeInput656096856Main.bM3K4DS_RTD_2_Err8BOOLTcAddressTypeInput656096864Main.bM3K4DS_RTD_3_Err8BOOLTcAddressTypeInput656096872GVL_M2K4_RTD.nM2K4US_RTD_116INTTcLinkToTIIB[EL3202-0010_M2K4US1_M2K4US2]^RTD Inputs Channel 1^ValueTcAddressTypeInputTcVarGlobal661888544GVL_M2K4_RTD.nM2K4US_RTD_216INTTcLinkToTIIB[EL3202-0010_M2K4US1_M2K4US2]^RTD Inputs Channel 2^ValueTcAddressTypeInputTcVarGlobal661888560PRG_PMPS.fbArbiterIO.i_stCurrentBP1760ST_BeamParams_IOTcLinkToTIIB[PMPS_PRE]^IO Inputs^CurrentBPTcAddressTypeInput663945184PRG_PMPS.fbArbiterIO.xTxPDO_toggle1BITpytmcpv: TxPDO_toggle - io: iTcLinkToTIIB[PMPS_PRE]^SYNC Inputs^TxPDO toggleTcAddressTypeInput663948704PRG_PMPS.fbArbiterIO.xTxPDO_state1BITpytmcpv: TxPDO_state - io: iTcLinkToTIIB[PMPS_PRE]^SYNC Inputs^TxPDO stateTcAddressTypeInput663948705GVL_M2K4_RTD.nM2K4US_RTD_316INTTcLinkToTIIB[EL3202-0010_M2K4US3_M2K4DS1]^RTD Inputs Channel 1^ValueTcAddressTypeInputTcVarGlobal664271520GVL_M2K4_RTD.nM2K4DS_RTD_116INTTcLinkToTIIB[EL3202-0010_M2K4US3_M2K4DS1]^RTD Inputs Channel 2^ValueTcAddressTypeInputTcVarGlobal664271536GVL_M1K4.M1K4_Pitch.diEncCnt64LINTTcAddressTypeInput664273984GVL_M1K4.fM1K4_Flow_1.iRaw16INTTcAddressTypeInput664274080GVL_M1K4.fM1K4_Flow_2.iRaw16INTTcAddressTypeInput664274464GVL_M1K4.fM1K4_Press_1.iRaw16INTTcAddressTypeInput664274848GVL_M2K4_RTD.nM2K4DS_RTD_216INTTcLinkToTIIB[EL3202-0010_M2K4DS2_M2K4DS3]^RTD Inputs Channel 1^ValueTcAddressTypeInputTcVarGlobal664275456GVL_M2K4_RTD.nM2K4DS_RTD_316INTTcLinkToTIIB[EL3202-0010_M2K4DS2_M2K4DS3]^RTD Inputs Channel 2^ValueTcAddressTypeInputTcVarGlobal664275472GVL_M3K4_RTD.nM3K4US_RTD_116INTTcLinkToTIIB[EL3202-0010_M3K4US1_M3K4US2]^RTD Inputs Channel 1^ValueTcAddressTypeInputTcVarGlobal664275488GVL_M3K4_RTD.nM3K4US_RTD_216INTTcLinkToTIIB[EL3202-0010_M3K4US1_M3K4US2]^RTD Inputs Channel 2^ValueTcAddressTypeInputTcVarGlobal664275504GVL_M2K4_RTD.fM2K4_Flow_1.iRaw16INTTcAddressTypeInput664275552GVL_M2K4_RTD.fM2K4_Flow_2.iRaw16INTTcAddressTypeInput664275936GVL_M2K4_RTD.fM2K4_Press_1.iRaw16INTTcAddressTypeInput664276320GVL_M3K4_RTD.nM3K4US_RTD_316INTTcLinkToTIIB[EL3202-0010_M3K4US3_M3K4DS1]^RTD Inputs Channel 1^ValueTcAddressTypeInputTcVarGlobal664276864GVL_M3K4_RTD.nM3K4DS_RTD_116INTTcLinkToTIIB[EL3202-0010_M3K4US3_M3K4DS1]^RTD Inputs Channel 2^ValueTcAddressTypeInputTcVarGlobal664276880GVL_M3K4_RTD.nM3K4DS_RTD_216INTTcLinkToTIIB[EL3202-0010_M3K4DS2_M3K4DS3]^RTD Inputs Channel 1^ValueTcAddressTypeInputTcVarGlobal664276896GVL_M3K4_RTD.nM3K4DS_RTD_316INTTcLinkToTIIB[EL3202-0010_M3K4DS2_M3K4DS3]^RTD Inputs Channel 2^ValueTcAddressTypeInputTcVarGlobal664276912GVL_M4K4_RTD.nM4K4_Chin_Left_RTD.bError8BOOL1pytmc + + + + TcAddressType + Input + + + 656096768 + + + Main.bM2K4US_RTD_3_Err + 8 + BOOL + + + TcAddressType + Input + + + 656096800 + + + Main.bM2K4DS_RTD_1_Err + 8 + BOOL + + + TcAddressType + Input + + + 656096808 + + + Main.bM2K4DS_RTD_2_Err + 8 + BOOL + + + TcAddressType + Input + + + 656096816 + + + Main.bM2K4DS_RTD_3_Err + 8 + BOOL + + + TcAddressType + Input + + + 656096824 + + + Main.bM3K4US_RTD_1_Err + 8 + BOOL + + + TcAddressType + Input + + + 656096832 + + + Main.bM3K4US_RTD_2_Err + 8 + BOOL + + + TcAddressType + Input + + + 656096840 + + + Main.bM3K4US_RTD_3_Err + 8 + BOOL + + + TcAddressType + Input + + + 656096848 + + + Main.bM3K4DS_RTD_1_Err + 8 + BOOL + + + TcAddressType + Input + + + 656096856 + + + Main.bM3K4DS_RTD_2_Err + 8 + BOOL + + + TcAddressType + Input + + + 656096864 + + + Main.bM3K4DS_RTD_3_Err + 8 + BOOL + + + TcAddressType + Input + + + 656096872 + + + GVL_M2K4_RTD.nM2K4US_RTD_1 + M2K4 BENDER RTDs + M2K4 US RTDs + 16 + INT + + + TcLinkTo + TIIB[EL3202-0010_M2K4US1_M2K4US2]^RTD Inputs Channel 1^Value + + + TcAddressType + Input + + + TcVarGlobal + + + 661888544 + + + GVL_M2K4_RTD.nM2K4US_RTD_2 + 16 + INT + + + TcLinkTo + TIIB[EL3202-0010_M2K4US1_M2K4US2]^RTD Inputs Channel 2^Value + + + TcAddressType + Input + + + TcVarGlobal + + + 661888560 + + + PRG_PMPS.fbArbiterIO.i_stCurrentBP + 1760 + ST_BeamParams_IO + + + TcLinkTo + TIIB[PMPS_PRE]^IO Inputs^CurrentBP + + + TcAddressType + Input + + + 663945184 + + + PRG_PMPS.fbArbiterIO.xTxPDO_toggle + 1 + BIT + + + pytmc + pv: TxPDO_toggle + io: i + + + TcLinkTo + TIIB[PMPS_PRE]^SYNC Inputs^TxPDO toggle + + + TcAddressType + Input + + + 663948704 + + + PRG_PMPS.fbArbiterIO.xTxPDO_state + 1 + BIT + + + pytmc + pv: TxPDO_state + io: i + + + TcLinkTo + TIIB[PMPS_PRE]^SYNC Inputs^TxPDO state + + + TcAddressType + Input + + + 663948705 + + + GVL_M2K4_RTD.nM2K4US_RTD_3 + 16 + INT + + + TcLinkTo + TIIB[EL3202-0010_M2K4US3_M2K4DS1]^RTD Inputs Channel 1^Value + + + TcAddressType + Input + + + TcVarGlobal + + + 664271520 + + + GVL_M2K4_RTD.nM2K4DS_RTD_1 + M2K4 DS RTDs + 16 + INT + + + TcLinkTo + TIIB[EL3202-0010_M2K4US3_M2K4DS1]^RTD Inputs Channel 2^Value + + + TcAddressType + Input + + + TcVarGlobal + + + 664271536 + + + GVL_M1K4.M1K4_Pitch.diEncCnt + Raw encoder count + 64 + LINT + + + TcAddressType + Input + + + 664273984 + + + GVL_M1K4.fM1K4_Flow_1.iRaw + Connect this input to the terminal + 16 + INT + + + TcAddressType + Input + + + 664274080 + + + GVL_M1K4.fM1K4_Flow_2.iRaw + Connect this input to the terminal + 16 + INT + + + TcAddressType + Input + + + 664274464 + + + GVL_M1K4.fM1K4_Press_1.iRaw + Connect this input to the terminal + 16 + INT + + + TcAddressType + Input + + + 664274848 + + + GVL_M2K4_RTD.nM2K4DS_RTD_2 + 16 + INT + + + TcLinkTo + TIIB[EL3202-0010_M2K4DS2_M2K4DS3]^RTD Inputs Channel 1^Value + + + TcAddressType + Input + + + TcVarGlobal + + + 664275456 + + + GVL_M2K4_RTD.nM2K4DS_RTD_3 + 16 + INT + + + TcLinkTo + TIIB[EL3202-0010_M2K4DS2_M2K4DS3]^RTD Inputs Channel 2^Value + + + TcAddressType + Input + + + TcVarGlobal + + + 664275472 + + + GVL_M3K4_RTD.nM3K4US_RTD_1 + M3K4 BENDER RTDs + M3K4 US RTDs + 16 + INT + + + TcLinkTo + TIIB[EL3202-0010_M3K4US1_M3K4US2]^RTD Inputs Channel 1^Value + + + TcAddressType + Input + + + TcVarGlobal + + + 664275488 + + + GVL_M3K4_RTD.nM3K4US_RTD_2 + 16 + INT + + + TcLinkTo + TIIB[EL3202-0010_M3K4US1_M3K4US2]^RTD Inputs Channel 2^Value + + + TcAddressType + Input + + + TcVarGlobal + + + 664275504 + + + GVL_M2K4_RTD.fM2K4_Flow_1.iRaw + Connect this input to the terminal + 16 + INT + + + TcAddressType + Input + + + 664275552 + + + GVL_M2K4_RTD.fM2K4_Flow_2.iRaw + Connect this input to the terminal + 16 + INT + + + TcAddressType + Input + + + 664275936 + + + GVL_M2K4_RTD.fM2K4_Press_1.iRaw + Connect this input to the terminal + 16 + INT + + + TcAddressType + Input + + + 664276320 + + + GVL_M3K4_RTD.nM3K4US_RTD_3 + 16 + INT + + + TcLinkTo + TIIB[EL3202-0010_M3K4US3_M3K4DS1]^RTD Inputs Channel 1^Value + + + TcAddressType + Input + + + TcVarGlobal + + + 664276864 + + + GVL_M3K4_RTD.nM3K4DS_RTD_1 + M2K4 DS RTDs + 16 + INT + + + TcLinkTo + TIIB[EL3202-0010_M3K4US3_M3K4DS1]^RTD Inputs Channel 2^Value + + + TcAddressType + Input + + + TcVarGlobal + + + 664276880 + + + GVL_M3K4_RTD.nM3K4DS_RTD_2 + 16 + INT + + + TcLinkTo + TIIB[EL3202-0010_M3K4DS2_M3K4DS3]^RTD Inputs Channel 1^Value + + + TcAddressType + Input + + + TcVarGlobal + + + 664276896 + + + GVL_M3K4_RTD.nM3K4DS_RTD_3 + 16 + INT + + + TcLinkTo + TIIB[EL3202-0010_M3K4DS2_M3K4DS3]^RTD Inputs Channel 2^Value + + + TcAddressType + Input + + + TcVarGlobal + + + 664276912 + + + GVL_M4K4_RTD.nM4K4_Chin_Left_RTD.bError + 8 + BOOL + + 1 + + + + pytmc + pv: ERR io: input field: ONAM True field: ZNAM False - TcAddressTypeInput664277320GVL_M4K4_RTD.nM4K4_Chin_Left_RTD.bUnderrange8BOOLTcAddressTypeInput664277328GVL_M4K4_RTD.nM4K4_Chin_Left_RTD.bOverrange8BOOLTcAddressTypeInput664277336GVL_M4K4_RTD.nM4K4_Chin_Left_RTD.iRaw16INTTcAddressTypeInput664277344GVL_M4K4_RTD.nM4K4_Chin_Right_RTD.bError8BOOL1pytmc + + + + TcAddressType + Input + + + 664277320 + + + GVL_M4K4_RTD.nM4K4_Chin_Left_RTD.bUnderrange + 8 + BOOL + + + TcAddressType + Input + + + 664277328 + + + GVL_M4K4_RTD.nM4K4_Chin_Left_RTD.bOverrange + 8 + BOOL + + + TcAddressType + Input + + + 664277336 + + + GVL_M4K4_RTD.nM4K4_Chin_Left_RTD.iRaw + 16 + INT + + + TcAddressType + Input + + + 664277344 + + + GVL_M4K4_RTD.nM4K4_Chin_Right_RTD.bError + 8 + BOOL + + 1 + + + + pytmc + pv: ERR io: input field: ONAM True field: ZNAM False - TcAddressTypeInput664277576GVL_M4K4_RTD.nM4K4_Chin_Right_RTD.bUnderrange8BOOLTcAddressTypeInput664277584GVL_M4K4_RTD.nM4K4_Chin_Right_RTD.bOverrange8BOOLTcAddressTypeInput664277592GVL_M4K4_RTD.nM4K4_Chin_Right_RTD.iRaw16INTTcAddressTypeInput664277600GVL_M4K4_RTD.nM4K4_Chin_Tail_RTD.bError8BOOL1pytmc + + + + TcAddressType + Input + + + 664277576 + + + GVL_M4K4_RTD.nM4K4_Chin_Right_RTD.bUnderrange + 8 + BOOL + + + TcAddressType + Input + + + 664277584 + + + GVL_M4K4_RTD.nM4K4_Chin_Right_RTD.bOverrange + 8 + BOOL + + + TcAddressType + Input + + + 664277592 + + + GVL_M4K4_RTD.nM4K4_Chin_Right_RTD.iRaw + 16 + INT + + + TcAddressType + Input + + + 664277600 + + + GVL_M4K4_RTD.nM4K4_Chin_Tail_RTD.bError + 8 + BOOL + + 1 + + + + pytmc + pv: ERR io: input field: ONAM True field: ZNAM False - TcAddressTypeInput664277832GVL_M4K4_RTD.nM4K4_Chin_Tail_RTD.bUnderrange8BOOLTcAddressTypeInput664277840GVL_M4K4_RTD.nM4K4_Chin_Tail_RTD.bOverrange8BOOLTcAddressTypeInput664277848GVL_M4K4_RTD.nM4K4_Chin_Tail_RTD.iRaw16INTTcAddressTypeInput664277856GVL_M5K4_RTD.nM5K4_Chin_Left_RTD.bError8BOOL1pytmc + + + + TcAddressType + Input + + + 664277832 + + + GVL_M4K4_RTD.nM4K4_Chin_Tail_RTD.bUnderrange + 8 + BOOL + + + TcAddressType + Input + + + 664277840 + + + GVL_M4K4_RTD.nM4K4_Chin_Tail_RTD.bOverrange + 8 + BOOL + + + TcAddressType + Input + + + 664277848 + + + GVL_M4K4_RTD.nM4K4_Chin_Tail_RTD.iRaw + 16 + INT + + + TcAddressType + Input + + + 664277856 + + + GVL_M5K4_RTD.nM5K4_Chin_Left_RTD.bError + 8 + BOOL + + 1 + + + + pytmc + pv: ERR io: input field: ONAM True field: ZNAM False - TcAddressTypeInput664278088GVL_M5K4_RTD.nM5K4_Chin_Left_RTD.bUnderrange8BOOLTcAddressTypeInput664278096GVL_M5K4_RTD.nM5K4_Chin_Left_RTD.bOverrange8BOOLTcAddressTypeInput664278104GVL_M5K4_RTD.nM5K4_Chin_Left_RTD.iRaw16INTTcAddressTypeInput664278112GVL_M5K4_RTD.nM5K4_Chin_Right_RTD.bError8BOOL1pytmc + + + + TcAddressType + Input + + + 664278088 + + + GVL_M5K4_RTD.nM5K4_Chin_Left_RTD.bUnderrange + 8 + BOOL + + + TcAddressType + Input + + + 664278096 + + + GVL_M5K4_RTD.nM5K4_Chin_Left_RTD.bOverrange + 8 + BOOL + + + TcAddressType + Input + + + 664278104 + + + GVL_M5K4_RTD.nM5K4_Chin_Left_RTD.iRaw + 16 + INT + + + TcAddressType + Input + + + 664278112 + + + GVL_M5K4_RTD.nM5K4_Chin_Right_RTD.bError + 8 + BOOL + + 1 + + + + pytmc + pv: ERR io: input field: ONAM True field: ZNAM False - TcAddressTypeInput664278344GVL_M5K4_RTD.nM5K4_Chin_Right_RTD.bUnderrange8BOOLTcAddressTypeInput664278352GVL_M5K4_RTD.nM5K4_Chin_Right_RTD.bOverrange8BOOLTcAddressTypeInput664278360GVL_M5K4_RTD.nM5K4_Chin_Right_RTD.iRaw16INTTcAddressTypeInput664278368GVL_M5K4_RTD.nM5K4_Chin_Tail_RTD.bError8BOOL1pytmc + + + + TcAddressType + Input + + + 664278344 + + + GVL_M5K4_RTD.nM5K4_Chin_Right_RTD.bUnderrange + 8 + BOOL + + + TcAddressType + Input + + + 664278352 + + + GVL_M5K4_RTD.nM5K4_Chin_Right_RTD.bOverrange + 8 + BOOL + + + TcAddressType + Input + + + 664278360 + + + GVL_M5K4_RTD.nM5K4_Chin_Right_RTD.iRaw + 16 + INT + + + TcAddressType + Input + + + 664278368 + + + GVL_M5K4_RTD.nM5K4_Chin_Tail_RTD.bError + 8 + BOOL + + 1 + + + + pytmc + pv: ERR io: input field: ONAM True field: ZNAM False - TcAddressTypeInput664278600GVL_M5K4_RTD.nM5K4_Chin_Tail_RTD.bUnderrange8BOOLTcAddressTypeInput664278608GVL_M5K4_RTD.nM5K4_Chin_Tail_RTD.bOverrange8BOOLTcAddressTypeInput664278616GVL_M5K4_RTD.nM5K4_Chin_Tail_RTD.iRaw16INTTcAddressTypeInput66427862433PlcTask Outputs284148224Main.M1.Axis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput639894208Main.M1.bBrakeRelease8BOOLpytmc + + + + TcAddressType + Input + + + 664278600 + + + GVL_M5K4_RTD.nM5K4_Chin_Tail_RTD.bUnderrange + 8 + BOOL + + + TcAddressType + Input + + + 664278608 + + + GVL_M5K4_RTD.nM5K4_Chin_Tail_RTD.bOverrange + 8 + BOOL + + + TcAddressType + Input + + + 664278616 + + + GVL_M5K4_RTD.nM5K4_Chin_Tail_RTD.iRaw + 16 + INT + + + TcAddressType + Input + + + 664278624 + + + + 33 + PlcTask Outputs + 2 + 84148224 + + Main.M1.Axis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 639894208 + + + Main.M1.bBrakeRelease + NC Brake Output: TRUE to release brake + 8 + BOOL + + + pytmc + pv: PLC:bBrakeRelease io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if brake released - TcAddressTypeOutput639903192Main.fbMotionStage_m1.fbDriveVirtual.MasterAxis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput639916800Main.M2.Axis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput640213696Main.M2.bBrakeRelease8BOOLpytmc + + + + TcAddressType + Output + + + 639903192 + + + Main.fbMotionStage_m1.fbDriveVirtual.MasterAxis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 639916800 + + + Main.M2.Axis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 640213696 + + + Main.M2.bBrakeRelease + NC Brake Output: TRUE to release brake + 8 + BOOL + + + pytmc + pv: PLC:bBrakeRelease io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if brake released - TcAddressTypeOutput640222680Main.fbMotionStage_m2.fbDriveVirtual.MasterAxis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput640236288Main.M3.Axis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput640533184Main.M3.bBrakeRelease8BOOLpytmc + + + + TcAddressType + Output + + + 640222680 + + + Main.fbMotionStage_m2.fbDriveVirtual.MasterAxis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 640236288 + + + Main.M3.Axis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 640533184 + + + Main.M3.bBrakeRelease + NC Brake Output: TRUE to release brake + 8 + BOOL + + + pytmc + pv: PLC:bBrakeRelease io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if brake released - TcAddressTypeOutput640542168Main.fbMotionStage_m3.fbDriveVirtual.MasterAxis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput640555776Main.M4.Axis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput640852672Main.M4.bBrakeRelease8BOOLpytmc + + + + TcAddressType + Output + + + 640542168 + + + Main.fbMotionStage_m3.fbDriveVirtual.MasterAxis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 640555776 + + + Main.M4.Axis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 640852672 + + + Main.M4.bBrakeRelease + NC Brake Output: TRUE to release brake + 8 + BOOL + + + pytmc + pv: PLC:bBrakeRelease io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if brake released - TcAddressTypeOutput640861656Main.fbMotionStage_m4.fbDriveVirtual.MasterAxis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput640875264Main.M5.Axis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput641172160Main.M5.bBrakeRelease8BOOLpytmc + + + + TcAddressType + Output + + + 640861656 + + + Main.fbMotionStage_m4.fbDriveVirtual.MasterAxis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 640875264 + + + Main.M5.Axis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 641172160 + + + Main.M5.bBrakeRelease + NC Brake Output: TRUE to release brake + 8 + BOOL + + + pytmc + pv: PLC:bBrakeRelease io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if brake released - TcAddressTypeOutput641181144Main.fbMotionStage_m5.fbDriveVirtual.MasterAxis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput641194752Main.M6.Axis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput641491648Main.M6.bBrakeRelease8BOOLpytmc + + + + TcAddressType + Output + + + 641181144 + + + Main.fbMotionStage_m5.fbDriveVirtual.MasterAxis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 641194752 + + + Main.M6.Axis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 641491648 + + + Main.M6.bBrakeRelease + NC Brake Output: TRUE to release brake + 8 + BOOL + + + pytmc + pv: PLC:bBrakeRelease io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if brake released - TcAddressTypeOutput641500632Main.fbMotionStage_m6.fbDriveVirtual.MasterAxis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput641514240Main.M7.Axis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput643383744Main.M7.bBrakeRelease8BOOLpytmc + + + + TcAddressType + Output + + + 641500632 + + + Main.fbMotionStage_m6.fbDriveVirtual.MasterAxis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 641514240 + + + Main.M7.Axis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 643383744 + + + Main.M7.bBrakeRelease + NC Brake Output: TRUE to release brake + 8 + BOOL + + + pytmc + pv: PLC:bBrakeRelease io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if brake released - TcAddressTypeOutput643392728Main.fbMotionStage_m7.fbDriveVirtual.MasterAxis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput643406336Main.M8.Axis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput643703232Main.M8.bBrakeRelease8BOOLpytmc + + + + TcAddressType + Output + + + 643392728 + + + Main.fbMotionStage_m7.fbDriveVirtual.MasterAxis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 643406336 + + + Main.M8.Axis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 643703232 + + + Main.M8.bBrakeRelease + NC Brake Output: TRUE to release brake + 8 + BOOL + + + pytmc + pv: PLC:bBrakeRelease io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if brake released - TcAddressTypeOutput643712216Main.fbMotionStage_m8.fbDriveVirtual.MasterAxis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput643725824Main.M9.Axis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput644022720Main.M9.bBrakeRelease8BOOLpytmc + + + + TcAddressType + Output + + + 643712216 + + + Main.fbMotionStage_m8.fbDriveVirtual.MasterAxis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 643725824 + + + Main.M9.Axis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 644022720 + + + Main.M9.bBrakeRelease + NC Brake Output: TRUE to release brake + 8 + BOOL + + + pytmc + pv: PLC:bBrakeRelease io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if brake released - TcAddressTypeOutput644031704Main.fbMotionStage_m9.fbDriveVirtual.MasterAxis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput644045312Main.M10.Axis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput644342208Main.M10.bBrakeRelease8BOOLpytmc + + + + TcAddressType + Output + + + 644031704 + + + Main.fbMotionStage_m9.fbDriveVirtual.MasterAxis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 644045312 + + + Main.M10.Axis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 644342208 + + + Main.M10.bBrakeRelease + NC Brake Output: TRUE to release brake + 8 + BOOL + + + pytmc + pv: PLC:bBrakeRelease io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if brake released - TcAddressTypeOutput644351192Main.fbMotionStage_m10.fbDriveVirtual.MasterAxis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput644364800Main.M11.Axis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput644661696Main.M11.bBrakeRelease8BOOLpytmc + + + + TcAddressType + Output + + + 644351192 + + + Main.fbMotionStage_m10.fbDriveVirtual.MasterAxis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 644364800 + + + Main.M11.Axis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 644661696 + + + Main.M11.bBrakeRelease + NC Brake Output: TRUE to release brake + 8 + BOOL + + + pytmc + pv: PLC:bBrakeRelease io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if brake released - TcAddressTypeOutput644670680Main.fbMotionStage_m11.fbDriveVirtual.MasterAxis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput644684288Main.M12.Axis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput644981184Main.M12.bBrakeRelease8BOOLpytmc + + + + TcAddressType + Output + + + 644670680 + + + Main.fbMotionStage_m11.fbDriveVirtual.MasterAxis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 644684288 + + + Main.M12.Axis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 644981184 + + + Main.M12.bBrakeRelease + NC Brake Output: TRUE to release brake + 8 + BOOL + + + pytmc + pv: PLC:bBrakeRelease io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if brake released - TcAddressTypeOutput644990168Main.fbMotionStage_m12.fbDriveVirtual.MasterAxis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput645003776Main.M13.Axis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput645300672Main.M13.bBrakeRelease8BOOLpytmc + + + + TcAddressType + Output + + + 644990168 + + + Main.fbMotionStage_m12.fbDriveVirtual.MasterAxis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 645003776 + + + Main.M13.Axis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 645300672 + + + Main.M13.bBrakeRelease + NC Brake Output: TRUE to release brake + 8 + BOOL + + + pytmc + pv: PLC:bBrakeRelease io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if brake released - TcAddressTypeOutput645309656Main.fbMotionStage_m13.fbDriveVirtual.MasterAxis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput645323264Main.M14.Axis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput645620160Main.M14.bBrakeRelease8BOOLpytmc + + + + TcAddressType + Output + + + 645309656 + + + Main.fbMotionStage_m13.fbDriveVirtual.MasterAxis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 645323264 + + + Main.M14.Axis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 645620160 + + + Main.M14.bBrakeRelease + NC Brake Output: TRUE to release brake + 8 + BOOL + + + pytmc + pv: PLC:bBrakeRelease io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if brake released - TcAddressTypeOutput645629144Main.fbMotionStage_m14.fbDriveVirtual.MasterAxis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput645642752Main.M15.Axis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput645939648Main.M15.bBrakeRelease8BOOLpytmc + + + + TcAddressType + Output + + + 645629144 + + + Main.fbMotionStage_m14.fbDriveVirtual.MasterAxis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 645642752 + + + Main.M15.Axis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 645939648 + + + Main.M15.bBrakeRelease + NC Brake Output: TRUE to release brake + 8 + BOOL + + + pytmc + pv: PLC:bBrakeRelease io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if brake released - TcAddressTypeOutput645948632Main.fbMotionStage_m15.fbDriveVirtual.MasterAxis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput645962240Main.M16.Axis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput646259136Main.M16.bBrakeRelease8BOOLpytmc + + + + TcAddressType + Output + + + 645948632 + + + Main.fbMotionStage_m15.fbDriveVirtual.MasterAxis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 645962240 + + + Main.M16.Axis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 646259136 + + + Main.M16.bBrakeRelease + NC Brake Output: TRUE to release brake + 8 + BOOL + + + pytmc + pv: PLC:bBrakeRelease io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if brake released - TcAddressTypeOutput646268120Main.fbMotionStage_m16.fbDriveVirtual.MasterAxis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput646281728Main.M17.Axis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput646578624Main.M17.bBrakeRelease8BOOLpytmc + + + + TcAddressType + Output + + + 646268120 + + + Main.fbMotionStage_m16.fbDriveVirtual.MasterAxis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 646281728 + + + Main.M17.Axis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 646578624 + + + Main.M17.bBrakeRelease + NC Brake Output: TRUE to release brake + 8 + BOOL + + + pytmc + pv: PLC:bBrakeRelease io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if brake released - TcAddressTypeOutput646587608Main.fbMotionStageM17.fbDriveVirtual.MasterAxis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput646601216Main.M18.Axis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput646898112Main.M18.bBrakeRelease8BOOLpytmc + + + + TcAddressType + Output + + + 646587608 + + + Main.fbMotionStageM17.fbDriveVirtual.MasterAxis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 646601216 + + + Main.M18.Axis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 646898112 + + + Main.M18.bBrakeRelease + NC Brake Output: TRUE to release brake + 8 + BOOL + + + pytmc + pv: PLC:bBrakeRelease io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if brake released - TcAddressTypeOutput646907096Main.fbMotionStageM18.fbDriveVirtual.MasterAxis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput646920704Main.M19.Axis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput647217600Main.M19.bBrakeRelease8BOOLpytmc + + + + TcAddressType + Output + + + 646907096 + + + Main.fbMotionStageM18.fbDriveVirtual.MasterAxis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 646920704 + + + Main.M19.Axis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 647217600 + + + Main.M19.bBrakeRelease + NC Brake Output: TRUE to release brake + 8 + BOOL + + + pytmc + pv: PLC:bBrakeRelease io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if brake released - TcAddressTypeOutput647226584Main.fbMotionStageM19.fbDriveVirtual.MasterAxis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput647240192Main.M20.Axis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput647537088Main.M20.bBrakeRelease8BOOLpytmc + + + + TcAddressType + Output + + + 647226584 + + + Main.fbMotionStageM19.fbDriveVirtual.MasterAxis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 647240192 + + + Main.M20.Axis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 647537088 + + + Main.M20.bBrakeRelease + NC Brake Output: TRUE to release brake + 8 + BOOL + + + pytmc + pv: PLC:bBrakeRelease io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if brake released - TcAddressTypeOutput647546072Main.fbMotionStageM20.fbDriveVirtual.MasterAxis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput647559680Main.M21.Axis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput647856576Main.M21.bBrakeRelease8BOOLpytmc + + + + TcAddressType + Output + + + 647546072 + + + Main.fbMotionStageM20.fbDriveVirtual.MasterAxis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 647559680 + + + Main.M21.Axis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 647856576 + + + Main.M21.bBrakeRelease + NC Brake Output: TRUE to release brake + 8 + BOOL + + + pytmc + pv: PLC:bBrakeRelease io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if brake released - TcAddressTypeOutput647865560Main.fbMotionStageM21.fbDriveVirtual.MasterAxis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput647879168Main.M22.Axis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput648176064Main.M22.bBrakeRelease8BOOLpytmc + + + + TcAddressType + Output + + + 647865560 + + + Main.fbMotionStageM21.fbDriveVirtual.MasterAxis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 647879168 + + + Main.M22.Axis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 648176064 + + + Main.M22.bBrakeRelease + NC Brake Output: TRUE to release brake + 8 + BOOL + + + pytmc + pv: PLC:bBrakeRelease io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if brake released - TcAddressTypeOutput648185048Main.fbMotionStageM22.fbDriveVirtual.MasterAxis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput648198656Main.M23.Axis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput648495552Main.M23.bBrakeRelease8BOOLpytmc + + + + TcAddressType + Output + + + 648185048 + + + Main.fbMotionStageM22.fbDriveVirtual.MasterAxis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 648198656 + + + Main.M23.Axis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 648495552 + + + Main.M23.bBrakeRelease + NC Brake Output: TRUE to release brake + 8 + BOOL + + + pytmc + pv: PLC:bBrakeRelease io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if brake released - TcAddressTypeOutput648504536Main.fbMotionStageM23.fbDriveVirtual.MasterAxis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput648518144Main.M24.Axis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput648815040Main.M24.bBrakeRelease8BOOLpytmc + + + + TcAddressType + Output + + + 648504536 + + + Main.fbMotionStageM23.fbDriveVirtual.MasterAxis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 648518144 + + + Main.M24.Axis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 648815040 + + + Main.M24.bBrakeRelease + NC Brake Output: TRUE to release brake + 8 + BOOL + + + pytmc + pv: PLC:bBrakeRelease io: i field: ZNAM FALSE field: ONAM TRUE field: DESC TRUE if brake released - TcAddressTypeOutput648824024Main.fbMotionStageM24.fbDriveVirtual.MasterAxis.PlcToNc1024PLCTONC_AXIS_REFTcAddressTypeOutput648837632PRG_PMPS.fbArbiterIO.q_stRequestedBP1760ST_BeamParams_IOTcLinkToTIIB[PMPS_PRE]^IO Outputs^RequestedBPTcAddressTypeOutput663946944GVL_PMPS.g_FastFaultOutput1.q_xFastFaultOut8BOOLpytmc + + + + TcAddressType + Output + + + 648824024 + + + Main.fbMotionStageM24.fbDriveVirtual.MasterAxis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 648837632 + + + PRG_PMPS.fbArbiterIO.q_stRequestedBP + 1760 + ST_BeamParams_IO + + + TcLinkTo + TIIB[PMPS_PRE]^IO Outputs^RequestedBP + + + TcAddressType + Output + + + 663946944 + + + GVL_PMPS.g_FastFaultOutput1.q_xFastFaultOut + 8 + BOOL + + + pytmc + pv: FaultHWO io: i field: DESC Hardware Output Status - TcAddressTypeOutput664278920GVL_PMPS.g_FastFaultOutput2.q_xFastFaultOut8BOOLpytmc + + + + TcAddressType + Output + + + 664278920 + + + GVL_PMPS.g_FastFaultOutput2.q_xFastFaultOut + 8 + BOOL + + + pytmc + pv: FaultHWO io: i field: DESC Hardware Output Status - TcAddressTypeOutput66477421635PlcTask Internal284148224DefaultGlobals.stSys88ST_SystemTcVarGlobal4096000GVL_Logger.bTrickleTripped8BOOLpytmc + + + + TcAddressType + Output + + + 664774216 + + + + 35 + PlcTask Internal + 2 + 84148224 + + DefaultGlobals.stSys + Included for you + 88 + ST_System + + + TcVarGlobal + + + 4096000 + + + GVL_Logger.bTrickleTripped + Global trickle trip flag + 8 + BOOL + + + pytmc + pv: @(PREFIX)LCLSGeneral:GlobalLogTrickleTrip io: i field: DESC Tripped by overall log count - TcVarGlobal4096088GeneralConstants.MAX_STATES16INT15TcVarGlobal4096096GVL_Logger.iLogPort16UINT54321pytmc + + + + TcVarGlobal + + + 4096088 + + + GeneralConstants.MAX_STATES + 16 including "Unknown" is the max for an EPICS MBBI + This is the max number of user-defined states (OUT, TARGET1, YAG...) + 16 + INT + + 15 + + + + TcVarGlobal + + + 4096096 + + + GVL_Logger.iLogPort + 16 + UINT + + 54321 + + + + pytmc + pv: @(PREFIX)LCLSGeneral:LogPort io: io field: DESC The log host UDP port - TcVarGlobal4096112DefaultGlobals.fTimeStamp64LREALTcVarGlobal4096128GVL_Logger.cLogHost + + + TcVarGlobal + + + 4096112 + + + DefaultGlobals.fTimeStamp + 64 + LREAL + + + TcVarGlobal + + + 4096128 + + + GVL_Logger.cLogHost + Using the IP address directly avoids DNS configuration issues. While we may want to address this in the future, for now the static IP will suffice: @@ -1810,61 +62125,5981 @@ The BPTM will throw an error if the arbiter does not have enough space for the t $ nslookup ctl-logsrv01 Name: ctl-logsrv01.pcdsn Address: 172.21.32.36 - ]]>128STRING(15)172.21.32.36pytmc + + 128 + STRING(15) + + 172.21.32.36 + + + + pytmc + pv: @(PREFIX)LCLSGeneral:LogHost io: io field: DESC The log host IP address - TcVarGlobal4096192GVL_Logger.sIpTidbit56STRING(6)172.21TcVarGlobal4096320Global_Variables.BOOTDATAFLAGS_RETAIN_LOADED8BYTE1TcVarGlobal4096376GVL_Logger.nLocalTripThreshold32TIME1TcVarGlobal4096384GVL_Logger.nMinTimeViolationAcceptable16INT5TcVarGlobal4096416Global_Variables.AMSPORT_LOGGER16UINT100TcVarGlobal4096432GVL_Logger.nLocalTrickleTripThreshold32TIME100TcVarGlobal4096448GVL_Logger.nTrickleTripTime32TIME10000TcVarGlobal4096480GVL_Logger.nTripResetPeriod32TIME600000TcVarGlobal4096512GVL_Logger.sPlcHostname648STRING(80)unknownTcVarGlobal4096544Global_Variables.BOOTDATAFLAGS_RETAIN_INVALID8BYTE2TcVarGlobal4097192Global_Variables.AMSPORT_EVENTLOG16UINT110TcVarGlobal4097200GVL_Logger.TCPADS_MAXUDP_BUFFSIZE + + + TcVarGlobal + + + 4096192 + + + GVL_Logger.sIpTidbit + 56 + STRING(6) + + 172.21 + + + + TcVarGlobal + + + 4096320 + + + Global_Variables.BOOTDATAFLAGS_RETAIN_LOADED + Retain data loaded + 8 + BYTE + + 1 + + + + TcVarGlobal + + + 4096376 + + + GVL_Logger.nLocalTripThreshold + Minimum time between log messages + 32 + TIME + + 1 + + + + TcVarGlobal + + + 4096384 + + + GVL_Logger.nMinTimeViolationAcceptable + Trip if `nLocalTripThreshold` exceeded `nMinTimeViolationAcceptable` times + 16 + INT + + 5 + + + + TcVarGlobal + + + 4096416 + + + Global_Variables.AMSPORT_LOGGER + Logger + 16 + UINT + + 100 + + + + TcVarGlobal + + + 4096432 + + + GVL_Logger.nLocalTrickleTripThreshold + Default trickle trip, activated by global threshold + 32 + TIME + + 100 + + + + TcVarGlobal + + + 4096448 + + + GVL_Logger.nTrickleTripTime + Default time for log-handler to recognize a trickle overload condition, many log-message FB occasionally creating a message + 32 + TIME + + 10000 + + + + TcVarGlobal + + + 4096480 + + + GVL_Logger.nTripResetPeriod + Default time for CB auto-reset + 32 + TIME + + 600000 + + + + TcVarGlobal + + + 4096512 + + + GVL_Logger.sPlcHostname + 648 + STRING(80) + + unknown + + + + TcVarGlobal + + + 4096544 + + + Global_Variables.BOOTDATAFLAGS_RETAIN_INVALID + Retain data is invalid + 8 + BYTE + + 2 + + + + TcVarGlobal + + + 4097192 + + + Global_Variables.AMSPORT_EVENTLOG + Event logger + 16 + UINT + + 110 + + + + TcVarGlobal + + + 4097200 + + + GVL_Logger.TCPADS_MAXUDP_BUFFSIZE + Ref: https://infosys.beckhoff.com/english.php?content=../content/1033/tcpipserver/html/TcPlcLibTcpIp_FB_SocketUdpSendTo.htm TODO: Activate the "Replace constants" option in the - TwinCAT PLC Control->"Project->Options...->Build" dialog window. - ]]>32UDINT10000TcVarGlobal4097216GVL_Logger.nGlobAccEvents32UDINTpytmc + TwinCAT PLC Control->"Project->Options...->Build" dialog window. + + 32 + UDINT + + 10000 + + + + TcVarGlobal + + + 4097216 + + + GVL_Logger.nGlobAccEvents + Global log message count + 32 + UDINT + + + pytmc + pv: @(PREFIX)LCLSGeneral:LogMessageCount io: i field: DESC Total log messages on the last cycle - TcVarGlobal4097248GVL_Logger.fbRootLogger81984FB_LogMessageTcVarGlobal4097280GVL_Logger.nTrickleThreshold32UDINT2TcVarGlobal4179264Global_Version.stLibVersion_Tc2_EtherCAT288ST_LibVersion.iMajor3.iMinor3.iBuild21.iRevision0.nFlags1.sVersion3.3.21.0const_non_replacedTcVarGlobal4179296Global_Version.stLibVersion_Tc2_Standard288ST_LibVersion.iMajor3.iMinor3.iBuild3.iRevision0.nFlags0.sVersion3.3.3.0const_non_replacedTcVarGlobal4179584Global_Version.stLibVersion_Tc2_System288ST_LibVersion.iMajor3.iMinor4.iBuild24.iRevision0.nFlags0.sVersion3.4.24.0const_non_replacedTcVarGlobal4179872Global_Variables.AMSPORT_R0_RTIME16UINT200TcVarGlobal4180160Global_Variables.AMSPORT_R0_IO16UINT300TcVarGlobal4180176Global_Variables.AMSPORT_R0_NC16UINT500TcVarGlobal4180192Global_Variables.AMSPORT_R0_NCSAF16UINT501TcVarGlobal4180208Global_Variables.AMSPORT_R0_NCSVB16UINT511TcVarGlobal4180224Global_Variables.AMSPORT_R0_ISG16UINT550TcVarGlobal4180240Global_Variables.AMSPORT_R0_CNC16UINT600TcVarGlobal4180256Global_Variables.AMSPORT_R0_LINE16UINT700TcVarGlobal4180272Global_Variables.AMSPORT_R0_PLC16UINT800TcVarGlobal4180288Global_Variables.AMSPORT_R0_PLC_RTS116UINT801TcVarGlobal4180304Global_Variables.AMSPORT_R0_PLC_RTS216UINT811TcVarGlobal4180320Global_Variables.AMSPORT_R0_PLC_RTS316UINT821TcVarGlobal4180336Global_Variables.AMSPORT_R0_PLC_RTS416UINT831TcVarGlobal4180352Global_Variables.AMSPORT_R0_CAM16UINT900TcVarGlobal4180368Global_Variables.AMSPORT_R0_CAMTOOL16UINT950TcVarGlobal4180384Global_Variables.AMSPORT_R3_SYSSERV16UINT10000TcVarGlobal4180400Global_Variables.AMSPORT_R3_SCOPESERVER16UINT14001TcVarGlobal4180416Global_Variables.ADSSTATE_INVALID16UINT0TcVarGlobal4180432Global_Variables.ADSSTATE_IDLE16UINT1TcVarGlobal4180448Global_Variables.ADSSTATE_RESET16UINT2TcVarGlobal4180464Global_Variables.ADSSTATE_INIT16UINT3TcVarGlobal4180480Global_Variables.ADSSTATE_START16UINT4TcVarGlobal4180496Global_Variables.ADSSTATE_RUN16UINT5TcVarGlobal4180512Global_Variables.ADSSTATE_STOP16UINT6TcVarGlobal4180528Global_Variables.ADSSTATE_SAVECFG16UINT7TcVarGlobal4180544Global_Variables.ADSSTATE_LOADCFG16UINT8TcVarGlobal4180560Global_Variables.ADSSTATE_POWERFAILURE16UINT9TcVarGlobal4180576Global_Variables.ADSSTATE_POWERGOOD16UINT10TcVarGlobal4180592Global_Variables.ADSSTATE_ERROR16UINT11TcVarGlobal4180608Global_Variables.ADSSTATE_SHUTDOWN16UINT12TcVarGlobal4180624Global_Variables.ADSSTATE_SUSPEND16UINT13TcVarGlobal4180640Global_Variables.ADSSTATE_RESUME16UINT14TcVarGlobal4180656Global_Variables.ADSSTATE_CONFIG16UINT15TcVarGlobal4180672Global_Variables.ADSSTATE_RECONFIG16UINT16TcVarGlobal4180688Global_Variables.ADSSTATE_STOPPING16UINT17TcVarGlobal4180704Global_Variables.ADSSTATE_INCOMPATIBLE16UINT18TcVarGlobal4180720Global_Variables.ADSSTATE_EXCEPTION16UINT19TcVarGlobal4180736Global_Variables.ADSSTATE_MAXSTATES16UINT20TcVarGlobal4180752Global_Variables.ADSIGRP_SYMTAB32UDINT61440TcVarGlobal4180768Global_Variables.ADSIGRP_SYMNAME32UDINT61441TcVarGlobal4180800Global_Variables.ADSIGRP_SYMVAL32UDINT61442TcVarGlobal4180832Global_Variables.ADSIGRP_SYM_HNDBYNAME32UDINT61443TcVarGlobal4180864Global_Variables.ADSIGRP_SYM_VALBYNAME32UDINT61444TcVarGlobal4180896Global_Variables.ADSIGRP_SYM_VALBYHND32UDINT61445TcVarGlobal4180928Global_Variables.ADSIGRP_SYM_RELEASEHND32UDINT61446TcVarGlobal4180960Global_Variables.ADSIGRP_SYM_INFOBYNAME32UDINT61447TcVarGlobal4180992Global_Variables.ADSIGRP_SYM_VERSION32UDINT61448TcVarGlobal4181024Global_Variables.ADSIGRP_SYM_INFOBYNAMEEX32UDINT61449TcVarGlobal4181056Global_Variables.ADSIGRP_SYM_DOWNLOAD32UDINT61450TcVarGlobal4181088Global_Variables.ADSIGRP_SYM_UPLOAD32UDINT61451TcVarGlobal4181120Global_Variables.ADSIGRP_SYM_UPLOADINFO32UDINT61452TcVarGlobal4181152Global_Variables.ADSIGRP_SYMNOTE32UDINT61456TcVarGlobal4181184Global_Variables.ADSIGRP_IOIMAGE_RWIB32UDINT61472TcVarGlobal4181216Global_Variables.ADSIGRP_IOIMAGE_RWIX32UDINT61473TcVarGlobal4181248Global_Variables.ADSIGRP_IOIMAGE_RISIZE32UDINT61477TcVarGlobal4181280Global_Variables.ADSIGRP_IOIMAGE_RWOB32UDINT61488TcVarGlobal4181312Global_Variables.ADSIGRP_IOIMAGE_RWOX32UDINT61489TcVarGlobal4181344Global_Variables.ADSIGRP_IOIMAGE_ROSIZE32UDINT61493TcVarGlobal4181376Global_Variables.ADSIGRP_IOIMAGE_CLEARI32UDINT61504TcVarGlobal4181408Global_Variables.ADSIGRP_IOIMAGE_CLEARO32UDINT61520TcVarGlobal4181440Global_Variables.ADSIGRP_IOIMAGE_RWIOB32UDINT61536TcVarGlobal4181472Global_Variables.ADSIGRP_DEVICE_DATA32UDINT61696TcVarGlobal4181504Global_Variables.ADSIOFFS_DEVDATA_ADSSTATE32UDINT0TcVarGlobal4181536Global_Variables.ADSIOFFS_DEVDATA_DEVSTATE32UDINT2TcVarGlobal4181568Global_Variables.SYSTEMSERVICE_OPENCREATE32UDINT100TcVarGlobal4181600Global_Variables.SYSTEMSERVICE_OPENREAD32UDINT101TcVarGlobal4181632Global_Variables.SYSTEMSERVICE_OPENWRITE32UDINT102TcVarGlobal4181664Global_Variables.SYSTEMSERVICE_CREATEFILE32UDINT110TcVarGlobal4181696Global_Variables.SYSTEMSERVICE_CLOSEHANDLE32UDINT111TcVarGlobal4181728Global_Variables.SYSTEMSERVICE_FOPEN32UDINT120TcVarGlobal4181760Global_Variables.SYSTEMSERVICE_FCLOSE32UDINT121TcVarGlobal4181792Global_Variables.SYSTEMSERVICE_FREAD32UDINT122TcVarGlobal4181824Global_Variables.SYSTEMSERVICE_FWRITE32UDINT123TcVarGlobal4181856Global_Variables.SYSTEMSERVICE_FSEEK32UDINT124TcVarGlobal4181888Global_Variables.SYSTEMSERVICE_FTELL32UDINT125TcVarGlobal4181920Global_Variables.SYSTEMSERVICE_FGETS32UDINT126TcVarGlobal4181952Global_Variables.SYSTEMSERVICE_FPUTS32UDINT127TcVarGlobal4181984Global_Variables.SYSTEMSERVICE_FSCANF32UDINT128TcVarGlobal4182016Global_Variables.SYSTEMSERVICE_FPRINTF32UDINT129TcVarGlobal4182048Global_Variables.SYSTEMSERVICE_FEOF32UDINT130TcVarGlobal4182080Global_Variables.SYSTEMSERVICE_FDELETE32UDINT131TcVarGlobal4182112Global_Variables.SYSTEMSERVICE_FRENAME32UDINT132TcVarGlobal4182144Global_Variables.SYSTEMSERVICE_MKDIR32UDINT138TcVarGlobal4182176Global_Variables.SYSTEMSERVICE_RMDIR32UDINT139TcVarGlobal4182208Global_Variables.SYSTEMSERVICE_REG_HKEYLOCALMACHINE32UDINT200TcVarGlobal4182240Global_Variables.SYSTEMSERVICE_SENDEMAIL32UDINT300TcVarGlobal4182272Global_Variables.SYSTEMSERVICE_TIMESERVICES32UDINT400TcVarGlobal4182304Global_Variables.SYSTEMSERVICE_STARTPROCESS32UDINT500TcVarGlobal4182336Global_Variables.SYSTEMSERVICE_CHANGENETID32UDINT600TcVarGlobal4182368Global_Variables.TIMESERVICE_DATEANDTIME32UDINT1TcVarGlobal4182400Global_Variables.TIMESERVICE_SYSTEMTIMES32UDINT2TcVarGlobal4182432Global_Variables.TIMESERVICE_RTCTIMEDIFF32UDINT3TcVarGlobal4182464Global_Variables.TIMESERVICE_ADJUSTTIMETORTC32UDINT4TcVarGlobal4182496Global_Variables.TIMESERVICE_TIMEZONINFORMATION32UDINT6TcVarGlobal4182528Global_Variables.ADSLOG_MSGTYPE_HINT32DWORD1TcVarGlobal4182560Global_Variables.ADSLOG_MSGTYPE_WARN32DWORD2TcVarGlobal4182592Global_Variables.ADSLOG_MSGTYPE_ERROR32DWORD4TcVarGlobal4182624Global_Variables.ADSLOG_MSGTYPE_LOG32DWORD16TcVarGlobal4182656Global_Variables.ADSLOG_MSGTYPE_MSGBOX32DWORD32TcVarGlobal4182688Global_Variables.ADSLOG_MSGTYPE_RESOURCE32DWORD64TcVarGlobal4182720Global_Variables.ADSLOG_MSGTYPE_STRING32DWORD128TcVarGlobal4182752Global_Variables.BOOTDATAFLAGS_RETAIN_REQUESTED8BYTE4TcVarGlobal4182784Global_Variables.BOOTDATAFLAGS_PERSISTENT_LOADED8BYTE16TcVarGlobal4182792Global_Variables.BOOTDATAFLAGS_PERSISTENT_INVALID8BYTE32TcVarGlobal4182800Global_Variables.SYSTEMSTATEFLAGS_BSOD8BYTE1TcVarGlobal4182808Global_Variables.SYSTEMSTATEFLAGS_RTVIOLATION8BYTE2TcVarGlobal4182816Global_Variables.nWatchdogTime8BYTETcVarGlobal4182824Global_Variables.TCEVENTFLAG_PRIOCLASS16WORD16TcVarGlobal4182832Global_Variables.FOPEN_MODEREAD32DWORD1TcVarGlobal4182848Global_Variables.FOPEN_MODEWRITE32DWORD2TcVarGlobal4182880Global_Variables.FOPEN_MODEAPPEND32DWORD4TcVarGlobal4182912Global_Variables.FOPEN_MODEPLUS32DWORD8TcVarGlobal4182944Global_Variables.FOPEN_MODEBINARY32DWORD16TcVarGlobal4182976Global_Variables.FOPEN_MODETEXT32DWORD32TcVarGlobal4183008Global_Variables.TCEVENTFLAG_FMTSELF16WORD32TcVarGlobal4183264Global_Variables.TCEVENTFLAG_LOG16WORD64TcVarGlobal4183280Global_Variables.TCEVENTFLAG_MSGBOX16WORD128TcVarGlobal4183296Global_Variables.TCEVENTFLAG_SRCID16WORD256TcVarGlobal4183312Global_Variables.TCEVENTFLAG_AUTOFMTALL16WORD4096TcVarGlobal4183328Global_Variables.TCEVENTSTATE_INVALID16WORD0TcVarGlobal4183344Global_Variables.TCEVENTSTATE_SIGNALED16WORD1TcVarGlobal4183360Global_Variables.TCEVENTSTATE_RESET16WORD2TcVarGlobal4183376Global_Variables.TCEVENTSTATE_CONFIRMED16WORD16TcVarGlobal4183392Global_Variables.TCEVENTSTATE_RESETCON16WORD18TcVarGlobal4183408Global_Variables.TCEVENT_SRCNAMESIZE16INT15TcVarGlobal4183424Global_Variables.TCEVENT_FMTPRGSIZE16INT31TcVarGlobal4183440Global_Variables.DEFAULT_ADS_TIMEOUT32TIME5000TcVarGlobal4183456Global_Variables.PI64LREAL3.14159265358979TcVarGlobal4183488Global_Variables.MAX_STRING_LENGTH32UDINT255TcVarGlobal4183552Global_Variables.eWatchdogConfig16E_WATCHDOG_TIME_CONFIG0TcVarGlobal4184096Global_Variables.MAX_AVERAGE_MEASURES16INT10LowerBorder2UpperBorder100TcVarGlobal4184112Global_Version.stLibVersion_Tc3_Module288ST_LibVersion.iMajor3.iMinor3.iBuild21.iRevision0.sVersion3.3.21.0const_non_replacedTcVarGlobal4184128Global_Version.stLibVersion_Tc2_Utilities288ST_LibVersion.iMajor3.iMinor3.iBuild40.iRevision1.nFlags0.sVersion3.3.40.1const_non_replacedTcVarGlobal4184736Global_Variables.GLOBAL_FORMAT_HASH_PREFIX_TYPE16E_HashPrefixTypes0TcVarGlobal4185024Global_Variables.GLOBAL_SBCS_TABLE16E_SBCSType1TcVarGlobal4185040Global_Variables.GLOBAL_DCF77_PULSE_SPLIT pulse < 140ms, Bit == 1 => pulse >= 140ms ]]>32TIME140TcVarGlobal4185056Global_Variables.GLOBAL_DCF77_SEQUENCE_CHECK8BOOL0TcVarGlobal4185088Global_Variables.DEFAULT_CSV_FIELD_SEP german field separator, comma (,) := 16#2C => US field separator ]]>8BYTE59TcVarGlobal4185096Global_Variables.MAX_REMOTE_PCS16INT99TcVarGlobal4185104Global_Variables.MAX_ADAPTER_NAME_LENGTH32UDINT259TcVarGlobal4246592Global_Variables.MAX_ADAPTER_DESCRIPTION_LENGTH32UDINT131TcVarGlobal4246624Global_Variables.MAX_ADAPTER_ADDRESS_LENGTH32UDINT7TcVarGlobal4246656Global_Variables.SYSTEMSERVICE_IPHELPERAPI32UDINT701TcVarGlobal4246688Global_Variables.SYSTEMSERVICE_IPHOSTNAME32UDINT702TcVarGlobal4246720Global_Variables.IPHELPERAPI_ADAPTERSINFO32UDINT1TcVarGlobal4246752Global_Variables.IPHELPERAPI_IPADDRBYHOSTNAME32UDINT4TcVarGlobal4246784Global_Variables.MAX_LOCAL_ADAPTERS32UDINT5TcVarGlobal4246816Global_Variables.SYSTEMSERVICE_ADDREMOTE32UDINT801TcVarGlobal4246848Global_Variables.SYSTEMSERVICE_DELREMOTE32UDINT802TcVarGlobal4246880Global_Variables.SYSTEMSERVICE_ENUMREMOTE32UDINT803TcVarGlobal4246912Global_Variables.ROUTE_FLAG_TEMPORARY32DWORD1TcVarGlobal4246944Global_Variables.ROUTE_FLAG_DYNAMIC32DWORD2TcVarGlobal4246976Global_Variables.ROUTE_FLAG_NOOVERRIDE32DWORD4TcVarGlobal4247008Global_Variables.MAX_ROUTE_NAME_LEN8BYTE31TcVarGlobal4247040Global_Variables.MAX_ROUTE_ADDR_LEN8BYTE79TcVarGlobal4247048Global_Variables.MIN_ROUTE_TRANSPORT8BYTE0TcVarGlobal4247056Global_Variables.MAX_ROUTE_TRANSPORT8BYTE12TcVarGlobal4247064Global_Variables.EMPTY_ROUTE_ENTRY1184ST_AmsRouteEntry.sName.sNetID.sAddress.tTimeout0.dwFlags0TcVarGlobal4247072Global_Variables.SYSTEMSERVICE_FFILEFIND32UDINT133TcVarGlobal4248256Global_Variables.HKEY_MAX_BINARY_DATA_SIZE32UDINT500TcVarGlobal4248288Global_Variables.AMSLOGGER_IGR_GENERAL32UDINT4096TcVarGlobal4248320Global_Variables.AMSLOGGER_IOF_MODE32UDINT1TcVarGlobal4248352Global_Variables.AMSPORT_AMSLOGGER16UINT10502TcVarGlobal4248384Global_Variables.FORMAT_MAX_ARGS16INT10TcVarGlobal4248400Global_Variables.FLOATREC_EXP_IS_NAN16INT-32768TcVarGlobal4248416Global_Variables.FLOATREC_EXP_IS_INF16INT32767TcVarGlobal4248432Global_Variables.FLOATREC_MAX_DIGITS16INT20TcVarGlobal4248448Global_Variables.FLOATREC_MAX_PRECISION16INT307TcVarGlobal4248464Global_Variables.FLOATREC_MIN_PRECISION16INT0TcVarGlobal4248480Global_Variables.FMTERR_NOERROR32DWORD0TcVarGlobal4248512Global_Variables.FMTERR_PERCENTSIGNPOSITION32DWORD16TcVarGlobal4248544Global_Variables.FMTERR_ASTERISKPOSITION32DWORD32TcVarGlobal4248576Global_Variables.FMTERR_WIDTHVALUE32DWORD64TcVarGlobal4248608Global_Variables.FMTERR_PRECISIONVALUE32DWORD128TcVarGlobal4248640Global_Variables.FMTERR_FLAGPOSITION32DWORD256TcVarGlobal4248672Global_Variables.FMTERR_WIDTHPRECISIONVALPOS32DWORD512TcVarGlobal4248704Global_Variables.FMTERR_PRECISIONDOTPOSITION32DWORD1024TcVarGlobal4248736Global_Variables.FMTERR_TYPEFIELDVALUE32DWORD2048TcVarGlobal4248768Global_Variables.FMTERR_ARGTYPEINVALID32DWORD4096TcVarGlobal4248800Global_Variables.FMTERR_UNACCEPTEDPARAMETER32DWORD8192TcVarGlobal4248832Global_Variables.FMTERR_INSUFFICIENTARGS32DWORD16384TcVarGlobal4248864Global_Variables.FMTERR_DESTBUFFOVERFLOW32DWORD32768TcVarGlobal4248896Global_Variables.FMTERR_INVALIDPOINTERINPUT32DWORD65536TcVarGlobal4248928Global_Variables.EMPTY_ARG_VALUE96T_Arg.eType0.cbLen0.pData0TcVarGlobal4248960Global_Variables.FORMAT_HEXASC_CODES256BYTE02016[0,0]48[0,1]49[0,2]50[0,3]51[0,4]52[0,5]53[0,6]54[0,7]55[0,8]56[0,9]57[0,10]97[0,11]98[0,12]99[0,13]100[0,14]101[0,15]102[1,0]48[1,1]49[1,2]50[1,3]51[1,4]52[1,5]53[1,6]54[1,7]55[1,8]56[1,9]57[1,10]65[1,11]66[1,12]67[1,13]68[1,14]69[1,15]70TcVarGlobal4249056Global_Variables.FORMAT_DECASC_CODES80BYTE010[0]48[1]49[2]50[3]51[4]52[5]53[6]54[7]55[8]56[9]57TcVarGlobal4249312Global_Variables.SYSTEMTIME_MAX_MONTHDAYS384WORD02112[0,1]31[0,2]28[0,3]31[0,4]30[0,5]31[0,6]30[0,7]31[0,8]31[0,9]30[0,10]31[0,11]30[0,12]31[1,1]31[1,2]29[1,3]31[1,4]30[1,5]31[1,6]30[1,7]31[1,8]31[1,9]30[1,10]31[1,11]30[1,12]31TcVarGlobal4254800Global_Variables.SYSTEMTIME_MAX_YEARSDAY448WORD02014[0,0]0[0,1]31[0,2]59[0,3]90[0,4]120[0,5]151[0,6]181[0,7]212[0,8]243[0,9]273[0,10]304[0,11]334[0,12]365[0,13]396[1,0]0[1,1]31[1,2]60[1,3]91[1,4]121[1,5]152[1,6]182[1,7]213[1,8]244[1,9]274[1,10]305[1,11]335[1,12]366[1,13]397TcVarGlobal4255184Global_Variables.SYSTEMTIME_DATEDELTA_OFFSET32DWORD584389TcVarGlobal4255648Global_Variables.SYSTEMTIME_TICKSPERMSEC64T_ULARGE_INTEGER.dwHighPart0.dwLowPart10000TcVarGlobal4255680Global_Variables.SYSTEMTIME_TICKSPERSEC64T_ULARGE_INTEGER.dwHighPart0.dwLowPart10000000TcVarGlobal4255744Global_Variables.SYSTEMTIME_TICKSPERDAY64T_ULARGE_INTEGER.dwHighPart201.dwLowPart711573504TcVarGlobal4255808Global_Variables.SYSTEMTIME_DATE_AND_TIME_MIN64T_ULARGE_INTEGER.dwHighPart27111902.dwLowPart3577643008TcVarGlobal4255872Global_Variables.SYSTEMTIME_DATE_AND_TIME_MAX64T_ULARGE_INTEGER.dwHighPart37111701.dwLowPart2856069504TcVarGlobal4255936Global_Variables.SYSTEMTIME_TICKSPERMSEC6464ULINT10000TcVarGlobal4256000Global_Variables.SYSTEMTIME_TICKSPERSEC6464ULINT10000000TcVarGlobal4256064Global_Variables.SYSTEMTIME_TICKSPERDAY6464ULINT864000000000TcVarGlobal4256128Global_Variables.SYSTEMTIME_DATE_AND_TIME_MIN6464ULINT116444736000000000TcVarGlobal4256192Global_Variables.SYSTEMTIME_DATE_AND_TIME_MAX6464ULINT159393544950000000TcVarGlobal4256256Global_Variables.WEST_EUROPE_TZI864ST_TimeZoneInformation.bias-60.standardNameW. Europe Standard Time.standardDate.wYear0.standardDate.wMonth10.standardDate.wDayOfWeek0.standardDate.wDay5.standardDate.wHour3.standardBias0.daylightNameW. Europe Daylight Time.daylightDate.wYear0.daylightDate.wMonth3.daylightDate.wDayOfWeek0.daylightDate.wDay5.daylightDate.wHour2.daylightBias-60TcVarGlobal4256320Global_Variables.DATE_AND_TIME_SECPERDAY32DWORD86400TcVarGlobal4261280Global_Variables.DATE_AND_TIME_SECPERWEEK32DWORD604800TcVarGlobal4261312Global_Variables.DBG_OUTPUT_NONE32DWORD0TcVarGlobal4267520Global_Variables.DBG_OUTPUT_LOG32DWORD1TcVarGlobal4267552Global_Variables.DBG_OUTPUT_FILE32DWORD2TcVarGlobal4267584Global_Variables.DBG_OUTPUT_VISU32DWORD4TcVarGlobal4267616Global_Variables.DEFAULT_CSV_FIELD_DOUBLE_QUOTE used to enclose special characters like line breaks, double-quotes, commas... ]]>8BYTE34TcVarGlobal4383856Global_Variables.DEFAULT_CSV_RECORD_SEP_CR record separator (first character) ]]>8BYTE13TcVarGlobal4383864Global_Variables.DEFAULT_CSV_RECORD_SEP_LF record separator (second character) ]]>8BYTE10TcVarGlobal4384816Global_Variables.ASCII_STX8BYTE2TcVarGlobal4386536Global_Variables.EMPTY_GUID_STRUCT128GUID.Data10.Data20.Data30.Data4[0]0.Data4[1]0.Data4[2]0.Data4[3]0.Data4[4]0.Data4[5]0.Data4[6]0.Data4[7]0TcVarGlobal4386560Global_Variables.EMPTY_GUID_STRING296STRING(36)00000000-0000-0000-0000-000000000000TcVarGlobal4386688Global_Variables.EMPTY_GUID_REGSTRING312STRING(38){00000000-0000-0000-0000-000000000000}TcVarGlobal4386984Global_Version.stLibVersion_Tc2_IoFunctions288ST_LibVersion.iMajor3.iMinor3.iBuild13.iRevision0.nFlags0.sVersion3.3.13.0const_non_replacedTcVarGlobal4387392Global_Version.stLibVersion_Tc2_ModbusSrv288ST_LibVersion.iMajor3.iMinor3.iBuild2.iRevision0.sVersion3.3.2.0const_non_replacedTcVarGlobal4387680Global_Version.stLibVersion_Tc2_SerialCom288ST_LibVersion.iMajor3.iMinor3.iBuild7.iRevision0.nFlags0.sVersion3.3.7.0const_non_replacedTcVarGlobal4387968Global_Variables.COMERRORADS_INVALID_COMPORT32UDINT36865TcVarGlobal4388256Global_Variables.COMERRORADS_INVALID_CMD32UDINT36866TcVarGlobal4388288Global_Variables.COMERRORADS_INVALID_DATAPOINTER32UDINT36867TcVarGlobal4388320Global_Variables.COMERRORADS_INVALID_CFGSTLEN32UDINT36881TcVarGlobal4388352Global_Variables.COMERRORADS_INVALID_CFGSTVER32UDINT36882TcVarGlobal4388384Global_Variables.COMERRORADS_INVALID_TL32UDINT36883TcVarGlobal4388416Global_Variables.COMERRORADS_INVALID_BAUDRATE32UDINT36897TcVarGlobal4388448Global_Variables.COMERRORADS_INVALID_PARITY32UDINT36898TcVarGlobal4388480Global_Variables.COMERRORADS_INVALID_DATABITS32UDINT36899TcVarGlobal4388512Global_Variables.COMERRORADS_INVALID_STOPBITS32UDINT36900TcVarGlobal4388544Global_Variables.COMERRORADS_INVALID_DTR_CTRL32UDINT36901TcVarGlobal4388576Global_Variables.COMERRORADS_INVALID_RTS_CTRL32UDINT36902TcVarGlobal4388608Global_Variables.COMERRORADS_INVALID_CTS_OUTCTRL32UDINT36903TcVarGlobal4388640Global_Variables.COMERRORADS_INVALID_DSR_OUTCTRL32UDINT36904TcVarGlobal4388672Global_Variables.COMERRORADS_INVALID_DSR_SENS32UDINT36905TcVarGlobal4388704Global_Variables.COMERRORADS_NOT_INIT32UDINT36913TcVarGlobal4388736Global_Variables.COMERRORADS_RD_BUFFER_OVERRUN32UDINT36914TcVarGlobal4388768Global_Variables.COMERRORADS_PORT_CONNECTED32UDINT36915TcVarGlobal4388800Global_Variables.COMERRORADS_PORT_NOT_CONNECTED32UDINT36916TcVarGlobal4388832Global_Variables.COMERRORADS_RD_THREAD_TIMEOUT32UDINT36917TcVarGlobal4388864Global_Variables.COMERRORADS_WR_THREAD_TIMEOUT32UDINT36918TcVarGlobal4388896Global_Variables.COMERRORADS_RD_FAILURE32UDINT36919TcVarGlobal4388928Global_Variables.COMERRORADS_WR_FAILURE32UDINT36920TcVarGlobal4388960Global_Variables.COMERRORADS_SERVER_INCOMPATIBLE32UDINT37121TcVarGlobal4388992Global_Variables.ASCII_ETX8BYTE3TcVarGlobal4389528Global_Variables.ASCII_DLE8BYTE16TcVarGlobal4389536Global_Variables.ASCII_NAK8BYTE21TcVarGlobal4389544Global_Variables.MAX_RETRIES16INT5TcVarGlobal4389552Global_Variables.TIMEOUT_ZVZ32TIME220TcVarGlobal4389568Global_Variables.TIMEOUT_QVZ32TIME2000TcVarGlobal4389600Global_Variables.TIMEOUT_WVZ32TIME4000TcVarGlobal4389632Global_Constants.EMPTY_EVENT_CLASS128GUID.Data10.Data20.Data30.Data4[0]0.Data4[1]0.Data4[2]0.Data4[3]0.Data4[4]0.Data4[5]0.Data4[6]0.Data4[7]0TcVarGlobal4389664Global_Constants.EMPTY_EVENT_ID32UDINT0TcVarGlobal4389792Global_Constants.EMPTY_SEVERITY16TcEventSeverity0TcVarGlobal4389824Global_Variables.AMSPORT_TCPIPSRV16UINT10201TcVarGlobal4389840Global_Constants.SUCCESS_EVENT192TcEventEntry.uuidEventClass.Data10.uuidEventClass.Data20.uuidEventClass.Data30.uuidEventClass.Data4[0]0.uuidEventClass.Data4[1]0.uuidEventClass.Data4[2]0.uuidEventClass.Data4[3]0.uuidEventClass.Data4[4]0.uuidEventClass.Data4[5]0.uuidEventClass.Data4[6]0.uuidEventClass.Data4[7]0.nEventID0.eSeverity0TcVarGlobal4389856GVL.nLangId_OnlineMonitoring32DINT1033TcVarGlobal4390048ParameterList.cSourceNameSize32UDINT256LowerBorder81UpperBorder10000TcVarGlobal4390080Global_Version.stLibVersion_Tc3_EventLogger288ST_LibVersion.iMajor3.iMinor1.iBuild33.iRevision0.nFlags1.sVersion3.1.33.0const_non_replacedTcVarGlobal4390112GVL_INTERNAL.UNINITIALIZED_CLASS_GUID128GUID.Data13886330336.Data262671.Data318227.Data4[0]149.Data4[1]213.Data4[2]115.Data4[3]223.Data4[4]8.Data4[5]75.Data4[6]96.Data4[7]248TcVarGlobal4390400.TCPADS_MAXUDP_BUFFSIZE32UDINT8192TcVarGlobal4390528Global_Variables.TCPADS_IGR_CONLIST32UDINT2147483649TcVarGlobal4390560Global_Variables.TCPADS_IGR_CLOSEBYHDL32UDINT2147483650TcVarGlobal4390592Global_Variables.TCPADS_IGR_SENDBYHDL32UDINT2147483651TcVarGlobal4390624Global_Variables.TCPADS_IGR_PEERBYHDL32UDINT2147483652TcVarGlobal4390656Global_Variables.TCPADS_IGR_RECVBYHDL32UDINT2147483653TcVarGlobal4390688Global_Variables.TCPADS_IGR_RECVFROMBYHDL32UDINT2147483654TcVarGlobal4390720Global_Variables.TCPADS_IGR_SENDTOBYHDL32UDINT2147483655TcVarGlobal4390752Global_Variables.TCPADS_IGR_MULTICAST_ADDBYHDL32UDINT2147483656TcVarGlobal4390784Global_Variables.TCPADS_IGR_MULTICAST_DROPBYHDL32UDINT2147483657TcVarGlobal4390816Global_Variables.TCPADS_IGR_ADAPTER_LINKSTATUS32UDINT2147483658TcVarGlobal4390848Global_Variables.TCPADSCONLST_IOF_CONNECT32UDINT1TcVarGlobal4390880Global_Variables.TCPADSCONLST_IOF_LISTEN32UDINT2TcVarGlobal4390912Global_Variables.TCPADSCONLST_IOF_CLOSEALL32UDINT3TcVarGlobal4390944Global_Variables.TCPADSCONLST_IOF_ACCEPT32UDINT4TcVarGlobal4390976Global_Variables.TCPADSCONLST_IOF_UDPBIND32UDINT5TcVarGlobal4391008Global_Variables.TCPADSCONLST_IOF_GETHNDLBYADDR32UDINT6TcVarGlobal4391040Global_Variables.TCPADSCONLST_IOF_GETLINKSTATUS32UDINT7TcVarGlobal4391072Global_Variables.TCPADS_NULL_HSOCKET352T_HSOCKET.handle0.remoteAddr.nPort0.remoteAddr.sAddr.localAddr.nPort0.localAddr.sAddrTcVarGlobal4391104Global_Variables.LISTEN_MODE_CLOSEALL32DWORD1TcVarGlobal4391456Global_Variables.LISTEN_MODE_USEOPENED32DWORD2TcVarGlobal4391488Global_Variables.CONNECT_MODE_ENABLEDBG32DWORD2147483648TcVarGlobal4391520Global_Variables.MAX_THROTTLE_MODE32DWORD12TcVarGlobal4391552Global_Variables.THROTTLE_MODE_OFF416T_ThrottleTimes[0]0[1]0[2]0[3]0[4]0[5]0[6]0[7]0[8]0[9]0[10]0[11]0[12]0TcVarGlobal4391584Global_Variables.THROTTLE_MODE_DEFAULT416T_ThrottleTimes[0]0[1]10[2]20[3]40[4]60[5]80[6]100[7]200[8]400[9]600[10]800[11]1000[12]2000TcVarGlobal4392000Global_Version.stLibVersion_Tc3_JsonXml288ST_LibVersion.iMajor3.iMinor3.iBuild18.iRevision0.nFlags1.sVersion3.3.18.0const_non_replacedTcVarGlobal4392416GVL_Param_TcUnit.MaxNumberOfTestSuites16UINT500TcVarGlobal4392704GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite16UINT100TcVarGlobal4392720GVL_Param_TcUnit.MaxNumberOfAsserts16UINT500TcVarGlobal4392736GVL_TcUnit.TestSuiteIsRegistered8BOOLTcVarGlobal4392752GVL_TcUnit.CurrentTestIsFinished8BOOLTcVarGlobal4392760GVL_TcUnit.TcUnitRunner512FB_TcUnitRunnerTcVarGlobal4392768GVL_TcUnit.CurrentTestSuiteBeingCalled32FB_TestSuiteTcVarGlobal4393280GVL_TcUnit.CurrentTestNameBeingCalled2048T_MaxStringTcVarGlobal4393312GVL_TcUnit.IgnoreCurrentTest + + + TcVarGlobal + + + 4097248 + + + GVL_Logger.fbRootLogger + Instantiated here to be used everywhere + 81984 + FB_LogMessage + + + TcVarGlobal + + + 4097280 + + + GVL_Logger.nTrickleThreshold + If GlobAccEvents goes over this level for longer than the + 32 + UDINT + + 2 + + + + TcVarGlobal + + + 4179264 + + + Global_Version.stLibVersion_Tc2_EtherCAT + 288 + ST_LibVersion + + + .iMajor + 3 + + + .iMinor + 3 + + + .iBuild + 21 + + + .iRevision + 0 + + + .nFlags + 1 + + + .sVersion + 3.3.21.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 4179296 + + + Global_Version.stLibVersion_Tc2_Standard + 288 + ST_LibVersion + + + .iMajor + 3 + + + .iMinor + 3 + + + .iBuild + 3 + + + .iRevision + 0 + + + .nFlags + 0 + + + .sVersion + 3.3.3.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 4179584 + + + Global_Version.stLibVersion_Tc2_System + 288 + ST_LibVersion + + + .iMajor + 3 + + + .iMinor + 4 + + + .iBuild + 24 + + + .iRevision + 0 + + + .nFlags + 0 + + + .sVersion + 3.4.24.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 4179872 + + + Global_Variables.AMSPORT_R0_RTIME + R0 Real time + 16 + UINT + + 200 + + + + TcVarGlobal + + + 4180160 + + + Global_Variables.AMSPORT_R0_IO + I/O Driver + 16 + UINT + + 300 + + + + TcVarGlobal + + + 4180176 + + + Global_Variables.AMSPORT_R0_NC + 16 + UINT + + 500 + + + + TcVarGlobal + + + 4180192 + + + Global_Variables.AMSPORT_R0_NCSAF + 16 + UINT + + 501 + + + + TcVarGlobal + + + 4180208 + + + Global_Variables.AMSPORT_R0_NCSVB + 16 + UINT + + 511 + + + + TcVarGlobal + + + 4180224 + + + Global_Variables.AMSPORT_R0_ISG + 16 + UINT + + 550 + + + + TcVarGlobal + + + 4180240 + + + Global_Variables.AMSPORT_R0_CNC + 16 + UINT + + 600 + + + + TcVarGlobal + + + 4180256 + + + Global_Variables.AMSPORT_R0_LINE + 16 + UINT + + 700 + + + + TcVarGlobal + + + 4180272 + + + Global_Variables.AMSPORT_R0_PLC + 16 + UINT + + 800 + + + + TcVarGlobal + + + 4180288 + + + Global_Variables.AMSPORT_R0_PLC_RTS1 + TwinCAT v2.xx first PLC runtime system + 16 + UINT + + 801 + + + + TcVarGlobal + + + 4180304 + + + Global_Variables.AMSPORT_R0_PLC_RTS2 + TwinCAT v2.xx second PLC runtime system + 16 + UINT + + 811 + + + + TcVarGlobal + + + 4180320 + + + Global_Variables.AMSPORT_R0_PLC_RTS3 + TwinCAT v2.xx third PLC runtime system + 16 + UINT + + 821 + + + + TcVarGlobal + + + 4180336 + + + Global_Variables.AMSPORT_R0_PLC_RTS4 + TwinCAT v2.xx fourth PLC runtime system + 16 + UINT + + 831 + + + + TcVarGlobal + + + 4180352 + + + Global_Variables.AMSPORT_R0_CAM + 16 + UINT + + 900 + + + + TcVarGlobal + + + 4180368 + + + Global_Variables.AMSPORT_R0_CAMTOOL + Camming tool + 16 + UINT + + 950 + + + + TcVarGlobal + + + 4180384 + + + Global_Variables.AMSPORT_R3_SYSSERV + TwinCAT System Service + 16 + UINT + + 10000 + + + + TcVarGlobal + + + 4180400 + + + Global_Variables.AMSPORT_R3_SCOPESERVER + TwinCAT Scope Server + 16 + UINT + + 14001 + + + + TcVarGlobal + + + 4180416 + + + Global_Variables.ADSSTATE_INVALID + Invalid ADS state + 16 + UINT + + 0 + + + + TcVarGlobal + + + 4180432 + + + Global_Variables.ADSSTATE_IDLE + 16 + UINT + + 1 + + + + TcVarGlobal + + + 4180448 + + + Global_Variables.ADSSTATE_RESET + 16 + UINT + + 2 + + + + TcVarGlobal + + + 4180464 + + + Global_Variables.ADSSTATE_INIT + 16 + UINT + + 3 + + + + TcVarGlobal + + + 4180480 + + + Global_Variables.ADSSTATE_START + 16 + UINT + + 4 + + + + TcVarGlobal + + + 4180496 + + + Global_Variables.ADSSTATE_RUN + 16 + UINT + + 5 + + + + TcVarGlobal + + + 4180512 + + + Global_Variables.ADSSTATE_STOP + 16 + UINT + + 6 + + + + TcVarGlobal + + + 4180528 + + + Global_Variables.ADSSTATE_SAVECFG + 16 + UINT + + 7 + + + + TcVarGlobal + + + 4180544 + + + Global_Variables.ADSSTATE_LOADCFG + 16 + UINT + + 8 + + + + TcVarGlobal + + + 4180560 + + + Global_Variables.ADSSTATE_POWERFAILURE + 16 + UINT + + 9 + + + + TcVarGlobal + + + 4180576 + + + Global_Variables.ADSSTATE_POWERGOOD + 16 + UINT + + 10 + + + + TcVarGlobal + + + 4180592 + + + Global_Variables.ADSSTATE_ERROR + 16 + UINT + + 11 + + + + TcVarGlobal + + + 4180608 + + + Global_Variables.ADSSTATE_SHUTDOWN + 16 + UINT + + 12 + + + + TcVarGlobal + + + 4180624 + + + Global_Variables.ADSSTATE_SUSPEND + 16 + UINT + + 13 + + + + TcVarGlobal + + + 4180640 + + + Global_Variables.ADSSTATE_RESUME + 16 + UINT + + 14 + + + + TcVarGlobal + + + 4180656 + + + Global_Variables.ADSSTATE_CONFIG + System is in config mode + 16 + UINT + + 15 + + + + TcVarGlobal + + + 4180672 + + + Global_Variables.ADSSTATE_RECONFIG + System should restart in config mode + 16 + UINT + + 16 + + + + TcVarGlobal + + + 4180688 + + + Global_Variables.ADSSTATE_STOPPING + 16 + UINT + + 17 + + + + TcVarGlobal + + + 4180704 + + + Global_Variables.ADSSTATE_INCOMPATIBLE + 16 + UINT + + 18 + + + + TcVarGlobal + + + 4180720 + + + Global_Variables.ADSSTATE_EXCEPTION + 16 + UINT + + 19 + + + + TcVarGlobal + + + 4180736 + + + Global_Variables.ADSSTATE_MAXSTATES + Max. number of available ads states + 16 + UINT + + 20 + + + + TcVarGlobal + + + 4180752 + + + Global_Variables.ADSIGRP_SYMTAB + Symbol table + 32 + UDINT + + 61440 + + + + TcVarGlobal + + + 4180768 + + + Global_Variables.ADSIGRP_SYMNAME + Symbol name + 32 + UDINT + + 61441 + + + + TcVarGlobal + + + 4180800 + + + Global_Variables.ADSIGRP_SYMVAL + Symbol value + 32 + UDINT + + 61442 + + + + TcVarGlobal + + + 4180832 + + + Global_Variables.ADSIGRP_SYM_HNDBYNAME + 32 + UDINT + + 61443 + + + + TcVarGlobal + + + 4180864 + + + Global_Variables.ADSIGRP_SYM_VALBYNAME + 32 + UDINT + + 61444 + + + + TcVarGlobal + + + 4180896 + + + Global_Variables.ADSIGRP_SYM_VALBYHND + 32 + UDINT + + 61445 + + + + TcVarGlobal + + + 4180928 + + + Global_Variables.ADSIGRP_SYM_RELEASEHND + 32 + UDINT + + 61446 + + + + TcVarGlobal + + + 4180960 + + + Global_Variables.ADSIGRP_SYM_INFOBYNAME + 32 + UDINT + + 61447 + + + + TcVarGlobal + + + 4180992 + + + Global_Variables.ADSIGRP_SYM_VERSION + 32 + UDINT + + 61448 + + + + TcVarGlobal + + + 4181024 + + + Global_Variables.ADSIGRP_SYM_INFOBYNAMEEX + 32 + UDINT + + 61449 + + + + TcVarGlobal + + + 4181056 + + + Global_Variables.ADSIGRP_SYM_DOWNLOAD + 32 + UDINT + + 61450 + + + + TcVarGlobal + + + 4181088 + + + Global_Variables.ADSIGRP_SYM_UPLOAD + 32 + UDINT + + 61451 + + + + TcVarGlobal + + + 4181120 + + + Global_Variables.ADSIGRP_SYM_UPLOADINFO + 32 + UDINT + + 61452 + + + + TcVarGlobal + + + 4181152 + + + Global_Variables.ADSIGRP_SYMNOTE + Notification of named handle + 32 + UDINT + + 61456 + + + + TcVarGlobal + + + 4181184 + + + Global_Variables.ADSIGRP_IOIMAGE_RWIB + Read/write input BYTE(S) + 32 + UDINT + + 61472 + + + + TcVarGlobal + + + 4181216 + + + Global_Variables.ADSIGRP_IOIMAGE_RWIX + Read/write input bit + 32 + UDINT + + 61473 + + + + TcVarGlobal + + + 4181248 + + + Global_Variables.ADSIGRP_IOIMAGE_RISIZE + Read input size (in BYTE) + 32 + UDINT + + 61477 + + + + TcVarGlobal + + + 4181280 + + + Global_Variables.ADSIGRP_IOIMAGE_RWOB + Read/write output BYTE(S) + 32 + UDINT + + 61488 + + + + TcVarGlobal + + + 4181312 + + + Global_Variables.ADSIGRP_IOIMAGE_RWOX + Read/write output bit + 32 + UDINT + + 61489 + + + + TcVarGlobal + + + 4181344 + + + Global_Variables.ADSIGRP_IOIMAGE_ROSIZE + Read/write output bit + 32 + UDINT + + 61493 + + + + TcVarGlobal + + + 4181376 + + + Global_Variables.ADSIGRP_IOIMAGE_CLEARI + Write inputs TO null + 32 + UDINT + + 61504 + + + + TcVarGlobal + + + 4181408 + + + Global_Variables.ADSIGRP_IOIMAGE_CLEARO + Write outputs TO null + 32 + UDINT + + 61520 + + + + TcVarGlobal + + + 4181440 + + + Global_Variables.ADSIGRP_IOIMAGE_RWIOB + Read input AND write output BYTE(S) ADS-READWRITE + 32 + UDINT + + 61536 + + + + TcVarGlobal + + + 4181472 + + + Global_Variables.ADSIGRP_DEVICE_DATA + State, name, etc... + 32 + UDINT + + 61696 + + + + TcVarGlobal + + + 4181504 + + + Global_Variables.ADSIOFFS_DEVDATA_ADSSTATE + Ads state OF device + 32 + UDINT + + 0 + + + + TcVarGlobal + + + 4181536 + + + Global_Variables.ADSIOFFS_DEVDATA_DEVSTATE + Device state + 32 + UDINT + + 2 + + + + TcVarGlobal + + + 4181568 + + + Global_Variables.SYSTEMSERVICE_OPENCREATE + Open and if not existing create + 32 + UDINT + + 100 + + + + TcVarGlobal + + + 4181600 + + + Global_Variables.SYSTEMSERVICE_OPENREAD + Open existing for read access + 32 + UDINT + + 101 + + + + TcVarGlobal + + + 4181632 + + + Global_Variables.SYSTEMSERVICE_OPENWRITE + Open existing for write access + 32 + UDINT + + 102 + + + + TcVarGlobal + + + 4181664 + + + Global_Variables.SYSTEMSERVICE_CREATEFILE + Create + 32 + UDINT + + 110 + + + + TcVarGlobal + + + 4181696 + + + Global_Variables.SYSTEMSERVICE_CLOSEHANDLE + Close + 32 + UDINT + + 111 + + + + TcVarGlobal + + + 4181728 + + + Global_Variables.SYSTEMSERVICE_FOPEN + 32 + UDINT + + 120 + + + + TcVarGlobal + + + 4181760 + + + Global_Variables.SYSTEMSERVICE_FCLOSE + 32 + UDINT + + 121 + + + + TcVarGlobal + + + 4181792 + + + Global_Variables.SYSTEMSERVICE_FREAD + 32 + UDINT + + 122 + + + + TcVarGlobal + + + 4181824 + + + Global_Variables.SYSTEMSERVICE_FWRITE + 32 + UDINT + + 123 + + + + TcVarGlobal + + + 4181856 + + + Global_Variables.SYSTEMSERVICE_FSEEK + 32 + UDINT + + 124 + + + + TcVarGlobal + + + 4181888 + + + Global_Variables.SYSTEMSERVICE_FTELL + 32 + UDINT + + 125 + + + + TcVarGlobal + + + 4181920 + + + Global_Variables.SYSTEMSERVICE_FGETS + 32 + UDINT + + 126 + + + + TcVarGlobal + + + 4181952 + + + Global_Variables.SYSTEMSERVICE_FPUTS + 32 + UDINT + + 127 + + + + TcVarGlobal + + + 4181984 + + + Global_Variables.SYSTEMSERVICE_FSCANF + 32 + UDINT + + 128 + + + + TcVarGlobal + + + 4182016 + + + Global_Variables.SYSTEMSERVICE_FPRINTF + 32 + UDINT + + 129 + + + + TcVarGlobal + + + 4182048 + + + Global_Variables.SYSTEMSERVICE_FEOF + 32 + UDINT + + 130 + + + + TcVarGlobal + + + 4182080 + + + Global_Variables.SYSTEMSERVICE_FDELETE + 32 + UDINT + + 131 + + + + TcVarGlobal + + + 4182112 + + + Global_Variables.SYSTEMSERVICE_FRENAME + 32 + UDINT + + 132 + + + + TcVarGlobal + + + 4182144 + + + Global_Variables.SYSTEMSERVICE_MKDIR + 32 + UDINT + + 138 + + + + TcVarGlobal + + + 4182176 + + + Global_Variables.SYSTEMSERVICE_RMDIR + 32 + UDINT + + 139 + + + + TcVarGlobal + + + 4182208 + + + Global_Variables.SYSTEMSERVICE_REG_HKEYLOCALMACHINE + 32 + UDINT + + 200 + + + + TcVarGlobal + + + 4182240 + + + Global_Variables.SYSTEMSERVICE_SENDEMAIL + 32 + UDINT + + 300 + + + + TcVarGlobal + + + 4182272 + + + Global_Variables.SYSTEMSERVICE_TIMESERVICES + 32 + UDINT + + 400 + + + + TcVarGlobal + + + 4182304 + + + Global_Variables.SYSTEMSERVICE_STARTPROCESS + 32 + UDINT + + 500 + + + + TcVarGlobal + + + 4182336 + + + Global_Variables.SYSTEMSERVICE_CHANGENETID + 32 + UDINT + + 600 + + + + TcVarGlobal + + + 4182368 + + + Global_Variables.TIMESERVICE_DATEANDTIME + Date/time + 32 + UDINT + + 1 + + + + TcVarGlobal + + + 4182400 + + + Global_Variables.TIMESERVICE_SYSTEMTIMES + 32 + UDINT + + 2 + + + + TcVarGlobal + + + 4182432 + + + Global_Variables.TIMESERVICE_RTCTIMEDIFF + 32 + UDINT + + 3 + + + + TcVarGlobal + + + 4182464 + + + Global_Variables.TIMESERVICE_ADJUSTTIMETORTC + 32 + UDINT + + 4 + + + + TcVarGlobal + + + 4182496 + + + Global_Variables.TIMESERVICE_TIMEZONINFORMATION + 32 + UDINT + + 6 + + + + TcVarGlobal + + + 4182528 + + + Global_Variables.ADSLOG_MSGTYPE_HINT + Hint icon + 32 + DWORD + + 1 + + + + TcVarGlobal + + + 4182560 + + + Global_Variables.ADSLOG_MSGTYPE_WARN + Warning icon + 32 + DWORD + + 2 + + + + TcVarGlobal + + + 4182592 + + + Global_Variables.ADSLOG_MSGTYPE_ERROR + Error icon + 32 + DWORD + + 4 + + + + TcVarGlobal + + + 4182624 + + + Global_Variables.ADSLOG_MSGTYPE_LOG + Write message to log file + 32 + DWORD + + 16 + + + + TcVarGlobal + + + 4182656 + + + Global_Variables.ADSLOG_MSGTYPE_MSGBOX + View message in message box + 32 + DWORD + + 32 + + + + TcVarGlobal + + + 4182688 + + + Global_Variables.ADSLOG_MSGTYPE_RESOURCE + 32 + DWORD + + 64 + + + + TcVarGlobal + + + 4182720 + + + Global_Variables.ADSLOG_MSGTYPE_STRING + 32 + DWORD + + 128 + + + + TcVarGlobal + + + 4182752 + + + Global_Variables.BOOTDATAFLAGS_RETAIN_REQUESTED + 8 + BYTE + + 4 + + + + TcVarGlobal + + + 4182784 + + + Global_Variables.BOOTDATAFLAGS_PERSISTENT_LOADED + Persistent data loaded + 8 + BYTE + + 16 + + + + TcVarGlobal + + + 4182792 + + + Global_Variables.BOOTDATAFLAGS_PERSISTENT_INVALID + Persistent data is invalid + 8 + BYTE + + 32 + + + + TcVarGlobal + + + 4182800 + + + Global_Variables.SYSTEMSTATEFLAGS_BSOD + Blue screen of death + 8 + BYTE + + 1 + + + + TcVarGlobal + + + 4182808 + + + Global_Variables.SYSTEMSTATEFLAGS_RTVIOLATION + Realtime violation - latency time + 8 + BYTE + + 2 + + + + TcVarGlobal + + + 4182816 + + + Global_Variables.nWatchdogTime + Watchdog time. Depending of g_WatchdogConfig : seconds or minutes + 8 + BYTE + + + TcVarGlobal + + + 4182824 + + + Global_Variables.TCEVENTFLAG_PRIOCLASS + Event class/priority through textformatter + 16 + WORD + + 16 + + + + TcVarGlobal + + + 4182832 + + + Global_Variables.FOPEN_MODEREAD + "r": Opens for reading. If the file does not exist or cannot be found, the call fails. + 32 + DWORD + + 1 + + + + TcVarGlobal + + + 4182848 + + + Global_Variables.FOPEN_MODEWRITE + "w": Opens an empty file for writing. If the given file exists, its contents are destroyed. + 32 + DWORD + + 2 + + + + TcVarGlobal + + + 4182880 + + + Global_Variables.FOPEN_MODEAPPEND + "a": Opens for writing at the end of the file (appending) without removing the EOF marker before writing new data to the file; creates the file first if it doesnot exist. + 32 + DWORD + + 4 + + + + TcVarGlobal + + + 4182912 + + + Global_Variables.FOPEN_MODEPLUS + "+": Opens for reading and writing + 32 + DWORD + + 8 + + + + TcVarGlobal + + + 4182944 + + + Global_Variables.FOPEN_MODEBINARY + "b": Open in binary (untranslated) mode. + 32 + DWORD + + 16 + + + + TcVarGlobal + + + 4182976 + + + Global_Variables.FOPEN_MODETEXT + "t": Open in text (translated) mode. + 32 + DWORD + + 32 + + + + TcVarGlobal + + + 4183008 + + + Global_Variables.TCEVENTFLAG_FMTSELF + Format in message + 16 + WORD + + 32 + + + + TcVarGlobal + + + 4183264 + + + Global_Variables.TCEVENTFLAG_LOG + Write to log file + 16 + WORD + + 64 + + + + TcVarGlobal + + + 4183280 + + + Global_Variables.TCEVENTFLAG_MSGBOX + Display message box + 16 + WORD + + 128 + + + + TcVarGlobal + + + 4183296 + + + Global_Variables.TCEVENTFLAG_SRCID + Src id instead of source name + 16 + WORD + + 256 + + + + TcVarGlobal + + + 4183312 + + + Global_Variables.TCEVENTFLAG_AUTOFMTALL + 16 + WORD + + 4096 + + + + TcVarGlobal + + + 4183328 + + + Global_Variables.TCEVENTSTATE_INVALID + Event object is not initialized + 16 + WORD + + 0 + + + + TcVarGlobal + + + 4183344 + + + Global_Variables.TCEVENTSTATE_SIGNALED + Event object is in a signaled state + 16 + WORD + + 1 + + + + TcVarGlobal + + + 4183360 + + + Global_Variables.TCEVENTSTATE_RESET + Event object is in a reset state + 16 + WORD + + 2 + + + + TcVarGlobal + + + 4183376 + + + Global_Variables.TCEVENTSTATE_CONFIRMED + Event object is confirmed but not reset + 16 + WORD + + 16 + + + + TcVarGlobal + + + 4183392 + + + Global_Variables.TCEVENTSTATE_RESETCON + Event object is confirmed and reset + 16 + WORD + + 18 + + + + TcVarGlobal + + + 4183408 + + + Global_Variables.TCEVENT_SRCNAMESIZE + 16 + INT + + 15 + + + + TcVarGlobal + + + 4183424 + + + Global_Variables.TCEVENT_FMTPRGSIZE + 16 + INT + + 31 + + + + TcVarGlobal + + + 4183440 + + + Global_Variables.DEFAULT_ADS_TIMEOUT + Default ADS timeout value + 32 + TIME + + 5000 + + + + TcVarGlobal + + + 4183456 + + + Global_Variables.PI + 64 + LREAL + + 3.14159265358979 + + + + TcVarGlobal + + + 4183488 + + + Global_Variables.MAX_STRING_LENGTH + Max. length of T_MaxString (inclusive null delimiter) + 32 + UDINT + + 255 + + + + TcVarGlobal + + + 4183552 + + + Global_Variables.eWatchdogConfig + 16 + E_WATCHDOG_TIME_CONFIG + + 0 + + + + TcVarGlobal + + + 4184096 + + + Global_Variables.MAX_AVERAGE_MEASURES + Max. number of measures used in the profiler function block: 2..100 + 16 + INT + + 10 + + + + LowerBorder + 2 + + + UpperBorder + 100 + + + TcVarGlobal + + + 4184112 + + + Global_Version.stLibVersion_Tc3_Module + 288 + ST_LibVersion + + + .iMajor + 3 + + + .iMinor + 3 + + + .iBuild + 21 + + + .iRevision + 0 + + + .sVersion + 3.3.21.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 4184128 + + + Global_Version.stLibVersion_Tc2_Utilities + 288 + ST_LibVersion + + + .iMajor + 3 + + + .iMinor + 3 + + + .iBuild + 40 + + + .iRevision + 1 + + + .nFlags + 0 + + + .sVersion + 3.3.40.1 + + + + + const_non_replaced + + + TcVarGlobal + + + 4184736 + + + Global_Variables.GLOBAL_FORMAT_HASH_PREFIX_TYPE + Global hash prefix type constant used for binary, octal or hexadecimal string format type + 16 + E_HashPrefixTypes + + 0 + + + + TcVarGlobal + + + 4185024 + + + Global_Variables.GLOBAL_SBCS_TABLE + Windows SBCS (Single Byte Character Set) Code Page Table + 16 + E_SBCSType + + 1 + + + + TcVarGlobal + + + 4185040 + + + Global_Variables.GLOBAL_DCF77_PULSE_SPLIT + Default DCF77 short/long pulse split time value. Bit == 0 => pulse < 140ms, Bit == 1 => pulse >= 140ms + 32 + TIME + + 140 + + + + TcVarGlobal + + + 4185056 + + + Global_Variables.GLOBAL_DCF77_SEQUENCE_CHECK + TRUE = Enable DCF77 telegram plausibility check (two telegrams are checked), FALSE = Disable check + 8 + BOOL + + 0 + + + + TcVarGlobal + + + 4185088 + + + Global_Variables.DEFAULT_CSV_FIELD_SEP + Default CSV-file field separator character. Semicolon (;) := 16#3B => german field separator, comma (,) := 16#2C => US field separator + 8 + BYTE + + 59 + + + + TcVarGlobal + + + 4185096 + + + Global_Variables.MAX_REMOTE_PCS + Max. number of TwinCAT remote systems/PC's + 16 + INT + + 99 + + + + TcVarGlobal + + + 4185104 + + + Global_Variables.MAX_ADAPTER_NAME_LENGTH + Max. System Service local adapter name length (256 + 4 inkl. \0) + 32 + UDINT + + 259 + + + + TcVarGlobal + + + 4246592 + + + Global_Variables.MAX_ADAPTER_DESCRIPTION_LENGTH + Max. System Service local adapter descirpion length (128 + 4 inkl. \0) + 32 + UDINT + + 131 + + + + TcVarGlobal + + + 4246624 + + + Global_Variables.MAX_ADAPTER_ADDRESS_LENGTH + Max. System Service local adapter physical address length (bytes[0..7]) + 32 + UDINT + + 7 + + + + TcVarGlobal + + + 4246656 + + + Global_Variables.SYSTEMSERVICE_IPHELPERAPI + IPHELPERAPI index group + 32 + UDINT + + 701 + + + + TcVarGlobal + + + 4246688 + + + Global_Variables.SYSTEMSERVICE_IPHOSTNAME + IPHOSTNAME index group + 32 + UDINT + + 702 + + + + TcVarGlobal + + + 4246720 + + + Global_Variables.IPHELPERAPI_ADAPTERSINFO + IPHELPERAPI index offset + 32 + UDINT + + 1 + + + + TcVarGlobal + + + 4246752 + + + Global_Variables.IPHELPERAPI_IPADDRBYHOSTNAME + IPHELPERAPI index offset + 32 + UDINT + + 4 + + + + TcVarGlobal + + + 4246784 + + + Global_Variables.MAX_LOCAL_ADAPTERS + Max. number of local network adapters + 32 + UDINT + + 5 + + + + TcVarGlobal + + + 4246816 + + + Global_Variables.SYSTEMSERVICE_ADDREMOTE + System Service route function: Add route + 32 + UDINT + + 801 + + + + TcVarGlobal + + + 4246848 + + + Global_Variables.SYSTEMSERVICE_DELREMOTE + System Service route function: Delete route + 32 + UDINT + + 802 + + + + TcVarGlobal + + + 4246880 + + + Global_Variables.SYSTEMSERVICE_ENUMREMOTE + System Service route function: Enumerater route + 32 + UDINT + + 803 + + + + TcVarGlobal + + + 4246912 + + + Global_Variables.ROUTE_FLAG_TEMPORARY + TwinCAT route flag: Temporary + 32 + DWORD + + 1 + + + + TcVarGlobal + + + 4246944 + + + Global_Variables.ROUTE_FLAG_DYNAMIC + TwinCAT route flag: Hostname instead OF IP address + 32 + DWORD + + 2 + + + + TcVarGlobal + + + 4246976 + + + Global_Variables.ROUTE_FLAG_NOOVERRIDE + TwinCAT route flag: No override + 32 + DWORD + + 4 + + + + TcVarGlobal + + + 4247008 + + + Global_Variables.MAX_ROUTE_NAME_LEN + Max. TwinCAT router route name length + 8 + BYTE + + 31 + + + + TcVarGlobal + + + 4247040 + + + Global_Variables.MAX_ROUTE_ADDR_LEN + Max. TwinCAT router route address length + 8 + BYTE + + 79 + + + + TcVarGlobal + + + 4247048 + + + Global_Variables.MIN_ROUTE_TRANSPORT + Min. route type: eRouteTransport_None + 8 + BYTE + + 0 + + + + TcVarGlobal + + + 4247056 + + + Global_Variables.MAX_ROUTE_TRANSPORT + Max. route type: eRouteTransport_SOAP + 8 + BYTE + + 12 + + + + TcVarGlobal + + + 4247064 + + + Global_Variables.EMPTY_ROUTE_ENTRY + eTransport := eRouteTransport_None see Workitem 7547 + 1184 + ST_AmsRouteEntry + + + .sName + + + + .sNetID + + + + .sAddress + + + + .tTimeout + 0 + + + .dwFlags + 0 + + + + + TcVarGlobal + + + 4247072 + + + Global_Variables.SYSTEMSERVICE_FFILEFIND + System Service file find function number + 32 + UDINT + + 133 + + + + TcVarGlobal + + + 4248256 + + + Global_Variables.HKEY_MAX_BINARY_DATA_SIZE + Max. byte size of binary registry value data + 32 + UDINT + + 500 + + + + TcVarGlobal + + + 4248288 + + + Global_Variables.AMSLOGGER_IGR_GENERAL + TwinCAT Ams Logger general index group + 32 + UDINT + + 4096 + + + + TcVarGlobal + + + 4248320 + + + Global_Variables.AMSLOGGER_IOF_MODE + TwinCAT Ams Logger mode + 32 + UDINT + + 1 + + + + TcVarGlobal + + + 4248352 + + + Global_Variables.AMSPORT_AMSLOGGER + TwinCAT Ams Logger port number + 16 + UINT + + 10502 + + + + TcVarGlobal + + + 4248384 + + + Global_Variables.FORMAT_MAX_ARGS + Format string constant: Max. number of format arguments in FB_FormatString + 16 + INT + + 10 + + + + TcVarGlobal + + + 4248400 + + + Global_Variables.FLOATREC_EXP_IS_NAN + T_FloatRec type and F_GetFloatRec function constant: The value is #NAN or -#NAN + 16 + INT + + -32768 + + + + TcVarGlobal + + + 4248416 + + + Global_Variables.FLOATREC_EXP_IS_INF + T_FloatRec type and F_GetFloatRec function constant: The value is #INF or -#INF + 16 + INT + + 32767 + + + + TcVarGlobal + + + 4248432 + + + Global_Variables.FLOATREC_MAX_DIGITS + T_FloatRec type and F_GetFloatRec function constant: Max. number of significant digits. Note: double precision floats have max. 15 significant digits + 16 + INT + + 20 + + + + TcVarGlobal + + + 4248448 + + + Global_Variables.FLOATREC_MAX_PRECISION + T_FloatRec type and F_GetFloatRec function constant: Max. floating point precision (1e-307) + 16 + INT + + 307 + + + + TcVarGlobal + + + 4248464 + + + Global_Variables.FLOATREC_MIN_PRECISION + T_FloatRec type and F_GetFloatRec function constant: Min. floating point precision + 16 + INT + + 0 + + + + TcVarGlobal + + + 4248480 + + + Global_Variables.FMTERR_NOERROR + FB_FormatString function block error code: No error + 32 + DWORD + + 0 + + + + TcVarGlobal + + + 4248512 + + + Global_Variables.FMTERR_PERCENTSIGNPOSITION + FB_FormatString function block error code: Percent sign (%) at invalid position + 32 + DWORD + + 16 + + + + TcVarGlobal + + + 4248544 + + + Global_Variables.FMTERR_ASTERISKPOSITION + FB_FormatString function block error code: Asterisk parameter at invalid position + 32 + DWORD + + 32 + + + + TcVarGlobal + + + 4248576 + + + Global_Variables.FMTERR_WIDTHVALUE + FB_FormatString function block error code: Invalid width field value + 32 + DWORD + + 64 + + + + TcVarGlobal + + + 4248608 + + + Global_Variables.FMTERR_PRECISIONVALUE + FB_FormatString function block error code: Invalid precision field value + 32 + DWORD + + 128 + + + + TcVarGlobal + + + 4248640 + + + Global_Variables.FMTERR_FLAGPOSITION + FB_FormatString function block error code: One of the flags at invalid position + 32 + DWORD + + 256 + + + + TcVarGlobal + + + 4248672 + + + Global_Variables.FMTERR_WIDTHPRECISIONVALPOS + FB_FormatString function block error code: The width or precision field value at invalid position + 32 + DWORD + + 512 + + + + TcVarGlobal + + + 4248704 + + + Global_Variables.FMTERR_PRECISIONDOTPOSITION + FB_FormatString function block error code: Dot "." sign of precision field at invalid position + 32 + DWORD + + 1024 + + + + TcVarGlobal + + + 4248736 + + + Global_Variables.FMTERR_TYPEFIELDVALUE + FB_FormatString function block error code: Invalid (unsupported) type field value + 32 + DWORD + + 2048 + + + + TcVarGlobal + + + 4248768 + + + Global_Variables.FMTERR_ARGTYPEINVALID + FB_FormatString function block error code: Different type field and argument parameter + 32 + DWORD + + 4096 + + + + TcVarGlobal + + + 4248800 + + + Global_Variables.FMTERR_UNACCEPTEDPARAMETER + FB_FormatString function block error code: Invalid format string parameters + 32 + DWORD + + 8192 + + + + TcVarGlobal + + + 4248832 + + + Global_Variables.FMTERR_INSUFFICIENTARGS + FB_FormatString function block error code: To much arguments in format string + 32 + DWORD + + 16384 + + + + TcVarGlobal + + + 4248864 + + + Global_Variables.FMTERR_DESTBUFFOVERFLOW + FB_FormatString function block error code: Destination string buffer overflow (formatted string is to long ) + 32 + DWORD + + 32768 + + + + TcVarGlobal + + + 4248896 + + + Global_Variables.FMTERR_INVALIDPOINTERINPUT + FB_FormatString function block error code: Invalid pointer input + 32 + DWORD + + 65536 + + + + TcVarGlobal + + + 4248928 + + + Global_Variables.EMPTY_ARG_VALUE + T_Arg empty value + 96 + T_Arg + + + .eType + 0 + + + .cbLen + 0 + + + .pData + 0 + + + + + TcVarGlobal + + + 4248960 + + + Global_Variables.FORMAT_HEXASC_CODES + 256 + BYTE + + 0 + 2 + + + 0 + 16 + + + + [0,0] + 48 + + + [0,1] + 49 + + + [0,2] + 50 + + + [0,3] + 51 + + + [0,4] + 52 + + + [0,5] + 53 + + + [0,6] + 54 + + + [0,7] + 55 + + + [0,8] + 56 + + + [0,9] + 57 + + + [0,10] + 97 + + + [0,11] + 98 + + + [0,12] + 99 + + + [0,13] + 100 + + + [0,14] + 101 + + + [0,15] + 102 + + + [1,0] + 48 + + + [1,1] + 49 + + + [1,2] + 50 + + + [1,3] + 51 + + + [1,4] + 52 + + + [1,5] + 53 + + + [1,6] + 54 + + + [1,7] + 55 + + + [1,8] + 56 + + + [1,9] + 57 + + + [1,10] + 65 + + + [1,11] + 66 + + + [1,12] + 67 + + + [1,13] + 68 + + + [1,14] + 69 + + + [1,15] + 70 + + + + + TcVarGlobal + + + 4249056 + + + Global_Variables.FORMAT_DECASC_CODES + ASCII to decimal and decimal digits to ASCII codes + 80 + BYTE + + 0 + 10 + + + + [0] + 48 + + + [1] + 49 + + + [2] + 50 + + + [3] + 51 + + + [4] + 52 + + + [5] + 53 + + + [6] + 54 + + + [7] + 55 + + + [8] + 56 + + + [9] + 57 + + + + + TcVarGlobal + + + 4249312 + + + Global_Variables.SYSTEMTIME_MAX_MONTHDAYS + 384 + WORD + + 0 + 2 + + + 1 + 12 + + + + [0,1] + 31 + + + [0,2] + 28 + + + [0,3] + 31 + + + [0,4] + 30 + + + [0,5] + 31 + + + [0,6] + 30 + + + [0,7] + 31 + + + [0,8] + 31 + + + [0,9] + 30 + + + [0,10] + 31 + + + [0,11] + 30 + + + [0,12] + 31 + + + [1,1] + 31 + + + [1,2] + 29 + + + [1,3] + 31 + + + [1,4] + 30 + + + [1,5] + 31 + + + [1,6] + 30 + + + [1,7] + 31 + + + [1,8] + 31 + + + [1,9] + 30 + + + [1,10] + 31 + + + [1,11] + 30 + + + [1,12] + 31 + + + + + TcVarGlobal + + + 4254800 + + + Global_Variables.SYSTEMTIME_MAX_YEARSDAY + 448 + WORD + + 0 + 2 + + + 0 + 14 + + + + [0,0] + 0 + + + [0,1] + 31 + + + [0,2] + 59 + + + [0,3] + 90 + + + [0,4] + 120 + + + [0,5] + 151 + + + [0,6] + 181 + + + [0,7] + 212 + + + [0,8] + 243 + + + [0,9] + 273 + + + [0,10] + 304 + + + [0,11] + 334 + + + [0,12] + 365 + + + [0,13] + 396 + + + [1,0] + 0 + + + [1,1] + 31 + + + [1,2] + 60 + + + [1,3] + 91 + + + [1,4] + 121 + + + [1,5] + 152 + + + [1,6] + 182 + + + [1,7] + 213 + + + [1,8] + 244 + + + [1,9] + 274 + + + [1,10] + 305 + + + [1,11] + 335 + + + [1,12] + 366 + + + [1,13] + 397 + + + + + TcVarGlobal + + + 4255184 + + + Global_Variables.SYSTEMTIME_DATEDELTA_OFFSET + Number of past days since year zero until 1 January 1601 + 32 + DWORD + + 584389 + + + + TcVarGlobal + + + 4255648 + + + Global_Variables.SYSTEMTIME_TICKSPERMSEC + Number of 100ns ticks per millisecond + 64 + T_ULARGE_INTEGER + + + .dwHighPart + 0 + + + .dwLowPart + 10000 + + + + + TcVarGlobal + + + 4255680 + + + Global_Variables.SYSTEMTIME_TICKSPERSEC + Number of 100ns ticks per second + 64 + T_ULARGE_INTEGER + + + .dwHighPart + 0 + + + .dwLowPart + 10000000 + + + + + TcVarGlobal + + + 4255744 + + + Global_Variables.SYSTEMTIME_TICKSPERDAY + Number of 100ns ticks per day + 64 + T_ULARGE_INTEGER + + + .dwHighPart + 201 + + + .dwLowPart + 711573504 + + + + + TcVarGlobal + + + 4255808 + + + Global_Variables.SYSTEMTIME_DATE_AND_TIME_MIN + Min. DT value as file time DT#1970-01-01-00:00:00 + 64 + T_ULARGE_INTEGER + + + .dwHighPart + 27111902 + + + .dwLowPart + 3577643008 + + + + + TcVarGlobal + + + 4255872 + + + Global_Variables.SYSTEMTIME_DATE_AND_TIME_MAX + Max. DT value as file time DT#2106-02-06-06:28:15 + 64 + T_ULARGE_INTEGER + + + .dwHighPart + 37111701 + + + .dwLowPart + 2856069504 + + + + + TcVarGlobal + + + 4255936 + + + Global_Variables.SYSTEMTIME_TICKSPERMSEC64 + Number of 100ns ticks per millisecond + 64 + ULINT + + 10000 + + + + TcVarGlobal + + + 4256000 + + + Global_Variables.SYSTEMTIME_TICKSPERSEC64 + Number of 100ns ticks per second + 64 + ULINT + + 10000000 + + + + TcVarGlobal + + + 4256064 + + + Global_Variables.SYSTEMTIME_TICKSPERDAY64 + Number of 100ns ticks per day + 64 + ULINT + + 864000000000 + + + + TcVarGlobal + + + 4256128 + + + Global_Variables.SYSTEMTIME_DATE_AND_TIME_MIN64 + Min. DT value as file time DT#1970-01-01-00:00:00 + 64 + ULINT + + 116444736000000000 + + + + TcVarGlobal + + + 4256192 + + + Global_Variables.SYSTEMTIME_DATE_AND_TIME_MAX64 + Max. DT value as file time DT#2106-02-06-06:28:15 + 64 + ULINT + + 159393544950000000 + + + + TcVarGlobal + + + 4256256 + + + Global_Variables.WEST_EUROPE_TZI + 864 + ST_TimeZoneInformation + + + .bias + -60 + + + .standardName + W. Europe Standard Time + + + .standardDate.wYear + 0 + + + .standardDate.wMonth + 10 + + + .standardDate.wDayOfWeek + 0 + + + .standardDate.wDay + 5 + + + .standardDate.wHour + 3 + + + .standardBias + 0 + + + .daylightName + W. Europe Daylight Time + + + .daylightDate.wYear + 0 + + + .daylightDate.wMonth + 3 + + + .daylightDate.wDayOfWeek + 0 + + + .daylightDate.wDay + 5 + + + .daylightDate.wHour + 2 + + + .daylightBias + -60 + + + + + TcVarGlobal + + + 4256320 + + + Global_Variables.DATE_AND_TIME_SECPERDAY + Number of seconds per day + 32 + DWORD + + 86400 + + + + TcVarGlobal + + + 4261280 + + + Global_Variables.DATE_AND_TIME_SECPERWEEK + Number of seconds per week + 32 + DWORD + + 604800 + + + + TcVarGlobal + + + 4261312 + + + Global_Variables.DBG_OUTPUT_NONE + Disabled (no debug oputput) + 32 + DWORD + + 0 + + + + TcVarGlobal + + + 4267520 + + + Global_Variables.DBG_OUTPUT_LOG + Enabled, TwinCAT System Manager Log + 32 + DWORD + + 1 + + + + TcVarGlobal + + + 4267552 + + + Global_Variables.DBG_OUTPUT_FILE + Enabled, text file + 32 + DWORD + + 2 + + + + TcVarGlobal + + + 4267584 + + + Global_Variables.DBG_OUTPUT_VISU + reserved + 32 + DWORD + + 4 + + + + TcVarGlobal + + + 4267616 + + + Global_Variables.DEFAULT_CSV_FIELD_DOUBLE_QUOTE + CSV separator constant: double-quote (") => used to enclose special characters like line breaks, double-quotes, commas... + 8 + BYTE + + 34 + + + + TcVarGlobal + + + 4383856 + + + Global_Variables.DEFAULT_CSV_RECORD_SEP_CR + CSV separator constant: cariage return => record separator (first character) + 8 + BYTE + + 13 + + + + TcVarGlobal + + + 4383864 + + + Global_Variables.DEFAULT_CSV_RECORD_SEP_LF + CSV separator constant: line feed => record separator (second character) + 8 + BYTE + + 10 + + + + TcVarGlobal + + + 4384816 + + + Global_Variables.ASCII_STX + 8 + BYTE + + 2 + + + + TcVarGlobal + + + 4386536 + + + Global_Variables.EMPTY_GUID_STRUCT + 128 + GUID + + + .Data1 + 0 + + + .Data2 + 0 + + + .Data3 + 0 + + + .Data4[0] + 0 + + + .Data4[1] + 0 + + + .Data4[2] + 0 + + + .Data4[3] + 0 + + + .Data4[4] + 0 + + + .Data4[5] + 0 + + + .Data4[6] + 0 + + + .Data4[7] + 0 + + + + + TcVarGlobal + + + 4386560 + + + Global_Variables.EMPTY_GUID_STRING + 296 + STRING(36) + + 00000000-0000-0000-0000-000000000000 + + + + TcVarGlobal + + + 4386688 + + + Global_Variables.EMPTY_GUID_REGSTRING + 312 + STRING(38) + + {00000000-0000-0000-0000-000000000000} + + + + TcVarGlobal + + + 4386984 + + + Global_Version.stLibVersion_Tc2_IoFunctions + 288 + ST_LibVersion + + + .iMajor + 3 + + + .iMinor + 3 + + + .iBuild + 13 + + + .iRevision + 0 + + + .nFlags + 0 + + + .sVersion + 3.3.13.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 4387392 + + + Global_Version.stLibVersion_Tc2_ModbusSrv + 288 + ST_LibVersion + + + .iMajor + 3 + + + .iMinor + 3 + + + .iBuild + 2 + + + .iRevision + 0 + + + .sVersion + 3.3.2.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 4387680 + + + Global_Version.stLibVersion_Tc2_SerialCom + 288 + ST_LibVersion + + + .iMajor + 3 + + + .iMinor + 3 + + + .iBuild + 7 + + + .iRevision + 0 + + + .nFlags + 0 + + + .sVersion + 3.3.7.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 4387968 + + + Global_Variables.COMERRORADS_INVALID_COMPORT + constants for error codes returned as nErrorID output of SerialLineControlADS + invalid input parameters + 32 + UDINT + + 36865 + + + + TcVarGlobal + + + 4388256 + + + Global_Variables.COMERRORADS_INVALID_CMD + 32 + UDINT + + 36866 + + + + TcVarGlobal + + + 4388288 + + + Global_Variables.COMERRORADS_INVALID_DATAPOINTER + 32 + UDINT + + 36867 + + + + TcVarGlobal + + + 4388320 + + + Global_Variables.COMERRORADS_INVALID_CFGSTLEN + 32 + UDINT + + 36881 + + + + TcVarGlobal + + + 4388352 + + + Global_Variables.COMERRORADS_INVALID_CFGSTVER + unknown configuration structure version + 32 + UDINT + + 36882 + + + + TcVarGlobal + + + 4388384 + + + Global_Variables.COMERRORADS_INVALID_TL + invalid TraceLevel + 32 + UDINT + + 36883 + + + + TcVarGlobal + + + 4388416 + + + Global_Variables.COMERRORADS_INVALID_BAUDRATE + 32 + UDINT + + 36897 + + + + TcVarGlobal + + + 4388448 + + + Global_Variables.COMERRORADS_INVALID_PARITY + 32 + UDINT + + 36898 + + + + TcVarGlobal + + + 4388480 + + + Global_Variables.COMERRORADS_INVALID_DATABITS + 32 + UDINT + + 36899 + + + + TcVarGlobal + + + 4388512 + + + Global_Variables.COMERRORADS_INVALID_STOPBITS + 32 + UDINT + + 36900 + + + + TcVarGlobal + + + 4388544 + + + Global_Variables.COMERRORADS_INVALID_DTR_CTRL + 32 + UDINT + + 36901 + + + + TcVarGlobal + + + 4388576 + + + Global_Variables.COMERRORADS_INVALID_RTS_CTRL + 32 + UDINT + + 36902 + + + + TcVarGlobal + + + 4388608 + + + Global_Variables.COMERRORADS_INVALID_CTS_OUTCTRL + 32 + UDINT + + 36903 + + + + TcVarGlobal + + + 4388640 + + + Global_Variables.COMERRORADS_INVALID_DSR_OUTCTRL + 32 + UDINT + + 36904 + + + + TcVarGlobal + + + 4388672 + + + Global_Variables.COMERRORADS_INVALID_DSR_SENS + 32 + UDINT + + 36905 + + + + TcVarGlobal + + + 4388704 + + + Global_Variables.COMERRORADS_NOT_INIT + Specific Error Codes + 32 + UDINT + + 36913 + + + + TcVarGlobal + + + 4388736 + + + Global_Variables.COMERRORADS_RD_BUFFER_OVERRUN + 32 + UDINT + + 36914 + + + + TcVarGlobal + + + 4388768 + + + Global_Variables.COMERRORADS_PORT_CONNECTED + port already opened by the server + 32 + UDINT + + 36915 + + + + TcVarGlobal + + + 4388800 + + + Global_Variables.COMERRORADS_PORT_NOT_CONNECTED + port not yet opened by the server + 32 + UDINT + + 36916 + + + + TcVarGlobal + + + 4388832 + + + Global_Variables.COMERRORADS_RD_THREAD_TIMEOUT + 32 + UDINT + + 36917 + + + + TcVarGlobal + + + 4388864 + + + Global_Variables.COMERRORADS_WR_THREAD_TIMEOUT + 32 + UDINT + + 36918 + + + + TcVarGlobal + + + 4388896 + + + Global_Variables.COMERRORADS_RD_FAILURE + 32 + UDINT + + 36919 + + + + TcVarGlobal + + + 4388928 + + + Global_Variables.COMERRORADS_WR_FAILURE + 32 + UDINT + + 36920 + + + + TcVarGlobal + + + 4388960 + + + Global_Variables.COMERRORADS_SERVER_INCOMPATIBLE + server version incompatible + 32 + UDINT + + 37121 + + + + TcVarGlobal + + + 4388992 + + + Global_Variables.ASCII_ETX + 8 + BYTE + + 3 + + + + TcVarGlobal + + + 4389528 + + + Global_Variables.ASCII_DLE + 8 + BYTE + + 16 + + + + TcVarGlobal + + + 4389536 + + + Global_Variables.ASCII_NAK + 8 + BYTE + + 21 + + + + TcVarGlobal + + + 4389544 + + + Global_Variables.MAX_RETRIES + 16 + INT + + 5 + + + + TcVarGlobal + + + 4389552 + + + Global_Variables.TIMEOUT_ZVZ + maximale Zeichenverzugszeit + 32 + TIME + + 220 + + + + TcVarGlobal + + + 4389568 + + + Global_Variables.TIMEOUT_QVZ + maximale Quittungsverzugszeit + 32 + TIME + + 2000 + + + + TcVarGlobal + + + 4389600 + + + Global_Variables.TIMEOUT_WVZ + maximale Wiederholungsverzugszeit + 32 + TIME + + 4000 + + + + TcVarGlobal + + + 4389632 + + + Global_Constants.EMPTY_EVENT_CLASS + 128 + GUID + + + .Data1 + 0 + + + .Data2 + 0 + + + .Data3 + 0 + + + .Data4[0] + 0 + + + .Data4[1] + 0 + + + .Data4[2] + 0 + + + .Data4[3] + 0 + + + .Data4[4] + 0 + + + .Data4[5] + 0 + + + .Data4[6] + 0 + + + .Data4[7] + 0 + + + + + TcVarGlobal + + + 4389664 + + + Global_Constants.EMPTY_EVENT_ID + 32 + UDINT + + 0 + + + + TcVarGlobal + + + 4389792 + + + Global_Constants.EMPTY_SEVERITY + 16 + TcEventSeverity + + 0 + + + + TcVarGlobal + + + 4389824 + + + Global_Variables.AMSPORT_TCPIPSRV + 16 + UINT + + 10201 + + + + TcVarGlobal + + + 4389840 + + + Global_Constants.SUCCESS_EVENT + 192 + TcEventEntry + + + .uuidEventClass.Data1 + 0 + + + .uuidEventClass.Data2 + 0 + + + .uuidEventClass.Data3 + 0 + + + .uuidEventClass.Data4[0] + 0 + + + .uuidEventClass.Data4[1] + 0 + + + .uuidEventClass.Data4[2] + 0 + + + .uuidEventClass.Data4[3] + 0 + + + .uuidEventClass.Data4[4] + 0 + + + .uuidEventClass.Data4[5] + 0 + + + .uuidEventClass.Data4[6] + 0 + + + .uuidEventClass.Data4[7] + 0 + + + .nEventID + 0 + + + .eSeverity + 0 + + + + + TcVarGlobal + + + 4389856 + + + GVL.nLangId_OnlineMonitoring + language id for online monitoring; English(US)=1033 ; German(Germany)=1031 + 32 + DINT + + 1033 + + + + TcVarGlobal + + + 4390048 + + + ParameterList.cSourceNameSize + size [bytes] for source names (recommended is a size between 128 and 512) + 32 + UDINT + + 256 + + + + LowerBorder + 81 + + + UpperBorder + 10000 + + + TcVarGlobal + + + 4390080 + + + Global_Version.stLibVersion_Tc3_EventLogger + 288 + ST_LibVersion + + + .iMajor + 3 + + + .iMinor + 1 + + + .iBuild + 33 + + + .iRevision + 0 + + + .nFlags + 1 + + + .sVersion + 3.1.33.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 4390112 + + + GVL_INTERNAL.UNINITIALIZED_CLASS_GUID + {E7A4B1E0-F4CF-4733-95D5-73DF084B60F8} + 128 + GUID + + + .Data1 + 3886330336 + + + .Data2 + 62671 + + + .Data3 + 18227 + + + .Data4[0] + 149 + + + .Data4[1] + 213 + + + .Data4[2] + 115 + + + .Data4[3] + 223 + + + .Data4[4] + 8 + + + .Data4[5] + 75 + + + .Data4[6] + 96 + + + .Data4[7] + 248 + + + + + TcVarGlobal + + + 4390400 + + + .TCPADS_MAXUDP_BUFFSIZE + 32 + UDINT + + 8192 + + + + TcVarGlobal + + + 4390528 + + + Global_Variables.TCPADS_IGR_CONLIST + 32 + UDINT + + 2147483649 + + + + TcVarGlobal + + + 4390560 + + + Global_Variables.TCPADS_IGR_CLOSEBYHDL + 32 + UDINT + + 2147483650 + + + + TcVarGlobal + + + 4390592 + + + Global_Variables.TCPADS_IGR_SENDBYHDL + 32 + UDINT + + 2147483651 + + + + TcVarGlobal + + + 4390624 + + + Global_Variables.TCPADS_IGR_PEERBYHDL + 32 + UDINT + + 2147483652 + + + + TcVarGlobal + + + 4390656 + + + Global_Variables.TCPADS_IGR_RECVBYHDL + 32 + UDINT + + 2147483653 + + + + TcVarGlobal + + + 4390688 + + + Global_Variables.TCPADS_IGR_RECVFROMBYHDL + 32 + UDINT + + 2147483654 + + + + TcVarGlobal + + + 4390720 + + + Global_Variables.TCPADS_IGR_SENDTOBYHDL + 32 + UDINT + + 2147483655 + + + + TcVarGlobal + + + 4390752 + + + Global_Variables.TCPADS_IGR_MULTICAST_ADDBYHDL + 32 + UDINT + + 2147483656 + + + + TcVarGlobal + + + 4390784 + + + Global_Variables.TCPADS_IGR_MULTICAST_DROPBYHDL + 32 + UDINT + + 2147483657 + + + + TcVarGlobal + + + 4390816 + + + Global_Variables.TCPADS_IGR_ADAPTER_LINKSTATUS + 32 + UDINT + + 2147483658 + + + + TcVarGlobal + + + 4390848 + + + Global_Variables.TCPADSCONLST_IOF_CONNECT + 32 + UDINT + + 1 + + + + TcVarGlobal + + + 4390880 + + + Global_Variables.TCPADSCONLST_IOF_LISTEN + 32 + UDINT + + 2 + + + + TcVarGlobal + + + 4390912 + + + Global_Variables.TCPADSCONLST_IOF_CLOSEALL + 32 + UDINT + + 3 + + + + TcVarGlobal + + + 4390944 + + + Global_Variables.TCPADSCONLST_IOF_ACCEPT + 32 + UDINT + + 4 + + + + TcVarGlobal + + + 4390976 + + + Global_Variables.TCPADSCONLST_IOF_UDPBIND + 32 + UDINT + + 5 + + + + TcVarGlobal + + + 4391008 + + + Global_Variables.TCPADSCONLST_IOF_GETHNDLBYADDR + 32 + UDINT + + 6 + + + + TcVarGlobal + + + 4391040 + + + Global_Variables.TCPADSCONLST_IOF_GETLINKSTATUS + 32 + UDINT + + 7 + + + + TcVarGlobal + + + 4391072 + + + Global_Variables.TCPADS_NULL_HSOCKET + Empty (not initialized) socket + 352 + T_HSOCKET + + + .handle + 0 + + + .remoteAddr.nPort + 0 + + + .remoteAddr.sAddr + + + + .localAddr.nPort + 0 + + + .localAddr.sAddr + + + + + + TcVarGlobal + + + 4391104 + + + Global_Variables.LISTEN_MODE_CLOSEALL + FORCED close of all previous opened sockets + 32 + DWORD + + 1 + + + + TcVarGlobal + + + 4391456 + + + Global_Variables.LISTEN_MODE_USEOPENED + Try to use allready opened listener socket + 32 + DWORD + + 2 + + + + TcVarGlobal + + + 4391488 + + + Global_Variables.CONNECT_MODE_ENABLEDBG + Enables/Disables debugging messages + 32 + DWORD + + 2147483648 + + + + TcVarGlobal + + + 4391520 + + + Global_Variables.MAX_THROTTLE_MODE + 32 + DWORD + + 12 + + + + TcVarGlobal + + + 4391552 + + + Global_Variables.THROTTLE_MODE_OFF + 416 + T_ThrottleTimes + + + [0] + 0 + + + [1] + 0 + + + [2] + 0 + + + [3] + 0 + + + [4] + 0 + + + [5] + 0 + + + [6] + 0 + + + [7] + 0 + + + [8] + 0 + + + [9] + 0 + + + [10] + 0 + + + [11] + 0 + + + [12] + 0 + + + + + TcVarGlobal + + + 4391584 + + + Global_Variables.THROTTLE_MODE_DEFAULT + 416 + T_ThrottleTimes + + + [0] + 0 + + + [1] + 10 + + + [2] + 20 + + + [3] + 40 + + + [4] + 60 + + + [5] + 80 + + + [6] + 100 + + + [7] + 200 + + + [8] + 400 + + + [9] + 600 + + + [10] + 800 + + + [11] + 1000 + + + [12] + 2000 + + + + + TcVarGlobal + + + 4392000 + + + Global_Version.stLibVersion_Tc3_JsonXml + 288 + ST_LibVersion + + + .iMajor + 3 + + + .iMinor + 3 + + + .iBuild + 18 + + + .iRevision + 0 + + + .nFlags + 1 + + + .sVersion + 3.3.18.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 4392416 + + + GVL_Param_TcUnit.MaxNumberOfTestSuites + 16 + UINT + + 500 + + + + TcVarGlobal + + + 4392704 + + + GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite + 16 + UINT + + 100 + + + + TcVarGlobal + + + 4392720 + + + GVL_Param_TcUnit.MaxNumberOfAsserts + 16 + UINT + + 500 + + + + TcVarGlobal + + + 4392736 + + + GVL_TcUnit.TestSuiteIsRegistered + Indication of whether the last instantiated test suite has an assert instance created + 8 + BOOL + + + TcVarGlobal + + + 4392752 + + + GVL_TcUnit.CurrentTestIsFinished + Whether or not the current test being called has finished running + 8 + BOOL + + + TcVarGlobal + + + 4392760 + + + GVL_TcUnit.TcUnitRunner + 512 + FB_TcUnitRunner + + + TcVarGlobal + + + 4392768 + + + GVL_TcUnit.CurrentTestSuiteBeingCalled + Pointer to current test suite being called + 32 + FB_TestSuite + + + TcVarGlobal + + + 4393280 + + + GVL_TcUnit.CurrentTestNameBeingCalled + Current name of test being called + 2048 + T_MaxString + + + TcVarGlobal + + + 4393312 + + + GVL_TcUnit.IgnoreCurrentTest + This is a flag that indicates that the current test should be ignored, and thus that all assertions under it should be ignored as well. A test can be ignored either - because the user has requested so, or because the test is a duplicate name ]]>8BOOLTcVarGlobal4395360GVL_Param_TcUnit.LogExtendedResults + 8 + BOOL + + + TcVarGlobal + + + 4395360 + + + GVL_Param_TcUnit.LogExtendedResults + TcUnit logs complete test results. These include: - Number of test suites - Number of tests - Number of successful tests - Number of failed tests - - Any eventual failed assertion (with the expected & actual value plus an user defined message) + - Any eventual failed assertion (with the expected & actual value plus an user defined message) These are all printed to the ADS logger (Visual Studio error list) marked with ERROR criticality On top of this TcUnit also reports some statistics/extended information with HINT/INFO criticality. These statistics are more detailed results of the tests. This information is used when results are being collected by an external software (such as TcUnit-Runner) to do for example Jenkins integration. This extra information however takes time to print, so by setting the following parameter to FALSE - it will speed up TcUnit finishing. ]]>8BOOL1TcVarGlobal4395368GVL_TcUnit.NumberOfInitializedTestSuites16UINT0TcVarGlobal4395376GVL_TcUnit.TestSuiteAddresses16000FB_TestSuite1500TcVarGlobal4395392GVL_TcUnit.AdsLogger4128864FB_ADSLogStringMessageFifoQueueTcVarGlobal4411392Global_Version.stLibVersion_TcUnit288ST_LibVersion.iMajor1.iMinor0.iBuild1.iRevision0.sVersion1.0.1.0const_non_replacedTcVarGlobal8540256MOTION_GVL.fbPmpsFileReader928512FB_JsonFileToJsonDocTcVarGlobal8540544MOTION_GVL.fbStandardPMPSDB27744FB_Standard_PMPSDBpytmc + it will speed up TcUnit finishing. + 8 + BOOL + + 1 + + + + TcVarGlobal + + + 4395368 + + + GVL_TcUnit.NumberOfInitializedTestSuites + The assert function block instance should be 1:1 mapped to + the test suite instance path. + 16 + UINT + + 0 + + + + TcVarGlobal + + + 4395376 + + + GVL_TcUnit.TestSuiteAddresses + 16000 + FB_TestSuite + + 1 + 500 + + + + TcVarGlobal + + + 4395392 + + + GVL_TcUnit.AdsLogger + Buffered ADS logger for output to the error list + 4128864 + FB_ADSLogStringMessageFifoQueue + + + TcVarGlobal + + + 4411392 + + + Global_Version.stLibVersion_TcUnit + 288 + ST_LibVersion + + + .iMajor + 1 + + + .iMinor + 0 + + + .iBuild + 1 + + + .iRevision + 0 + + + .sVersion + 1.0.1.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 8540256 + + + MOTION_GVL.fbPmpsFileReader + 928512 + FB_JsonFileToJsonDoc + + + TcVarGlobal + + + 8540544 + + + MOTION_GVL.fbStandardPMPSDB + 27744 + FB_Standard_PMPSDB + + + pytmc + pv: @(PREFIX)DB io: io - TcVarGlobal9469056PMPS_GVL.stRequestedBeamParameters1760ST_BeamParamspytmc + + + + TcVarGlobal + + + 9469056 + + + PMPS_GVL.stRequestedBeamParameters + Summarized request for the line, as recognized by the line arbiter PLC + 1760 + ST_BeamParams + + + pytmc + pv: @(PREFIX)RequestedBP io: i archive: 1Hz monitor - TcVarGlobal9496800PMPS_GVL.stCurrentBeamParameters1760ST_BeamParamspytmc + + + + TcVarGlobal + + + 9496800 + + + PMPS_GVL.stCurrentBeamParameters + Currently active BP set, broadcast by the line arbiter PLC + 1760 + ST_BeamParams + + + pytmc + pv: @(PREFIX)CurrentBP io: i archive: 1Hz monitor - TcVarGlobal9498560PMPS_GVL.g_areVBoundaries1024REAL032pytmc + + + + TcVarGlobal + + + 9498560 + + + PMPS_GVL.g_areVBoundaries + 1024 + REAL + + 0 + 32 + + + + pytmc + pv: @(PREFIX)eVRangeCnst io: i archive: 1Hz monitor field: DESC Active eV Range constants field: EGU eV - TcVarGlobal9500320PMPS_GVL.PERange32PE_RangesTcVarGlobal9501344PMPS_GVL.EXCLUDED_ASSERTION_ID32UDINT4294967295TcVarGlobal9501376PMPS_GVL.MAX_DEVICE_STATES32UDINT300TcVarGlobal9501408PMPS_GVL.VISIBLE_TEST_VELOCITY64LREAL10TcVarGlobal9501440PMPS_GVL.FAST_TEST_VELOCITY64LREAL100TcVarGlobal9501504PMPS_GVL.TRANS_SCALING_FACTOR32REAL1TcVarGlobal9501568PMPS_GVL.AUX_ATTENUATORS16UINT16TcVarGlobal9501600PMPS_GVL.MAX_VETO_DEVICES16UINT16TcVarGlobal9501616PMPS_GVL.stAttenuators64ST_PMPS_Attenuator.nTran1.xAttOK1TcVarGlobal9501632PMPS_GVL.cstFullBeam1760ST_BeamParamspytmc + + + + TcVarGlobal + + + 9500320 + + + PMPS_GVL.PERange + Included to place the ev ranges properly + 32 + PE_Ranges + + + TcVarGlobal + + + 9501344 + + + PMPS_GVL.EXCLUDED_ASSERTION_ID + An assertion ID that should always return "not found" in the assertion pool + 32 + UDINT + + 4294967295 + + + + TcVarGlobal + + + 9501376 + + + PMPS_GVL.MAX_DEVICE_STATES + 32 + UDINT + + 300 + + + + TcVarGlobal + + + 9501408 + + + PMPS_GVL.VISIBLE_TEST_VELOCITY + 64 + LREAL + + 10 + + + + TcVarGlobal + + + 9501440 + + + PMPS_GVL.FAST_TEST_VELOCITY + 64 + LREAL + + 100 + + + + TcVarGlobal + + + 9501504 + + + PMPS_GVL.TRANS_SCALING_FACTOR + Scaling factor for fixed-point transmission + 32 + REAL + + 1 + + + + TcVarGlobal + + + 9501568 + + + PMPS_GVL.AUX_ATTENUATORS + Maximum # of attenuators in the PMPS + 16 + UINT + + 16 + + + + TcVarGlobal + + + 9501600 + + + PMPS_GVL.MAX_VETO_DEVICES + 16 + UINT + + 16 + + + + TcVarGlobal + + + 9501616 + + + PMPS_GVL.stAttenuators + 64 + ST_PMPS_Attenuator + + + .nTran + 1 + + + .xAttOK + 1 + + + + + TcVarGlobal + + + 9501632 + + + PMPS_GVL.cstFullBeam + 1760 + ST_BeamParams + + + pytmc + pv: @(PREFIX)FullBeamCnst io: i archive: 1Hz monitor field: DESC Full beam constant - TcVarGlobal9501696PMPS_GVL.cst0RateBeam1760ST_BeamParamspytmc + + + + TcVarGlobal + + + 9501696 + + + PMPS_GVL.cst0RateBeam + 1760 + ST_BeamParams + + + pytmc + pv: @(PREFIX)0RateBeamCnst io: i archive: 1Hz monitor field: DESC 0-rate beam constant - TcVarGlobal9503456PMPS_GVL.cnMaxStateArrayLen + + + TcVarGlobal + + + 9503456 + + + PMPS_GVL.cnMaxStateArrayLen + {attribute 'pytmc' := ' pv: @(PREFIX)SafeBeamCnst io: i archive: 1Hz monitor @@ -1874,433 +68109,4795 @@ The BPTM will throw an error if the arbiter does not have enough space for the t nTran := 0, neVRange := 0, nRate := 0 - );]]>16INT20TcVarGlobal9505216PMPS_GVL.MAX_APERTURES16UINT4TcVarGlobal9505232PMPS_GVL.DUMMY_AUX_ATT_ARRAY1024ST_PMPS_Attenuator116suppress_warning_0C0228TcVarGlobal9505248PMPS_GVL.g_cBoundaries16INT31TcVarGlobal9506272PMPS_PARAM.MAX_FAST_FAULTS16UINT50TcVarGlobal9506288PMPS_GVL.reVHyst + 16 + INT + + 20 + + + + TcVarGlobal + + + 9505216 + + + PMPS_GVL.MAX_APERTURES + Maximum # of power slits in the PMPS + 16 + UINT + + 4 + + + + TcVarGlobal + + + 9505232 + + + PMPS_GVL.DUMMY_AUX_ATT_ARRAY + 1024 + ST_PMPS_Attenuator + + 1 + 16 + + + + suppress_warning_0 + C0228 + + + TcVarGlobal + + + 9505248 + + + PMPS_GVL.g_cBoundaries + 16 + INT + + 31 + + + + TcVarGlobal + + + 9506272 + + + PMPS_PARAM.MAX_FAST_FAULTS + Max fast faults for an FFO + 16 + UINT + + 50 + + + + TcVarGlobal + + + 9506288 + + + PMPS_GVL.reVHyst + /////////////////////// /////////////////////// -//////////////////////////////////// ]]>32REAL5pytmc +//////////////////////////////////// + 32 + REAL + + 5 + + + + pytmc + pv: @(PREFIX)eVRangeHyst io: i archive: 1Hz monitor field: DESC eV Range hystersis field: EGU eV - TcVarGlobal9506304PMPS_GVL.g_areVBoundariesL1024REAL032[0]1000[1]1700[2]2100[3]2500[4]3800[5]4000[6]5000[7]7000[8]7500[9]7700[10]8900[11]10000[12]11100[13]12000[14]13000[15]13500[16]14000[17]16900[18]18000[19]20000[20]22000[21]24000[22]25000[23]25500[24]26000[25]27000[26]28000[27]28500[28]29000[29]30000[30]60000[31]90000pytmc + + + + TcVarGlobal + + + 9506304 + + + PMPS_GVL.g_areVBoundariesL + 1024 + REAL + + 0 + 32 + + + + [0] + 1000 + + + [1] + 1700 + + + [2] + 2100 + + + [3] + 2500 + + + [4] + 3800 + + + [5] + 4000 + + + [6] + 5000 + + + [7] + 7000 + + + [8] + 7500 + + + [9] + 7700 + + + [10] + 8900 + + + [11] + 10000 + + + [12] + 11100 + + + [13] + 12000 + + + [14] + 13000 + + + [15] + 13500 + + + [16] + 14000 + + + [17] + 16900 + + + [18] + 18000 + + + [19] + 20000 + + + [20] + 22000 + + + [21] + 24000 + + + [22] + 25000 + + + [23] + 25500 + + + [24] + 26000 + + + [25] + 27000 + + + [26] + 28000 + + + [27] + 28500 + + + [28] + 29000 + + + [29] + 30000 + + + [30] + 60000 + + + [31] + 90000 + + + + + pytmc + pv: @(PREFIX)L:eVRangeCnst io: i archive: 1Hz monitor field: DESC eV Range constants field: EGU eV - TcVarGlobal9506336PMPS_GVL.g_areVBoundariesK1024REAL032[0]100[1]250[2]270[3]350[4]400[5]450[6]480[7]530[8]680[9]730[10]850[11]1100[12]1150[13]1250[14]1450[15]1500[16]1550[17]1650[18]1700[19]1750[20]1820[21]1850[22]2000[23]2200[24]2500[25]2800[26]3000[27]3150[28]3500[29]4000[30]5300[31]7000pytmc + + + + TcVarGlobal + + + 9506336 + + + PMPS_GVL.g_areVBoundariesK + 1024 + REAL + + 0 + 32 + + + + [0] + 100 + + + [1] + 250 + + + [2] + 270 + + + [3] + 350 + + + [4] + 400 + + + [5] + 450 + + + [6] + 480 + + + [7] + 530 + + + [8] + 680 + + + [9] + 730 + + + [10] + 850 + + + [11] + 1100 + + + [12] + 1150 + + + [13] + 1250 + + + [14] + 1450 + + + [15] + 1500 + + + [16] + 1550 + + + [17] + 1650 + + + [18] + 1700 + + + [19] + 1750 + + + [20] + 1820 + + + [21] + 1850 + + + [22] + 2000 + + + [23] + 2200 + + + [24] + 2500 + + + [25] + 2800 + + + [26] + 3000 + + + [27] + 3150 + + + [28] + 3500 + + + [29] + 4000 + + + [30] + 5300 + + + [31] + 7000 + + + + + pytmc + pv: @(PREFIX)K:eVRangeCnst io: i archive: 1Hz monitor field: DESC eV Range constants field: EGU eV - TcVarGlobal9507360PMPS_PARAM.MAX_ASSERTIONS32UDINT20TcVarGlobal9508384PMPS_PARAM.TRANS_MARGIN32REAL0.05TcVarGlobal9508416PMPS_TOOLS.fbJson256FB_JsonSaxWriterTcVarGlobal9508448GVL_Param_TcUnit.MaxNumberOfTestSuites16UINT1000TcVarGlobal9508704GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite16UINT100TcVarGlobal9508720GVL_Param_TcUnit.MaxNumberOfAssertsForEachTestSuite16UINT1000TcVarGlobal9508736GVL_Param_TcUnit.xUnitEnablePublish8BOOL0TcVarGlobal9508752GVL_TcUnit.TestSuiteIsRegistered8BOOLTcVarGlobal9508760GVL_Param_TcUnit.xUnitBufferSize32UDINT65535TcVarGlobal9508768GVL_Param_TcUnit.xUnitFilePath2048T_MaxStringC:\tcunit_xunit_testresults.xmlTcVarGlobal9508800GVL_Param_TcUnit.AdsLogMessageFifoRingBufferSize + + + TcVarGlobal + + + 9507360 + + + PMPS_PARAM.MAX_ASSERTIONS + Maximum number of BP requests in the arbiter + 32 + UDINT + + 20 + + + + TcVarGlobal + + + 9508384 + + + PMPS_PARAM.TRANS_MARGIN + Allowed % margin above requested transmission level in SafeBPCompare (0.0500 = 5deci% default). Note: change this value if scaling factor changes. + 32 + REAL + + 0.05 + + + + TcVarGlobal + + + 9508416 + + + PMPS_TOOLS.fbJson + 256 + FB_JsonSaxWriter + + + TcVarGlobal + + + 9508448 + + + GVL_Param_TcUnit.MaxNumberOfTestSuites + 16 + UINT + + 1000 + + + + TcVarGlobal + + + 9508704 + + + GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite + 16 + UINT + + 100 + + + + TcVarGlobal + + + 9508720 + + + GVL_Param_TcUnit.MaxNumberOfAssertsForEachTestSuite + 16 + UINT + + 1000 + + + + TcVarGlobal + + + 9508736 + + + GVL_Param_TcUnit.xUnitEnablePublish + Enable (TRUE) or disable (FALSE) publishing of the xUnit Xml report + 8 + BOOL + + 0 + + + + TcVarGlobal + + + 9508752 + + + GVL_TcUnit.TestSuiteIsRegistered + Indication of whether the last instantiated test suite has an assert instance created + 8 + BOOL + + + TcVarGlobal + + + 9508760 + + + GVL_Param_TcUnit.xUnitBufferSize + Default reserved PLC memory buffer used for composition of the xUnit xml file (64 kb default) + 32 + UDINT + + 65535 + + + + TcVarGlobal + + + 9508768 + + + GVL_Param_TcUnit.xUnitFilePath + Default path and filename for the xunit testresults e.g.: for use with jenkins + 2048 + T_MaxString + + C:\tcunit_xunit_testresults.xml + + + + TcVarGlobal + + + 9508800 + + + GVL_Param_TcUnit.AdsLogMessageFifoRingBufferSize + This is the maximum number of ADS-messages that can be stored for reporting at the same time. Having a size of 2000 means that it's possible to report up to ~400 test cases in one single PLC cycle. Each entry consumes around 500 bytes, so with an example of a ring buffer size of - 2000 it means that TcUnit will consume around 1 MB of router memory. ]]>16UINT2000TcVarGlobal9510848GVL_TcUnit.CurrentTestIsFinished8BOOLTcVarGlobal9510864GVL_TcUnit.IgnoreCurrentTest + 16 + UINT + + 2000 + + + + TcVarGlobal + + + 9510848 + + + GVL_TcUnit.CurrentTestIsFinished + Whether or not the current test being called has finished running + 8 + BOOL + + + TcVarGlobal + + + 9510864 + + + GVL_TcUnit.IgnoreCurrentTest + This is a flag that indicates that the current test should be ignored, and thus that all assertions under it should be ignored as well. A test can be ignored either - because the user has requested so, or because the test is a duplicate name ]]>8BOOLTcVarGlobal9510872GVL_Param_TcUnit.TimeBetweenTestSuitesExecution32TIME0TcVarGlobal9510880GVL_TcUnit.TcUnitRunner621827200FB_TcUnitRunnerTcVarGlobal9510912GVL_TcUnit.CurrentTestSuiteBeingCalled32FB_TestSuiteTcVarGlobal631338112GVL_TcUnit.CurrentTestNameBeingCalled2048T_MaxStringTcVarGlobal631338144GVL_TcUnit.NumberOfInitializedTestSuites16UINT0TcVarGlobal631340192GVL_TcUnit.TestSuiteAddresses32000FB_TestSuite11000TcVarGlobal631340224GVL_TcUnit.CurrentlyRunningOrderedTestInTestSuite + 8 + BOOL + + + TcVarGlobal + + + 9510872 + + + GVL_Param_TcUnit.TimeBetweenTestSuitesExecution + Time delay between a test suite is finished and the execution of the next test suite starts + if using RUN_IN_SEQUENCE() + 32 + TIME + + 0 + + + + TcVarGlobal + + + 9510880 + + + GVL_TcUnit.TcUnitRunner + 621827200 + FB_TcUnitRunner + + + TcVarGlobal + + + 9510912 + + + GVL_TcUnit.CurrentTestSuiteBeingCalled + Pointer to current test suite being called + 32 + FB_TestSuite + + + TcVarGlobal + + + 631338112 + + + GVL_TcUnit.CurrentTestNameBeingCalled + Current name of test being called + 2048 + T_MaxString + + + TcVarGlobal + + + 631338144 + + + GVL_TcUnit.NumberOfInitializedTestSuites + The assert function block instance should be 1:1 mapped to + the test suite instance path. + 16 + UINT + + 0 + + + + TcVarGlobal + + + 631340192 + + + GVL_TcUnit.TestSuiteAddresses + 32000 + FB_TestSuite + + 1 + 1000 + + + + TcVarGlobal + + + 631340224 + + + GVL_TcUnit.CurrentlyRunningOrderedTestInTestSuite + If the user is utilizing the TEST_ORDERED(), we need to keep track of which ordered test is currently running. We do this by defining an array, in where we can see which current TEST_ORDERED() is the one to be handled right now. - The below array is only used for TEST_ORDERED()-tests. ]]>16000UINT11000LowerBorder1UpperBorder100TcVarGlobal631372224GVL_TcUnit.AdsMessageQueue8320864FB_AdsLogStringMessageFifoQueueTcVarGlobal631388224Global_Version.stLibVersion_TcUnit288ST_LibVersion.iMajor1.iMinor2.iBuild0.iRevision0.sVersion1.2.0.0const_non_replacedTcVarGlobal639709088Global_Version.stLibVersion_Tc2_MC2288ST_LibVersion.iMajor3.iMinor3.iBuild42.iRevision0.sVersion3.3.42.0const_non_replacedTcVarGlobal639709376Global_Variables.TcMcGlobal6976_TCMCGLOBALTcVarGlobal639709664GVL_Constants.cPiezoRange32REAL60TcVarGlobal639716640Global_Variables.DEFAULT_HOME_POSITION64LREAL1E+307TcVarGlobal639716672Global_Variables.DEFAULT_BACKLASHVALUE64LREAL1E+307TcVarGlobal639716736Global_Version.stLibVersion_Tc2_Math288ST_LibVersion.iMajor3.iMinor3.iBuild1.iRevision0.sVersion3.3.1.0const_non_replacedTcVarGlobal639716800GVL_Constants.nGANTRY_TOLERANCE_NM_DEFAULT64LINT50000TcVarGlobal639717120GVL_Constants.cPiezoMaxVoltage64LREAL120TcVarGlobal639717184GVL_Constants.cPiezoMinVoltage64LREAL-10TcVarGlobal639717248GVL_TestStructs.TestPitch_LimitSwitches2496HOMS_PitchMechanism.ReqPosLimHi2000.ReqPosLimLo-2000.diEncPosLimHi10768330.diEncPosLimLo8141680TcVarGlobal639717312Global_Version.stLibVersion_Tc2_ControllerToolbox288ST_LibVersion.iMajor3.iMinor4.iBuild3.iRevision0.nFlags0.sVersion3.4.3.0const_non_replacedTcVarGlobal639719808PiezoSerial.rtInitParams_M1K464R_TRIG639882368PiezoSerial.tonTimeoutRst_M1K4224TON.PT2000639882432Main.M121184DUT_MotionStage.sNameMR1K4-Coatings.fVelocity200.nEnableMode0.bPowerSelf0TcLinkTo.bLimitForwardEnable:=TIIB[EL7041-1000_M1K4_Yup]^STM Status^Status^Digital input 1; - .bLimitBackwardEnable:=TIIB[EL7041-1000_M1K4_Yup]^STM Status^Status^Digital input 2pytmc + The below array is only used for TEST_ORDERED()-tests. + 16000 + UINT + + 1 + 1000 + + + + LowerBorder + 1 + + + UpperBorder + 100 + + + TcVarGlobal + + + 631372224 + + + GVL_TcUnit.AdsMessageQueue + Buffered ADS message queue for output to the error list + 8320864 + FB_AdsLogStringMessageFifoQueue + + + TcVarGlobal + + + 631388224 + + + Global_Version.stLibVersion_TcUnit + 288 + ST_LibVersion + + + .iMajor + 1 + + + .iMinor + 2 + + + .iBuild + 0 + + + .iRevision + 0 + + + .sVersion + 1.2.0.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 639709088 + + + Global_Version.stLibVersion_Tc2_MC2 + 288 + ST_LibVersion + + + .iMajor + 3 + + + .iMinor + 3 + + + .iBuild + 42 + + + .iRevision + 0 + + + .sVersion + 3.3.42.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 639709376 + + + Global_Variables.TcMcGlobal + 6976 + _TCMCGLOBAL + + + TcVarGlobal + + + 639709664 + + + GVL_Constants.cPiezoRange + From Old HOMS_FEE Project, 90 um of piezo stroke, unsure what these units are + 32 + REAL + + 60 + + + + TcVarGlobal + + + 639716640 + + + Global_Variables.DEFAULT_HOME_POSITION + 64 + LREAL + + 1E+307 + + + + TcVarGlobal + + + 639716672 + + + Global_Variables.DEFAULT_BACKLASHVALUE + 64 + LREAL + + 1E+307 + + + + TcVarGlobal + + + 639716736 + + + Global_Version.stLibVersion_Tc2_Math + 288 + ST_LibVersion + + + .iMajor + 3 + + + .iMinor + 3 + + + .iBuild + 1 + + + .iRevision + 0 + + + .sVersion + 3.3.1.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 639716800 + + + GVL_Constants.nGANTRY_TOLERANCE_NM_DEFAULT + default gantry tolerance in encoder counts = nm + 64 + LINT + + 50000 + + + + TcVarGlobal + + + 639717120 + + + GVL_Constants.cPiezoMaxVoltage + in Volts + 64 + LREAL + + 120 + + + + TcVarGlobal + + + 639717184 + + + GVL_Constants.cPiezoMinVoltage + in Volts + 64 + LREAL + + -10 + + + + TcVarGlobal + + + 639717248 + + + GVL_TestStructs.TestPitch_LimitSwitches + 2496 + HOMS_PitchMechanism + + + .ReqPosLimHi + 2000 + + + .ReqPosLimLo + -2000 + + + .diEncPosLimHi + 10768330 + + + .diEncPosLimLo + 8141680 + + + + + TcVarGlobal + + + 639717312 + + + Global_Version.stLibVersion_Tc2_ControllerToolbox + 288 + ST_LibVersion + + + .iMajor + 3 + + + .iMinor + 4 + + + .iBuild + 3 + + + .iRevision + 0 + + + .nFlags + 0 + + + .sVersion + 3.4.3.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 639719808 + + + PiezoSerial.rtInitParams_M1K4 + 64 + R_TRIG + 639882368 + + + PiezoSerial.tonTimeoutRst_M1K4 + For timeout reset + 224 + TON + + + .PT + 2000 + + + 639882432 + + + Main.M1 + M1K4 Yup + 21184 + DUT_MotionStage + + + .sName + MR1K4-Coatings + + + .fVelocity + 200 + + + .nEnableMode + 0 + + + .bPowerSelf + 0 + + + + + TcLinkTo + .bLimitForwardEnable:=TIIB[EL7041-1000_M1K4_Yup]^STM Status^Status^Digital input 1; + .bLimitBackwardEnable:=TIIB[EL7041-1000_M1K4_Yup]^STM Status^Status^Digital input 2 + + + pytmc + pv: MR1K4:SOMS:MMS:YUP - 639894144Main.fbMotionStage_m1298304FB_MotionStage639915328Main.M221184DUT_MotionStage.fVelocity200.nEnableMode0.bPowerSelf1TcLinkTo.bLimitForwardEnable:=TIIB[EL7041-1000_M1K4_Ydwn]^STM Status^Status^Digital input 1; - .bLimitBackwardEnable:=TIIB[EL7041-1000_M1K4_Ydwn]^STM Status^Status^Digital input 2pytmc + + + + 639894144 + + + Main.fbMotionStage_m1 + 298304 + FB_MotionStage + 639915328 + + + Main.M2 + M1K4 Ydwn + 21184 + DUT_MotionStage + + + .fVelocity + 200 + + + .nEnableMode + 0 + + + .bPowerSelf + 1 + + + + + TcLinkTo + .bLimitForwardEnable:=TIIB[EL7041-1000_M1K4_Ydwn]^STM Status^Status^Digital input 1; + .bLimitBackwardEnable:=TIIB[EL7041-1000_M1K4_Ydwn]^STM Status^Status^Digital input 2 + + + pytmc + pv: MR1K4:SOMS:MMS:YDWN - 640213632Main.fbMotionStage_m2298304FB_MotionStage640234816Main.M321184DUT_MotionStage.fVelocity1000.nEnableMode0.bPowerSelf1TcLinkTo.bLimitForwardEnable:=TIIB[EL7041-1000_M1K4_Xup]^STM Status^Status^Digital input 1; - .bLimitBackwardEnable:=TIIB[EL7041-1000_M1K4_Xup]^STM Status^Status^Digital input 2pytmc + + + + 640213632 + + + Main.fbMotionStage_m2 + 298304 + FB_MotionStage + 640234816 + + + Main.M3 + M1K4 Xup + 21184 + DUT_MotionStage + + + .fVelocity + 1000 + + + .nEnableMode + 0 + + + .bPowerSelf + 1 + + + + + TcLinkTo + .bLimitForwardEnable:=TIIB[EL7041-1000_M1K4_Xup]^STM Status^Status^Digital input 1; + .bLimitBackwardEnable:=TIIB[EL7041-1000_M1K4_Xup]^STM Status^Status^Digital input 2 + + + pytmc + pv: MR1K4:SOMS:MMS:XUP - 640533120Main.fbMotionStage_m3298304FB_MotionStage640554304Main.M421184DUT_MotionStage.fVelocity1000.nEnableMode0.bPowerSelf1TcLinkTo.bLimitForwardEnable:=TIIB[EL7041-1000_M1K4_Xdwn]^STM Status^Status^Digital input 1; - .bLimitBackwardEnable:=TIIB[EL7041-1000_M1K4_Xdwn]^STM Status^Status^Digital input 2pytmc + + + + 640533120 + + + Main.fbMotionStage_m3 + 298304 + FB_MotionStage + 640554304 + + + Main.M4 + M1K4 Xdwn + 21184 + DUT_MotionStage + + + .fVelocity + 1000 + + + .nEnableMode + 0 + + + .bPowerSelf + 1 + + + + + TcLinkTo + .bLimitForwardEnable:=TIIB[EL7041-1000_M1K4_Xdwn]^STM Status^Status^Digital input 1; + .bLimitBackwardEnable:=TIIB[EL7041-1000_M1K4_Xdwn]^STM Status^Status^Digital input 2 + + + pytmc + pv: MR1K4:SOMS:MMS:XDWN - 640852608Main.fbMotionStage_m4298304FB_MotionStage640873792Main.M521184DUT_MotionStage.fVelocity150.bPowerSelf1.nEnableMode0TcLinkTo.bLimitForwardEnable:=TIIB[EL7041-1000_M1K4_PitchCoarse]^STM Status^Status^Digital input 1; - .bLimitBackwardEnable:=TIIB[EL7041-1000_M1K4_PitchCoarse]^STM Status^Status^Digital input 2pytmc + + + + 640852608 + + + Main.fbMotionStage_m4 + 298304 + FB_MotionStage + 640873792 + + + Main.M5 + M1K4 Pitch Stepper + 21184 + DUT_MotionStage + + + .fVelocity + 150 + + + .bPowerSelf + 1 + + + .nEnableMode + 0 + + + + + TcLinkTo + .bLimitForwardEnable:=TIIB[EL7041-1000_M1K4_PitchCoarse]^STM Status^Status^Digital input 1; + .bLimitBackwardEnable:=TIIB[EL7041-1000_M1K4_PitchCoarse]^STM Status^Status^Digital input 2 + + + pytmc + pv: MR1K4:SOMS:MMS:PITCH - 641172096Main.fbMotionStage_m5298304FB_MotionStage641193280Main.M621184DUT_MotionStage.fVelocity150.bPowerSelf1TcLinkTo.bLimitForwardEnable:=TIIB[EL7041-1000_M1K4_Bender]^STM Status^Status^Digital input 1; - .bLimitBackwardEnable:=TIIB[EL7041-1000_M1K4_Bender]^STM Status^Status^Digital input 2pytmc + + + + 641172096 + + + Main.fbMotionStage_m5 + 298304 + FB_MotionStage + 641193280 + + + Main.M6 + M1K4 Bender + 21184 + DUT_MotionStage + + + .fVelocity + 150 + + + .bPowerSelf + 1 + + + + + TcLinkTo + .bLimitForwardEnable:=TIIB[EL7041-1000_M1K4_Bender]^STM Status^Status^Digital input 1; + .bLimitBackwardEnable:=TIIB[EL7041-1000_M1K4_Bender]^STM Status^Status^Digital input 2 + + + pytmc + pv: MR1K4:SOMS:MMS:BENDER - 641491584Main.fbMotionStage_m6298304FB_MotionStage641512768Main.M1K420672DUT_HOMSTcLinkTo.fbRunHOMS.bSTOEnable1:=TIIB[EL1004_M1K4_STO]^Channel 1^Input; + + + + 641491584 + + + Main.fbMotionStage_m6 + 298304 + FB_MotionStage + 641512768 + + + Main.M1K4 + 20672 + DUT_HOMS + + + TcLinkTo + .fbRunHOMS.bSTOEnable1:=TIIB[EL1004_M1K4_STO]^Channel 1^Input; .fbRunHOMS.bSTOEnable2:=TIIB[EL1004_M1K4_STO]^Channel 2^Input; .fbRunHOMS.stYupEnc.Count:=TIIB[EL5042_M1K4_Yupdwn]^FB Inputs Channel 1^Position; .fbRunHOMS.stYdwnEnc.Count:=TIIB[EL5042_M1K4_Yupdwn]^FB Inputs Channel 2^Position; .fbRunHOMS.stXupEnc.Count:=TIIB[EL5042_M1K4_Xupdwn]^FB Inputs Channel 1^Position; - .fbRunHOMS.stXdwnEnc.Count:=TIIB[EL5042_M1K4_Xupdwn]^FB Inputs Channel 2^Positionpytmc + .fbRunHOMS.stXdwnEnc.Count:=TIIB[EL5042_M1K4_Xupdwn]^FB Inputs Channel 2^Position + + + pytmc + pv: MR1K4:SOMS - 641811072Main.fbYRMSErrorM1K4386624FB_RMSWatchpytmc + + + + 641811072 + + + Main.fbYRMSErrorM1K4 + Encoder Arrays/RMS Watch: + 386624 + FB_RMSWatch + + + pytmc + pv: MR1K4:SOMS:ENC:Y - 641831744Main.fMaxYRMSErrorM1K464LREAL642218368Main.fMinYRMSErrorM1K464LREAL642218432Main.fbXRMSErrorM1K4386624FB_RMSWatchpytmc + + + + 641831744 + + + Main.fMaxYRMSErrorM1K4 + 64 + LREAL + 642218368 + + + Main.fMinYRMSErrorM1K4 + 64 + LREAL + 642218432 + + + Main.fbXRMSErrorM1K4 + 386624 + FB_RMSWatch + + + pytmc + pv: MR1K4:SOMS:ENC:X - 642218496Main.fMaxXRMSErrorM1K464LREAL642605120Main.fMinXRMSErrorM1K464LREAL642605184Main.fbPitchRMSErrorM1K4386624FB_RMSWatchpytmc + + + + 642218496 + + + Main.fMaxXRMSErrorM1K4 + 64 + LREAL + 642605120 + + + Main.fMinXRMSErrorM1K4 + 64 + LREAL + 642605184 + + + Main.fbPitchRMSErrorM1K4 + 386624 + FB_RMSWatch + + + pytmc + pv: MR1K4:SOMS:ENC:PITCH - 642605248Main.fMaxPitchRMSErrorM1K464LREAL642991872Main.fMinPitchRMSErrorM1K464LREAL642991936Main.fbBenderRMSErrorM1K4386624FB_RMSWatchpytmc + + + + 642605248 + + + Main.fMaxPitchRMSErrorM1K4 + 64 + LREAL + 642991872 + + + Main.fMinPitchRMSErrorM1K4 + 64 + LREAL + 642991936 + + + Main.fbBenderRMSErrorM1K4 + 386624 + FB_RMSWatch + + + pytmc + pv: MR1K4:SOMS:ENC:BENDER - 642992000Main.fMaxBenderRMSErrorM1K464LREAL643378624Main.fMinBenderRMSErrorM1K464LREAL643378688Main.fbBenderM1K4 + + + 642992000 + + + Main.fMaxBenderRMSErrorM1K4 + 64 + LREAL + 643378624 + + + Main.fMinBenderRMSErrorM1K4 + 64 + LREAL + 643378688 + + + Main.fbBenderM1K4 + Piezo Pitch Control fbM1K4PitchControl : FB_PitchControl; bM1K4PitchDone : BOOL; bM1K4PitchBusy : BOOL; - Bender Control]]>128FB_Bender643378752Main.nEncCntYupM1K432UDINTpytmc + Bender Control + 128 + FB_Bender + 643378752 + + + Main.nEncCntYupM1K4 + Raw Encoder Counts + 32 + UDINT + + + pytmc + pv: MR1K4:SOMS:ENC:YUP:CNT field: EGU cnt io: i - 643378880Main.nEncCntYdwnM1K432UDINTpytmc + + + + 643378880 + + + Main.nEncCntYdwnM1K4 + 32 + UDINT + + + pytmc + pv: MR1K4:SOMS:ENC:YDWN:CNT field: EGU cnt io: i - 643378912Main.nEncCntXupM1K432UDINTpytmc + + + + 643378912 + + + Main.nEncCntXupM1K4 + 32 + UDINT + + + pytmc + pv: MR1K4:SOMS:ENC:XUP:CNT field: EGU cnt io: i - 643378944Main.nEncCntXdwnM1K432UDINTpytmc + + + + 643378944 + + + Main.nEncCntXdwnM1K4 + 32 + UDINT + + + pytmc + pv: MR1K4:SOMS:ENC:XDWN:CNT field: EGU cnt io: i - 643378976Main.nEncCntPitchM1K432UDINTpytmc + + + + 643378976 + + + Main.nEncCntPitchM1K4 + 32 + UDINT + + + pytmc + pv: MR1K4:SOMS:ENC:PITCH:CNT field: EGU cnt io: i - 643379008Main.nEncRefYupM1K432UDINTpytmc + + + + 643379008 + + + Main.nEncRefYupM1K4 + Encoder Reference Values + 32 + UDINT + + + pytmc + pv: MR1K4:SOMS:ENC:YUP:REF field: EGU cnt io: i - 643379040Main.nEncRefYdwnM1K432UDINTpytmc + + + + 643379040 + + + Main.nEncRefYdwnM1K4 + 32 + UDINT + + + pytmc + pv: MR1K4:SOMS:ENC:YDWN:REF field: EGU cnt io: i - 643379072Main.nEncRefXupM1K432UDINTpytmc + + + + 643379072 + + + Main.nEncRefXupM1K4 + 32 + UDINT + + + pytmc + pv: MR1K4:SOMS:ENC:XUP:REF field: EGU cnt io: i - 643379104Main.nEncRefXdwnM1K432UDINTpytmc + + + + 643379104 + + + Main.nEncRefXdwnM1K4 + 32 + UDINT + + + pytmc + pv: MR1K4:SOMS:ENC:XDWN:REF field: EGU cnt io: i - 643379136Main.nEncRefPitchM1K432UDINTpytmc + + + + 643379136 + + + Main.nEncRefPitchM1K4 + 32 + UDINT + + + pytmc + pv: MR1K4:SOMS:ENC:PITCH:REF field: EGU cnt io: i - 643379168Main.mcReadParameterPitchM1K44352MC_ReadParameter643379200Main.fEncRefPitchM1K4_urad64LREAL643383552Main.fEncLeverArm_mm64LREAL513643383616Main.M721184DUT_MotionStage.nEnableMode0.bPowerSelf1TcLinkTo.bLimitForwardEnable :=TIIB[EL7041-0052_M2K4X]^STM Status^Status^Digital input 1; + + + + 643379168 + + + Main.mcReadParameterPitchM1K4 + 4352 + MC_ReadParameter + 643379200 + + + Main.fEncRefPitchM1K4_urad + Current Pitch encoder offset in urad + 64 + LREAL + 643383552 + + + Main.fEncLeverArm_mm + Common + 64 + LREAL + + 513 + + 643383616 + + + Main.M7 + LAMP KB Motors +MR2K4 X + 21184 + DUT_MotionStage + + + .nEnableMode + 0 + + + .bPowerSelf + 1 + + + + + TcLinkTo + .bLimitForwardEnable :=TIIB[EL7041-0052_M2K4X]^STM Status^Status^Digital input 1; .bLimitBackwardEnable:=TIIB[EL7041-0052_M2K4X]^STM Status^Status^Digital input 2; - .nRawEncoderULINT := TIIB[EL5042_M2K4X_M2K4Y]^FB Inputs Channel 1^Positionpytmc + .nRawEncoderULINT := TIIB[EL5042_M2K4X_M2K4Y]^FB Inputs Channel 1^Position + + + pytmc + pv: MR2K4:KBO:MMS:X - 643383680Main.fbMotionStage_m7298304FB_MotionStage643404864Main.M821184DUT_MotionStage.sNameMR2K4-Coatings.nEnableMode0.bPowerSelf0TcLinkTo.bLimitForwardEnable :=TIIB[EL7041-0052_M2K4Y]^STM Status^Status^Digital input 1; + + + + 643383680 + + + Main.fbMotionStage_m7 + 298304 + FB_MotionStage + 643404864 + + + Main.M8 + MR2K4 Y +PMPS State Stage; bPowerSelf:=False + 21184 + DUT_MotionStage + + + .sName + MR2K4-Coatings + + + .nEnableMode + 0 + + + .bPowerSelf + 0 + + + + + TcLinkTo + .bLimitForwardEnable :=TIIB[EL7041-0052_M2K4Y]^STM Status^Status^Digital input 1; .bLimitBackwardEnable:=TIIB[EL7041-0052_M2K4Y]^STM Status^Status^Digital input 2; - .nRawEncoderULINT := TIIB[EL5042_M2K4X_M2K4Y]^FB Inputs Channel 2^Positionpytmc + .nRawEncoderULINT := TIIB[EL5042_M2K4X_M2K4Y]^FB Inputs Channel 2^Position + + + pytmc + pv: MR2K4:KBO:MMS:Y - 643703168Main.fbMotionStage_m8298304FB_MotionStage643724352Main.M921184DUT_MotionStage.nEnableMode0.bPowerSelf1TcLinkTo.bLimitForwardEnable :=TIIB[EL7041-0052_M2K4rY]^STM Status^Status^Digital input 1; + + + + 643703168 + + + Main.fbMotionStage_m8 + 298304 + FB_MotionStage + 643724352 + + + Main.M9 + MR2K4 rY + 21184 + DUT_MotionStage + + + .nEnableMode + 0 + + + .bPowerSelf + 1 + + + + + TcLinkTo + .bLimitForwardEnable :=TIIB[EL7041-0052_M2K4rY]^STM Status^Status^Digital input 1; .bLimitBackwardEnable:=TIIB[EL7041-0052_M2K4rY]^STM Status^Status^Digital input 2; - .nRawEncoderULINT := TIIB[EL5042_M2K4rY_M3K4X]^FB Inputs Channel 1^Positionpytmc + .nRawEncoderULINT := TIIB[EL5042_M2K4rY_M3K4X]^FB Inputs Channel 1^Position + + + pytmc + pv: MR2K4:KBO:MMS:PITCH - 644022656Main.fbMotionStage_m9298304FB_MotionStage644043840Main.M1021184DUT_MotionStage.nEnableMode2.bPowerSelf1TcLinkTo.bLimitForwardEnable :=TIIB[EL7041_M2K4_BEND_US]^STM Status^Status^Digital input 1; + + + + 644022656 + + + Main.fbMotionStage_m9 + 298304 + FB_MotionStage + 644043840 + + + Main.M10 + MR2K4 US BEND + 21184 + DUT_MotionStage + + + .nEnableMode + 2 + + + .bPowerSelf + 1 + + + + + TcLinkTo + .bLimitForwardEnable :=TIIB[EL7041_M2K4_BEND_US]^STM Status^Status^Digital input 1; .bLimitBackwardEnable:=TIIB[EL7041_M2K4_BEND_US]^STM Status^Status^Digital input 2; - .nRawEncoderULINT := TIIB[EL5042_M2K4_BEND_USDS]^FB Inputs Channel 1^Positionpytmc + .nRawEncoderULINT := TIIB[EL5042_M2K4_BEND_USDS]^FB Inputs Channel 1^Position + + + pytmc + pv: MR2K4:KBO:MMS:BEND:US - 644342144Main.fbMotionStage_m10298304FB_MotionStage644363328Main.M1121184DUT_MotionStage.nEnableMode2.bPowerSelf1TcLinkTo.bLimitForwardEnable :=TIIB[EL7041_M2K4_BEND_DS]^STM Status^Status^Digital input 1; + + + + 644342144 + + + Main.fbMotionStage_m10 + 298304 + FB_MotionStage + 644363328 + + + Main.M11 + MR2K4 DS BEND + 21184 + DUT_MotionStage + + + .nEnableMode + 2 + + + .bPowerSelf + 1 + + + + + TcLinkTo + .bLimitForwardEnable :=TIIB[EL7041_M2K4_BEND_DS]^STM Status^Status^Digital input 1; .bLimitBackwardEnable:=TIIB[EL7041_M2K4_BEND_DS]^STM Status^Status^Digital input 2; - .nRawEncoderULINT := TIIB[EL5042_M2K4_BEND_USDS]^FB Inputs Channel 2^Positionpytmc + .nRawEncoderULINT := TIIB[EL5042_M2K4_BEND_USDS]^FB Inputs Channel 2^Position + + + pytmc + pv: MR2K4:KBO:MMS:BEND:DS - 644661632Main.fbMotionStage_m11298304FB_MotionStage644682816Main.M1221184DUT_MotionStage.sNameMR3K4-Coatings.nEnableMode0.bPowerSelf0TcLinkTo.bLimitForwardEnable :=TIIB[EL7041-0052_M3K4X]^STM Status^Status^Digital input 1; + + + + 644661632 + + + Main.fbMotionStage_m11 + 298304 + FB_MotionStage + 644682816 + + + Main.M12 + MR3K4 X +PMPS State Stage; bPowerSelf:=False + 21184 + DUT_MotionStage + + + .sName + MR3K4-Coatings + + + .nEnableMode + 0 + + + .bPowerSelf + 0 + + + + + TcLinkTo + .bLimitForwardEnable :=TIIB[EL7041-0052_M3K4X]^STM Status^Status^Digital input 1; .bLimitBackwardEnable:=TIIB[EL7041-0052_M3K4X]^STM Status^Status^Digital input 2; - .nRawEncoderULINT := TIIB[EL5042_M2K4rY_M3K4X]^FB Inputs Channel 2^Positionpytmc + .nRawEncoderULINT := TIIB[EL5042_M2K4rY_M3K4X]^FB Inputs Channel 2^Position + + + pytmc + pv: MR3K4:KBO:MMS:X - 644981120Main.fbMotionStage_m12298304FB_MotionStage645002304Main.M1321184DUT_MotionStage.nEnableMode0.bPowerSelf1TcLinkTo.bLimitForwardEnable :=TIIB[EL7041-0052_M3K4Y]^STM Status^Status^Digital input 1; + + + + 644981120 + + + Main.fbMotionStage_m12 + 298304 + FB_MotionStage + 645002304 + + + Main.M13 + MR3K4 Y + 21184 + DUT_MotionStage + + + .nEnableMode + 0 + + + .bPowerSelf + 1 + + + + + TcLinkTo + .bLimitForwardEnable :=TIIB[EL7041-0052_M3K4Y]^STM Status^Status^Digital input 1; .bLimitBackwardEnable:=TIIB[EL7041-0052_M3K4Y]^STM Status^Status^Digital input 2; - .nRawEncoderULINT := TIIB[EL5042_M3K4Y_M3K4rX]^FB Inputs Channel 1^Positionpytmc + .nRawEncoderULINT := TIIB[EL5042_M3K4Y_M3K4rX]^FB Inputs Channel 1^Position + + + pytmc + pv: MR3K4:KBO:MMS:Y - 645300608Main.fbMotionStage_m13298304FB_MotionStage645321792Main.M1421184DUT_MotionStage.nEnableMode0.bPowerSelf1TcLinkTo.bLimitForwardEnable :=TIIB[EL7041-0052_M3K4rX]^STM Status^Status^Digital input 1; + + + + 645300608 + + + Main.fbMotionStage_m13 + 298304 + FB_MotionStage + 645321792 + + + Main.M14 + MR3K4 rX + 21184 + DUT_MotionStage + + + .nEnableMode + 0 + + + .bPowerSelf + 1 + + + + + TcLinkTo + .bLimitForwardEnable :=TIIB[EL7041-0052_M3K4rX]^STM Status^Status^Digital input 1; .bLimitBackwardEnable:=TIIB[EL7041-0052_M3K4rX]^STM Status^Status^Digital input 2; - .nRawEncoderULINT := TIIB[EL5042_M3K4Y_M3K4rX]^FB Inputs Channel 2^Positionpytmc + .nRawEncoderULINT := TIIB[EL5042_M3K4Y_M3K4rX]^FB Inputs Channel 2^Position + + + pytmc + pv: MR3K4:KBO:MMS:PITCH - 645620096Main.fbMotionStage_m14298304FB_MotionStage645641280Main.M1521184DUT_MotionStage.nEnableMode2.bPowerSelf1TcLinkTo.bLimitForwardEnable :=TIIB[EL7041_M3K4_BEND_US]^STM Status^Status^Digital input 1; + + + + 645620096 + + + Main.fbMotionStage_m14 + 298304 + FB_MotionStage + 645641280 + + + Main.M15 + MR3K4 US BEND + 21184 + DUT_MotionStage + + + .nEnableMode + 2 + + + .bPowerSelf + 1 + + + + + TcLinkTo + .bLimitForwardEnable :=TIIB[EL7041_M3K4_BEND_US]^STM Status^Status^Digital input 1; .bLimitBackwardEnable:=TIIB[EL7041_M3K4_BEND_US]^STM Status^Status^Digital input 2; - .nRawEncoderULINT := TIIB[EL5042_M3K4_BEND_USDS]^FB Inputs Channel 1^Positionpytmc + .nRawEncoderULINT := TIIB[EL5042_M3K4_BEND_USDS]^FB Inputs Channel 1^Position + + + pytmc + pv: MR3K4:KBO:MMS:BEND:US - 645939584Main.fbMotionStage_m15298304FB_MotionStage645960768Main.M1621184DUT_MotionStage.nEnableMode2.bPowerSelf1TcLinkTo.bLimitForwardEnable :=TIIB[EL7041_M3K4_BEND_DS]^STM Status^Status^Digital input 1; + + + + 645939584 + + + Main.fbMotionStage_m15 + 298304 + FB_MotionStage + 645960768 + + + Main.M16 + /////////////////////////////// + 21184 + DUT_MotionStage + + + .nEnableMode + 2 + + + .bPowerSelf + 1 + + + + + TcLinkTo + .bLimitForwardEnable :=TIIB[EL7041_M3K4_BEND_DS]^STM Status^Status^Digital input 1; .bLimitBackwardEnable:=TIIB[EL7041_M3K4_BEND_DS]^STM Status^Status^Digital input 2; - .nRawEncoderULINT := TIIB[EL5042_M2K4_BEND_USDS]^FB Inputs Channel 2^Positionpytmc + .nRawEncoderULINT := TIIB[EL5042_M2K4_BEND_USDS]^FB Inputs Channel 2^Position + + + pytmc + pv: MR3K4:KBO:MMS:BEND:DS - 646259072Main.fbMotionStage_m16298304FB_MotionStage646280256Main.M1721184DUT_MotionStage.nEnableMode0.bPowerSelf1TcLinkTo.bLimitForwardEnable:=TIIB[EL7041-0052_M4K4X]^STM Status^Status^Digital input 1; + + + + 646259072 + + + Main.fbMotionStage_m16 + 298304 + FB_MotionStage + 646280256 + + + Main.M17 + M4K4 X + 21184 + DUT_MotionStage + + + .nEnableMode + 0 + + + .bPowerSelf + 1 + + + + + TcLinkTo + .bLimitForwardEnable:=TIIB[EL7041-0052_M4K4X]^STM Status^Status^Digital input 1; .bLimitBackwardEnable:=TIIB[EL7041-0052_M4K4X]^STM Status^Status^Digital input 2; - .nRawEncoderULINT:=TIIB[EL5042_M4K4X_M4K4Y]^FB Inputs Channel 1^Positionpytmc + .nRawEncoderULINT:=TIIB[EL5042_M4K4X_M4K4Y]^FB Inputs Channel 1^Position + + + pytmc + pv: MR4K4:KBO:MMS:X - 646578560Main.fbMotionStageM17298304FB_MotionStage646599744Main.M1821184DUT_MotionStage.nEnableMode0.bPowerSelf1TcLinkTo.bLimitForwardEnable:=TIIB[EL7041-0052_M4K4Y]^STM Status^Status^Digital input 1; + + + + 646578560 + + + Main.fbMotionStageM17 + 298304 + FB_MotionStage + 646599744 + + + Main.M18 + M4K4 Y + 21184 + DUT_MotionStage + + + .nEnableMode + 0 + + + .bPowerSelf + 1 + + + + + TcLinkTo + .bLimitForwardEnable:=TIIB[EL7041-0052_M4K4Y]^STM Status^Status^Digital input 1; .bLimitBackwardEnable:=TIIB[EL7041-0052_M4K4Y]^STM Status^Status^Digital input 2; - .nRawEncoderULINT:=TIIB[EL5042_M4K4X_M4K4Y]^FB Inputs Channel 2^Positionpytmc + .nRawEncoderULINT:=TIIB[EL5042_M4K4X_M4K4Y]^FB Inputs Channel 2^Position + + + pytmc + pv: MR4K4:KBO:MMS:Y - 646898048Main.fbMotionStageM18298304FB_MotionStage646919232Main.M1921184DUT_MotionStage.nEnableMode0.bPowerSelf1TcLinkTo.bLimitForwardEnable:=TIIB[EL7041-0052_M4K4Z]^STM Status^Status^Digital input 2; + + + + 646898048 + + + Main.fbMotionStageM18 + 298304 + FB_MotionStage + 646919232 + + + Main.M19 + M4K4 Z + 21184 + DUT_MotionStage + + + .nEnableMode + 0 + + + .bPowerSelf + 1 + + + + + TcLinkTo + .bLimitForwardEnable:=TIIB[EL7041-0052_M4K4Z]^STM Status^Status^Digital input 2; .bLimitBackwardEnable:=TIIB[EL7041-0052_M4K4Z]^STM Status^Status^Digital input 1; - .nRawEncoderULINT:=TIIB[EL5042_M4K4Z_M4K4rX]^FB Inputs Channel 1^Positionpytmc + .nRawEncoderULINT:=TIIB[EL5042_M4K4Z_M4K4rX]^FB Inputs Channel 1^Position + + + pytmc + pv: MR4K4:KBO:MMS:Z - 647217536Main.fbMotionStageM19298304FB_MotionStage647238720Main.M2021184DUT_MotionStage.nEnableMode0.bPowerSelf1TcLinkTo.bLimitForwardEnable:=TIIB[EL7041-0052_M4K4rX]^STM Status^Status^Digital input 1; + + + + 647217536 + + + Main.fbMotionStageM19 + 298304 + FB_MotionStage + 647238720 + + + Main.M20 + M4K4 rX + 21184 + DUT_MotionStage + + + .nEnableMode + 0 + + + .bPowerSelf + 1 + + + + + TcLinkTo + .bLimitForwardEnable:=TIIB[EL7041-0052_M4K4rX]^STM Status^Status^Digital input 1; .bLimitBackwardEnable:=TIIB[EL7041-0052_M4K4rX]^STM Status^Status^Digital input 2; - .nRawEncoderULINT:=TIIB[EL5042_M4K4Z_M4K4rX]^FB Inputs Channel 2^Positionpytmc + .nRawEncoderULINT:=TIIB[EL5042_M4K4Z_M4K4rX]^FB Inputs Channel 2^Position + + + pytmc + pv: MR4K4:KBO:MMS:PITCH - 647537024Main.fbMotionStageM20298304FB_MotionStage647558208Main.M2121184DUT_MotionStage.nEnableMode0.bPowerSelf1TcLinkTo.bLimitForwardEnable:=TIIB[EL7041-0052_M5K4X]^STM Status^Status^Digital input 1; + + + + 647537024 + + + Main.fbMotionStageM20 + 298304 + FB_MotionStage + 647558208 + + + Main.M21 + M5K4 X + 21184 + DUT_MotionStage + + + .nEnableMode + 0 + + + .bPowerSelf + 1 + + + + + TcLinkTo + .bLimitForwardEnable:=TIIB[EL7041-0052_M5K4X]^STM Status^Status^Digital input 1; .bLimitBackwardEnable:=TIIB[EL7041-0052_M5K4X]^STM Status^Status^Digital input 2; - .nRawEncoderULINT:=TIIB[EL5042_M5K4X_M5K4Y]^FB Inputs Channel 1^Positionpytmc + .nRawEncoderULINT:=TIIB[EL5042_M5K4X_M5K4Y]^FB Inputs Channel 1^Position + + + pytmc + pv: MR5K4:KBO:MMS:X - 647856512Main.fbMotionStageM21298304FB_MotionStage647877696Main.M2221184DUT_MotionStage.nEnableMode0.bPowerSelf1TcLinkTo.bLimitForwardEnable:=TIIB[EL7041-0052_M5K4Y]^STM Status^Status^Digital input 1; + + + + 647856512 + + + Main.fbMotionStageM21 + 298304 + FB_MotionStage + 647877696 + + + Main.M22 + M5K4 Y + 21184 + DUT_MotionStage + + + .nEnableMode + 0 + + + .bPowerSelf + 1 + + + + + TcLinkTo + .bLimitForwardEnable:=TIIB[EL7041-0052_M5K4Y]^STM Status^Status^Digital input 1; .bLimitBackwardEnable:=TIIB[EL7041-0052_M5K4Y]^STM Status^Status^Digital input 2; - .nRawEncoderULINT:=TIIB[EL5042_M5K4X_M5K4Y]^FB Inputs Channel 2^Positionpytmc + .nRawEncoderULINT:=TIIB[EL5042_M5K4X_M5K4Y]^FB Inputs Channel 2^Position + + + pytmc + pv: MR5K4:KBO:MMS:Y - 648176000Main.fbMotionStageM22298304FB_MotionStage648197184Main.M2321184DUT_MotionStage.nEnableMode0.bPowerSelf1TcLinkTo.bLimitForwardEnable:=TIIB[EL7041-0052_M5K4Z]^STM Status^Status^Digital input 2; + + + + 648176000 + + + Main.fbMotionStageM22 + 298304 + FB_MotionStage + 648197184 + + + Main.M23 + M5K4 Z + 21184 + DUT_MotionStage + + + .nEnableMode + 0 + + + .bPowerSelf + 1 + + + + + TcLinkTo + .bLimitForwardEnable:=TIIB[EL7041-0052_M5K4Z]^STM Status^Status^Digital input 2; .bLimitBackwardEnable:=TIIB[EL7041-0052_M5K4Z]^STM Status^Status^Digital input 1; - .nRawEncoderULINT:=TIIB[EL5042_M5K4Z_M5K4rY]^FB Inputs Channel 1^Positionpytmc + .nRawEncoderULINT:=TIIB[EL5042_M5K4Z_M5K4rY]^FB Inputs Channel 1^Position + + + pytmc + pv: MR5K4:KBO:MMS:Z - 648495488Main.fbMotionStageM23298304FB_MotionStage648516672Main.M2421184DUT_MotionStage.nEnableMode0.bPowerSelf1TcLinkTo.bLimitForwardEnable:=TIIB[EL7041-0052_M5K4rY]^STM Status^Status^Digital input 1; + + + + 648495488 + + + Main.fbMotionStageM23 + 298304 + FB_MotionStage + 648516672 + + + Main.M24 + M5K4 rY + 21184 + DUT_MotionStage + + + .nEnableMode + 0 + + + .bPowerSelf + 1 + + + + + TcLinkTo + .bLimitForwardEnable:=TIIB[EL7041-0052_M5K4rY]^STM Status^Status^Digital input 1; .bLimitBackwardEnable:=TIIB[EL7041-0052_M5K4rY]^STM Status^Status^Digital input 2; - .nRawEncoderULINT:=TIIB[EL5042_M5K4Z_M5K4rY]^FB Inputs Channel 2^Positionpytmc + .nRawEncoderULINT:=TIIB[EL5042_M5K4Z_M5K4rY]^FB Inputs Channel 2^Position + + + pytmc + pv: MR5K4:KBO:MMS:PITCH - 648814976Main.fbMotionStageM24298304FB_MotionStage648836160Main.fbXRMSErrorM2K4386624FB_RMSWatchpytmc + + + + 648814976 + + + Main.fbMotionStageM24 + 298304 + FB_MotionStage + 648836160 + + + Main.fbXRMSErrorM2K4 + Encoder Arrays/RMS Watch: +MR2K4 X ENC RMS + 386624 + FB_RMSWatch + + + pytmc + pv: MR2K4:KBO:ENC:X - 649134464Main.fMaxXRMSErrorM2K464LREAL649521088Main.fMinXRMSErrorM2K464LREAL649521152Main.fbYRMSErrorM2K4386624FB_RMSWatchpytmc + + + + 649134464 + + + Main.fMaxXRMSErrorM2K4 + 64 + LREAL + 649521088 + + + Main.fMinXRMSErrorM2K4 + 64 + LREAL + 649521152 + + + Main.fbYRMSErrorM2K4 + MR2K4 Y ENC RMS + 386624 + FB_RMSWatch + + + pytmc + pv: MR2K4:KBO:ENC:Y - 649521216Main.fMaxYRMSErrorM2K464LREAL649907840Main.fMinYRMSErrorM2K464LREAL649907904Main.fbrYRMSErrorM2K4386624FB_RMSWatchpytmc + + + + 649521216 + + + Main.fMaxYRMSErrorM2K4 + 64 + LREAL + 649907840 + + + Main.fMinYRMSErrorM2K4 + 64 + LREAL + 649907904 + + + Main.fbrYRMSErrorM2K4 + MR2K4 rY ENC RMS + 386624 + FB_RMSWatch + + + pytmc + pv: MR2K4:KBO:ENC:PITCH - 649907968Main.fMaxrYRMSErrorM2K464LREAL650294592Main.fMinrYRMSErrorM2K464LREAL650294656Main.fbBendUSRMSErrorM2K4386624FB_RMSWatchpytmc + + + + 649907968 + + + Main.fMaxrYRMSErrorM2K4 + 64 + LREAL + 650294592 + + + Main.fMinrYRMSErrorM2K4 + 64 + LREAL + 650294656 + + + Main.fbBendUSRMSErrorM2K4 + MR2K4 US BENDER ENC RMS + 386624 + FB_RMSWatch + + + pytmc + pv: MR2K4:KBO:ENC:BEND:US - 650294720Main.fMaxBendUSRMSErrorM2K464LREAL650681344Main.fMinBendUSRMSErrorM2K464LREAL650681408Main.fbBendDSRMSErrorM2K4386624FB_RMSWatchpytmc + + + + 650294720 + + + Main.fMaxBendUSRMSErrorM2K4 + 64 + LREAL + 650681344 + + + Main.fMinBendUSRMSErrorM2K4 + 64 + LREAL + 650681408 + + + Main.fbBendDSRMSErrorM2K4 + MR2K4 DS BENDER ENC RMS + 386624 + FB_RMSWatch + + + pytmc + pv: MR2K4:KBO:ENC:BEND:DS - 650681472Main.fMaxBendDSRMSErrorM2K464LREAL651068096Main.fMinBendDSRMSErrorM2K464LREAL651068160Main.fbXRMSErrorM3K4386624FB_RMSWatchpytmc + + + + 650681472 + + + Main.fMaxBendDSRMSErrorM2K4 + 64 + LREAL + 651068096 + + + Main.fMinBendDSRMSErrorM2K4 + 64 + LREAL + 651068160 + + + Main.fbXRMSErrorM3K4 + MR3K4 X ENC RMS + 386624 + FB_RMSWatch + + + pytmc + pv: MR3K4:KBO:ENC:X - 651068224Main.fMaxXRMSErrorM3K464LREAL651454848Main.fMinXRMSErrorM3K464LREAL651454912Main.fbYRMSErrorM3K4386624FB_RMSWatchpytmc + + + + 651068224 + + + Main.fMaxXRMSErrorM3K4 + 64 + LREAL + 651454848 + + + Main.fMinXRMSErrorM3K4 + 64 + LREAL + 651454912 + + + Main.fbYRMSErrorM3K4 + MR3K4 Y ENC RMS + 386624 + FB_RMSWatch + + + pytmc + pv: MR3K4:KBO:ENC:Y - 651454976Main.fMaxYRMSErrorM3K464LREAL651841600Main.fMinYRMSErrorM3K464LREAL651841664Main.fbrXRMSErrorM3K4386624FB_RMSWatchpytmc + + + + 651454976 + + + Main.fMaxYRMSErrorM3K4 + 64 + LREAL + 651841600 + + + Main.fMinYRMSErrorM3K4 + 64 + LREAL + 651841664 + + + Main.fbrXRMSErrorM3K4 + MR3K4 rX ENC RMS + 386624 + FB_RMSWatch + + + pytmc + pv: MR3K4:KBO:ENC:PITCH - 651841728Main.fMaxrXRMSErrorM3K464LREAL652228352Main.fMinrXRMSErrorM3K464LREAL652228416Main.fbBendUSRMSErrorM3K4386624FB_RMSWatchpytmc + + + + 651841728 + + + Main.fMaxrXRMSErrorM3K4 + 64 + LREAL + 652228352 + + + Main.fMinrXRMSErrorM3K4 + 64 + LREAL + 652228416 + + + Main.fbBendUSRMSErrorM3K4 + MR3K4 US BENDER ENC RMS + 386624 + FB_RMSWatch + + + pytmc + pv: MR3K4:KBO:ENC:BEND:US - 652228480Main.fMaxBendUSRMSErrorM3K464LREAL652615104Main.fMinBendUSRMSErrorM3K464LREAL652615168Main.fbBendDSRMSErrorM3K4386624FB_RMSWatchpytmc + + + + 652228480 + + + Main.fMaxBendUSRMSErrorM3K4 + 64 + LREAL + 652615104 + + + Main.fMinBendUSRMSErrorM3K4 + 64 + LREAL + 652615168 + + + Main.fbBendDSRMSErrorM3K4 + MR3K4 DS BENDER ENC RMS + 386624 + FB_RMSWatch + + + pytmc + pv: MR3K4:KBO:ENC:BEND:DS - 652615232Main.fMaxBendDSRMSErrorM3K464LREAL653001856Main.fMinBendDSRMSErrorM3K464LREAL653001920Main.fbXRMSErrorM4K4386624FB_RMSWatchpytmc + + + + 652615232 + + + Main.fMaxBendDSRMSErrorM3K4 + 64 + LREAL + 653001856 + + + Main.fMinBendDSRMSErrorM3K4 + 64 + LREAL + 653001920 + + + Main.fbXRMSErrorM4K4 + MR4K4 X ENC RMS + 386624 + FB_RMSWatch + + + pytmc + pv: MR4K4:KBO:ENC:X - 653001984Main.fMaxXRMSErrorM4K464LREAL653388608Main.fMinXRMSErrorM4K464LREAL653388672Main.fbYRMSErrorM4K4386624FB_RMSWatchpytmc + + + + 653001984 + + + Main.fMaxXRMSErrorM4K4 + 64 + LREAL + 653388608 + + + Main.fMinXRMSErrorM4K4 + 64 + LREAL + 653388672 + + + Main.fbYRMSErrorM4K4 + MR4K4 Y ENC RMS + 386624 + FB_RMSWatch + + + pytmc + pv: MR4K4:KBO:ENC:Y - 653388736Main.fMaxYRMSErrorM4K464LREAL653775360Main.fMinYRMSErrorM4K464LREAL653775424Main.fbZRMSErrorM4K4386624FB_RMSWatchpytmc + + + + 653388736 + + + Main.fMaxYRMSErrorM4K4 + 64 + LREAL + 653775360 + + + Main.fMinYRMSErrorM4K4 + 64 + LREAL + 653775424 + + + Main.fbZRMSErrorM4K4 + MR4K4 Z ENC RMS + 386624 + FB_RMSWatch + + + pytmc + pv: MR4K4:KBO:ENC:Z - 653775488Main.fMaxZRMSErrorM4K464LREAL654162112Main.fMinZRMSErrorM4K464LREAL654162176Main.fbPRMSErrorM4K4386624FB_RMSWatchpytmc + + + + 653775488 + + + Main.fMaxZRMSErrorM4K4 + 64 + LREAL + 654162112 + + + Main.fMinZRMSErrorM4K4 + 64 + LREAL + 654162176 + + + Main.fbPRMSErrorM4K4 + MR4K4 rX ENC RMS + 386624 + FB_RMSWatch + + + pytmc + pv: MR4K4:KBO:ENC:PITCH - 654162240Main.fMaxPRMSErrorM4K464LREAL654548864Main.fMinPRMSErrorM4K464LREAL654548928Main.fbXRMSErrorM5K4386624FB_RMSWatchpytmc + + + + 654162240 + + + Main.fMaxPRMSErrorM4K4 + 64 + LREAL + 654548864 + + + Main.fMinPRMSErrorM4K4 + 64 + LREAL + 654548928 + + + Main.fbXRMSErrorM5K4 + MR5K4 X ENC RMS + 386624 + FB_RMSWatch + + + pytmc + pv: MR5K4:KBO:ENC:X - 654548992Main.fMaxXRMSErrorM5K464LREAL654935616Main.fMinXRMSErrorM5K464LREAL654935680Main.fbYRMSErrorM5K4386624FB_RMSWatchpytmc + + + + 654548992 + + + Main.fMaxXRMSErrorM5K4 + 64 + LREAL + 654935616 + + + Main.fMinXRMSErrorM5K4 + 64 + LREAL + 654935680 + + + Main.fbYRMSErrorM5K4 + MR5K4 Y ENC RMS + 386624 + FB_RMSWatch + + + pytmc + pv: MR5K4:KBO:ENC:Y - 654935744Main.fMaxYRMSErrorM5K464LREAL655322368Main.fMinYRMSErrorM5K464LREAL655322432Main.fbZRMSErrorM5K4386624FB_RMSWatchpytmc + + + + 654935744 + + + Main.fMaxYRMSErrorM5K4 + 64 + LREAL + 655322368 + + + Main.fMinYRMSErrorM5K4 + 64 + LREAL + 655322432 + + + Main.fbZRMSErrorM5K4 + MR5K4 Z ENC RMS + 386624 + FB_RMSWatch + + + pytmc + pv: MR5K4:KBO:ENC:Z - 655322496Main.fMaxZRMSErrorM5K464LREAL655709120Main.fMinZRMSErrorM5K464LREAL655709184Main.fbPRMSErrorM5K4386624FB_RMSWatchpytmc + + + + 655322496 + + + Main.fMaxZRMSErrorM5K4 + 64 + LREAL + 655709120 + + + Main.fMinZRMSErrorM5K4 + 64 + LREAL + 655709184 + + + Main.fbPRMSErrorM5K4 + MR5K4 rX ENC RMS + 386624 + FB_RMSWatch + + + pytmc + pv: MR5K4:KBO:ENC:PITCH - 655709248Main.fMaxPRMSErrorM5K464LREAL656095872Main.fMinPRMSErrorM5K464LREAL656095936Main.nEncRefXM2K432UDINTpytmc + + + + 655709248 + + + Main.fMaxPRMSErrorM5K4 + 64 + LREAL + 656095872 + + + Main.fMinPRMSErrorM5K4 + 64 + LREAL + 656095936 + + + Main.nEncRefXM2K4 + Encoder Reference Values +MR2K4 X ENC REF + 32 + UDINT + + + pytmc + pv: MR2K4:KBO:ENC:X:REF field: EGU cnt io: i - 656096000Main.nEncRefYM2K432UDINTpytmc + + + + 656096000 + + + Main.nEncRefYM2K4 + MR2K4 Y ENC REF + 32 + UDINT + + + pytmc + pv: MR2K4:KBO:ENC:Y:REF field: EGU cnt io: i - 656096032Main.nEncRefrYM2K432UDINTpytmc + + + + 656096032 + + + Main.nEncRefrYM2K4 + MR2K4 rY ENC REF + 32 + UDINT + + + pytmc + pv: MR2K4:KBO:ENC:PITCH:REF field: EGU cnt io: i - 656096064Main.nEncRefXM3K432UDINTpytmc + + + + 656096064 + + + Main.nEncRefXM3K4 + MR3K4 X ENC REF + 32 + UDINT + + + pytmc + pv: MR3K4:KBO:ENC:X:REF field: EGU cnt io: i - 656096096Main.nEncRefYM3K432UDINTpytmc + + + + 656096096 + + + Main.nEncRefYM3K4 + MR3K4 Y ENC REF + 32 + UDINT + + + pytmc + pv: MR3K4:KBO:ENC:Y:REF field: EGU cnt io: i - 656096128Main.nEncRefrXM3K432UDINTpytmc + + + + 656096128 + + + Main.nEncRefrXM3K4 + MR3K4 rX ENC REF + 32 + UDINT + + + pytmc + pv: MR3K4:KBO:ENC:PITCH:REF field: EGU cnt io: i - 656096160Main.nEncCntXM2K432UDINTpytmc + + + + 656096160 + + + Main.nEncCntXM2K4 + Encoder raw counts +MR2K4 X ENC CNT + 32 + UDINT + + + pytmc + pv: MR2K4:KBO:ENC:X:CNT field: EGU cnt io: i - 656096192Main.nEncCntYM2K432UDINTpytmc + + + + 656096192 + + + Main.nEncCntYM2K4 + MR2K4 Y ENC CNT + 32 + UDINT + + + pytmc + pv: MR2K4:KBO:ENC:Y:CNT field: EGU cnt io: i - 656096224Main.nEncCntrYM2K432UDINTpytmc + + + + 656096224 + + + Main.nEncCntrYM2K4 + MR2K4 rY ENC CNT + 32 + UDINT + + + pytmc + pv: MR2K4:KBO:ENC:PITCH:CNT field: EGU cnt io: i - 656096256Main.nEncCntXM3K432UDINTpytmc + + + + 656096256 + + + Main.nEncCntXM3K4 + MR3K4 X ENC CNT + 32 + UDINT + + + pytmc + pv: MR3K4:KBO:ENC:X:CNT field: EGU cnt io: i - 656096288Main.nEncCntYM3K432UDINTpytmc + + + + 656096288 + + + Main.nEncCntYM3K4 + MR3K4 Y ENC CNT + 32 + UDINT + + + pytmc + pv: MR3K4:KBO:ENC:Y:CNT field: EGU cnt io: i - 656096320Main.nEncCntrXM3K432UDINTpytmc + + + + 656096320 + + + Main.nEncCntrXM3K4 + MR3K4 rX ENC CNT + 32 + UDINT + + + pytmc + pv: MR3K4:KBO:ENC:PITCH:CNT field: EGU cnt io: i - 656096352Main.fM2K4US_RTD_132REALpytmc + + + + 656096352 + + + Main.fM2K4US_RTD_1 + LAMP KB BENDER RTDs + M2K4 US RTDs + 32 + REAL + + + pytmc + pv: MR2K4:KBO:RTD:BEND:US:1 field: ASLO 0.1 field: EGU C io: i - 656096416Main.fM2K4US_RTD_232REALpytmc + + + + 656096416 + + + Main.fM2K4US_RTD_2 + 32 + REAL + + + pytmc + pv: MR2K4:KBO:RTD:BEND:US:2 field: ASLO 0.1 field: EGU C io: i - 656096448Main.fM2K4US_RTD_332REALpytmc + + + + 656096448 + + + Main.fM2K4US_RTD_3 + 32 + REAL + + + pytmc + pv: MR2K4:KBO:RTD:BEND:US:3 field: ASLO 0.1 field: EGU C io: i - 656096480Main.fM2K4DS_RTD_132REALpytmc + + + + 656096480 + + + Main.fM2K4DS_RTD_1 + M2K4 DS RTDs + 32 + REAL + + + pytmc + pv: MR2K4:KBO:RTD:BEND:DS:1 field: ASLO 0.1 field: EGU C io: i - 656096512Main.fM2K4DS_RTD_232REALpytmc + + + + 656096512 + + + Main.fM2K4DS_RTD_2 + 32 + REAL + + + pytmc + pv: MR2K4:KBO:RTD:BEND:DS:2 field: ASLO 0.1 field: EGU C io: i - 656096544Main.fM2K4DS_RTD_332REALpytmc + + + + 656096544 + + + Main.fM2K4DS_RTD_3 + 32 + REAL + + + pytmc + pv: MR2K4:KBO:RTD:BEND:DS:3 field: ASLO 0.1 field: EGU C io: i - 656096576Main.fM3K4US_RTD_132REALpytmc + + + + 656096576 + + + Main.fM3K4US_RTD_1 + M3K4 US RTDs + 32 + REAL + + + pytmc + pv: MR3K4:KBO:RTD:BEND:US:1 field: ASLO 0.1 field: EGU C io: i - 656096608Main.fM3K4US_RTD_232REALpytmc + + + + 656096608 + + + Main.fM3K4US_RTD_2 + 32 + REAL + + + pytmc + pv: MR3K4:KBO:RTD:BEND:US:2 field: ASLO 0.1 field: EGU C io: i - 656096640Main.fM3K4US_RTD_332REALpytmc + + + + 656096640 + + + Main.fM3K4US_RTD_3 + 32 + REAL + + + pytmc + pv: MR3K4:KBO:RTD:BEND:US:3 field: ASLO 0.1 field: EGU C io: i - 656096672Main.fM3K4DS_RTD_132REALpytmc + + + + 656096672 + + + Main.fM3K4DS_RTD_1 + M3K4 DS RTDs + 32 + REAL + + + pytmc + pv: MR3K4:KBO:RTD:BEND:DS:1 field: ASLO 0.1 field: EGU C io: i - 656096704Main.fM3K4DS_RTD_232REALpytmc + + + + 656096704 + + + Main.fM3K4DS_RTD_2 + 32 + REAL + + + pytmc + pv: MR3K4:KBO:RTD:BEND:DS:2 field: ASLO 0.1 field: EGU C io: i - 656096736PRG_PMPS.bMR1K1_IN8BOOL656096880PRG_PMPS.bST3K4_IN8BOOL656096888Main.fbLogHandler5784960FB_LogHandler656096896PRG_States.fbMR1K4_Coating_States675840FB_Offset_Coating_States.bBPOkAutoReset1pytmc + + + + 656096736 + + + PRG_PMPS.bMR1K1_IN + 8 + BOOL + 656096880 + + + PRG_PMPS.bST3K4_IN + 8 + BOOL + 656096888 + + + Main.fbLogHandler + Logging + 5784960 + FB_LogHandler + 656096896 + + + PRG_States.fbMR1K4_Coating_States + 675840 + FB_Offset_Coating_States + + + .bBPOkAutoReset + 1 + + + + + pytmc + pv: MR1K4:SOMS:COATING:STATE; io: io; - 661888576PRG_States.fbMR2K4_Coating_States676096FB_KBO_Coating_States.bBPOkAutoReset1pytmc + + + + 661888576 + + + PRG_States.fbMR2K4_Coating_States + 676096 + FB_KBO_Coating_States + + + .bBPOkAutoReset + 1 + + + + + pytmc + pv: MR2K4:KBO:COATING:STATE; io: io; - 662564416PRG_States.fbMR3K4_Coating_States676096FB_KBO_Coating_States.bBPOkAutoReset1pytmc + + + + 662564416 + + + PRG_States.fbMR3K4_Coating_States + 676096 + FB_KBO_Coating_States + + + .bBPOkAutoReset + 1 + + + + + pytmc + pv: MR3K4:KBO:COATING:STATE; io: io; - 663240512PRG_PMPS.fb_vetoArbiter27168FB_VetoArbiter663917216PRG_PMPS.fbArbiterIO138752FB_SubSysToArbiter_IO663944384PRG_PMPS.ffFFO2ToFFO125088FB_FastFault.i_xAutoReset1.i_DevNamePMPS FFO2.i_DescSubordinate fast fault group, will clear on its own otherwise something is misconfigured in the diagnostic.i_TypeCode13664083136P_StripeProtections.fbStripProtMR1K4 + + + 663240512 + + + PRG_PMPS.fb_vetoArbiter + 27168 + FB_VetoArbiter + 663917216 + + + PRG_PMPS.fbArbiterIO + 138752 + FB_SubSysToArbiter_IO + 663944384 + + + PRG_PMPS.ffFFO2ToFFO1 + 25088 + FB_FastFault + + + .i_xAutoReset + 1 + + + .i_DevName + PMPS FFO2 + + + .i_Desc + Subordinate fast fault group, will clear on its own otherwise something is misconfigured in the diagnostic + + + .i_TypeCode + 13 + + + 664083136 + + + P_StripeProtections.fbStripProtMR1K4 + MR1K4 (RBV = MR1K4:SOMS:ENC:YUP:CNT_RBV) -B4C coating: RBV <= 15998960: 1111_1111_1111_1000 (allow everything between 350eV and 2.3keV) -Transition: 15998960 < RBV < 19998960: 0000_0000_0000_0000 -Silicon surface: RBV >= 19998960: 0000_0000_0001_1110 (allow everything between 250eV and 450eV) +B4C coating: RBV <= 15998960: 1111_1111_1111_1000 (allow everything between 350eV and 2.3keV) +Transition: 15998960 < RBV < 19998960: 0000_0000_0000_0000 +Silicon surface: RBV >= 19998960: 0000_0000_0001_1110 (allow everything between 250eV and 450eV) From M. Seaberg -]]>52480FB_MirrorTwoCoatingProtection664108384P_StripeProtections.fbStripProtMR2K4 + 52480 + FB_MirrorTwoCoatingProtection + 664108384 + + + P_StripeProtections.fbStripProtMR2K4 + MR2K4 (RBV = MR2K4:KBO:ENC:Y:CNT_RBV) -B4C coating: RBV <= 6976835: 1111_1111_1111_1000 (allow everything between 350eV and 2.3keV) -Transition: 6976835 < RBV < 7776781: 0000_0000_0000_0000 -Silicon surface: RBV >= 7776781: 0000_0000_0001_1110 (allow everything below 250eV and 450eV) -]]>52480FB_MirrorTwoCoatingProtection664160864P_StripeProtections.fbStripProtMR3K4 + 52480 + FB_MirrorTwoCoatingProtection + 664160864 + + + P_StripeProtections.fbStripProtMR3K4 + MR3K4 (RBV = MR3K4:KBO:ENC:X:CNT_RBV) -B4C coating: RBV >= 5620000: 1111_1111_1111_1000 (allow everything between 350eV and 2.3keV) -Transition: 4820000 < ENC < 5620000: 0000_0000_0000_0000 -Silicon surface: RBV <= 4820000: 0000_0000_0001_1110 (allow everything between 250eV and 450 eV) -]]>52480FB_MirrorTwoCoatingProtection664213344GVL_M1K4.fM1K4_Flow_1320FB_AnalogInputTcLinkTo.iRaw := TIIB[EL3054_M1K4_FWM_PRSM]^AI Standard Channel 1^ValueTcVarGlobal664274048GVL_M1K4.fM1K4_Flow_1_val64LREALpytmc +B4C coating: RBV >= 5620000: 1111_1111_1111_1000 (allow everything between 350eV and 2.3keV) +Transition: 4820000 < ENC < 5620000: 0000_0000_0000_0000 +Silicon surface: RBV <= 4820000: 0000_0000_0001_1110 (allow everything between 250eV and 450 eV) + + 52480 + FB_MirrorTwoCoatingProtection + 664213344 + + + GVL_M1K4.fM1K4_Flow_1 + M1K4 Flow Press Sensors + 320 + FB_AnalogInput + + + TcLinkTo + .iRaw := TIIB[EL3054_M1K4_FWM_PRSM]^AI Standard Channel 1^Value + + + TcVarGlobal + + + 664274048 + + + GVL_M1K4.fM1K4_Flow_1_val + 64 + LREAL + + + pytmc + pv: MR1K4:SOMS:FWM:1 field: EGU lpm io: i - TcVarGlobal664274368GVL_M1K4.fM1K4_Flow_2320FB_AnalogInputTcLinkTo.iRaw := TIIB[EL3054_M1K4_FWM_PRSM]^AI Standard Channel 2^ValueTcVarGlobal664274432GVL_M1K4.fM1K4_Flow_2_val64LREALpytmc + + + + TcVarGlobal + + + 664274368 + + + GVL_M1K4.fM1K4_Flow_2 + 320 + FB_AnalogInput + + + TcLinkTo + .iRaw := TIIB[EL3054_M1K4_FWM_PRSM]^AI Standard Channel 2^Value + + + TcVarGlobal + + + 664274432 + + + GVL_M1K4.fM1K4_Flow_2_val + 64 + LREAL + + + pytmc + pv: MR1K4:SOMS:FWM:2 field: EGU lpm io: i - TcVarGlobal664274752GVL_M1K4.fM1K4_Press_1320FB_AnalogInputTcLinkTo.iRaw := TIIB[EL3054_M1K4_FWM_PRSM]^AI Standard Channel 3^ValueTcVarGlobal664274816GVL_M1K4.fM1K4_Press_1_val64LREALpytmc + + + + TcVarGlobal + + + 664274752 + + + GVL_M1K4.fM1K4_Press_1 + 320 + FB_AnalogInput + + + TcLinkTo + .iRaw := TIIB[EL3054_M1K4_FWM_PRSM]^AI Standard Channel 3^Value + + + TcVarGlobal + + + 664274816 + + + GVL_M1K4.fM1K4_Press_1_val + 64 + LREAL + + + pytmc + pv: MR1K4:SOMS:PRSM:1 field: EGU bar io: i - TcVarGlobal664275136GVL_M1K4_Constants.nYUP_ENC_REF64ULINT15000270TcVarGlobal664275200GVL_M1K4_Constants.nYDWN_ENC_REF64ULINT15454300TcVarGlobal664275264GVL_M1K4_Constants.nXUP_ENC_REF64ULINT24000300TcVarGlobal664275328GVL_M1K4_Constants.nXDWN_ENC_REF64ULINT23999400TcVarGlobal664275392GVL_M2K4_RTD.fM2K4_Flow_1320FB_AnalogInputTcLinkTo.iRaw := TIIB[EL3054_FWM_PRSM]^AI Standard Channel 1^ValueTcVarGlobal664275520GVL_M2K4_RTD.fM2K4_Flow_1_val64LREALpytmc + + + + TcVarGlobal + + + 664275136 + + + GVL_M1K4_Constants.nYUP_ENC_REF + Encoder reference values in counts = nm + 64 + ULINT + + 15000270 + + + + TcVarGlobal + + + 664275200 + + + GVL_M1K4_Constants.nYDWN_ENC_REF + 64 + ULINT + + 15454300 + + + + TcVarGlobal + + + 664275264 + + + GVL_M1K4_Constants.nXUP_ENC_REF + 64 + ULINT + + 24000300 + + + + TcVarGlobal + + + 664275328 + + + GVL_M1K4_Constants.nXDWN_ENC_REF + 64 + ULINT + + 23999400 + + + + TcVarGlobal + + + 664275392 + + + GVL_M2K4_RTD.fM2K4_Flow_1 + M2K4 Flow Press Sensors + 320 + FB_AnalogInput + + + TcLinkTo + .iRaw := TIIB[EL3054_FWM_PRSM]^AI Standard Channel 1^Value + + + TcVarGlobal + + + 664275520 + + + GVL_M2K4_RTD.fM2K4_Flow_1_val + 64 + LREAL + + + pytmc + pv: MR2K4:KBO:FWM:1 field: EGU lpm io: i - TcVarGlobal664275840GVL_M2K4_RTD.fM2K4_Flow_2320FB_AnalogInputTcLinkTo.iRaw := TIIB[EL3054_FWM_PRSM]^AI Standard Channel 2^ValueTcVarGlobal664275904GVL_M2K4_RTD.fM2K4_Flow_2_val64LREALpytmc + + + + TcVarGlobal + + + 664275840 + + + GVL_M2K4_RTD.fM2K4_Flow_2 + 320 + FB_AnalogInput + + + TcLinkTo + .iRaw := TIIB[EL3054_FWM_PRSM]^AI Standard Channel 2^Value + + + TcVarGlobal + + + 664275904 + + + GVL_M2K4_RTD.fM2K4_Flow_2_val + 64 + LREAL + + + pytmc + pv: MR2K4:KBO:FWM:2 field: EGU lpm io: i - TcVarGlobal664276224GVL_M2K4_RTD.fM2K4_Press_1320FB_AnalogInputTcLinkTo.iRaw := TIIB[EL3054_FWM_PRSM]^AI Standard Channel 3^ValueTcVarGlobal664276288GVL_M2K4_RTD.fM2K4_Press_1_val64LREALpytmc + + + + TcVarGlobal + + + 664276224 + + + GVL_M2K4_RTD.fM2K4_Press_1 + 320 + FB_AnalogInput + + + TcLinkTo + .iRaw := TIIB[EL3054_FWM_PRSM]^AI Standard Channel 3^Value + + + TcVarGlobal + + + 664276288 + + + GVL_M2K4_RTD.fM2K4_Press_1_val + 64 + LREAL + + + pytmc + pv: MR2K4:KBO:PRSM:1 field: EGU bar io: i - TcVarGlobal664276608GVL_M2K4_Constants.nM2K4X_ENC_REF64ULINT5973570TcVarGlobal664276672GVL_M2K4_Constants.nM2K4Y_ENC_REF64ULINT6099450TcVarGlobal664276736GVL_M2K4_Constants.nM2K4rY_ENC_REF64ULINT39050722TcVarGlobal664276800GVL_M3K4_Constants.nM3K4X_ENC_REF64ULINT6404509TcVarGlobal664276928GVL_M3K4_Constants.nM3K4Y_ENC_REF64ULINT6047240TcVarGlobal664276992GVL_M3K4_Constants.nM3K4rX_ENC_REF64ULINT48388188TcVarGlobal664277056GVL_M4K4_RTD.nM4K4_Chin_Left_RTD256FB_TempSensorTcLinkTo.iRaw := TIIB[EL3204_M4K4]^RTD Inputs Channel 1^Value; + + + + TcVarGlobal + + + 664276608 + + + GVL_M2K4_Constants.nM2K4X_ENC_REF + Encoder reference values in counts = nm + 64 + ULINT + + 5973570 + + + + TcVarGlobal + + + 664276672 + + + GVL_M2K4_Constants.nM2K4Y_ENC_REF + 64 + ULINT + + 6099450 + + + + TcVarGlobal + + + 664276736 + + + GVL_M2K4_Constants.nM2K4rY_ENC_REF + 64 + ULINT + + 39050722 + + + + TcVarGlobal + + + 664276800 + + + GVL_M3K4_Constants.nM3K4X_ENC_REF + Encoder reference values in counts = nm + 64 + ULINT + + 6404509 + + + + TcVarGlobal + + + 664276928 + + + GVL_M3K4_Constants.nM3K4Y_ENC_REF + 64 + ULINT + + 6047240 + + + + TcVarGlobal + + + 664276992 + + + GVL_M3K4_Constants.nM3K4rX_ENC_REF + 64 + ULINT + + 48388188 + + + + TcVarGlobal + + + 664277056 + + + GVL_M4K4_RTD.nM4K4_Chin_Left_RTD + M4K4 RTDs + 256 + FB_TempSensor + + + TcLinkTo + .iRaw := TIIB[EL3204_M4K4]^RTD Inputs Channel 1^Value; .bUnderrange := TIIB[EL3204_M4K4]^RTD Inputs Channel 1^Status^Underrange; .bOverrange := TIIB[EL3204_M4K4]^RTD Inputs Channel 1^Status^Overrange; - .bError := TIIB[EL3204_M4K4]^RTD Inputs Channel 1^Status^Errorpytmc + .bError := TIIB[EL3204_M4K4]^RTD Inputs Channel 1^Status^Error + + + pytmc + pv: MR4K4:KBO:RTD:CHIN:L field: EGU C io: i - TcVarGlobal664277120GVL_M4K4_RTD.nM4K4_Chin_Right_RTD256FB_TempSensorTcLinkTo.iRaw := TIIB[EL3204_M4K4]^RTD Inputs Channel 2^Value; + + + + TcVarGlobal + + + 664277120 + + + GVL_M4K4_RTD.nM4K4_Chin_Right_RTD + 256 + FB_TempSensor + + + TcLinkTo + .iRaw := TIIB[EL3204_M4K4]^RTD Inputs Channel 2^Value; .bUnderrange := TIIB[EL3204_M4K4]^RTD Inputs Channel 2^Status^Underrange; .bOverrange := TIIB[EL3204_M4K4]^RTD Inputs Channel 2^Status^Overrange; - .bError := TIIB[EL3204_M4K4]^RTD Inputs Channel 2^Status^Errorpytmc + .bError := TIIB[EL3204_M4K4]^RTD Inputs Channel 2^Status^Error + + + pytmc + pv: MR4K4:KBO:RTD:CHIN:R field: EGU C io: i - TcVarGlobal664277376GVL_M4K4_RTD.nM4K4_Chin_Tail_RTD256FB_TempSensorTcLinkTo.iRaw := TIIB[EL3204_M4K4]^RTD Inputs Channel 3^Value; + + + + TcVarGlobal + + + 664277376 + + + GVL_M4K4_RTD.nM4K4_Chin_Tail_RTD + 256 + FB_TempSensor + + + TcLinkTo + .iRaw := TIIB[EL3204_M4K4]^RTD Inputs Channel 3^Value; .bUnderrange := TIIB[EL3204_M4K4]^RTD Inputs Channel 3^Status^Underrange; .bOverrange := TIIB[EL3204_M4K4]^RTD Inputs Channel 3^Status^Overrange; - .bError := TIIB[EL3204_M4K4]^RTD Inputs Channel 3^Status^Errorpytmc + .bError := TIIB[EL3204_M4K4]^RTD Inputs Channel 3^Status^Error + + + pytmc + pv: MR4K4:KBO:RTD:TAIL field: EGU C io: i - TcVarGlobal664277632GVL_M5K4_RTD.nM5K4_Chin_Left_RTD256FB_TempSensorTcLinkTo.iRaw := TIIB[EL3204_M5K4]^RTD Inputs Channel 1^Value; + + + + TcVarGlobal + + + 664277632 + + + GVL_M5K4_RTD.nM5K4_Chin_Left_RTD + M5K4 RTDs + 256 + FB_TempSensor + + + TcLinkTo + .iRaw := TIIB[EL3204_M5K4]^RTD Inputs Channel 1^Value; .bUnderrange := TIIB[EL3204_M5K4]^RTD Inputs Channel 1^Status^Underrange; .bOverrange := TIIB[EL3204_M5K4]^RTD Inputs Channel 1^Status^Overrange; - .bError := TIIB[EL3204_M5K4]^RTD Inputs Channel 1^Status^Errorpytmc + .bError := TIIB[EL3204_M5K4]^RTD Inputs Channel 1^Status^Error + + + pytmc + pv: MR5K4:KBO:RTD:CHIN:L field: EGU C io: i - TcVarGlobal664277888GVL_M5K4_RTD.nM5K4_Chin_Right_RTD256FB_TempSensorTcLinkTo.iRaw := TIIB[EL3204_M5K4]^RTD Inputs Channel 2^Value; + + + + TcVarGlobal + + + 664277888 + + + GVL_M5K4_RTD.nM5K4_Chin_Right_RTD + 256 + FB_TempSensor + + + TcLinkTo + .iRaw := TIIB[EL3204_M5K4]^RTD Inputs Channel 2^Value; .bUnderrange := TIIB[EL3204_M5K4]^RTD Inputs Channel 2^Status^Underrange; .bOverrange := TIIB[EL3204_M5K4]^RTD Inputs Channel 2^Status^Overrange; - .bError := TIIB[EL3204_M5K4]^RTD Inputs Channel 2^Status^Errorpytmc + .bError := TIIB[EL3204_M5K4]^RTD Inputs Channel 2^Status^Error + + + pytmc + pv: MR5K4:KBO:RTD:CHIN:R field: EGU C io: i - TcVarGlobal664278144GVL_M5K4_RTD.nM5K4_Chin_Tail_RTD256FB_TempSensorTcLinkTo.iRaw := TIIB[EL3204_M5K4]^RTD Inputs Channel 3^Value; + + + + TcVarGlobal + + + 664278144 + + + GVL_M5K4_RTD.nM5K4_Chin_Tail_RTD + 256 + FB_TempSensor + + + TcLinkTo + .iRaw := TIIB[EL3204_M5K4]^RTD Inputs Channel 3^Value; .bUnderrange := TIIB[EL3204_M5K4]^RTD Inputs Channel 3^Status^Underrange; .bOverrange := TIIB[EL3204_M5K4]^RTD Inputs Channel 3^Status^Overrange; - .bError := TIIB[EL3204_M5K4]^RTD Inputs Channel 3^Status^Errorpytmc + .bError := TIIB[EL3204_M5K4]^RTD Inputs Channel 3^Status^Error + + + pytmc + pv: MR5K4:KBO:RTD:TAIL field: EGU C io: i - TcVarGlobal664278400GVL_PMPS.g_FastFaultOutput1495296FB_HardwareFFOutput.bAutoReset1.i_sNetID172.21.92.73.1.1pytmc + + + + TcVarGlobal + + + 664278400 + + + GVL_PMPS.g_FastFaultOutput1 + FFO for devices upstream of ST1K4 (M1K4) + 495296 + FB_HardwareFFOutput + + + .bAutoReset + 1 + + + .i_sNetID + 172.21.92.73.1.1 + + + + + pytmc + pv: PLC:TMO:OPTICS:FFO:01 - TcLinkTo.q_xFastFaultOut:=TIIB[PMPS_FFO]^Channel 1^OutputTcVarGlobal664278656GVL_PMPS.g_FastFaultOutput2495296FB_HardwareFFOutput.bAutoReset1.i_sNetID172.21.92.73.1.1pytmc + + + + TcLinkTo + .q_xFastFaultOut:=TIIB[PMPS_FFO]^Channel 1^Output + + + TcVarGlobal + + + 664278656 + + + GVL_PMPS.g_FastFaultOutput2 + FFO for devices downstream of ST1K4 (TMO hutch optics) + 495296 + FB_HardwareFFOutput + + + .bAutoReset + 1 + + + .i_sNetID + 172.21.92.73.1.1 + + + + + pytmc + pv: PLC:TMO:OPTICS:FFO:02 - TcLinkTo.q_xFastFaultOut:=TIIB[PMPS_FFO]^Channel 2^OutputTcVarGlobal664773952GVL_PMPS.g_fbArbiter1474624FB_Arbiterpytmc + + + + TcLinkTo + .q_xFastFaultOut:=TIIB[PMPS_FFO]^Channel 2^Output + + + TcVarGlobal + + + 664773952 + + + GVL_PMPS.g_fbArbiter1 + Arbiter for devices upstream of ST1K4 (M1K4) + 474624 + FB_Arbiter + + + pytmc + pv: PLC:TMO:OPTICS:ARB:01 - old_input_assignmentsTcVarGlobal665269248GVL_PMPS.g_fbArbiter2474624FB_Arbiterpytmc + + + + old_input_assignments + + + TcVarGlobal + + + 665269248 + + + GVL_PMPS.g_fbArbiter2 + Arbiter for devices downstream of ST1K4 (TMO hutch optics) + 474624 + FB_Arbiter + + + pytmc + pv: PLC:TMO:OPTICS:ARB:02 - old_input_assignmentsTcVarGlobal665743872Constants.bLittleEndian8BOOL1TcVarGlobal666218888Constants.RuntimeVersion64VERSION.uiMajor3.uiMinor5.uiServicePack6.uiPatch0TcVarGlobal666218896Constants.CompilerVersion64VERSION.uiMajor3.uiMinor5.uiServicePack10.uiPatch100TcVarGlobal666218960Constants.bSimulationMode8BOOL0TcVarGlobal666219024Constants.bFPUSupport8BOOL1TcVarGlobal666219032Constants.nRegisterSize16WORD32TcVarGlobal666219040Constants.nPackMode16UINT8TcVarGlobal666219056Constants.RuntimeVersionNumeric32DWORD50660864TcVarGlobal666219072Constants.CompilerVersionNumeric32DWORD50661988TcVarGlobal666219104TwinCAT_LicenseInfoVarList._LicenseInfo2048PlcLicenseInfo12[1].LicenseId.Data12004817304[1].LicenseId.Data222587[1].LicenseId.Data317667[1].LicenseId.Data4[0]153[1].LicenseId.Data4[1]187[1].LicenseId.Data4[2]124[1].LicenseId.Data4[3]2[1].LicenseId.Data4[4]224[1].LicenseId.Data4[5]171[1].LicenseId.Data4[6]217[1].LicenseId.Data4[7]126[1].Instances0[1].LicenseNameTF4100 TC3 Controller Toolbox[2].LicenseId.Data13165056522[2].LicenseId.Data240161[2].LicenseId.Data319775[2].LicenseId.Data4[0]152[2].LicenseId.Data4[1]202[2].LicenseId.Data4[2]65[2].LicenseId.Data4[3]58[2].LicenseId.Data4[4]188[2].LicenseId.Data4[5]13[2].LicenseId.Data4[6]148[2].LicenseId.Data4[7]253[2].Instances0[2].LicenseNameTF6340 TC3 Serial-CommunicationTcVarGlobal666219136TwinCAT_SystemInfoVarList._TaskInfo3072PlcTaskSystemInfo13no_initTcVarGlobal666223232TwinCAT_SystemInfoVarList._TaskPouOid_PlcTask32OTCIDno_initTcVarGlobal666226432TwinCAT_SystemInfoVarList._TaskOid_PlcTask32OTCIDno_initTcVarGlobal666226464TwinCAT_SystemInfoVarList.__PlcTask704_Implicit_Task_Info.dwVersion2TcContextNamePlcTaskTcVarGlobal666227904TC_EVENT_CLASSES.TcSystemEventClass128GUID.Data1301464608.Data256308.Data319887.Data4[0]150.Data4[1]199.Data4[2]31.Data4[3]214.Data4[4]182.Data4[5]21.Data4[6]107.Data4[7]49tc_no_symbolunused;ST_TcSystemEventClassconst_non_replacedsuppress_warning_0C0228TcVarGlobal666244096TC_EVENT_CLASSES.TcGeneralAdsEventClass128GUID.Data12562503300.Data263794.Data320132.Data4[0]181.Data4[1]139.Data4[2]104.Data4[3]161.Data4[4]241.Data4[5]195.Data4[6]65.Data4[7]146tc_no_symbolunused;ST_TcGeneralAdsEventClassconst_non_replacedsuppress_warning_0C0228TcVarGlobal666244224TC_EVENT_CLASSES.TcRouterEventClass128GUID.Data13822601028.Data219635.Data317627.Data4[0]141.Data4[1]148.Data4[2]18.Data4[3]249.Data4[4]206.Data4[5]14.Data4[6]47.Data4[7]144tc_no_symbolunused;ST_TcRouterEventClassconst_non_replacedsuppress_warning_0C0228TcVarGlobal666244352TC_EVENT_CLASSES.TcRTimeEventClass128GUID.Data13056961710.Data245834.Data319918.Data4[0]164.Data4[1]79.Data4[2]249.Data4[3]41.Data4[4]251.Data4[5]17.Data4[6]73.Data4[7]68tc_no_symbolunused;ST_TcRTimeEventClassconst_non_replacedsuppress_warning_0C0228TcVarGlobal666244480TC_EVENT_CLASSES.Win32EventClass128GUID.Data1487345068.Data260659.Data320275.Data4[0]143.Data4[1]32.Data4[2]161.Data4[3]46.Data4[4]119.Data4[5]171.Data4[6]99.Data4[7]135tc_no_symbolunused;ST_Win32EventClassconst_non_replacedsuppress_warning_0C0228TcVarGlobal666244608TC_EVENT_CLASSES.LCLSGeneralEventClass128GUID.Data12546958919.Data246492.Data320012.Data4[0]180.Data4[1]176.Data4[2]115.Data4[3]80.Data4[4]208.Data4[5]71.Data4[6]20.Data4[7]87tc_no_symbolunused;ST_LCLSGeneralEventClassconst_non_replacedsuppress_warning_0C0228TcVarGlobal666244736TC_EVENTS.LCLSGeneralEventClass960ST_LCLSGeneralEventClasstc_no_symbolunusedconst_non_replacedsuppress_warning_0C0228TcVarGlobal66627507236PlcTask Retains284148224PMPS_GVL.SuccessfulPreemption32UDINTpytmc + + + + old_input_assignments + + + TcVarGlobal + + + 665743872 + + + Constants.bLittleEndian + Does the target support an FPU + 8 + BOOL + + 1 + + + + TcVarGlobal + + + 666218888 + + + Constants.RuntimeVersion + Does the target support an FPU + 64 + VERSION + + + .uiMajor + 3 + + + .uiMinor + 5 + + + .uiServicePack + 6 + + + .uiPatch + 0 + + + + + TcVarGlobal + + + 666218896 + + + Constants.CompilerVersion + Does the target support an FPU + 64 + VERSION + + + .uiMajor + 3 + + + .uiMinor + 5 + + + .uiServicePack + 10 + + + .uiPatch + 100 + + + + + TcVarGlobal + + + 666218960 + + + Constants.bSimulationMode + Does the target support an FPU + 8 + BOOL + + 0 + + + + TcVarGlobal + + + 666219024 + + + Constants.bFPUSupport + 8 + BOOL + + 1 + + + + TcVarGlobal + + + 666219032 + + + Constants.nRegisterSize + Does the target support an FPU + 16 + WORD + + 32 + + + + TcVarGlobal + + + 666219040 + + + Constants.nPackMode + Does the target support an FPU + 16 + UINT + + 8 + + + + TcVarGlobal + + + 666219056 + + + Constants.RuntimeVersionNumeric + 32 + DWORD + + 50660864 + + + + TcVarGlobal + + + 666219072 + + + Constants.CompilerVersionNumeric + 32 + DWORD + + 50661988 + + + + TcVarGlobal + + + 666219104 + + + TwinCAT_LicenseInfoVarList._LicenseInfo + 2048 + PlcLicenseInfo + + 1 + 2 + + + + [1].LicenseId.Data1 + 2004817304 + + + [1].LicenseId.Data2 + 22587 + + + [1].LicenseId.Data3 + 17667 + + + [1].LicenseId.Data4[0] + 153 + + + [1].LicenseId.Data4[1] + 187 + + + [1].LicenseId.Data4[2] + 124 + + + [1].LicenseId.Data4[3] + 2 + + + [1].LicenseId.Data4[4] + 224 + + + [1].LicenseId.Data4[5] + 171 + + + [1].LicenseId.Data4[6] + 217 + + + [1].LicenseId.Data4[7] + 126 + + + [1].Instances + 0 + + + [1].LicenseName + TF4100 TC3 Controller Toolbox + + + [2].LicenseId.Data1 + 3165056522 + + + [2].LicenseId.Data2 + 40161 + + + [2].LicenseId.Data3 + 19775 + + + [2].LicenseId.Data4[0] + 152 + + + [2].LicenseId.Data4[1] + 202 + + + [2].LicenseId.Data4[2] + 65 + + + [2].LicenseId.Data4[3] + 58 + + + [2].LicenseId.Data4[4] + 188 + + + [2].LicenseId.Data4[5] + 13 + + + [2].LicenseId.Data4[6] + 148 + + + [2].LicenseId.Data4[7] + 253 + + + [2].Instances + 0 + + + [2].LicenseName + TF6340 TC3 Serial-Communication + + + + + TcVarGlobal + + + 666219136 + + + TwinCAT_SystemInfoVarList._TaskInfo + 3072 + PlcTaskSystemInfo + + 1 + 3 + + + + no_init + + + TcVarGlobal + + + 666223232 + + + TwinCAT_SystemInfoVarList._TaskPouOid_PlcTask + 32 + OTCID + + + no_init + + + TcVarGlobal + + + 666226432 + + + TwinCAT_SystemInfoVarList._TaskOid_PlcTask + 32 + OTCID + + + no_init + + + TcVarGlobal + + + 666226464 + + + TwinCAT_SystemInfoVarList.__PlcTask + 704 + _Implicit_Task_Info + + + .dwVersion + 2 + + + + + TcContextName + PlcTask + + + TcVarGlobal + + + 666227904 + + + TC_EVENT_CLASSES.TcSystemEventClass + 11F7FC20-DBF4-4DAF-96C7-1FD6B6156B31 + 128 + GUID + + + .Data1 + 301464608 + + + .Data2 + 56308 + + + .Data3 + 19887 + + + .Data4[0] + 150 + + + .Data4[1] + 199 + + + .Data4[2] + 31 + + + .Data4[3] + 214 + + + .Data4[4] + 182 + + + .Data4[5] + 21 + + + .Data4[6] + 107 + + + .Data4[7] + 49 + + + + + tc_no_symbol + unused;ST_TcSystemEventClass + + + const_non_replaced + + + suppress_warning_0 + C0228 + + + TcVarGlobal + + + 666244096 + + + TC_EVENT_CLASSES.TcGeneralAdsEventClass + 98BCB284-F932-4EA4-B58B-68A1F1C34192 + 128 + GUID + + + .Data1 + 2562503300 + + + .Data2 + 63794 + + + .Data3 + 20132 + + + .Data4[0] + 181 + + + .Data4[1] + 139 + + + .Data4[2] + 104 + + + .Data4[3] + 161 + + + .Data4[4] + 241 + + + .Data4[5] + 195 + + + .Data4[6] + 65 + + + .Data4[7] + 146 + + + + + tc_no_symbol + unused;ST_TcGeneralAdsEventClass + + + const_non_replaced + + + suppress_warning_0 + C0228 + + + TcVarGlobal + + + 666244224 + + + TC_EVENT_CLASSES.TcRouterEventClass + E3D84344-4CB3-44DB-8D94-12F9CE0E2F90 + 128 + GUID + + + .Data1 + 3822601028 + + + .Data2 + 19635 + + + .Data3 + 17627 + + + .Data4[0] + 141 + + + .Data4[1] + 148 + + + .Data4[2] + 18 + + + .Data4[3] + 249 + + + .Data4[4] + 206 + + + .Data4[5] + 14 + + + .Data4[6] + 47 + + + .Data4[7] + 144 + + + + + tc_no_symbol + unused;ST_TcRouterEventClass + + + const_non_replaced + + + suppress_warning_0 + C0228 + + + TcVarGlobal + + + 666244352 + + + TC_EVENT_CLASSES.TcRTimeEventClass + B63588AE-B30A-4DCE-A44F-F929FB114944 + 128 + GUID + + + .Data1 + 3056961710 + + + .Data2 + 45834 + + + .Data3 + 19918 + + + .Data4[0] + 164 + + + .Data4[1] + 79 + + + .Data4[2] + 249 + + + .Data4[3] + 41 + + + .Data4[4] + 251 + + + .Data4[5] + 17 + + + .Data4[6] + 73 + + + .Data4[7] + 68 + + + + + tc_no_symbol + unused;ST_TcRTimeEventClass + + + const_non_replaced + + + suppress_warning_0 + C0228 + + + TcVarGlobal + + + 666244480 + + + TC_EVENT_CLASSES.Win32EventClass + 1D0C4BAC-ECF3-4F33-8F20-A12E77AB6387 + 128 + GUID + + + .Data1 + 487345068 + + + .Data2 + 60659 + + + .Data3 + 20275 + + + .Data4[0] + 143 + + + .Data4[1] + 32 + + + .Data4[2] + 161 + + + .Data4[3] + 46 + + + .Data4[4] + 119 + + + .Data4[5] + 171 + + + .Data4[6] + 99 + + + .Data4[7] + 135 + + + + + tc_no_symbol + unused;ST_Win32EventClass + + + const_non_replaced + + + suppress_warning_0 + C0228 + + + TcVarGlobal + + + 666244608 + + + TC_EVENT_CLASSES.LCLSGeneralEventClass + 97CF8247-B59C-4E2C-B4B0-7350D0471457 + 128 + GUID + + + .Data1 + 2546958919 + + + .Data2 + 46492 + + + .Data3 + 20012 + + + .Data4[0] + 180 + + + .Data4[1] + 176 + + + .Data4[2] + 115 + + + .Data4[3] + 80 + + + .Data4[4] + 208 + + + .Data4[5] + 71 + + + .Data4[6] + 20 + + + .Data4[7] + 87 + + + + + tc_no_symbol + unused;ST_LCLSGeneralEventClass + + + const_non_replaced + + + suppress_warning_0 + C0228 + + + TcVarGlobal + + + 666244736 + + + TC_EVENTS.LCLSGeneralEventClass + ST_LCLSGeneralEventClass + 960 + ST_LCLSGeneralEventClass + + + tc_no_symbol + unused + + + const_non_replaced + + + suppress_warning_0 + C0228 + + + TcVarGlobal + + + 666275072 + + + + 36 + PlcTask Retains + 2 + 84148224 + + PMPS_GVL.SuccessfulPreemption + Any time BPTM applies a new BP request which is confirmed + 32 + UDINT + + + pytmc + pv: @(PREFIX)SuccessfulPreemptions io: i - TcVarGlobal3072000PMPS_GVL.AccumulatedFF32UDINTpytmc + + + + TcVarGlobal + + + 3072000 + + + PMPS_GVL.AccumulatedFF + Any time a FF occurs + 32 + UDINT + + + pytmc + pv: @(PREFIX)AccumulatedFastFaults io: i - TcVarGlobal3072032PMPS_GVL.BP_jsonDoc32SJsonValueTcVarGlobal3072064TcSystemEventClassTcGeneralAdsEventClassTcRouterEventClassTcRTimeEventClassWin32EventClassLCLSGeneralEventClassApplicationNamePort_851ChangeDate2023-03-08T14:00:51GeneratedCodeSize737280GlobalDataSize82800640 \ No newline at end of file + + + + TcVarGlobal + + + 3072032 + + + PMPS_GVL.BP_jsonDoc + 32 + SJsonValue + + + TcVarGlobal + + + 3072064 + + + + + + + TcSystemEventClass + + + TcGeneralAdsEventClass + + + TcRouterEventClass + + + TcRTimeEventClass + + + Win32EventClass + + + LCLSGeneralEventClass + + + + + ApplicationName + Port_851 + + + ChangeDate + 2023-03-08T14:00:51 + + + GeneratedCodeSize + 737280 + + + GlobalDataSize + 82800640 + + + + +