From 66e18bdf75002b90512c93687019ed8634de8d09 Mon Sep 17 00:00:00 2001 From: nwaters Date: Thu, 20 Jun 2024 09:41:04 -0700 Subject: [PATCH 1/7] ENH: add MR1K3 as veto device for TMO --- lcls-plc-tmo-optics/tmo_optics/POUs/PRG_PMPS.TcPOU | 8 ++++++-- lcls-plc-tmo-optics/tmo_optics/tmo_optics.plcproj | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/lcls-plc-tmo-optics/tmo_optics/POUs/PRG_PMPS.TcPOU b/lcls-plc-tmo-optics/tmo_optics/POUs/PRG_PMPS.TcPOU index fc09b48..fd73421 100644 --- a/lcls-plc-tmo-optics/tmo_optics/POUs/PRG_PMPS.TcPOU +++ b/lcls-plc-tmo-optics/tmo_optics/POUs/PRG_PMPS.TcPOU @@ -1,5 +1,5 @@  - + @@ -33,6 +34,9 @@ bMR1K1_IN := PMPS.PMPS_GVL.stCurrentBeamParameters.aVetoDevices[PMPS.K_Stopper.M bST3K4_IN := PMPS.PMPS_GVL.stCurrentBeamParameters.aVetoDevices[PMPS.K_Stopper.ST3K4]; +bMR1K3_IN := PMPS.PMPS_GVL.stCurrentBeamParameters.aVetodevices[PMPS.K_Stopper.MR1K3_IN] + AND NOT PMPS.PMPS_GVL.stCurrentBeamParameters.aVetoDevices[PMPS.K_Stopper.MR1K3_OUT]; + fbArbiterIO(i_bVeto:= bMR1K1_IN, Arbiter := GVL_PMPS.g_fbArbiter1, fbFFHWO := GVL_PMPS.g_FastFaultOutput1); GVL_PMPS.g_FastFaultOutput2.i_xVeto := bMR1K1_IN OR bST3K4_IN; @@ -41,7 +45,7 @@ GVL_PMPS.g_FastFaultOutput2.Execute(); ffFFO2ToFFO1(i_xOK := GVL_PMPS.g_FastFaultOutput2.q_xFastFaultOut, io_fbFFHWO := GVL_PMPS.g_FastFaultOutput1); -GVL_PMPS.g_FastFaultOutput1.Execute(i_xVeto:= bMR1K1_IN); +GVL_PMPS.g_FastFaultOutput1.Execute(i_xVeto:= bMR1K1_IN OR bMR1K3_IN); fb_vetoArbiter(bVeto := GVL_PMPS.g_FastFaultOutput2.i_xVeto, HigherAuthority := GVL_PMPS.g_fbArbiter1, LowerAuthority:= GVL_PMPS.g_fbArbiter2, FFO:= GVL_PMPS.g_FastFaultOutput1);]]> diff --git a/lcls-plc-tmo-optics/tmo_optics/tmo_optics.plcproj b/lcls-plc-tmo-optics/tmo_optics/tmo_optics.plcproj index d54503e..a512409 100644 --- a/lcls-plc-tmo-optics/tmo_optics/tmo_optics.plcproj +++ b/lcls-plc-tmo-optics/tmo_optics/tmo_optics.plcproj @@ -171,7 +171,7 @@ lcls_twincat_motion - + PMPS From d635868019d549d31fe1ead229efe0ed7ce33153 Mon Sep 17 00:00:00 2001 From: nwaters Date: Thu, 20 Jun 2024 12:01:44 -0700 Subject: [PATCH 2/7] MNT: rebuild --- .../_Config/PLC/tmo_optics.xti | 34 +- .../tmo_optics/tmo_optics.plcproj | 2 +- lcls-plc-tmo-optics/tmo_optics/tmo_optics.tmc | 32550 ++++++++-------- 3 files changed, 16342 insertions(+), 16244 deletions(-) diff --git a/lcls-plc-tmo-optics/_Config/PLC/tmo_optics.xti b/lcls-plc-tmo-optics/_Config/PLC/tmo_optics.xti index d01ecb6..5402c0a 100644 --- a/lcls-plc-tmo-optics/_Config/PLC/tmo_optics.xti +++ b/lcls-plc-tmo-optics/_Config/PLC/tmo_optics.xti @@ -1349,7 +1349,7 @@ External Setpoint Generation: - + tmo_optics Instance {08500001-0000-0000-F000-000000000064} @@ -2501,18 +2501,6 @@ External Setpoint Generation: Main.bM3K4DS_RTD_3_Err BOOL - - PRG_PMPS.fbArbiterIO.i_stCurrentBP - ST_BeamParams_IO - - - PRG_PMPS.fbArbiterIO.xTxPDO_toggle - BIT - - - PRG_PMPS.fbArbiterIO.xTxPDO_state - BIT - PRG_MR1K4_SOMS.fbCoolingPanel.fbFlow_1.iRaw @@ -2703,6 +2691,18 @@ External Setpoint Generation: GVL_M5K4_RTD.nM5K4_Chin_Tail_RTD.iRaw INT + + PRG_PMPS.fbArbiterIO.i_stCurrentBP + ST_BeamParams_IO + + + PRG_PMPS.fbArbiterIO.xTxPDO_toggle + BIT + + + PRG_PMPS.fbArbiterIO.xTxPDO_state + BIT + PlcTask Outputs @@ -3005,10 +3005,6 @@ External Setpoint Generation: Main.fbMotionStageM24.fbDriveVirtual.MasterAxis.PlcToNc PLCTONC_AXIS_REF - - PRG_PMPS.fbArbiterIO.q_stRequestedBP - ST_BeamParams_IO - PRG_MR1K4_SOMS.bActivateVarCool BOOL @@ -3021,6 +3017,10 @@ External Setpoint Generation: GVL_PMPS.g_FastFaultOutput2.q_xFastFaultOut BOOL + + PRG_PMPS.fbArbiterIO.q_stRequestedBP + ST_BeamParams_IO + PlcTask Retains diff --git a/lcls-plc-tmo-optics/tmo_optics/tmo_optics.plcproj b/lcls-plc-tmo-optics/tmo_optics/tmo_optics.plcproj index a512409..4ccd5de 100644 --- a/lcls-plc-tmo-optics/tmo_optics/tmo_optics.plcproj +++ b/lcls-plc-tmo-optics/tmo_optics/tmo_optics.plcproj @@ -189,7 +189,7 @@ lcls2-cc-lib, 2.0.0 (SLAC) - PMPS, 3.0.14 (SLAC - LCLS) + PMPS, 3.3.0 (SLAC - LCLS) Tc2_MC2, 3.3.42.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 40ffbf7..d7de46f 100644 --- a/lcls-plc-tmo-optics/tmo_optics/tmo_optics.tmc +++ b/lcls-plc-tmo-optics/tmo_optics/tmo_optics.tmc @@ -1,5 +1,5 @@ - + ComSerialLineMode_t @@ -12951,7 +12951,7 @@ Duration DINT - DINT to be compatible with EPICS + DINT to be compatible with EPICS 32 0 @@ -12967,7 +12967,7 @@ Expiration DINT - DINT to be compatible with EPICS + DINT to be compatible with EPICS 32 32 @@ -12983,7 +12983,7 @@ StartDT DINT - DINT to be compatible with EPICS + DINT to be compatible with EPICS 32 64 @@ -13029,7 +13029,7 @@ ElapsedTime DINT - DINT to be compatible with EPICS + DINT to be compatible with EPICS 32 128 @@ -13045,7 +13045,7 @@ RemainingTime DINT - DINT to be compatible with EPICS + DINT to be compatible with EPICS 32 160 @@ -19331,7 +19331,7 @@ Fast Fault 2019-9-13 A. Wallace -Use this block to generate a beam-off fault. Connects to a fast fault hardware output +Use this block to generate a beam-off fault. Connects to a fast fault hardware output 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 @@ -19945,9 +19945,9 @@ contributing fast faults, unless the FFO is currently vetoed. pytmc pv: Transmission io: i - field: HOPR 1; - field: LOPR 0; - field: PREC 2; + field: HOPR 1; + field: LOPR 0; + field: PREC 2; @@ -55783,6761 +55783,7578 @@ External Setpoint Generation: - 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 - - - - + FB_Axilon_Cooling_2f1p + 1216 + FB_Axilon_Cooling_1f1p - stBeamParams - ST_BeamParams - Beam parameters associated with this state - 1760 - 672 + fFlow_2_val + LREAL + 64 + 832 - pytmc - - pv: BP - io: i - + ItemType + Output - - - - bBeamParamsLoaded - BOOL - Set to TRUE once the PMPS library has loaded a valid state from the database - 8 - 2432 - pytmc - pv: PMPS_LOADED + pv: FWM:2 + field: EGU lpm + field: HIGH 2.3 + field: HIHI 3.0 + field: LOW 1.7 + field: LOLO 1.5 + field: LSV MINOR + field: LLSV MAJOR + field: HSV MINOR + field: HHSV MAJOR io: i - field: DESC TRUE if PMPS loaded parameters from the database. - nRequestAssertionID - UDINT - Transition ID associated with this state - 32 - 2464 - - - pytmc - - pv: PMPS_ID - io: i - field: DESC Assertion Request ID - - - + fbFlow_2 + FB_AnalogInput + 320 + 896 + + + PouType + FunctionBlock + + - ST_PositionState - 3648 + FB_TempSensor + 256 - sName - STRING(80) - Name as queried via the NAME PV in EPICS - 648 - 0 + fResolution + LREAL + Resolution parameter from the Beckhoff docs. Default is 0.1 for 0.1 degree resolution + 64 + 64 - Invalid + 0.1 - pytmc - - pv: NAME - io: input - field: DESC Name of this position state - + ItemType + Input - fPosition + fTemp LREAL - Position associated with this state 64 - 704 + 128 - pytmc - - pv: SETPOINT - io: io - field: DESC Axis position associated with this state - + ItemType + Output - - - - nEncoderCount - UDINT - 32 - 768 - pytmc - pv: ENCODER - io: i - field: DESC Encoder count associated with this state + pv: TEMP + io: input + field: EGU C + field: PREC 2 - fDelta - LREAL - Maximum allowable deviation from fPosition while at the state - 64 - 832 - - - fVelocity - LREAL - Speed at which to move to this state - 64 - 896 + bConnected + BOOL + 8 + 192 + + ItemType + Output + pytmc - pv: VELO - io: io - field: DESC Speed at which to move to this state + pv: CONN + io: input + field: ONAM Connected + field: ZNAM Disconnected - fAccel - LREAL - (optional) Acceleration to use for moves to this state - 64 - 960 - - - fDecel - LREAL - (optional) Deceleration to use for moves to this state - 64 - 1024 - - - bMoveOk + bError 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 + 200 + + true + + + ItemType + Output + pytmc - pv: MOVE_OK - io: i - field: ZNAM FALSE - field: ONAM TRUE - field: DESC TRUE if the move would be safe + pv: ERR + io: input + field: ONAM True + field: ZNAM False - - - - bLocked - BOOL - Signifies to FB_PositionStateLock that this state should be immutable - 8 - 1096 - - - 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 - - - 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 - - - - E_MotionRequest - 16 - INT - - WAIT - 0 - - - INTERRUPT - 1 - - - ABORT - 2 - - - - qualified_only - - - strict - - - - - FB_MotionRequest - 1600 - - stMotionStage - ST_MotionStage - Motor to move - 32 - 32 - - ItemType - InOut + TcAddressType + Input - bExecute + bUnderrange BOOL - Start move on rising edge, stop move on falling edge 8 - 64 + 208 ItemType + Output + + + TcAddressType Input - bReset + bOverrange BOOL - Reset errors on rising edge 8 - 72 + 216 ItemType + Output + + + TcAddressType Input - enumMotionRequest - E_MotionRequest - Define behavior for when the motor is already moving + iRaw + INT 16 - 80 - - E_MotionRequest.WAIT - + 224 - ItemType + TcAddressType Input + + + PouType + FunctionBlock + + + + + VERSION + 64 - fPos - LREAL - Goal position - 64 - 128 - - - ItemType - Input - - + uiMajor + UINT + 16 + 0 - fVel - LREAL - Move velocity - 64 - 192 - - - ItemType - Input - - + uiMinor + UINT + 16 + 16 - fAcc - LREAL - Optional acceleration - 64 - 256 - - - ItemType - Input - - + uiServicePack + UINT + 16 + 32 - fDec - LREAL - Optional deceleration - 64 - 320 - - - ItemType - Input - - + uiPatch + UINT + 16 + 48 + + + PlcLicenseInfo + 1024 - bError - BOOL - True if in error state - 8 - 384 - - - ItemType - Output - - + LicenseId + GUID + 128 + 0 - nErrorId - UDINT - Error code + Instances + UDINT 32 - 416 - - - ItemType - Output - - + 128 - sErrorMessage - STRING(80) - What the error code means - 648 - 448 - - - ItemType - Output - - + LicenseName + STRING(95) + 768 + 256 + + + PlcTaskSystemInfo + 1024 - bBusy - BOOL - If TRUE, we are moving the motor - 8 - 1096 - - - ItemType - Output - - + ObjId + OTCID + 32 + 0 - bDone - BOOL - If TRUE, we are not moving the motor and our most recent move was successful - 8 - 1104 - - - ItemType - Output - - + CycleTime + UDINT + 32 + 32 - rtExec - R_TRIG - 64 - 1120 + Priority + UINT + 16 + 64 - ftExec - F_TRIG - 64 - 1184 + AdsPort + UINT + 16 + 80 - rtReset - R_TRIG - 64 - 1248 + CycleCount + UDINT + 32 + 96 - ftBusy - F_TRIG + DcTaskTime + LINT 64 - 1312 + 128 - nState - UINT - 16 - 1376 - - 0 - + LastExecTime + UDINT + 32 + 192 - bMyMove - BOOL + FirstCycle + BOOL 8 - 1392 + 224 - bCausedError - BOOL + CycleTimeExceeded + BOOL 8 - 1400 + 232 - INIT - UINT - 16 - 1408 - - 0 - - - - WAIT_EXEC - UINT - 16 - 1424 - - 1 - - - - PICK_REQUEST - UINT - 16 - 1440 - - 2 - - - - WAIT_OTHER_MOVE - UINT - 16 - 1456 - - 3 - + InCallAfterOutputUpdate + BOOL + 8 + 240 - STOP_OTHER_MOVE - UINT - 16 - 1472 - - 4 - + RTViolation + BOOL + 8 + 248 - START_MOVE - UINT - 16 - 1488 - - 5 - + TaskName + STRING(63) + 512 + 512 + + + + + + + TcSystemEventClass + TcSystemEventClass + + InternalError + Internal error. + Error + + + NoRTime + No real-time. + Error + + + AllocationLockedMemoryError + Allocation locked – memory error. + Error + + + InsertMailboxError + Mailbox full – the ADS message could not be sent. Reducing the number of ADS messages per cycle will help. + Error + + + WrongReceiveHMSG + Wrong HMSG. + Error + + + TargetPortNotFound + Target port not found – ADS server is not started or is not reachable. + Error + + + TargetMachineNotFound + Target computer not found – AMS route was not found. + Error + + + UnknownCommandID + Unknown command ID. + Error + + + BadTaskID + Invalid task ID. + Error + + + NoIO + No IO. + Error + + + UnknownAdsCommand + Unknown AMS command. + Error + + + Win32Error + Win32 error. + Error + + + PortNotConnected + Port not connected. + Error + + + InvalidAdsLength + Invalid AMS length. + Error + + + InvalidAdsNetID + Invalid AMS Net ID. + Error + + + LowInstallationLevel + Low installation level – TwinCAT 2 license error. + Error + + + NoDebugAvailable + No debugging available. + Error + + + PortDisabled + Port disabled – TwinCAT system service not started. + Error + + + PortAlreadyConnected + Port already connected. + Error + + + AdsSyncWin32Error + AMS Sync Win32 error. + Error + + + AdsSyncTimeout + AMS Sync Timeout. + Error + + + AdsSyncAmsError + AMS Sync error. + Error + + + AdsSyncNoIndexMap + No index map for AMS Sync available. + Error + + + InvalidAdsPort + Invalid AMS port. + Error + + + NoMemory + No memory. + Error + + + TCPSendError + TCP send error. + Error + + + HostUnreachable + Host unreachable. + Error + + + InvalidAMSFragment + Invalid AMS fragment. + Error + + + AdsSecTLSSendError + TLS send error – secure ADS connection failed. + Error + + + AdsSecAccessDenied + Access denied – secure ADS access denied. + Error + + + + Interner Fehler. + + + Keine Echtzeit. + + + Zuweisung gesperrt - Speicherfehler. + + + Postfach voll – Es konnte die ADS Nachricht nicht versendet werden. Reduzieren der Anzahl der ADS Nachrichten pro Zyklus bringt Abhilfe. + + + Falsches HMSG. + + + Ziel-Port nicht gefunden – ADS Server ist nicht gestartet oder erreichbar. + + + Unbekannte Befehl-ID. + + + Ungültige Task-ID. + + + Kein IO. + + + Unbekannter AMS-Befehl. + + + Win32 Fehler. + + + Port nicht verbunden. + + + Ungültige AMS-Länge. + + + Ungültige AMS Net ID. + + + Installations-Level ist zu niedrig – TwinCAT 2 Lizenzfehler. + + + Kein Debugging verfügbar. + + + Port deaktiviert – TwinCAT System Service nicht gestartet. + + + Port bereits verbunden. + + + AMS Sync Win32 Fehler. + + + AMS Sync Timeout. + + + AMS Sync Fehler. + + + Keine Index-Map für AMS Sync vorhanden. + + + Ungültiger AMS-Port. + + + Kein Speicher. + + + TCP Sendefehler. + + + Host nicht erreichbar. + + + Ungültiges AMS Fragment. + + + TLS Sendefehler – Secure ADS Verbindung fehlgeschlagen. + + + Zugriff Verweigert – Secure ADS Zugriff verweigert. + + + + + + + + + + + ST_TcSystemEventClass + 5760 - WAIT_MY_MOVE - UINT - 16 - 1504 + InternalError + TcEventEntry + 192 + 0 - 6 + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.InternalError + + + .eSeverity + TcEventSeverity.Error + - STOP_MY_MOVE - UINT - 16 - 1520 + NoRTime + TcEventEntry + 192 + 192 - 7 + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.NoRTime + + + .eSeverity + TcEventSeverity.Error + - DONE_MOVING - UINT - 16 - 1536 + AllocationLockedMemoryError + TcEventEntry + 192 + 384 - 8 + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.AllocationLockedMemoryError + + + .eSeverity + TcEventSeverity.Error + - ERROR - UINT - 16 - 1552 + InsertMailboxError + TcEventEntry + 192 + 576 - 9 - - - - - PouType - FunctionBlock - - - - - FB_PositionStateMove - 2688 + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.InsertMailboxError + + + .eSeverity + TcEventSeverity.Error + + + - stMotionStage - ST_MotionStage - Motor to move - 32 - 32 - - - ItemType - InOut - - + WrongReceiveHMSG + TcEventEntry + 192 + 768 + + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.WrongReceiveHMSG + + + .eSeverity + TcEventSeverity.Error + + - stPositionState - ST_PositionState - State to move to - 32 - 64 - - - ItemType - InOut - - - pytmc - - pv: - - - + TargetPortNotFound + TcEventEntry + 192 + 960 + + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.TargetPortNotFound + + + .eSeverity + TcEventSeverity.Error + + - 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 - - - + TargetMachineNotFound + TcEventEntry + 192 + 1152 + + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.TargetMachineNotFound + + + .eSeverity + TcEventSeverity.Error + + - bReset - BOOL - Rising edge error reset - 8 - 104 - - - ItemType - Input - - - pytmc - - pv: RESET - io: io - field: ZNAM False - field: ONAM True - - - + UnknownCommandID + TcEventEntry + 192 + 1344 + + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.UnknownCommandID + + + .eSeverity + TcEventSeverity.Error + + - enumMotionRequest - E_MotionRequest - Define behavior for when a move is already active - 16 - 112 + BadTaskID + TcEventEntry + 192 + 1536 - E_MotionRequest.WAIT + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.BadTaskID + + + .eSeverity + TcEventSeverity.Error + - - - 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 - - - + NoIO + TcEventEntry + 192 + 1728 + + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.NoIO + + + .eSeverity + TcEventSeverity.Error + + - bError - BOOL - TRUE if we have an error - 8 - 136 - - - ItemType - Output - - - pytmc - - pv: ERR - io: input - field: ZNAM False - field: ONAM True - - - - - - nErrorID - UDINT - Error code - 32 - 160 - - - ItemType - Output - - - pytmc - - pv: ERRID - io: input - - - + UnknownAdsCommand + TcEventEntry + 192 + 1920 + + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.UnknownAdsCommand + + + .eSeverity + TcEventSeverity.Error + + - sErrorMessage - STRING(80) - Error description - 648 - 192 - - - ItemType - Output - - - pytmc - - pv: ERRMSG - io: input - - - + Win32Error + TcEventEntry + 192 + 2112 + + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.Win32Error + + + .eSeverity + TcEventSeverity.Error + + - 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 - - - + PortNotConnected + TcEventEntry + 192 + 2304 + + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.PortNotConnected + + + .eSeverity + TcEventSeverity.Error + + - bDone - BOOL - TRUE if we are not 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 - - - + InvalidAdsLength + TcEventEntry + 192 + 2496 + + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.InvalidAdsLength + + + .eSeverity + TcEventSeverity.Error + + - fbMotionRequest - FB_MotionRequest - 1600 - 896 + InvalidAdsNetID + TcEventEntry + 192 + 2688 + + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.InvalidAdsNetID + + + .eSeverity + TcEventSeverity.Error + + - rtExec - R_TRIG - 64 - 2496 + LowInstallationLevel + TcEventEntry + 192 + 2880 + + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.LowInstallationLevel + + + .eSeverity + TcEventSeverity.Error + + - rtReset - R_TRIG - 64 - 2560 + NoDebugAvailable + TcEventEntry + 192 + 3072 + + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.NoDebugAvailable + + + .eSeverity + TcEventSeverity.Error + + - bInnerExec - BOOL - 8 - 2624 - - - bAllowMove - BOOL - 8 - 2632 - - - nLatchAllowErrorID - UDINT - 32 - 2656 - - - - PouType - FunctionBlock - - - - - FB_RawCountConverter - 8576 - - stParameters - ST_AxisParameterSet - Parameters to check against - 8192 - 64 - - - ItemType - Input - - + PortDisabled + TcEventEntry + 192 + 3264 + + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.PortDisabled + + + .eSeverity + TcEventSeverity.Error + + - nCountCheck - UDINT - Optional count to convert to a real position - 32 - 8256 - - - ItemType - Input - - + PortAlreadyConnected + TcEventEntry + 192 + 3456 + + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.PortAlreadyConnected + + + .eSeverity + TcEventSeverity.Error + + - fPosCheck - LREAL - Optional position to convert to encoder counts - 64 - 8320 - - - ItemType - Input - - + AdsSyncWin32Error + TcEventEntry + 192 + 3648 + + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.AdsSyncWin32Error + + + .eSeverity + TcEventSeverity.Error + + - nCountGet - UDINT - If converting position, the number of counts - 32 - 8384 - - - ItemType - Output - - + AdsSyncTimeout + TcEventEntry + 192 + 3840 + + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.AdsSyncTimeout + + + .eSeverity + TcEventSeverity.Error + + - fPosGet - LREAL - If converting counts, the position - 64 - 8448 - - - ItemType - Output - - + AdsSyncAmsError + TcEventEntry + 192 + 4032 + + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.AdsSyncAmsError + + + .eSeverity + TcEventSeverity.Error + + - bBusy - BOOL - True during a parameter get/calc - 8 - 8512 - - - ItemType - Output - - + AdsSyncNoIndexMap + TcEventEntry + 192 + 4224 + + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.AdsSyncNoIndexMap + + + .eSeverity + TcEventSeverity.Error + + - bDone - BOOL - True after a successful get/calc - 8 - 8520 - - - ItemType - Output - - + InvalidAdsPort + TcEventEntry + 192 + 4416 + + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.InvalidAdsPort + + + .eSeverity + TcEventSeverity.Error + + - bError - BOOL - True if the calculation errored - 8 - 8528 - - - ItemType - Output - - - - - - PouType - FunctionBlock - - - - - FB_PositionStateLock - 3840 - - stPositionState - ST_PositionState - 32 - 32 - - - ItemType - InOut - - - - - bEnable - BOOL - 8 - 64 - - - ItemType - Input - - - - - stCachedPositionState - ST_PositionState - 3648 - 128 + NoMemory + TcEventEntry + 192 + 4608 + + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.NoMemory + + + .eSeverity + TcEventSeverity.Error + + - bInit - BOOL - 8 - 3776 + TCPSendError + TcEventEntry + 192 + 4800 - false + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.TCPSendError + + + .eSeverity + TcEventSeverity.Error + - - - PouType - FunctionBlock - - - - - FB_PositionStateInternal - 12544 - stMotionStage - ST_MotionStage - 32 - 32 - - - ItemType - InOut - - + HostUnreachable + TcEventEntry + 192 + 4992 + + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.HostUnreachable + + + .eSeverity + TcEventSeverity.Error + + - stPositionState - ST_PositionState - 32 - 64 - - - ItemType - InOut - - + InvalidAMSFragment + TcEventEntry + 192 + 5184 + + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.InvalidAMSFragment + + + .eSeverity + TcEventSeverity.Error + + - fbEncConverter - FB_RawCountConverter - 8576 - 128 + AdsSecTLSSendError + TcEventEntry + 192 + 5376 + + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.AdsSecTLSSendError + + + .eSeverity + TcEventSeverity.Error + + - fbLock - FB_PositionStateLock - 3840 - 8704 + AdsSecAccessDenied + TcEventEntry + 192 + 5568 + + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.AdsSecAccessDenied + + + .eSeverity + TcEventSeverity.Error + + - PouType - FunctionBlock + TcTypeSystem + + + signature_flag + 33554432 + + + checksuperglobal + + + show + + + no-analysis + + + TcEventClass + TcSystemEventClass - FB_PositionStateBase - 253952 - - stMotionStage - ST_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 - - - - - - bError - BOOL - If TRUE, there is an error - 8 - 80 - - - ItemType - Output - - - pytmc - - pv: ERR - io: i - field: ZNAM False - field: ONAM True - - - - - - nErrorId - UDINT - Error ID - 32 - 96 - - - ItemType - Output - - - pytmc - - pv: ERRID - io: i - - - - - - sErrorMessage - STRING(80) - The error that caused bError to flip TRUE - 648 - 128 - - - ItemType - Output - - - pytmc - - pv: ERRMSG - io: i - - - - - - bBusy - BOOL - If TRUE, we are moving the motor - 8 - 776 - - - ItemType - Output - - - pytmc - - pv: BUSY - io: i - field: ZNAM False - field: ONAM True - - - - - - 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 - - - - - - arrStates - ST_PositionState - - 1 - 15 - - Pre-allocated array of states - 54720 - 832 - - - pytmc - - pv: - io: io - expand: %.2d - - - - - - 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 - ST_PositionState - 3648 - 55616 - - - stGoal - ST_PositionState - 3648 - 59264 - - - fbStateMove - FB_PositionStateMove - 2688 - 62912 - - - fbStateInternal - FB_PositionStateInternal - - 1 - 15 - - 188160 - 65600 - - - nIndex - INT - 16 - 253760 - - - bNewGoal - BOOL - 8 - 253776 - - - bInnerExec - BOOL - 8 - 253784 - - - bInnerReset - BOOL - 8 - 253792 - - - rtReset - R_TRIG - 64 - 253824 - - - bMoveRequested - BOOL - 8 - 253888 - - - Exec - - - StateHandler - - - - PouType - FunctionBlock - - - obsolete - Use FB_PositionState1D instead - - - - - I_HigherAuthority - 32 - PVOID - - CheckRequest - Verify with this higher authority that the request is being included - BOOL - 8 - - nReqID - DWORD - 32 - - - - RemoveRequest - Remove the request from this higher authority - BOOL - 8 - - nReqID - StateID to remove - DWORD - 32 - - - - RequestBP - Request a BP from this higher authority - 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 - <Arbiter Internal> - Elevates the arbitrated BP set to something above. - Could be another arbiter, or a BP requester/ IO, - or an FB that locks in a specific portion of the BP set. - BOOL - 8 - - HigherAuthority - I_HigherAuthority - 32 - - - - - T_HashTableEntry - 64 - - key - DWORD - 32 - 0 - - 0 - - - - pytmc - - pv: Key - io: i - - - - - - value - PVOID - 32 - 32 - - 0 - - - - - ST_BP_ArbInternal - 2464 - ST_BeamParams - - nId - DWORD - 32 - 1760 - - - pytmc - pv: ID - io: i - - - - - - LiveInTable - BOOL - 8 - 1792 - - - pytmc - pv: Live - io: i - - - - - - sDevName - STRING(80) - 648 - 1800 - - - pytmc - pv: Device - io: i - - - - - - - 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 - - false - - - - 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 - - false - - - - 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 - - - - - - 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: -- Provide a simple interface for devices to request beam parameter sets -- Provide a way for devices to verify their BPS is active in the arbiter -- Provide a way for devices remove their requests from evaluation -- Evaluate all active beam parameter requests registered with the aribiter, -to determine the safest combination of all sets, provide this set as an output. -- Do all of this with minimal overhead - -To these ends, the arbiter uses a hash-table, the rows being a state-id as the key, and a corresponding - beam parameter set to be evaluated against all the other sets (or rows), in the table. - -The hash table can be thought of as an array on steriods, they are worth reading about, suffice to say -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. - - 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 - - - - - - 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. - - - - - - 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 - - - - - - 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 - - false - - - - 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_xStateIDFound - BOOL - Set true if a state-id is found in the assertion pool after calling A_VerifyAssertion - 8 - 228448 - - - ItemType - Output - - - - - __FB_ARBITER__GETARBITRATEDBP__XFIRSTPASS - BOOL - 8 - 228456 - - : u - - - - __FB_ARBITER__GETARBITRATEDBP__FBGETCURTASKIDX - GETCURTASKINDEX - 128 - 228480 - - - __FB_ARBITER__GETARBITRATEDBP__LASTCYCLECOUNT - UDINT - 32 - 228608 - - - __FB_ARBITER__GETARBITRATEDBP__FBLOGMESSAGE - FB_LogMessage - 81984 - 228672 - - - __FB_ARBITER__ADDREQUEST__FBLOG - FB_LogMessage - 81984 - 310656 - - - __FB_ARBITER__REMOVEREQUEST__FBLOG - FB_LogMessage - 81984 - 392640 - - - __getnEntryCount - How many entries are in the arbiter now - UDINT - 32 - - nEntryCount - UDINT - 32 - - - - property - - - - - CheckRequest - Checks request ID is included in arbitration all the way to the accelerator interface -Use like so: -IF fbArbiter.CheckRequest(nStateIDAssertionToCheck) AND (other logic) THEN: - Request is found and active in arbitration,. Do something. -ELSE: - Request was not found, or is not yet included in arbitration. Don't do something/ wait. - - - BOOL - 8 - - nReqID - DWORD - 32 - - - BP - ST_BeamParams - 1760 - - - - ElevateRequest - <Arbiter Internal> - Elevates the arbitrated BP set to something above. - Could be another arbiter, or a BP requester/ IO, - or an FB that locks in a specific portion of the BP set. - BOOL - 8 - - HigherAuthority - I_HigherAuthority - 32 - - - - GetArbitratedBP - Executes Arbitration between all requested beam parameter sets - 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 - __FB_ARBITER__GETARBITRATEDBP__XFIRSTPASS - - - - - fbGetCurTaskIdx - GETCURTASKINDEX - 128 - - - uselocation - __FB_ARBITER__GETARBITRATEDBP__FBGETCURTASKIDX - - - - - LastCycleCount - UDINT - 32 - - - uselocation - __FB_ARBITER__GETARBITRATEDBP__LASTCYCLECOUNT - - - - - fbLogMessage - FB_LogMessage - 81984 - - - uselocation - __FB_ARBITER__GETARBITRATEDBP__FBLOGMESSAGE - - - - - - ArbitrateBP - Kernel of the arbiter - Logic for determining which beam parameter is the most conservative across all request sets. - 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 - Adds a request to the arbiter pool. - Returns true if the request was successfully added, false if not enough space or a request with the same ID is already present. - 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 - __FB_ARBITER__ADDREQUEST__FBLOG - - - - - - RemoveRequest - Removes request from abritration. - BOOL - 8 - - nReqId - DWORD - 32 - - - fbLog - FB_LogMessage - 81984 - - - uselocation - __FB_ARBITER__REMOVEREQUEST__FBLOG - - - - - BP_Int - ST_BP_ArbInternal - 2464 - - - - CheckRequestInPool - Verify request is at least in the local arbiter - Does not verify request has been included in arbitration. - Use CheckRequest instead. - 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 - ST_MotionStage - 32 - 32 - - - ItemType - InOut - - - - - arrStates - ST_PositionState - - 1 - 15 - - 32 - 64 - - - ItemType - InOut - - - - - bArbiterEnabled - BOOL - 8 - 96 - - true - - - - ItemType - Input - - - - - bMaintMode - BOOL - 8 - 104 - - - ItemType - Input - - - pytmc - - pv: MAINT - io: io - - - - - - 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 - - T#1s - - - - ItemType - Input - - - - - bMoveOnArbiterTimeout - BOOL - 8 - 288 - - true - - - - 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 - - - - - - stTransitionBeam - ST_BeamParams - 1760 - 2848 - - - stTransitionState - ST_PositionState - 3648 - 4608 - - - bInit - BOOL - 8 - 8256 - - true - - - - 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 - ST_PositionState - 3648 - 8896 - - - mcPower - MC_Power - 768 - 12544 - - - fUpperBound - LREAL - 64 - 13312 - - - fLowerBound - LREAL - 64 - 13376 - - - nGoalState - INT - 16 - 13440 - - - stGoalState - ST_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 - ST_PositionState - 3648 - - - - GetStateCode - INT - 16 - - nState - INT - 16 - - - - GetStateStruct - ST_PositionState - 3648 - - nState - INT - 16 - - - - - PouType - FunctionBlock - - - obsolete - Use FB_PositionStatePMPS1D instead - - + TcGeneralAdsEventClass + TcGeneralAdsEventClass + + GeneralDeviceError + General device error. + Error + + + ServiceNotSupported + Service is not supported by the server. + Error + + + InvalidIndexGroup + Invalid index group. + Error + + + InvalidIndexOffset + Invalid index offset. + Error + + + InvalidAccess + Reading or writing is not permitted. + Error + + + InvalidSize + Parameter size is not correct. + Error + + + InvalidData + Invalid data value(s). + Error + + + NotReady + Device is not ready to operate. + Error + + + Busy + Device is busy. + Error + + + InvalidContext + Invalid operating system context. This can result from use of ADS function blocks in different tasks. + Error + + + NoMemory + Insufficient memory. + Error + + + InvalidParam + Invalid parameter value(s). + Error + + + NotFound + Not found (files, ...). + Error + + + Syntax + Syntax error in file or command. + Error + + + Incompatible + Objects do not match. + Error + + + AlreadyExists + Object already exists. + Error + + + SymbolNotFound + Symbol was not found. + Error + + + SymbolVersionInvalid + Invalid symbol version. This can occur due to an online change. Create a new handle. + Error + + + InvalidState + Device (server) is in invalid state. + Error + + + TransModeNotSupported + AdsTransMode is not supported. + Error + + + NotificationHandleInvalid + Notification handle is invalid. + Error + + + ClientUnknown + Notification client is not registered. + Error + + + NoMoreHandles + No further notification handles. + Error + + + InvalidWatchSize + Notification size too large. + Error + + + NotInit + Device is not initialized. + Error + + + DeviceTimeout + Device has a timeout. + Error + + + NoInterface + Interface query failed. + Error + + + InvalidInterface + Wrong interface is requested. + Error + + + InvalidClassID + Class ID is invalid. + Error + + + InvalidObjectID + Object ID is invalid. + Error + + + Pending + Request pending. + Error + + + Aborted + Request is aborted. + Error + + + SignalWarning + Signal warning. + Error + + + InvalidArrayIndex + Invalid array index. + Error + + + SymbolNotActive + Symbol is not active. + Error + + + AccessDenied + Access denied. + Error + + + LicenseMissing + Missing license. + Error + + + LicenseExpired + License is expired. + Error + + + LicenseExceeded + License is exceeded. + Error + + + LicenseInvalid + License is invalid. + Error + + + LicenseSystemID + License problem: System ID is invalid. + Error + + + LicenseNoTimeLimit + License not limited in time. + Error + + + LicenseFutureIssue + License problem: Time in the future. + Error + + + LicenseTimeTooLong + License time period is too long. + Error + + + Exception + Exception at system startup. + Error + + + LicenseDuplicated + License file is read twice. + Error + + + SignatureInvalid + Invalid signature. + Error + + + CertificateInvalid + Invalid certificate. + Error + + + LicenseOEMNotFound + Public key not known from OEM. + Error + + + LicenseRestricted + License not valid for this system ID. + Error + + + LicenseDemoDenied + Demo license prohibited. + Error + + + InvalidFunctionID + Invalid function ID. + Error + + + OutOfRange + Outside the valid range. + Error + + + InvalidAlignment + Invalid alignment. + Error + + + LicensePlatform + Invalid platform level. + Error + + + ForwardPassiveLevel + Context – forward to passive level. + Error + + + ForwardDispatchLevel + Context – forward to dispatch level. + Error + + + ForwardRealTime + Context – forward to real-time. + Error + + + InvalidServiceParam + Service contains an invalid parameter. + 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 has occurred – the remote terminal is not responding in the specified ADS timeout. + Error + + + Win32Error + Error in Win32 subsystem + Error + + + TimeoutInvalid + Invalid client timeout value. + Error + + + PortNotOpen + Port is not open. + Error + + + NoAMSAddr + No AMS address. + Error + + + SyncInternalError + Internal error in Ads sync. + Error + + + AddHash + Hash table overflow. + Error + + + RemoveHash + Key not found in hash table. + Error + + + NoMoreSymbols + No symbols in the cache. + Error + + + SyncResInvalid + Invalid response received + Error + + + SyncPortLocked + Sync port is locked. + Error + + + + Allgemeiner Gerätefehler. + + + Service wird vom Server nicht unterstützt. + + + Ungültige Index-Gruppe. + + + Ungültiger Index-Offset. + + + Lesen oder Schreiben ist nicht gestattet. + + + Parametergröße ist nicht korrekt. + + + Ungültige Daten-Werte. + + + Gerät ist nicht betriebsbereit. + + + Gerät ist beschäftigt. + + + Ungültiger Kontext vom Betriebssystem. Kann durch Verwendung von ADS Bausteinen in unterschiedlichen Tasks auftreten. + + + Nicht genügend Speicher. + + + Ungültige Parameter-Werte. + + + Nicht gefunden (Dateien,...). + + + Syntax-Fehler in Datei oder Befehl. + + + Objekte stimmen nicht überein. + + + Objekt ist bereits vorhanden. + + + Symbol nicht gefunden. + + + Symbol-Version ist ungültig. Kann durch einen Online-Change auftreten. Erzeuge einen neuen Handle. + + + Gerät (Server) ist im ungültigen Zustand. + + + AdsTransMode wird nicht unterstützt. + + + Notification Handle ist ungültig. + + + Notification-Client nicht registriert. + + + Keine weiteren Notification Handles. + + + Größe der Notification zu groß. + + + Gerät ist nicht initialisiert. + + + Gerät hat einen Timeout. + + + Interface Abfrage fehlgeschlagen. + + + Falsches Interface angefordert. + + + Class-ID ist ungültig. + + + Object-ID ist ungültig. + + + Anforderung steht aus. + + + Anforderung wird abgebrochen. + + + Signal-Warnung. + + + Ungültiger Array-Index. + + + Symbol ist nicht aktiv. + + + Zugriff verweigert. + + + Fehlende Lizenz. + + + Lizenz abgelaufen. + + + Lizenz überschritten. + + + Lizenz ungültig. + + + Lizenzproblem: System-ID ist ungültig. + + + Lizenz nicht zeitlich begrenzt. + + + Lizenzproblem: Zeitpunkt in der Zukunft. + + + Lizenz-Zeitraum ist zu lang. + + + Exception beim Systemstart. + + + Lizenz-Datei zweimal gelesen. + + + Ungültige Signatur. + + + Zertifikat ungültig. + + + Public Key vom OEM nicht bekannt. + + + Lizenz nicht gültig für diese System-ID. + + + Demo-Lizenz untersagt. + + + Funktions-ID ungültig. + + + Außerhalb des gültigen Bereiches. + + + Ungültiges Alignment. + + + Ungültiger Plattform Level. + + + Kontext – Weiterleitung zum Passiv-Level. + + + Kontext – Weiterleitung zum Dispatch-Level. + + + Kontext – Weiterleitung zur Echtzeit. + + + Dienst enthält einen ungültigen Parameter. + + + Polling-Liste ist leer. + + + Variablen-Verbindung bereits im Einsatz. + + + Die Invoke-ID ist bereits in Benutzung. + + + Timeout ist aufgetreten – Die Gegenstelle antwortet nicht im vorgegebenen ADS Timeout. + + + Fehler im Win32 Subsystem. + + + Ungültiger Client Timeout-Wert. + + + Port nicht geöffnet. + + + Keine AMS Adresse. + + + Interner Fehler in Ads-Sync. + + + Überlauf der Hash-Tabelle. + + + Schlüssel in der Hash-Tabelle nicht gefunden. + + + Keine Symbole im Cache. + + + Ungültige Antwort erhalten. + + + Sync Port ist verriegelt. + + + + + + + + + + + - 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 - - - + ST_TcGeneralAdsEventClass + 14016 - bHasAllParameters - BOOL - 8 - 760 + GeneralDeviceError + TcEventEntry + 192 + 0 - true + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.GeneralDeviceError + + + .eSeverity + TcEventSeverity.Error + - - - 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 + ServiceNotSupported + TcEventEntry + 192 + 192 + + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.ServiceNotSupported + + + .eSeverity + TcEventSeverity.Error + + - nStateCount - DINT - 32 - 2080 + InvalidIndexGroup + TcEventEntry + 192 + 384 + + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.InvalidIndexGroup + + + .eSeverity + TcEventSeverity.Error + + - RisingEdge - R_TRIG - 64 - 2112 + InvalidIndexOffset + TcEventEntry + 192 + 576 + + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.InvalidIndexOffset + + + .eSeverity + TcEventSeverity.Error + + - tNewMessage - R_TRIG - Logger - 64 - 2176 + InvalidAccess + TcEventEntry + 192 + 768 + + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.InvalidAccess + + + .eSeverity + TcEventSeverity.Error + + - fbLogger - FB_LogMessage - 81984 - 2240 + InvalidSize + TcEventEntry + 192 + 960 - .eSubsystem - E_Subsystem.MPS + .uuidEventClass.Data1 + 2104885350 - .nMinTimeViolationAcceptable - 10 + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.InvalidSize + + + .eSeverity + TcEventSeverity.Error - FFO - FB_FastFault - FFO - 25088 - 84224 + InvalidData + TcEventEntry + 192 + 1152 - .i_Desc - Fault occurs when there is an error loading safe beam parameters from json file + .uuidEventClass.Data1 + 2104885350 - .i_TypeCode - 65299 + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.InvalidData + + + .eSeverity + TcEventSeverity.Error - sbuffReadSmall - INT - 16 - 109312 + NotReady + TcEventEntry + 192 + 1344 + + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.NotReady + + + .eSeverity + TcEventSeverity.Error + + - - 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. - - - 96 - LowerLimit - INT - Incrementer will rollver over to this value (and initialize to this value) - 16 - 32 + Busy + TcEventEntry + 192 + 1536 - 1 - - - - ItemType - Input - - - naming - off - - + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.Busy + + + .eSeverity + TcEventSeverity.Error + + - ValInc - INT - Incrementer increments by this value - 16 - 48 + InvalidContext + TcEventEntry + 192 + 1728 - 1 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.InvalidContext + + + .eSeverity + TcEventSeverity.Error + - - - ItemType - Input - - - UpperLimit - INT - Incrementer will rollover at this value to lower limit - 16 - 64 + NoMemory + TcEventEntry + 192 + 1920 - 1 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.NoMemory + + + .eSeverity + TcEventSeverity.Error + - - - ItemType - Input - - - nVal - INT - Internal incrementer value, initialized to LowerLimit - 16 - 80 + InvalidParam + TcEventEntry + 192 + 2112 - 1 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.InvalidParam + + + .eSeverity + TcEventSeverity.Error + - - - naming - off - - - - - Dec - - - Inc - - - DecVal - Decrement the counter and return new value - INT - 16 - - - IncVal - Increment the counter and return new value - 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. - - - 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 + NotFound + TcEventEntry + 192 + 2304 - Device + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.NotFound + + + .eSeverity + TcEventSeverity.Error + - - - ItemType - Input - - - i_TransitionAssertionID - UDINT - Must not be 0 or EXCLUDED_ID - 32 - 736 + Syntax + TcEventEntry + 192 + 2496 - 0 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.Syntax + + + .eSeverity + TcEventSeverity.Error + - - - 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 + Incompatible + TcEventEntry + 192 + 2688 - 0 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.Incompatible + + + .eSeverity + TcEventSeverity.Error + - - - ItemType - Input - - - i_stRequestedAssertion - ST_BeamParams - PMPS_GVL.cstSafeBeam; //Requested assertion, change whenever - 1760 - 2560 + AlreadyExists + TcEventEntry + 192 + 2880 - .nTran - 0 + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 - .neVRange - 0 + .uuidEventClass.Data4[5] + 32 - .nRate - 0 + .uuidEventClass.Data4[6] + 176 - .nBCRange - 0 + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.AlreadyExists + + + .eSeverity + TcEventSeverity.Error - - - ItemType - Input - - - - - i_xMoving - BOOL - Provide rising edge when device begins moving <remove> - 8 - 4320 - - false - - - - ItemType - Input - - - - - i_xDoneMoving - BOOL - Provide rising edge when device is done with a move - 8 - 4328 - - false - - - - 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 - - false - - - - 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 - - false - - - - 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 + SymbolNotFound + TcEventEntry + 192 + 3072 - 0 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.SymbolNotFound + + + .eSeverity + TcEventSeverity.Error + - stTargetAssertion - ST_BeamParams - Target assertion - 1760 - 6208 - - - nCurrentAssertionID - UDINT - ID of last set state (zero until a state is reached) - 32 - 7968 + SymbolVersionInvalid + TcEventEntry + 192 + 3264 - 0 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.SymbolVersionInvalid + + + .eSeverity + TcEventSeverity.Error + - xNewBP - BOOL - 8 - 8000 - - - xTranBP - BOOL - 8 - 8008 - - - xFinalBPInArb - BOOL - 8 - 8016 - - - xFinalBP - BOOL - 8 - 8024 - - - eBPTMState - E_BPTMState - 16 - 8032 + InvalidState + TcEventEntry + 192 + 3456 - E_BPTMState.Init + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.InvalidState + + + .eSeverity + TcEventSeverity.Error + - ePrevState - E_BPTMState - 16 - 8048 + TransModeNotSupported + TcEventEntry + 192 + 3648 - E_BPTMState.Init + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.TransModeNotSupported + + + .eSeverity + TcEventSeverity.Error + - 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 + NotificationHandleInvalid + TcEventEntry + 192 + 3840 - .LowerLimit - 0 + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 - .UpperLimit - 40 + .uuidEventClass.Data4[6] + 176 - - - - 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 + .uuidEventClass.Data4[7] + 240 - .i_TypeCode - 10 + .nEventID + E_TcGeneralAdsEventClass.NotificationHandleInvalid - .i_xAutoReset - false + .eSeverity + TcEventSeverity.Error - rtDoneMoving - R_TRIG - 64 - 60096 - - - bLatchDoneMoving - BOOL - 8 - 60160 - - - bFirstMove - BOOL - 8 - 60168 - - true - - - - 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. - - 32 - 60224 + ClientUnknown + TcEventEntry + 192 + 4032 - 2 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.ClientUnknown + + + .eSeverity + TcEventSeverity.Error + - - 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 + NoMoreHandles + TcEventEntry + 192 + 4224 - false - - - - ItemType - Input - - - - - arrPMPS - ST_DbStateParams - - 0 - 16 - - 39936 - 22592 - - - nBPIndex - UINT - 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 - UINT - 16 - 383088 - - - HandlePmpsDb - - - HandleFFO - - - AssertHere - - - ClearAsserts - - - HandleBPTM - - - - PouType - FunctionBlock - - - obsolete - Use FB_PositionStatePMPS1D instead - - - - - FB_NCErrorFFO - 27808 - - stMotionStage - ST_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 - - + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.NoMoreHandles + + + .eSeverity + TcEventSeverity.Error + + - nLowErrorId - UDINT - The lowest error code that will trip the FFO - 32 - 128 + InvalidWatchSize + TcEventEntry + 192 + 4416 - 16384 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.InvalidWatchSize + + + .eSeverity + TcEventSeverity.Error + - - - ItemType - Input - - - nHighErrorId - UDINT - The highest error code that will trip the FFO - 32 - 160 + NotInit + TcEventEntry + 192 + 4608 - 20479 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.NotInit + + + .eSeverity + TcEventSeverity.Error + - - - ItemType - Input - - - sDesc - STRING(80) - A description of the fault - 648 - 192 + DeviceTimeout + TcEventEntry + 192 + 4800 - Motor error + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.DeviceTimeout + + + .eSeverity + TcEventSeverity.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 - - - stBeamParams - ST_BeamParams - 1760 - 896 - - - fbFF - FB_FastFault - 25088 - 2656 - - - rtTrip - R_TRIG - 64 - 27744 - - - - PouType - FunctionBlock - - - - - FB_EncErrorFFO - 27936 - - stMotionStage - ST_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 - - + NoInterface + TcEventEntry + 192 + 4992 + + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.NoInterface + + + .eSeverity + TcEventSeverity.Error + + - bTripped - BOOL - Quick way for nearby code to check if this block has tripped the FFO. - 8 - 112 - - - ItemType - Output - - + InvalidInterface + TcEventEntry + 192 + 5184 + + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.InvalidInterface + + + .eSeverity + TcEventSeverity.Error + + - fbNCErrorFFO - FB_NCErrorFFO - 27808 - 128 + InvalidClassID + TcEventEntry + 192 + 5376 - .nLowErrorId - 17408 + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 - .nHighErrorId - 17663 + .nEventID + E_TcGeneralAdsEventClass.InvalidClassID - .sDesc - Encoder error + .eSeverity + TcEventSeverity.Error - - - PouType - FunctionBlock - - - - - FB_PositionStateBase_WithPMPS - 666624 - FB_PositionStateBase - - fbArbiter - FB_Arbiter - 32 - 253952 - - - ItemType - InOut - - - - - fbFFHWO - FB_HardwareFFOutput - 32 - 253984 - - - ItemType - InOut - - - - - sPmpsDeviceName - STRING(80) - 648 - 254016 - - - ItemType - Input - - - - - sTransitionKey - STRING(80) - 648 - 254664 - - - ItemType - Input - - - - - bArbiterEnabled - BOOL - 8 - 255312 - - true - - - - ItemType - Input - - - pytmc - - pv: PMPS:ARB:ENABLE - io: io - - - - - - tArbiterTimeout - TIME - 32 - 255328 - - T#1s - - - - ItemType - Input - - - - bMoveOnArbiterTimeout - BOOL - 8 - 255360 + InvalidObjectID + TcEventEntry + 192 + 5568 - true + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.InvalidObjectID + + + .eSeverity + TcEventSeverity.Error + - - - ItemType - Input - - - fStateBoundaryDeadband - LREAL - 64 - 255424 + Pending + TcEventEntry + 192 + 5760 - 0 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.Pending + + + .eSeverity + TcEventSeverity.Error + - - - ItemType - Input - - - bBPOKAutoReset - BOOL - 8 - 255488 + Aborted + TcEventEntry + 192 + 5952 - false - - - - ItemType - Input - - - - - fbStatePMPS - FB_PositionStatePMPS - 383104 - 255552 - - - pytmc - pv: PMPS - - - - - fbEncErrFFO - FB_EncErrorFFO - 27936 - 638656 - - - Exec - - - PMPSHandler - - - - PouType - FunctionBlock - - - obsolete - Use FB_PositionStatePMPS1D instead - - - - - ENUM_Si_B4C_Coating_States - 16 - INT - - Unknown - 0 - - - Si - 1 - - - B4C - 2 - - - - qualified only - - - generate_implicit_init_function - - - - - DUT_PositionState - 3648 - ST_PositionState - - - obsolete - DUT_PositionState has been renamed to ST_PositionState - - - - - 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 - 675968 - FB_PositionStateBase_WithPMPS - - enumSet - ENUM_Si_B4C_Coating_States - 16 - 666624 - - - ItemType - Input - - - pytmc - - pv: SET - io: io - - - - - - stCoating1 - DUT_PositionState - 3648 - 666688 - - - ItemType - Input - - - - - stCoating2 - DUT_PositionState - 3648 - 670336 - - - ItemType - Input - - - - - sCoating1Name - STRING(80) - 648 - 673984 - - - ItemType - Input - - - - - sCoating2Name - STRING(80) - 648 - 674632 - - - ItemType - Input - - - - - enumGet - ENUM_Si_B4C_Coating_States - 16 - 675280 - - - ItemType - Output - - - pytmc - - pv: GET; - io: i; - - - - - - fbStateDefaults - FB_PositionState_Defaults - 320 - 675328 - - - bCoatingInit - BOOL - 8 - 675648 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.Aborted + + + .eSeverity + TcEventSeverity.Error + + - fDelta - LREAL - These are the default values - Set values on states prior to passing in for non-default values - Units in Mircons - 64 - 675712 + SignalWarning + TcEventEntry + 192 + 6144 - 100 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.SignalWarning + + + .eSeverity + TcEventSeverity.Error + - fVelocity - LREAL - 64 - 675776 + InvalidArrayIndex + TcEventEntry + 192 + 6336 - 150 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.InvalidArrayIndex + + + .eSeverity + TcEventSeverity.Error + - fAccel - LREAL - 64 - 675840 + SymbolNotActive + TcEventEntry + 192 + 6528 - 200 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.SymbolNotActive + + + .eSeverity + TcEventSeverity.Error + - fDecel - LREAL - 64 - 675904 + AccessDenied + TcEventEntry + 192 + 6720 - 200 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.AccessDenied + + + .eSeverity + TcEventSeverity.Error + - - - PouType - FunctionBlock - - - - - FB_KBO_Coating_States - 676224 - FB_PositionStateBase_WithPMPS - - enumSet - ENUM_Si_B4C_Coating_States - 16 - 666624 - - - ItemType - Input - - - pytmc - - pv: SET - io: io - - - - - - stCoating1 - DUT_PositionState - 3648 - 666688 - - - ItemType - Input - - - - - stCoating2 - DUT_PositionState - 3648 - 670336 - - - ItemType - Input - - - - bVerticalCoating - BOOL - 8 - 673984 + LicenseMissing + TcEventEntry + 192 + 6912 - true + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.LicenseMissing + + + .eSeverity + TcEventSeverity.Error + - - - ItemType - Input - - - - - sCoating1Name - STRING(80) - 648 - 673992 - - - ItemType - Input - - - sCoating2Name - STRING(80) - 648 - 674640 - - - ItemType - Input - - - - - enumGet - ENUM_Si_B4C_Coating_States - 16 - 675296 - - - ItemType - Output - - - pytmc - - pv: GET; - io: i; - - - - - - fbStateDefaults - FB_PositionState_Defaults - 320 - 675328 - - - bCoatingInit - BOOL - 8 - 675648 - - - fCoatingAccel - LREAL - 64 - 675712 + LicenseExpired + TcEventEntry + 192 + 7104 - 10 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.LicenseExpired + + + .eSeverity + TcEventSeverity.Error + - fCoatingDecel - LREAL - 64 - 675776 + LicenseExceeded + TcEventEntry + 192 + 7296 - 10 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.LicenseExceeded + + + .eSeverity + TcEventSeverity.Error + - fDelta - LREAL - These are the default values - Set values on states prior to passing in for non-default values - Units in Millimeters - 64 - 675840 + LicenseInvalid + TcEventEntry + 192 + 7488 - 0.1 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.LicenseInvalid + + + .eSeverity + TcEventSeverity.Error + - fVelocity - LREAL - 64 - 675904 + LicenseSystemID + TcEventEntry + 192 + 7680 - 0.15 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.LicenseSystemID + + + .eSeverity + TcEventSeverity.Error + - fYAccel - LREAL - 64 - 675968 + LicenseNoTimeLimit + TcEventEntry + 192 + 7872 - 10 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.LicenseNoTimeLimit + + + .eSeverity + TcEventSeverity.Error + - fYDecel - LREAL - 64 - 676032 + LicenseFutureIssue + TcEventEntry + 192 + 8064 - 10 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.LicenseFutureIssue + + + .eSeverity + TcEventSeverity.Error + - fXAccel - LREAL - 64 - 676096 + LicenseTimeTooLong + TcEventEntry + 192 + 8256 - 100 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.LicenseTimeTooLong + + + .eSeverity + TcEventSeverity.Error + - fXDecel - LREAL - 64 - 676160 + Exception + TcEventEntry + 192 + 8448 - 100 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.Exception + + + .eSeverity + TcEventSeverity.Error + - - - PouType - FunctionBlock - - - - - FB_VetoArbiter - 27168 - I_HigherAuthority - bVeto - BOOL - Rising edge clears request, hold true to veto continuously, falling edge restores request - 8 - 64 + LicenseDuplicated + TcEventEntry + 192 + 8640 - false + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.LicenseDuplicated + + + .eSeverity + TcEventSeverity.Error + - - - 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 + SignatureInvalid + TcEventEntry + 192 + 8832 - .i_xAutoReset - true + .uuidEventClass.Data1 + 2104885350 - .i_Desc - Holds beam off until request is back in arbitration + .uuidEventClass.Data2 + 54131 - .i_TypeCode - 200 + .uuidEventClass.Data3 + 18956 - .i_xVetoable - true + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.SignatureInvalid + + + .eSeverity + TcEventSeverity.Error - 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 + CertificateInvalid + TcEventEntry + 192 + 9024 - 120 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.CertificateInvalid + + + .eSeverity + TcEventSeverity.Error + - - - plcAttribute_pytmc - pv: Rate - io: i - - - neVRange - DWORD - Photon energy ranges - 32 - 64 + LicenseOEMNotFound + TcEventEntry + 192 + 9216 - 4294967295 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.LicenseOEMNotFound + + + .eSeverity + TcEventSeverity.Error + - - - 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 + LicenseRestricted + TcEventEntry + 192 + 9408 - 0 - 65535 - 0 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.LicenseRestricted + + + .eSeverity + TcEventSeverity.Error + - nBeamClass - USINT - 8 - 144 + LicenseDemoDenied + TcEventEntry + 192 + 9600 - 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 - - + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.LicenseDemoDenied + + + .eSeverity + TcEventSeverity.Error + + - sName - STRING(80) - 648 - 72 + InvalidFunctionID + TcEventEntry + 192 + 9792 - SubSysToArbiter + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.InvalidFunctionID + + + .eSeverity + TcEventSeverity.Error + - - - ItemType - Input - - - - - i_bVeto - BOOL - 8 - 720 - - - ItemType - Input - - - Arbiter - FB_Arbiter - 32 - 736 - - - ItemType - InOut - - + OutOfRange + TcEventEntry + 192 + 9984 + + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.OutOfRange + + + .eSeverity + TcEventSeverity.Error + + - fbFFHWO - FB_HardwareFFOutput - 32 - 768 - - - ItemType - InOut - - + InvalidAlignment + TcEventEntry + 192 + 10176 + + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.InvalidAlignment + + + .eSeverity + TcEventSeverity.Error + + - i_stCurrentBP - ST_BeamParams_IO - 1760 - 800 - - - TcLinkTo - TIIB[PMPS_PRE]^IO Inputs^CurrentBP - - - TcAddressType - Input - - + LicensePlatform + TcEventEntry + 192 + 10368 + + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.LicensePlatform + + + .eSeverity + TcEventSeverity.Error + + - q_stRequestedBP - ST_BeamParams_IO - 1760 - 2560 - - - TcLinkTo - TIIB[PMPS_PRE]^IO Outputs^RequestedBP - - - TcAddressType - Output - - + ForwardPassiveLevel + TcEventEntry + 192 + 10560 + + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.ForwardPassiveLevel + + + .eSeverity + TcEventSeverity.Error + + - xTxPDO_toggle - BIT - 1 - 4320 - - - pytmc - pv: TxPDO_toggle - io: i - - - TcLinkTo - TIIB[PMPS_PRE]^SYNC Inputs^TxPDO toggle - - - TcAddressType - Input - - + ForwardDispatchLevel + TcEventEntry + 192 + 10752 + + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.ForwardDispatchLevel + + + .eSeverity + TcEventSeverity.Error + + - xTxPDO_state - BIT - 1 - 4321 - - - pytmc - pv: TxPDO_state - io: i - - - TcLinkTo - TIIB[PMPS_PRE]^SYNC Inputs^TxPDO state - - - TcAddressType - Input - - + ForwardRealTime + TcEventEntry + 192 + 10944 + + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.ForwardRealTime + + + .eSeverity + TcEventSeverity.Error + + - ffPMPSIO_Disconnect - FB_FastFault - Fast faults - 25088 - 4352 + InvalidServiceParam + TcEventEntry + 192 + 11136 - .i_Desc - Arbiter network interface disconnected or not OP + .uuidEventClass.Data1 + 2104885350 - .i_DevName - SubSysToArbiter + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.InvalidServiceParam + + + .eSeverity + TcEventSeverity.Error - nRequestCohort - UDINT - Request cohort - 32 - 29440 + ListEmpty + TcEventEntry + 192 + 11328 - 0 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.ListEmpty + + + .eSeverity + TcEventSeverity.Error + - - - pytmc - pv: RequestCohort - io: i - - - nActiveCohort - UDINT - Active cohort, updated by incoming BP from arbiter PLC, in the ElevateRequest arbiter call - 32 - 29472 + VariableConAlreadyInUse + TcEventEntry + 192 + 11520 - 0 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.VariableConAlreadyInUse + + + .eSeverity + TcEventSeverity.Error + - - - pytmc - pv: ActiveCohort - io: i - - - - - fbVetoArb - FB_VetoArbiter - 27168 - 29504 - fbLog - FB_LogMessage - 81984 - 56704 - - - __FB_SUBSYSTOARBITER_IO__CHECKREQUEST__XFIRSTTIME - BOOL - 8 - 138688 + InvokeIDAlreadyInUse + TcEventEntry + 192 + 11712 - , - + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.InvokeIDAlreadyInUse + + + .eSeverity + TcEventSeverity.Error + - __FB_SUBSYSTOARBITER_IO__CHECKREQUEST__NID - DWORD - 32 - 138720 - - - CheckRequest - BOOL - 8 - - nReqID - DWORD - 32 - - - xFirstTime - BOOL - 8 - - - uselocation - __FB_SUBSYSTOARBITER_IO__CHECKREQUEST__XFIRSTTIME - - - - - nId - DWORD - 32 - - - uselocation - __FB_SUBSYSTOARBITER_IO__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_Axilon_Cooling_2f1p - 1216 - FB_Axilon_Cooling_1f1p - - fFlow_2_val - LREAL - 64 - 832 - - - ItemType - Output - - - pytmc - - pv: FWM:2 - field: EGU lpm - field: HIGH 2.3 - field: HIHI 3.0 - field: LOW 1.7 - field: LOLO 1.5 - field: LSV MINOR - field: LLSV MAJOR - field: HSV MINOR - field: HHSV MAJOR - io: i - - - - - - fbFlow_2 - FB_AnalogInput - 320 - 896 - - - - PouType - FunctionBlock - - - - - FB_MirrorTwoCoatingProtection - 192768 - - 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 + TimeoutElapsed + TcEventEntry + 192 + 11904 - + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.TimeoutElapsed + + + .eSeverity + TcEventSeverity.Error + - - - ItemType - Input - - - - - nUpperCoatingBoundary - UDINT - Encoder count for upper boundary - 32 - 768 - - - ItemType - Input - - - sUpperCoatingType - STRING(80) - Type of coating - 648 - 800 + Win32Error + TcEventEntry + 192 + 12096 - + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.Win32Error + + + .eSeverity + TcEventSeverity.Error + - - - ItemType - Input - - - - - nLowerCoatingBoundary - UDINT - Encoder count for lower boundary - 32 - 1472 - - - ItemType - Input - - - sLowerCoatingType - STRING(80) - Type of coating - 648 - 1504 + TimeoutInvalid + TcEventEntry + 192 + 12288 - + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.TimeoutInvalid + + + .eSeverity + TcEventSeverity.Error + - - - ItemType - Input - - - bAutoClear - BOOL - Auto-clear these fast faults - 8 - 2152 + PortNotOpen + TcEventEntry + 192 + 12480 - true + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.PortNotOpen + + + .eSeverity + TcEventSeverity.Error + - - - ItemType - Input - - - - - bReadPmpsDb - BOOL - Trigger a re-read of the JSON Beam Parameters - 8 - 2160 - - - ItemType - Input - - - bUsePmpsDb - BOOL - Set TRUE to lookup Beam Parameters via DB. - 8 - 2168 + NoAMSAddr + TcEventEntry + 192 + 12672 - false + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.NoAMSAddr + + + .eSeverity + TcEventSeverity.Error + - - - ItemType - Input - - - nUpperCoatingBitmask - DWORD - 32 - 2176 + SyncInternalError + TcEventEntry + 192 + 12864 - 0 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.SyncInternalError + + + .eSeverity + TcEventSeverity.Error + - - - ItemType - Input - - - nLowerCoatingBitMask - DWORD - 32 - 2208 + AddHash + TcEventEntry + 192 + 13056 - 0 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.AddHash + + + .eSeverity + TcEventSeverity.Error + - - - ItemType - Input - - - - - FFO - FB_HardwareFFOutput - 32 - 2240 - - - ItemType - InOut - - - ffUpperCoating - FB_FastFault - 25088 - 2272 + RemoveHash + TcEventEntry + 192 + 13248 - .i_xAutoReset - false + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 - .i_TypeCode - 1025 + .uuidEventClass.Data4[6] + 176 - .i_Desc - mirror coating incompatible with beam photon energy + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.RemoveHash + + + .eSeverity + TcEventSeverity.Error - ffLowerCoating - FB_FastFault - 25088 - 27360 + NoMoreSymbols + TcEventEntry + 192 + 13440 - .i_xAutoReset - false + .uuidEventClass.Data1 + 2104885350 - .i_TypeCode - 1025 + .uuidEventClass.Data2 + 54131 - .i_Desc - mirror coating incompatible with beam photon energy + .uuidEventClass.Data3 + 18956 - - - - ffBeamParamsNotLoaded - FB_FastFault - 25088 - 52448 - - .i_xAutoReset - true + .uuidEventClass.Data4[0] + 176 - .i_TypeCode - 1160 + .uuidEventClass.Data4[1] + 241 - .i_Desc - mirror coating beam parameters not loaded + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.NoMoreSymbols + + + .eSeverity + TcEventSeverity.Error - aDbStateParams - ST_DbStateParams - - 0 - 2 - - 4992 - 77536 - - - fbGetCoatingBPs - FB_JsonDocToSafeBP - 109440 - 82560 - - - ftReadJsonDocDone - F_TRIG - 64 - 192000 - - - bBPsLoaded - BOOL - 8 - 192064 - - false - - - - i - INT - 16 - 192080 - - - sDevState - STRING(80) - 648 - 192096 - - - - - - bInit - BOOL - 8 - 192744 - - - - PouType - FunctionBlock - - - - - FB_TempSensor - 256 - - fResolution - LREAL - Resolution parameter from the Beckhoff docs. Default is 0.1 for 0.1 degree resolution - 64 - 64 + SyncResInvalid + TcEventEntry + 192 + 13632 - 0.1 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.SyncResInvalid + + + .eSeverity + TcEventSeverity.Error + - - - ItemType - Input - - - - - fTemp - LREAL - 64 - 128 - - - ItemType - Output - - - pytmc - - pv: TEMP - io: input - field: EGU C - field: PREC 2 - - - - - - bConnected - BOOL - 8 - 192 - - - ItemType - Output - - - pytmc - - pv: CONN - io: input - field: ONAM Connected - field: ZNAM Disconnected - - - - bError - BOOL - 8 - 200 + SyncPortLocked + TcEventEntry + 192 + 13824 - true - - - - ItemType - Output - - - pytmc - - pv: ERR - io: input - field: ONAM True - field: ZNAM False - - - - 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 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.SyncPortLocked + + + .eSeverity + TcEventSeverity.Error + + - - - - + + + TcTypeSystem + + + signature_flag + 33554432 + + + checksuperglobal + + + show + + + no-analysis + + + TcEventClass + TcGeneralAdsEventClass + + - TcSystemEventClass - TcSystemEventClass - - InternalError - Internal error. - Error - - - NoRTime - No real-time. - Error - - - AllocationLockedMemoryError - Allocation locked – memory error. - Error - - - InsertMailboxError - Mailbox full – the ADS message could not be sent. Reducing the number of ADS messages per cycle will help. - Error - - - WrongReceiveHMSG - Wrong HMSG. - Error - - - TargetPortNotFound - Target port not found – ADS server is not started or is not reachable. - Error - - - TargetMachineNotFound - Target computer not found – AMS route was not found. - Error - - - UnknownCommandID - Unknown command ID. - Error - - - BadTaskID - Invalid task ID. - Error - - - NoIO - No IO. - Error - - - UnknownAdsCommand - Unknown AMS command. - Error - - - Win32Error - Win32 error. - Error - - - PortNotConnected - Port not connected. - Error - - - InvalidAdsLength - Invalid AMS length. - Error - - - InvalidAdsNetID - Invalid AMS Net ID. - Error - - - LowInstallationLevel - Low installation level – TwinCAT 2 license error. - Error - + TcRouterEventClass + TcRouterEventClass - NoDebugAvailable - No debugging available. + NoLockedMemory + Locked memory cannot be allocated. Error - PortDisabled - Port disabled – TwinCAT system service not started. + ResizeMemory + The router memory size could not be changed. Error - PortAlreadyConnected - Port already connected. + MailboxFull + The mailbox has reached the maximum number of possible messages. Error - AdsSyncWin32Error - AMS Sync Win32 error. + DebugBoxFull + The debug mailbox has reached the maximum number of possible messages. Error - AdsSyncTimeout - AMS Sync Timeout. + UnknownPortType + The port type is unknown. Error - AdsSyncAmsError - AMS Sync error. + NotInitialized + TwinCAT Router is not initialised. Error - AdsSyncNoIndexMap - No index map for AMS Sync available. + PortAlreadyInUse + The port number is already assigned. Error - InvalidAdsPort - Invalid AMS port. + NotRegistered + The port is not registered. Error - NoMemory - No memory. + NoMoreQueues + The maximum number of ports has been reached. Error - TCPSendError - TCP send error. + InvalidPort + The port is invalid. Error - HostUnreachable - Host unreachable. + NotActivated + TwinCAT Router is not active. Error - InvalidAMSFragment - Invalid AMS fragment. + FragmentBoxFull + The mailbox has reached the maximum number for fragmented messages. Error - AdsSecTLSSendError - TLS send error – secure ADS connection failed. + FragmentTimeout + A fragment timeout has occurred. Error - AdsSecAccessDenied - Access denied – secure ADS access denied. + ToBeRemoved + The port is removed. Error - - Interner Fehler. - - - Keine Echtzeit. - - - Zuweisung gesperrt - Speicherfehler. - - - Postfach voll – Es konnte die ADS Nachricht nicht versendet werden. Reduzieren der Anzahl der ADS Nachrichten pro Zyklus bringt Abhilfe. - - - Falsches HMSG. - - - Ziel-Port nicht gefunden – ADS Server ist nicht gestartet oder erreichbar. - - - Unbekannte Befehl-ID. - - - Ungültige Task-ID. - - - Kein IO. - - - Unbekannter AMS-Befehl. - - - Win32 Fehler. - - - Port nicht verbunden. - - - Ungültige AMS-Länge. - - - Ungültige AMS Net ID. - - - Installations-Level ist zu niedrig – TwinCAT 2 Lizenzfehler. - - - Kein Debugging verfügbar. + + Lockierter Speicher kann nicht zugewiesen werden. - - Port deaktiviert – TwinCAT System Service nicht gestartet. + + Die Größe des Routerspeichers konnte nicht geändert werden. - - Port bereits verbunden. + + Das Postfach hat die maximale Anzahl der möglichen Meldungen erreicht. - - AMS Sync Win32 Fehler. + + Das Debug Postfach hat die maximale Anzahl der möglichen Meldungen erreicht. - - AMS Sync Timeout. + + Der Porttyp ist unbekannt. - - AMS Sync Fehler. + + Der TwinCAT Router ist nicht initialisiert. - - Keine Index-Map für AMS Sync vorhanden. + + Die Portnummer ist bereits vergeben. - - Ungültiger AMS-Port. + + Der Port ist nicht registriert. - - Kein Speicher. + + Die maximale Portanzahl ist erreicht. - - TCP Sendefehler. + + Der Port ist ungültig. - - Host nicht erreichbar. + + Der TwinCAT Router ist nicht aktiv. - - Ungültiges AMS Fragment. + + Das Postfach hat die maximale Anzahl für fragmentierte Nachrichten erreicht. - - TLS Sendefehler – Secure ADS Verbindung fehlgeschlagen. + + Fragment Timeout aufgetreten. - - Zugriff Verweigert – Secure ADS Zugriff verweigert. + + Port wird entfernt. - - - - + + - ST_TcSystemEventClass - 5760 + ST_TcRouterEventClass + 2688 - InternalError + NoLockedMemory TcEventEntry 192 0 .uuidEventClass.Data1 - 3140131225 + 3881394266 .uuidEventClass.Data2 - 4142 + 9025 .uuidEventClass.Data3 - 16922 + 18684 .uuidEventClass.Data4[0] - 141 + 159 .uuidEventClass.Data4[1] - 61 + 63 .uuidEventClass.Data4[2] - 176 + 200 .uuidEventClass.Data4[3] - 102 + 250 .uuidEventClass.Data4[4] - 14 + 64 .uuidEventClass.Data4[5] - 7 + 92 .uuidEventClass.Data4[6] - 177 + 75 .uuidEventClass.Data4[7] - 254 + 36 .nEventID - E_TcSystemEventClass.InternalError + E_TcRouterEventClass.NoLockedMemory .eSeverity @@ -62546,58 +63363,58 @@ The BPTM will throw an error if the arbiter does not have enough space for the t - NoRTime + ResizeMemory TcEventEntry 192 192 .uuidEventClass.Data1 - 3140131225 + 3881394266 .uuidEventClass.Data2 - 4142 + 9025 .uuidEventClass.Data3 - 16922 + 18684 .uuidEventClass.Data4[0] - 141 + 159 .uuidEventClass.Data4[1] - 61 + 63 .uuidEventClass.Data4[2] - 176 + 200 .uuidEventClass.Data4[3] - 102 + 250 .uuidEventClass.Data4[4] - 14 + 64 .uuidEventClass.Data4[5] - 7 + 92 .uuidEventClass.Data4[6] - 177 + 75 .uuidEventClass.Data4[7] - 254 + 36 .nEventID - E_TcSystemEventClass.NoRTime + E_TcRouterEventClass.ResizeMemory .eSeverity @@ -62606,58 +63423,58 @@ The BPTM will throw an error if the arbiter does not have enough space for the t - AllocationLockedMemoryError + MailboxFull TcEventEntry 192 384 .uuidEventClass.Data1 - 3140131225 + 3881394266 .uuidEventClass.Data2 - 4142 + 9025 .uuidEventClass.Data3 - 16922 + 18684 .uuidEventClass.Data4[0] - 141 + 159 .uuidEventClass.Data4[1] - 61 + 63 .uuidEventClass.Data4[2] - 176 + 200 .uuidEventClass.Data4[3] - 102 + 250 .uuidEventClass.Data4[4] - 14 + 64 .uuidEventClass.Data4[5] - 7 + 92 .uuidEventClass.Data4[6] - 177 + 75 .uuidEventClass.Data4[7] - 254 + 36 .nEventID - E_TcSystemEventClass.AllocationLockedMemoryError + E_TcRouterEventClass.MailboxFull .eSeverity @@ -62666,58 +63483,58 @@ The BPTM will throw an error if the arbiter does not have enough space for the t - InsertMailboxError + DebugBoxFull TcEventEntry 192 576 .uuidEventClass.Data1 - 3140131225 + 3881394266 .uuidEventClass.Data2 - 4142 + 9025 .uuidEventClass.Data3 - 16922 + 18684 .uuidEventClass.Data4[0] - 141 + 159 .uuidEventClass.Data4[1] - 61 + 63 .uuidEventClass.Data4[2] - 176 + 200 .uuidEventClass.Data4[3] - 102 + 250 .uuidEventClass.Data4[4] - 14 + 64 .uuidEventClass.Data4[5] - 7 + 92 .uuidEventClass.Data4[6] - 177 + 75 .uuidEventClass.Data4[7] - 254 + 36 .nEventID - E_TcSystemEventClass.InsertMailboxError + E_TcRouterEventClass.DebugBoxFull .eSeverity @@ -62726,58 +63543,58 @@ The BPTM will throw an error if the arbiter does not have enough space for the t - WrongReceiveHMSG + UnknownPortType TcEventEntry 192 768 .uuidEventClass.Data1 - 3140131225 + 3881394266 .uuidEventClass.Data2 - 4142 + 9025 .uuidEventClass.Data3 - 16922 + 18684 .uuidEventClass.Data4[0] - 141 + 159 .uuidEventClass.Data4[1] - 61 + 63 .uuidEventClass.Data4[2] - 176 + 200 .uuidEventClass.Data4[3] - 102 + 250 .uuidEventClass.Data4[4] - 14 + 64 .uuidEventClass.Data4[5] - 7 + 92 .uuidEventClass.Data4[6] - 177 + 75 .uuidEventClass.Data4[7] - 254 + 36 .nEventID - E_TcSystemEventClass.WrongReceiveHMSG + E_TcRouterEventClass.UnknownPortType .eSeverity @@ -62786,58 +63603,58 @@ The BPTM will throw an error if the arbiter does not have enough space for the t - TargetPortNotFound + NotInitialized TcEventEntry 192 960 .uuidEventClass.Data1 - 3140131225 + 3881394266 .uuidEventClass.Data2 - 4142 + 9025 .uuidEventClass.Data3 - 16922 + 18684 .uuidEventClass.Data4[0] - 141 + 159 .uuidEventClass.Data4[1] - 61 + 63 .uuidEventClass.Data4[2] - 176 + 200 .uuidEventClass.Data4[3] - 102 + 250 .uuidEventClass.Data4[4] - 14 + 64 .uuidEventClass.Data4[5] - 7 + 92 .uuidEventClass.Data4[6] - 177 + 75 .uuidEventClass.Data4[7] - 254 + 36 .nEventID - E_TcSystemEventClass.TargetPortNotFound + E_TcRouterEventClass.NotInitialized .eSeverity @@ -62846,118 +63663,58 @@ The BPTM will throw an error if the arbiter does not have enough space for the t - TargetMachineNotFound + PortAlreadyInUse TcEventEntry 192 1152 .uuidEventClass.Data1 - 3140131225 - - - .uuidEventClass.Data2 - 4142 - - - .uuidEventClass.Data3 - 16922 - - - .uuidEventClass.Data4[0] - 141 - - - .uuidEventClass.Data4[1] - 61 - - - .uuidEventClass.Data4[2] - 176 - - - .uuidEventClass.Data4[3] - 102 - - - .uuidEventClass.Data4[4] - 14 - - - .uuidEventClass.Data4[5] - 7 - - - .uuidEventClass.Data4[6] - 177 - - - .uuidEventClass.Data4[7] - 254 - - - .nEventID - E_TcSystemEventClass.TargetMachineNotFound - - - .eSeverity - TcEventSeverity.Error - - - - - UnknownCommandID - TcEventEntry - 192 - 1344 - - - .uuidEventClass.Data1 - 3140131225 + 3881394266 .uuidEventClass.Data2 - 4142 + 9025 .uuidEventClass.Data3 - 16922 + 18684 .uuidEventClass.Data4[0] - 141 + 159 .uuidEventClass.Data4[1] - 61 + 63 .uuidEventClass.Data4[2] - 176 + 200 .uuidEventClass.Data4[3] - 102 + 250 .uuidEventClass.Data4[4] - 14 + 64 .uuidEventClass.Data4[5] - 7 + 92 .uuidEventClass.Data4[6] - 177 + 75 .uuidEventClass.Data4[7] - 254 + 36 .nEventID - E_TcSystemEventClass.UnknownCommandID + E_TcRouterEventClass.PortAlreadyInUse .eSeverity @@ -62966,58 +63723,58 @@ The BPTM will throw an error if the arbiter does not have enough space for the t - BadTaskID + NotRegistered TcEventEntry 192 - 1536 + 1344 .uuidEventClass.Data1 - 3140131225 + 3881394266 .uuidEventClass.Data2 - 4142 + 9025 .uuidEventClass.Data3 - 16922 + 18684 .uuidEventClass.Data4[0] - 141 + 159 .uuidEventClass.Data4[1] - 61 + 63 .uuidEventClass.Data4[2] - 176 + 200 .uuidEventClass.Data4[3] - 102 + 250 .uuidEventClass.Data4[4] - 14 + 64 .uuidEventClass.Data4[5] - 7 + 92 .uuidEventClass.Data4[6] - 177 + 75 .uuidEventClass.Data4[7] - 254 + 36 .nEventID - E_TcSystemEventClass.BadTaskID + E_TcRouterEventClass.NotRegistered .eSeverity @@ -63026,58 +63783,58 @@ The BPTM will throw an error if the arbiter does not have enough space for the t - NoIO + NoMoreQueues TcEventEntry 192 - 1728 + 1536 .uuidEventClass.Data1 - 3140131225 + 3881394266 .uuidEventClass.Data2 - 4142 + 9025 .uuidEventClass.Data3 - 16922 + 18684 .uuidEventClass.Data4[0] - 141 + 159 .uuidEventClass.Data4[1] - 61 + 63 .uuidEventClass.Data4[2] - 176 + 200 .uuidEventClass.Data4[3] - 102 + 250 .uuidEventClass.Data4[4] - 14 + 64 .uuidEventClass.Data4[5] - 7 + 92 .uuidEventClass.Data4[6] - 177 + 75 .uuidEventClass.Data4[7] - 254 + 36 .nEventID - E_TcSystemEventClass.NoIO + E_TcRouterEventClass.NoMoreQueues .eSeverity @@ -63086,58 +63843,58 @@ The BPTM will throw an error if the arbiter does not have enough space for the t - UnknownAdsCommand + InvalidPort TcEventEntry 192 - 1920 + 1728 .uuidEventClass.Data1 - 3140131225 + 3881394266 .uuidEventClass.Data2 - 4142 + 9025 .uuidEventClass.Data3 - 16922 + 18684 .uuidEventClass.Data4[0] - 141 + 159 .uuidEventClass.Data4[1] - 61 + 63 .uuidEventClass.Data4[2] - 176 + 200 .uuidEventClass.Data4[3] - 102 + 250 .uuidEventClass.Data4[4] - 14 + 64 .uuidEventClass.Data4[5] - 7 + 92 .uuidEventClass.Data4[6] - 177 + 75 .uuidEventClass.Data4[7] - 254 + 36 .nEventID - E_TcSystemEventClass.UnknownAdsCommand + E_TcRouterEventClass.InvalidPort .eSeverity @@ -63146,58 +63903,58 @@ The BPTM will throw an error if the arbiter does not have enough space for the t - Win32Error + NotActivated TcEventEntry 192 - 2112 + 1920 .uuidEventClass.Data1 - 3140131225 + 3881394266 .uuidEventClass.Data2 - 4142 + 9025 .uuidEventClass.Data3 - 16922 + 18684 .uuidEventClass.Data4[0] - 141 + 159 .uuidEventClass.Data4[1] - 61 + 63 .uuidEventClass.Data4[2] - 176 + 200 .uuidEventClass.Data4[3] - 102 + 250 .uuidEventClass.Data4[4] - 14 + 64 .uuidEventClass.Data4[5] - 7 + 92 .uuidEventClass.Data4[6] - 177 + 75 .uuidEventClass.Data4[7] - 254 + 36 .nEventID - E_TcSystemEventClass.Win32Error + E_TcRouterEventClass.NotActivated .eSeverity @@ -63206,58 +63963,58 @@ The BPTM will throw an error if the arbiter does not have enough space for the t - PortNotConnected + FragmentBoxFull TcEventEntry 192 - 2304 + 2112 .uuidEventClass.Data1 - 3140131225 + 3881394266 .uuidEventClass.Data2 - 4142 + 9025 .uuidEventClass.Data3 - 16922 + 18684 .uuidEventClass.Data4[0] - 141 + 159 .uuidEventClass.Data4[1] - 61 + 63 .uuidEventClass.Data4[2] - 176 + 200 .uuidEventClass.Data4[3] - 102 + 250 .uuidEventClass.Data4[4] - 14 + 64 .uuidEventClass.Data4[5] - 7 + 92 .uuidEventClass.Data4[6] - 177 + 75 .uuidEventClass.Data4[7] - 254 + 36 .nEventID - E_TcSystemEventClass.PortNotConnected + E_TcRouterEventClass.FragmentBoxFull .eSeverity @@ -63266,58 +64023,58 @@ The BPTM will throw an error if the arbiter does not have enough space for the t - InvalidAdsLength + FragmentTimeout TcEventEntry 192 - 2496 + 2304 .uuidEventClass.Data1 - 3140131225 + 3881394266 .uuidEventClass.Data2 - 4142 + 9025 .uuidEventClass.Data3 - 16922 + 18684 .uuidEventClass.Data4[0] - 141 + 159 .uuidEventClass.Data4[1] - 61 + 63 .uuidEventClass.Data4[2] - 176 + 200 .uuidEventClass.Data4[3] - 102 + 250 .uuidEventClass.Data4[4] - 14 + 64 .uuidEventClass.Data4[5] - 7 + 92 .uuidEventClass.Data4[6] - 177 + 75 .uuidEventClass.Data4[7] - 254 + 36 .nEventID - E_TcSystemEventClass.InvalidAdsLength + E_TcRouterEventClass.FragmentTimeout .eSeverity @@ -63326,58 +64083,58 @@ The BPTM will throw an error if the arbiter does not have enough space for the t - InvalidAdsNetID + ToBeRemoved TcEventEntry 192 - 2688 + 2496 .uuidEventClass.Data1 - 3140131225 + 3881394266 .uuidEventClass.Data2 - 4142 + 9025 .uuidEventClass.Data3 - 16922 + 18684 .uuidEventClass.Data4[0] - 141 + 159 .uuidEventClass.Data4[1] - 61 + 63 .uuidEventClass.Data4[2] - 176 + 200 .uuidEventClass.Data4[3] - 102 + 250 .uuidEventClass.Data4[4] - 14 + 64 .uuidEventClass.Data4[5] - 7 + 92 .uuidEventClass.Data4[6] - 177 + 75 .uuidEventClass.Data4[7] - 254 + 36 .nEventID - E_TcSystemEventClass.InvalidAdsNetID + E_TcRouterEventClass.ToBeRemoved .eSeverity @@ -63385,59 +64142,224 @@ The BPTM will throw an error if the arbiter does not have enough space for the t + + + TcTypeSystem + + + signature_flag + 33554432 + + + checksuperglobal + + + show + + + no-analysis + + + TcEventClass + TcRouterEventClass + + + + + TcRTimeEventClass + TcRTimeEventClass + + InternalError + Internal error in the real-time system. + Error + + + BadTimerPeriods + Timer value is not valid. + Error + + + InvalidTaskPtr + The task pointer has the invalid value 0 (null). + Error + + + InvalidStackPtr + The stack pointer has the invalid value 0 (null). + Error + + + PrioExists + The task priority is already assigned. + Error + + + NoMoreTCB + No free TCB (Task Control Block) available. The maximum number of TCBs is 64. + Error + + + NoMoreSemas + No free semaphores available. The maximum number of semaphores is 64. + Error + + + NoMoreQueues + No free space available in the queue. The maximum number of positions in the queue is 64. + Error + + + ExtIRQAlreadyDef + An external synchronization interrupt is already applied. + Error + + + ExtIRQNotDef + No external synchronziation interrupt applied. + Error + + + ExtIRQInstallFailed + Application of the external synchronization 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 the BIOS. + Error + + + VMXControlsMissing + Missing function in Intel VT-x extension. + Error + + + VMXEnableFails + Activation of Intel VT-x fails. + Error + + + + Interner Fehler im Echtzeit-System. + + + Timer-Wert ist nicht gültig. + + + Task-Pointer hat den ungültigen Wert 0 (null). + + + Stack-Pointer hat den ungültigen Wert 0 (null). + + + Die Task Priority ist bereits vergeben. + + + Kein freier TCB (Task Control Block) verfügbar. Maximale Anzahl von TCBs beträgt 64. + + + Keine freien Semaphoren zur Verfügung. Maximale Anzahl der Semaphoren beträgt 64. + + + Kein freier Platz in der Warteschlange zur Verfügung. Maximale Anzahl der Plätze in der Warteschlange beträgt 64. + + + Ein externer Synchronisations-Interrupt wird bereits angewandt. + + + Kein externer Synchronisations-Interrupt angewandt. + + + Anwendung des externen Synchronisations-Interrupts ist fehlgeschlagen. + + + Aufruf einer Service-Funktion im falschen Kontext + + + Intel VT-x Erweiterung wird nicht unterstützt. + + + Intel VT-x Erweiterung ist nicht aktiviert im BIOS. + + + Fehlende Funktion in Intel VT-x Erweiterung. + + + Aktivieren von Intel VT-x schlägt fehl. + + + + + + + + + + ST_TcRTimeEventClass + 3072 - LowInstallationLevel + InternalError TcEventEntry 192 - 2880 + 0 .uuidEventClass.Data1 - 3140131225 + 2465223571 .uuidEventClass.Data2 - 4142 + 1704 .uuidEventClass.Data3 - 16922 + 18626 .uuidEventClass.Data4[0] - 141 + 136 .uuidEventClass.Data4[1] - 61 + 113 .uuidEventClass.Data4[2] - 176 + 234 .uuidEventClass.Data4[3] - 102 + 163 .uuidEventClass.Data4[4] - 14 + 140 .uuidEventClass.Data4[5] - 7 + 30 .uuidEventClass.Data4[6] - 177 + 57 .uuidEventClass.Data4[7] - 254 + 144 .nEventID - E_TcSystemEventClass.LowInstallationLevel + E_TcRTimeEventClass.InternalError .eSeverity @@ -63446,58 +64368,58 @@ The BPTM will throw an error if the arbiter does not have enough space for the t - NoDebugAvailable + BadTimerPeriods TcEventEntry 192 - 3072 + 192 .uuidEventClass.Data1 - 3140131225 + 2465223571 .uuidEventClass.Data2 - 4142 + 1704 .uuidEventClass.Data3 - 16922 + 18626 .uuidEventClass.Data4[0] - 141 + 136 .uuidEventClass.Data4[1] - 61 + 113 .uuidEventClass.Data4[2] - 176 + 234 .uuidEventClass.Data4[3] - 102 + 163 .uuidEventClass.Data4[4] - 14 + 140 .uuidEventClass.Data4[5] - 7 + 30 .uuidEventClass.Data4[6] - 177 + 57 .uuidEventClass.Data4[7] - 254 + 144 .nEventID - E_TcSystemEventClass.NoDebugAvailable + E_TcRTimeEventClass.BadTimerPeriods .eSeverity @@ -63506,58 +64428,58 @@ The BPTM will throw an error if the arbiter does not have enough space for the t - PortDisabled + InvalidTaskPtr TcEventEntry 192 - 3264 + 384 .uuidEventClass.Data1 - 3140131225 + 2465223571 .uuidEventClass.Data2 - 4142 + 1704 .uuidEventClass.Data3 - 16922 + 18626 .uuidEventClass.Data4[0] - 141 + 136 .uuidEventClass.Data4[1] - 61 + 113 .uuidEventClass.Data4[2] - 176 + 234 .uuidEventClass.Data4[3] - 102 + 163 .uuidEventClass.Data4[4] - 14 + 140 .uuidEventClass.Data4[5] - 7 + 30 .uuidEventClass.Data4[6] - 177 + 57 .uuidEventClass.Data4[7] - 254 + 144 .nEventID - E_TcSystemEventClass.PortDisabled + E_TcRTimeEventClass.InvalidTaskPtr .eSeverity @@ -63566,58 +64488,58 @@ The BPTM will throw an error if the arbiter does not have enough space for the t - PortAlreadyConnected + InvalidStackPtr TcEventEntry 192 - 3456 + 576 .uuidEventClass.Data1 - 3140131225 + 2465223571 .uuidEventClass.Data2 - 4142 + 1704 .uuidEventClass.Data3 - 16922 + 18626 .uuidEventClass.Data4[0] - 141 + 136 .uuidEventClass.Data4[1] - 61 + 113 .uuidEventClass.Data4[2] - 176 + 234 .uuidEventClass.Data4[3] - 102 + 163 .uuidEventClass.Data4[4] - 14 + 140 .uuidEventClass.Data4[5] - 7 + 30 .uuidEventClass.Data4[6] - 177 + 57 .uuidEventClass.Data4[7] - 254 + 144 .nEventID - E_TcSystemEventClass.PortAlreadyConnected + E_TcRTimeEventClass.InvalidStackPtr .eSeverity @@ -63626,58 +64548,58 @@ The BPTM will throw an error if the arbiter does not have enough space for the t - AdsSyncWin32Error + PrioExists TcEventEntry 192 - 3648 + 768 .uuidEventClass.Data1 - 3140131225 + 2465223571 .uuidEventClass.Data2 - 4142 + 1704 .uuidEventClass.Data3 - 16922 + 18626 .uuidEventClass.Data4[0] - 141 + 136 .uuidEventClass.Data4[1] - 61 + 113 .uuidEventClass.Data4[2] - 176 + 234 .uuidEventClass.Data4[3] - 102 + 163 .uuidEventClass.Data4[4] - 14 + 140 .uuidEventClass.Data4[5] - 7 + 30 .uuidEventClass.Data4[6] - 177 + 57 .uuidEventClass.Data4[7] - 254 + 144 .nEventID - E_TcSystemEventClass.AdsSyncWin32Error + E_TcRTimeEventClass.PrioExists .eSeverity @@ -63686,58 +64608,58 @@ The BPTM will throw an error if the arbiter does not have enough space for the t - AdsSyncTimeout + NoMoreTCB TcEventEntry 192 - 3840 + 960 .uuidEventClass.Data1 - 3140131225 + 2465223571 .uuidEventClass.Data2 - 4142 + 1704 .uuidEventClass.Data3 - 16922 + 18626 .uuidEventClass.Data4[0] - 141 + 136 .uuidEventClass.Data4[1] - 61 + 113 .uuidEventClass.Data4[2] - 176 + 234 .uuidEventClass.Data4[3] - 102 + 163 .uuidEventClass.Data4[4] - 14 + 140 .uuidEventClass.Data4[5] - 7 + 30 .uuidEventClass.Data4[6] - 177 + 57 .uuidEventClass.Data4[7] - 254 + 144 .nEventID - E_TcSystemEventClass.AdsSyncTimeout + E_TcRTimeEventClass.NoMoreTCB .eSeverity @@ -63746,58 +64668,58 @@ The BPTM will throw an error if the arbiter does not have enough space for the t - AdsSyncAmsError + NoMoreSemas TcEventEntry 192 - 4032 + 1152 .uuidEventClass.Data1 - 3140131225 + 2465223571 .uuidEventClass.Data2 - 4142 + 1704 .uuidEventClass.Data3 - 16922 + 18626 .uuidEventClass.Data4[0] - 141 + 136 .uuidEventClass.Data4[1] - 61 + 113 .uuidEventClass.Data4[2] - 176 + 234 .uuidEventClass.Data4[3] - 102 + 163 .uuidEventClass.Data4[4] - 14 + 140 .uuidEventClass.Data4[5] - 7 + 30 .uuidEventClass.Data4[6] - 177 + 57 .uuidEventClass.Data4[7] - 254 + 144 .nEventID - E_TcSystemEventClass.AdsSyncAmsError + E_TcRTimeEventClass.NoMoreSemas .eSeverity @@ -63806,58 +64728,58 @@ The BPTM will throw an error if the arbiter does not have enough space for the t - AdsSyncNoIndexMap + NoMoreQueues TcEventEntry 192 - 4224 + 1344 .uuidEventClass.Data1 - 3140131225 + 2465223571 .uuidEventClass.Data2 - 4142 + 1704 .uuidEventClass.Data3 - 16922 + 18626 .uuidEventClass.Data4[0] - 141 + 136 .uuidEventClass.Data4[1] - 61 + 113 .uuidEventClass.Data4[2] - 176 + 234 .uuidEventClass.Data4[3] - 102 + 163 .uuidEventClass.Data4[4] - 14 + 140 .uuidEventClass.Data4[5] - 7 + 30 .uuidEventClass.Data4[6] - 177 + 57 .uuidEventClass.Data4[7] - 254 + 144 .nEventID - E_TcSystemEventClass.AdsSyncNoIndexMap + E_TcRTimeEventClass.NoMoreQueues .eSeverity @@ -63866,58 +64788,58 @@ The BPTM will throw an error if the arbiter does not have enough space for the t - InvalidAdsPort + ExtIRQAlreadyDef TcEventEntry 192 - 4416 + 1536 .uuidEventClass.Data1 - 3140131225 + 2465223571 .uuidEventClass.Data2 - 4142 + 1704 .uuidEventClass.Data3 - 16922 + 18626 .uuidEventClass.Data4[0] - 141 + 136 .uuidEventClass.Data4[1] - 61 + 113 .uuidEventClass.Data4[2] - 176 + 234 .uuidEventClass.Data4[3] - 102 + 163 .uuidEventClass.Data4[4] - 14 + 140 .uuidEventClass.Data4[5] - 7 + 30 .uuidEventClass.Data4[6] - 177 + 57 .uuidEventClass.Data4[7] - 254 + 144 .nEventID - E_TcSystemEventClass.InvalidAdsPort + E_TcRTimeEventClass.ExtIRQAlreadyDef .eSeverity @@ -63926,58 +64848,58 @@ The BPTM will throw an error if the arbiter does not have enough space for the t - NoMemory + ExtIRQNotDef TcEventEntry 192 - 4608 + 1728 .uuidEventClass.Data1 - 3140131225 + 2465223571 .uuidEventClass.Data2 - 4142 + 1704 .uuidEventClass.Data3 - 16922 + 18626 .uuidEventClass.Data4[0] - 141 + 136 .uuidEventClass.Data4[1] - 61 + 113 .uuidEventClass.Data4[2] - 176 + 234 .uuidEventClass.Data4[3] - 102 + 163 .uuidEventClass.Data4[4] - 14 + 140 .uuidEventClass.Data4[5] - 7 + 30 .uuidEventClass.Data4[6] - 177 + 57 .uuidEventClass.Data4[7] - 254 + 144 .nEventID - E_TcSystemEventClass.NoMemory + E_TcRTimeEventClass.ExtIRQNotDef .eSeverity @@ -63986,58 +64908,58 @@ The BPTM will throw an error if the arbiter does not have enough space for the t - TCPSendError + ExtIRQInstallFailed TcEventEntry 192 - 4800 + 1920 .uuidEventClass.Data1 - 3140131225 + 2465223571 .uuidEventClass.Data2 - 4142 + 1704 .uuidEventClass.Data3 - 16922 + 18626 .uuidEventClass.Data4[0] - 141 + 136 .uuidEventClass.Data4[1] - 61 + 113 .uuidEventClass.Data4[2] - 176 + 234 .uuidEventClass.Data4[3] - 102 + 163 .uuidEventClass.Data4[4] - 14 + 140 .uuidEventClass.Data4[5] - 7 + 30 .uuidEventClass.Data4[6] - 177 + 57 .uuidEventClass.Data4[7] - 254 + 144 .nEventID - E_TcSystemEventClass.TCPSendError + E_TcRTimeEventClass.ExtIRQInstallFailed .eSeverity @@ -64046,58 +64968,58 @@ The BPTM will throw an error if the arbiter does not have enough space for the t - HostUnreachable + IRQNotLessOrEqual TcEventEntry 192 - 4992 + 2112 .uuidEventClass.Data1 - 3140131225 + 2465223571 .uuidEventClass.Data2 - 4142 + 1704 .uuidEventClass.Data3 - 16922 + 18626 .uuidEventClass.Data4[0] - 141 + 136 .uuidEventClass.Data4[1] - 61 + 113 .uuidEventClass.Data4[2] - 176 + 234 .uuidEventClass.Data4[3] - 102 + 163 .uuidEventClass.Data4[4] - 14 + 140 .uuidEventClass.Data4[5] - 7 + 30 .uuidEventClass.Data4[6] - 177 + 57 .uuidEventClass.Data4[7] - 254 + 144 .nEventID - E_TcSystemEventClass.HostUnreachable + E_TcRTimeEventClass.IRQNotLessOrEqual .eSeverity @@ -64106,58 +65028,58 @@ The BPTM will throw an error if the arbiter does not have enough space for the t - InvalidAMSFragment + VMXNotSupported TcEventEntry 192 - 5184 + 2304 .uuidEventClass.Data1 - 3140131225 + 2465223571 .uuidEventClass.Data2 - 4142 + 1704 .uuidEventClass.Data3 - 16922 + 18626 .uuidEventClass.Data4[0] - 141 + 136 .uuidEventClass.Data4[1] - 61 + 113 .uuidEventClass.Data4[2] - 176 + 234 .uuidEventClass.Data4[3] - 102 + 163 .uuidEventClass.Data4[4] - 14 + 140 .uuidEventClass.Data4[5] - 7 + 30 .uuidEventClass.Data4[6] - 177 + 57 .uuidEventClass.Data4[7] - 254 + 144 .nEventID - E_TcSystemEventClass.InvalidAMSFragment + E_TcRTimeEventClass.VMXNotSupported .eSeverity @@ -64166,58 +65088,58 @@ The BPTM will throw an error if the arbiter does not have enough space for the t - AdsSecTLSSendError + VMXDisabled TcEventEntry 192 - 5376 + 2496 .uuidEventClass.Data1 - 3140131225 + 2465223571 .uuidEventClass.Data2 - 4142 + 1704 .uuidEventClass.Data3 - 16922 + 18626 .uuidEventClass.Data4[0] - 141 + 136 .uuidEventClass.Data4[1] - 61 + 113 .uuidEventClass.Data4[2] - 176 + 234 .uuidEventClass.Data4[3] - 102 + 163 .uuidEventClass.Data4[4] - 14 + 140 .uuidEventClass.Data4[5] - 7 + 30 .uuidEventClass.Data4[6] - 177 + 57 .uuidEventClass.Data4[7] - 254 + 144 .nEventID - E_TcSystemEventClass.AdsSecTLSSendError + E_TcRTimeEventClass.VMXDisabled .eSeverity @@ -64226,58 +65148,58 @@ The BPTM will throw an error if the arbiter does not have enough space for the t - AdsSecAccessDenied + VMXControlsMissing TcEventEntry 192 - 5568 + 2688 .uuidEventClass.Data1 - 3140131225 + 2465223571 .uuidEventClass.Data2 - 4142 + 1704 .uuidEventClass.Data3 - 16922 + 18626 .uuidEventClass.Data4[0] - 141 + 136 .uuidEventClass.Data4[1] - 61 + 113 .uuidEventClass.Data4[2] - 176 + 234 .uuidEventClass.Data4[3] - 102 + 163 .uuidEventClass.Data4[4] - 14 + 140 .uuidEventClass.Data4[5] - 7 + 30 .uuidEventClass.Data4[6] - 177 + 57 .uuidEventClass.Data4[7] - 254 + 144 .nEventID - E_TcSystemEventClass.AdsSecAccessDenied + E_TcRTimeEventClass.VMXControlsMissing .eSeverity @@ -64285,9946 +65207,9076 @@ The BPTM will throw an error if the arbiter does not have enough space for the t - - - TcTypeSystem - - - signature_flag - 33554432 - - - checksuperglobal - - - show - - - no-analysis - - - TcEventClass - TcSystemEventClass - - - - - TcGeneralAdsEventClass - TcGeneralAdsEventClass - - GeneralDeviceError - General device error. - Error - - - ServiceNotSupported - Service is not supported by the server. - Error - - - InvalidIndexGroup - Invalid index group. - Error - - - InvalidIndexOffset - Invalid index offset. - Error - - - InvalidAccess - Reading or writing is not permitted. - Error - - - InvalidSize - Parameter size is not correct. - Error - - - InvalidData - Invalid data value(s). - Error - - - NotReady - Device is not ready to operate. - Error - - - Busy - Device is busy. - Error - - - InvalidContext - Invalid operating system context. This can result from use of ADS function blocks in different tasks. - Error - - - NoMemory - Insufficient memory. - Error - - - InvalidParam - Invalid parameter value(s). - Error - - - NotFound - Not found (files, ...). - Error - - - Syntax - Syntax error in file or command. - Error - - - Incompatible - Objects do not match. - Error - - - AlreadyExists - Object already exists. - Error - - - SymbolNotFound - Symbol was not found. - Error - - - SymbolVersionInvalid - Invalid symbol version. This can occur due to an online change. Create a new handle. - Error - - - InvalidState - Device (server) is in invalid state. - Error - - - TransModeNotSupported - AdsTransMode is not supported. - Error - - - NotificationHandleInvalid - Notification handle is invalid. - Error - - - ClientUnknown - Notification client is not registered. - Error - - - NoMoreHandles - No further notification handles. - Error - - - InvalidWatchSize - Notification size too large. - Error - - - NotInit - Device is not initialized. - Error - - - DeviceTimeout - Device has a timeout. - Error - - - NoInterface - Interface query failed. - Error - - - InvalidInterface - Wrong interface is requested. - Error - - - InvalidClassID - Class ID is invalid. - Error - - - InvalidObjectID - Object ID is invalid. - Error - - - Pending - Request pending. - Error - - - Aborted - Request is aborted. - Error - - - SignalWarning - Signal warning. - Error - - - InvalidArrayIndex - Invalid array index. - Error - - - SymbolNotActive - Symbol is not active. - Error - - - AccessDenied - Access denied. - Error - + + VMXEnableFails + TcEventEntry + 192 + 2880 + + + .uuidEventClass.Data1 + 2465223571 + + + .uuidEventClass.Data2 + 1704 + + + .uuidEventClass.Data3 + 18626 + + + .uuidEventClass.Data4[0] + 136 + + + .uuidEventClass.Data4[1] + 113 + + + .uuidEventClass.Data4[2] + 234 + + + .uuidEventClass.Data4[3] + 163 + + + .uuidEventClass.Data4[4] + 140 + + + .uuidEventClass.Data4[5] + 30 + + + .uuidEventClass.Data4[6] + 57 + + + .uuidEventClass.Data4[7] + 144 + + + .nEventID + E_TcRTimeEventClass.VMXEnableFails + + + .eSeverity + TcEventSeverity.Error + + + + + + TcTypeSystem + + + signature_flag + 33554432 + + + checksuperglobal + + + show + + + no-analysis + + + TcEventClass + TcRTimeEventClass + + + + + Win32EventClass + Win32EventClass - LicenseMissing - Missing license. - Error + ERROR_SUCCESS + The operation completed successfully. + Verbose - LicenseExpired - License is expired. + ERROR_INVALID_FUNCTION + Incorrect function. Error - LicenseExceeded - License is exceeded. + ERROR_FILE_NOT_FOUND + The system cannot find the file specified. Error - LicenseInvalid - License is invalid. + ERROR_PATH_NOT_FOUND + The system cannot find the path specified. Error - LicenseSystemID - License problem: System ID is invalid. + ERROR_TOO_MANY_OPEN_FILES + The system cannot open the file. Error - LicenseNoTimeLimit - License not limited in time. + ERROR_ACCESS_DENIED + Access is denied. Error - LicenseFutureIssue - License problem: Time in the future. + ERROR_INVALID_HANDLE + The handle is invalid. Error - LicenseTimeTooLong - License time period is too long. + ERROR_NOT_ENOUGH_MEMORY + Not enough storage is available to process this command. Error - Exception - Exception at system startup. + ERROR_INVALID_DATA + The data is invalid. Error - LicenseDuplicated - License file is read twice. + ERROR_NOT_READY + The device is not ready. Error - SignatureInvalid - Invalid signature. + ERROR_BAD_COMMAND + The device does not recognize the command. Error - CertificateInvalid - Invalid certificate. + ERROR_CRC + Data error (cyclic redundancy check). Error - LicenseOEMNotFound - Public key not known from OEM. + ERROR_BAD_LENGTH + The program issued a command but the command length is incorrect. Error - LicenseRestricted - License not valid for this system ID. + ERROR_WRITE_FAULT + The system cannot write to the specified device. Error - LicenseDemoDenied - Demo license prohibited. + ERROR_READ_FAULT + The system cannot read from the specified device. Error - InvalidFunctionID - Invalid function ID. + ERROR_GEN_FAILURE + A device attached to the system is not functioning. Error - OutOfRange - Outside the valid range. + ERROR_NOT_SUPPORTED + The request is not supported. Error - InvalidAlignment - Invalid alignment. + ERROR_REM_NOT_LIST + The remote computer is not available. Error - LicensePlatform - Invalid platform level. + ERROR_DUP_NAME + A duplicate name exists on the network. Error - ForwardPassiveLevel - Context – forward to passive level. + ERROR_BAD_NETPATH + The network path was not found. Error - ForwardDispatchLevel - Context – forward to dispatch level. + ERROR_NETWORK_BUSY + The network is busy. Error - ForwardRealTime - Context – forward to real-time. + ERROR_DEV_NOT_EXIST + The specified network resource or device is no longer available. Error - InvalidServiceParam - Service contains an invalid parameter. + ERROR_FILE_EXISTS + The file exists. Error - ListEmpty - Polling list is empty. + ERROR_CANNOT_MAKE + The directory or file cannot be created. Error - VariableConAlreadyInUse - Variable connection is already in use. + ERROR_ALREADY_ASSIGNED + The local device name is already in use. Error - InvokeIDAlreadyInUse - Invoke ID is already in use. + ERROR_INVALID_PASSWORD + The specified network password is not correct. Error - TimeoutElapsed - Timeout has occurred – the remote terminal is not responding in the specified ADS timeout. + ERROR_INVALID_PARAMETER + The parameter is incorrect. Error - Win32Error - Error in Win32 subsystem + ERROR_OPEN_FAILED + The system cannot open the device or file specified. Error - TimeoutInvalid - Invalid client timeout value. + ERROR_ALREADY_EXISTS + Cannot create a file when that file already exists. Error - PortNotOpen - Port is not open. + ERROR_INVALID_FLAG_NUMBER + The flag passed is not correct. Error - NoAMSAddr - No AMS address. + WAIT_TIMEOUT + The wait operation timed out. Error - SyncInternalError - Internal error in Ads sync. + ERROR_NO_MORE_ITEMS + No more data is available. Error - AddHash - Hash table overflow. + ERROR_INVALID_ADDRESS + Attempt to access invalid address. Error - RemoveHash - Key not found in hash table. + ERROR_ARITHMETIC_OVERFLOW + Arithmetic result exceeded 32 bits. Error - NoMoreSymbols - No symbols in the cache. + ERROR_OPERATION_ABORTED + The I/O operation has been aborted because of either a thread exit or an application request. Error - SyncResInvalid - Invalid response received + ERROR_IO_INCOMPLETE + Overlapped I/O event is not in a signaled state. Error - SyncPortLocked - Sync port is locked. + ERROR_IO_PENDING + Overlapped I/O operation is in progress. Error - - - Allgemeiner Gerätefehler. - - - Service wird vom Server nicht unterstützt. - - - Ungültige Index-Gruppe. - - - Ungültiger Index-Offset. - - - Lesen oder Schreiben ist nicht gestattet. - - - Parametergröße ist nicht korrekt. - - - Ungültige Daten-Werte. - - - Gerät ist nicht betriebsbereit. - - - Gerät ist beschäftigt. - - - Ungültiger Kontext vom Betriebssystem. Kann durch Verwendung von ADS Bausteinen in unterschiedlichen Tasks auftreten. - - - Nicht genügend Speicher. - - - Ungültige Parameter-Werte. - - - Nicht gefunden (Dateien,...). - - - Syntax-Fehler in Datei oder Befehl. - - - Objekte stimmen nicht überein. - - - Objekt ist bereits vorhanden. - - - Symbol nicht gefunden. - - - Symbol-Version ist ungültig. Kann durch einen Online-Change auftreten. Erzeuge einen neuen Handle. - - - Gerät (Server) ist im ungültigen Zustand. - - - AdsTransMode wird nicht unterstützt. - - - Notification Handle ist ungültig. - - - Notification-Client nicht registriert. - - - Keine weiteren Notification Handles. - - - Größe der Notification zu groß. - - - Gerät ist nicht initialisiert. - - - Gerät hat einen Timeout. - - - Interface Abfrage fehlgeschlagen. - - - Falsches Interface angefordert. - - - Class-ID ist ungültig. - - - Object-ID ist ungültig. - - - Anforderung steht aus. - - - Anforderung wird abgebrochen. - - - Signal-Warnung. - - - Ungültiger Array-Index. - - - Symbol ist nicht aktiv. - - - Zugriff verweigert. - - - Fehlende Lizenz. - - - Lizenz abgelaufen. - - - Lizenz überschritten. - - - Lizenz ungültig. - - - Lizenzproblem: System-ID ist ungültig. - - - Lizenz nicht zeitlich begrenzt. - - - Lizenzproblem: Zeitpunkt in der Zukunft. - - - Lizenz-Zeitraum ist zu lang. - - - Exception beim Systemstart. - - - Lizenz-Datei zweimal gelesen. - - - Ungültige Signatur. - - - Zertifikat ungültig. - - - Public Key vom OEM nicht bekannt. - - - Lizenz nicht gültig für diese System-ID. - - - Demo-Lizenz untersagt. - - - Funktions-ID ungültig. - - - Außerhalb des gültigen Bereiches. - - - Ungültiges Alignment. - - - Ungültiger Plattform Level. - - - Kontext – Weiterleitung zum Passiv-Level. - - - Kontext – Weiterleitung zum Dispatch-Level. - - - Kontext – Weiterleitung zur Echtzeit. - - - Dienst enthält einen ungültigen Parameter. - - - Polling-Liste ist leer. - - - Variablen-Verbindung bereits im Einsatz. - - - Die Invoke-ID ist bereits in Benutzung. - - - Timeout ist aufgetreten – Die Gegenstelle antwortet nicht im vorgegebenen ADS Timeout. - - - Fehler im Win32 Subsystem. - - - Ungültiger Client Timeout-Wert. - - - Port nicht geöffnet. - - - Keine AMS Adresse. - - - Interner Fehler in Ads-Sync. - - - Überlauf der Hash-Tabelle. - - - Schlüssel in der Hash-Tabelle nicht gefunden. - - - Keine Symbole im Cache. - - - Ungültige Antwort erhalten. - - - Sync Port ist verriegelt. - - - - - - - - - + + + + + ST_Win32EventClass + 7104 + + ERROR_SUCCESS + TcEventEntry + 192 + 0 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_SUCCESS + + + .eSeverity + TcEventSeverity.Verbose + + + + + ERROR_INVALID_FUNCTION + TcEventEntry + 192 + 192 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_INVALID_FUNCTION + + + .eSeverity + TcEventSeverity.Error + + + + + ERROR_FILE_NOT_FOUND + TcEventEntry + 192 + 384 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_FILE_NOT_FOUND + + + .eSeverity + TcEventSeverity.Error + + + + + ERROR_PATH_NOT_FOUND + TcEventEntry + 192 + 576 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_PATH_NOT_FOUND + + + .eSeverity + TcEventSeverity.Error + + + + + ERROR_TOO_MANY_OPEN_FILES + TcEventEntry + 192 + 768 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_TOO_MANY_OPEN_FILES + + + .eSeverity + TcEventSeverity.Error + + + + + ERROR_ACCESS_DENIED + TcEventEntry + 192 + 960 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_ACCESS_DENIED + + + .eSeverity + TcEventSeverity.Error + + + + + ERROR_INVALID_HANDLE + TcEventEntry + 192 + 1152 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_INVALID_HANDLE + + + .eSeverity + TcEventSeverity.Error + + + + + ERROR_NOT_ENOUGH_MEMORY + TcEventEntry + 192 + 1344 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_NOT_ENOUGH_MEMORY + + + .eSeverity + TcEventSeverity.Error + + + + + ERROR_INVALID_DATA + TcEventEntry + 192 + 1536 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_INVALID_DATA + + + .eSeverity + TcEventSeverity.Error + + + + + ERROR_NOT_READY + TcEventEntry + 192 + 1728 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_NOT_READY + + + .eSeverity + TcEventSeverity.Error + + + + + ERROR_BAD_COMMAND + TcEventEntry + 192 + 1920 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_BAD_COMMAND + + + .eSeverity + TcEventSeverity.Error + + + + + ERROR_CRC + TcEventEntry + 192 + 2112 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_CRC + + + .eSeverity + TcEventSeverity.Error + + + + + ERROR_BAD_LENGTH + TcEventEntry + 192 + 2304 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_BAD_LENGTH + + + .eSeverity + TcEventSeverity.Error + + + + + ERROR_WRITE_FAULT + TcEventEntry + 192 + 2496 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_WRITE_FAULT + + + .eSeverity + TcEventSeverity.Error + + + + + ERROR_READ_FAULT + TcEventEntry + 192 + 2688 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_READ_FAULT + + + .eSeverity + TcEventSeverity.Error + + + + + ERROR_GEN_FAILURE + TcEventEntry + 192 + 2880 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_GEN_FAILURE + + + .eSeverity + TcEventSeverity.Error + + + + + ERROR_NOT_SUPPORTED + TcEventEntry + 192 + 3072 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_NOT_SUPPORTED + + + .eSeverity + TcEventSeverity.Error + + + + + ERROR_REM_NOT_LIST + TcEventEntry + 192 + 3264 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_REM_NOT_LIST + + + .eSeverity + TcEventSeverity.Error + + + + + ERROR_DUP_NAME + TcEventEntry + 192 + 3456 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_DUP_NAME + + + .eSeverity + TcEventSeverity.Error + + + + + ERROR_BAD_NETPATH + TcEventEntry + 192 + 3648 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_BAD_NETPATH + + + .eSeverity + TcEventSeverity.Error + + + + + ERROR_NETWORK_BUSY + TcEventEntry + 192 + 3840 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_NETWORK_BUSY + + + .eSeverity + TcEventSeverity.Error + + + + + ERROR_DEV_NOT_EXIST + TcEventEntry + 192 + 4032 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_DEV_NOT_EXIST + + + .eSeverity + TcEventSeverity.Error + + + + + ERROR_FILE_EXISTS + TcEventEntry + 192 + 4224 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_FILE_EXISTS + + + .eSeverity + TcEventSeverity.Error + + + + + ERROR_CANNOT_MAKE + TcEventEntry + 192 + 4416 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_CANNOT_MAKE + + + .eSeverity + TcEventSeverity.Error + + + + + ERROR_ALREADY_ASSIGNED + TcEventEntry + 192 + 4608 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_ALREADY_ASSIGNED + + + .eSeverity + TcEventSeverity.Error + + + + + ERROR_INVALID_PASSWORD + TcEventEntry + 192 + 4800 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_INVALID_PASSWORD + + + .eSeverity + TcEventSeverity.Error + + + + + ERROR_INVALID_PARAMETER + TcEventEntry + 192 + 4992 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_INVALID_PARAMETER + + + .eSeverity + TcEventSeverity.Error + + + + + ERROR_OPEN_FAILED + TcEventEntry + 192 + 5184 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_OPEN_FAILED + + + .eSeverity + TcEventSeverity.Error + + + + + ERROR_ALREADY_EXISTS + TcEventEntry + 192 + 5376 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_ALREADY_EXISTS + + + .eSeverity + TcEventSeverity.Error + + + + + ERROR_INVALID_FLAG_NUMBER + TcEventEntry + 192 + 5568 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_INVALID_FLAG_NUMBER + + + .eSeverity + TcEventSeverity.Error + + + + + WAIT_TIMEOUT + TcEventEntry + 192 + 5760 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.WAIT_TIMEOUT + + + .eSeverity + TcEventSeverity.Error + + + + + ERROR_NO_MORE_ITEMS + TcEventEntry + 192 + 5952 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_NO_MORE_ITEMS + + + .eSeverity + TcEventSeverity.Error + + + + + ERROR_INVALID_ADDRESS + TcEventEntry + 192 + 6144 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_INVALID_ADDRESS + + + .eSeverity + TcEventSeverity.Error + + + + + ERROR_ARITHMETIC_OVERFLOW + TcEventEntry + 192 + 6336 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_ARITHMETIC_OVERFLOW + + + .eSeverity + TcEventSeverity.Error + + + + + ERROR_OPERATION_ABORTED + TcEventEntry + 192 + 6528 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_OPERATION_ABORTED + + + .eSeverity + TcEventSeverity.Error + + + + + ERROR_IO_INCOMPLETE + TcEventEntry + 192 + 6720 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_IO_INCOMPLETE + + + .eSeverity + TcEventSeverity.Error + + + + + ERROR_IO_PENDING + TcEventEntry + 192 + 6912 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_IO_PENDING + + + .eSeverity + TcEventSeverity.Error + + + + + + TcTypeSystem + + + signature_flag + 33554432 + + + checksuperglobal + + + show + + + no-analysis + + + TcEventClass + Win32EventClass + + + + + LCLSGeneralEventClass + Log event + + Critical + Critical + Critical + + + Error + Error + Error + + + Warning + Warning + Warning + + + Info + Info + Info + + + Verbose + Verbose + Verbose + + + + + + + + + - ST_TcGeneralAdsEventClass - 14016 + ST_LCLSGeneralEventClass + 960 + + Critical + TcEventEntry + 192 + 0 + + + .uuidEventClass.Data1 + 2546958919 + + + .uuidEventClass.Data2 + 46492 + + + .uuidEventClass.Data3 + 20012 + + + .uuidEventClass.Data4[0] + 180 + + + .uuidEventClass.Data4[1] + 176 + + + .uuidEventClass.Data4[2] + 115 + + + .uuidEventClass.Data4[3] + 80 + + + .uuidEventClass.Data4[4] + 208 + + + .uuidEventClass.Data4[5] + 71 + + + .uuidEventClass.Data4[6] + 20 + + + .uuidEventClass.Data4[7] + 87 + + + .nEventID + E_LCLSGeneralEventClass.Critical + + + .eSeverity + TcEventSeverity.Critical + + + + + Error + TcEventEntry + 192 + 192 + + + .uuidEventClass.Data1 + 2546958919 + + + .uuidEventClass.Data2 + 46492 + + + .uuidEventClass.Data3 + 20012 + + + .uuidEventClass.Data4[0] + 180 + + + .uuidEventClass.Data4[1] + 176 + + + .uuidEventClass.Data4[2] + 115 + + + .uuidEventClass.Data4[3] + 80 + + + .uuidEventClass.Data4[4] + 208 + + + .uuidEventClass.Data4[5] + 71 + + + .uuidEventClass.Data4[6] + 20 + + + .uuidEventClass.Data4[7] + 87 + + + .nEventID + E_LCLSGeneralEventClass.Error + + + .eSeverity + TcEventSeverity.Error + + + + + Warning + TcEventEntry + 192 + 384 + + + .uuidEventClass.Data1 + 2546958919 + + + .uuidEventClass.Data2 + 46492 + + + .uuidEventClass.Data3 + 20012 + + + .uuidEventClass.Data4[0] + 180 + + + .uuidEventClass.Data4[1] + 176 + + + .uuidEventClass.Data4[2] + 115 + + + .uuidEventClass.Data4[3] + 80 + + + .uuidEventClass.Data4[4] + 208 + + + .uuidEventClass.Data4[5] + 71 + + + .uuidEventClass.Data4[6] + 20 + + + .uuidEventClass.Data4[7] + 87 + + + .nEventID + E_LCLSGeneralEventClass.Warning + + + .eSeverity + TcEventSeverity.Warning + + + + + Info + TcEventEntry + 192 + 576 + + + .uuidEventClass.Data1 + 2546958919 + + + .uuidEventClass.Data2 + 46492 + + + .uuidEventClass.Data3 + 20012 + + + .uuidEventClass.Data4[0] + 180 + + + .uuidEventClass.Data4[1] + 176 + + + .uuidEventClass.Data4[2] + 115 + + + .uuidEventClass.Data4[3] + 80 + + + .uuidEventClass.Data4[4] + 208 + + + .uuidEventClass.Data4[5] + 71 + + + .uuidEventClass.Data4[6] + 20 + + + .uuidEventClass.Data4[7] + 87 + + + .nEventID + E_LCLSGeneralEventClass.Info + + + .eSeverity + TcEventSeverity.Info + + + + + Verbose + TcEventEntry + 192 + 768 + + + .uuidEventClass.Data1 + 2546958919 + + + .uuidEventClass.Data2 + 46492 + + + .uuidEventClass.Data3 + 20012 + + + .uuidEventClass.Data4[0] + 180 + + + .uuidEventClass.Data4[1] + 176 + + + .uuidEventClass.Data4[2] + 115 + + + .uuidEventClass.Data4[3] + 80 + + + .uuidEventClass.Data4[4] + 208 + + + .uuidEventClass.Data4[5] + 71 + + + .uuidEventClass.Data4[6] + 20 + + + .uuidEventClass.Data4[7] + 87 + + + .nEventID + E_LCLSGeneralEventClass.Verbose + + + .eSeverity + TcEventSeverity.Verbose + + + + + + TcTypeSystem + + + signature_flag + 33554432 + + + checksuperglobal + + + show + + + no-analysis + + + TcEventClass + LCLSGeneralEventClass + + + + + I_HigherAuthority + 32 + PVOID + + CheckRequest + Verify with this higher authority that the request is being included + BOOL + 8 + + nReqID + DWORD + 32 + + + + RemoveRequest + Remove the request from this higher authority + BOOL + 8 + + nReqID + StateID to remove + DWORD + 32 + + + + RequestBP + Request a BP from this higher authority + 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 + <Arbiter Internal> + Elevates the arbitrated BP set to something above. + Could be another arbiter, or a BP requester/ IO, + or an FB that locks in a specific portion of the BP set. + BOOL + 8 + + HigherAuthority + I_HigherAuthority + 32 + + + + + FB_VetoArbiter + 27168 + I_HigherAuthority - GeneralDeviceError - TcEventEntry - 192 - 0 + bVeto + BOOL + Rising edge clears request, hold true to veto continuously, falling edge restores request + 8 + 64 + + false + + + + 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 - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 + .i_xAutoReset + true - .uuidEventClass.Data4[7] - 240 + .i_Desc + Holds beam off until request is back in arbitration - .nEventID - E_TcGeneralAdsEventClass.GeneralDeviceError + .i_TypeCode + 200 - .eSeverity - TcEventSeverity.Error + .i_xVetoable + true - ServiceNotSupported - TcEventEntry - 192 - 192 + 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_ReactiveParams + 64 + + nTempSP + REAL + 32 + 0 + + + pytmc + pv: TempSP + io: i + field: PREC 2; + field: EGU "C"; + + + + + + nPressSP + REAL + 32 + 32 + + + pytmc + pv: PressSP + io: i + field: PREC 2; + field: EGU "TORR"; + + + + + + + ST_DbStateParams + 2560 + + sPmpsState + STRING(80) + PMPS database lookup name for this state + 648 + 0 + + + pytmc + + pv: PMPS_STATE + io: i + field: DESC PMPS Database Lookup Key + + + + + + stBeamParams + ST_BeamParams + Beam parameters associated with this state + 1760 + 672 + + + pytmc + + pv: BP + io: i + + + + + + 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. + + + + + + stReactiveParams + ST_ReactiveParams + Reactive parameters associated with this state + 64 + 2464 + + + pytmc + + pv: ReParams + io: i + + + + + + nRequestAssertionID + UDINT + Transition ID associated with this state + 32 + 2528 + + + pytmc + + pv: PMPS_ID + io: i + field: DESC Assertion Request ID + + + + + + + ST_PositionState + 3712 + + 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 + + + + + + fPosition + LREAL + Position associated with this state + 64 + 704 + + + pytmc + + pv: SETPOINT + io: io + field: DESC Axis position associated with this state + + + + + + nEncoderCount + UDINT + 32 + 768 + + + pytmc + + pv: ENCODER + io: i + field: DESC Encoder count associated with this state + + + + + + fDelta + LREAL + Maximum allowable deviation from fPosition while at the state + 64 + 832 + + + 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 + + + + + + fAccel + LREAL + (optional) Acceleration to use for moves to this state + 64 + 960 + + + fDecel + LREAL + (optional) Deceleration to use for moves to this state + 64 + 1024 + + + 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 + + + + + + bLocked + BOOL + Signifies to FB_PositionStateLock that this state should be immutable + 8 + 1096 + + + 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 + + + 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. + 2560 + 1152 + + + + E_MotionRequest + 16 + INT + + WAIT + 0 + + + INTERRUPT + 1 + + + ABORT + 2 + + + + qualified_only + + + strict + + + + + FB_MotionRequest + 1600 + + stMotionStage + ST_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 + E_MotionRequest + Define behavior for when the motor is already moving + 16 + 80 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.ServiceNotSupported - - - .eSeverity - TcEventSeverity.Error - + E_MotionRequest.WAIT + + + ItemType + Input + + - InvalidIndexGroup - TcEventEntry - 192 + 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 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.InvalidIndexGroup - - - .eSeverity - TcEventSeverity.Error - + 0 - InvalidIndexOffset - TcEventEntry - 192 - 576 + bMyMove + BOOL + 8 + 1392 + + + bCausedError + BOOL + 8 + 1400 + + + INIT + UINT + 16 + 1408 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.InvalidIndexOffset - - - .eSeverity - TcEventSeverity.Error - + 0 - InvalidAccess - TcEventEntry - 192 - 768 + WAIT_EXEC + UINT + 16 + 1424 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.InvalidAccess - - - .eSeverity - TcEventSeverity.Error - + 1 - InvalidSize - TcEventEntry - 192 - 960 + PICK_REQUEST + UINT + 16 + 1440 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.InvalidSize - - - .eSeverity - TcEventSeverity.Error - + 2 + + + + WAIT_OTHER_MOVE + UINT + 16 + 1456 + + 3 - InvalidData - TcEventEntry - 192 - 1152 + STOP_OTHER_MOVE + UINT + 16 + 1472 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.InvalidData - - - .eSeverity - TcEventSeverity.Error - + 4 - NotReady - TcEventEntry - 192 - 1344 + START_MOVE + UINT + 16 + 1488 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.NotReady - - - .eSeverity - TcEventSeverity.Error - + 5 - Busy - TcEventEntry - 192 + WAIT_MY_MOVE + UINT + 16 + 1504 + + 6 + + + + STOP_MY_MOVE + UINT + 16 + 1520 + + 7 + + + + DONE_MOVING + UINT + 16 1536 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.Busy - - - .eSeverity - TcEventSeverity.Error - + 8 - InvalidContext - TcEventEntry - 192 - 1728 + ERROR + UINT + 16 + 1552 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.InvalidContext - - - .eSeverity - TcEventSeverity.Error - + 9 + + + + + PouType + FunctionBlock + + + + + FB_PositionStateMove + 2688 + + stMotionStage + ST_MotionStage + Motor to move + 32 + 32 + + + ItemType + InOut + + + + + stPositionState + ST_PositionState + State to move to + 32 + 64 + + + ItemType + InOut + + + pytmc + + pv: + + + + + + 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 + + + + + + bReset + BOOL + Rising edge error reset + 8 + 104 + + + ItemType + Input + + + pytmc + + pv: RESET + io: io + field: ZNAM False + field: ONAM True + + + + + + enumMotionRequest + E_MotionRequest + Define behavior for when a move is already active + 16 + 112 + + E_MotionRequest.WAIT + + + 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 + + + + + + bError + BOOL + TRUE if we have an error + 8 + 136 + + + ItemType + Output + + + pytmc + + pv: ERR + io: input + field: ZNAM False + field: ONAM True + + + + + + nErrorID + UDINT + Error code + 32 + 160 + + + ItemType + Output + + + pytmc + + pv: ERRID + io: input + + + + + + sErrorMessage + STRING(80) + Error description + 648 + 192 + + + ItemType + Output + + + pytmc + + pv: ERRMSG + io: input + + + + + + 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 + + + + + + bDone + BOOL + TRUE if we are not 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 + + + + + + fbMotionRequest + FB_MotionRequest + 1600 + 896 + + + rtExec + R_TRIG + 64 + 2496 + + + rtReset + R_TRIG + 64 + 2560 - NoMemory - TcEventEntry - 192 - 1920 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.NoMemory - - - .eSeverity - TcEventSeverity.Error - - + bInnerExec + BOOL + 8 + 2624 - InvalidParam - TcEventEntry - 192 - 2112 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.InvalidParam - - - .eSeverity - TcEventSeverity.Error - - + bAllowMove + BOOL + 8 + 2632 - NotFound - TcEventEntry - 192 - 2304 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.NotFound - - - .eSeverity - TcEventSeverity.Error - - + nLatchAllowErrorID + UDINT + 32 + 2656 + + + PouType + FunctionBlock + + + + + FB_RawCountConverter + 8576 - Syntax - TcEventEntry - 192 - 2496 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.Syntax - - - .eSeverity - TcEventSeverity.Error - - + stParameters + ST_AxisParameterSet + Parameters to check against + 8192 + 64 + + + ItemType + Input + + - Incompatible - TcEventEntry - 192 - 2688 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.Incompatible - - - .eSeverity - TcEventSeverity.Error - - + nCountCheck + UDINT + Optional count to convert to a real position + 32 + 8256 + + + ItemType + Input + + - AlreadyExists - TcEventEntry - 192 - 2880 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.AlreadyExists - - - .eSeverity - TcEventSeverity.Error - - + fPosCheck + LREAL + Optional position to convert to encoder counts + 64 + 8320 + + + ItemType + Input + + - SymbolNotFound - TcEventEntry - 192 - 3072 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.SymbolNotFound - - - .eSeverity - TcEventSeverity.Error - - + 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 + 3904 - SymbolVersionInvalid - TcEventEntry - 192 - 3264 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.SymbolVersionInvalid - - - .eSeverity - TcEventSeverity.Error - - + stPositionState + ST_PositionState + 32 + 32 + + + ItemType + InOut + + - InvalidState - TcEventEntry - 192 - 3456 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.InvalidState - - - .eSeverity - TcEventSeverity.Error - - + bEnable + BOOL + 8 + 64 + + + ItemType + Input + + - TransModeNotSupported - TcEventEntry - 192 - 3648 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.TransModeNotSupported - - - .eSeverity - TcEventSeverity.Error - - + stCachedPositionState + ST_PositionState + 3712 + 128 - NotificationHandleInvalid - TcEventEntry - 192 + bInit + BOOL + 8 3840 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.NotificationHandleInvalid - - - .eSeverity - TcEventSeverity.Error - + false + + + PouType + FunctionBlock + + + + + FB_PositionStateInternal + 12608 - ClientUnknown - TcEventEntry - 192 - 4032 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.ClientUnknown - - - .eSeverity - TcEventSeverity.Error - - + stMotionStage + ST_MotionStage + 32 + 32 + + + ItemType + InOut + + - NoMoreHandles - TcEventEntry - 192 - 4224 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.NoMoreHandles - - - .eSeverity - TcEventSeverity.Error - - + stPositionState + ST_PositionState + 32 + 64 + + + ItemType + InOut + + + + + fbEncConverter + FB_RawCountConverter + 8576 + 128 + + + fbLock + FB_PositionStateLock + 3904 + 8704 + + + + PouType + FunctionBlock + + + + + FB_PositionStateBase + 256000 + + stMotionStage + ST_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 + + + + + + bError + BOOL + If TRUE, there is an error + 8 + 80 + + + ItemType + Output + + + pytmc + + pv: ERR + io: i + field: ZNAM False + field: ONAM True + + + - InvalidWatchSize - TcEventEntry - 192 - 4416 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.InvalidWatchSize - - - .eSeverity - TcEventSeverity.Error - - + nErrorId + UDINT + Error ID + 32 + 96 + + + ItemType + Output + + + pytmc + + pv: ERRID + io: i + + + - NotInit - TcEventEntry - 192 - 4608 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.NotInit - - - .eSeverity - TcEventSeverity.Error - - + sErrorMessage + STRING(80) + The error that caused bError to flip TRUE + 648 + 128 + + + ItemType + Output + + + pytmc + + pv: ERRMSG + io: i + + + - DeviceTimeout - TcEventEntry - 192 - 4800 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.DeviceTimeout - - - .eSeverity - TcEventSeverity.Error - - + bBusy + BOOL + If TRUE, we are moving the motor + 8 + 776 + + + ItemType + Output + + + pytmc + + pv: BUSY + io: i + field: ZNAM False + field: ONAM True + + + - NoInterface - TcEventEntry - 192 - 4992 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.NoInterface - - - .eSeverity - TcEventSeverity.Error - - + 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 + + + - InvalidInterface - TcEventEntry - 192 - 5184 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.InvalidInterface - - - .eSeverity - TcEventSeverity.Error - - + arrStates + ST_PositionState + + 1 + 15 + + Pre-allocated array of states + 55680 + 832 + + + pytmc + + pv: + io: io + expand: %.2d + + + - InvalidClassID - TcEventEntry - 192 - 5376 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.InvalidClassID - - - .eSeverity - TcEventSeverity.Error - - + setState + INT + Corresponding arrStates index to move to, or 0 if no move selected + 16 + 56512 - InvalidObjectID - TcEventEntry - 192 - 5568 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.InvalidObjectID - - - .eSeverity - TcEventSeverity.Error - - + goalState + INT + The current position we are trying to reach, or 0 + 16 + 56528 + + + getState + INT + The readback position + 16 + 56544 - Pending - TcEventEntry - 192 - 5760 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.Pending - - - .eSeverity - TcEventSeverity.Error - - + bInit + BOOL + 8 + 56560 - Aborted - TcEventEntry - 192 - 5952 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.Aborted - - - .eSeverity - TcEventSeverity.Error - - + stUnknown + ST_PositionState + 3712 + 56576 - SignalWarning - TcEventEntry - 192 - 6144 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.SignalWarning - - - .eSeverity - TcEventSeverity.Error - - + stGoal + ST_PositionState + 3712 + 60288 - InvalidArrayIndex - TcEventEntry - 192 - 6336 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.InvalidArrayIndex - - - .eSeverity - TcEventSeverity.Error - - + fbStateMove + FB_PositionStateMove + 2688 + 64000 - SymbolNotActive - TcEventEntry - 192 - 6528 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.SymbolNotActive - - - .eSeverity - TcEventSeverity.Error - - + fbStateInternal + FB_PositionStateInternal + + 1 + 15 + + 189120 + 66688 - AccessDenied - TcEventEntry - 192 - 6720 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.AccessDenied - - - .eSeverity - TcEventSeverity.Error - - + nIndex + INT + 16 + 255808 - LicenseMissing - TcEventEntry - 192 - 6912 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.LicenseMissing - - - .eSeverity - TcEventSeverity.Error - - + bNewGoal + BOOL + 8 + 255824 - LicenseExpired - TcEventEntry - 192 - 7104 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.LicenseExpired - - - .eSeverity - TcEventSeverity.Error - - + bInnerExec + BOOL + 8 + 255832 + + + bInnerReset + BOOL + 8 + 255840 + + + rtReset + R_TRIG + 64 + 255872 + + + bMoveRequested + BOOL + 8 + 255936 + + Exec + + + StateHandler + + + + PouType + FunctionBlock + + + obsolete + Use FB_PositionState1D instead + + + + + T_HashTableEntry + 64 - LicenseExceeded - TcEventEntry - 192 - 7296 + key + DWORD + 32 + 0 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.LicenseExceeded - - - .eSeverity - TcEventSeverity.Error - + 0 + + + pytmc + + pv: Key + io: i + + + - LicenseInvalid - TcEventEntry - 192 - 7488 + value + PVOID + 32 + 32 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.LicenseInvalid - - - .eSeverity - TcEventSeverity.Error - + 0 + + + ST_BP_ArbInternal + 2464 + ST_BeamParams - LicenseSystemID - TcEventEntry - 192 - 7680 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.LicenseSystemID - - - .eSeverity - TcEventSeverity.Error - - + nId + DWORD + 32 + 1760 + + + pytmc + pv: ID + io: i + + + - LicenseNoTimeLimit - TcEventEntry - 192 - 7872 + LiveInTable + BOOL + 8 + 1792 + + + pytmc + pv: Live + io: i + + + + + + sDevName + STRING(80) + 648 + 1800 + + + pytmc + pv: Device + io: i + + + + + + + T_HashTableEntry + Hash table entry + 192 + + key + DWORD + Entry key: 32 bit unsigned integer or pointer + 32 + 0 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.LicenseNoTimeLimit - - - .eSeverity - TcEventSeverity.Error - + 0 - LicenseFutureIssue - TcEventEntry - 192 - 8064 + value + PVOID + Entry value: 32/64 bit unsigned integer or pointer + 32 + 32 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.LicenseFutureIssue - - - .eSeverity - TcEventSeverity.Error - + 0 - LicenseTimeTooLong - TcEventEntry - 192 - 8256 + lock + DWORD + Node state flags: Bit 0 <0..1>: 0 = node free, 1 = node in use, other bits reserved + 32 + 64 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.LicenseTimeTooLong - - - .eSeverity - TcEventSeverity.Error - + 0 + + + conditionalshow + + - Exception - TcEventEntry - 192 - 8448 + pNext + PVOID + Pointer to next hash table element + 32 + 96 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.Exception - - - .eSeverity - TcEventSeverity.Error - + 0 + + + + conditionalshow + + + + + pNextFree + PVOID + Pointer to next free element + 32 + 128 + + 0 + + + conditionalshow + + - LicenseDuplicated - TcEventEntry - 192 - 8640 + pNextGlob + PVOID + Pointer to next global element + 32 + 160 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.LicenseDuplicated - - - .eSeverity - TcEventSeverity.Error - + 0 + + + conditionalshow + + + + + T_HHASHTABLE + Hash table object handle + 3488 - SignatureInvalid - TcEventEntry - 192 - 8832 + nCount + UDINT + Number of used hash table entries + 32 + 0 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.SignatureInvalid - - - .eSeverity - TcEventSeverity.Error - + 0 - CertificateInvalid - TcEventEntry - 192 - 9024 + nFree + UDINT + Number of free hash table entries + 32 + 32 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.CertificateInvalid - - - .eSeverity - TcEventSeverity.Error - + 0 - LicenseOEMNotFound - TcEventEntry - 192 - 9216 + pEntries + T_HashTableEntry + Pointer to table array + 32 + 64 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.LicenseOEMNotFound - - - .eSeverity - TcEventSeverity.Error - + 0 + + + conditionalshow + + - LicenseRestricted - TcEventEntry - 192 - 9408 + cbEntries + UDINT + Byte size of table array + 32 + 96 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.LicenseRestricted - - - .eSeverity - TcEventSeverity.Error - + 0 + + + conditionalshow + + - LicenseDemoDenied - TcEventEntry - 192 - 9600 + nElements + UDINT + Number of table/array elements + 32 + 128 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.LicenseDemoDenied - - - .eSeverity - TcEventSeverity.Error - + 0 + + + conditionalshow + + - InvalidFunctionID - TcEventEntry - 192 - 9792 + cbElement + UDINT + Byte size of one array element + 32 + 160 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.InvalidFunctionID - - - .eSeverity - TcEventSeverity.Error - + 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 - OutOfRange - TcEventEntry - 192 - 9984 + 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 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.OutOfRange - - - .eSeverity - TcEventSeverity.Error - + 0 + + + ItemType + Input + + - InvalidAlignment - TcEventEntry - 192 - 10176 + putValue + PVOID + Entry value: 32/64 bit unsigned integer or pointer + 32 + 96 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.InvalidAlignment - - - .eSeverity - TcEventSeverity.Error - + 0 + + + ItemType + Input + + - LicensePlatform - TcEventEntry - 192 - 10368 + putPosPtr + T_HashTableEntry + Hash table entry position pointer, used by A_GetNext + 32 + 128 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.LicensePlatform - - - .eSeverity - TcEventSeverity.Error - + 0 + + + ItemType + Input + + - ForwardPassiveLevel - TcEventEntry - 192 - 10560 + bOk + BOOL + TRUE = success, FALSE = error + 8 + 160 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.ForwardPassiveLevel - - - .eSeverity - TcEventSeverity.Error - + false + + + ItemType + Output + + - ForwardDispatchLevel - TcEventEntry - 192 - 10752 + getValue + PVOID + Entry value: 32/64 bit unsigned integer or pointer + 32 + 192 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.ForwardDispatchLevel - - - .eSeverity - TcEventSeverity.Error - + 0 + + + ItemType + Output + + - ForwardRealTime - TcEventEntry - 192 - 10944 + getPosPtr + T_HashTableEntry + returned by A_GetFirstEntry, A_GetNextEntry, A_Add, A_Lookup and A_Remove method + 32 + 224 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.ForwardRealTime - - - .eSeverity - TcEventSeverity.Error - + 0 + + + ItemType + Output + + - InvalidServiceParam - TcEventEntry - 192 - 11136 + p + T_HashTableEntry + 32 + 256 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.InvalidServiceParam - - - .eSeverity - TcEventSeverity.Error - + 0 + + + + conditionalshow + + + + + n + T_HashTableEntry + 32 + 288 + + 0 + + + conditionalshow + + - ListEmpty - TcEventEntry - 192 - 11328 + nHash + DWORD + 32 + 320 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.ListEmpty - - - .eSeverity - TcEventSeverity.Error - + 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 - VariableConAlreadyInUse - TcEventEntry - 192 - 11520 + key + DWORD + Entry key: used by A_Lookup, A_Remove method, the key variable is also used by A_Add method + 32 + 32 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.VariableConAlreadyInUse - - - .eSeverity - TcEventSeverity.Error - + 0 + + + ItemType + Input + + - InvokeIDAlreadyInUse - TcEventEntry - 192 - 11712 + putPosPtr + T_HashTableEntry + Hash table entry position pointer (used by A_Find, A_GetNext, A_GetPrev) + 32 + 64 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.InvokeIDAlreadyInUse - - - .eSeverity - TcEventSeverity.Error - + 0 + + + ItemType + Input + + - TimeoutElapsed - TcEventEntry - 192 - 11904 + 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 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.TimeoutElapsed - - - .eSeverity - TcEventSeverity.Error - + false + + + ItemType + Output + + - Win32Error - TcEventEntry - 192 - 12096 + getPosPtr + T_HashTableEntry + Returned hash table entry position pointer + 32 + 2592 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.Win32Error - - - .eSeverity - TcEventSeverity.Error - + 0 + + + ItemType + Output + + - TimeoutInvalid - TcEventEntry - 192 - 12288 + 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 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.TimeoutInvalid - - - .eSeverity - TcEventSeverity.Error - + 0 + + + + ItemType + Output + + + + + epicsDataPool + ST_BP_ArbInternal + + 1 + 20 + + Structured data element pool for display in EPICS + 49280 + 5120 + + + pytmc + + pv: Entry + io: i + + + + + + 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 - PortNotOpen - TcEventEntry - 192 - 12480 + indexOfElem + ULINT + Integer value (max. size: x86=>32bit, x64=>64bit) + 64 + 212480 + + + cstSafeBeam + ST_BeamParams + MG + 1760 + 212544 - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 + .nTran + 0 - .uuidEventClass.Data4[7] - 240 + .neVRange + 0 - .nEventID - E_TcGeneralAdsEventClass.PortNotOpen + .nRate + 0 - .eSeverity - TcEventSeverity.Error + .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: +- Provide a simple interface for devices to request beam parameter sets +- Provide a way for devices to verify their BPS is active in the arbiter +- Provide a way for devices remove their requests from evaluation +- Evaluate all active beam parameter requests registered with the aribiter, +to determine the safest combination of all sets, provide this set as an output. +- Do all of this with minimal overhead + +To these ends, the arbiter uses a hash-table, the rows being a state-id as the key, and a corresponding + beam parameter set to be evaluated against all the other sets (or rows), in the table. + +The hash table can be thought of as an array on steriods, they are worth reading about, suffice to say +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. + + 474624 + I_HigherAuthority + I_LowerAuthority + + nRequestsCount + UDINT + How many requests are currently in the arbiter + 32 + 96 + - NoAMSAddr - TcEventEntry - 192 - 12672 + fbBPAssertionPool + FB_BeamParamAssertionPool + Table of active beam parameter assertions + 214336 + 128 + + + pytmc + + pv: AP + io: i + field: DESC Assertion Pool + + + + + + 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. + + + + + + nNextCohort + UDINT + The cohort ID any new requests will adopt, will become ReqInProgCohort at the start of the next acknowledgement cycle + 32 + 214528 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.NoAMSAddr - - - .eSeverity - TcEventSeverity.Error - + 1 - SyncInternalError - TcEventEntry - 192 - 12864 + nAckInProgCohort + UDINT + The cohort ID currently being acknowledged, will become nActiveCohort after acknowledgement from HA + 32 + 214560 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.SyncInternalError - - - .eSeverity - TcEventSeverity.Error - + 0 - AddHash - TcEventEntry - 192 - 13056 + nActiveCohort + UDINT + Requests with cohorts <= to this value will be considered active in CheckRequest + 32 + 214592 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.AddHash - - - .eSeverity - TcEventSeverity.Error - + 0 + + + pytmc + + pv: CohortCounter + io: i + field: DESC Intrnl cohort counter + + + - RemoveHash - TcEventEntry - 192 - 13248 + 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 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.RemoveHash - - - .eSeverity - TcEventSeverity.Error - + false - NoMoreSymbols - TcEventEntry - 192 - 13440 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.NoMoreSymbols - - - .eSeverity - TcEventSeverity.Error - - + 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 + + + - SyncResInvalid - TcEventEntry - 192 - 13632 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.SyncResInvalid - - - .eSeverity - TcEventSeverity.Error - - + q_xStateIDFound + BOOL + Set true if a state-id is found in the assertion pool after calling A_VerifyAssertion + 8 + 228448 + + + ItemType + Output + + - SyncPortLocked - TcEventEntry - 192 - 13824 + __FB_ARBITER__GETARBITRATEDBP__XFIRSTPASS + BOOL + 8 + 228456 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.SyncPortLocked - - - .eSeverity - TcEventSeverity.Error - + : u - - - TcTypeSystem - - - signature_flag - 33554432 - - - checksuperglobal - - - show - + + __FB_ARBITER__GETARBITRATEDBP__FBGETCURTASKIDX + GETCURTASKINDEX + 128 + 228480 + + + __FB_ARBITER__GETARBITRATEDBP__LASTCYCLECOUNT + UDINT + 32 + 228608 + + + __FB_ARBITER__GETARBITRATEDBP__FBLOGMESSAGE + FB_LogMessage + 81984 + 228672 + + + __FB_ARBITER__ADDREQUEST__FBLOG + FB_LogMessage + 81984 + 310656 + + + __FB_ARBITER__REMOVEREQUEST__FBLOG + FB_LogMessage + 81984 + 392640 + + + __getnEntryCount + How many entries are in the arbiter now + UDINT + 32 + + nEntryCount + UDINT + 32 + + + + property + + + + + CheckRequest + Checks request ID is included in arbitration all the way to the accelerator interface +Use like so: +IF fbArbiter.CheckRequest(nStateIDAssertionToCheck) AND (other logic) THEN: + Request is found and active in arbitration,. Do something. +ELSE: + Request was not found, or is not yet included in arbitration. Don't do something/ wait. + + + BOOL + 8 + + nReqID + DWORD + 32 + + + BP + ST_BeamParams + 1760 + + + + ElevateRequest + <Arbiter Internal> + Elevates the arbitrated BP set to something above. + Could be another arbiter, or a BP requester/ IO, + or an FB that locks in a specific portion of the BP set. + BOOL + 8 + + HigherAuthority + I_HigherAuthority + 32 + + + + GetArbitratedBP + Executes Arbitration between all requested beam parameter sets + 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 + __FB_ARBITER__GETARBITRATEDBP__XFIRSTPASS + + + + + fbGetCurTaskIdx + GETCURTASKINDEX + 128 + + + uselocation + __FB_ARBITER__GETARBITRATEDBP__FBGETCURTASKIDX + + + + + LastCycleCount + UDINT + 32 + + + uselocation + __FB_ARBITER__GETARBITRATEDBP__LASTCYCLECOUNT + + + + + fbLogMessage + FB_LogMessage + 81984 + + + uselocation + __FB_ARBITER__GETARBITRATEDBP__FBLOGMESSAGE + + + + + + ArbitrateBP + Kernel of the arbiter + Logic for determining which beam parameter is the most conservative across all request sets. + 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 + Adds a request to the arbiter pool. + Returns true if the request was successfully added, false if not enough space or a request with the same ID is already present. + 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 + __FB_ARBITER__ADDREQUEST__FBLOG + + + + + + RemoveRequest + Removes request from abritration. + BOOL + 8 + + nReqId + DWORD + 32 + + + fbLog + FB_LogMessage + 81984 + + + uselocation + __FB_ARBITER__REMOVEREQUEST__FBLOG + + + + + BP_Int + ST_BP_ArbInternal + 2464 + + + + CheckRequestInPool + Verify request is at least in the local arbiter + Does not verify request has been included in arbitration. + Use CheckRequest instead. + 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 + + + - no-analysis + PouType + FunctionBlock - TcEventClass - TcGeneralAdsEventClass + reflection - TcRouterEventClass - TcRouterEventClass - - NoLockedMemory - Locked memory cannot be allocated. - Error - - - ResizeMemory - The router memory size could not be changed. - Error - - - MailboxFull - The mailbox has reached the maximum number of possible messages. - Error - - - DebugBoxFull - The debug mailbox has reached the maximum number of possible messages. - Error - - - UnknownPortType - The port type is unknown. - Error - - - NotInitialized - TwinCAT Router is not initialised. - Error - - - PortAlreadyInUse - The port number is already assigned. - Error - - - NotRegistered - The port is not registered. - Error - - - NoMoreQueues - The maximum number of ports has been reached. - Error - - - InvalidPort - The port is invalid. - Error - - - NotActivated - TwinCAT Router is not active. - Error - - - FragmentBoxFull - The mailbox has reached the maximum number for fragmented messages. - Error - - - FragmentTimeout - A fragment timeout has occurred. - Error - - - ToBeRemoved - The port is removed. - Error - - - - Lockierter Speicher kann nicht zugewiesen werden. - - - Die Größe des Routerspeichers konnte nicht geändert werden. - - - Das Postfach hat die maximale Anzahl der möglichen Meldungen erreicht. - - - Das Debug Postfach hat die maximale Anzahl der möglichen Meldungen erreicht. - - - Der Porttyp ist unbekannt. - - - Der TwinCAT Router ist nicht initialisiert. - - - Die Portnummer ist bereits vergeben. - - - Der Port ist nicht registriert. - - - Die maximale Portanzahl ist erreicht. - - - Der Port ist ungültig. - - - Der TwinCAT Router ist nicht aktiv. - - - Das Postfach hat die maximale Anzahl für fragmentierte Nachrichten erreicht. - - - Fragment Timeout aufgetreten. - - - Port wird entfernt. - - - - - - - - - ST_TcRouterEventClass - 2688 - - NoLockedMemory - TcEventEntry - 192 - 0 - - - .uuidEventClass.Data1 - 3881394266 - - - .uuidEventClass.Data2 - 9025 - - - .uuidEventClass.Data3 - 18684 - - - .uuidEventClass.Data4[0] - 159 - - - .uuidEventClass.Data4[1] - 63 - - - .uuidEventClass.Data4[2] - 200 - - - .uuidEventClass.Data4[3] - 250 - - - .uuidEventClass.Data4[4] - 64 - - - .uuidEventClass.Data4[5] - 92 - - - .uuidEventClass.Data4[6] - 75 - - - .uuidEventClass.Data4[7] - 36 - - - .nEventID - E_TcRouterEventClass.NoLockedMemory - - - .eSeverity - TcEventSeverity.Error - - - - - ResizeMemory - TcEventEntry - 192 - 192 - - - .uuidEventClass.Data1 - 3881394266 - - - .uuidEventClass.Data2 - 9025 - - - .uuidEventClass.Data3 - 18684 - - - .uuidEventClass.Data4[0] - 159 - - - .uuidEventClass.Data4[1] - 63 - - - .uuidEventClass.Data4[2] - 200 - - - .uuidEventClass.Data4[3] - 250 - - - .uuidEventClass.Data4[4] - 64 - - - .uuidEventClass.Data4[5] - 92 - - - .uuidEventClass.Data4[6] - 75 - - - .uuidEventClass.Data4[7] - 36 - - - .nEventID - E_TcRouterEventClass.ResizeMemory - - - .eSeverity - TcEventSeverity.Error - - - - - MailboxFull - TcEventEntry - 192 - 384 - - - .uuidEventClass.Data1 - 3881394266 - - - .uuidEventClass.Data2 - 9025 - - - .uuidEventClass.Data3 - 18684 - - - .uuidEventClass.Data4[0] - 159 - - - .uuidEventClass.Data4[1] - 63 - - - .uuidEventClass.Data4[2] - 200 - - - .uuidEventClass.Data4[3] - 250 - - - .uuidEventClass.Data4[4] - 64 - - - .uuidEventClass.Data4[5] - 92 - - - .uuidEventClass.Data4[6] - 75 - - - .uuidEventClass.Data4[7] - 36 - - - .nEventID - E_TcRouterEventClass.MailboxFull - - - .eSeverity - TcEventSeverity.Error - - - - - DebugBoxFull - TcEventEntry - 192 - 576 - - - .uuidEventClass.Data1 - 3881394266 - - - .uuidEventClass.Data2 - 9025 - - - .uuidEventClass.Data3 - 18684 - - - .uuidEventClass.Data4[0] - 159 - - - .uuidEventClass.Data4[1] - 63 - - - .uuidEventClass.Data4[2] - 200 - - - .uuidEventClass.Data4[3] - 250 - - - .uuidEventClass.Data4[4] - 64 - - - .uuidEventClass.Data4[5] - 92 - - - .uuidEventClass.Data4[6] - 75 - - - .uuidEventClass.Data4[7] - 36 - - - .nEventID - E_TcRouterEventClass.DebugBoxFull - - - .eSeverity - TcEventSeverity.Error - - - + FB_PositionStatePMPS_Base + 19648 - UnknownPortType - TcEventEntry - 192 - 768 - - - .uuidEventClass.Data1 - 3881394266 - - - .uuidEventClass.Data2 - 9025 - - - .uuidEventClass.Data3 - 18684 - - - .uuidEventClass.Data4[0] - 159 - - - .uuidEventClass.Data4[1] - 63 - - - .uuidEventClass.Data4[2] - 200 - - - .uuidEventClass.Data4[3] - 250 - - - .uuidEventClass.Data4[4] - 64 - - - .uuidEventClass.Data4[5] - 92 - - - .uuidEventClass.Data4[6] - 75 - - - .uuidEventClass.Data4[7] - 36 - - - .nEventID - E_TcRouterEventClass.UnknownPortType - - - .eSeverity - TcEventSeverity.Error - - + stMotionStage + ST_MotionStage + 32 + 32 + + + ItemType + InOut + + - NotInitialized - TcEventEntry - 192 - 960 - - - .uuidEventClass.Data1 - 3881394266 - - - .uuidEventClass.Data2 - 9025 - - - .uuidEventClass.Data3 - 18684 - - - .uuidEventClass.Data4[0] - 159 - - - .uuidEventClass.Data4[1] - 63 - - - .uuidEventClass.Data4[2] - 200 - - - .uuidEventClass.Data4[3] - 250 - - - .uuidEventClass.Data4[4] - 64 - - - .uuidEventClass.Data4[5] - 92 - - - .uuidEventClass.Data4[6] - 75 - - - .uuidEventClass.Data4[7] - 36 - - - .nEventID - E_TcRouterEventClass.NotInitialized - - - .eSeverity - TcEventSeverity.Error - - + arrStates + ST_PositionState + + 1 + 15 + + 32 + 64 + + + ItemType + InOut + + - PortAlreadyInUse - TcEventEntry - 192 - 1152 + bArbiterEnabled + BOOL + 8 + 96 - - .uuidEventClass.Data1 - 3881394266 - - - .uuidEventClass.Data2 - 9025 - - - .uuidEventClass.Data3 - 18684 - - - .uuidEventClass.Data4[0] - 159 - - - .uuidEventClass.Data4[1] - 63 - - - .uuidEventClass.Data4[2] - 200 - - - .uuidEventClass.Data4[3] - 250 - - - .uuidEventClass.Data4[4] - 64 - - - .uuidEventClass.Data4[5] - 92 - - - .uuidEventClass.Data4[6] - 75 - - - .uuidEventClass.Data4[7] - 36 - - - .nEventID - E_TcRouterEventClass.PortAlreadyInUse - - - .eSeverity - TcEventSeverity.Error - + true + + + ItemType + Input + + - NotRegistered - TcEventEntry - 192 - 1344 + bMaintMode + BOOL + 8 + 104 + + + ItemType + Input + + + pytmc + + pv: MAINT + io: io + + + + + + bRequestTransition + BOOL + 8 + 112 + + + ItemType + Input + + + + + setState + INT + 16 + 128 + + + ItemType + Input + + + + + getState + INT + 16 + 144 + + + ItemType + Input + + + + + fStateBoundaryDeadband + LREAL + 64 + 192 - - .uuidEventClass.Data1 - 3881394266 - - - .uuidEventClass.Data2 - 9025 - - - .uuidEventClass.Data3 - 18684 - - - .uuidEventClass.Data4[0] - 159 - - - .uuidEventClass.Data4[1] - 63 - - - .uuidEventClass.Data4[2] - 200 - - - .uuidEventClass.Data4[3] - 250 - - - .uuidEventClass.Data4[4] - 64 - - - .uuidEventClass.Data4[5] - 92 - - - .uuidEventClass.Data4[6] - 75 - - - .uuidEventClass.Data4[7] - 36 - - - .nEventID - E_TcRouterEventClass.NotRegistered - - - .eSeverity - TcEventSeverity.Error - + 0 + + + ItemType + Input + + - NoMoreQueues - TcEventEntry - 192 - 1536 + tArbiterTimeout + TIME + 32 + 256 - - .uuidEventClass.Data1 - 3881394266 - - - .uuidEventClass.Data2 - 9025 - - - .uuidEventClass.Data3 - 18684 - - - .uuidEventClass.Data4[0] - 159 - - - .uuidEventClass.Data4[1] - 63 - - - .uuidEventClass.Data4[2] - 200 - - - .uuidEventClass.Data4[3] - 250 - - - .uuidEventClass.Data4[4] - 64 - - - .uuidEventClass.Data4[5] - 92 - - - .uuidEventClass.Data4[6] - 75 - - - .uuidEventClass.Data4[7] - 36 - - - .nEventID - E_TcRouterEventClass.NoMoreQueues - - - .eSeverity - TcEventSeverity.Error - + T#1s + + + ItemType + Input + + - InvalidPort - TcEventEntry - 192 - 1728 + bMoveOnArbiterTimeout + BOOL + 8 + 288 - - .uuidEventClass.Data1 - 3881394266 - - - .uuidEventClass.Data2 - 9025 - - - .uuidEventClass.Data3 - 18684 - - - .uuidEventClass.Data4[0] - 159 - - - .uuidEventClass.Data4[1] - 63 - - - .uuidEventClass.Data4[2] - 200 - - - .uuidEventClass.Data4[3] - 250 - - - .uuidEventClass.Data4[4] - 64 - - - .uuidEventClass.Data4[5] - 92 - - - .uuidEventClass.Data4[6] - 75 - - - .uuidEventClass.Data4[7] - 36 - - - .nEventID - E_TcRouterEventClass.InvalidPort - - - .eSeverity - TcEventSeverity.Error - + true + + + ItemType + Input + + - NotActivated - TcEventEntry - 192 - 1920 + 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 + 2560 + 352 + + + pytmc + + pv: TRANS + io: i + + + + + + stTransitionBeam + ST_BeamParams + 1760 + 2912 + + + stTransitionState + ST_PositionState + 3712 + 4672 + + + bInit + BOOL + 8 + 8384 - - .uuidEventClass.Data1 - 3881394266 - - - .uuidEventClass.Data2 - 9025 - - - .uuidEventClass.Data3 - 18684 - - - .uuidEventClass.Data4[0] - 159 - - - .uuidEventClass.Data4[1] - 63 - - - .uuidEventClass.Data4[2] - 200 - - - .uuidEventClass.Data4[3] - 250 - - - .uuidEventClass.Data4[4] - 64 - - - .uuidEventClass.Data4[5] - 92 - - - .uuidEventClass.Data4[6] - 75 - - - .uuidEventClass.Data4[7] - 36 - - - .nEventID - E_TcRouterEventClass.NotActivated - - - .eSeverity - TcEventSeverity.Error - + true - FragmentBoxFull - TcEventEntry - 192 - 2112 - - - .uuidEventClass.Data1 - 3881394266 - - - .uuidEventClass.Data2 - 9025 - - - .uuidEventClass.Data3 - 18684 - - - .uuidEventClass.Data4[0] - 159 - - - .uuidEventClass.Data4[1] - 63 - - - .uuidEventClass.Data4[2] - 200 - - - .uuidEventClass.Data4[3] - 250 - - - .uuidEventClass.Data4[4] - 64 - - - .uuidEventClass.Data4[5] - 92 - - - .uuidEventClass.Data4[6] - 75 - - - .uuidEventClass.Data4[7] - 36 - - - .nEventID - E_TcRouterEventClass.FragmentBoxFull - - - .eSeverity - TcEventSeverity.Error - - + bTransDone + BOOL + 8 + 8392 + + + rtTransReq + R_TRIG + 64 + 8416 + + + bBPTMDone + BOOL + 8 + 8480 + + + rtBPTMDone + R_TRIG + 64 + 8512 + + + ftMotorExec + F_TRIG + 64 + 8576 + + + rtTransDone + R_TRIG + 64 + 8640 + + + rtDoLateFinish + R_TRIG + 64 + 8704 + + + tonDone + TON + 224 + 8768 + + + stStateReq + ST_PositionState + 3712 + 9024 + + + mcPower + MC_Power + 768 + 12736 + + + fUpperBound + LREAL + 64 + 13504 - FragmentTimeout - TcEventEntry - 192 - 2304 - - - .uuidEventClass.Data1 - 3881394266 - - - .uuidEventClass.Data2 - 9025 - - - .uuidEventClass.Data3 - 18684 - - - .uuidEventClass.Data4[0] - 159 - - - .uuidEventClass.Data4[1] - 63 - - - .uuidEventClass.Data4[2] - 200 - - - .uuidEventClass.Data4[3] - 250 - - - .uuidEventClass.Data4[4] - 64 - - - .uuidEventClass.Data4[5] - 92 - - - .uuidEventClass.Data4[6] - 75 - - - .uuidEventClass.Data4[7] - 36 - - - .nEventID - E_TcRouterEventClass.FragmentTimeout - - - .eSeverity - TcEventSeverity.Error - - + fLowerBound + LREAL + 64 + 13568 - ToBeRemoved - TcEventEntry - 192 - 2496 - - - .uuidEventClass.Data1 - 3881394266 - - - .uuidEventClass.Data2 - 9025 - - - .uuidEventClass.Data3 - 18684 - - - .uuidEventClass.Data4[0] - 159 - - - .uuidEventClass.Data4[1] - 63 - - - .uuidEventClass.Data4[2] - 200 - - - .uuidEventClass.Data4[3] - 250 - - - .uuidEventClass.Data4[4] - 64 - - - .uuidEventClass.Data4[5] - 92 - - - .uuidEventClass.Data4[6] - 75 - - - .uuidEventClass.Data4[7] - 36 - - - .nEventID - E_TcRouterEventClass.ToBeRemoved - - - .eSeverity - TcEventSeverity.Error - - + nGoalState + INT + 16 + 13632 + + + stGoalState + ST_PositionState + 3712 + 13696 + + fActPos + LREAL + 64 + 17408 + + + fReqPos + LREAL + 64 + 17472 + + + bInTransition + BOOL + 8 + 17536 + + + stBeamNeeded + ST_BeamParams + 1760 + 17568 + + + bFwdOk + BOOL + 8 + 19328 + + + bBwdOk + BOOL + 8 + 19336 + + + tonArbiter + TON + 224 + 19360 + + + bLateFinish + BOOL + 8 + 19584 + + + bInternalAuth + BOOL + 8 + 19592 + + + AssertHere + + + HandleBPTM + + + HandleFFO + + + ClearAsserts + + + Exec + + + HandlePmpsDb + + + GetBeamFromState + ST_BeamParams + 1760 + + nState + INT + 16 + + + stState + ST_PositionState + 3712 + + + + GetStateCode + INT + 16 + + nState + INT + 16 + + + + GetStateStruct + ST_PositionState + 3712 + + nState + INT + 16 + + - TcTypeSystem - - - signature_flag - 33554432 - - - checksuperglobal - - - show - - - no-analysis + PouType + FunctionBlock - TcEventClass - TcRouterEventClass + obsolete + Use FB_PositionStatePMPS1D instead - TcRTimeEventClass - TcRTimeEventClass - - InternalError - Internal error in the real-time system. - Error - - - BadTimerPeriods - Timer value is not valid. - Error - - - InvalidTaskPtr - The task pointer has the invalid value 0 (null). - Error - - - InvalidStackPtr - The stack pointer has the invalid value 0 (null). - Error - - - PrioExists - The task priority is already assigned. - Error - - - NoMoreTCB - No free TCB (Task Control Block) available. The maximum number of TCBs is 64. - Error - - - NoMoreSemas - No free semaphores available. The maximum number of semaphores is 64. - Error - - - NoMoreQueues - No free space available in the queue. The maximum number of positions in the queue is 64. - Error - - - ExtIRQAlreadyDef - An external synchronization interrupt is already applied. - Error - - - ExtIRQNotDef - No external synchronziation interrupt applied. - Error - - - ExtIRQInstallFailed - Application of the external synchronization 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 the BIOS. - Error - - - VMXControlsMissing - Missing function in Intel VT-x extension. - Error - - - VMXEnableFails - Activation of Intel VT-x fails. - Error - - - - Interner Fehler im Echtzeit-System. - - - Timer-Wert ist nicht gültig. - - - Task-Pointer hat den ungültigen Wert 0 (null). - - - Stack-Pointer hat den ungültigen Wert 0 (null). - - - Die Task Priority ist bereits vergeben. - - - Kein freier TCB (Task Control Block) verfügbar. Maximale Anzahl von TCBs beträgt 64. - - - Keine freien Semaphoren zur Verfügung. Maximale Anzahl der Semaphoren beträgt 64. - - - Kein freier Platz in der Warteschlange zur Verfügung. Maximale Anzahl der Plätze in der Warteschlange beträgt 64. - - - Ein externer Synchronisations-Interrupt wird bereits angewandt. - - - Kein externer Synchronisations-Interrupt angewandt. - - - Anwendung des externen Synchronisations-Interrupts ist fehlgeschlagen. - - - Aufruf einer Service-Funktion im falschen Kontext - - - Intel VT-x Erweiterung wird nicht unterstützt. - - - Intel VT-x Erweiterung ist nicht aktiviert im BIOS. - - - Fehlende Funktion in Intel VT-x Erweiterung. - - - Aktivieren von Intel VT-x schlägt fehl. - - - - - - - - - - ST_TcRTimeEventClass - 3072 - - InternalError - TcEventEntry - 192 - 0 - - - .uuidEventClass.Data1 - 2465223571 - - - .uuidEventClass.Data2 - 1704 - - - .uuidEventClass.Data3 - 18626 - - - .uuidEventClass.Data4[0] - 136 - - - .uuidEventClass.Data4[1] - 113 - - - .uuidEventClass.Data4[2] - 234 - - - .uuidEventClass.Data4[3] - 163 - - - .uuidEventClass.Data4[4] - 140 - - - .uuidEventClass.Data4[5] - 30 - - - .uuidEventClass.Data4[6] - 57 - - - .uuidEventClass.Data4[7] - 144 - - - .nEventID - E_TcRTimeEventClass.InternalError - - - .eSeverity - TcEventSeverity.Error - - + FB_JsonDocToSafeBP + 109440 + + bExecute + BOOL + Rising Edge + 8 + 32 + + + ItemType + Input + + - BadTimerPeriods - TcEventEntry - 192 - 192 - - - .uuidEventClass.Data1 - 2465223571 - - - .uuidEventClass.Data2 - 1704 - - - .uuidEventClass.Data3 - 18626 - - - .uuidEventClass.Data4[0] - 136 - - - .uuidEventClass.Data4[1] - 113 - - - .uuidEventClass.Data4[2] - 234 - - - .uuidEventClass.Data4[3] - 163 - - - .uuidEventClass.Data4[4] - 140 - - - .uuidEventClass.Data4[5] - 30 - - - .uuidEventClass.Data4[6] - 57 - - - .uuidEventClass.Data4[7] - 144 - - - .nEventID - E_TcRTimeEventClass.BadTimerPeriods - - - .eSeverity - TcEventSeverity.Error - - + jsonDoc + SJsonValue + 32 + 64 + + + ItemType + Input + + - InvalidTaskPtr - TcEventEntry - 192 - 384 - - - .uuidEventClass.Data1 - 2465223571 - - - .uuidEventClass.Data2 - 1704 - - - .uuidEventClass.Data3 - 18626 - - - .uuidEventClass.Data4[0] - 136 - - - .uuidEventClass.Data4[1] - 113 - - - .uuidEventClass.Data4[2] - 234 - - - .uuidEventClass.Data4[3] - 163 - - - .uuidEventClass.Data4[4] - 140 - - - .uuidEventClass.Data4[5] - 30 - - - .uuidEventClass.Data4[6] - 57 - - - .uuidEventClass.Data4[7] - 144 - - - .nEventID - E_TcRTimeEventClass.InvalidTaskPtr - - - .eSeverity - TcEventSeverity.Error - - + sDeviceName + STRING(80) + 648 + 96 + + + ItemType + Input + + - InvalidStackPtr - TcEventEntry - 192 - 576 + bHasDevice + BOOL + 8 + 744 + + + ItemType + Output + + + + + bHasAllStates + BOOL + 8 + 752 + + + ItemType + Output + + + + + bHasAllParameters + BOOL + 8 + 760 - - .uuidEventClass.Data1 - 2465223571 - - - .uuidEventClass.Data2 - 1704 - - - .uuidEventClass.Data3 - 18626 - - - .uuidEventClass.Data4[0] - 136 - - - .uuidEventClass.Data4[1] - 113 - - - .uuidEventClass.Data4[2] - 234 - - - .uuidEventClass.Data4[3] - 163 - - - .uuidEventClass.Data4[4] - 140 - - - .uuidEventClass.Data4[5] - 30 - - - .uuidEventClass.Data4[6] - 57 - - - .uuidEventClass.Data4[7] - 144 - - - .nEventID - E_TcRTimeEventClass.InvalidStackPtr - - - .eSeverity - TcEventSeverity.Error - + true + + + ItemType + Output + + - PrioExists - TcEventEntry - 192 + bBusy + BOOL + 8 768 - - - .uuidEventClass.Data1 - 2465223571 - - - .uuidEventClass.Data2 - 1704 - - - .uuidEventClass.Data3 - 18626 - - - .uuidEventClass.Data4[0] - 136 - - - .uuidEventClass.Data4[1] - 113 - - - .uuidEventClass.Data4[2] - 234 - - - .uuidEventClass.Data4[3] - 163 - - - .uuidEventClass.Data4[4] - 140 - - - .uuidEventClass.Data4[5] - 30 - - - .uuidEventClass.Data4[6] - 57 - - - .uuidEventClass.Data4[7] - 144 - - - .nEventID - E_TcRTimeEventClass.PrioExists - - - .eSeverity - TcEventSeverity.Error - - + + + ItemType + Output + + - NoMoreTCB - TcEventEntry - 192 - 960 - - - .uuidEventClass.Data1 - 2465223571 - - - .uuidEventClass.Data2 - 1704 - - - .uuidEventClass.Data3 - 18626 - - - .uuidEventClass.Data4[0] - 136 - - - .uuidEventClass.Data4[1] - 113 - - - .uuidEventClass.Data4[2] - 234 - - - .uuidEventClass.Data4[3] - 163 - - - .uuidEventClass.Data4[4] - 140 - - - .uuidEventClass.Data4[5] - 30 - - - .uuidEventClass.Data4[6] - 57 - - - .uuidEventClass.Data4[7] - 144 - - - .nEventID - E_TcRTimeEventClass.NoMoreTCB - - - .eSeverity - TcEventSeverity.Error - - + bError + BOOL + 8 + 776 + + + ItemType + Output + + - NoMoreSemas - TcEventEntry - 192 - 1152 - - - .uuidEventClass.Data1 - 2465223571 - - - .uuidEventClass.Data2 - 1704 - - - .uuidEventClass.Data3 - 18626 - - - .uuidEventClass.Data4[0] - 136 - - - .uuidEventClass.Data4[1] - 113 - - - .uuidEventClass.Data4[2] - 234 - - - .uuidEventClass.Data4[3] - 163 - - - .uuidEventClass.Data4[4] - 140 - - - .uuidEventClass.Data4[5] - 30 - - - .uuidEventClass.Data4[6] - 57 - - - .uuidEventClass.Data4[7] - 144 - - - .nEventID - E_TcRTimeEventClass.NoMoreSemas - - - .eSeverity - TcEventSeverity.Error - - + nErrId + UDINT + 32 + 800 + + + ItemType + Output + + - NoMoreQueues - TcEventEntry - 192 - 1344 - - - .uuidEventClass.Data1 - 2465223571 - - - .uuidEventClass.Data2 - 1704 - - - .uuidEventClass.Data3 - 18626 - - - .uuidEventClass.Data4[0] - 136 - - - .uuidEventClass.Data4[1] - 113 - - - .uuidEventClass.Data4[2] - 234 - - - .uuidEventClass.Data4[3] - 163 - - - .uuidEventClass.Data4[4] - 140 - - - .uuidEventClass.Data4[5] - 30 - - - .uuidEventClass.Data4[6] - 57 - - - .uuidEventClass.Data4[7] - 144 - - - .nEventID - E_TcRTimeEventClass.NoMoreQueues - - - .eSeverity - TcEventSeverity.Error - - + 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 + + - ExtIRQAlreadyDef - TcEventEntry - 192 + io_fbFFHWO + FB_HardwareFFOutput + 32 1536 - - - .uuidEventClass.Data1 - 2465223571 - - - .uuidEventClass.Data2 - 1704 - - - .uuidEventClass.Data3 - 18626 - - - .uuidEventClass.Data4[0] - 136 - - - .uuidEventClass.Data4[1] - 113 - - - .uuidEventClass.Data4[2] - 234 - - - .uuidEventClass.Data4[3] - 163 - - - .uuidEventClass.Data4[4] - 140 - - - .uuidEventClass.Data4[5] - 30 - - - .uuidEventClass.Data4[6] - 57 - - - .uuidEventClass.Data4[7] - 144 - - - .nEventID - E_TcRTimeEventClass.ExtIRQAlreadyDef - - - .eSeverity - TcEventSeverity.Error - - + + + ItemType + InOut + + - ExtIRQNotDef - TcEventEntry - 192 - 1728 - - - .uuidEventClass.Data1 - 2465223571 - - - .uuidEventClass.Data2 - 1704 - - - .uuidEventClass.Data3 - 18626 - - - .uuidEventClass.Data4[0] - 136 - - - .uuidEventClass.Data4[1] - 113 - - - .uuidEventClass.Data4[2] - 234 - - - .uuidEventClass.Data4[3] - 163 - - - .uuidEventClass.Data4[4] - 140 - - - .uuidEventClass.Data4[5] - 30 - - - .uuidEventClass.Data4[6] - 57 - - - .uuidEventClass.Data4[7] - 144 - - - .nEventID - E_TcRTimeEventClass.ExtIRQNotDef - - - .eSeverity - TcEventSeverity.Error - - + fbJson + FB_JsonDomParser + JSON + 288 + 1568 - ExtIRQInstallFailed - TcEventEntry - 192 + 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 - .uuidEventClass.Data1 - 2465223571 - - - .uuidEventClass.Data2 - 1704 - - - .uuidEventClass.Data3 - 18626 - - - .uuidEventClass.Data4[0] - 136 - - - .uuidEventClass.Data4[1] - 113 - - - .uuidEventClass.Data4[2] - 234 - - - .uuidEventClass.Data4[3] - 163 - - - .uuidEventClass.Data4[4] - 140 - - - .uuidEventClass.Data4[5] - 30 - - - .uuidEventClass.Data4[6] - 57 - - - .uuidEventClass.Data4[7] - 144 - - - .nEventID - E_TcRTimeEventClass.ExtIRQInstallFailed + .eSubsystem + E_Subsystem.MPS - .eSeverity - TcEventSeverity.Error + .nMinTimeViolationAcceptable + 10 - IRQNotLessOrEqual - TcEventEntry - 192 - 2112 + FFO + FB_FastFault + FFO + 25088 + 84224 - .uuidEventClass.Data1 - 2465223571 - - - .uuidEventClass.Data2 - 1704 - - - .uuidEventClass.Data3 - 18626 - - - .uuidEventClass.Data4[0] - 136 - - - .uuidEventClass.Data4[1] - 113 - - - .uuidEventClass.Data4[2] - 234 - - - .uuidEventClass.Data4[3] - 163 - - - .uuidEventClass.Data4[4] - 140 - - - .uuidEventClass.Data4[5] - 30 - - - .uuidEventClass.Data4[6] - 57 - - - .uuidEventClass.Data4[7] - 144 - - - .nEventID - E_TcRTimeEventClass.IRQNotLessOrEqual + .i_Desc + Fault occurs when there is an error loading safe beam parameters from json file - .eSeverity - TcEventSeverity.Error + .i_TypeCode + 65299 - VMXNotSupported - TcEventEntry - 192 - 2304 + 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. + + + 96 + + LowerLimit + INT + Incrementer will rollver over to this value (and initialize to this value) + 16 + 32 - - .uuidEventClass.Data1 - 2465223571 - - - .uuidEventClass.Data2 - 1704 - - - .uuidEventClass.Data3 - 18626 - - - .uuidEventClass.Data4[0] - 136 - - - .uuidEventClass.Data4[1] - 113 - - - .uuidEventClass.Data4[2] - 234 - - - .uuidEventClass.Data4[3] - 163 - - - .uuidEventClass.Data4[4] - 140 - - - .uuidEventClass.Data4[5] - 30 - - - .uuidEventClass.Data4[6] - 57 - - - .uuidEventClass.Data4[7] - 144 - - - .nEventID - E_TcRTimeEventClass.VMXNotSupported - - - .eSeverity - TcEventSeverity.Error - + 1 + + + ItemType + Input + + + naming + off + + - VMXDisabled - TcEventEntry - 192 - 2496 + ValInc + INT + Incrementer increments by this value + 16 + 48 - - .uuidEventClass.Data1 - 2465223571 - - - .uuidEventClass.Data2 - 1704 - - - .uuidEventClass.Data3 - 18626 - - - .uuidEventClass.Data4[0] - 136 - - - .uuidEventClass.Data4[1] - 113 - - - .uuidEventClass.Data4[2] - 234 - - - .uuidEventClass.Data4[3] - 163 - - - .uuidEventClass.Data4[4] - 140 - - - .uuidEventClass.Data4[5] - 30 - - - .uuidEventClass.Data4[6] - 57 - - - .uuidEventClass.Data4[7] - 144 - - - .nEventID - E_TcRTimeEventClass.VMXDisabled - - - .eSeverity - TcEventSeverity.Error - + 1 + + + ItemType + Input + + - VMXControlsMissing - TcEventEntry - 192 - 2688 + UpperLimit + INT + Incrementer will rollover at this value to lower limit + 16 + 64 - - .uuidEventClass.Data1 - 2465223571 - - - .uuidEventClass.Data2 - 1704 - - - .uuidEventClass.Data3 - 18626 - - - .uuidEventClass.Data4[0] - 136 - - - .uuidEventClass.Data4[1] - 113 - - - .uuidEventClass.Data4[2] - 234 - - - .uuidEventClass.Data4[3] - 163 - - - .uuidEventClass.Data4[4] - 140 - - - .uuidEventClass.Data4[5] - 30 - - - .uuidEventClass.Data4[6] - 57 - - - .uuidEventClass.Data4[7] - 144 - - - .nEventID - E_TcRTimeEventClass.VMXControlsMissing - - - .eSeverity - TcEventSeverity.Error - + 1 + + + ItemType + Input + + - VMXEnableFails - TcEventEntry - 192 - 2880 + nVal + INT + Internal incrementer value, initialized to LowerLimit + 16 + 80 - - .uuidEventClass.Data1 - 2465223571 - - - .uuidEventClass.Data2 - 1704 - - - .uuidEventClass.Data3 - 18626 - - - .uuidEventClass.Data4[0] - 136 - - - .uuidEventClass.Data4[1] - 113 - - - .uuidEventClass.Data4[2] - 234 - - - .uuidEventClass.Data4[3] - 163 - - - .uuidEventClass.Data4[4] - 140 - - - .uuidEventClass.Data4[5] - 30 - - - .uuidEventClass.Data4[6] - 57 - - - .uuidEventClass.Data4[7] - 144 - - - .nEventID - E_TcRTimeEventClass.VMXEnableFails - - - .eSeverity - TcEventSeverity.Error - + 1 + + + naming + off + + + + Dec + + + Inc + + + DecVal + Decrement the counter and return new value + INT + 16 + + + IncVal + Increment the counter and return new value + INT + 16 + - TcTypeSystem - - - signature_flag - 33554432 - - - checksuperglobal - - - show - - - no-analysis - - - TcEventClass - TcRTimeEventClass + PouType + FunctionBlock - 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 - - - - - - - ST_Win32EventClass - 7104 + 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. + + + 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 + + + - ERROR_SUCCESS - TcEventEntry - 192 - 0 + i_nRequestedAssertionID + UDINT + Must not be 0 or EXCLUDED_ID + 32 + 2528 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_SUCCESS - - - .eSeverity - TcEventSeverity.Verbose - + 0 + + + ItemType + Input + + - ERROR_INVALID_FUNCTION - TcEventEntry - 192 - 192 + i_stRequestedAssertion + ST_BeamParams + PMPS_GVL.cstSafeBeam; //Requested assertion, change whenever + 1760 + 2560 - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 + .nTran + 0 - .uuidEventClass.Data4[7] - 135 + .neVRange + 0 - .nEventID - E_Win32EventClass.ERROR_INVALID_FUNCTION + .nRate + 0 - .eSeverity - TcEventSeverity.Error + .nBCRange + 0 + + + ItemType + Input + + - ERROR_FILE_NOT_FOUND - TcEventEntry - 192 - 384 + i_xMoving + BOOL + Provide rising edge when device begins moving <remove> + 8 + 4320 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_FILE_NOT_FOUND - - - .eSeverity - TcEventSeverity.Error - + false + + + ItemType + Input + + - ERROR_PATH_NOT_FOUND - TcEventEntry - 192 - 576 + i_xDoneMoving + BOOL + Provide rising edge when device is done with a move + 8 + 4328 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_PATH_NOT_FOUND - - - .eSeverity - TcEventSeverity.Error - + false + + + ItemType + Input + + - ERROR_TOO_MANY_OPEN_FILES - TcEventEntry - 192 - 768 + 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 + + false + + + + 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 + + false + + + + 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 + + E_BPTMState.Init + + + + ePrevState + E_BPTMState + 16 + 8048 + + E_BPTMState.Init + + + + 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 - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_TOO_MANY_OPEN_FILES + .LowerLimit + 0 - .eSeverity - TcEventSeverity.Error + .UpperLimit + 40 - ERROR_ACCESS_DENIED - TcEventEntry - 192 - 960 + 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 - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 + .i_Desc + Preemptive requests timed out in BPTM - .nEventID - E_Win32EventClass.ERROR_ACCESS_DENIED + .i_TypeCode + 10 - .eSeverity - TcEventSeverity.Error + .i_xAutoReset + false - ERROR_INVALID_HANDLE - TcEventEntry - 192 - 1152 + rtDoneMoving + R_TRIG + 64 + 60096 + + + bLatchDoneMoving + BOOL + 8 + 60160 + + + bFirstMove + BOOL + 8 + 60168 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_INVALID_HANDLE - - - .eSeverity - TcEventSeverity.Error - + true + + + + 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. + + 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 + 384384 + FB_PositionStatePMPS_Base + + fbArbiter + FB_Arbiter + 32 + 19648 + + + ItemType + InOut + + + + + fbFFHWO + FB_HardwareFFOutput + 32 + 19680 + + + ItemType + InOut + + + + + bReadPmpsDb + BOOL + 8 + 19712 + + + ItemType + Input + + + + + sPmpsDeviceName + STRING(80) + 648 + 19720 + + + ItemType + Input + + + + + sTransitionKey + STRING(80) + 648 + 20368 + + + ItemType + Input + + + + + stPmpsDoc + SJsonValue + 32 + 21024 + + + ItemType + Input + + + + + stHighBeamThreshold + ST_BeamParams + 1760 + 21056 + + + ItemType + Input + + + + + bBPOKAutoReset + BOOL + 8 + 22816 + + false + + + ItemType + Input + + + + + arrPMPS + ST_DbStateParams + + 0 + 16 + + 40960 + 22848 + + + nBPIndex + UINT + 16 + 63808 + + + nTransitionAssertionID + UDINT + 32 + 63840 + + + nLastReqAssertionID + UDINT + 32 + 63872 + + + fbReadPmpsDb + FB_JsonDocToSafeBP + 109440 + 63936 + + + ftDbBusy + F_TRIG + 64 + 173376 + + + rtReadDBExec + R_TRIG + 64 + 173440 + + + ftRead + F_TRIG + 64 + 173504 + + + bptm + BeamParameterTransitionManager + 60256 + 173568 + + + ffBeamParamsOk + FB_FastFault + 25088 + 233824 + + + ffZeroRate + FB_FastFault + 25088 + 258912 + + + ffBPTMTimeoutAndMove + FB_FastFault + 25088 + 284000 + + + ffBPTMError + FB_FastFault + 25088 + 309088 + + + ffMaint + FB_FastFault + 25088 + 334176 + + + ffUnknown + FB_FastFault + 25088 + 359264 + + + bFFOxOk + BOOL + 8 + 384352 + + + bAtSafeState + BOOL + 8 + 384360 + + + nIter + UINT + 16 + 384368 + + + HandlePmpsDb + + + HandleFFO + + + AssertHere + + + ClearAsserts + + + HandleBPTM + + + + PouType + FunctionBlock + + + obsolete + Use FB_PositionStatePMPS1D instead + + + + + FB_NCErrorFFO + 27808 + + stMotionStage + ST_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 + + - ERROR_NOT_ENOUGH_MEMORY - TcEventEntry - 192 - 1344 - - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_NOT_ENOUGH_MEMORY - - - .eSeverity - TcEventSeverity.Error - - + bAutoReset + BOOL + Auto-reset the fault + 8 + 104 + + + ItemType + Input + + - ERROR_INVALID_DATA - TcEventEntry - 192 - 1536 + nLowErrorId + UDINT + The lowest error code that will trip the FFO + 32 + 128 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_INVALID_DATA - - - .eSeverity - TcEventSeverity.Error - + 16384 + + + ItemType + Input + + - ERROR_NOT_READY - TcEventEntry - 192 - 1728 + nHighErrorId + UDINT + The highest error code that will trip the FFO + 32 + 160 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_NOT_READY - - - .eSeverity - TcEventSeverity.Error - + 20479 + + + ItemType + Input + + - ERROR_BAD_COMMAND - TcEventEntry - 192 - 1920 + sDesc + STRING(80) + A description of the fault + 648 + 192 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_BAD_COMMAND - - - .eSeverity - TcEventSeverity.Error - + Motor error + + + ItemType + Input + + - ERROR_CRC - TcEventEntry - 192 - 2112 - - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_CRC - - - .eSeverity - TcEventSeverity.Error - - + bTripped + BOOL + Quick way for nearby code to check if this block has tripped the FFO. + 8 + 840 + + + ItemType + Output + + - ERROR_BAD_LENGTH - TcEventEntry - 192 - 2304 - - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - + 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 + + + stBeamParams + ST_BeamParams + 1760 + 896 + + + fbFF + FB_FastFault + 25088 + 2656 + + + rtTrip + R_TRIG + 64 + 27744 + + + + PouType + FunctionBlock + + + + + FB_EncErrorFFO + 27936 + + stMotionStage + ST_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 + - .uuidEventClass.Data4[7] - 135 + .nLowErrorId + 17408 - .nEventID - E_Win32EventClass.ERROR_BAD_LENGTH + .nHighErrorId + 17663 - .eSeverity - TcEventSeverity.Error + .sDesc + Encoder error + + + PouType + FunctionBlock + + + + + FB_PositionStateBase_WithPMPS + 669952 + FB_PositionStateBase - ERROR_WRITE_FAULT - TcEventEntry - 192 - 2496 + fbArbiter + FB_Arbiter + 32 + 256000 + + + ItemType + InOut + + + + + fbFFHWO + FB_HardwareFFOutput + 32 + 256032 + + + ItemType + InOut + + + + + sPmpsDeviceName + STRING(80) + 648 + 256064 + + + ItemType + Input + + + + + sTransitionKey + STRING(80) + 648 + 256712 + + + ItemType + Input + + + + + bArbiterEnabled + BOOL + 8 + 257360 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_WRITE_FAULT - - - .eSeverity - TcEventSeverity.Error - + true + + + ItemType + Input + + + pytmc + + pv: PMPS:ARB:ENABLE + io: io + + + - ERROR_READ_FAULT - TcEventEntry - 192 - 2688 + tArbiterTimeout + TIME + 32 + 257376 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_READ_FAULT - - - .eSeverity - TcEventSeverity.Error - + T#1s + + + ItemType + Input + + - ERROR_GEN_FAILURE - TcEventEntry - 192 - 2880 + bMoveOnArbiterTimeout + BOOL + 8 + 257408 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_GEN_FAILURE - - - .eSeverity - TcEventSeverity.Error - + true + + + + ItemType + Input + + + + + fStateBoundaryDeadband + LREAL + 64 + 257472 + + 0 + + + + ItemType + Input + + + + + bBPOKAutoReset + BOOL + 8 + 257536 + + false + + + ItemType + Input + + + + + fbStatePMPS + FB_PositionStatePMPS + 384384 + 257600 + + + pytmc + pv: PMPS + + + + + fbEncErrFFO + FB_EncErrorFFO + 27936 + 641984 + + + Exec + + + PMPSHandler + + + + PouType + FunctionBlock + + + obsolete + Use FB_PositionStatePMPS1D instead + + + + + ENUM_Si_B4C_Coating_States + 16 + INT + + Unknown + 0 + + + Si + 1 + + + B4C + 2 + + + + qualified only + + + generate_implicit_init_function + + + + + DUT_PositionState + 3712 + ST_PositionState + + + obsolete + DUT_PositionState has been renamed to ST_PositionState + + + + + 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 + 679424 + FB_PositionStateBase_WithPMPS + + enumSet + ENUM_Si_B4C_Coating_States + 16 + 669952 + + + ItemType + Input + + + pytmc + + pv: SET + io: io + + + + + + stCoating1 + DUT_PositionState + 3712 + 670016 + + + ItemType + Input + + + + + stCoating2 + DUT_PositionState + 3712 + 673728 + + + ItemType + Input + + + + + sCoating1Name + STRING(80) + 648 + 677440 + + + ItemType + Input + + + + + sCoating2Name + STRING(80) + 648 + 678088 + + + ItemType + Input + + + + + enumGet + ENUM_Si_B4C_Coating_States + 16 + 678736 + + + ItemType + Output + + + pytmc + + pv: GET; + io: i; + + + - ERROR_NOT_SUPPORTED - TcEventEntry - 192 - 3072 - - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_NOT_SUPPORTED - - - .eSeverity - TcEventSeverity.Error - - + fbStateDefaults + FB_PositionState_Defaults + 320 + 678784 - ERROR_REM_NOT_LIST - TcEventEntry - 192 - 3264 - - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_REM_NOT_LIST - - - .eSeverity - TcEventSeverity.Error - - + bCoatingInit + BOOL + 8 + 679104 - ERROR_DUP_NAME - TcEventEntry - 192 - 3456 + fDelta + LREAL + These are the default values + Set values on states prior to passing in for non-default values + Units in Mircons + 64 + 679168 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_DUP_NAME - - - .eSeverity - TcEventSeverity.Error - + 100 - ERROR_BAD_NETPATH - TcEventEntry - 192 - 3648 + fVelocity + LREAL + 64 + 679232 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_BAD_NETPATH - - - .eSeverity - TcEventSeverity.Error - + 150 - ERROR_NETWORK_BUSY - TcEventEntry - 192 - 3840 + fAccel + LREAL + 64 + 679296 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_NETWORK_BUSY - - - .eSeverity - TcEventSeverity.Error - + 200 - ERROR_DEV_NOT_EXIST - TcEventEntry - 192 - 4032 + fDecel + LREAL + 64 + 679360 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_DEV_NOT_EXIST - - - .eSeverity - TcEventSeverity.Error - + 200 + + + PouType + FunctionBlock + + + + + ST_BeamParams_IO + 1760 - ERROR_FILE_EXISTS - TcEventEntry - 192 - 4224 + nTran + REAL + Requested pre-optic attenuation - 1 is full transmission + 32 + 0 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_FILE_EXISTS - - - .eSeverity - TcEventSeverity.Error - + 0 + 1 + 1 - - - ERROR_CANNOT_MAKE - TcEventEntry - 192 - 4416 - - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_CANNOT_MAKE - - - .eSeverity - TcEventSeverity.Error - + + + plcAttribute_pytmc + pv: Attenuation + io: i + + + + + nRate + UDINT + Pulse-rate + 32 + 32 + + 120 + + + plcAttribute_pytmc + pv: Rate + io: i + + - ERROR_ALREADY_ASSIGNED - TcEventEntry - 192 - 4608 + neVRange + DWORD + Photon energy ranges + 32 + 64 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_ALREADY_ASSIGNED - - - .eSeverity - TcEventSeverity.Error - + 4294967295 + + + plcAttribute_pytmc + pv: PhotonEnergy + io: i + + + plcAttribute_displaymode + binary + + - ERROR_INVALID_PASSWORD - TcEventEntry - 192 - 4800 + neV + REAL + Current Photon energy as calculated by the arbiter + 32 + 96 + + + nBCRange + WORD + 16 + 128 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_INVALID_PASSWORD - - - .eSeverity - TcEventSeverity.Error - + 0 + 65535 + 0 - ERROR_INVALID_PARAMETER - TcEventEntry - 192 - 4992 + nBeamClass + USINT + 8 + 144 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_INVALID_PARAMETER - - - .eSeverity - TcEventSeverity.Error - + 0 + 0 - ERROR_OPEN_FAILED - TcEventEntry - 192 - 5184 + 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 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_OPEN_FAILED - - - .eSeverity - TcEventSeverity.Error - + 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 + + - ERROR_ALREADY_EXISTS - TcEventEntry - 192 - 5376 + 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 - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_ALREADY_EXISTS + .i_Desc + Arbiter network interface disconnected or not OP - .eSeverity - TcEventSeverity.Error + .i_DevName + SubSysToArbiter - ERROR_INVALID_FLAG_NUMBER - TcEventEntry - 192 - 5568 + nRequestCohort + UDINT + Request cohort + 32 + 29440 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_INVALID_FLAG_NUMBER - - - .eSeverity - TcEventSeverity.Error - + 0 + + + pytmc + pv: RequestCohort + io: i + + - WAIT_TIMEOUT - TcEventEntry - 192 - 5760 + nActiveCohort + UDINT + Active cohort, updated by incoming BP from arbiter PLC, in the ElevateRequest arbiter call + 32 + 29472 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.WAIT_TIMEOUT - - - .eSeverity - TcEventSeverity.Error - + 0 + + + pytmc + pv: ActiveCohort + io: i + + - ERROR_NO_MORE_ITEMS - TcEventEntry - 192 - 5952 + fbVetoArb + FB_VetoArbiter + 27168 + 29504 + + + fbLog + FB_LogMessage + 81984 + 56704 + + + __FB_SUBSYSTOARBITER_IO__CHECKREQUEST__XFIRSTTIME + BOOL + 8 + 138688 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_NO_MORE_ITEMS - - - .eSeverity - TcEventSeverity.Error - + , + - ERROR_INVALID_ADDRESS - TcEventEntry - 192 - 6144 + __FB_SUBSYSTOARBITER_IO__CHECKREQUEST__NID + DWORD + 32 + 138720 + + + CheckRequest + BOOL + 8 + + nReqID + DWORD + 32 + + + xFirstTime + BOOL + 8 + + + uselocation + __FB_SUBSYSTOARBITER_IO__CHECKREQUEST__XFIRSTTIME + + + + + nId + DWORD + 32 + + + uselocation + __FB_SUBSYSTOARBITER_IO__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_KBO_Coating_States + 679680 + FB_PositionStateBase_WithPMPS + + enumSet + ENUM_Si_B4C_Coating_States + 16 + 669952 + + + ItemType + Input + + + pytmc + + pv: SET + io: io + + + + + + stCoating1 + DUT_PositionState + 3712 + 670016 + + + ItemType + Input + + + + + stCoating2 + DUT_PositionState + 3712 + 673728 + + + ItemType + Input + + + + + bVerticalCoating + BOOL + 8 + 677440 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_INVALID_ADDRESS - - - .eSeverity - TcEventSeverity.Error - + true + + + + ItemType + Input + + + + + sCoating1Name + STRING(80) + 648 + 677448 + + + ItemType + Input + + + + + sCoating2Name + STRING(80) + 648 + 678096 + + + ItemType + Input + + + + + enumGet + ENUM_Si_B4C_Coating_States + 16 + 678752 + + + ItemType + Output + + + pytmc + + pv: GET; + io: i; + + + + + + fbStateDefaults + FB_PositionState_Defaults + 320 + 678784 + + + bCoatingInit + BOOL + 8 + 679104 + + + fCoatingAccel + LREAL + 64 + 679168 + + 10 - ERROR_ARITHMETIC_OVERFLOW - TcEventEntry - 192 - 6336 + fCoatingDecel + LREAL + 64 + 679232 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_ARITHMETIC_OVERFLOW - - - .eSeverity - TcEventSeverity.Error - + 10 - ERROR_OPERATION_ABORTED - TcEventEntry - 192 - 6528 + fDelta + LREAL + These are the default values + Set values on states prior to passing in for non-default values + Units in Millimeters + 64 + 679296 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_OPERATION_ABORTED - - - .eSeverity - TcEventSeverity.Error - + 0.1 - ERROR_IO_INCOMPLETE - TcEventEntry - 192 - 6720 + fVelocity + LREAL + 64 + 679360 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_IO_INCOMPLETE - - - .eSeverity - TcEventSeverity.Error - + 0.15 - ERROR_IO_PENDING - TcEventEntry - 192 - 6912 + fYAccel + LREAL + 64 + 679424 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_IO_PENDING - - - .eSeverity - TcEventSeverity.Error - + 10 + + + + fYDecel + LREAL + 64 + 679488 + + 10 + + + + fXAccel + LREAL + 64 + 679552 + + 100 + + + + fXDecel + LREAL + 64 + 679616 + + 100 - TcTypeSystem - - - signature_flag - 33554432 - - - checksuperglobal - - - show - - - no-analysis - - - TcEventClass - Win32EventClass + PouType + FunctionBlock - LCLSGeneralEventClass - Log event - - Critical - Critical - Critical - - - Error - Error - Error - - - Warning - Warning - Warning - - - Info - Info - Info - - - Verbose - Verbose - Verbose - - - - - - - - - - - - - ST_LCLSGeneralEventClass - 960 + FB_MirrorTwoCoatingProtection + 192896 + + 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 + + + + + sUpperCoatingType + STRING(80) + Type of coating + 648 + 800 + + + + + + ItemType + Input + + + + + nLowerCoatingBoundary + UDINT + Encoder count for lower boundary + 32 + 1472 + + + ItemType + Input + + + + + sLowerCoatingType + STRING(80) + Type of coating + 648 + 1504 + + + + + + ItemType + Input + + + + + bAutoClear + BOOL + Auto-clear these fast faults + 8 + 2152 + + true + + + + ItemType + Input + + + + + bReadPmpsDb + BOOL + Trigger a re-read of the JSON Beam Parameters + 8 + 2160 + + + ItemType + Input + + + + + bUsePmpsDb + BOOL + Set TRUE to lookup Beam Parameters via DB. + 8 + 2168 + + false + + + + ItemType + Input + + + + + nUpperCoatingBitmask + DWORD + 32 + 2176 + + 0 + + + + ItemType + Input + + + + + nLowerCoatingBitMask + DWORD + 32 + 2208 + + 0 + + + + ItemType + Input + + + - Critical - TcEventEntry - 192 - 0 + FFO + FB_HardwareFFOutput + 32 + 2240 + + + ItemType + InOut + + + + + ffUpperCoating + FB_FastFault + 25088 + 2272 - .uuidEventClass.Data1 - 2546958919 - - - .uuidEventClass.Data2 - 46492 - - - .uuidEventClass.Data3 - 20012 - - - .uuidEventClass.Data4[0] - 180 - - - .uuidEventClass.Data4[1] - 176 - - - .uuidEventClass.Data4[2] - 115 - - - .uuidEventClass.Data4[3] - 80 - - - .uuidEventClass.Data4[4] - 208 - - - .uuidEventClass.Data4[5] - 71 - - - .uuidEventClass.Data4[6] - 20 - - - .uuidEventClass.Data4[7] - 87 + .i_xAutoReset + false - .nEventID - E_LCLSGeneralEventClass.Critical + .i_TypeCode + 1025 - .eSeverity - TcEventSeverity.Critical + .i_Desc + mirror coating incompatible with beam photon energy - Error - TcEventEntry - 192 - 192 + ffLowerCoating + FB_FastFault + 25088 + 27360 - .uuidEventClass.Data1 - 2546958919 - - - .uuidEventClass.Data2 - 46492 - - - .uuidEventClass.Data3 - 20012 - - - .uuidEventClass.Data4[0] - 180 - - - .uuidEventClass.Data4[1] - 176 - - - .uuidEventClass.Data4[2] - 115 - - - .uuidEventClass.Data4[3] - 80 - - - .uuidEventClass.Data4[4] - 208 - - - .uuidEventClass.Data4[5] - 71 - - - .uuidEventClass.Data4[6] - 20 - - - .uuidEventClass.Data4[7] - 87 + .i_xAutoReset + false - .nEventID - E_LCLSGeneralEventClass.Error + .i_TypeCode + 1025 - .eSeverity - TcEventSeverity.Error + .i_Desc + mirror coating incompatible with beam photon energy - Warning - TcEventEntry - 192 - 384 + ffBeamParamsNotLoaded + FB_FastFault + 25088 + 52448 - .uuidEventClass.Data1 - 2546958919 - - - .uuidEventClass.Data2 - 46492 - - - .uuidEventClass.Data3 - 20012 - - - .uuidEventClass.Data4[0] - 180 - - - .uuidEventClass.Data4[1] - 176 - - - .uuidEventClass.Data4[2] - 115 - - - .uuidEventClass.Data4[3] - 80 - - - .uuidEventClass.Data4[4] - 208 - - - .uuidEventClass.Data4[5] - 71 - - - .uuidEventClass.Data4[6] - 20 - - - .uuidEventClass.Data4[7] - 87 + .i_xAutoReset + true - .nEventID - E_LCLSGeneralEventClass.Warning + .i_TypeCode + 1160 - .eSeverity - TcEventSeverity.Warning + .i_Desc + mirror coating beam parameters not loaded - Info - TcEventEntry - 192 - 576 + aDbStateParams + ST_DbStateParams + + 0 + 2 + + 5120 + 77536 + + + fbGetCoatingBPs + FB_JsonDocToSafeBP + 109440 + 82688 + + + ftReadJsonDocDone + F_TRIG + 64 + 192128 + + + bBPsLoaded + BOOL + 8 + 192192 - - .uuidEventClass.Data1 - 2546958919 - - - .uuidEventClass.Data2 - 46492 - - - .uuidEventClass.Data3 - 20012 - - - .uuidEventClass.Data4[0] - 180 - - - .uuidEventClass.Data4[1] - 176 - - - .uuidEventClass.Data4[2] - 115 - - - .uuidEventClass.Data4[3] - 80 - - - .uuidEventClass.Data4[4] - 208 - - - .uuidEventClass.Data4[5] - 71 - - - .uuidEventClass.Data4[6] - 20 - - - .uuidEventClass.Data4[7] - 87 - - - .nEventID - E_LCLSGeneralEventClass.Info - - - .eSeverity - TcEventSeverity.Info - + false - Verbose - TcEventEntry - 192 - 768 + i + INT + 16 + 192208 + + + sDevState + STRING(80) + 648 + 192224 - - .uuidEventClass.Data1 - 2546958919 - - - .uuidEventClass.Data2 - 46492 - - - .uuidEventClass.Data3 - 20012 - - - .uuidEventClass.Data4[0] - 180 - - - .uuidEventClass.Data4[1] - 176 - - - .uuidEventClass.Data4[2] - 115 - - - .uuidEventClass.Data4[3] - 80 - - - .uuidEventClass.Data4[4] - 208 - - - .uuidEventClass.Data4[5] - 71 - - - .uuidEventClass.Data4[6] - 20 - - - .uuidEventClass.Data4[7] - 87 - - - .nEventID - E_LCLSGeneralEventClass.Verbose - - - .eSeverity - TcEventSeverity.Verbose - + + + bInit + BOOL + 8 + 192872 + - TcTypeSystem - - - signature_flag - 33554432 - - - checksuperglobal - - - show - - - no-analysis - - - TcEventClass - LCLSGeneralEventClass + PouType + FunctionBlock @@ -74292,7 +74344,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t 0 SerialIO Inputs 0 - 84344832 + 84869120 GVL_SerialIO.Serial_stComIn_M1K4 Better have your inputs and outputs! @@ -74315,7 +74367,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t 1 SerialIO Outputs 0 - 84344832 + 84869120 GVL_SerialIO.Serial_stComOut_M1K4 192 @@ -74336,7 +74388,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t 3 SerialIO Internal 0 - 84344832 + 84869120 P_Serial_Com.fbSerialLineControl_EL6001_M1K4 10432 @@ -74434,7 +74486,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t 19 PiezoDriver Internal 1 - 84344832 + 84869120 PiezoSerial.fbE621SerialDriver_M1K4 PI Serial @@ -74530,7 +74582,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t 32 PlcTask Inputs 2 - 84344832 + 84869120 Main.bDreamEnable1 MR4K4 MR5K4 STO button @@ -77821,64 +77873,6 @@ The BPTM will throw an error if the arbiter does not have enough space for the t 655187752 - - PRG_PMPS.fbArbiterIO.i_stCurrentBP - 1760 - ST_BeamParams_IO - - - TcLinkTo - TIIB[PMPS_PRE]^IO Inputs^CurrentBP - - - TcAddressType - Input - - - 663047008 - - - PRG_PMPS.fbArbiterIO.xTxPDO_toggle - 1 - BIT - - - pytmc - pv: TxPDO_toggle - io: i - - - TcLinkTo - TIIB[PMPS_PRE]^SYNC Inputs^TxPDO toggle - - - TcAddressType - Input - - - 663050528 - - - PRG_PMPS.fbArbiterIO.xTxPDO_state - 1 - BIT - - - pytmc - pv: TxPDO_state - io: i - - - TcLinkTo - TIIB[PMPS_PRE]^SYNC Inputs^TxPDO state - - - TcAddressType - Input - - - 663050529 - PRG_MR1K4_SOMS.fbCoolingPanel.fbFlow_1.iRaw Connect this input to the terminal @@ -78577,12 +78571,70 @@ The BPTM will throw an error if the arbiter does not have enough space for the t 663802464 + + PRG_PMPS.fbArbiterIO.i_stCurrentBP + 1760 + ST_BeamParams_IO + + + TcLinkTo + TIIB[PMPS_PRE]^IO Inputs^CurrentBP + + + TcAddressType + Input + + + 673526688 + + + PRG_PMPS.fbArbiterIO.xTxPDO_toggle + 1 + BIT + + + pytmc + pv: TxPDO_toggle + io: i + + + TcLinkTo + TIIB[PMPS_PRE]^SYNC Inputs^TxPDO toggle + + + TcAddressType + Input + + + 673530208 + + + PRG_PMPS.fbArbiterIO.xTxPDO_state + 1 + BIT + + + pytmc + pv: TxPDO_state + io: i + + + TcLinkTo + TIIB[PMPS_PRE]^SYNC Inputs^TxPDO state + + + TcAddressType + Input + + + 673530209 + 33 PlcTask Outputs 2 - 84344832 + 84869120 Main.M1.Axis.PlcToNc 1024 @@ -79434,22 +79486,6 @@ The BPTM will throw an error if the arbiter does not have enough space for the t 647923904 - - PRG_PMPS.fbArbiterIO.q_stRequestedBP - 1760 - ST_BeamParams_IO - - - TcLinkTo - TIIB[PMPS_PRE]^IO Outputs^RequestedBP - - - TcAddressType - Output - - - 663048768 - PRG_MR1K4_SOMS.bActivateVarCool 8 @@ -79515,12 +79551,28 @@ The BPTM will throw an error if the arbiter does not have enough space for the t 664298056 + + PRG_PMPS.fbArbiterIO.q_stRequestedBP + 1760 + ST_BeamParams_IO + + + TcLinkTo + TIIB[PMPS_PRE]^IO Outputs^RequestedBP + + + TcAddressType + Output + + + 673528448 + 35 PlcTask Internal 2 - 84344832 + 84869120 DefaultGlobals.stSys Included for you @@ -85315,6 +85367,132 @@ The BPTM will throw an error if the arbiter does not have enough space for the t 7516480 + + 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 + + + + TcVarGlobal + + + 8444992 + + + 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 + + + + TcVarGlobal + + + 8446752 + + + PMPS_GVL.cstFullBeam + 1760 + ST_BeamParams + + + pytmc + + pv: @(PREFIX)FullBeamCnst + io: i + archive: 1Hz monitor + field: DESC Full beam constant + + + + TcVarGlobal + + + 8448512 + + + PMPS_GVL.cst0RateBeam + 1760 + ST_BeamParams + + + pytmc + + pv: @(PREFIX)0RateBeamCnst + io: i + archive: 1Hz monitor + field: DESC 0-rate beam constant + + + + TcVarGlobal + + + 8450272 + + + Global_Version.stLibVersion_PMPS + 288 + ST_LibVersion + + + .iMajor + 3 + + + .iMinor + 3 + + + .iBuild + 0 + + + .iRevision + 0 + + + .nFlags + 1 + + + .sVersion + 3.3.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 8452032 + + + PRG_PMPS.bMR1K3_IN + 8 + BOOL + 8452320 + MOTION_GVL.nMaxStates Debug, records the highest state count in the PLC. Can be used to limit GeneralConstants.MAX_STATES to save on memory usage and PV count. @@ -85386,46 +85564,6 @@ The BPTM will throw an error if the arbiter does not have enough space for the t 8472768 - - 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 - - - - TcVarGlobal - - - 8473056 - - - 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 - - - - TcVarGlobal - - - 8474816 - PMPS_GVL.g_areVBoundaries 1024 @@ -85439,7 +85577,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t pytmc pv: @(PREFIX)eVRangeCnst - io: i + io: i archive: 1Hz monitor field: DESC Active eV Range constants field: EGU eV @@ -85585,54 +85723,14 @@ The BPTM will throw an error if the arbiter does not have enough space for the t 8477984 - - PMPS_GVL.cstFullBeam - 1760 - ST_BeamParams - - - pytmc - - pv: @(PREFIX)FullBeamCnst - io: i - archive: 1Hz monitor - field: DESC Full beam constant - - - - TcVarGlobal - - - 8478048 - - - PMPS_GVL.cst0RateBeam - 1760 - ST_BeamParams - - - pytmc - - pv: @(PREFIX)0RateBeamCnst - io: i - archive: 1Hz monitor - field: DESC 0-rate beam constant - - - - TcVarGlobal - - - 8479808 - PMPS_GVL.cnMaxStateArrayLen {attribute 'pytmc' := ' pv: @(PREFIX)SafeBeamCnst - io: i + io: i archive: 1Hz monitor field: DESC Safe beam constant - '} + '} cstSafeBeam : ST_BeamParams := ( nTran := 0, neVRange := 0, @@ -85717,7 +85815,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t PMPS_GVL.reVHyst /////////////////////// /////////////////////// -//////////////////////////////////// +//////////////////////////////////// 32 REAL @@ -85728,7 +85826,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t pytmc pv: @(PREFIX)eVRangeHyst - io: i + io: i archive: 1Hz monitor field: DESC eV Range hystersis field: EGU eV @@ -85883,7 +85981,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t pytmc pv: @(PREFIX)L:eVRangeCnst - io: i + io: i archive: 1Hz monitor field: DESC eV Range constants field: EGU eV @@ -86038,7 +86136,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t pytmc pv: @(PREFIX)K:eVRangeCnst - io: i + io: i archive: 1Hz monitor field: DESC eV Range constants field: EGU eV @@ -89095,81 +89193,6 @@ MR2K4 X ENC CNT FB_LogHandler 655187776 - - PRG_States.fbMR1K4_Coating_States - 675968 - FB_Offset_Coating_States - - - .bBPOkAutoReset - true - - - - - pytmc - - pv: MR1K4:SOMS:COATING:STATE; - io: io; - - - - 660990016 - - - PRG_States.fbMR2K4_Coating_States - 676224 - FB_KBO_Coating_States - - - .bBPOkAutoReset - true - - - - - pytmc - - pv: MR2K4:KBO:COATING:STATE; - io: io; - - - - 661665984 - - - PRG_States.fbMR3K4_Coating_States - 676224 - FB_KBO_Coating_States - - - .bBPOkAutoReset - true - - - - - pytmc - - pv: MR3K4:KBO:COATING:STATE; - io: io; - - - - 662342208 - - - PRG_PMPS.fb_vetoArbiter - 27168 - FB_VetoArbiter - 663019040 - - - PRG_PMPS.fbArbiterIO - 138752 - FB_SubSysToArbiter_IO - 663046208 - PRG_PMPS.ffFFO2ToFFO1 25088 @@ -89258,109 +89281,6 @@ MR2K4 X ENC CNT 663213312 - - 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) -From M. Seaberg - - 192768 - FB_MirrorTwoCoatingProtection - - - .sDevName - MR1K4:SOMS - - - .nUpperCoatingBoundary - 19998960 - - - .sUpperCoatingType - SILICON - - - .nLowerCoatingBoundary - 15998960 - - - .sLowerCoatingType - B4C - - - 663214336 - - - 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) - - 192768 - FB_MirrorTwoCoatingProtection - - - .sDevName - MR2K4:KBO - - - .nUpperCoatingBoundary - 7776781 - - - .sUpperCoatingType - SILICON - - - .nLowerCoatingBoundary - 6976835 - - - .sLowerCoatingType - B4C - - - 663407104 - - - 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) - - 192768 - FB_MirrorTwoCoatingProtection - - - .sDevName - MR3K4:KBO - - - .nUpperCoatingBoundary - 5620000 - - - .sUpperCoatingType - B4C - - - .nLowerCoatingBoundary - 4820000 - - - .sLowerCoatingType - SILICON - - - 663599872 - GVL_M1K4_Constants.nYUP_ENC_REF Encoder reference values in counts = nm @@ -89756,48 +89676,6 @@ Silicon surface: RBV <= 4820000: 0000_0000_0001_1110 (allow everything betwee 664297792 - - GVL_PMPS.g_fbArbiter1 - Arbiter for devices upstream of ST1K4 (M1K4) - 474624 - FB_Arbiter - - - pytmc - - pv: PLC:TMO:OPTICS:ARB:01 - - - - old_input_assignments - - - TcVarGlobal - - - 664793088 - - - 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_assignments - - - TcVarGlobal - - - 665267712 - Constants.RuntimeVersion Does the target support multiple cores? @@ -90593,12 +90471,232 @@ Silicon surface: RBV <= 4820000: 0000_0000_0001_1110 (allow everything betwee 665803136 + + PRG_PMPS.fb_vetoArbiter + 27168 + FB_VetoArbiter + 672613696 + + + PRG_States.fbMR1K4_Coating_States + 679424 + FB_Offset_Coating_States + + + .bBPOkAutoReset + true + + + + + pytmc + + pv: MR1K4:SOMS:COATING:STATE; + io: io; + + + + 672846464 + + + PRG_PMPS.fbArbiterIO + 138752 + FB_SubSysToArbiter_IO + 673525888 + + + PRG_States.fbMR2K4_Coating_States + 679680 + FB_KBO_Coating_States + + + .bBPOkAutoReset + true + + + + + pytmc + + pv: MR2K4:KBO:COATING:STATE; + io: io; + + + + 674070976 + + + PRG_States.fbMR3K4_Coating_States + 679680 + FB_KBO_Coating_States + + + .bBPOkAutoReset + true + + + + + pytmc + + pv: MR3K4:KBO:COATING:STATE; + io: io; + + + + 674750656 + + + 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) +From M. Seaberg + + 192896 + FB_MirrorTwoCoatingProtection + + + .sDevName + MR1K4:SOMS + + + .nUpperCoatingBoundary + 19998960 + + + .sUpperCoatingType + SILICON + + + .nLowerCoatingBoundary + 15998960 + + + .sLowerCoatingType + B4C + + + 675430336 + + + 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) + + 192896 + FB_MirrorTwoCoatingProtection + + + .sDevName + MR2K4:KBO + + + .nUpperCoatingBoundary + 7776781 + + + .sUpperCoatingType + SILICON + + + .nLowerCoatingBoundary + 6976835 + + + .sLowerCoatingType + B4C + + + 675623232 + + + 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) + + 192896 + FB_MirrorTwoCoatingProtection + + + .sDevName + MR3K4:KBO + + + .nUpperCoatingBoundary + 5620000 + + + .sUpperCoatingType + B4C + + + .nLowerCoatingBoundary + 4820000 + + + .sLowerCoatingType + SILICON + + + 675816128 + + + GVL_PMPS.g_fbArbiter1 + Arbiter for devices upstream of ST1K4 (M1K4) + 474624 + FB_Arbiter + + + pytmc + + pv: PLC:TMO:OPTICS:ARB:01 + + + + old_input_assignments + + + TcVarGlobal + + + 676009024 + + + 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_assignments + + + TcVarGlobal + + + 676483648 + 36 PlcTask Retains 2 - 84344832 + 84869120 PMPS_GVL.SuccessfulPreemption Any time BPTM applies a new BP request which is confirmed @@ -90684,7 +90782,7 @@ Silicon surface: RBV <= 4820000: 0000_0000_0001_1110 (allow everything betwee ChangeDate - 2024-05-08T13:51:15 + 2024-06-20T09:45:05 GeneratedCodeSize @@ -90692,7 +90790,7 @@ Silicon surface: RBV <= 4820000: 0000_0000_0001_1110 (allow everything betwee GlobalDataSize - 82911232 + 82915328 From e33b3b54b06f6e1a4cae2f783129a09c877293f0 Mon Sep 17 00:00:00 2001 From: nwaters Date: Wed, 26 Jun 2024 15:37:51 -0700 Subject: [PATCH 3/7] BUG: fbArbiter2 should veto on MR1K3 as well --- lcls-plc-tmo-optics/tmo_optics/POUs/PRG_PMPS.TcPOU | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lcls-plc-tmo-optics/tmo_optics/POUs/PRG_PMPS.TcPOU b/lcls-plc-tmo-optics/tmo_optics/POUs/PRG_PMPS.TcPOU index fd73421..5dd51c1 100644 --- a/lcls-plc-tmo-optics/tmo_optics/POUs/PRG_PMPS.TcPOU +++ b/lcls-plc-tmo-optics/tmo_optics/POUs/PRG_PMPS.TcPOU @@ -39,7 +39,7 @@ bMR1K3_IN := PMPS.PMPS_GVL.stCurrentBeamParameters.aVetodevices[PMPS.K_Stopper.M fbArbiterIO(i_bVeto:= bMR1K1_IN, Arbiter := GVL_PMPS.g_fbArbiter1, fbFFHWO := GVL_PMPS.g_FastFaultOutput1); -GVL_PMPS.g_FastFaultOutput2.i_xVeto := bMR1K1_IN OR bST3K4_IN; +GVL_PMPS.g_FastFaultOutput2.i_xVeto := bMR1K1_IN OR bST3K4_IN OR bMR1K3_IN; GVL_PMPS.g_FastFaultOutput2.Execute(); From 12170732142563f02f3a66f1d05ee9ccb06b1de0 Mon Sep 17 00:00:00 2001 From: nwaters Date: Wed, 26 Jun 2024 15:40:07 -0700 Subject: [PATCH 4/7] BUG: fbArbiter2 should veto on MR1K3 as well --- .../_Config/PLC/tmo_optics.xti | 138 +- lcls-plc-tmo-optics/tmo_optics/tmo_optics.tmc | 108252 +++++++-------- 2 files changed, 54195 insertions(+), 54195 deletions(-) diff --git a/lcls-plc-tmo-optics/_Config/PLC/tmo_optics.xti b/lcls-plc-tmo-optics/_Config/PLC/tmo_optics.xti index 5402c0a..f73a0f9 100644 --- a/lcls-plc-tmo-optics/_Config/PLC/tmo_optics.xti +++ b/lcls-plc-tmo-optics/_Config/PLC/tmo_optics.xti @@ -1349,7 +1349,7 @@ External Setpoint Generation: - + tmo_optics Instance {08500001-0000-0000-F000-000000000064} @@ -1370,15 +1370,6 @@ External Setpoint Generation: PlcTask Inputs - - Main.bDreamEnable1 - - BOOL - - - Main.bDreamEnable2 - BOOL - lcls_twincat_optics.GVL_TestStructs.TestPitch_LimitSwitches.diEncCnt @@ -1599,26 +1590,6 @@ External Setpoint Generation: Main.fbMotionStage_m5.fbDriveVirtual.MasterAxis.NcToPlc NCTOPLC_AXIS_REF - - PRG_MR4K4_KBO.fbCoolingPanel.fbFlow_1.iRaw - - INT - - - PRG_MR4K4_KBO.fbCoolingPanel.fbPress_1.iRaw - - INT - - - PRG_MR5K4_KBO.fbCoolingPanel.fbFlow_1.iRaw - - INT - - - PRG_MR5K4_KBO.fbCoolingPanel.fbPress_1.iRaw - - INT - Main.M1K4.fbRunHOMS.bSTOEnable1 @@ -1665,6 +1636,24 @@ External Setpoint Generation: ULINT + + Main.bDreamEnable1 + + BOOL + + + Main.bDreamEnable2 + BOOL + + + Main.LAMPbSTOEnable1 + + BOOL + + + Main.LAMPbSTOEnable2 + BOOL + Main.M7.Axis.NcToPlc NCTOPLC_AXIS_REF @@ -2440,13 +2429,8 @@ External Setpoint Generation: NCTOPLC_AXIS_REF - Main.LAMPbSTOEnable1 - - BOOL - - - Main.LAMPbSTOEnable2 - BOOL + Main.fM3K4DS_RTD_3 + REAL Main.bM2K4US_RTD_1_Err @@ -2457,10 +2441,6 @@ External Setpoint Generation: Main.bM2K4US_RTD_2_Err BOOL - - Main.fM3K4DS_RTD_3 - REAL - Main.bM2K4US_RTD_3_Err BOOL @@ -2501,6 +2481,18 @@ External Setpoint Generation: Main.bM3K4DS_RTD_3_Err BOOL + + PRG_PMPS.fbArbiterIO.i_stCurrentBP + ST_BeamParams_IO + + + PRG_PMPS.fbArbiterIO.xTxPDO_toggle + BIT + + + PRG_PMPS.fbArbiterIO.xTxPDO_state + BIT + PRG_MR1K4_SOMS.fbCoolingPanel.fbFlow_1.iRaw @@ -2517,46 +2509,53 @@ External Setpoint Generation: INT - GVL_M2K4_RTD.nM2K4US_RTD_1 - + PRG_MR2K4_KBO.fbCoolingPanel.fbFlow_1.iRaw + INT - GVL_M2K4_RTD.nM2K4US_RTD_2 + PRG_MR2K4_KBO.fbCoolingPanel.fbPress_1.iRaw + INT - GVL_M2K4_RTD.nM2K4US_RTD_3 + PRG_MR3K4_KBO.fbCoolingPanel.fbFlow_1.iRaw + INT - PRG_MR2K4_KBO.fbCoolingPanel.fbFlow_1.iRaw + PRG_MR3K4_KBO.fbCoolingPanel.fbPress_1.iRaw INT - PRG_MR2K4_KBO.fbCoolingPanel.fbPress_1.iRaw + PRG_MR4K4_KBO.fbCoolingPanel.fbFlow_1.iRaw INT - PRG_MR3K4_KBO.fbCoolingPanel.fbFlow_1.iRaw + PRG_MR4K4_KBO.fbCoolingPanel.fbPress_1.iRaw INT - PRG_MR3K4_KBO.fbCoolingPanel.fbPress_1.iRaw + PRG_MR5K4_KBO.fbCoolingPanel.fbFlow_1.iRaw INT - GVL_M2K4_RTD.nM2K4DS_RTD_1 - + PRG_MR5K4_KBO.fbCoolingPanel.fbPress_1.iRaw + INT - GVL_M2K4_RTD.nM2K4DS_RTD_2 + GVL_M2K4_RTD.nM2K4US_RTD_1 + + INT + + + GVL_M2K4_RTD.nM2K4US_RTD_2 INT @@ -2564,6 +2563,19 @@ External Setpoint Generation: LINT + + GVL_M2K4_RTD.nM2K4US_RTD_3 + INT + + + GVL_M2K4_RTD.nM2K4DS_RTD_1 + + INT + + + GVL_M2K4_RTD.nM2K4DS_RTD_2 + INT + GVL_M2K4_RTD.nM2K4DS_RTD_3 INT @@ -2691,18 +2703,6 @@ External Setpoint Generation: GVL_M5K4_RTD.nM5K4_Chin_Tail_RTD.iRaw INT - - PRG_PMPS.fbArbiterIO.i_stCurrentBP - ST_BeamParams_IO - - - PRG_PMPS.fbArbiterIO.xTxPDO_toggle - BIT - - - PRG_PMPS.fbArbiterIO.xTxPDO_state - BIT - PlcTask Outputs @@ -3009,6 +3009,10 @@ External Setpoint Generation: PRG_MR1K4_SOMS.bActivateVarCool BOOL + + PRG_PMPS.fbArbiterIO.q_stRequestedBP + ST_BeamParams_IO + GVL_PMPS.g_FastFaultOutput1.q_xFastFaultOut BOOL @@ -3017,10 +3021,6 @@ External Setpoint Generation: GVL_PMPS.g_FastFaultOutput2.q_xFastFaultOut BOOL - - PRG_PMPS.fbArbiterIO.q_stRequestedBP - ST_BeamParams_IO - PlcTask Retains diff --git a/lcls-plc-tmo-optics/tmo_optics/tmo_optics.tmc b/lcls-plc-tmo-optics/tmo_optics/tmo_optics.tmc index d7de46f..b50e989 100644 --- a/lcls-plc-tmo-optics/tmo_optics/tmo_optics.tmc +++ b/lcls-plc-tmo-optics/tmo_optics/tmo_optics.tmc @@ -1,5 +1,5 @@ - + ComSerialLineMode_t @@ -3472,31 +3472,31 @@ bBusy BOOL 8 - 83240824 + 83212152 bError BOOL 8 - 83240860 + 83212188 hrErrorCode HRESULT 32 - 83240868 + 83212196 nStringSize UDINT 32 - 83240848 + 83212176 sResult STRING(255) 2048 - 83240864 + 83212192 TcEncoding @@ -4748,15 +4748,15 @@ nId UDINT 32 - 83240760 - 83240784 + 83212088 + 83212112 sName STRING(255) 2048 - 83240800 - 83240812 + 83212128 + 83212140 TcEncoding @@ -4997,31 +4997,31 @@ eSeverity TcEventSeverity 16 - 83240916 + 83212244 ipSourceInfo I_TcSourceInfo 32 - 83240896 + 83212224 nEventId UDINT 32 - 83240984 + 83212312 nUniqueId UDINT 32 - 83240988 + 83212316 sEventClassName STRING(255) 2048 - 83240944 + 83212272 TcEncoding @@ -5033,7 +5033,7 @@ sEventText STRING(255) 2048 - 83240992 + 83212320 TcEncoding @@ -5626,7 +5626,7 @@ nTimeSent ULINT 64 - 83241020 + 83212348 TcDisplayTypeGUID @@ -19844,48284 +19844,39644 @@ contributing fast faults, unless the FFO is currently vetoed. - ST_PMPS_Attenuator_IO - 64 + E_IPCDiag_ModuleType + 16 + WORD + + AccessControl + 1 + + + NIC + 2 + + + Time_ + 3 + + + UserManagement + 4 + + + RAS + 5 + + + FTP + 6 + + + SMB + 7 + + + TwinCAT + 8 + + + Datastore + 9 + + + Software + 10 + + + CPU + 11 + + + Memory + 12 + + + Firewall + 14 + + + FileSystemObject + 16 + + + PLC + 18 + + + DisplayDevice + 19 + + + EWF + 20 + + + FBWF + 21 + + + SiliconDrive + 23 + + + OS + 24 + + + Raid + 25 + + + Fan + 27 + + + Mainboard + 28 + + + DiskManagement + 29 + + + UPS + 30 + + + PhysicalDrive + 31 + + + MassStorage + 32 + + + UWF + 33 + + + Misc + 256 + + + + qualified_only + + + + + ST_IPCDiag_Module + 48 - nTran - REAL - 32 + eModType + E_IPCDiag_ModuleType + 16 0 - xAttOK - UINT - 16 + nModId + BYTE + dynamically created module id + 8 + 16 + + + nModIdx + USINT + 1= first instance of this module type (= default) + 8 + 24 + + + nModCnt + USINT + quantity of instances of this module type in the module list + 8 32 - - - - - - - - - - - - ST_PMPS_Attenuator - 64 - ST_PMPS_Attenuator_IO - - - ST_PMPS_Aperture_IO - 96 + ST_IPCDiag_ModuleList + list of modules of the configuration area + 12496 - Width - REAL - distance between horizontal slits (x) - 32 + aModules + ST_IPCDiag_Module + + 0 + 256 + + array idx = nModId of the module + 12288 0 - - - plcAttribute_pytmc - pv: Width - io: i - field: EGU mm - - - Height - REAL - distance between vertical slits (y) - 32 - 32 - - - plcAttribute_pytmc - pv: Height - io: i - field: EGU mm - - + nModules + UINT + number of all instantiated modules (max.256) + 16 + 12288 - xOK - BOOL - status of aperture, false if error or in motion - 8 - 64 + sNetId + T_AmsNetID + 192 + 12304 + + + + ADSREADEX + Extended ADS read command. + 1280 + + NETID + T_AmsNetID + Ams net id + 192 + 32 - plcAttribute_pytmc - pv: OK - io: i + ItemType + Input - - - ST_PMPS_Aperture - 96 - ST_PMPS_Aperture_IO - - - ST_BeamParams - 1760 - nTran - REAL - Requested pre-optic attenuation % - 32 - 0 - - 0 - + PORT + T_AmsPort + Ads communication port + 16 + 224 - pytmc - pv: Transmission - io: i - field: HOPR 1; - field: LOPR 0; - field: PREC 2; - + ItemType + Input - nRate + IDXGRP UDINT - Pulse-rate + Index group 32 - 32 - - 0 - + 256 - pytmc - pv: Rate - io: i - field: EGU Hz - + ItemType + Input - neVRange - DWORD - Photon energy ranges + IDXOFFS + UDINT + Index offset 32 - 64 - - 0 - + 288 - pytmc - pv: eVRanges - io: i - field: EGU eV - - - displaymode - binary + ItemType + Input - neV - REAL - Photon energy + LEN + UDINT + Max. number of data bytes to read (LEN <= max. size of destination buffer) 32 - 96 - - 0 - + 320 - pytmc - pv: PhotonEnergy - io: i - field: EGU eV + ItemType + Input - nBCRange - WORD - Beamclass ranges - 16 - 128 - - 0 - + DESTADDR + PVOID + Pointer to destination buffer + 32 + 352 - pytmc - pv: BeamClassRanges - io: i + ItemType + Input - displaymode - binary + TcIgnorePersistent - nBeamClass - USINT - Beamclass + READ + BOOL + Rising edge starts command execution 8 - 144 - - 0 - + 384 - pytmc - pv: BeamClass - io: i + ItemType + Input - nMachineMode - USINT - Machine Mode - 8 - 152 + TMOUT + TIME + Maximum time allowed for the execution of this ADS command + 32 + 416 - 3 + 5000 - pytmc - pv: MachineMode - io: i - - - - - astAttenuators - ST_PMPS_Attenuator - - 1 - 16 - - Beamline attenuators - 1024 - 160 - - - pytmc - pv: AuxAtt - io: i + ItemType + Input - aVetoDevices + BUSY BOOL - - 1 - 16 - - Stoppers - 128 - 1184 + Busy flag + 8 + 448 - pytmc - pv: Veto - io: i + ItemType + Output - 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 - - + ERR + BOOL + Error flag + 8 + 456 - pytmc - pv: Apt - io: i + ItemType + Output - xValidToggle - BOOL - Toggle for watchdog - 8 - 1696 - - - xValid - BOOL - Beam parameter set is valid (if readback), or acknowledged (if request) - 8 - 1704 + ERRID + UDINT + ADS error code + 32 + 480 - pytmc - pv: Valid - io: i + ItemType + Output - nCohortInt + COUNT_R UDINT - Cohort index. Identifies which cohort this BP set was included in arbitration + Count of bytes actually read 32 - 1728 + 512 - pytmc - pv: Cohort - io: i - field: DESC Cohort inc on each arb cycle - + ItemType + Output - - - 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. - 32 PouType FunctionBlock - + + hide_all_locals + + - _ST_NCADS_IDXOFFS_AxisParameter - 1632 + FB_IPCDiag_MDPRead + reads a single MDP parameter by its address + 1888 - PARAMSTRUCT - UDINT - NC ADS Index Offsets for Axis Parameters - 32 - 0 - - 0 - + bExecute + BOOL + Function block execution is triggered by a rising edge at this input. + 8 + 32 + + + ItemType + Input + + - ID - UDINT - 32 - 32 - - 1 - + nIndex + WORD + 16 + 48 + + + ItemType + Input + + - NAME - UDINT - 32 + nFlags + BYTE + 8 64 - - 2 - + + + ItemType + Input + + - AXISTYPE - UDINT + nSubIndex + BYTE + 8 + 72 + + + ItemType + Input + + + + + pDstBuf + PVOID + Contains the address of the buffer for the received data. 32 96 - - 3 - + + + ItemType + Input + + - CYCLETIME + nDstBufSize UDINT + Contains the max. number of bytes to be received. 32 128 - - 4 - + + + ItemType + Input + + - UNITNAME - UDINT + tTimeout + TIME + States the time before the function is cancelled. 32 160 - 5 + 5000 + + + ItemType + Input + + - VELOREFSEARCH - UDINT - 32 + sNetId + T_AmsNetID + keep empty '' for the local device + 192 192 - 6 - - - - VELOSYNCSEARCH - UDINT - 32 - 224 - - 7 - - - - VELOSLOWMANUAL - UDINT - 32 - 256 - - 8 - - - - VELOFASTMANUAL - UDINT - 32 - 288 - - 9 - - - - VELOFAST - UDINT - 32 - 320 - - 10 + + + + ItemType + Input + + - POSAREAENABLE - UDINT - 32 - 352 - - 15 - + bBusy + BOOL + 8 + 384 + + + ItemType + Output + + - POSAREARANGE - UDINT - 32 - 384 - - 16 - + bError + BOOL + 8 + 392 + + + ItemType + Output + + - MOTCNTRLENABLE - UDINT + hrErrorCode + HRESULT 32 416 - - 17 - + + + ItemType + Output + + - MOTCNTRLTIME + nCount UDINT + returns the number of bytes received 32 448 - - 18 - + + + ItemType + Output + + - LOOPENABLE + nErrID UDINT 32 480 - - 19 - - LOOPDISTANCE + nIdxOffset UDINT 32 512 - - 20 - - TARGETPOSENA - UDINT - 32 + fbAdsReadEx + ADSREADEX + 1280 544 - 21 + + .PORT + 10000 + + + .IDXGRP + 62210 + - TARGETPOSRANGE - UDINT - 32 - 576 - - 22 - + RisingEdge + R_TRIG + 64 + 1824 + + + PouType + FunctionBlock + + + + + FB_IPCDiag_GetModuleList + requests the full MDP module list + 27232 - TARGETPOSTIME - UDINT - 32 - 608 - - 23 - + bExecute + BOOL + Function block execution is triggered by a rising edge at this input. + 8 + 32 + + + ItemType + Input + + - PULSDISTPOS - UDINT + tTimeout + TIME + States the time before the function is cancelled. 32 - 640 + 64 - 24 + 5000 + + + ItemType + Input + + - PULSDISTNEG - UDINT - 32 - 672 + sNetId + T_AmsNetID + keep empty '' for the local device + 192 + 96 - 25 + + + + ItemType + Input + + - FADINGACCELERATION - UDINT - 32 - 704 - - 29 - + bBusy + BOOL + 8 + 288 + + + ItemType + Output + + - FASTAXISSTOPSIGNALTYPE - UDINT - 32 - 736 - - 30 - + bError + BOOL + 8 + 296 + + + ItemType + Output + + - UNITFLAGS - UDINT + hrErrorCode + HRESULT 32 - 768 - - 38 - + 320 + + + ItemType + Output + + - VELOMAXIMUM - UDINT - 32 - 800 - - 39 - + stModuleList + ST_IPCDiag_ModuleList + 12496 + 352 + + + ItemType + Output + + - MOTCNTRLRANGE - UDINT - 32 - 832 + cMaxNoModules + UINT + 16 + 12848 - 40 + 256 - PEHCONTROLENA - UDINT - 32 - 864 + cMaxModType + UINT + 16 + 12864 - 41 + 512 - PEHCONTROLTIME - UDINT - 32 - 896 - - 42 - + bSubExecute + BOOL + 8 + 12880 - BACKLASHCOMPENA - UDINT - 32 - 928 - - 43 - + bSubBusy + BOOL + 8 + 12888 - BACKLASH - UDINT - 32 - 960 - - 44 - + aModTypeCnt + USINT + + 0 + 513 + + 4104 + 12896 - DATAPERSISTENCE - UDINT - 32 - 992 - - 48 - + nListIdx + UINT + 16 + 17008 - HWAMSADDR - UDINT - 32 - 1024 - - 49 - + eModType + E_IPCDiag_ModuleType + 16 + 17024 - HWCHNNO - UDINT - 32 - 1056 - - 50 - + nCntModules + UINT + 16 + 17040 - APPLICATIONREQUEST - UDINT - 32 - 1088 + fbReadMDP + FB_IPCDiag_MDPRead + 1888 + 17056 - 51 + + .nIndex + 61456 + + + .nFlags + 1 + + + .nSubIndex + 0 + - ACC - UDINT - 32 - 1120 - - 257 - + aDataList + WORD + + 0 + 513 + + 8208 + 18944 - 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 + RisingEdge + R_TRIG + 64 + 27168 - conditionalshow + PouType + FunctionBlock - _ST_NCADS_IDXOFFS_AxisState - 800 - - ONLINESTRUCT - UDINT - 32 - 0 - - 0 - - + FB_IPCDiag_Register + initializes the PLC API for IPC diagnostics on a specific IPC + 43936 - ERROR - UDINT - 32 + bExecute + BOOL + 8 32 - - 1 - + + + ItemType + Input + + - 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; - + tTimeout + TIME + States the time before the function is cancelled. 32 64 - 9 + 5000 + + + ItemType + Input + + - SETPOS - UDINT - 32 + sNetId + T_AmsNetID + keep empty '' for the local device + 192 96 - 10 - - - - SETVELO - UDINT - 32 - 128 - - 14 - - - - SETACC - UDINT - 32 - 160 - - 15 - - - - MODULOSETPOS - UDINT - 32 - 192 - - 11 + + + + ItemType + Input + + - MODULOSETTURNS - UDINT - 32 - 224 - - 12 - + bValid + BOOL + read data available =(NOT bBusy AND NOT bError) + 8 + 288 + + + ItemType + Output + + - SETDIR - UDINT - 32 - 256 - - 13 - + bBusy + BOOL + 8 + 296 + + + ItemType + Output + + - TARGETPOSITION - UDINT - 32 - 288 - - 19 - + bError + BOOL + TRUE if an error occurred. + 8 + 304 + + + ItemType + Output + + - REMAININGTIMEANDPOS - UDINT + hrErrorCode + HRESULT + '< 0' = error; '> 0' = info; '0' = no error/info 32 320 - - 20 - + + + ItemType + Output + + - STOPINFORMATION - UDINT + ipErrorMessage + I_TcMessage + shows detailed information about occurred errors 32 352 - - 24 - + + + ItemType + Output + + - SETTASKCYCLE_WITHOUTCORR - UDINT - 32 + stModuleList + ST_IPCDiag_ModuleList + 12496 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 - + + + ItemType + Output + + - AXISCTRLLOOPIDX - UDINT - 32 - 640 - - 36 - + RisingEdge + R_TRIG + 64 + 12896 + + + conditionalshow + + - AXISSETPOINTGENIDX - UDINT - 32 - 672 - - 37 - + fbGetModList + FB_IPCDiag_GetModuleList + 27232 + 12960 + + + conditionalshow + + - CPLCHARACVALUES - UDINT - 32 - 704 - - 38 - + fbErrorMessage + FB_TcMessage + 3488 + 40192 + + + conditionalshow + + - CAMINFO - UDINT - 32 - 736 - - 39 - + FallingEdgeBUSY + F_TRIG + 64 + 43680 + + + conditionalshow + + - CAMSTATUS - UDINT - activation status etc. - 32 - 768 - - 40 - + stEventEntryTemp + TcEventEntry + 192 + 43744 + + + conditionalshow + + - conditionalshow + PouType + FunctionBlock + + + conditionalshow_all_locals - _ST_NCADS_AxisState - 832 - - IDXGRP - UDINT - 32 - 0 - - 16640 - - - - IDXOFFS - _ST_NCADS_IDXOFFS_AxisState - 800 - 32 - + USINT (1..255) + 8 + USINT - conditionalshow + LowerBorder + 1 + + + UpperBorder + 255 - _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 - - + I_IPCDiag_AccessParameter + 32 + PVOID + + GetParameter + access a read parameter (if more than one value is available all values can be copied at once, except for STRING types) + HRESULT + 32 + + pBuffer + parameter buffer with a given size of nBufferSize + PVOID + 32 + + + nBufferSize + buffer size in bytes (for one or more values) + UDINT + 32 + + + + GetParameterByIdx + access a read parameter by index specification + HRESULT + 32 + + pBuffer + parameter buffer with a given size of nBufferSize + PVOID + 32 + + + nBufferSize + buffer size in bytes (for one parameter value) + UDINT + 32 + + + nParameterIdx + selection of parameter value (1..nReadParameterValues) (e.g. equals list index in case of list parameter) + USINT (1..255) + 8 + + + + GetParameterStrings + access a read string parameter (if more than one value is available all values can be copied to an ARRAY OF STRING at once) + HRESULT + 32 + + pBuffer + parameter buffer with a given size of nBufferSize + PVOID + 32 + + + nBufferSize + buffer size in bytes (for one or more values) + UDINT + 32 + + + nStrings + number of strings to be copied (each string with size=nBufferSize/nStrings) + USINT + 8 + + - 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 + I_DynMem_Manager + 32 + PVOID + + nAllocatedSize + ULINT + currently allocated dynamic memory byte size + 64 + + + nBufferCount + ULINT + current number of allocated byte buffers + 64 + + + nObjectCount + ULINT + current number of allocated objects + 64 + + + __getnAllocatedSize + ULINT + 64 - ItemType - Output + property - - - DEVNAME - STRING(19) - Device name - 160 - 352 + + + __getnBufferCount + ULINT + 64 - ItemType - Output + property - - - DEVVER - UDINT - Device version - 32 - 512 + + + __getnObjectCount + ULINT + 64 - ItemType - Output + property - - - - 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 - - - - - UINT (0..GVL_Param_TcUnit.MaxNumberOfTestSuites) - 16 - UINT - - - LowerBorder - 0 - - - UpperBorder - 1000 - - - - - UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) - 16 - UINT - - - LowerBorder - 0 - - - UpperBorder - 100 - - + + + Alloc + | Method allocates new dynamic memory with the given size. +| If the return value is 0 memory was unavailable. + PVOID + 32 + + nSize + requested size in bytes + UDINT + 32 + + + bReset + zero the allocated memory + BOOL + 8 + + + + Free + + p + PVOID + 32 + + + nSize + UDINT + 32 + + - E_AssertionType - 8 - BYTE + E_IPCDiag_ParameterKey + 64 + LWORD - Type_UNDEFINED + Unselected 0 - Type_ANY - 1 + IPCDeviceName + 30399297753710592 + IPC device name, STRING, read/write (MDP general area) - Type_BOOL - 2 - Primitive types + IPCHardwareVersion + 7881299616923648 + IPC hardware version, STRING, constant (MDP general area) - Type_BYTE - 3 + IPCImageVersion + 7881299616989184 + IPC image version, STRING, constant (MDP general area) - Type_DATE - 4 + IPCVendor + 6473924734353409 + IPC vendor, UDINT, constant (MDP general area) - Type_DATE_AND_TIME - 5 + IPCSerialNumber + 12384903168524288 + serial number (or BTN) of Beckhoff IPC, STRING, read-only (MDP device area) - Type_DINT - 6 + CPU_Name + 12384948368441347 + CPU name, STRING, read-only - Type_DWORD - 7 + CPU_Frequency + 6473973857583105 + CPU Frequency, UDINT, constant - Type_INT - 8 + CPU_Usage + 10414623531532290 + Current CPU Usage (%), UINT, read-only - Type_LINT - 9 + CPU_Temp + 10133148554821635 + Current CPU Temperature (°C), INT, read-only - Type_LREAL - 10 + Disk_NoVolumes + 10414700840943616 + number of volumes (VolumeList length), UINT, read-only - Type_LTIME - 11 + Disk_VolumeList_DriveLetter + 156500213753774081 + drive letter, STRING, read-only - Type_LWORD - 12 + Disk_VolumeList_Label + 174514612263321601 + volume label, STRING, read/write (write is not supported under WinCE) - Type_REAL - 13 + Disk_VolumeList_FileSystem + 156500213753905153 + file system, STRING, read-only - Type_SINT - 14 + Disk_VolumeList_DriveType + 155092838870417409 + drive type (0=Unknown,1=Fixed,2=Removable,4=CDROM), UDINT, read-only - Type_STRING - 15 + Disk_VolumeList_TotelSize + 155655788823904257 + total size (bytes), ULINT, read-only - Type_TIME - 16 + Disk_VolumeList_FreeSpace + 155655788823969793 + free space (bytes), ULINT, read-only - Type_TIME_OF_DAY - 17 + Disk_FreeSpaceOfVolumeC + 9234912637602496512 + free space of the volume with drive letter 'C' (bytes), ULINT, read-only - Type_UDINT - 18 + Disk_FreeSpaceOfVolumeD + 9234912637602496513 + free space of the volume with drive letter 'D' (bytes), ULINT, read-only - Type_UINT - 19 + Display_ModuleCnt + 81909301975711744 + number of Display modules, USINT, read-only - Type_ULINT - 20 + Display_Name + 12384982728179715 + display device name, STRING, read-only - Type_USINT - 21 + Display_IdxOfActiveMode + 27866106447331329 + index of active display mode (1..n), USINT, read/write - Type_WORD - 22 + Display_NoModes + 10414657891336192 + number of available display modes (ModeList length), UINT, read-only - Type_WSTRING - 23 + Display_ModeList_ModeDef + 156500170804166657 + display mode definition, STRING, read-only - Type_Array2D_LREAL - 24 - Array types + Display_PrimaryDisplay + 9288757984559105 + is primary display, BOOL, read-only - Type_Array2D_REAL - 25 + Display_ComPort + 30399381237858306 + COM port, STRING, read/write - Type_Array3D_LREAL - 26 + Display_Version + 10977607844823043 + version, UDINT, read-only - Type_Array3D_REAL - 27 + Display_Brightness + 28992006354305028 + brightness in % (20..100), UDINT, read/write - Type_Array_BOOL - 28 + Display_Light + 27303156494041093 + light, BOOL, read/write - Type_Array_BYTE - 29 + Fan_ModuleCnt + 81909336335450112 + number of Fan modules, USINT, read-only - Type_Array_DINT - 30 + Fan_Name + 12385017087918083 + fan adapter name, STRING, read-only - Type_Array_DWORD - 31 + Fan_Speed + 10133217274298369 + fan speed (rpm), INT, read-only - Type_Array_INT - 32 + MB_Type + 12385021382950913 + mainboard type, STRING, read-only - Type_Array_LINT - 33 + MB_SerialNumber + 12385021382950914 + mainboard serial number, STRING, read-only - Type_Array_LREAL - 34 + MB_ProductionDate + 12385021382950915 + mainboard production date, STRING, read-only - Type_Array_LWORD - 35 + MB_BootCnt + 10977646499397636 + boot count, UDINT, read-only - Type_Array_REAL - 36 + MB_OperationTime + 10977646499397637 + opertaion time (minutes), UDINT, read-only - Type_Array_SINT - 37 + MB_MinTemperature + 10696171522686982 + min.mainboard temperature (°C), DINT, read-only - Type_Array_UDINT - 38 + MB_MaxTemperature + 10696171522686983 + max.mainboard temperature (°C), DINT, read-only - Type_Array_UINT - 39 + MB_MinInputVoltage + 10696171522686984 + min.mainboard input voltage (mV), DINT, read-only - Type_Array_ULINT - 40 + MB_MaxInputVoltage + 10696171522686985 + max.mainboard input voltage (mV), DINT, read-only - Type_Array_USINT - 41 + MB_Temperature + 10133221569265674 + mainboard temperature (°C), INT, read-only - Type_Array_WORD - 42 + MB_Revision + 9851746592620545 + mainboard revision, USINT, read-only - - - qualified_only - - - strict - - - - - 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 - Returns whether the storing of the test results is finished - 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). - - 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 - | Access mode - | File modes to open a file. - - .. note:: - For all ``*_PLUS`` modes be aware, that after reading from a file, writing can only be done after a call - to |SysFileGetPos| or |SysFileSetPos|! If you call |SysFileWrite| right after |SysFileRead|, - the file pointer could be on an invalid position! - - Correct example:: - - SysFileRead(); - SysFileGetPos(); - SysFileWrite(); - 32 - UDINT - AM_READ - 0 - Open an existing file with Read access. If file does not exist, Open fails + MB_BiosVersionMajor + 9851746592620546 + bios major version, USINT, read-only - AM_WRITE - 1 - Create new file with Write access. If file does exist, content is discarded + MB_BiosVersionMinor + 9851746592620547 + bios minor version, USINT, read-only - AM_APPEND - 2 - Open an existing file with Append (only write) access. If file does not exist, Open fails + MB_BiosVersion + 12385021383016452 + bios version, STRING, read-only - AM_READ_PLUS - 3 - Open an existing file with Read/Write access. If file does not exist, Open fails + MB_NoVoltageMeasurements + 10414696546107392 + number of voltage measurements (VoltageList length), UINT, read-only - AM_WRITE_PLUS - 4 - Create new file with Read/Write access. If file does exist, content is discarded + MB_VoltageList_Name + 154248409645252609 + name of voltage measurement, STRING, read-only - AM_APPEND_PLUS - 5 - Open an existing file with Append (read/write) access. If file does not exist, Open creates a new file + MB_VoltageList_Location + 154248409645318145 + location of voltage measurement (E_IPCDiag_MBVoltageLocation), INT, read-only - - - external_name - RTS_ACCESS_MODE - - - - - 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 - - 96 - - FileAccessMode - ACCESS_MODE - Append_Plus creates the file if it doesn't exist yet. - 32 - 32 - - ACCESS_MODE.AM_APPEND_PLUS - - - - FileHandle - RTS_IEC_HANDLE - 32 - 64 - - - Read - - Reads a file from disk into the buffer - - RTS_IEC_RESULT - 32 - - BufferPointer - Call with ADR(); - BYTE - 32 - - - Size - Call with SIZEOF(); - UDINT - 32 - - - FileSize - RTS_IEC_SIZE - 32 - - - ItemType - Output - - - - - - Close - - Closes the currently opened file. - - RTS_IEC_RESULT - 32 - - - Open - - Opens a file - - 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 - - Deletes a file specified by name, if it exists. - - 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 - - Writes the contents of the buffer into a file. - - RTS_IEC_RESULT - 32 - - BufferPointer - Call with ADR(); - BYTE - 32 - - - Size - Call with SIZEOF(); - UDINT - 32 - - - - - PouType - FunctionBlock - - - - - E_XmlError - 8 - BYTE - Ok - 0 + MB_VoltageList_Value + 154248409645383681 + value of voltage measurement (mV), INT, read-only - ErrorMaxBufferLen - 1 + MB_VoltageList_NominalValue + 154248409645449217 + nominal value of voltage measurement (mV), INT, read-only - ErrorStringLen - 2 + Memory_ProgramMemoryAllocated + 11540527733342214 + program memory (RAM) allocated (bytes), ULINT, read-only - Error - 3 + Memory_ProgramMemoryAvailable + 11540527733342215 + program memory (RAM) available (bytes), ULINT, read-only - - - qualified_only - - - strict - - - - - FB_StreamBuffer - - This functionblock acts as a stream buffer for use with FB_XmlControl - - 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 - - Find a searchstring in the buffer and returns its position. - It's possible to add a preffered startposition within buffer - - 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 - - Gets/Sets the current length (in bytes) of the streambuffer - - UDINT - 32 - - Length - UDINT - 32 - - - - property - - - - - Clear - - Clears the buffer and sets the length to 0 - - - Count - UDINT - 32 - - - - __setAppend - - Appends a string to the buffer - - - Append - - Appends a string to the buffer - - T_MaxString - 2048 - - - ByteIn - BYTE - 32 - - - ByteBuffer - BYTE - 32 - - - - property - - - - - __getBufferSize - - Read current Buffersize - - UDINT - 32 - - BufferSize - UDINT - 32 - - - - property - - - - - __setLength - - Gets/Sets the current length (in bytes) of the streambuffer - - - Length - - Gets/Sets the current length (in bytes) of the streambuffer - - UDINT - 32 - - - - property - - - - - SetBuffer - BOOL - 8 - - PointerToBufferAddress - Set buffer address (ADR ...) - BYTE - 32 - - - SizeOfBuffer - Set buffer size (SIZEOF ...) - UDINT - 32 - - - - Copy - - Copies a string from the character buffer - - 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) - - 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 - - Must be called after opening a new tag - - XML.NewParameter(Name: = 'ParaName', Value: = 'Value'); - - - Name - T_MaxString - 2048 - - - Value - T_MaxString - 2048 - - - - NewTag - - Creates a new Tag: - XML: <MyTag> - - XML.NewTag(Name: = 'MyTag'); - - - Name - T_MaxString - 2048 - - - - CloseTag - - Closes a Tag: - XML: <MyTag />' - - Method: XML.CloseTag(); - - T_MaxString - 2048 - - ClosedTag - T_MaxString - 2048 - - - - WriteDocumentHeader - - Add your own preffered fileheader like: - XML: <?xml version="1.0" encoding="UTF-8"?> - - Start with calling this method before appending any other tags! - - XML.WriteDocumentHeader('<?xml version="1.0" encoding="UTF-8"?>'); - - - Header - T_MaxString - 2048 - - - - NewComment - - Adds a comment - XML: <!-- MyComment --> - - XML.NewComment(Comment: = 'MyComment'); - - - 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 - - Clears the contents of the entire buffer. - - - - ToStartBuffer - - Jump to the beginning of the XML data - XML.ToStartBuffer(); - - - - - PouType - FunctionBlock - - - - - FB_xUnitXmlPublisher - - Publishes test results into an xUnit compatible Xml file - - 530304 - I_TestResultLogger - - TestResults - I_TestResults - Dependancy Injection via FB_Init - 32 - 64 - - - AccessMode - ACCESS_MODE - File access mode - 32 - 96 - - ACCESS_MODE.AM_WRITE_PLUS - - - - File - FB_FileControl - 96 - 128 - - - Xml - FB_XmlControl - 5696 - 224 - - - BufferInitialised - BOOL - 8 - 5920 - - false - - - - Buffer - BYTE - - 0 - 65535 - - 524280 - 5928 - - - WritingTestSuiteResultNumber - UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) - 16 - 530208 - - - PublishTrigger - R_TRIG - 64 - 530240 - - - DeleteOpenWriteClose - - Deletes the former file (if it exists). - Opens the file, writes the buffer and closes it. - - RTS_IEC_RESULT - 32 - - - LogTestSuiteResults - - This method is responsible for the entire generation of the output file. - The output of the xml writer is NOT beautified. - - When new data is available, feel free to add it to the report - - - 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. - - 621827200 - - AllTestSuitesFinished - BOOL - Indication of whether all test suites have reported that they are finished - 8 - 32 - - false - - - - 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 - - - __FB_TCUNITRUNNER__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 - - - - __FB_TCUNITRUNNER__RUNTESTSUITETESTSINSEQUENCE__TIMERBETWEENEXECUTIONOFTESTSUITES - TOF - 224 - 621826976 - - - AbortRunningTestSuiteTests - This function sets a flag which makes the runner stop running the tests - in the test suites - - - RunTestSuiteTestsInSequence - This runs all the test suites in sequence (one after the other) - - 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 - 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 - __FB_TCUNITRUNNER__RUNTESTSUITETESTSINSEQUENCE__CURRENTLYRUNNINGTESTSUITE - - - - - TimerBetweenExecutionOfTestSuites - TOF - 224 - - - uselocation - __FB_TCUNITRUNNER__RUNTESTSUITETESTSINSEQUENCE__TIMERBETWEENEXECUTIONOFTESTSUITES - - - - - - RunTestSuiteTests - This runs all the test suites in parallel - - 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 - UINT - 16 - - - - - PouType - FunctionBlock - - - - - FB_Test - - This function block holds all data that defines a test. - - 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. - 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 - Sets in which order/sequence relative to the order tests should this test be executed/evaluated. - - OrderNumber - UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) - 16 - - - - IsSkipped - BOOL - 8 - - - GetNumberOfAssertions - UINT - 16 - - - SetFinished - BOOL - 8 - - - GetAssertionMessage - T_MaxString - 2048 - - - SetSkipped - Sets the test case to skipped - - - SetAssertionMessage - Sets the assertion message. If one already exists, it's not overwritten as we keep the first assertion in the test - - AssertMessage - T_MaxString - 2048 - - - - SetAssertionType - Sets the assertion type. If one already exists, it's not overwritten as we keep the first assertion in the test - - AssertType - E_AssertionType - 8 - - - - IsFinished - BOOL - 8 - - - GetTestOrder - Gets in which order/sequence relative to the order tests should this test be executed/evaluated. - 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). - An instance of an assert is keyed/identified with the following parameters as key: - - Value of expected - - Value of actual - - Message (string) - - Test instance path (string) - - 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 - - This method is called in every assert and returns whether this particular assert has already been called. - The reason one would like to know whether this assert has already been reported or not is to not report it several - times to any logging service. Because a test-suite can consist of several tests, and certain tests can require the - test to run over several cycles it means that certain asserts could be called several times and thus we need to - keep track of which asserts we've already reported. The user of the framework should not need to care for any of - this and he/she should be able to call the asserts in any way they find suitable. - - To know what assert this is we need to check for the total combination of: - - Test message - - Test instance path - - Expected value - - Actual value - Theoretically we can have a situation where a test has three different asserts, each and one with the same test - message/test instance path/actual value/expected value but called within the same or different cycles. In order for - us to handle all situations we need a simple algorithm that works according to: - - Keep track of how many instances the combination of test message/test instance path/expected value/actual value - we have. So for example, if we have called Assert(Exp := 5, Act := 5, 'Hello there', 'PRG.InstanceTestSuite.Test') - two times in one cycle, we have two instances of that combination. This is done according to: - - Iterate all existing reports. - - If we have a new PLC-cycle, set the current detection-count to zero. - - If new report does not match in any of the above fields, create it (together with current PLC-cycle). - Also store the information that we have one instance of this combination and +1 on the detection-count. - - If new report matches in all of the above, +1 in the detection-count. If this detection-count is larger than - the stored detection-count for this combination, create a new report and add +1 to the storage of - the detection-count. - - - 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 - (if the assert fails). An instance of an array-assert is keyed/identified with the following parameters as key: - - Array-size (in bytes) of the expecteds - - Datatype of the expecteds - - Array-size (in bytes) of the actuals - - Datatype of the actuals - - Message (string) - - Test instance path (string) - - 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 - - This method is called in every assert and returns whether this particular assert has already been called. - The reason one would like to know whether this assert has already been reported or not is to not report it several - times to any logging service. Because a test-suite can consist of several tests, and certain tests can require the - test to run over several cycles it means that certain asserts could be called several times and thus we need to - keep track of which asserts we've already reported. The user of the framework should not need to care for any of - this and he/she should be able to call the asserts in any way they find suitable. - - To know what assert this is we need to check for the total combination of: - - Test message - - Test instance path - - Expecteds size (in bytes) - - Actuals size (in bytes) - - Expecteds datatype - - Actuals datatype - Theoretically we can have a situation where a test has three different asserts, each and one with the same test - message/test instance path/actuals size&datatype/expecteds size&datatype but called within the same or different - cycles. In order for us to handle all situations we need a simple algorithm that works according to: - - Keep track of how many instances the combination of test message/test instance path/expecteds size&datatype/ - actuals size&datatype we have. So for example, if we have called - Assert(Exp := [5,4,3], Act := [5,4,3], 'Hello there', 'PRG.InstanceTestSuite.Test') - two times in one cycle, we have two instances of that combination. This is done according to: - - Iterate all existing reports. - - If we have a new PLC-cycle, set the current detection-count to zero. - - If new report does not match in any of the above fields, create it (together with current PLC-cycle). - Also store the information that we have one instance of this combination and +1 on the detection-count. - - If new report matches in all of the above, +1 in the detection-count. If this detection-count is larger than - the stored detection-count for this combination, create a new report and add +1 to the storage of - the detection-count. - - - 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. - - 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. - - 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. - - 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 - 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 - - Asserts that two LINTs are equal. If they are not, an assertion error is created. - - - 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 - - Asserts that two ULINT arrays are equal. If they are not, an assertion error is created. - - - 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 - Searches for the instance path of the calling function block - T_MaxString - 2048 - - - AssertEquals_TIME - - Asserts that two TIMEs are equal. If they are not, an assertion error is created. - - - 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 - - Asserts that two TIME_OF_DAYs are equal. If they are not, an assertion error is created. - - - 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 - - Asserts that two BYTEs are equal. If they are not, an assertion error is created. - - - 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 - - Asserts that two DATE_AND_TIMEs are equal. If they are not, an assertion error is created. - - - 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 - This method returns the test at the n'th position, ranging from 1.. NumberOfTests - FB_Test - 4192 - - Position - UINT (1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) - 16 - - - - AssertArrayEquals_BOOL - - Asserts that two BOOL arrays are equal. If they are not, an assertion error is created. - - - 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 - - Asserts that two BYTE arrays are equal. If they are not, an assertion error is created. - - - 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 - - Asserts that two DATEs are equal. If they are not, an assertion error is created. - - - 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 - - Asserts that two WORDs are equal. If they are not, an assertion error is created. - - - 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 - - Asserts that two LINT arrays are equal. If they are not, an assertion error is created. - - - 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 - - Asserts that two LTIMEs are equal. If they are not, an assertion error is created. - - - 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 - - Asserts that two UINT arrays are equal. If they are not, an assertion error is created. - - - 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 - - Asserts that two LREALs are equal to within a positive delta. If they are not, an assertion error is created. - - - 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 - - Asserts that two LWORD arrays are equal. If they are not, an assertion error is created. - - - 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 - - Asserts that two objects (of any type) are equal. If they are not, an assertion error is created. - For REAL and LREAL it's recommended to use the AssertEquals_REAL or AssertEquals_LREAL respectively - as these give the possibility to specify a delta between the expected and actual value. - - - 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 - - Asserts that a condition is false. If it is not, an assertion error is created. - - - Condition - Condition to be checked - BOOL - 8 - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - - AssertEquals_SINT - - Asserts that two SINTs are equal. If they are not, an assertion error is created. - - - 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 - - Asserts that two LREAL 2D-arrays are equal to within a positive delta. If they are not, an assertion error is created. - - - 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 - - Asserts that two ULINTs are equal. If they are not, an assertion error is created. - - - 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 - - Asserts that two BOOLs are equal. If they are not, an assertion error is created. - - - 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 - - Asserts that two USINTs are equal. If they are not, an assertion error is created. - - - 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 - - Asserts that two LWORDs are equal. If they are not, an assertion error is created. - - - 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 - - Asserts that two USINT arrays are equal. If they are not, an assertion error is created. - - - 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 - - Asserts that two DWORD arrays are equal. If they are not, an assertion error is created. - - - 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 - - Asserts that two LREAL arrays are equal to within a positive delta. If they are not, an assertion error is created. - - - 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 - - Asserts that two WSTRINGs are equal. If they are not, an assertion error is created. - - - 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 - - Asserts that two REAL arrays are equal to within a positive delta. If they are not, an assertion error is created. - - - 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 - - Asserts that two DINTs are equal. If they are not, an assertion error is created. - - - 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 - - Asserts that two DINT arrays are equal. If they are not, an assertion error is created. - - - 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 - - Asserts that two STRINGs are equal. If they are not, an assertion error is created. - - - 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 - Marks the test as finished in this testsuite. - Returns TRUE if test was found, and FALSE if a test with this name was not found in this testsuite - - 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 - - Asserts that two WORD arrays are equal. If they are not, an assertion error is created. - - - 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 - - Asserts that two LREAL 3D-arrays are equal to within a positive delta. If they are not, an assertion error is created. - - - 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 - - Asserts that two INT arrays are equal. If they are not, an assertion error is created. - - - 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 - - Asserts that two DWORDs are equal. If they are not, an assertion error is created. - - - 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 - - Asserts that a condition is true. If it is not, an assertion error is created. - - - Condition - Condition to be checked - BOOL - 8 - - - Message - The identifying message for the assertion error - T_MaxString - 2048 - - - - AssertEquals_INT - - Asserts that two INTs are equal. If they are not, an assertion error is created. - - - 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 - - Asserts that two UINTs are equal. If they are not, an assertion error is created. - - - 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 - - Asserts that two REAL 2D-arrays are equal to within a positive delta. If they are not, an assertion error is created. - - - 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 - - Asserts that two REAL 3D-arrays are equal to within a positive delta. If they are not, an assertion error is created. - - - 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 - - Asserts that two UDINTs are equal. If they are not, an assertion error is created. - - - 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 - - Asserts that two REALs are equal to within a positive delta. If they are not, an assertion error is created. - - - 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 - - Asserts that two SINT arrays are equal. If they are not, an assertion error is created. - - - 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 - - Asserts that two UDINT arrays are equal. If they are not, an assertion error is created. - - - 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 - - 8320864 - - ArrayBuffer - BYTE - - 0 - 1040000 - - 8320000 - 32 - - - MemRingBuffer - FB_MemRingBuffer - 544 - 8320032 - - - TimerBetweenMessages - TON - 224 - 8320576 - - - .IN - true - - - .PT - T#10MS - - - - - MEM_RING_BUFFER_INTERNAL_USE_PER_DATA_RECORD - USINT - 8 - 8320800 - - 4 - - - - TIME_BETWEEN_MESSAGES - TIME - 32 - 8320832 - - T#10MS - - - - GetLogCount - UDINT - 32 - - - WriteLog - Writes a new data set into the ring buffer - - MsgCtrlMask - DWORD - 32 - - - MsgFmtStr - T_MaxString - 2048 - - - StrArg - T_MaxString - 2048 - - - Error - Buffer overflow - BOOL - 8 - - - ItemType - Output - - - - - AdsLogStringMessage - ST_AdsLogStringMessage - 4128 - - - - GetAndRemoveLogFromQueue - Reads and removes the oldest message - - AdsLogStringMessage - ST_AdsLogStringMessage - 4128 - - - ItemType - Output - - - - - Error - Buffer empty - BOOL - 8 - - - ItemType - Output - - - - - - - PouType - FunctionBlock - - - - - 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 - - - ExtTorque - LREAL - 64 - 896 - - - - NcStructType - 1 - - - - - - - - - - - - - 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 - - - IsDriveLimitActive - BIT - 1 - 18 - - - 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 - - - - {4C3FC5AC-D5AA-44C6-AC5A-159774BA0F6D} - - - - - 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_STATE3_FLAGS - 32 - - TouchProbe1InputState - BIT - 1 - 0 - - - TouchProbe2InputState - BIT - 1 - 1 - - - %08x - - - 0x%08x - - - 16#%08X - - - - NCTOPLC_AXIS_REF_STATE3 - 32 - - Value - DWORD - 32 - 0 - - - Flags - NCTOPLC_AXIS_REF_STATE3_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 -3 = PHASE_VELOCONST: axis is moving at constant velocity -4 = PHASE_ACCPOS: axis is accelerating -5 = PHASE_ACCNEG: axis is decelerating -Slaves only: -11 = PREPHASE: slave axis is in a motion pre-phase -12 = SYNCHRONIZING: slave axis is synchronizing -13 = SYNCHRONOUS: slave axis is moving synchronously -External Setpoint Generation: -41 = EXTSETGEN_MODE1: external setpoint generation active -42 = EXTSETGEN_MODE2: internal and external setpoint gen. active - - 32 - 64 - - - AxisModeConfirmation - UDINT - 32 - 96 - - - HomingState - UDINT - Axis Homing Status: -0: idle -1: start homing -2: searching home switch -3: stopping on home switch -4: moving off home switch -5: searching sync pulse -6: stopping after homing - - 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 - - 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 - NCTOPLC_AXIS_REF_STATE3 - 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 - - - AbsPhasingPos - LREAL - 64 - 1664 - - - TorqueOffset - LREAL - 64 - 1728 - - - ActPosWithoutPosCorrection - LREAL - 64 - 1792 - - - ActAcc - LREAL - 64 - 1856 - - - DcTimeStamp - UDINT - 32 - 1920 - - - UserData - LREAL - 64 - 1984 - - - - 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 - PLCopen axis states - The axis states are defined in the PLCopen state diagram - - 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 - Phasing internal probe states - 16 - INT - - PhasingInactive - 0 - - - PhasingActivated - 1 - - - PhasingAborted - 2 - - - - conditionalshow - - - - - _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 - It includes the axis I/O variables as well as additional information. - The reason for not using a STRUCT is that structures cannot hold - 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). - - 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 - - - - - DUT_EPS - 1344 - - nFlags - UDINT - Contains EPS flags - 32 - 0 - - 4294967295 - - - - pytmc - - pv: nFlags - io: i - field: DESC Contains EPS flags - - - - - - sFlagDesc - STRING(80) - Desciption of values nFlags contains - 648 - 32 - - - pytmc - - pv: sFlagDesc - io: i - field: DESC semicolon-delimited nFlag variable - - - - - - sMessage - STRING(80) - Name to use for log messages. - 648 - 680 - - - pytmc - - pv: sMessage - io: i - field: DESC Message from EPS to usr - - - - - - bEPS_OK - BOOL - Keep Track if nFlags are all true - 8 - 1328 - - true - - - - - E_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 - - - - qualified_only - - - strict - - - - - E_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 - - - - qualified_only - - - strict - - - - - E_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 - - - - qualified_only - - - strict - - - - - 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 - - - - ST_AxisParameterSetExposed - 704 - - fVeloMaximum - LREAL - Maximum commandable speed of the axis in EU/s. - 64 - 0 - - - pytmc - - pv: MaxVel - io: i - field: DESC Maximum commandable speed of the axis in EU/s. - - - - - - fAccelerationMax - LREAL - Maximum rate of increase in speed of the axis in EU/s^2. - 64 - 64 - - - pytmc - - pv: MaxAccel - io: i - field: DESC Maximum rate of increase in speed of the axis in EU/s^2. - - - - - - fDecelerationMax - LREAL - Maximum rate of decrease in speed of the axis in EU/s^2. - 64 - 128 - - - pytmc - - pv: MaxDecel - io: i - field: DESC Maximum rate of decrease in speed of the axis in EU/s^2. - - - - - - bCtrlEnablePosDiffControl - WORD - Enable/Disable state of Position Lag Monitor. - 16 - 192 - - - pytmc - - pv: PosLagEn - io: i - field: DESC TRUE if position lag monitor (also known as stall monitor) is enabled. - - - - - - fCtrlPosDiffMax - LREAL - Maximum magnitude of position lag in EU. - 64 - 256 - - - pytmc - - pv: PosLagVal - io: i - field: DESC Maximum magnitude of position lag in EU. - - - - - - fCtrlPosDiffMaxTime - LREAL - Maximum allowable duration outside of maximum position lag value in seconds. - 64 - 320 - - - pytmc - - pv: PosLagTime - io: i - field: DESC Maximum allowable duration outside of maximum position lag value in seconds. - - - - - - bEncEnableSoftEndMinControl - WORD - Enable/Disable state of controller static minimum limit. - 16 - 384 - - - pytmc - - pv: SLimMinEn - io: i - field: DESC TRUE if controller static minimum limit is enabled. - - - - - - bEncEnableSoftEndMaxControl - WORD - Enable/Disable state of controller static maximum limit. - 16 - 400 - - - pytmc - - pv: SLimMaxEn - io: i - field: DESC TRUE if controller static maximum limit is enabled. - - - - - - fEncSoftEndMin - LREAL - Minimum commandable position of the axis in EU. - 64 - 448 - - - pytmc - - pv: SLimMin - io: i - field: DESC Minimum commandable position of the axis in EU. - - - - - - fEncSoftEndMax - LREAL - Maximum commandable position of the axis in EU. - 64 - 512 - - - pytmc - - pv: SLimMax - io: i - field: DESC Maximum commandable position of the axis in EU. - - - - - - fEncScaleFactorInternal - LREAL - Encoder scaling numerator / denominator in EU/COUNT. - 64 - 576 - - - pytmc - - pv: EncScaling - io: i - field: DESC Encoder scaling numerator / denominator in EU/COUNT. - - - - - - fEncOffset - LREAL - Encoder offset in EU. - 64 - 640 - - - pytmc - - pv: EncOffset - io: i - field: DESC Encoder offset in EU. - - - - - - - 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 - - - - ST_MotionStage - 25920 - - Axis - AXIS_REF - Hardware - PLC Axis Reference - 9024 - 0 - - - bLimitForwardEnable - BOOL - NC Forward Limit Switch: TRUE if ok to move - 8 - 9024 - - - TcAddressType - Input - - - - - bLimitBackwardEnable - BOOL - NC Backward Limit Switch: TRUE if ok to move - 8 - 9032 - - - TcAddressType - Input - - - - - bHome - BOOL - NO Home Switch: TRUE if at home - 8 - 9040 - - - TcAddressType - Input - - - - - bBrakeRelease - BOOL - NC Brake Output: TRUE to release brake - 8 - 9048 - - - 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 - - - - 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 - - false - - - - bAllBackwardEnable - BOOL - Backward enable EPS summary - 8 - 9192 - - false - - - - bAllEnable - BOOL - Enable EPS summary encapsulating emergency stop button and any additional motion preventive hardware - 8 - 9200 - - false - - - - bGantryForwardEnable - BOOL - Forward virtual gantry limit switch - 8 - 9208 - - false - - - - bGantryBackwardEnable - BOOL - Backward virtual gantry limit switch - 8 - 9216 - - false - - - - nEncoderCount - UDINT - Encoder count summary, if linked above - 32 - 9248 - - - pytmc - - pv: PLC:nEncoderCount - io: i - field: DESC Count from encoder hardware - - - - - - stEPSForwardEnable - DUT_EPS - Forward Enable EPS struct - 1344 - 9280 - - - pytmc - - pv: PLC:stEPSF - io: i - field: DESC Forward Enable Interlocks - - - - - - stEPSBackwardEnable - DUT_EPS - Backward Enable EPS struct - 1344 - 10624 - - - pytmc - - pv: PLC:stEPSB - io: i - field: DESC Backward Enable Interlocks - - - - - - stEPSPowerEnable - DUT_EPS - Power Enable EPS struct - 1344 - 11968 - - - pytmc - - pv: PLC:stEPSP - io: i - field: DESC Power Interlocks - - - - - - sName - STRING(80) - Settings - Name to use for log messages, fast faults, etc. - 648 - 13312 - - - bPowerSelf - BOOL - If TRUE, we want to enable the motor independently of PMPS or other safety systems. - 8 - 13960 - - false - - - - nEnableMode - E_StageEnableMode - Determines when we automatically enable the motor - 16 - 13968 - - E_StageEnableMode.DURING_MOTION - - - - nBrakeMode - E_StageBrakeMode - Determines when we automatically disengage the brake - 16 - 13984 - - E_StageBrakeMode.IF_ENABLED - - - - nHomingMode - E_EpicsHomeCmd - Determines our encoder homing strategy - 16 - 14000 - - E_EpicsHomeCmd.NONE - - - - bGantryAxis - BOOL - Set true to activate gantry EPS - 8 - 14016 - - false - - - - nGantryTol - LINT - Set to gantry difference tolerance - 64 - 14080 - - 0 - - - - nEncRef - ULINT - Encoder count at which this axis is aligned with other axis - 64 - 14144 - - 0 - - - - bEnable - BOOL - Commands - Used internally to request enables - 8 - 14208 - - - bReset - BOOL - Used internally to reset errors and other state - 8 - 14216 - - - pytmc - - pv: PLC:bReset - io: io - field: ZNAM FALSE - field: ONAM TRUE - field: DESC Used internally to reset errors - - - - - - bExecute - BOOL - Used internally and by the IOC to start or stop a move - 8 - 14224 - - - bUserEnable - BOOL - Used by the IOC to disable an axis - 8 - 14232 - - 1 - - - - pytmc - - pv: PLC:bUserEnable - io: io - field: ZNAM DISABLE - field: ONAM ENABLE - field: DESC Used to disable power entirely for an axis - - - - - - bMoveCmd - BOOL - Shortcut Commands - Start a move to fPosition with fVelocity - 8 - 14240 - - - bHomeCmd - BOOL - Start the homing routine - 8 - 14248 - - - pytmc - - pv: PLC:bHomeCmd - io: io - field: DESC Start the homing routine - - - - - - nCommand - INT - Command Args - Used internally and by the IOC to pick what kind of move to do - 16 - 14256 - - - nCmdData - INT - Used internally and by the IOC to pass additional data to some commands - 16 - 14272 - - - fPosition - LREAL - Used internally and by the IOC to pick a destination for the move - 64 - 14336 - - - fVelocity - LREAL - Used internally and by the IOC to pick a move velocity - 64 - 14400 - - - fAcceleration - LREAL - Used internally and by the IOC to pick a move acceleration - 64 - 14464 - - - fDeceleration - LREAL - Used internally and by the IOC to pick a move deceleration - 64 - 14528 - - - fHomePosition - LREAL - Used internally and by the IOC to pick a home position - 64 - 14592 - - - pytmc - - pv: PLC:fHomePosition - io: io - field: DESC Used internally and by the IOC to pick home position - - - - - - nMotionAxisID - UDINT - Info - Unique ID assigned to each axis in the NC - 32 - 14656 - - 0 - - - - bEnableDone - BOOL - Returns - TRUE if done enabling - 8 - 14688 - - - bBusy - BOOL - TRUE if in the middle of a command - 8 - 14696 - - - bDone - BOOL - TRUE if we've done a command and it has finished - 8 - 14704 - - - bHomed - BOOL - TRUE if the motor has been homed, or does not need to be homed - 8 - 14712 - - - bSafetyReady - BOOL - TRUE if we have safety permission to move - 8 - 14720 - - - bError - BOOL - TRUE if we're in an error state - 8 - 14728 - - - 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 - - - - - - nErrorId - UDINT - Error code if nonzero - 32 - 14752 - - - pytmc - - pv: PLC:nErrorId - io: i - field: DESC Error code if nonzero - update: 100Hz notify - - - - - - sErrorMessage - STRING(80) - Message to identify the error state - 648 - 14784 - - - pytmc - - pv: PLC:sErrorMessage - io: i - field: DESC Message to identify the error state - update: 100Hz notify - - - - - - sCustomErrorMessage - STRING(80) - Internal hook for custom error messages - 648 - 15432 - - - stAxisParameters - ST_AxisParameterSet - MC_ReadParameterSet Output - 8192 - 16128 - - - stAxisParametersExposed - ST_AxisParameterSetExposed - NC parameters that are exposed with pytmc pragmas - 704 - 24320 - - - pytmc - - pv: PLC:AxisPar - io: i - field: DESC Axis configuration parameters in the numerical controller. - - - - - - bAxisParamsInit - BOOL - True if we've updated stAxisParameters at least once - 8 - 25024 - - - stAxisStatus - DUT_AxisStatus_v0_01 - Misc axis status information for the IOC - 768 - 25088 - - - fPosDiff - LREAL - Other status information for users of the IOC - Position lag difference - 64 - 25856 - - - pytmc - - pv: PLC:fPosDiff - io: i - field: DESC Position lag difference - - - - - - - _E_TcMC_STATES - 16 - INT - - STATE_INITIALIZATION - 100 - - - STATE_ORDER - 101 - - - STATE_RUNNING - 102 - - - STATE_WAITING - 103 - - - STATE_MOTIONCOMMANDSLOCKED - 104 - - - - conditionalshow - - - - - _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 - - _E_TcMC_STATES.STATE_INITIALIZATION - - - - 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 - 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 - - - - conditionalshow - - - - - 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; - 4 - PEHTimeControl : DWORD := 2#0000_0000_0000_0000_0000_0000_0001_0000; - 5 - BacklashComp : DWORD := 2#0000_0000_0000_0000_0000_0000_0010_0000; - 6 - DelayedErrorReaction - 7 - Modulo - 8 - SimulationAxis - bits 9 .. 11 reserved for supplement products - 12 - 32 - 64 - - 4096 - - - - AllowSlaveCommands - DWORD - bits 13 .. 15 reserved - 16 - PosDiffControl : DWORD := 2#0000_0000_0000_0001_0000_0000_0000_0000; - 17 - VeloDiffControl : DWORD := 2#0000_0000_0000_0010_0000_0000_0000_0000; - 18 - SoftEndMinControl : DWORD := 2#0000_0000_0000_0100_0000_0000_0000_0000; - 19 - SoftEndMaxControl: DWORD := 2#0000_0000_0000_1000_0000_0000_0000_0000; - 20 - ActPosCorrection : DWORD := 2#0000_0000_0001_0000_0000_0000_0000_0000; - 21 - 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 - - _E_TcMC_STATES.STATE_INITIALIZATION - - - - 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 - - MC_Direction.MC_Positive_Direction - - - - 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 - - MC_Direction.MC_Undefined_Direction - - - - SearchVelocity - LREAL - 64 - 64 - - - SyncDirection - MC_Direction - 16 - 128 - - MC_Direction.MC_Undefined_Direction - - - - SyncVelocity - LREAL - 64 - 192 - - - ReferenceMode - E_EncoderReferenceMode - 32 - 256 - - E_EncoderReferenceMode.ENCODERREFERENCEMODE_DEFAULT - - - - - 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 - - _E_TcMC_STATES.STATE_INITIALIZATION - - - - 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 - - _E_TcMC_STATES.STATE_INITIALIZATION - - - - 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 - - false - - - - 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 - - true - - - - ItemType - Output - - - - - bSofLimEnableHigh - BOOL - 8 - 168 - - true - - - - 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 - - true - - - - ItemType - Input - - - - - bSofLimEnableHigh - BOOL - 8 - 64 - - true - - - - 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 - - true - - - - ItemType - Output - - - - - bSofLimEnableHighOriginal - BOOL - 8 - 200 - - true - - - - 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 - - false - - - - bExecuteWriteNC - BOOL - 8 - 17672 - - false - - - - 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 - - true - - - - ItemType - Input - - - - - bSofLimEnableHigh - BOOL - 8 - 88 - - true - - - - 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 - - false - - - - 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 - - false - - - - bExecuteMoveVelocity - BOOL - 8 - 53624 - - false - - - - bExecutePrepare - BOOL - 8 - 53632 - - false - - - - bExecuteFinish - BOOL - 8 - 53640 - - false - - - - bExecuteHomeDirect - BOOL - 8 - 53648 - - - nCmdDataLocal - UINT - Ensure that nCmdData is not changed during sequence - 16 - 53664 - - - bSequenceReady - BOOL - 8 - 53680 - - true - - - - bRestoreNCDataNeeded - BOOL - 8 - 53688 - - false - - - - - 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 - - _E_TcMC_STATES.STATE_INITIALIZATION - - - - 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 - - _E_TcMC_STATES.STATE_INITIALIZATION - - - - 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 - 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 - - true - - - - 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 - ST_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. - - 64 - 46528 - - -99999999 - - - - BWD_START - LREAL - 64 - 46592 - - 99999999 - - - - - PouType - FunctionBlock - - - - - FB_EncSaveRestore - 2880 - - stMotionStage - ST_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 - - T#1s - - - - 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 - ST_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 - ST_MotionStage - 32 - 32 - - - ItemType - InOut - - - - - - PouType - FunctionBlock - - - - - FB_EncoderValue - 64 - - stMotionStage - ST_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 - - _E_TcMC_STATES.STATE_INITIALIZATION - - - - fbAdsRead - ADSREAD - 1248 - 256 - - - SizeofPayloadData - UDINT - 32 - 1504 - - - SizeofPayloadData64 - ULINT - 64 - 1536 - - - ActGetSizeOfParameterSet - - - - PouType - FunctionBlock - - - - - FB_MotionStageNCParams - 2112 - - stMotionStage - ST_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 - - true - - - - nLatchErrId - UDINT - 32 - 2048 - - - - PouType - FunctionBlock - - - - - FB_MotionStage - 298304 - - stMotionStage - ST_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 - - - - - E_IPCDiag_ModuleType - 16 - WORD - - AccessControl - 1 - - - NIC - 2 - - - Time_ - 3 - - - UserManagement - 4 - - - RAS - 5 - - - FTP - 6 - - - SMB - 7 - - - TwinCAT - 8 - - - Datastore - 9 - - - Software - 10 - - - CPU - 11 - - - Memory - 12 - - - Firewall - 14 - - - FileSystemObject - 16 - - - PLC - 18 - - - DisplayDevice - 19 - - - EWF - 20 - - - FBWF - 21 - - - SiliconDrive - 23 - - - OS - 24 - - - Raid - 25 - - - Fan - 27 - - - Mainboard - 28 - - - DiskManagement - 29 - - - UPS - 30 - - - PhysicalDrive - 31 - - - MassStorage - 32 - - - UWF - 33 - - - Misc - 256 - - - - qualified_only - - - - - ST_IPCDiag_Module - 48 - - eModType - E_IPCDiag_ModuleType - 16 - 0 - - - nModId - BYTE - dynamically created module id - 8 - 16 - - - nModIdx - USINT - 1= first instance of this module type (= default) - 8 - 24 - - - nModCnt - USINT - quantity of instances of this module type in the module list - 8 - 32 - - - - ST_IPCDiag_ModuleList - list of modules of the configuration area - 12496 - - aModules - ST_IPCDiag_Module - - 0 - 256 - - array idx = nModId of the module - 12288 - 0 - - - nModules - UINT - number of all instantiated modules (max.256) - 16 - 12288 - - - sNetId - T_AmsNetID - 192 - 12304 - - - - ADSREADEX - Extended ADS read command. - 1280 - - 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 - - - - - COUNT_R - UDINT - Count of bytes actually read - 32 - 512 - - - ItemType - Output - - - - - - PouType - FunctionBlock - - - hide_all_locals - - - - - FB_IPCDiag_MDPRead - reads a single MDP parameter by its address - 1888 - - bExecute - BOOL - Function block execution is triggered by a rising edge at this input. - 8 - 32 - - - ItemType - Input - - - - - nIndex - WORD - 16 - 48 - - - ItemType - Input - - - - - nFlags - BYTE - 8 - 64 - - - ItemType - Input - - - - - nSubIndex - BYTE - 8 - 72 - - - ItemType - Input - - - - - pDstBuf - PVOID - Contains the address of the buffer for the received data. - 32 - 96 - - - ItemType - Input - - - - - nDstBufSize - UDINT - Contains the max. number of bytes to be received. - 32 - 128 - - - ItemType - Input - - - - - tTimeout - TIME - States the time before the function is cancelled. - 32 - 160 - - 5000 - - - - ItemType - Input - - - - - sNetId - T_AmsNetID - keep empty '' for the local device - 192 - 192 - - - - - - ItemType - Input - - - - - bBusy - BOOL - 8 - 384 - - - ItemType - Output - - - - - bError - BOOL - 8 - 392 - - - ItemType - Output - - - - - hrErrorCode - HRESULT - 32 - 416 - - - ItemType - Output - - - - - nCount - UDINT - returns the number of bytes received - 32 - 448 - - - ItemType - Output - - - - - nErrID - UDINT - 32 - 480 - - - nIdxOffset - UDINT - 32 - 512 - - - fbAdsReadEx - ADSREADEX - 1280 - 544 - - - .PORT - 10000 - - - .IDXGRP - 62210 - - - - - RisingEdge - R_TRIG - 64 - 1824 - - - - PouType - FunctionBlock - - - - - FB_IPCDiag_GetModuleList - requests the full MDP module list - 27232 - - bExecute - BOOL - Function block execution is triggered by a rising edge at this input. - 8 - 32 - - - ItemType - Input - - - - - tTimeout - TIME - States the time before the function is cancelled. - 32 - 64 - - 5000 - - - - ItemType - Input - - - - - sNetId - T_AmsNetID - keep empty '' for the local device - 192 - 96 - - - - - - ItemType - Input - - - - - bBusy - BOOL - 8 - 288 - - - ItemType - Output - - - - - bError - BOOL - 8 - 296 - - - ItemType - Output - - - - - hrErrorCode - HRESULT - 32 - 320 - - - ItemType - Output - - - - - stModuleList - ST_IPCDiag_ModuleList - 12496 - 352 - - - ItemType - Output - - - - - cMaxNoModules - UINT - 16 - 12848 - - 256 - - - - cMaxModType - UINT - 16 - 12864 - - 512 - - - - bSubExecute - BOOL - 8 - 12880 - - - bSubBusy - BOOL - 8 - 12888 - - - aModTypeCnt - USINT - - 0 - 513 - - 4104 - 12896 - - - nListIdx - UINT - 16 - 17008 - - - eModType - E_IPCDiag_ModuleType - 16 - 17024 - - - nCntModules - UINT - 16 - 17040 - - - fbReadMDP - FB_IPCDiag_MDPRead - 1888 - 17056 - - - .nIndex - 61456 - - - .nFlags - 1 - - - .nSubIndex - 0 - - - - - aDataList - WORD - - 0 - 513 - - 8208 - 18944 - - - RisingEdge - R_TRIG - 64 - 27168 - - - - PouType - FunctionBlock - - - - - FB_IPCDiag_Register - initializes the PLC API for IPC diagnostics on a specific IPC - 43936 - - bExecute - BOOL - 8 - 32 - - - ItemType - Input - - - - - tTimeout - TIME - States the time before the function is cancelled. - 32 - 64 - - 5000 - - - - ItemType - Input - - - - - sNetId - T_AmsNetID - keep empty '' for the local device - 192 - 96 - - - - - - ItemType - Input - - - - - bValid - BOOL - read data available =(NOT bBusy AND NOT bError) - 8 - 288 - - - ItemType - Output - - - - - bBusy - BOOL - 8 - 296 - - - ItemType - Output - - - - - bError - BOOL - TRUE if an error occurred. - 8 - 304 - - - ItemType - Output - - - - - hrErrorCode - HRESULT - '< 0' = error; '> 0' = info; '0' = no error/info - 32 - 320 - - - ItemType - Output - - - - - ipErrorMessage - I_TcMessage - shows detailed information about occurred errors - 32 - 352 - - - ItemType - Output - - - - - stModuleList - ST_IPCDiag_ModuleList - 12496 - 384 - - - ItemType - Output - - - - - RisingEdge - R_TRIG - 64 - 12896 - - - conditionalshow - - - - - fbGetModList - FB_IPCDiag_GetModuleList - 27232 - 12960 - - - conditionalshow - - - - - fbErrorMessage - FB_TcMessage - 3488 - 40192 - - - conditionalshow - - - - - FallingEdgeBUSY - F_TRIG - 64 - 43680 - - - conditionalshow - - - - - stEventEntryTemp - TcEventEntry - 192 - 43744 - - - conditionalshow - - - - - - PouType - FunctionBlock - - - conditionalshow_all_locals - - - - - USINT (1..255) - 8 - USINT - - - LowerBorder - 1 - - - UpperBorder - 255 - - - - - I_IPCDiag_AccessParameter - 32 - PVOID - - GetParameter - access a read parameter (if more than one value is available all values can be copied at once, except for STRING types) - HRESULT - 32 - - pBuffer - parameter buffer with a given size of nBufferSize - PVOID - 32 - - - nBufferSize - buffer size in bytes (for one or more values) - UDINT - 32 - - - - GetParameterByIdx - access a read parameter by index specification - HRESULT - 32 - - pBuffer - parameter buffer with a given size of nBufferSize - PVOID - 32 - - - nBufferSize - buffer size in bytes (for one parameter value) - UDINT - 32 - - - nParameterIdx - selection of parameter value (1..nReadParameterValues) (e.g. equals list index in case of list parameter) - USINT (1..255) - 8 - - - - GetParameterStrings - access a read string parameter (if more than one value is available all values can be copied to an ARRAY OF STRING at once) - HRESULT - 32 - - pBuffer - parameter buffer with a given size of nBufferSize - PVOID - 32 - - - nBufferSize - buffer size in bytes (for one or more values) - UDINT - 32 - - - nStrings - number of strings to be copied (each string with size=nBufferSize/nStrings) - USINT - 8 - - - - - I_DynMem_Manager - 32 - PVOID - - nAllocatedSize - ULINT - currently allocated dynamic memory byte size - 64 - - - nBufferCount - ULINT - current number of allocated byte buffers - 64 - - - nObjectCount - ULINT - current number of allocated objects - 64 - - - __getnAllocatedSize - ULINT - 64 - - - property - - - - - __getnBufferCount - ULINT - 64 - - - property - - - - - __getnObjectCount - ULINT - 64 - - - property - - - - - Alloc - | Method allocates new dynamic memory with the given size. -| If the return value is 0 memory was unavailable. - PVOID - 32 - - nSize - requested size in bytes - UDINT - 32 - - - bReset - zero the allocated memory - BOOL - 8 - - - - Free - - p - PVOID - 32 - - - nSize - UDINT - 32 - - - - - E_IPCDiag_ParameterKey - 64 - LWORD - - Unselected - 0 - - - IPCDeviceName - 30399297753710592 - IPC device name, STRING, read/write (MDP general area) - - - IPCHardwareVersion - 7881299616923648 - IPC hardware version, STRING, constant (MDP general area) - - - IPCImageVersion - 7881299616989184 - IPC image version, STRING, constant (MDP general area) - - - IPCVendor - 6473924734353409 - IPC vendor, UDINT, constant (MDP general area) - - - IPCSerialNumber - 12384903168524288 - serial number (or BTN) of Beckhoff IPC, STRING, read-only (MDP device area) - - - CPU_Name - 12384948368441347 - CPU name, STRING, read-only - - - CPU_Frequency - 6473973857583105 - CPU Frequency, UDINT, constant - - - CPU_Usage - 10414623531532290 - Current CPU Usage (%), UINT, read-only - - - CPU_Temp - 10133148554821635 - Current CPU Temperature (°C), INT, read-only - - - Disk_NoVolumes - 10414700840943616 - number of volumes (VolumeList length), UINT, read-only - - - Disk_VolumeList_DriveLetter - 156500213753774081 - drive letter, STRING, read-only - - - Disk_VolumeList_Label - 174514612263321601 - volume label, STRING, read/write (write is not supported under WinCE) - - - Disk_VolumeList_FileSystem - 156500213753905153 - file system, STRING, read-only - - - Disk_VolumeList_DriveType - 155092838870417409 - drive type (0=Unknown,1=Fixed,2=Removable,4=CDROM), UDINT, read-only - - - Disk_VolumeList_TotelSize - 155655788823904257 - total size (bytes), ULINT, read-only - - - Disk_VolumeList_FreeSpace - 155655788823969793 - free space (bytes), ULINT, read-only - - - Disk_FreeSpaceOfVolumeC - 9234912637602496512 - free space of the volume with drive letter 'C' (bytes), ULINT, read-only - - - Disk_FreeSpaceOfVolumeD - 9234912637602496513 - free space of the volume with drive letter 'D' (bytes), ULINT, read-only - - - Display_ModuleCnt - 81909301975711744 - number of Display modules, USINT, read-only - - - Display_Name - 12384982728179715 - display device name, STRING, read-only - - - Display_IdxOfActiveMode - 27866106447331329 - index of active display mode (1..n), USINT, read/write - - - Display_NoModes - 10414657891336192 - number of available display modes (ModeList length), UINT, read-only - - - Display_ModeList_ModeDef - 156500170804166657 - display mode definition, STRING, read-only - - - Display_PrimaryDisplay - 9288757984559105 - is primary display, BOOL, read-only - - - Display_ComPort - 30399381237858306 - COM port, STRING, read/write - - - Display_Version - 10977607844823043 - version, UDINT, read-only - - - Display_Brightness - 28992006354305028 - brightness in % (20..100), UDINT, read/write - - - Display_Light - 27303156494041093 - light, BOOL, read/write - - - Fan_ModuleCnt - 81909336335450112 - number of Fan modules, USINT, read-only - - - Fan_Name - 12385017087918083 - fan adapter name, STRING, read-only - - - Fan_Speed - 10133217274298369 - fan speed (rpm), INT, read-only - - - MB_Type - 12385021382950913 - mainboard type, STRING, read-only - - - MB_SerialNumber - 12385021382950914 - mainboard serial number, STRING, read-only - - - MB_ProductionDate - 12385021382950915 - mainboard production date, STRING, read-only - - - MB_BootCnt - 10977646499397636 - boot count, UDINT, read-only - - - MB_OperationTime - 10977646499397637 - opertaion time (minutes), UDINT, read-only - - - MB_MinTemperature - 10696171522686982 - min.mainboard temperature (°C), DINT, read-only - - - MB_MaxTemperature - 10696171522686983 - max.mainboard temperature (°C), DINT, read-only - - - MB_MinInputVoltage - 10696171522686984 - min.mainboard input voltage (mV), DINT, read-only - - - MB_MaxInputVoltage - 10696171522686985 - max.mainboard input voltage (mV), DINT, read-only - - - MB_Temperature - 10133221569265674 - mainboard temperature (°C), INT, read-only - - - MB_Revision - 9851746592620545 - mainboard revision, USINT, read-only - - - MB_BiosVersionMajor - 9851746592620546 - bios major version, USINT, read-only - - - MB_BiosVersionMinor - 9851746592620547 - bios minor version, USINT, read-only - - - MB_BiosVersion - 12385021383016452 - bios version, STRING, read-only - - - MB_NoVoltageMeasurements - 10414696546107392 - number of voltage measurements (VoltageList length), UINT, read-only - - - MB_VoltageList_Name - 154248409645252609 - name of voltage measurement, STRING, read-only - - - MB_VoltageList_Location - 154248409645318145 - location of voltage measurement (E_IPCDiag_MBVoltageLocation), INT, read-only - - - MB_VoltageList_Value - 154248409645383681 - value of voltage measurement (mV), INT, read-only - - - MB_VoltageList_NominalValue - 154248409645449217 - nominal value of voltage measurement (mV), INT, read-only - - - Memory_ProgramMemoryAllocated - 11540527733342214 - program memory (RAM) allocated (bytes), ULINT, read-only - - - Memory_ProgramMemoryAvailable - 11540527733342215 - program memory (RAM) available (bytes), ULINT, read-only - - - Misc_StartupNumLockState - 27304174401159169 - Numlock state at system startup, BOOL, read/write - - - Misc_AutoLogonUser - 12386000635494405 - auto logon user at system startup, STRING, read-only - - - NIC_ModuleCnt - 81909228961267712 - number of NIC modules, USINT, read-only - - - NIC_Name - 12384909713735683 - NIC adapter name, STRING, read-only - - - NIC_MACAddress - 7881310086430721 - MAC address, STRING, constant - - - NIC_IPv4Address - 30399308223283202 - IPv4 Address, STRING, read/write - - - NIC_IPv4SubnetMask - 30399308223283203 - IPv4 Subnet Mask, STRING, read/write - - - NIC_DHCP - 27303083479465988 - DHCP, BOOL, read/write - - - NIC_IPv4DefGateway - 30399308223283205 - IPv4 Default Gateway, STRING, read/write - - - NIC_IPv4DNSServers - 30399308223283206 - IPv4 DNS servers (comma separated), STRING, read/write - - - NIC_IPv4DNS - 30399308223283206 - IPv4 DNS servers (comma separated), STRING, read/write - - - NIC_VirtualDeviceName - 30399308223283207 - virtual device name, STRING, read/write - - - NIC_IPv4DNSServersActive - 12384909713801224 - IPv4 DNS active servers (only under TC/BSD and TC/RTOS), STRING, read-only - - - OS_Name - 12385004203016195 - name of OS (operating system), STRING, read-only - - - OS_VersionMajor - 28992027829010433 - OS major version, UDINT, read-only - - - OS_VersionMinor - 28992027829010434 - OS minor version, UDINT, read-only - - - OS_VersionBuild - 28992027829010435 - OS build version, UDINT, read-only - - - OS_CSDVersion - 30399402712563716 - OS CSD version, STRING, read-only - - - PhyDrv_ModuleCnt - 81909353515319296 - number of physical drive modules, USINT, read-only - - - PhyDrv_SerialNumber - 12385034267787267 - serial number of physical drive, STRING, read-only - - - PhyDrv_Index - 10977659384299521 - index, UDINT, read-only - - - PhyDrv_Caption - 12385034267852802 - caption, STRING, read-only - - - PhyDrv_LogicalPartitions - 12385034267852803 - logical partitions (comma separated list), STRING, read-only - - - PhyDrv_PartitionCnt - 10977659384299524 - partition count, UDINT, read-only - - - PhyDrv_TotalCylinders - 11540609337720837 - total cylinders, ULINT, read-only - - - PhyDrv_TotalHeads - 10977659384299526 - total heads, UDINT, read-only - - - PhyDrv_TotalSectors - 11540609337720839 - total sectors, ULINT, read-only - - - PhyDrv_TotalTracks - 11540609337720840 - total tracks, ULINT, read-only - - - PhyDrv_NoSMARTAttributes - 10414709430943744 - number of SMART attributes (SMARTAttrList length), UINT, read-only - - - PhyDrv_SMARTAttrList_ID - 153966947553378305 - attribute ID, USINT, read-only - - - PhyDrv_SMARTAttrList_StatusFlag - 154529897506865153 - status flag, UINT, read-only - - - PhyDrv_SMARTAttrList_CurrentValue - 153966947553509377 - current value, USINT, read-only - - - PhyDrv_SMARTAttrList_WorstValue - 153966947553574913 - worst value, USINT, read-only - - - PhyDrv_SMARTAttrList_RawData - 156500222344036353 - raw data (6 bytes), STRING, read-only - - - PhyDrv_SMARTAttrList_Threshold - 153966947553705985 - threshold, USINT, read-only - - - MassStg_NoDrives - 10414713725845504 - number of mass storage drives (DriveList length), UINT, read-only - - - MassStg_DriveList_SerialNumber - 156500226638675969 - serial number of mass storage drive, STRING, read-only - - - MassStg_DriveList_SataPort - 153966951848345601 - SATA-Port of mass storage drive, USINT, read-only - - - MassStg_DriveList_PartitionLetter - 156500226638807041 - partition letter(s) of mass storage drive, STRING, read-only - - - MassStg_DriveList_DriveName - 156500226638872577 - drive name, STRING, read-only - - - MassStg_DriveList_DriveType - 153966951848542209 - drive type (0=Unknown,1=HD,2=SSD,3=CFast,4=CF), USINT, read-only - - - MassStg_DriveList_EraseCntAverage - 155655801708871681 - erase count average (flashdrive SMART), ULINT, read-only - - - MassStg_DriveList_EraseCntSpec - 155655801708937217 - erase count specified (flashdrive SMART), ULINT, read-only - - - MassStg_DriveList_EraseCyclesLeft - 154248426825449473 - erase cycles left in percent (flashdrive SMART), INT, read-only - - - MassStg_DriveList_SpareBlocksRemain - 155655801709068289 - spare blocks remaining (flashdrive SMART), ULINT, read-only - - - MassStg_DriveList_SpareBlocksInit - 155655801709133825 - spare blocks initial (flashdrive SMART), ULINT, read-only - - - MassStg_DriveList_SpareBlocksLeft - 154248426825646081 - spare blocks left in percent (flashdrive SMART), INT, read-only - - - MassStg_DriveList_ReallocatedSectors - 155655801709264897 - reallocated sectors (harddisk SMART), ULINT, read-only - - - MassStg_DriveList_SpinRetries - 155655801709330433 - spin retries (harddisk SMART), ULINT, read-only - - - MassStg_DriveList_PendingSectors - 155655801709395969 - pending sectors (harddisk SMART), ULINT, read-only - - - MassStg_DriveList_UltraDmaCrcErrors - 155655801709461505 - Ultra DMA CRC Errors (harddisk SMART), ULINT, read-only - - - Software_MDPVersion - 9235756980928249856 - version of the MDP.exe service, STRING, read-only - - - Software_NoSoftwares - 10414619236564992 - number of software components (SWList length), UINT, read-only - - - Software_SWList_Name - 156500132149395457 - name of software, STRING, read-only - - - Software_SWList_Company - 156500132149460993 - company of software, STRING, read-only - - - Software_SWList_Date - 156500132149526529 - date of software, STRING, read-only - - - Software_SWList_Version - 156500132149592065 - version of software, STRING, read-only - - - TC_Version - 9235756972338315264 - TwinCAT version, STRING, read-only - - - TC_VersionMajor - 10414610646630401 - TwinCAT major version, UINT, read-only - - - TC_VersionMinor - 10414610646630402 - TwinCAT minor version, UINT, read-only - - - TC_VersionBuild - 10414610646630403 - TwinCAT build version, UINT, read-only - - - TC_VersionRevision - 10414610646630412 - TwinCAT revision version, UINT, read-only - - - TC_AmsNetID - 30399333993086980 - Ams Net ID, STRING, read/write (reboot required) - - - TC_Status - 10414610646630406 - TwinCAT status, UINT, read-only - - - TC_RunAsDev - 28429009156112391 - run as device (only under WinCE), UINT, read/write - - - TC_ShowTargetVisu - 28429009156112392 - show target visu (only under WinCE), UINT, read/write - - - TC_LogFileSize - 28991959109533705 - log file size (only under WinCE), UDINT, read/write - - - TC_LogFilePath - 30399333993086986 - log file path (only under WinCE), STRING, read/write - - - TC_SystemID - 12384935483605003 - TwinCAT system ID, STRING, read-only - - - TC_NoRoutes - 10414610646695936 - number of TwinCAT ads routes (RouteList length), UINT, read-only - - - TC_RouteList_Name - 156500123559526401 - name of TC ads route, STRING, read-only - - - TC_RouteList_Address - 156500123559591937 - address of TC ads route, STRING, read-only - - - TC_RouteList_AmsAddress - 156500123559657473 - address of TC ads route, STRING, read-only - - - TC_RouteList_Flags - 155092748676169729 - flags of TC ads route, UDINT, read-only - - - TC_RouteList_Timeout - 155092748676235265 - timeout of TC ads route, UDINT, read-only - - - TC_RouteList_Transport - 154529798722879489 - transport type of TC ads route (Tc2_Utilities.E_RouteTransportType), UINT, read-only - - - TC_Logfile - 12384935484063744 - TwinCAT Logfile, STRING, read-only - - - TC_RouterMemoryMaximum - 11540510553997313 - maximum router memory size (bytes), ULINT, read-only - - - TC_RouterMemoryAvailable - 11540510553997314 - available router memory size (bytes), ULINT, read-only - - - TC_RouterRegisteredPorts - 10977560600576003 - registered ports, UDINT, read-only - - - TC_RouterRegisteredDrivers - 10977560600576004 - registered drivers, UDINT, read-only - - - TC_RouterRegisteredTransports - 10977560600576005 - registered transports, UDINT, read-only - - - TC_RouterDebugWindow - 9288710740312070 - debug window (TRUE if ADS logger is active), BOOL, read-only - - - TC_RouterMailboxSize - 10977560600576007 - router mailbox size, UDINT, read-only - - - TC_RouterMailboxUsedEntries - 10977560600576008 - used entries in router mailbox, UDINT, read-only - - - TC_HeapMemoryMaximum - 11540510554062849 - maximum memory for TcOS (bytes) (only under TC/RTOS), ULINT, read-only - - - TC_HeapMemoryAvailable - 11540510554062850 - available memory in TcOS (bytes) (only under TC/RTOS), ULINT, read-only - - - Time_SNTPServer - 30399312518250497 - SNTP server name or IP (empty string if no sync), STRING, read/write - - - Time_SNTPRefresh - 28991937634697218 - SNTP refresh in seconds, UDINT, read/write - - - Time_SecondsSince1970UTC - 28991937634697219 - seconds since midnight January 1. 1970 as UTC, UDINT, read/write - - - Time_DateAndTime - 30399312518250500 - date and time (ISO 8601) as local time, STRING, read/write - - - Time_OffsetLocalTimeToUTC - 28710462657986566 - offset in seconds of local time to UTC, DINT, read/write - - - Time_SecondsSince1970 - 28991937634697223 - seconds since midnight January 1. 1970 as local time, UDINT, read/write - - - UPS_Name - 12385029972819971 - UPS name, STRING, read-only - - - UPS_Model - 12385029972885505 - UPS model, STRING, read-only - - - UPS_Vendor - 12385029972885506 - vendor name, STRING, read-only - - - UPS_Version - 9851755182489603 - version, USINT, read-only - - - UPS_Revision - 9851755182489604 - revision, USINT, read-only - - - UPS_Build - 10414705135910917 - build, UINT, read-only - - - UPS_SerialNumber - 12385029972885510 - serial number, STRING, read-only - - - UPS_PowerStatus - 9851755182489607 - power status (0=Unknown,1=Online,2=OnBatteries), USINT, read-only - - - UPS_ComStatus - 9851755182489608 - communication status (0=Unknown,1=Ok,2=Error), USINT, read-only - - - UPS_BatteryStatus - 9851755182489609 - battery status (0=Unknown,1=Ok,2=ChangeBattery), USINT, read-only - - - UPS_BatteryCapacity - 9851755182489610 - battery capacity (%), USINT, read-only - - - UPS_BatteryRuntime - 10977655089332235 - battery runtime (s), UDINT, read-only - - - UPS_PersPowerFailCnt - 9288805229068300 - persistent power fail count, BOOL, read-only - - - UPS_PowerFailCnt - 10414705135910925 - power fail counter, UINT, read-only - - - UPS_FanError - 9288805229068302 - fan error, BOOL, read-only - - - UPS_NoBattery - 9288805229068303 - no battery, BOOL, read-only - - - UPS_TestCapacity - 18296004483809296 - test capacity, BOOL, write-only - - - UPS_BatteryReplaceDate - 12385029972885521 - battery replace date, STRING, read-only - - - UPS_IntervalServiceStatus - 9288805229068306 - interval service status, BOOL, read-only - - - UWF_CurrentState - 9288818113970177 - current protection state, BOOL, read-only - - - UWF_CurrentOverlayMode - 10977667974234114 - overlay mode of current state (0=RAM,1=Disk), UDINT, read-only - - - UWF_CurrentOverlaySize - 10977667974234115 - overlay size of current state (MB), UDINT, read-only - - - UWF_NextState - 27303216623517697 - next protection state, BOOL, read/write - - - UWF_NextOverlayMode - 28992066483781634 - overlay mode of next state (0=RAM,1=Disk), UDINT, read/write - - - UWF_NextOverlaySize - 28992066483781635 - overlay size of next state (MB), UDINT, read/write - - - UWF_NoVolumes - 10414718020943872 - number of volumes (VolumeList length), UINT, read-only - - - UWF_VolumeList_Name - 156500230933774337 - volume name, STRING, read-only - - - UWF_VolumeList_CurrentState - 153404006190022657 - current protection state of volume, BOOL, read-only - - - UWF_VolumeList_NextState - 153404006190088193 - next protection state of volume, BOOL, read-only - - - - qualified_only - - - - - USINT (USINT#1..255) - 8 - USINT - - - LowerBorder - 1 - - - UpperBorder - 255 - - - - - E_IPCDiag_Datatype - parameter datatype 1..15 - 8 - BYTE - - eBOOL - 1 - size: 1 byte - - - eSINT - 2 - - - eUSINT - 3 - - - eINT - 4 - size: 2 bytes - - - eUINT - 5 - - - eDINT - 6 - size: 4 bytes - - - eUDINT - 7 - - - eREAL - 10 - - - eULINT - 9 - size: 8 bytes - eLINT := 8, - - - eSTRING - 12 - eLREAL := 16#B, - default size: 256 bytes - - - - qualified_only - - - - - FB_IPCDiag_ParameterKey - 896 - - eParamKey - E_IPCDiag_ParameterKey - 64 - 64 - - - _eDatatype - E_IPCDiag_Datatype - 8 - 128 - - - cKeyMask_Access - LWORD - 64 - 192 - - 67553994410557440 - - - - displaymode - hex - - - - - cKeyMask_Datatype - LWORD - 64 - 256 - - 4222124650659840 - - - - displaymode - hex - - - - - cKeyMask_ModType - LWORD - 64 - 320 - - 281470681743360 - - - - displaymode - hex - - - - - cKeyMask_Area - LWORD - 64 - 384 - - 4026531840 - - - - displaymode - hex - - - - - cKeyMask_ModIdx - LWORD - 64 - 448 - - 267386880 - - - - displaymode - hex - - - - - cKeyMask_TableId - LWORD - 64 - 512 - - 983040 - - - - displaymode - hex - - - - - cKeyMask_Flags - LWORD - 64 - 576 - - 65280 - - - - displaymode - hex - - - - - cKeyMask_SubIdx - LWORD - 64 - 640 - - 255 - - - - displaymode - hex - - - - - cKeyMask_IsList - LWORD - 64 - 704 - - 144115188075855872 - - - - displaymode - hex - - - - - cKeyMask_IsModuleCnt - LWORD - 64 - 768 - - 72057594037927936 - - - - displaymode - hex - - - - - cKeyMask_IsConstant - LWORD - 64 - 832 - - 4503599627370496 - - - - displaymode - hex - - - - - IsModuleCnt - BOOL - 8 - - - GetMDPArea - BYTE - 8 - - - GetMDPTableID - returns the MDP table id (part of MDP address) - BYTE - 8 - - - GetMDPSubIndex - BYTE - 8 - - - __geteDatatype - E_IPCDiag_Datatype - 8 - - eDatatype - E_IPCDiag_Datatype - 8 - - - - property - - - - - GetMDPFlags - BYTE - 8 - - - IsListParam - BOOL - 8 - - - IsConstantParam - BOOL - 8 - - nAccess - BYTE - 8 - - - - GetMDPModuleType - E_IPCDiag_ModuleType - 16 - - - SetKey - - eParamKey - E_IPCDiag_ParameterKey - 64 - - - - - PouType - FunctionBlock - - - - - FB_DynMem_Buffer - provides a dynamically created buffer for individual data. - 128 - - _pBuffer - PVOID - 32 - 32 - - 0 - - - - conditionalshow - - - - - _nBufferSize - UDINT - 32 - 64 - - 0 - - - - conditionalshow - - - - - ipMemMan - I_DynMem_Manager - 32 - 96 - - - nInstanceCnt - UDINT - 32 - - - bAvailable - BOOL - is TRUE if a buffer is available. - 8 - 80075048 - - - nBufferSize - UDINT - current buffer size in bytes. - 32 - 80075000 - - - __getnBufferSize - UDINT - 32 - - nBufferSize - UDINT - 32 - - - - property - - - - - Resize - | This method performs a resize of the buffer memory. -| Return value: TRUE => Success, FALSE => Failure - BOOL - 8 - - nSize - new buffer size [in bytes] - UDINT - 32 - - - bPreserve - TRUE => preserve old content, FALSE=> don't preserve old content - BOOL - 8 - - - bReset - zero the allocated memory (before preserving) - BOOL - 8 - - - pNew - PVOID - 32 - - - cbNew - UDINT - 32 - - - - CreateBuffer - | creates a buffer by allocating dynamic memory. -| Returns TRUE if succeeded. - BOOL - 8 - - nSize - buffer size [in bytes] - UDINT - 32 - - - bReset - zero the allocated memory - BOOL - 8 - - - - Clear - | This method clears the buffer memory. -| Return value: TRUE => Success, FALSE => Failure - BOOL - 8 - - - PassBufferOwnership - returns TRUE if succeeded - returns FALSE if no buffers was available. - returns FALSE if one of the inputs is invalid. - BOOL - 8 - - pBuffer - PVOID - 32 - - - nBufferSize - UDINT - 32 - - - - RetrieveBufferOwnership - returns TRUE if succeeded - BOOL - 8 - - pBuffer - PVOID - 32 - - - nBufferSize - UDINT - 32 - - - - __getpBuffer - PVOID - 32 - - pBuffer - PVOID - 32 - - - - property - - - - - __getbAvailable - BOOL - 8 - - bAvailable - BOOL - 8 - - - - property - - - - - DeleteBuffer - | deletes the created buffer and frees the allocated memory. -| Returns TRUE if succeeded. - BOOL - 8 - - - - PouType - FunctionBlock - - - tc_no_symbol - - - no_explicit_call - do not call this POU directly - - - - - FB_IPCDiag_MDPReadTable - reads a full table of MDP parameters - 1888 - FB_IPCDiag_MDPRead - - - PouType - FunctionBlock - - - - - ST_IPCDiag_MDPAddress - size of structure instance: 4 bytes - 32 - - nIndex - WORD - 16 - 0 - - - nFlags - BYTE - 8 - 16 - - - nSubIndex - BYTE - 8 - 24 - - - - FB_IPCDiag_MDPReadSumCmd - reads multiple MDP addresses with parameters of the same datatype - 2464 - - bExecute - BOOL - Function block execution is triggered by a rising edge at this input. - 8 - 32 - - - ItemType - Input - - - - - pMDPAddress - ST_IPCDiag_MDPAddress - - 0 - 1001 - - 32 - 64 - - - ItemType - Input - - - - - cbMDPAddress - UDINT - 32 - 96 - - - ItemType - Input - - - - - pDstBuf - PVOID - Contains the address of the buffer for the received data. - 32 - 128 - - - ItemType - Input - - - - - nDstBufSize - UDINT - Contains the max. number of bytes to be received. - 32 - 160 - - - ItemType - Input - - - - - tTimeout - TIME - States the time before the function is cancelled. - 32 - 192 - - 5000 - - - - ItemType - Input - - - - - sNetId - T_AmsNetID - keep empty '' for the local device - 192 - 224 - - - - - - ItemType - Input - - - - - bBusy - BOOL - 8 - 416 - - - ItemType - Output - - - - - bError - BOOL - 8 - 424 - - - ItemType - Output - - - - - hrErrorCode - HRESULT - 32 - 448 - - - ItemType - Output - - - - - nCount - UDINT - returns the number of bytes received - 32 - 480 - - - ItemType - Output - - - - - nDataOffset - UDINT - offset describes beginning of data in read buffer - 32 - 512 - - - ItemType - Output - - - - - fbCmdBuffer - FB_DynMem_Buffer - 128 - 544 - - - old_input_assignments - - - - - nErrID - UDINT - 32 - 672 - - - nCmds - UDINT - 32 - 704 - - - nIdxOffset - UDINT - 32 - 736 - - - displaymode - hex - - - - - nDataLen - UDINT - 32 - 768 - - - nDataLenSum - UDINT - 32 - 800 - - - fbAdsRdWrEx - ADSRDWRTEX - 1440 - 832 - - - .PORT - 10000 - - - .IDXGRP - 62212 - - - - - RisingEdge - R_TRIG - 64 - 2272 - - - i - UDINT - 32 - 2336 - - - cSizeOfMDPAddress - USINT - 8 - 2368 - - 4 - - - - cIdxGrp - UDINT - 32 - 2400 - - 0 - - - - cCmdSize - UDINT - 32 - 2432 - - 12 - - - - - PouType - FunctionBlock - - - - - FB_IPCDiag_ReadParameterBase - | reads an IPC diagnostic parameter. -| If the parameter exists in more than one module (configuration area) all values can be read at once. -| If the parameter is a list parameter the full list will be read. (but only of one specified module) - 12352 - I_IPCDiag_AccessParameter - - bExecute - BOOL - 8 - 64 - - - ItemType - Input - - - - - eParameterKey - E_IPCDiag_ParameterKey - 64 - 128 - - - ItemType - Input - - - - - nModuleIdx - USINT - optional module selection for parameters of configuration area: 0=all corresponding modules are read (or rather the first module is read in case of list parameters) - 8 - 192 - - 0 - - - - ItemType - Input - - - - - tTimeout - TIME - ADS communication timeout - 32 - 224 - - 5000 - - - - ItemType - Input - - - - - sNetId - T_AmsNetID - keep empty '' for the local device - 192 - 256 - - - - - - ItemType - Input - - - - - xReserved - DWORD - for future extension, do not use - 32 - 448 - - - ItemType - Input - - - - - fbRegister - FB_IPCDiag_Register - read-only - 32 - 480 - - - ItemType - InOut - - - - - bValid - BOOL - read data available =(NOT bBusy AND NOT bError) - 8 - 512 - - - ItemType - Output - - - - - bBusy - BOOL - 8 - 520 - - - ItemType - Output - - - - - bError - BOOL - TRUE if an error occurred. - 8 - 528 - - - ItemType - Output - - - - - hrErrorCode - HRESULT - '< 0' = error; '> 0' = info; '0' = no error/info - 32 - 544 - - - ItemType - Output - - - - - ipErrorMessage - I_TcMessage - shows detailed information about occurred errors - 32 - 576 - - - ItemType - Output - - - - - nReadParameterValues - USINT - number of read parameter values - 8 - 608 - - - ItemType - Output - - - - - nModuleCount - USINT - number of module instances (configuration area) with the demanded parameter - 8 - 616 - - - ItemType - Output - - - - - fbKey - FB_IPCDiag_ParameterKey - 896 - 640 - - - conditionalshow - - - - - nParamDatatypeSize - UINT - 16 - 1536 - - - conditionalshow - - - - - nModuleIdxSelected - USINT - 8 - 1552 - - 0 - - - - conditionalshow - - - - - nListLen - USINT - 8 - 1560 - - - conditionalshow - - - - - fbResultBuffer - FB_DynMem_Buffer - 128 - 1568 - - - old_input_assignments - - - conditionalshow - - - - - nValidDataOffset - UDINT - 32 - 1696 - - - conditionalshow - - - - - RisingEdge - R_TRIG - 64 - 1728 - - - conditionalshow - - - - - nState - USINT - 8 - 1792 - - - conditionalshow - - - - - bSubExecute - BOOL - 8 - 1800 - - - conditionalshow - - - - - bSubBusy - BOOL - 8 - 1808 - - - conditionalshow - - - - - fbReadMDP - FB_IPCDiag_MDPRead - 1888 - 1824 - - - conditionalshow - - - - - nIndex - WORD - 16 - 3712 - - - displaymode - hex - - - conditionalshow - - - - - nFlags - BYTE - 8 - 3728 - - - conditionalshow - - - - - nSubIndex - BYTE - 8 - 3736 - - - conditionalshow - - - - - nArea - BYTE - 8 - 3744 - - - conditionalshow - - - - - nModuleId - BYTE - 8 - 3752 - - - conditionalshow - - - - - eModuleType - E_IPCDiag_ModuleType - 16 - 3760 - - - conditionalshow - - - - - nTempDW - DWORD - 32 - 3776 - - - displaymode - hex - - - conditionalshow - - - - - nTempLW - LWORD - 64 - 3840 - - - displaymode - hex - - - conditionalshow - - - - - fbReadTable - FB_IPCDiag_MDPReadTable - 1888 - 3904 - - - conditionalshow - - - - - fbBufferAddresses - FB_DynMem_Buffer - 128 - 5792 - - - old_input_assignments - - - conditionalshow - - - - - nAddresses - USINT - 8 - 5920 - - - conditionalshow - - - - - fbReadSum - FB_IPCDiag_MDPReadSumCmd - 2464 - 5952 - - - conditionalshow - - - - - stMDPAddress - ST_IPCDiag_MDPAddress - 32 - 8416 - - - conditionalshow - - - - - i - USINT - 8 - 8448 - - - conditionalshow - - - - - nTemp - UDINT - 32 - 8480 - - - conditionalshow - - - - - fbErrorMessage - FB_TcMessage - 3488 - 8512 - - - conditionalshow - - - - - FallingEdgeBUSY - F_TRIG - 64 - 12000 - - - conditionalshow - - - - - stEventEntryTemp - TcEventEntry - 192 - 12064 - - - conditionalshow - - - - - cSizeOfMDPAddress - USINT - 8 - 12256 - - 4 - - - - conditionalshow - - - - - cStateReadSingle - USINT - 8 - 12264 - - 0 - - - - conditionalshow - - - - - cStateReadTable - USINT - 8 - 12272 - - 1 - - - - conditionalshow - - - - - cStateReadSum - USINT - 8 - 12280 - - 2 - - - - conditionalshow - - - - - cStateBusy - USINT - 8 - 12288 - - 11 - - - - conditionalshow - - - - - cStateExit - USINT - 8 - 12296 - - 100 - - - - conditionalshow - - - - - ipMemMan - I_DynMem_Manager - dynamic memory manager used in the Tc3_IPCDiag library - 32 - 80075124 - - - GetParameterByIdx - access a read parameter by index specification - HRESULT - 32 - - pBuffer - parameter buffer with a given size of nBufferSize - PVOID - 32 - - - nBufferSize - buffer size in bytes (for one parameter value) - UDINT - 32 - - - nParameterIdx - selection of parameter value (1..nReadParameterValues) (e.g. equals list index in case of list parameter) - USINT (1..255) - 8 - - - nErrTmp - UDINT - 32 - - - - CopyStringFromBuffer - if multiple strings are available (by Sum Read) one string can be copied with this method - - pDstBuf - Contains the address of the buffer for the received data. - BYTE - 32 - - - nDstBufSize - Contains the max. number of bytes to be received. - UDINT - 32 - - - nParaIdx - selection of module idx or list idx (in case of list parameter) - USINT (1..255) - 8 - - - nParaSize - UDINT - 32 - - - ItemType - Output - - - - - nLenSum - UDINT - 32 - - - nLenTemp - UDINT - 32 - - - k - UDINT - 32 - - - - __getipMemMan - I_DynMem_Manager - 32 - - ipMemMan - I_DynMem_Manager - 32 - - - - property - - - - - GetParameter - access a read parameter (if more than one value is available all values can be copied at once, except for STRING types) - HRESULT - 32 - - pBuffer - parameter buffer with a given size of nBufferSize - PVOID - 32 - - - nBufferSize - buffer size in bytes (for one or more values) - UDINT - 32 - - - - Clear - HRESULT - 32 - - - GetParameterStrings - | access a read string parameter with multiple values. -| If more than one value is available all values can be copied to an ARRAY OF STRING at once. - HRESULT - 32 - - pBuffer - parameter buffer with a given size of nBufferSize - PVOID - 32 - - - nBufferSize - buffer size in bytes (for one or more values) - UDINT - 32 - - - nStrings - number of strings to be copied (each string with buffer size=nBufferSize/nStrings) - USINT - 8 - - - nParameterIdx - USINT (USINT#1..255) - 8 - - - nStringSize - UDINT - 32 - - - - - PouType - FunctionBlock - - - conditionalshow_all_locals - - - - - FB_IPCDiag_ReadParameter - | reads an IPC diagnostic parameter. -| If the parameter exists in more than one module (configuration area) all values can be read at once. -| If the parameter is a list parameter the full list will be read. (but only of one specified module) - 18240 - I_IPCDiag_AccessParameter - - bExecute - BOOL - 8 - 64 - - - ItemType - Input - - - - - eParameterKey - E_IPCDiag_ParameterKey - 64 - 128 - - - ItemType - Input - - - - - nModuleIdx - USINT - optional module selection for parameters of configuration area: 0=all corresponding modules are read (or rather the first module is read in case of list parameters) - 8 - 192 - - 0 - - - - ItemType - Input - - - - - tTimeout - TIME - ADS communication timeout - 32 - 224 - - 5000 - - - - ItemType - Input - - - - - sNetId - T_AmsNetID - keep empty '' for the local device - 192 - 256 - - - - - - ItemType - Input - - - - - xReserved - DWORD - for future extension, do not use - 32 - 448 - - - ItemType - Input - - - - - fbRegister - FB_IPCDiag_Register - read-only - 32 - 480 - - - ItemType - InOut - - - - - bValid - BOOL - read data available =(NOT bBusy AND NOT bError) - 8 - 512 - - - ItemType - Output - - - - - bBusy - BOOL - 8 - 520 - - - ItemType - Output - - - - - bError - BOOL - TRUE if an error occurred. - 8 - 528 - - - ItemType - Output - - - - - hrErrorCode - HRESULT - '< 0' = error; '> 0' = info; '0' = no error/info - 32 - 544 - - - ItemType - Output - - - - - ipErrorMessage - I_TcMessage - shows detailed information about occurred errors - 32 - 576 - - - ItemType - Output - - - - - nReadParameterValues - USINT - number of read parameter values - 8 - 608 - - - ItemType - Output - - - - - nModuleCount - USINT - number of module instances (configuration area) with the demanded parameter - 8 - 616 - - - ItemType - Output - - - - - RisingEdge - R_TRIG - 64 - 640 - - - conditionalshow - - - - - eParamSelected - E_IPCDiag_ParameterKey - 64 - 704 - - - conditionalshow - - - - - fbReadParam - FB_IPCDiag_ReadParameterBase - 12352 - 768 - - - conditionalshow - - - - - fbErrorMessage - FB_TcMessage - 3488 - 13120 - - - conditionalshow - - - - - FallingEdgeBUSY - F_TRIG - 64 - 16608 - - - conditionalshow - - - - - stEventEntryTemp - TcEventEntry - 192 - 16672 - - - conditionalshow - - - - - sMdpTcVersion - STRING(31) - 256 - 16864 - - - conditionalshow - - - - - nFreeSpaceOfVol - ULINT - 64 - 17152 - - - conditionalshow - - - - - __FB_IPCDIAG_READPARAMETER__READFREESPACEOFVOL__NSTATE - USINT - 8 - 17216 - - - conditionalshow - - - - - __FB_IPCDIAG_READPARAMETER__READFREESPACEOFVOL__NNOVOLUMES - USINT - 8 - 17224 - - - conditionalshow - - - - - __FB_IPCDIAG_READPARAMETER__READFREESPACEOFVOL__SDRIVELETTER - STRING(7) - 64 - 17232 - - - conditionalshow - - - - - __FB_IPCDIAG_READPARAMETER__READFREESPACEOFVOL__NFOUNDIDX - USINT - 8 - 17296 - - - conditionalshow - - - - - __FB_IPCDIAG_READPARAMETER__READFREESPACEOFVOL__HR - HRESULT - 32 - 17312 - - - conditionalshow - - - - - __FB_IPCDIAG_READPARAMETER__READFREESPACEOFVOL__I - USINT - 8 - 17344 - - - conditionalshow - - - - - __FB_IPCDIAG_READPARAMETER__READMDPVERSION__NSTATE - USINT - 8 - 17352 - - - conditionalshow - - - - - __FB_IPCDIAG_READPARAMETER__READMDPVERSION__NNOSOFTWARES - USINT - 8 - 17360 - - - conditionalshow - - - - - __FB_IPCDIAG_READPARAMETER__READMDPVERSION__SSWNAME - STRING(79) - 640 - 17368 - - - conditionalshow - - - - - __FB_IPCDIAG_READPARAMETER__READMDPVERSION__NFOUNDIDX - USINT - 8 - 18008 - - - conditionalshow - - - - - __FB_IPCDIAG_READPARAMETER__READMDPVERSION__HR - HRESULT - 32 - 18016 - - - conditionalshow - - - - - __FB_IPCDIAG_READPARAMETER__READMDPVERSION__I - USINT - 8 - 18048 - - - conditionalshow - - - - - __FB_IPCDIAG_READPARAMETER__READTCVERSION__NSTATE - USINT - 8 - 18056 - - - conditionalshow - - - - - __FB_IPCDIAG_READPARAMETER__READTCVERSION__NMAJOR - UINT - 16 - 18064 - - - conditionalshow - - - - - __FB_IPCDIAG_READPARAMETER__READTCVERSION__NMINOR - UINT - 16 - 18080 - - - conditionalshow - - - - - __FB_IPCDIAG_READPARAMETER__READTCVERSION__NBUILD - UINT - 16 - 18096 - - - conditionalshow - - - - - __FB_IPCDIAG_READPARAMETER__READTCVERSION__NREVISION - UINT - 16 - 18112 - - - conditionalshow - - - - - __FB_IPCDIAG_READPARAMETER__READTCVERSION__HR - HRESULT - 32 - 18144 - - - conditionalshow - - - - - __FB_IPCDIAG_READPARAMETER__READTCVERSION__I - USINT - 8 - 18176 - - - conditionalshow - - - - - ipMemMan - I_DynMem_Manager - dynamic memory manager used in the Tc3_IPCDiag library - 32 - 80075180 - - - Clear - HRESULT - 32 - - - GetFreeSpaceOfVol - HRESULT - 32 - - pBuffer - parameter buffer with a given size of nBufferSize - PVOID - 32 - - - nBufferSize - buffer size in bytes (for one or more values) - UDINT - 32 - - - - __getipMemMan - I_DynMem_Manager - 32 - - ipMemMan - I_DynMem_Manager - 32 - - - - property - - - - - GetMDPVersion - HRESULT - 32 - - pBuffer - parameter buffer with a given size of nBufferSize - PVOID - 32 - - - nBufferSize - buffer size in bytes (for one or more values) - UDINT - 32 - - - nLen - UINT - 16 - - - - GetTCVersion - HRESULT - 32 - - pBuffer - parameter buffer with a given size of nBufferSize - PVOID - 32 - - - nBufferSize - buffer size in bytes (for one or more values) - UDINT - 32 - - - nLen - UINT - 16 - - - - GetParameterStrings - | access a read string parameter with multiple values. -| If more than one value is available all values can be copied to an ARRAY OF STRING at once. - HRESULT - 32 - - pBuffer - parameter buffer with a given size of nBufferSize - PVOID - 32 - - - nBufferSize - buffer size in bytes (for one or more values) - UDINT - 32 - - - nStrings - number of strings to be copied (each string with buffer size=nBufferSize/nStrings) - USINT - 8 - - - - ReadFreeSpaceOfVol - - nState - USINT - 8 - - - uselocation - __FB_IPCDIAG_READPARAMETER__READFREESPACEOFVOL__NSTATE - - - - - nNoVolumes - USINT - 8 - - - uselocation - __FB_IPCDIAG_READPARAMETER__READFREESPACEOFVOL__NNOVOLUMES - - - - - sDriveLetter - STRING(7) - 64 - - - uselocation - __FB_IPCDIAG_READPARAMETER__READFREESPACEOFVOL__SDRIVELETTER - - - - - nFoundIdx - USINT - 8 - - - uselocation - __FB_IPCDIAG_READPARAMETER__READFREESPACEOFVOL__NFOUNDIDX - - - - - hr - HRESULT - 32 - - - uselocation - __FB_IPCDIAG_READPARAMETER__READFREESPACEOFVOL__HR - - - - - i - USINT - 8 - - - uselocation - __FB_IPCDIAG_READPARAMETER__READFREESPACEOFVOL__I - - - - - - ReadMDPVersion - - nState - USINT - 8 - - - uselocation - __FB_IPCDIAG_READPARAMETER__READMDPVERSION__NSTATE - - - - - nNoSoftwares - USINT - 8 - - - uselocation - __FB_IPCDIAG_READPARAMETER__READMDPVERSION__NNOSOFTWARES - - - - - sSWName - STRING(79) - 640 - - - uselocation - __FB_IPCDIAG_READPARAMETER__READMDPVERSION__SSWNAME - - - - - nFoundIdx - USINT - 8 - - - uselocation - __FB_IPCDIAG_READPARAMETER__READMDPVERSION__NFOUNDIDX - - - - - hr - HRESULT - 32 - - - uselocation - __FB_IPCDIAG_READPARAMETER__READMDPVERSION__HR - - - - - i - USINT - 8 - - - uselocation - __FB_IPCDIAG_READPARAMETER__READMDPVERSION__I - - - - - - GetParameterByIdx - access a read parameter by index specification - HRESULT - 32 - - pBuffer - parameter buffer with a given size of nBufferSize - PVOID - 32 - - - nBufferSize - buffer size in bytes (for one parameter value) - UDINT - 32 - - - nParameterIdx - selection of parameter value (1..nReadParameterValues) (e.g. equals list index in case of list parameter) - USINT (1..255) - 8 - - - - ReadTCVersion - - nState - USINT - 8 - - - uselocation - __FB_IPCDIAG_READPARAMETER__READTCVERSION__NSTATE - - - - - nMajor - UINT - 16 - - - uselocation - __FB_IPCDIAG_READPARAMETER__READTCVERSION__NMAJOR - - - - - nMinor - UINT - 16 - - - uselocation - __FB_IPCDIAG_READPARAMETER__READTCVERSION__NMINOR - - - - - nBuild - UINT - 16 - - - uselocation - __FB_IPCDIAG_READPARAMETER__READTCVERSION__NBUILD - - - - - nRevision - UINT - 16 - - - uselocation - __FB_IPCDIAG_READPARAMETER__READTCVERSION__NREVISION - - - - - hr - HRESULT - 32 - - - uselocation - __FB_IPCDIAG_READPARAMETER__READTCVERSION__HR - - - - - i - USINT - 8 - - - uselocation - __FB_IPCDIAG_READPARAMETER__READTCVERSION__I - - - - - - GetParameter - access a read parameter (if more than one value is available all values can be copied at once, except for STRING types) - HRESULT - 32 - - pBuffer - parameter buffer with a given size of nBufferSize - PVOID - 32 - - - nBufferSize - buffer size in bytes (for one or more values) - UDINT - 32 - - - - - PouType - FunctionBlock - - - conditionalshow_all_locals - - - - - FB_Standard_PMPSDB - 90624 - - io_fbFFHWO - FB_HardwareFFOutput - The fast fault output to fault to. - 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 - - - - - - sDirectory - STRING(80) - Directory where the DB is stored. - 648 - 728 - - - - - - ItemType - Input - - - - - nLastRefreshTime - DINT - 32 - 1376 - - - ItemType - Output - - - pytmc - - pv: LAST_REFRESH - io: i - - - - - - bReadPmpsDb - BOOL - 8 - 1408 - - - ItemType - Output - - - - - bExecute - BOOL - 8 - 1416 - - - 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 - true - - - .dwCycle - 1 - - - - - fbTime_to_UTC - FB_TzSpecificLocalTimeToSystemTime - 3584 - 20672 - - - fbGetTimeZone - FB_GetTimeZoneInformation - 3488 - 24256 - - - fbIPCReg - FB_IPCDiag_Register - 43936 - 27744 - - - fbCheckOS - FB_IPCDiag_ReadParameter - 18240 - 71680 - - - sOSName - STRING(80) - 648 - 89920 - - - - - - nCheckOSTries - UINT - 16 - 90576 - - 3 - - - - - 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_Axilon_Cooling_1f1p - 832 - - fFlow_1_val - LREAL - Mirrors with 1 Cooling Flow Meter and 1 Pressure Meter - 64 - 64 - - - ItemType - Output - - - pytmc - - pv: FWM:1 - field: EGU lpm - field: HIGH 2.3 - field: HIHI 3.0 - field: LOW 1.7 - field: LOLO 1.5 - field: LSV MINOR - field: LLSV MAJOR - field: HSV MINOR - field: HHSV MAJOR - io: i - - - - - - fPress_1_val - LREAL - 64 - 128 - - - ItemType - Output - - - pytmc - - pv: PRSM:1 - field: EGU bar - field: LOW 0.1 - field: LSV MAJOR - io: i - - - - - - fbFlow_1 - FB_AnalogInput - 320 - 192 - - - fbPress_1 - FB_AnalogInput - 320 - 512 - - - - PouType - FunctionBlock - - - - - TcIPCDiagEventClass - TcIPCDiagEventClass - - Fail - Fail - unspecified error. - Error - - - InvalidIndex - Invalid index. - Error - - - InvalidAccess - Invalid access. - Error - - - BufferTooSmall - Buffer is too small. - Error - - - TypeNotSupported - Type is not supported. - Error - - - OutOfMemory - Out of memory. - Error - - - NoDataAvailable - No data available. - Error - - - InvalidData - Invalid data. - Error - - - InvalidArgument - Invalid argument. - Error - - - OutOfRange - Value is out of range. - Error - - - ServerBusy - Server is busy. - Error - - - NotInit - MDP API is not initialized. - Error - - - NotImplemented - Not implemented. - Error - - - NotSupported - Not supported. - Error - - - - - - - ST_TcIPCDiagEventClass - 2688 - - Fail - TcEventEntry - 192 - 0 - - - .uuidEventClass.Data1 - 3432157575 - - - .uuidEventClass.Data2 - 14704 - - - .uuidEventClass.Data3 - 19700 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 57 - - - .uuidEventClass.Data4[2] - 148 - - - .uuidEventClass.Data4[3] - 107 - - - .uuidEventClass.Data4[4] - 236 - - - .uuidEventClass.Data4[5] - 18 - - - .uuidEventClass.Data4[6] - 66 - - - .uuidEventClass.Data4[7] - 45 - - - .nEventID - E_TcIPCDiagEventClass.Fail - - - .eSeverity - TcEventSeverity.Error - - - - - InvalidIndex - TcEventEntry - 192 - 192 - - - .uuidEventClass.Data1 - 3432157575 - - - .uuidEventClass.Data2 - 14704 - - - .uuidEventClass.Data3 - 19700 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 57 - - - .uuidEventClass.Data4[2] - 148 - - - .uuidEventClass.Data4[3] - 107 - - - .uuidEventClass.Data4[4] - 236 - - - .uuidEventClass.Data4[5] - 18 - - - .uuidEventClass.Data4[6] - 66 - - - .uuidEventClass.Data4[7] - 45 - - - .nEventID - E_TcIPCDiagEventClass.InvalidIndex - - - .eSeverity - TcEventSeverity.Error - - - - - InvalidAccess - TcEventEntry - 192 - 384 - - - .uuidEventClass.Data1 - 3432157575 - - - .uuidEventClass.Data2 - 14704 - - - .uuidEventClass.Data3 - 19700 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 57 - - - .uuidEventClass.Data4[2] - 148 - - - .uuidEventClass.Data4[3] - 107 - - - .uuidEventClass.Data4[4] - 236 - - - .uuidEventClass.Data4[5] - 18 - - - .uuidEventClass.Data4[6] - 66 - - - .uuidEventClass.Data4[7] - 45 - - - .nEventID - E_TcIPCDiagEventClass.InvalidAccess - - - .eSeverity - TcEventSeverity.Error - - - - - BufferTooSmall - TcEventEntry - 192 - 576 - - - .uuidEventClass.Data1 - 3432157575 - - - .uuidEventClass.Data2 - 14704 - - - .uuidEventClass.Data3 - 19700 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 57 - - - .uuidEventClass.Data4[2] - 148 - - - .uuidEventClass.Data4[3] - 107 - - - .uuidEventClass.Data4[4] - 236 - - - .uuidEventClass.Data4[5] - 18 - - - .uuidEventClass.Data4[6] - 66 - - - .uuidEventClass.Data4[7] - 45 - - - .nEventID - E_TcIPCDiagEventClass.BufferTooSmall - - - .eSeverity - TcEventSeverity.Error - - - - - TypeNotSupported - TcEventEntry - 192 - 768 - - - .uuidEventClass.Data1 - 3432157575 - - - .uuidEventClass.Data2 - 14704 - - - .uuidEventClass.Data3 - 19700 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 57 - - - .uuidEventClass.Data4[2] - 148 - - - .uuidEventClass.Data4[3] - 107 - - - .uuidEventClass.Data4[4] - 236 - - - .uuidEventClass.Data4[5] - 18 - - - .uuidEventClass.Data4[6] - 66 - - - .uuidEventClass.Data4[7] - 45 - - - .nEventID - E_TcIPCDiagEventClass.TypeNotSupported - - - .eSeverity - TcEventSeverity.Error - - - - - OutOfMemory - TcEventEntry - 192 - 960 - - - .uuidEventClass.Data1 - 3432157575 - - - .uuidEventClass.Data2 - 14704 - - - .uuidEventClass.Data3 - 19700 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 57 - - - .uuidEventClass.Data4[2] - 148 - - - .uuidEventClass.Data4[3] - 107 - - - .uuidEventClass.Data4[4] - 236 - - - .uuidEventClass.Data4[5] - 18 - - - .uuidEventClass.Data4[6] - 66 - - - .uuidEventClass.Data4[7] - 45 - - - .nEventID - E_TcIPCDiagEventClass.OutOfMemory - - - .eSeverity - TcEventSeverity.Error - - - - - NoDataAvailable - TcEventEntry - 192 - 1152 - - - .uuidEventClass.Data1 - 3432157575 - - - .uuidEventClass.Data2 - 14704 - - - .uuidEventClass.Data3 - 19700 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 57 - - - .uuidEventClass.Data4[2] - 148 - - - .uuidEventClass.Data4[3] - 107 - - - .uuidEventClass.Data4[4] - 236 - - - .uuidEventClass.Data4[5] - 18 - - - .uuidEventClass.Data4[6] - 66 - - - .uuidEventClass.Data4[7] - 45 - - - .nEventID - E_TcIPCDiagEventClass.NoDataAvailable - - - .eSeverity - TcEventSeverity.Error - - - - - InvalidData - TcEventEntry - 192 - 1344 - - - .uuidEventClass.Data1 - 3432157575 - - - .uuidEventClass.Data2 - 14704 - - - .uuidEventClass.Data3 - 19700 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 57 - - - .uuidEventClass.Data4[2] - 148 - - - .uuidEventClass.Data4[3] - 107 - - - .uuidEventClass.Data4[4] - 236 - - - .uuidEventClass.Data4[5] - 18 - - - .uuidEventClass.Data4[6] - 66 - - - .uuidEventClass.Data4[7] - 45 - - - .nEventID - E_TcIPCDiagEventClass.InvalidData - - - .eSeverity - TcEventSeverity.Error - - - - - InvalidArgument - TcEventEntry - 192 - 1536 - - - .uuidEventClass.Data1 - 3432157575 - - - .uuidEventClass.Data2 - 14704 - - - .uuidEventClass.Data3 - 19700 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 57 - - - .uuidEventClass.Data4[2] - 148 - - - .uuidEventClass.Data4[3] - 107 - - - .uuidEventClass.Data4[4] - 236 - - - .uuidEventClass.Data4[5] - 18 - - - .uuidEventClass.Data4[6] - 66 - - - .uuidEventClass.Data4[7] - 45 - - - .nEventID - E_TcIPCDiagEventClass.InvalidArgument - - - .eSeverity - TcEventSeverity.Error - - - - - OutOfRange - TcEventEntry - 192 - 1728 - - - .uuidEventClass.Data1 - 3432157575 - - - .uuidEventClass.Data2 - 14704 - - - .uuidEventClass.Data3 - 19700 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 57 - - - .uuidEventClass.Data4[2] - 148 - - - .uuidEventClass.Data4[3] - 107 - - - .uuidEventClass.Data4[4] - 236 - - - .uuidEventClass.Data4[5] - 18 - - - .uuidEventClass.Data4[6] - 66 - - - .uuidEventClass.Data4[7] - 45 - - - .nEventID - E_TcIPCDiagEventClass.OutOfRange - - - .eSeverity - TcEventSeverity.Error - - - - - ServerBusy - TcEventEntry - 192 - 1920 - - - .uuidEventClass.Data1 - 3432157575 - - - .uuidEventClass.Data2 - 14704 - - - .uuidEventClass.Data3 - 19700 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 57 - - - .uuidEventClass.Data4[2] - 148 - - - .uuidEventClass.Data4[3] - 107 - - - .uuidEventClass.Data4[4] - 236 - - - .uuidEventClass.Data4[5] - 18 - - - .uuidEventClass.Data4[6] - 66 - - - .uuidEventClass.Data4[7] - 45 - - - .nEventID - E_TcIPCDiagEventClass.ServerBusy - - - .eSeverity - TcEventSeverity.Error - - - - - NotInit - TcEventEntry - 192 - 2112 - - - .uuidEventClass.Data1 - 3432157575 - - - .uuidEventClass.Data2 - 14704 - - - .uuidEventClass.Data3 - 19700 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 57 - - - .uuidEventClass.Data4[2] - 148 - - - .uuidEventClass.Data4[3] - 107 - - - .uuidEventClass.Data4[4] - 236 - - - .uuidEventClass.Data4[5] - 18 - - - .uuidEventClass.Data4[6] - 66 - - - .uuidEventClass.Data4[7] - 45 - - - .nEventID - E_TcIPCDiagEventClass.NotInit - - - .eSeverity - TcEventSeverity.Error - - - - - NotImplemented - TcEventEntry - 192 - 2304 - - - .uuidEventClass.Data1 - 3432157575 - - - .uuidEventClass.Data2 - 14704 - - - .uuidEventClass.Data3 - 19700 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 57 - - - .uuidEventClass.Data4[2] - 148 - - - .uuidEventClass.Data4[3] - 107 - - - .uuidEventClass.Data4[4] - 236 - - - .uuidEventClass.Data4[5] - 18 - - - .uuidEventClass.Data4[6] - 66 - - - .uuidEventClass.Data4[7] - 45 - - - .nEventID - E_TcIPCDiagEventClass.NotImplemented - - - .eSeverity - TcEventSeverity.Error - - - - - NotSupported - TcEventEntry - 192 - 2496 - - - .uuidEventClass.Data1 - 3432157575 - - - .uuidEventClass.Data2 - 14704 - - - .uuidEventClass.Data3 - 19700 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 57 - - - .uuidEventClass.Data4[2] - 148 - - - .uuidEventClass.Data4[3] - 107 - - - .uuidEventClass.Data4[4] - 236 - - - .uuidEventClass.Data4[5] - 18 - - - .uuidEventClass.Data4[6] - 66 - - - .uuidEventClass.Data4[7] - 45 - - - .nEventID - E_TcIPCDiagEventClass.NotSupported - - - .eSeverity - TcEventSeverity.Error - - - - - - TcTypeSystem - - - signature_flag - 33554432 - - - checksuperglobal - - - show - - - no-analysis - - - TcEventClass - TcIPCDiagEventClass - - - - - TcIPCDiagPlcApiEventClass - TcIPCDiagPlcApiEventClass - - InvalidModList - Invalid module list (initialization of IPCDiag required). - Error - - - UnavailableModule - Module of parameter is unavailable (not existing). - Error - - - UnavailableParameter - Parameter is unavailable (not existing). - Error - - - NoValidData - No valid parameter value available (reading is pending or failed). - Error - - - InvalidBuffer - Allocated buffer is invalid (pointer is zero or buffer size is too small). - Error - - - InvalidIndex - Allocated index is invalid. - Error - - - BadParameterValues - Error that some of the requested parameter values returned an error (use GetParameterByIdx). - Error - - - BadParameterValues_Info - Info that some of the requested parameter values returned an error (use GetParameterByIdx). - Info - - - - - - - ST_TcIPCDiagPlcApiEventClass - 1536 - - InvalidModList - TcEventEntry - 192 - 0 - - - .uuidEventClass.Data1 - 539127628 - - - .uuidEventClass.Data2 - 21690 - - - .uuidEventClass.Data3 - 18335 - - - .uuidEventClass.Data4[0] - 186 - - - .uuidEventClass.Data4[1] - 72 - - - .uuidEventClass.Data4[2] - 251 - - - .uuidEventClass.Data4[3] - 229 - - - .uuidEventClass.Data4[4] - 45 - - - .uuidEventClass.Data4[5] - 14 - - - .uuidEventClass.Data4[6] - 156 - - - .uuidEventClass.Data4[7] - 213 - - - .nEventID - E_TcIPCDiagPlcApiEventClass.InvalidModList - - - .eSeverity - TcEventSeverity.Error - - - - - UnavailableModule - TcEventEntry - 192 - 192 - - - .uuidEventClass.Data1 - 539127628 - - - .uuidEventClass.Data2 - 21690 - - - .uuidEventClass.Data3 - 18335 - - - .uuidEventClass.Data4[0] - 186 - - - .uuidEventClass.Data4[1] - 72 - - - .uuidEventClass.Data4[2] - 251 - - - .uuidEventClass.Data4[3] - 229 - - - .uuidEventClass.Data4[4] - 45 - - - .uuidEventClass.Data4[5] - 14 - - - .uuidEventClass.Data4[6] - 156 - - - .uuidEventClass.Data4[7] - 213 - - - .nEventID - E_TcIPCDiagPlcApiEventClass.UnavailableModule - - - .eSeverity - TcEventSeverity.Error - - - - - UnavailableParameter - TcEventEntry - 192 - 384 - - - .uuidEventClass.Data1 - 539127628 - - - .uuidEventClass.Data2 - 21690 - - - .uuidEventClass.Data3 - 18335 - - - .uuidEventClass.Data4[0] - 186 - - - .uuidEventClass.Data4[1] - 72 - - - .uuidEventClass.Data4[2] - 251 - - - .uuidEventClass.Data4[3] - 229 - - - .uuidEventClass.Data4[4] - 45 - - - .uuidEventClass.Data4[5] - 14 - - - .uuidEventClass.Data4[6] - 156 - - - .uuidEventClass.Data4[7] - 213 - - - .nEventID - E_TcIPCDiagPlcApiEventClass.UnavailableParameter - - - .eSeverity - TcEventSeverity.Error - - - - - NoValidData - TcEventEntry - 192 - 576 - - - .uuidEventClass.Data1 - 539127628 - - - .uuidEventClass.Data2 - 21690 - - - .uuidEventClass.Data3 - 18335 - - - .uuidEventClass.Data4[0] - 186 - - - .uuidEventClass.Data4[1] - 72 - - - .uuidEventClass.Data4[2] - 251 - - - .uuidEventClass.Data4[3] - 229 - - - .uuidEventClass.Data4[4] - 45 - - - .uuidEventClass.Data4[5] - 14 - - - .uuidEventClass.Data4[6] - 156 - - - .uuidEventClass.Data4[7] - 213 - - - .nEventID - E_TcIPCDiagPlcApiEventClass.NoValidData - - - .eSeverity - TcEventSeverity.Error - - - - - InvalidBuffer - TcEventEntry - 192 - 768 - - - .uuidEventClass.Data1 - 539127628 - - - .uuidEventClass.Data2 - 21690 - - - .uuidEventClass.Data3 - 18335 - - - .uuidEventClass.Data4[0] - 186 - - - .uuidEventClass.Data4[1] - 72 - - - .uuidEventClass.Data4[2] - 251 - - - .uuidEventClass.Data4[3] - 229 - - - .uuidEventClass.Data4[4] - 45 - - - .uuidEventClass.Data4[5] - 14 - - - .uuidEventClass.Data4[6] - 156 - - - .uuidEventClass.Data4[7] - 213 - - - .nEventID - E_TcIPCDiagPlcApiEventClass.InvalidBuffer - - - .eSeverity - TcEventSeverity.Error - - - - - InvalidIndex - TcEventEntry - 192 - 960 - - - .uuidEventClass.Data1 - 539127628 - - - .uuidEventClass.Data2 - 21690 - - - .uuidEventClass.Data3 - 18335 - - - .uuidEventClass.Data4[0] - 186 - - - .uuidEventClass.Data4[1] - 72 - - - .uuidEventClass.Data4[2] - 251 - - - .uuidEventClass.Data4[3] - 229 - - - .uuidEventClass.Data4[4] - 45 - - - .uuidEventClass.Data4[5] - 14 - - - .uuidEventClass.Data4[6] - 156 - - - .uuidEventClass.Data4[7] - 213 - - - .nEventID - E_TcIPCDiagPlcApiEventClass.InvalidIndex - - - .eSeverity - TcEventSeverity.Error - - - - - BadParameterValues - TcEventEntry - 192 - 1152 - - - .uuidEventClass.Data1 - 539127628 - - - .uuidEventClass.Data2 - 21690 - - - .uuidEventClass.Data3 - 18335 - - - .uuidEventClass.Data4[0] - 186 - - - .uuidEventClass.Data4[1] - 72 - - - .uuidEventClass.Data4[2] - 251 - - - .uuidEventClass.Data4[3] - 229 - - - .uuidEventClass.Data4[4] - 45 - - - .uuidEventClass.Data4[5] - 14 - - - .uuidEventClass.Data4[6] - 156 - - - .uuidEventClass.Data4[7] - 213 - - - .nEventID - E_TcIPCDiagPlcApiEventClass.BadParameterValues - - - .eSeverity - TcEventSeverity.Error - - - - - BadParameterValues_Info - TcEventEntry - 192 - 1344 - - - .uuidEventClass.Data1 - 539127628 - - - .uuidEventClass.Data2 - 21690 - - - .uuidEventClass.Data3 - 18335 - - - .uuidEventClass.Data4[0] - 186 - - - .uuidEventClass.Data4[1] - 72 - - - .uuidEventClass.Data4[2] - 251 - - - .uuidEventClass.Data4[3] - 229 - - - .uuidEventClass.Data4[4] - 45 - - - .uuidEventClass.Data4[5] - 14 - - - .uuidEventClass.Data4[6] - 156 - - - .uuidEventClass.Data4[7] - 213 - - - .nEventID - E_TcIPCDiagPlcApiEventClass.BadParameterValues_Info - - - .eSeverity - TcEventSeverity.Info - - - - - - TcTypeSystem - - - signature_flag - 33554432 - - - checksuperglobal - - - show - - - no-analysis - - - TcEventClass - TcIPCDiagPlcApiEventClass - - - - - ST_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 - ST_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 - - - - conditionalshow - - - - - 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 - - _E_TcMC_STATES.STATE_INITIALIZATION - - - - 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 - ST_MotionStage - 32 - 160 - - - ItemType - InOut - - - - - MasterEnc - ST_RenishawAbsEnc - 32 - 192 - - - ItemType - InOut - - - - - Slave - ST_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 - ST_MotionStage - Motor Structs - 32 - 640 - - - ItemType - InOut - - - - - stYdwn - ST_MotionStage - 32 - 672 - - - ItemType - InOut - - - - - stXup - ST_MotionStage - 32 - 704 - - - ItemType - InOut - - - - - stXdwn - ST_MotionStage - 32 - 736 - - - ItemType - InOut - - - - - stPitch - ST_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 - - - - - - bExecuteDecoupleY - BOOL - 8 - 20424 - - - pytmc - - pv: DECOUPLE_Y - io: o - - - - - - bExecuteCoupleX - BOOL - 8 - 20432 - - - pytmc - - pv: COUPLE_X - io: o - - - - - - bExecuteDecoupleX - BOOL - 8 - 20440 - - - pytmc - - pv: DECOUPLE_X - io: o - - - - - - bGantryAlreadyCoupledY - BOOL - Coupling status - 8 - 20448 - - - pytmc - - pv: ALREADY_COUPLED_Y - io: i - field: ZSV MAJOR - - - - - - bGantryAlreadyCoupledX - BOOL - 8 - 20456 - - - pytmc - - pv: ALREADY_COUPLED_X - io: i - field: ZSV MAJOR - - - - - - 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_um - REAL - X Gantry difference in um - 32 - 20640 - - - pytmc - - pv: GANTRY_X - field: EGU um - io: i - - - - - - - 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_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 - - - - - - fMean - LREAL - Average of all values in the array - 64 - 128 - - - ItemType - Output - - - pytmc - - pv: STATS:MEAN - io: i - - - - - - fStDev - LREAL - Standard deviation of all values in the array - 64 - 192 - - - ItemType - Output - - - pytmc - - pv: STATS:STDEV - io: i - - - - - - fMax - LREAL - Largest value in the array - 64 - 256 - - - ItemType - Output - - - pytmc - - pv: STATS:MAX - io: i - - - - - - fMin - LREAL - Smallest value in the array - 64 - 320 - - - ItemType - Output - - - pytmc - - pv: STATS:MIN - io: i - - - - - - fRange - LREAL - Largest array element subtracted by the smallest - 64 - 384 - - - ItemType - Output - - - pytmc - - pv: STATS:RANGE - io: i - - - - - - bValid - BOOL - True if the other outputs are valid - 8 - 448 - - - ItemType - Output - - - pytmc - - pv: STATS:VALID - io: i - - - - - - 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 - 386880 - - 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 - ST_MotionStage - 32 - 192 - - - ItemType - InOut - - - - - fEncScalingNum - LREAL - 64 - 256 - - 1 - - - - fEncScalingDenom - LREAL - 64 - 320 - - 1 - - - - fEncOffset - LREAL - 64 - 384 - - 0 - - - - fEncScale - LREAL - 64 - 448 - - 1 - - - - fbDataEncPos - FB_LREALBuffer - ActPos Data Acquisition FB - 128512 - 512 - - - fbDataSetPos - FB_LREALBuffer - SetPos Data Acquisition FB - 128512 - 129024 - - - bExecuteDataStorage - BOOL - Take data of both ActPos and SetPos - 8 - 257536 - - true - - - - bNewEncArray - BOOL - 8 - 257544 - - - fbStats - FB_BasicStats - Calculate mean/standard deviation of ActPos - 896 - 257600 - - - fEncMean - LREAL - 64 - 258496 - - - pytmc - - pv: MEAN - io: i - - - - - - fEncStDev - LREAL - 64 - 258560 - - - pytmc - - pv: STDEV - io: i - - - - - - fCurrRMSError - LREAL - 64 - 258624 - - 0 - - - - pytmc - - pv: RMS - io: i - - - - - - nIndex - DINT - 32 - 258688 - - - fSum - LREAL - Just for calculating rms - 64 - 258752 - - 0 - - - - fDiff - LREAL - 64 - 258816 - - 0 - - - - aEncActPos - LREAL - - 1 - 1000 - - 64000 - 258880 - - - pytmc - - pv: ACTPOSARRAY - io: i - - - - - - aEncSetPos - LREAL - - 1 - 1000 - - 64000 - 322880 - - - pytmc - - pv: SETPOSARRAY - io: i - - - - - - - PouType - FunctionBlock - - - - - FB_Bender - 128 - - stBender - ST_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_ParameterType - 16 - INT - - PARAMETERTYPE_NOTYPE - 0 - - - PARAMETERTYPE_BOOL - 1 - - - PARAMETERTYPE_DWORD - 2 - - - PARAMETERTYPE_LREAL - 3 - - - - conditionalshow - - - - - _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 - - _E_TcMC_STATES.STATE_INITIALIZATION - - - - 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 - - E_ReadMode.READMODE_ONCE - - - - 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 - 83246676 - - - TcDisplayTypeGUID - 18071995-0000-0000-0000-000000000046 - - - - - __getnTimestamp - ULINT - 64 - - nTimestamp - ULINT - 64 - - - - property - - - 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 - - - - - 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. - 648 - 0 - - twincat-event-0 - - - - plcAttribute_pytmc - pv: Schema - io: i - field: DESC Schema string - - - - - ts - LREAL - 64 - 704 - - - plcAttribute_pytmc - pv: Timestamp - io: i - field: DESC Unix timestamp - - - - - plc - STRING(80) - 648 - 768 - - - plcAttribute_pytmc - pv: Hostname - io: i - 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 Error - - - - - id - UDINT - 32 - 1440 - - - plcAttribute_pytmc - pv: MessageID - io: i - field: DESC TwinCAT Message ID - - - - - event_class - STRING(80) - 648 - 1472 - - - plcAttribute_pytmc - pv: EventClass - io: i - 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 type - - - - - json - STRING(10000) - 80008 - 6240 - - - plcAttribute_pytmc - pv: MessageJSON - io: i - field: DESC Metadata with the message - - - - - - - - - TcEventType - 16 - INT - - Message - 0 - - - Alarm - 1 - - - - plcAttribute_qualified_only - - - plcAttribute_strict - - - - - TcComparisonOperator - 16 - INT - - EqualTo - 0 - - - NotEqualTo - 1 - - - LessThan - 2 - - - GreaterThan - 3 - - - LessThanOrEqualTo - 4 - - - GreaterThanOrEqualTo - 5 - - - - plcAttribute_qualified_only - - - plcAttribute_strict - - - - - TcEventTimeStampType - 16 - INT - - Raised - 0 - - - Confirmed - 1 - - - Cleared - 2 - - - - plcAttribute_qualified_only - - - plcAttribute_strict - - - - - TcStringComparisonOperator - 16 - INT - - EqualTo - 0 - - - NotEqualTo - 1 - - - Like - 2 - - - IsNull - 3 - - - IsNotNull - 4 - - - - plcAttribute_qualified_only - - - plcAttribute_strict - - - - - TcLogicalOperator - 16 - INT - - And - 0 - - - Or - 1 - - - - plcAttribute_qualified_only - - - plcAttribute_strict - - - - - ITcEventFilter - 32 - ITcUnknown - - Clear - HRESULT - 32 - - - AddEventTypeExpression - HRESULT - 32 - - eType - TcEventType - 16 - - - op - TcComparisonOperator - 16 - - - - AddEventClassExpression - HRESULT - 32 - - eventClass - GUID - 32 - - - op - TcComparisonOperator - 16 - - - - AddEventIdExpression - HRESULT - 32 - - eventId - UDINT - 32 - - - op - TcComparisonOperator - 16 - - - - AddSeverityExpression - HRESULT - 32 - - severity - TcEventSeverity - 16 - - - op - TcComparisonOperator - 16 - - - - AddTimeStampExpression - HRESULT - 32 - - eType - TcEventTimeStampType - 16 - - - timeStamp - ULINT - 64 - - - op - TcComparisonOperator - 16 - - - - AddSourceGuidExpression - HRESULT - 32 - - sourceGuid - GUID - 32 - - - op - TcComparisonOperator - 16 - - - - AddSourceIdExpression - HRESULT - 32 - - sourceId - UDINT - 32 - - - op - TcComparisonOperator - 16 - - - - AddSourceNameExpression - HRESULT - 32 - - sourceName - PCCH - 32 - - - op - TcStringComparisonOperator - 16 - - - - AddJsonAttributeExpression - HRESULT - 32 - - path - PCCH - 32 - - - value - PCCH - 32 - - - op - TcStringComparisonOperator - 16 - - - - AddLogicalOperator - HRESULT - 32 - - eType - TcLogicalOperator - 16 - - - - AddNotOperator - HRESULT - 32 - - - CreateExpressionGroup - HRESULT - 32 - - pipGroup - ITcEventFilter - 32 - - - - AddExpressionGroup - HRESULT - 32 - - ipGroup - ITcEventFilter - 32 - - - - Validate - HRESULT - 32 - - bResult - BOOL - 32 - - - - Clone - HRESULT - 32 - - pipClone - ITcEventFilter - 32 - - - - - 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 - 83246228 - - - bError - BOOL - 8 - 83246272 - - - hrErrorCode - HRESULT - 32 - 83246236 - - - nStringSize - UDINT - 32 - 83246260 - - - sEventText - STRING(255) - 2048 - 83246280 - - - TcEncoding - UTF-8 - - - - - __getbBusy - BOOL - 8 - - bBusy - BOOL - 8 - - - b32IsBusy - BOOL32 - 32 - - - - property - - - - - __gethrErrorCode - HRESULT - 32 - - hrErrorCode - HRESULT - 32 - - - hrError - HRESULT - 32 - - - - property - - - - - 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 - - - - - Clear - - - __getbError - BOOL - 8 - - bError - BOOL - 8 - - - b32HasError - BOOL32 - 32 - - - - property - - - - - 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 - - - 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: - - - - - - bInUse - BOOL - 8 - 86272 - - - fbRequestEventText - FB_RequestEventText - 96 - 86304 - - - - FB_JsonReadWriteDatatype - 96 - - initStatus - HRESULT - 32 - 32 - - E_HRESULTAdsErr.NOTINIT - - - - ItemType - Output - - - - - ipJson - ITcIecApplicationJson - 32 - 64 - - - GetJsonFromSymbol - | generates a JSON string from a given symbol (via address/size). - | Method returns TRUE if succeeded. - 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 - | Copies the full DOM document and returns its size in bytes (including the null termination). - 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 - generates name of symbol defined by address/size and returns its size in bytes (including the null termination). - 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 - Returns size in bytes of the full DOM document (including the null termination). - 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 - | Returns the JSON string. -| If its size is more than 255 bytes an empty string is returned and the method CopyJsonStringFromSymbolProperties() has to be used. - 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 - returns TRUE if succeeded - 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 - generates data type name from given symbol defined by address/size - 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 - | parse a json string and set values of a given symbol (via address/size). - | Method returns TRUE if succeeded. - 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 - Returns size in bytes of the full DOM document (including the null termination). - 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 - | Returns the JSON string. -| If its size is more than 255 bytes an empty string is returned and the method CopyJsonStringFromSymbol() has to be used. - 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 - | Copies the full DOM document and returns its size in bytes (including the null termination). - 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 - generates name of symbol defined by address/size - STRING(255) - 2048 - - nData - size of symbol - UDINT - 32 - - - pData - address of symbol - PVOID - 32 - - - hrErrorCode - HRESULT - 32 - - - ItemType - Output - - - - - length - UDINT - 32 - - - - AddJsonValueFromSymbol - | generates a JSON string from a given symbol (via address/size) - | and adds it to a JSON document via the given SAX Writer. - | Method returns TRUE if succeeded. - 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 - returns TRUE if succeeded - 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 - Connectionless socket state - 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 - - E_SocketConnectionlessState.eSOCKET_CLOSED - - - - 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 - - false - - - - pytmc - - pv: LogToVisualStudio - io: io - - - - - - nCntMessagesSent - UDINT - 32 - 160 - - 0 - - - - pytmc - - pv: MessagesSent - io: i - - - - - - nCntAlarmsRaised - UDINT - 32 - 192 - - 0 - - - - pytmc - - pv: AlarmsRaised - io: i - - - - - - nCntAlarmsConfirmed - UDINT - 32 - 224 - - 0 - - - - pytmc - - pv: AlarmsConfirmed - io: i - - - - - - nCntAlarmsCleared - UDINT - 32 - 256 - - 0 - - - - pytmc - - pv: AlarmsCleared - io: i - - - - - - eMinSeverity - TcEventSeverity - 16 - 288 - - - pytmc - - pv: MinSeverity - io: io - - - - - - stEventInfo - ST_LoggingEventInfo - 32 - 320 - - - analysis - -33 - - - pytmc - - pv: Log - - - - - - stPendingEvents - ST_PendingEvent - - 0 - 10 - - 864000 - 384 - - - ipMessageConfig - ITcEventFilterConfig - 32 - 864384 - - - fbSocket - FB_ConnectionlessSocket - 32 - 864416 - - - bConfigured - BOOL - 8 - 864448 - - false - - - - nMaxEvents - UINT - The maximum number of events allowed *per-cycle* - 16 - 864464 - - 10 - - - - __FB_LISTENER__CONFIGURE__BSUBSCRIBED - BOOL - 8 - 864480 - - false - - - - __FB_LISTENER__PUBLISHEVENTS__FBJSON - FB_JsonSaxWriter - 256 - 864512 - - - __FB_LISTENER__PUBLISHEVENTS__FBJSONDATATYPE - FB_JsonReadWriteDatatype - 96 - 864768 - - - __FB_LISTENER__PUBLISHEVENTS__SJSONDOC - STRING(10000) - 80008 - 864864 - - - OnAlarmRaised - - fbEvent - FB_TcEvent - 32 - - - - OnAlarmConfirmed - - fbEvent - FB_TcEvent - 32 - - - - __getLogToVisualStudio - BOOL - 8 - - LogToVisualStudio - BOOL - 8 - - - - property - - - analysis - -33 - - - - - 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 - __FB_LISTENER__PUBLISHEVENTS__FBJSON - - - - - fbJsonDataType - FB_JsonReadWriteDatatype - 96 - - - uselocation - __FB_LISTENER__PUBLISHEVENTS__FBJSONDATATYPE - - - - - sJsonDoc - STRING(10000) - 80008 - - - uselocation - __FB_LISTENER__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 - - Configure an event class + severity - - HRESULT - 32 - - i_EventClass - GUID - 128 - - - i_MinSeverity - TcEventSeverity - 16 - - - i_fbSocket - FB_ConnectionlessSocket - 32 - - - bSubscribed - BOOL - 8 - - - uselocation - __FB_LISTENER__CONFIGURE__BSUBSCRIBED - - - - - - __setLogToVisualStudio - - LogToVisualStudio - BOOL - 8 - - - analysis - -33 - - - - - bValue - BOOL - 8 - - - - property - - - analysis - -33 - - - - - - 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 - - T#10s - - - - 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 - - false - - - - - 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 - Management Information Base interface 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 - - T#10s - - - - 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 - true - - - .sNetID - - - - - - iIndex - UDINT - 32 - 100896 - - - tRetry - TON - 224 - 100928 - - - bReset - BOOL - 8 - 101152 - - - bInitialized - BOOL - 8 - 101160 - - false - - - - - PouType - FunctionBlock - - - - - CTU - - Counter Up. - CV is incremented by 1 if CU has a rising edge. - Q is TRUE, if CV is reached PV. - - 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 - 5784896 - - fbTcAdsListener - FB_Listener - 944896 - 64 - - - ItemType - Input - - - pytmc - - pv: ADS - - - - - - fbTcRouterListener - FB_Listener - 944896 - 944960 - - - ItemType - Input - - - pytmc - - pv: Router - - - - - - fbTcRTimeListener - FB_Listener - 944896 - 1889856 - - - ItemType - Input - - - pytmc - - pv: RTime - - - - - - fbTcSystemListener - FB_Listener - 944896 - 2834752 - - - ItemType - Input - - - pytmc - - pv: System - - - - - - fbWindowsListener - FB_Listener - 944896 - 3779648 - - - ItemType - Input - - - pytmc - - pv: Windows - - - - - - fbLCLSListener - FB_Listener - 944896 - 4724544 - - - ItemType - Input - - - pytmc - - pv: LCLS - - - - - - bInitialized - BOOL - 8 - 5669440 - - false - - - - bReadyToLog - BOOL - 8 - 5669448 - - false - - - - 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 - - TcEventSeverity.Verbose - - - - 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 - T#1h - - - - - tofTrickleBreakerPre - TOF - 224 - 5784416 - - - .PT - T#1s - - - - - tonTrickleBreaker - TON - 224 - 5784640 - - - .PT - T#10s - - - - - bTripCon - BOOL - 8 - 5784864 - - - nNumListeners - UINT - 16 - 5784880 - - 6 - - - - CircuitBreaker - - - - PouType - FunctionBlock - - - - - FB_Axilon_Cooling_2f1p - 1216 - FB_Axilon_Cooling_1f1p - - fFlow_2_val - LREAL - 64 - 832 - - - ItemType - Output - - - pytmc - - pv: FWM:2 - field: EGU lpm - field: HIGH 2.3 - field: HIHI 3.0 - field: LOW 1.7 - field: LOLO 1.5 - field: LSV MINOR - field: LLSV MAJOR - field: HSV MINOR - field: HHSV MAJOR - io: i - - - - - - fbFlow_2 - FB_AnalogInput - 320 - 896 - - - - 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 - - - - - - bConnected - BOOL - 8 - 192 - - - ItemType - Output - - - pytmc - - pv: CONN - io: input - field: ONAM Connected - field: ZNAM Disconnected - - - - - - bError - BOOL - 8 - 200 - - true - - - - ItemType - Output - - - pytmc - - pv: ERR - io: input - field: ONAM True - field: ZNAM False - - - - 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 - Internal error. - Error - - - NoRTime - No real-time. - Error - - - AllocationLockedMemoryError - Allocation locked – memory error. - Error - - - InsertMailboxError - Mailbox full – the ADS message could not be sent. Reducing the number of ADS messages per cycle will help. - Error - - - WrongReceiveHMSG - Wrong HMSG. - Error - - - TargetPortNotFound - Target port not found – ADS server is not started or is not reachable. - Error - - - TargetMachineNotFound - Target computer not found – AMS route was not found. - Error - - - UnknownCommandID - Unknown command ID. - Error - - - BadTaskID - Invalid task ID. - Error - - - NoIO - No IO. - Error - - - UnknownAdsCommand - Unknown AMS command. - Error - - - Win32Error - Win32 error. - Error - - - PortNotConnected - Port not connected. - Error - - - InvalidAdsLength - Invalid AMS length. - Error - - - InvalidAdsNetID - Invalid AMS Net ID. - Error - - - LowInstallationLevel - Low installation level – TwinCAT 2 license error. - Error - - - NoDebugAvailable - No debugging available. - Error - - - PortDisabled - Port disabled – TwinCAT system service not started. - Error - - - PortAlreadyConnected - Port already connected. - Error - - - AdsSyncWin32Error - AMS Sync Win32 error. - Error - - - AdsSyncTimeout - AMS Sync Timeout. - Error - - - AdsSyncAmsError - AMS Sync error. - Error - - - AdsSyncNoIndexMap - No index map for AMS Sync available. - Error - - - InvalidAdsPort - Invalid AMS port. - Error - - - NoMemory - No memory. - Error - - - TCPSendError - TCP send error. - Error - - - HostUnreachable - Host unreachable. - Error - - - InvalidAMSFragment - Invalid AMS fragment. - Error - - - AdsSecTLSSendError - TLS send error – secure ADS connection failed. - Error - - - AdsSecAccessDenied - Access denied – secure ADS access denied. - Error - - - - Interner Fehler. - - - Keine Echtzeit. - - - Zuweisung gesperrt - Speicherfehler. - - - Postfach voll – Es konnte die ADS Nachricht nicht versendet werden. Reduzieren der Anzahl der ADS Nachrichten pro Zyklus bringt Abhilfe. - - - Falsches HMSG. - - - Ziel-Port nicht gefunden – ADS Server ist nicht gestartet oder erreichbar. - - - Unbekannte Befehl-ID. - - - Ungültige Task-ID. - - - Kein IO. - - - Unbekannter AMS-Befehl. - - - Win32 Fehler. - - - Port nicht verbunden. - - - Ungültige AMS-Länge. - - - Ungültige AMS Net ID. - - - Installations-Level ist zu niedrig – TwinCAT 2 Lizenzfehler. - - - Kein Debugging verfügbar. - - - Port deaktiviert – TwinCAT System Service nicht gestartet. - - - Port bereits verbunden. - - - AMS Sync Win32 Fehler. - - - AMS Sync Timeout. - - - AMS Sync Fehler. - - - Keine Index-Map für AMS Sync vorhanden. - - - Ungültiger AMS-Port. - - - Kein Speicher. - - - TCP Sendefehler. - - - Host nicht erreichbar. - - - Ungültiges AMS Fragment. - - - TLS Sendefehler – Secure ADS Verbindung fehlgeschlagen. - - - Zugriff Verweigert – Secure ADS Zugriff verweigert. - - - - - - - - - - - ST_TcSystemEventClass - 5760 - - InternalError - TcEventEntry - 192 - 0 - - - .uuidEventClass.Data1 - 3140131225 - - - .uuidEventClass.Data2 - 4142 - - - .uuidEventClass.Data3 - 16922 - - - .uuidEventClass.Data4[0] - 141 - - - .uuidEventClass.Data4[1] - 61 - - - .uuidEventClass.Data4[2] - 176 - - - .uuidEventClass.Data4[3] - 102 - - - .uuidEventClass.Data4[4] - 14 - - - .uuidEventClass.Data4[5] - 7 - - - .uuidEventClass.Data4[6] - 177 - - - .uuidEventClass.Data4[7] - 254 - - - .nEventID - E_TcSystemEventClass.InternalError - - - .eSeverity - TcEventSeverity.Error - - - - - NoRTime - TcEventEntry - 192 - 192 - - - .uuidEventClass.Data1 - 3140131225 - - - .uuidEventClass.Data2 - 4142 - - - .uuidEventClass.Data3 - 16922 - - - .uuidEventClass.Data4[0] - 141 - - - .uuidEventClass.Data4[1] - 61 - - - .uuidEventClass.Data4[2] - 176 - - - .uuidEventClass.Data4[3] - 102 - - - .uuidEventClass.Data4[4] - 14 - - - .uuidEventClass.Data4[5] - 7 - - - .uuidEventClass.Data4[6] - 177 - - - .uuidEventClass.Data4[7] - 254 - - - .nEventID - E_TcSystemEventClass.NoRTime - - - .eSeverity - TcEventSeverity.Error - - - - - AllocationLockedMemoryError - TcEventEntry - 192 - 384 - - - .uuidEventClass.Data1 - 3140131225 - - - .uuidEventClass.Data2 - 4142 - - - .uuidEventClass.Data3 - 16922 - - - .uuidEventClass.Data4[0] - 141 - - - .uuidEventClass.Data4[1] - 61 - - - .uuidEventClass.Data4[2] - 176 - - - .uuidEventClass.Data4[3] - 102 - - - .uuidEventClass.Data4[4] - 14 - - - .uuidEventClass.Data4[5] - 7 - - - .uuidEventClass.Data4[6] - 177 - - - .uuidEventClass.Data4[7] - 254 - - - .nEventID - E_TcSystemEventClass.AllocationLockedMemoryError - - - .eSeverity - TcEventSeverity.Error - - - - - InsertMailboxError - TcEventEntry - 192 - 576 - - - .uuidEventClass.Data1 - 3140131225 - - - .uuidEventClass.Data2 - 4142 - - - .uuidEventClass.Data3 - 16922 - - - .uuidEventClass.Data4[0] - 141 - - - .uuidEventClass.Data4[1] - 61 - - - .uuidEventClass.Data4[2] - 176 - - - .uuidEventClass.Data4[3] - 102 - - - .uuidEventClass.Data4[4] - 14 - - - .uuidEventClass.Data4[5] - 7 - - - .uuidEventClass.Data4[6] - 177 - - - .uuidEventClass.Data4[7] - 254 - - - .nEventID - E_TcSystemEventClass.InsertMailboxError - - - .eSeverity - TcEventSeverity.Error - - - - - WrongReceiveHMSG - TcEventEntry - 192 - 768 - - - .uuidEventClass.Data1 - 3140131225 - - - .uuidEventClass.Data2 - 4142 - - - .uuidEventClass.Data3 - 16922 - - - .uuidEventClass.Data4[0] - 141 - - - .uuidEventClass.Data4[1] - 61 - - - .uuidEventClass.Data4[2] - 176 - - - .uuidEventClass.Data4[3] - 102 - - - .uuidEventClass.Data4[4] - 14 - - - .uuidEventClass.Data4[5] - 7 - - - .uuidEventClass.Data4[6] - 177 - - - .uuidEventClass.Data4[7] - 254 - - - .nEventID - E_TcSystemEventClass.WrongReceiveHMSG - - - .eSeverity - TcEventSeverity.Error - - - - - TargetPortNotFound - TcEventEntry - 192 - 960 - - - .uuidEventClass.Data1 - 3140131225 - - - .uuidEventClass.Data2 - 4142 - - - .uuidEventClass.Data3 - 16922 - - - .uuidEventClass.Data4[0] - 141 - - - .uuidEventClass.Data4[1] - 61 - - - .uuidEventClass.Data4[2] - 176 - - - .uuidEventClass.Data4[3] - 102 - - - .uuidEventClass.Data4[4] - 14 - - - .uuidEventClass.Data4[5] - 7 - - - .uuidEventClass.Data4[6] - 177 - - - .uuidEventClass.Data4[7] - 254 - - - .nEventID - E_TcSystemEventClass.TargetPortNotFound - - - .eSeverity - TcEventSeverity.Error - - - - - TargetMachineNotFound - TcEventEntry - 192 - 1152 - - - .uuidEventClass.Data1 - 3140131225 - - - .uuidEventClass.Data2 - 4142 - - - .uuidEventClass.Data3 - 16922 - - - .uuidEventClass.Data4[0] - 141 - - - .uuidEventClass.Data4[1] - 61 - - - .uuidEventClass.Data4[2] - 176 - - - .uuidEventClass.Data4[3] - 102 - - - .uuidEventClass.Data4[4] - 14 - - - .uuidEventClass.Data4[5] - 7 - - - .uuidEventClass.Data4[6] - 177 - - - .uuidEventClass.Data4[7] - 254 - - - .nEventID - E_TcSystemEventClass.TargetMachineNotFound - - - .eSeverity - TcEventSeverity.Error - - - - - UnknownCommandID - TcEventEntry - 192 - 1344 - - - .uuidEventClass.Data1 - 3140131225 - - - .uuidEventClass.Data2 - 4142 - - - .uuidEventClass.Data3 - 16922 - - - .uuidEventClass.Data4[0] - 141 - - - .uuidEventClass.Data4[1] - 61 - - - .uuidEventClass.Data4[2] - 176 - - - .uuidEventClass.Data4[3] - 102 - - - .uuidEventClass.Data4[4] - 14 - - - .uuidEventClass.Data4[5] - 7 - - - .uuidEventClass.Data4[6] - 177 - - - .uuidEventClass.Data4[7] - 254 - - - .nEventID - E_TcSystemEventClass.UnknownCommandID - - - .eSeverity - TcEventSeverity.Error - - - - - BadTaskID - TcEventEntry - 192 - 1536 - - - .uuidEventClass.Data1 - 3140131225 - - - .uuidEventClass.Data2 - 4142 - - - .uuidEventClass.Data3 - 16922 - - - .uuidEventClass.Data4[0] - 141 - - - .uuidEventClass.Data4[1] - 61 - - - .uuidEventClass.Data4[2] - 176 - - - .uuidEventClass.Data4[3] - 102 - - - .uuidEventClass.Data4[4] - 14 - - - .uuidEventClass.Data4[5] - 7 - - - .uuidEventClass.Data4[6] - 177 - - - .uuidEventClass.Data4[7] - 254 - - - .nEventID - E_TcSystemEventClass.BadTaskID - - - .eSeverity - TcEventSeverity.Error - - - - - NoIO - TcEventEntry - 192 - 1728 - - - .uuidEventClass.Data1 - 3140131225 - - - .uuidEventClass.Data2 - 4142 - - - .uuidEventClass.Data3 - 16922 - - - .uuidEventClass.Data4[0] - 141 - - - .uuidEventClass.Data4[1] - 61 - - - .uuidEventClass.Data4[2] - 176 - - - .uuidEventClass.Data4[3] - 102 - - - .uuidEventClass.Data4[4] - 14 - - - .uuidEventClass.Data4[5] - 7 - - - .uuidEventClass.Data4[6] - 177 - - - .uuidEventClass.Data4[7] - 254 - - - .nEventID - E_TcSystemEventClass.NoIO - - - .eSeverity - TcEventSeverity.Error - - - - - UnknownAdsCommand - TcEventEntry - 192 - 1920 - - - .uuidEventClass.Data1 - 3140131225 - - - .uuidEventClass.Data2 - 4142 - - - .uuidEventClass.Data3 - 16922 - - - .uuidEventClass.Data4[0] - 141 - - - .uuidEventClass.Data4[1] - 61 - - - .uuidEventClass.Data4[2] - 176 - - - .uuidEventClass.Data4[3] - 102 - - - .uuidEventClass.Data4[4] - 14 - - - .uuidEventClass.Data4[5] - 7 - - - .uuidEventClass.Data4[6] - 177 - - - .uuidEventClass.Data4[7] - 254 - - - .nEventID - E_TcSystemEventClass.UnknownAdsCommand - - - .eSeverity - TcEventSeverity.Error - - - - - Win32Error - TcEventEntry - 192 - 2112 - - - .uuidEventClass.Data1 - 3140131225 - - - .uuidEventClass.Data2 - 4142 - - - .uuidEventClass.Data3 - 16922 - - - .uuidEventClass.Data4[0] - 141 - - - .uuidEventClass.Data4[1] - 61 - - - .uuidEventClass.Data4[2] - 176 - - - .uuidEventClass.Data4[3] - 102 - - - .uuidEventClass.Data4[4] - 14 - - - .uuidEventClass.Data4[5] - 7 - - - .uuidEventClass.Data4[6] - 177 - - - .uuidEventClass.Data4[7] - 254 - - - .nEventID - E_TcSystemEventClass.Win32Error - - - .eSeverity - TcEventSeverity.Error - - - - - PortNotConnected - TcEventEntry - 192 - 2304 - - - .uuidEventClass.Data1 - 3140131225 - - - .uuidEventClass.Data2 - 4142 - - - .uuidEventClass.Data3 - 16922 - - - .uuidEventClass.Data4[0] - 141 - - - .uuidEventClass.Data4[1] - 61 - - - .uuidEventClass.Data4[2] - 176 - - - .uuidEventClass.Data4[3] - 102 - - - .uuidEventClass.Data4[4] - 14 - - - .uuidEventClass.Data4[5] - 7 - - - .uuidEventClass.Data4[6] - 177 - - - .uuidEventClass.Data4[7] - 254 - - - .nEventID - E_TcSystemEventClass.PortNotConnected - - - .eSeverity - TcEventSeverity.Error - - - - - InvalidAdsLength - TcEventEntry - 192 - 2496 - - - .uuidEventClass.Data1 - 3140131225 - - - .uuidEventClass.Data2 - 4142 - - - .uuidEventClass.Data3 - 16922 - - - .uuidEventClass.Data4[0] - 141 - - - .uuidEventClass.Data4[1] - 61 - - - .uuidEventClass.Data4[2] - 176 - - - .uuidEventClass.Data4[3] - 102 - - - .uuidEventClass.Data4[4] - 14 - - - .uuidEventClass.Data4[5] - 7 - - - .uuidEventClass.Data4[6] - 177 - - - .uuidEventClass.Data4[7] - 254 - - - .nEventID - E_TcSystemEventClass.InvalidAdsLength - - - .eSeverity - TcEventSeverity.Error - - - - - InvalidAdsNetID - TcEventEntry - 192 - 2688 - - - .uuidEventClass.Data1 - 3140131225 - - - .uuidEventClass.Data2 - 4142 - - - .uuidEventClass.Data3 - 16922 - - - .uuidEventClass.Data4[0] - 141 - - - .uuidEventClass.Data4[1] - 61 - - - .uuidEventClass.Data4[2] - 176 - - - .uuidEventClass.Data4[3] - 102 - - - .uuidEventClass.Data4[4] - 14 - - - .uuidEventClass.Data4[5] - 7 - - - .uuidEventClass.Data4[6] - 177 - - - .uuidEventClass.Data4[7] - 254 - - - .nEventID - E_TcSystemEventClass.InvalidAdsNetID - - - .eSeverity - TcEventSeverity.Error - - - - - LowInstallationLevel - TcEventEntry - 192 - 2880 - - - .uuidEventClass.Data1 - 3140131225 - - - .uuidEventClass.Data2 - 4142 - - - .uuidEventClass.Data3 - 16922 - - - .uuidEventClass.Data4[0] - 141 - - - .uuidEventClass.Data4[1] - 61 - - - .uuidEventClass.Data4[2] - 176 - - - .uuidEventClass.Data4[3] - 102 - - - .uuidEventClass.Data4[4] - 14 - - - .uuidEventClass.Data4[5] - 7 - - - .uuidEventClass.Data4[6] - 177 - - - .uuidEventClass.Data4[7] - 254 - - - .nEventID - E_TcSystemEventClass.LowInstallationLevel - - - .eSeverity - TcEventSeverity.Error - - - - - NoDebugAvailable - TcEventEntry - 192 - 3072 - - - .uuidEventClass.Data1 - 3140131225 - - - .uuidEventClass.Data2 - 4142 - - - .uuidEventClass.Data3 - 16922 - - - .uuidEventClass.Data4[0] - 141 - - - .uuidEventClass.Data4[1] - 61 - - - .uuidEventClass.Data4[2] - 176 - - - .uuidEventClass.Data4[3] - 102 - - - .uuidEventClass.Data4[4] - 14 - - - .uuidEventClass.Data4[5] - 7 - - - .uuidEventClass.Data4[6] - 177 - - - .uuidEventClass.Data4[7] - 254 - - - .nEventID - E_TcSystemEventClass.NoDebugAvailable - - - .eSeverity - TcEventSeverity.Error - - - - - PortDisabled - TcEventEntry - 192 - 3264 - - - .uuidEventClass.Data1 - 3140131225 - - - .uuidEventClass.Data2 - 4142 - - - .uuidEventClass.Data3 - 16922 - - - .uuidEventClass.Data4[0] - 141 - - - .uuidEventClass.Data4[1] - 61 - - - .uuidEventClass.Data4[2] - 176 - - - .uuidEventClass.Data4[3] - 102 - - - .uuidEventClass.Data4[4] - 14 - - - .uuidEventClass.Data4[5] - 7 - - - .uuidEventClass.Data4[6] - 177 - - - .uuidEventClass.Data4[7] - 254 - - - .nEventID - E_TcSystemEventClass.PortDisabled - - - .eSeverity - TcEventSeverity.Error - - - - - PortAlreadyConnected - TcEventEntry - 192 - 3456 - - - .uuidEventClass.Data1 - 3140131225 - - - .uuidEventClass.Data2 - 4142 - - - .uuidEventClass.Data3 - 16922 - - - .uuidEventClass.Data4[0] - 141 - - - .uuidEventClass.Data4[1] - 61 - - - .uuidEventClass.Data4[2] - 176 - - - .uuidEventClass.Data4[3] - 102 - - - .uuidEventClass.Data4[4] - 14 - - - .uuidEventClass.Data4[5] - 7 - - - .uuidEventClass.Data4[6] - 177 - - - .uuidEventClass.Data4[7] - 254 - - - .nEventID - E_TcSystemEventClass.PortAlreadyConnected - - - .eSeverity - TcEventSeverity.Error - - - - - AdsSyncWin32Error - TcEventEntry - 192 - 3648 - - - .uuidEventClass.Data1 - 3140131225 - - - .uuidEventClass.Data2 - 4142 - - - .uuidEventClass.Data3 - 16922 - - - .uuidEventClass.Data4[0] - 141 - - - .uuidEventClass.Data4[1] - 61 - - - .uuidEventClass.Data4[2] - 176 - - - .uuidEventClass.Data4[3] - 102 - - - .uuidEventClass.Data4[4] - 14 - - - .uuidEventClass.Data4[5] - 7 - - - .uuidEventClass.Data4[6] - 177 - - - .uuidEventClass.Data4[7] - 254 - - - .nEventID - E_TcSystemEventClass.AdsSyncWin32Error - - - .eSeverity - TcEventSeverity.Error - - - - - AdsSyncTimeout - TcEventEntry - 192 - 3840 - - - .uuidEventClass.Data1 - 3140131225 - - - .uuidEventClass.Data2 - 4142 - - - .uuidEventClass.Data3 - 16922 - - - .uuidEventClass.Data4[0] - 141 - - - .uuidEventClass.Data4[1] - 61 - - - .uuidEventClass.Data4[2] - 176 - - - .uuidEventClass.Data4[3] - 102 - - - .uuidEventClass.Data4[4] - 14 - - - .uuidEventClass.Data4[5] - 7 - - - .uuidEventClass.Data4[6] - 177 - - - .uuidEventClass.Data4[7] - 254 - - - .nEventID - E_TcSystemEventClass.AdsSyncTimeout - - - .eSeverity - TcEventSeverity.Error - - - - - AdsSyncAmsError - TcEventEntry - 192 - 4032 - - - .uuidEventClass.Data1 - 3140131225 - - - .uuidEventClass.Data2 - 4142 - - - .uuidEventClass.Data3 - 16922 - - - .uuidEventClass.Data4[0] - 141 - - - .uuidEventClass.Data4[1] - 61 - - - .uuidEventClass.Data4[2] - 176 - - - .uuidEventClass.Data4[3] - 102 - - - .uuidEventClass.Data4[4] - 14 - - - .uuidEventClass.Data4[5] - 7 - - - .uuidEventClass.Data4[6] - 177 - - - .uuidEventClass.Data4[7] - 254 - - - .nEventID - E_TcSystemEventClass.AdsSyncAmsError - - - .eSeverity - TcEventSeverity.Error - - - - - AdsSyncNoIndexMap - TcEventEntry - 192 - 4224 - - - .uuidEventClass.Data1 - 3140131225 - - - .uuidEventClass.Data2 - 4142 - - - .uuidEventClass.Data3 - 16922 - - - .uuidEventClass.Data4[0] - 141 - - - .uuidEventClass.Data4[1] - 61 - - - .uuidEventClass.Data4[2] - 176 - - - .uuidEventClass.Data4[3] - 102 - - - .uuidEventClass.Data4[4] - 14 - - - .uuidEventClass.Data4[5] - 7 - - - .uuidEventClass.Data4[6] - 177 - - - .uuidEventClass.Data4[7] - 254 - - - .nEventID - E_TcSystemEventClass.AdsSyncNoIndexMap - - - .eSeverity - TcEventSeverity.Error - - - - - InvalidAdsPort - TcEventEntry - 192 - 4416 - - - .uuidEventClass.Data1 - 3140131225 - - - .uuidEventClass.Data2 - 4142 - - - .uuidEventClass.Data3 - 16922 - - - .uuidEventClass.Data4[0] - 141 - - - .uuidEventClass.Data4[1] - 61 - - - .uuidEventClass.Data4[2] - 176 - - - .uuidEventClass.Data4[3] - 102 - - - .uuidEventClass.Data4[4] - 14 - - - .uuidEventClass.Data4[5] - 7 - - - .uuidEventClass.Data4[6] - 177 - - - .uuidEventClass.Data4[7] - 254 - - - .nEventID - E_TcSystemEventClass.InvalidAdsPort - - - .eSeverity - TcEventSeverity.Error - - - - - NoMemory - TcEventEntry - 192 - 4608 - - - .uuidEventClass.Data1 - 3140131225 - - - .uuidEventClass.Data2 - 4142 - - - .uuidEventClass.Data3 - 16922 - - - .uuidEventClass.Data4[0] - 141 - - - .uuidEventClass.Data4[1] - 61 - - - .uuidEventClass.Data4[2] - 176 - - - .uuidEventClass.Data4[3] - 102 - - - .uuidEventClass.Data4[4] - 14 - - - .uuidEventClass.Data4[5] - 7 - - - .uuidEventClass.Data4[6] - 177 - - - .uuidEventClass.Data4[7] - 254 - - - .nEventID - E_TcSystemEventClass.NoMemory - - - .eSeverity - TcEventSeverity.Error - - - - - TCPSendError - TcEventEntry - 192 - 4800 - - - .uuidEventClass.Data1 - 3140131225 - - - .uuidEventClass.Data2 - 4142 - - - .uuidEventClass.Data3 - 16922 - - - .uuidEventClass.Data4[0] - 141 - - - .uuidEventClass.Data4[1] - 61 - - - .uuidEventClass.Data4[2] - 176 - - - .uuidEventClass.Data4[3] - 102 - - - .uuidEventClass.Data4[4] - 14 - - - .uuidEventClass.Data4[5] - 7 - - - .uuidEventClass.Data4[6] - 177 - - - .uuidEventClass.Data4[7] - 254 - - - .nEventID - E_TcSystemEventClass.TCPSendError - - - .eSeverity - TcEventSeverity.Error - - - - - HostUnreachable - TcEventEntry - 192 - 4992 - - - .uuidEventClass.Data1 - 3140131225 - - - .uuidEventClass.Data2 - 4142 - - - .uuidEventClass.Data3 - 16922 - - - .uuidEventClass.Data4[0] - 141 - - - .uuidEventClass.Data4[1] - 61 - - - .uuidEventClass.Data4[2] - 176 - - - .uuidEventClass.Data4[3] - 102 - - - .uuidEventClass.Data4[4] - 14 - - - .uuidEventClass.Data4[5] - 7 - - - .uuidEventClass.Data4[6] - 177 - - - .uuidEventClass.Data4[7] - 254 - - - .nEventID - E_TcSystemEventClass.HostUnreachable - - - .eSeverity - TcEventSeverity.Error - - - - - InvalidAMSFragment - TcEventEntry - 192 - 5184 - - - .uuidEventClass.Data1 - 3140131225 - - - .uuidEventClass.Data2 - 4142 - - - .uuidEventClass.Data3 - 16922 - - - .uuidEventClass.Data4[0] - 141 - - - .uuidEventClass.Data4[1] - 61 - - - .uuidEventClass.Data4[2] - 176 - - - .uuidEventClass.Data4[3] - 102 - - - .uuidEventClass.Data4[4] - 14 - - - .uuidEventClass.Data4[5] - 7 - - - .uuidEventClass.Data4[6] - 177 - - - .uuidEventClass.Data4[7] - 254 - - - .nEventID - E_TcSystemEventClass.InvalidAMSFragment - - - .eSeverity - TcEventSeverity.Error - - - - - AdsSecTLSSendError - TcEventEntry - 192 - 5376 - - - .uuidEventClass.Data1 - 3140131225 - - - .uuidEventClass.Data2 - 4142 - - - .uuidEventClass.Data3 - 16922 - - - .uuidEventClass.Data4[0] - 141 - - - .uuidEventClass.Data4[1] - 61 - - - .uuidEventClass.Data4[2] - 176 - - - .uuidEventClass.Data4[3] - 102 - - - .uuidEventClass.Data4[4] - 14 - - - .uuidEventClass.Data4[5] - 7 - - - .uuidEventClass.Data4[6] - 177 - - - .uuidEventClass.Data4[7] - 254 - - - .nEventID - E_TcSystemEventClass.AdsSecTLSSendError - - - .eSeverity - TcEventSeverity.Error - - - - - AdsSecAccessDenied - TcEventEntry - 192 - 5568 - - - .uuidEventClass.Data1 - 3140131225 - - - .uuidEventClass.Data2 - 4142 - - - .uuidEventClass.Data3 - 16922 - - - .uuidEventClass.Data4[0] - 141 - - - .uuidEventClass.Data4[1] - 61 - - - .uuidEventClass.Data4[2] - 176 - - - .uuidEventClass.Data4[3] - 102 - - - .uuidEventClass.Data4[4] - 14 - - - .uuidEventClass.Data4[5] - 7 - - - .uuidEventClass.Data4[6] - 177 - - - .uuidEventClass.Data4[7] - 254 - - - .nEventID - E_TcSystemEventClass.AdsSecAccessDenied - - - .eSeverity - TcEventSeverity.Error - - - - - - TcTypeSystem - - - signature_flag - 33554432 - - - checksuperglobal - - - show - - - no-analysis - - - TcEventClass - TcSystemEventClass - - - - - TcGeneralAdsEventClass - TcGeneralAdsEventClass - - GeneralDeviceError - General device error. - Error - - - ServiceNotSupported - Service is not supported by the server. - Error - - - InvalidIndexGroup - Invalid index group. - Error - - - InvalidIndexOffset - Invalid index offset. - Error - - - InvalidAccess - Reading or writing is not permitted. - Error - - - InvalidSize - Parameter size is not correct. - Error - - - InvalidData - Invalid data value(s). - Error - - - NotReady - Device is not ready to operate. - Error - - - Busy - Device is busy. - Error - - - InvalidContext - Invalid operating system context. This can result from use of ADS function blocks in different tasks. - Error - - - NoMemory - Insufficient memory. - Error - - - InvalidParam - Invalid parameter value(s). - Error - - - NotFound - Not found (files, ...). - Error - - - Syntax - Syntax error in file or command. - Error - - - Incompatible - Objects do not match. - Error - - - AlreadyExists - Object already exists. - Error - - - SymbolNotFound - Symbol was not found. - Error - - - SymbolVersionInvalid - Invalid symbol version. This can occur due to an online change. Create a new handle. - Error - - - InvalidState - Device (server) is in invalid state. - Error - - - TransModeNotSupported - AdsTransMode is not supported. - Error - - - NotificationHandleInvalid - Notification handle is invalid. - Error - - - ClientUnknown - Notification client is not registered. - Error - - - NoMoreHandles - No further notification handles. - Error - - - InvalidWatchSize - Notification size too large. - Error - - - NotInit - Device is not initialized. - Error - - - DeviceTimeout - Device has a timeout. - Error - - - NoInterface - Interface query failed. - Error - - - InvalidInterface - Wrong interface is requested. - Error - - - InvalidClassID - Class ID is invalid. - Error - - - InvalidObjectID - Object ID is invalid. - Error - - - Pending - Request pending. - Error - - - Aborted - Request is aborted. - Error - - - SignalWarning - Signal warning. - Error - - - InvalidArrayIndex - Invalid array index. - Error - - - SymbolNotActive - Symbol is not active. - Error - - - AccessDenied - Access denied. - Error - - - LicenseMissing - Missing license. - Error - - - LicenseExpired - License is expired. - Error - - - LicenseExceeded - License is exceeded. - Error - - - LicenseInvalid - License is invalid. - Error - - - LicenseSystemID - License problem: System ID is invalid. - Error - - - LicenseNoTimeLimit - License not limited in time. - Error - - - LicenseFutureIssue - License problem: Time in the future. - Error - - - LicenseTimeTooLong - License time period is too long. - Error - - - Exception - Exception at system startup. - Error - - - LicenseDuplicated - License file is read twice. - Error - - - SignatureInvalid - Invalid signature. - Error - - - CertificateInvalid - Invalid certificate. - Error - - - LicenseOEMNotFound - Public key not known from OEM. - Error - - - LicenseRestricted - License not valid for this system ID. - Error - - - LicenseDemoDenied - Demo license prohibited. - Error - - - InvalidFunctionID - Invalid function ID. - Error - - - OutOfRange - Outside the valid range. - Error - - - InvalidAlignment - Invalid alignment. - Error - - - LicensePlatform - Invalid platform level. - Error - - - ForwardPassiveLevel - Context – forward to passive level. - Error - - - ForwardDispatchLevel - Context – forward to dispatch level. - Error - - - ForwardRealTime - Context – forward to real-time. - Error - - - InvalidServiceParam - Service contains an invalid parameter. - 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 has occurred – the remote terminal is not responding in the specified ADS timeout. - Error - - - Win32Error - Error in Win32 subsystem - Error - - - TimeoutInvalid - Invalid client timeout value. - Error - - - PortNotOpen - Port is not open. - Error - - - NoAMSAddr - No AMS address. - Error - - - SyncInternalError - Internal error in Ads sync. - Error - - - AddHash - Hash table overflow. - Error - - - RemoveHash - Key not found in hash table. - Error - - - NoMoreSymbols - No symbols in the cache. - Error - - - SyncResInvalid - Invalid response received - Error - - - SyncPortLocked - Sync port is locked. - Error - - - - Allgemeiner Gerätefehler. - - - Service wird vom Server nicht unterstützt. - - - Ungültige Index-Gruppe. - - - Ungültiger Index-Offset. - - - Lesen oder Schreiben ist nicht gestattet. - - - Parametergröße ist nicht korrekt. - - - Ungültige Daten-Werte. - - - Gerät ist nicht betriebsbereit. - - - Gerät ist beschäftigt. - - - Ungültiger Kontext vom Betriebssystem. Kann durch Verwendung von ADS Bausteinen in unterschiedlichen Tasks auftreten. - - - Nicht genügend Speicher. - - - Ungültige Parameter-Werte. - - - Nicht gefunden (Dateien,...). - - - Syntax-Fehler in Datei oder Befehl. - - - Objekte stimmen nicht überein. - - - Objekt ist bereits vorhanden. - - - Symbol nicht gefunden. - - - Symbol-Version ist ungültig. Kann durch einen Online-Change auftreten. Erzeuge einen neuen Handle. - - - Gerät (Server) ist im ungültigen Zustand. - - - AdsTransMode wird nicht unterstützt. - - - Notification Handle ist ungültig. - - - Notification-Client nicht registriert. - - - Keine weiteren Notification Handles. - - - Größe der Notification zu groß. - - - Gerät ist nicht initialisiert. - - - Gerät hat einen Timeout. - - - Interface Abfrage fehlgeschlagen. - - - Falsches Interface angefordert. - - - Class-ID ist ungültig. - - - Object-ID ist ungültig. - - - Anforderung steht aus. - - - Anforderung wird abgebrochen. - - - Signal-Warnung. - - - Ungültiger Array-Index. - - - Symbol ist nicht aktiv. - - - Zugriff verweigert. - - - Fehlende Lizenz. - - - Lizenz abgelaufen. - - - Lizenz überschritten. - - - Lizenz ungültig. - - - Lizenzproblem: System-ID ist ungültig. - - - Lizenz nicht zeitlich begrenzt. - - - Lizenzproblem: Zeitpunkt in der Zukunft. - - - Lizenz-Zeitraum ist zu lang. - - - Exception beim Systemstart. - - - Lizenz-Datei zweimal gelesen. - - - Ungültige Signatur. - - - Zertifikat ungültig. - - - Public Key vom OEM nicht bekannt. - - - Lizenz nicht gültig für diese System-ID. - - - Demo-Lizenz untersagt. - - - Funktions-ID ungültig. - - - Außerhalb des gültigen Bereiches. - - - Ungültiges Alignment. - - - Ungültiger Plattform Level. - - - Kontext – Weiterleitung zum Passiv-Level. - - - Kontext – Weiterleitung zum Dispatch-Level. - - - Kontext – Weiterleitung zur Echtzeit. - - - Dienst enthält einen ungültigen Parameter. - - - Polling-Liste ist leer. - - - Variablen-Verbindung bereits im Einsatz. - - - Die Invoke-ID ist bereits in Benutzung. - - - Timeout ist aufgetreten – Die Gegenstelle antwortet nicht im vorgegebenen ADS Timeout. - - - Fehler im Win32 Subsystem. - - - Ungültiger Client Timeout-Wert. - - - Port nicht geöffnet. - - - Keine AMS Adresse. - - - Interner Fehler in Ads-Sync. - - - Überlauf der Hash-Tabelle. - - - Schlüssel in der Hash-Tabelle nicht gefunden. - - - Keine Symbole im Cache. - - - Ungültige Antwort erhalten. - - - Sync Port ist verriegelt. - - + + Misc_StartupNumLockState + 27304174401159169 + Numlock state at system startup, BOOL, read/write + + + Misc_AutoLogonUser + 12386000635494405 + auto logon user at system startup, STRING, read-only + + + NIC_ModuleCnt + 81909228961267712 + number of NIC modules, USINT, read-only + + + NIC_Name + 12384909713735683 + NIC adapter name, STRING, read-only + + + NIC_MACAddress + 7881310086430721 + MAC address, STRING, constant + + + NIC_IPv4Address + 30399308223283202 + IPv4 Address, STRING, read/write + + + NIC_IPv4SubnetMask + 30399308223283203 + IPv4 Subnet Mask, STRING, read/write + + + NIC_DHCP + 27303083479465988 + DHCP, BOOL, read/write + + + NIC_IPv4DefGateway + 30399308223283205 + IPv4 Default Gateway, STRING, read/write + + + NIC_IPv4DNSServers + 30399308223283206 + IPv4 DNS servers (comma separated), STRING, read/write + + + NIC_IPv4DNS + 30399308223283206 + IPv4 DNS servers (comma separated), STRING, read/write + + + NIC_VirtualDeviceName + 30399308223283207 + virtual device name, STRING, read/write + + + NIC_IPv4DNSServersActive + 12384909713801224 + IPv4 DNS active servers (only under TC/BSD and TC/RTOS), STRING, read-only + + + OS_Name + 12385004203016195 + name of OS (operating system), STRING, read-only + + + OS_VersionMajor + 28992027829010433 + OS major version, UDINT, read-only + + + OS_VersionMinor + 28992027829010434 + OS minor version, UDINT, read-only + + + OS_VersionBuild + 28992027829010435 + OS build version, UDINT, read-only + + + OS_CSDVersion + 30399402712563716 + OS CSD version, STRING, read-only + + + PhyDrv_ModuleCnt + 81909353515319296 + number of physical drive modules, USINT, read-only + + + PhyDrv_SerialNumber + 12385034267787267 + serial number of physical drive, STRING, read-only + + + PhyDrv_Index + 10977659384299521 + index, UDINT, read-only + + + PhyDrv_Caption + 12385034267852802 + caption, STRING, read-only + + + PhyDrv_LogicalPartitions + 12385034267852803 + logical partitions (comma separated list), STRING, read-only + + + PhyDrv_PartitionCnt + 10977659384299524 + partition count, UDINT, read-only + + + PhyDrv_TotalCylinders + 11540609337720837 + total cylinders, ULINT, read-only + + + PhyDrv_TotalHeads + 10977659384299526 + total heads, UDINT, read-only + + + PhyDrv_TotalSectors + 11540609337720839 + total sectors, ULINT, read-only + + + PhyDrv_TotalTracks + 11540609337720840 + total tracks, ULINT, read-only + + + PhyDrv_NoSMARTAttributes + 10414709430943744 + number of SMART attributes (SMARTAttrList length), UINT, read-only + + + PhyDrv_SMARTAttrList_ID + 153966947553378305 + attribute ID, USINT, read-only + + + PhyDrv_SMARTAttrList_StatusFlag + 154529897506865153 + status flag, UINT, read-only + + + PhyDrv_SMARTAttrList_CurrentValue + 153966947553509377 + current value, USINT, read-only + + + PhyDrv_SMARTAttrList_WorstValue + 153966947553574913 + worst value, USINT, read-only + + + PhyDrv_SMARTAttrList_RawData + 156500222344036353 + raw data (6 bytes), STRING, read-only + + + PhyDrv_SMARTAttrList_Threshold + 153966947553705985 + threshold, USINT, read-only + + + MassStg_NoDrives + 10414713725845504 + number of mass storage drives (DriveList length), UINT, read-only + + + MassStg_DriveList_SerialNumber + 156500226638675969 + serial number of mass storage drive, STRING, read-only + + + MassStg_DriveList_SataPort + 153966951848345601 + SATA-Port of mass storage drive, USINT, read-only + + + MassStg_DriveList_PartitionLetter + 156500226638807041 + partition letter(s) of mass storage drive, STRING, read-only + + + MassStg_DriveList_DriveName + 156500226638872577 + drive name, STRING, read-only + + + MassStg_DriveList_DriveType + 153966951848542209 + drive type (0=Unknown,1=HD,2=SSD,3=CFast,4=CF), USINT, read-only + + + MassStg_DriveList_EraseCntAverage + 155655801708871681 + erase count average (flashdrive SMART), ULINT, read-only + + + MassStg_DriveList_EraseCntSpec + 155655801708937217 + erase count specified (flashdrive SMART), ULINT, read-only + + + MassStg_DriveList_EraseCyclesLeft + 154248426825449473 + erase cycles left in percent (flashdrive SMART), INT, read-only + + + MassStg_DriveList_SpareBlocksRemain + 155655801709068289 + spare blocks remaining (flashdrive SMART), ULINT, read-only + + + MassStg_DriveList_SpareBlocksInit + 155655801709133825 + spare blocks initial (flashdrive SMART), ULINT, read-only + + + MassStg_DriveList_SpareBlocksLeft + 154248426825646081 + spare blocks left in percent (flashdrive SMART), INT, read-only + + + MassStg_DriveList_ReallocatedSectors + 155655801709264897 + reallocated sectors (harddisk SMART), ULINT, read-only + + + MassStg_DriveList_SpinRetries + 155655801709330433 + spin retries (harddisk SMART), ULINT, read-only + + + MassStg_DriveList_PendingSectors + 155655801709395969 + pending sectors (harddisk SMART), ULINT, read-only + + + MassStg_DriveList_UltraDmaCrcErrors + 155655801709461505 + Ultra DMA CRC Errors (harddisk SMART), ULINT, read-only + + + Software_MDPVersion + 9235756980928249856 + version of the MDP.exe service, STRING, read-only + + + Software_NoSoftwares + 10414619236564992 + number of software components (SWList length), UINT, read-only + + + Software_SWList_Name + 156500132149395457 + name of software, STRING, read-only + + + Software_SWList_Company + 156500132149460993 + company of software, STRING, read-only + + + Software_SWList_Date + 156500132149526529 + date of software, STRING, read-only + + + Software_SWList_Version + 156500132149592065 + version of software, STRING, read-only + + + TC_Version + 9235756972338315264 + TwinCAT version, STRING, read-only + + + TC_VersionMajor + 10414610646630401 + TwinCAT major version, UINT, read-only + + + TC_VersionMinor + 10414610646630402 + TwinCAT minor version, UINT, read-only + + + TC_VersionBuild + 10414610646630403 + TwinCAT build version, UINT, read-only + + + TC_VersionRevision + 10414610646630412 + TwinCAT revision version, UINT, read-only + + + TC_AmsNetID + 30399333993086980 + Ams Net ID, STRING, read/write (reboot required) + + + TC_Status + 10414610646630406 + TwinCAT status, UINT, read-only + + + TC_RunAsDev + 28429009156112391 + run as device (only under WinCE), UINT, read/write + + + TC_ShowTargetVisu + 28429009156112392 + show target visu (only under WinCE), UINT, read/write + + + TC_LogFileSize + 28991959109533705 + log file size (only under WinCE), UDINT, read/write + + + TC_LogFilePath + 30399333993086986 + log file path (only under WinCE), STRING, read/write + + + TC_SystemID + 12384935483605003 + TwinCAT system ID, STRING, read-only + + + TC_NoRoutes + 10414610646695936 + number of TwinCAT ads routes (RouteList length), UINT, read-only + + + TC_RouteList_Name + 156500123559526401 + name of TC ads route, STRING, read-only + + + TC_RouteList_Address + 156500123559591937 + address of TC ads route, STRING, read-only + + + TC_RouteList_AmsAddress + 156500123559657473 + address of TC ads route, STRING, read-only + + + TC_RouteList_Flags + 155092748676169729 + flags of TC ads route, UDINT, read-only + + + TC_RouteList_Timeout + 155092748676235265 + timeout of TC ads route, UDINT, read-only + + + TC_RouteList_Transport + 154529798722879489 + transport type of TC ads route (Tc2_Utilities.E_RouteTransportType), UINT, read-only + + + TC_Logfile + 12384935484063744 + TwinCAT Logfile, STRING, read-only + + + TC_RouterMemoryMaximum + 11540510553997313 + maximum router memory size (bytes), ULINT, read-only + + + TC_RouterMemoryAvailable + 11540510553997314 + available router memory size (bytes), ULINT, read-only + + + TC_RouterRegisteredPorts + 10977560600576003 + registered ports, UDINT, read-only + + + TC_RouterRegisteredDrivers + 10977560600576004 + registered drivers, UDINT, read-only + + + TC_RouterRegisteredTransports + 10977560600576005 + registered transports, UDINT, read-only + + + TC_RouterDebugWindow + 9288710740312070 + debug window (TRUE if ADS logger is active), BOOL, read-only + + + TC_RouterMailboxSize + 10977560600576007 + router mailbox size, UDINT, read-only + + + TC_RouterMailboxUsedEntries + 10977560600576008 + used entries in router mailbox, UDINT, read-only + + + TC_HeapMemoryMaximum + 11540510554062849 + maximum memory for TcOS (bytes) (only under TC/RTOS), ULINT, read-only + + + TC_HeapMemoryAvailable + 11540510554062850 + available memory in TcOS (bytes) (only under TC/RTOS), ULINT, read-only + + + Time_SNTPServer + 30399312518250497 + SNTP server name or IP (empty string if no sync), STRING, read/write + + + Time_SNTPRefresh + 28991937634697218 + SNTP refresh in seconds, UDINT, read/write + + + Time_SecondsSince1970UTC + 28991937634697219 + seconds since midnight January 1. 1970 as UTC, UDINT, read/write + + + Time_DateAndTime + 30399312518250500 + date and time (ISO 8601) as local time, STRING, read/write + + + Time_OffsetLocalTimeToUTC + 28710462657986566 + offset in seconds of local time to UTC, DINT, read/write + + + Time_SecondsSince1970 + 28991937634697223 + seconds since midnight January 1. 1970 as local time, UDINT, read/write + + + UPS_Name + 12385029972819971 + UPS name, STRING, read-only + + + UPS_Model + 12385029972885505 + UPS model, STRING, read-only + + + UPS_Vendor + 12385029972885506 + vendor name, STRING, read-only + + + UPS_Version + 9851755182489603 + version, USINT, read-only + + + UPS_Revision + 9851755182489604 + revision, USINT, read-only + + + UPS_Build + 10414705135910917 + build, UINT, read-only + + + UPS_SerialNumber + 12385029972885510 + serial number, STRING, read-only + + + UPS_PowerStatus + 9851755182489607 + power status (0=Unknown,1=Online,2=OnBatteries), USINT, read-only + + + UPS_ComStatus + 9851755182489608 + communication status (0=Unknown,1=Ok,2=Error), USINT, read-only + + + UPS_BatteryStatus + 9851755182489609 + battery status (0=Unknown,1=Ok,2=ChangeBattery), USINT, read-only + + + UPS_BatteryCapacity + 9851755182489610 + battery capacity (%), USINT, read-only + + + UPS_BatteryRuntime + 10977655089332235 + battery runtime (s), UDINT, read-only + + + UPS_PersPowerFailCnt + 9288805229068300 + persistent power fail count, BOOL, read-only + + + UPS_PowerFailCnt + 10414705135910925 + power fail counter, UINT, read-only + + + UPS_FanError + 9288805229068302 + fan error, BOOL, read-only + + + UPS_NoBattery + 9288805229068303 + no battery, BOOL, read-only + + + UPS_TestCapacity + 18296004483809296 + test capacity, BOOL, write-only + + + UPS_BatteryReplaceDate + 12385029972885521 + battery replace date, STRING, read-only + + + UPS_IntervalServiceStatus + 9288805229068306 + interval service status, BOOL, read-only + + + UWF_CurrentState + 9288818113970177 + current protection state, BOOL, read-only + + + UWF_CurrentOverlayMode + 10977667974234114 + overlay mode of current state (0=RAM,1=Disk), UDINT, read-only + + + UWF_CurrentOverlaySize + 10977667974234115 + overlay size of current state (MB), UDINT, read-only + + + UWF_NextState + 27303216623517697 + next protection state, BOOL, read/write + + + UWF_NextOverlayMode + 28992066483781634 + overlay mode of next state (0=RAM,1=Disk), UDINT, read/write + + + UWF_NextOverlaySize + 28992066483781635 + overlay size of next state (MB), UDINT, read/write + + + UWF_NoVolumes + 10414718020943872 + number of volumes (VolumeList length), UINT, read-only + + + UWF_VolumeList_Name + 156500230933774337 + volume name, STRING, read-only + + + UWF_VolumeList_CurrentState + 153404006190022657 + current protection state of volume, BOOL, read-only + + + UWF_VolumeList_NextState + 153404006190088193 + next protection state of volume, BOOL, read-only + + + + qualified_only + + + + + USINT (USINT#1..255) + 8 + USINT + + + LowerBorder + 1 + + + UpperBorder + 255 + + + + + E_IPCDiag_Datatype + parameter datatype 1..15 + 8 + BYTE + + eBOOL + 1 + size: 1 byte + + + eSINT + 2 + + + eUSINT + 3 + + + eINT + 4 + size: 2 bytes + + + eUINT + 5 + + + eDINT + 6 + size: 4 bytes + + + eUDINT + 7 + + + eREAL + 10 + + + eULINT + 9 + size: 8 bytes + eLINT := 8, + + + eSTRING + 12 + eLREAL := 16#B, + default size: 256 bytes + + + + qualified_only + + + + + FB_IPCDiag_ParameterKey + 896 + + eParamKey + E_IPCDiag_ParameterKey + 64 + 64 + + + _eDatatype + E_IPCDiag_Datatype + 8 + 128 + + + cKeyMask_Access + LWORD + 64 + 192 + + 67553994410557440 + + + + displaymode + hex + + + + + cKeyMask_Datatype + LWORD + 64 + 256 + + 4222124650659840 + + + + displaymode + hex + + + + + cKeyMask_ModType + LWORD + 64 + 320 + + 281470681743360 + + + + displaymode + hex + + + + + cKeyMask_Area + LWORD + 64 + 384 + + 4026531840 + + + + displaymode + hex + + + + + cKeyMask_ModIdx + LWORD + 64 + 448 + + 267386880 + + + + displaymode + hex + + + + + cKeyMask_TableId + LWORD + 64 + 512 + + 983040 + + + + displaymode + hex + + + + + cKeyMask_Flags + LWORD + 64 + 576 + + 65280 + + + + displaymode + hex + + + + + cKeyMask_SubIdx + LWORD + 64 + 640 + + 255 + + + + displaymode + hex + + + + + cKeyMask_IsList + LWORD + 64 + 704 + + 144115188075855872 + + + + displaymode + hex + + + + + cKeyMask_IsModuleCnt + LWORD + 64 + 768 + + 72057594037927936 + + + + displaymode + hex + + + + + cKeyMask_IsConstant + LWORD + 64 + 832 + + 4503599627370496 + + + + displaymode + hex + + + + + IsModuleCnt + BOOL + 8 + + + GetMDPArea + BYTE + 8 + + + GetMDPTableID + returns the MDP table id (part of MDP address) + BYTE + 8 + + + GetMDPSubIndex + BYTE + 8 + + + __geteDatatype + E_IPCDiag_Datatype + 8 + + eDatatype + E_IPCDiag_Datatype + 8 + + + + property + + + + + GetMDPFlags + BYTE + 8 + + + IsListParam + BOOL + 8 + + + IsConstantParam + BOOL + 8 + + nAccess + BYTE + 8 + + + + GetMDPModuleType + E_IPCDiag_ModuleType + 16 + + + SetKey + + eParamKey + E_IPCDiag_ParameterKey + 64 + + + + + PouType + FunctionBlock + + + + + FB_DynMem_Buffer + provides a dynamically created buffer for individual data. + 128 + + _pBuffer + PVOID + 32 + 32 + + 0 + + + + conditionalshow + + + + + _nBufferSize + UDINT + 32 + 64 + + 0 + + + + conditionalshow + + + + + ipMemMan + I_DynMem_Manager + 32 + 96 + + + nInstanceCnt + UDINT + 32 + + + bAvailable + BOOL + is TRUE if a buffer is available. + 8 + 83215256 + + + nBufferSize + UDINT + current buffer size in bytes. + 32 + 83215208 + + + __getnBufferSize + UDINT + 32 + + nBufferSize + UDINT + 32 + + + + property + + + + + Resize + | This method performs a resize of the buffer memory. +| Return value: TRUE => Success, FALSE => Failure + BOOL + 8 + + nSize + new buffer size [in bytes] + UDINT + 32 + + + bPreserve + TRUE => preserve old content, FALSE=> don't preserve old content + BOOL + 8 + + + bReset + zero the allocated memory (before preserving) + BOOL + 8 + + + pNew + PVOID + 32 + + + cbNew + UDINT + 32 + + + + CreateBuffer + | creates a buffer by allocating dynamic memory. +| Returns TRUE if succeeded. + BOOL + 8 + + nSize + buffer size [in bytes] + UDINT + 32 + + + bReset + zero the allocated memory + BOOL + 8 + + + + Clear + | This method clears the buffer memory. +| Return value: TRUE => Success, FALSE => Failure + BOOL + 8 + + + PassBufferOwnership + returns TRUE if succeeded + returns FALSE if no buffers was available. + returns FALSE if one of the inputs is invalid. + BOOL + 8 + + pBuffer + PVOID + 32 + + + nBufferSize + UDINT + 32 + + + + RetrieveBufferOwnership + returns TRUE if succeeded + BOOL + 8 + + pBuffer + PVOID + 32 + + + nBufferSize + UDINT + 32 + + + + __getpBuffer + PVOID + 32 + + pBuffer + PVOID + 32 + + + + property + + + + + __getbAvailable + BOOL + 8 + + bAvailable + BOOL + 8 + + + + property + + + + + DeleteBuffer + | deletes the created buffer and frees the allocated memory. +| Returns TRUE if succeeded. + BOOL + 8 + + + + PouType + FunctionBlock + + + tc_no_symbol + + + no_explicit_call + do not call this POU directly + + + + + FB_IPCDiag_MDPReadTable + reads a full table of MDP parameters + 1888 + FB_IPCDiag_MDPRead + + + PouType + FunctionBlock + + + + + ST_IPCDiag_MDPAddress + size of structure instance: 4 bytes + 32 + + nIndex + WORD + 16 + 0 + + + nFlags + BYTE + 8 + 16 + + + nSubIndex + BYTE + 8 + 24 + + + + FB_IPCDiag_MDPReadSumCmd + reads multiple MDP addresses with parameters of the same datatype + 2464 + + bExecute + BOOL + Function block execution is triggered by a rising edge at this input. + 8 + 32 + + + ItemType + Input + + + + + pMDPAddress + ST_IPCDiag_MDPAddress + + 0 + 1001 + + 32 + 64 + + + ItemType + Input + + + + + cbMDPAddress + UDINT + 32 + 96 + + + ItemType + Input + + + + + pDstBuf + PVOID + Contains the address of the buffer for the received data. + 32 + 128 + + + ItemType + Input + + + + + nDstBufSize + UDINT + Contains the max. number of bytes to be received. + 32 + 160 + + + ItemType + Input + + + + + tTimeout + TIME + States the time before the function is cancelled. + 32 + 192 + + 5000 + + + + ItemType + Input + + + + + sNetId + T_AmsNetID + keep empty '' for the local device + 192 + 224 + + + + + + ItemType + Input + + + + + bBusy + BOOL + 8 + 416 + + + ItemType + Output + + + + + bError + BOOL + 8 + 424 + + + ItemType + Output + + + + + hrErrorCode + HRESULT + 32 + 448 + + + ItemType + Output + + + + + nCount + UDINT + returns the number of bytes received + 32 + 480 + + + ItemType + Output + + + + + nDataOffset + UDINT + offset describes beginning of data in read buffer + 32 + 512 + + + ItemType + Output + + + + + fbCmdBuffer + FB_DynMem_Buffer + 128 + 544 + + + old_input_assignments + + + + + nErrID + UDINT + 32 + 672 + + + nCmds + UDINT + 32 + 704 + + + nIdxOffset + UDINT + 32 + 736 + + + displaymode + hex + + + + + nDataLen + UDINT + 32 + 768 + + + nDataLenSum + UDINT + 32 + 800 + + + fbAdsRdWrEx + ADSRDWRTEX + 1440 + 832 + + + .PORT + 10000 + + + .IDXGRP + 62212 + + + + + RisingEdge + R_TRIG + 64 + 2272 + + + i + UDINT + 32 + 2336 + + + cSizeOfMDPAddress + USINT + 8 + 2368 + + 4 + + + + cIdxGrp + UDINT + 32 + 2400 + + 0 + + + + cCmdSize + UDINT + 32 + 2432 + + 12 + + + + + PouType + FunctionBlock + + + + + FB_IPCDiag_ReadParameterBase + | reads an IPC diagnostic parameter. +| If the parameter exists in more than one module (configuration area) all values can be read at once. +| If the parameter is a list parameter the full list will be read. (but only of one specified module) + 12352 + I_IPCDiag_AccessParameter + + bExecute + BOOL + 8 + 64 + + + ItemType + Input + + + + + eParameterKey + E_IPCDiag_ParameterKey + 64 + 128 + + + ItemType + Input + + + + + nModuleIdx + USINT + optional module selection for parameters of configuration area: 0=all corresponding modules are read (or rather the first module is read in case of list parameters) + 8 + 192 + + 0 + + + + ItemType + Input + + + + + tTimeout + TIME + ADS communication timeout + 32 + 224 + + 5000 + + + + ItemType + Input + + + + + sNetId + T_AmsNetID + keep empty '' for the local device + 192 + 256 + + + + + + ItemType + Input + + + + + xReserved + DWORD + for future extension, do not use + 32 + 448 + + + ItemType + Input + + + + + fbRegister + FB_IPCDiag_Register + read-only + 32 + 480 + + + ItemType + InOut + + + + + bValid + BOOL + read data available =(NOT bBusy AND NOT bError) + 8 + 512 + + + ItemType + Output + + + + + bBusy + BOOL + 8 + 520 + + + ItemType + Output + + + + + bError + BOOL + TRUE if an error occurred. + 8 + 528 + + + ItemType + Output + + + + + hrErrorCode + HRESULT + '< 0' = error; '> 0' = info; '0' = no error/info + 32 + 544 + + + ItemType + Output + + + + + ipErrorMessage + I_TcMessage + shows detailed information about occurred errors + 32 + 576 + + + ItemType + Output + + + + + nReadParameterValues + USINT + number of read parameter values + 8 + 608 + + + ItemType + Output + + + + + nModuleCount + USINT + number of module instances (configuration area) with the demanded parameter + 8 + 616 + + + ItemType + Output + + + + + fbKey + FB_IPCDiag_ParameterKey + 896 + 640 + + + conditionalshow + + + + + nParamDatatypeSize + UINT + 16 + 1536 + + + conditionalshow + + + + + nModuleIdxSelected + USINT + 8 + 1552 + + 0 + + + + conditionalshow + + + + + nListLen + USINT + 8 + 1560 + + + conditionalshow + + + + + fbResultBuffer + FB_DynMem_Buffer + 128 + 1568 + + + old_input_assignments + + + conditionalshow + + + + + nValidDataOffset + UDINT + 32 + 1696 + + + conditionalshow + + + + + RisingEdge + R_TRIG + 64 + 1728 + + + conditionalshow + + + + + nState + USINT + 8 + 1792 + + + conditionalshow + + + + + bSubExecute + BOOL + 8 + 1800 + + + conditionalshow + + + + + bSubBusy + BOOL + 8 + 1808 + + + conditionalshow + + + + + fbReadMDP + FB_IPCDiag_MDPRead + 1888 + 1824 + + + conditionalshow + + + + + nIndex + WORD + 16 + 3712 + + + displaymode + hex + + + conditionalshow + + + + + nFlags + BYTE + 8 + 3728 + + + conditionalshow + + + + + nSubIndex + BYTE + 8 + 3736 + + + conditionalshow + + + + + nArea + BYTE + 8 + 3744 + + + conditionalshow + + + + + nModuleId + BYTE + 8 + 3752 + + + conditionalshow + + + + + eModuleType + E_IPCDiag_ModuleType + 16 + 3760 + + + conditionalshow + + + + + nTempDW + DWORD + 32 + 3776 + + + displaymode + hex + + + conditionalshow + + + + + nTempLW + LWORD + 64 + 3840 + + + displaymode + hex + + + conditionalshow + + + + + fbReadTable + FB_IPCDiag_MDPReadTable + 1888 + 3904 + + + conditionalshow + + + + + fbBufferAddresses + FB_DynMem_Buffer + 128 + 5792 + + + old_input_assignments + + + conditionalshow + + + + + nAddresses + USINT + 8 + 5920 + + + conditionalshow + + + + + fbReadSum + FB_IPCDiag_MDPReadSumCmd + 2464 + 5952 + + + conditionalshow + + + + + stMDPAddress + ST_IPCDiag_MDPAddress + 32 + 8416 + + + conditionalshow + + + + + i + USINT + 8 + 8448 + + + conditionalshow + + + + + nTemp + UDINT + 32 + 8480 + + + conditionalshow + + + + + fbErrorMessage + FB_TcMessage + 3488 + 8512 + + + conditionalshow + + + + + FallingEdgeBUSY + F_TRIG + 64 + 12000 + + + conditionalshow + + + + + stEventEntryTemp + TcEventEntry + 192 + 12064 + + + conditionalshow + + + + + cSizeOfMDPAddress + USINT + 8 + 12256 + + 4 + + + + conditionalshow + + + + + cStateReadSingle + USINT + 8 + 12264 + + 0 + + + + conditionalshow + + + + + cStateReadTable + USINT + 8 + 12272 + + 1 + + + + conditionalshow + + + + + cStateReadSum + USINT + 8 + 12280 + + 2 + + + + conditionalshow + + + + + cStateBusy + USINT + 8 + 12288 + + 11 + + + + conditionalshow + + + + + cStateExit + USINT + 8 + 12296 + + 100 + + + + conditionalshow + + + + + ipMemMan + I_DynMem_Manager + dynamic memory manager used in the Tc3_IPCDiag library + 32 + 83215332 + + + GetParameterByIdx + access a read parameter by index specification + HRESULT + 32 + + pBuffer + parameter buffer with a given size of nBufferSize + PVOID + 32 + + + nBufferSize + buffer size in bytes (for one parameter value) + UDINT + 32 + + + nParameterIdx + selection of parameter value (1..nReadParameterValues) (e.g. equals list index in case of list parameter) + USINT (1..255) + 8 + + + nErrTmp + UDINT + 32 + + + + CopyStringFromBuffer + if multiple strings are available (by Sum Read) one string can be copied with this method + + pDstBuf + Contains the address of the buffer for the received data. + BYTE + 32 + + + nDstBufSize + Contains the max. number of bytes to be received. + UDINT + 32 + + + nParaIdx + selection of module idx or list idx (in case of list parameter) + USINT (1..255) + 8 + + + nParaSize + UDINT + 32 + + + ItemType + Output + + + + + nLenSum + UDINT + 32 + + + nLenTemp + UDINT + 32 + + + k + UDINT + 32 + + + + __getipMemMan + I_DynMem_Manager + 32 + + ipMemMan + I_DynMem_Manager + 32 + + + + property + + + + + GetParameter + access a read parameter (if more than one value is available all values can be copied at once, except for STRING types) + HRESULT + 32 + + pBuffer + parameter buffer with a given size of nBufferSize + PVOID + 32 + + + nBufferSize + buffer size in bytes (for one or more values) + UDINT + 32 + + + + Clear + HRESULT + 32 + + + GetParameterStrings + | access a read string parameter with multiple values. +| If more than one value is available all values can be copied to an ARRAY OF STRING at once. + HRESULT + 32 + + pBuffer + parameter buffer with a given size of nBufferSize + PVOID + 32 + + + nBufferSize + buffer size in bytes (for one or more values) + UDINT + 32 + + + nStrings + number of strings to be copied (each string with buffer size=nBufferSize/nStrings) + USINT + 8 + + + nParameterIdx + USINT (USINT#1..255) + 8 + + + nStringSize + UDINT + 32 + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + FB_IPCDiag_ReadParameter + | reads an IPC diagnostic parameter. +| If the parameter exists in more than one module (configuration area) all values can be read at once. +| If the parameter is a list parameter the full list will be read. (but only of one specified module) + 18240 + I_IPCDiag_AccessParameter + + bExecute + BOOL + 8 + 64 + + + ItemType + Input + + + + + eParameterKey + E_IPCDiag_ParameterKey + 64 + 128 + + + ItemType + Input + + + + + nModuleIdx + USINT + optional module selection for parameters of configuration area: 0=all corresponding modules are read (or rather the first module is read in case of list parameters) + 8 + 192 + + 0 + + + + ItemType + Input + + + + + tTimeout + TIME + ADS communication timeout + 32 + 224 + + 5000 + + + + ItemType + Input + + + + + sNetId + T_AmsNetID + keep empty '' for the local device + 192 + 256 + + + + + + ItemType + Input + + + + + xReserved + DWORD + for future extension, do not use + 32 + 448 + + + ItemType + Input + + + + + fbRegister + FB_IPCDiag_Register + read-only + 32 + 480 + + + ItemType + InOut + + + + + bValid + BOOL + read data available =(NOT bBusy AND NOT bError) + 8 + 512 + + + ItemType + Output + + + + + bBusy + BOOL + 8 + 520 + + + ItemType + Output + + + + + bError + BOOL + TRUE if an error occurred. + 8 + 528 + + + ItemType + Output + + + + + hrErrorCode + HRESULT + '< 0' = error; '> 0' = info; '0' = no error/info + 32 + 544 + + + ItemType + Output + + + + + ipErrorMessage + I_TcMessage + shows detailed information about occurred errors + 32 + 576 + + + ItemType + Output + + + + + nReadParameterValues + USINT + number of read parameter values + 8 + 608 + + + ItemType + Output + + + + + nModuleCount + USINT + number of module instances (configuration area) with the demanded parameter + 8 + 616 + + + ItemType + Output + + + + + RisingEdge + R_TRIG + 64 + 640 + + + conditionalshow + + + + + eParamSelected + E_IPCDiag_ParameterKey + 64 + 704 + + + conditionalshow + + + + + fbReadParam + FB_IPCDiag_ReadParameterBase + 12352 + 768 + + + conditionalshow + + + + + fbErrorMessage + FB_TcMessage + 3488 + 13120 + + + conditionalshow + + + + + FallingEdgeBUSY + F_TRIG + 64 + 16608 + + + conditionalshow + + + + + stEventEntryTemp + TcEventEntry + 192 + 16672 + + + conditionalshow + + + + + sMdpTcVersion + STRING(31) + 256 + 16864 + + + conditionalshow + + + + + nFreeSpaceOfVol + ULINT + 64 + 17152 + + + conditionalshow + + + + + __FB_IPCDIAG_READPARAMETER__READFREESPACEOFVOL__NSTATE + USINT + 8 + 17216 + + + conditionalshow + + + + + __FB_IPCDIAG_READPARAMETER__READFREESPACEOFVOL__NNOVOLUMES + USINT + 8 + 17224 + + + conditionalshow + + + + + __FB_IPCDIAG_READPARAMETER__READFREESPACEOFVOL__SDRIVELETTER + STRING(7) + 64 + 17232 + + + conditionalshow + + + + + __FB_IPCDIAG_READPARAMETER__READFREESPACEOFVOL__NFOUNDIDX + USINT + 8 + 17296 + + + conditionalshow + + + + + __FB_IPCDIAG_READPARAMETER__READFREESPACEOFVOL__HR + HRESULT + 32 + 17312 + + + conditionalshow + + + + + __FB_IPCDIAG_READPARAMETER__READFREESPACEOFVOL__I + USINT + 8 + 17344 + + + conditionalshow + + + + + __FB_IPCDIAG_READPARAMETER__READMDPVERSION__NSTATE + USINT + 8 + 17352 + + + conditionalshow + + + + + __FB_IPCDIAG_READPARAMETER__READMDPVERSION__NNOSOFTWARES + USINT + 8 + 17360 + + + conditionalshow + + + + + __FB_IPCDIAG_READPARAMETER__READMDPVERSION__SSWNAME + STRING(79) + 640 + 17368 + + + conditionalshow + + + + + __FB_IPCDIAG_READPARAMETER__READMDPVERSION__NFOUNDIDX + USINT + 8 + 18008 + + + conditionalshow + + + + + __FB_IPCDIAG_READPARAMETER__READMDPVERSION__HR + HRESULT + 32 + 18016 + + + conditionalshow + + + + + __FB_IPCDIAG_READPARAMETER__READMDPVERSION__I + USINT + 8 + 18048 + + + conditionalshow + + + + + __FB_IPCDIAG_READPARAMETER__READTCVERSION__NSTATE + USINT + 8 + 18056 + + + conditionalshow + + + + + __FB_IPCDIAG_READPARAMETER__READTCVERSION__NMAJOR + UINT + 16 + 18064 + + + conditionalshow + + + + + __FB_IPCDIAG_READPARAMETER__READTCVERSION__NMINOR + UINT + 16 + 18080 + + + conditionalshow + + + + + __FB_IPCDIAG_READPARAMETER__READTCVERSION__NBUILD + UINT + 16 + 18096 + + + conditionalshow + + + + + __FB_IPCDIAG_READPARAMETER__READTCVERSION__NREVISION + UINT + 16 + 18112 + + + conditionalshow + + + + + __FB_IPCDIAG_READPARAMETER__READTCVERSION__HR + HRESULT + 32 + 18144 + + + conditionalshow + + + + + __FB_IPCDIAG_READPARAMETER__READTCVERSION__I + USINT + 8 + 18176 + + + conditionalshow + + + + + ipMemMan + I_DynMem_Manager + dynamic memory manager used in the Tc3_IPCDiag library + 32 + 83215388 + + + Clear + HRESULT + 32 + + + GetFreeSpaceOfVol + HRESULT + 32 + + pBuffer + parameter buffer with a given size of nBufferSize + PVOID + 32 + + + nBufferSize + buffer size in bytes (for one or more values) + UDINT + 32 + + + + __getipMemMan + I_DynMem_Manager + 32 + + ipMemMan + I_DynMem_Manager + 32 + + + + property + + + + + GetMDPVersion + HRESULT + 32 + + pBuffer + parameter buffer with a given size of nBufferSize + PVOID + 32 + + + nBufferSize + buffer size in bytes (for one or more values) + UDINT + 32 + + + nLen + UINT + 16 + + + + GetTCVersion + HRESULT + 32 + + pBuffer + parameter buffer with a given size of nBufferSize + PVOID + 32 + + + nBufferSize + buffer size in bytes (for one or more values) + UDINT + 32 + + + nLen + UINT + 16 + + + + GetParameterStrings + | access a read string parameter with multiple values. +| If more than one value is available all values can be copied to an ARRAY OF STRING at once. + HRESULT + 32 + + pBuffer + parameter buffer with a given size of nBufferSize + PVOID + 32 + + + nBufferSize + buffer size in bytes (for one or more values) + UDINT + 32 + + + nStrings + number of strings to be copied (each string with buffer size=nBufferSize/nStrings) + USINT + 8 + + + + ReadFreeSpaceOfVol + + nState + USINT + 8 + + + uselocation + __FB_IPCDIAG_READPARAMETER__READFREESPACEOFVOL__NSTATE + + + + + nNoVolumes + USINT + 8 + + + uselocation + __FB_IPCDIAG_READPARAMETER__READFREESPACEOFVOL__NNOVOLUMES + + + + + sDriveLetter + STRING(7) + 64 + + + uselocation + __FB_IPCDIAG_READPARAMETER__READFREESPACEOFVOL__SDRIVELETTER + + + + + nFoundIdx + USINT + 8 + + + uselocation + __FB_IPCDIAG_READPARAMETER__READFREESPACEOFVOL__NFOUNDIDX + + + + + hr + HRESULT + 32 + + + uselocation + __FB_IPCDIAG_READPARAMETER__READFREESPACEOFVOL__HR + + + + + i + USINT + 8 + + + uselocation + __FB_IPCDIAG_READPARAMETER__READFREESPACEOFVOL__I + + + + + + ReadMDPVersion + + nState + USINT + 8 + + + uselocation + __FB_IPCDIAG_READPARAMETER__READMDPVERSION__NSTATE + + + + + nNoSoftwares + USINT + 8 + + + uselocation + __FB_IPCDIAG_READPARAMETER__READMDPVERSION__NNOSOFTWARES + + + + + sSWName + STRING(79) + 640 + + + uselocation + __FB_IPCDIAG_READPARAMETER__READMDPVERSION__SSWNAME + + + + + nFoundIdx + USINT + 8 + + + uselocation + __FB_IPCDIAG_READPARAMETER__READMDPVERSION__NFOUNDIDX + + + + + hr + HRESULT + 32 + + + uselocation + __FB_IPCDIAG_READPARAMETER__READMDPVERSION__HR + + + + + i + USINT + 8 + + + uselocation + __FB_IPCDIAG_READPARAMETER__READMDPVERSION__I + + + + + + GetParameterByIdx + access a read parameter by index specification + HRESULT + 32 + + pBuffer + parameter buffer with a given size of nBufferSize + PVOID + 32 + + + nBufferSize + buffer size in bytes (for one parameter value) + UDINT + 32 + + + nParameterIdx + selection of parameter value (1..nReadParameterValues) (e.g. equals list index in case of list parameter) + USINT (1..255) + 8 + + + + ReadTCVersion + + nState + USINT + 8 + + + uselocation + __FB_IPCDIAG_READPARAMETER__READTCVERSION__NSTATE + + + + + nMajor + UINT + 16 + + + uselocation + __FB_IPCDIAG_READPARAMETER__READTCVERSION__NMAJOR + + + + + nMinor + UINT + 16 + + + uselocation + __FB_IPCDIAG_READPARAMETER__READTCVERSION__NMINOR + + + + + nBuild + UINT + 16 + + + uselocation + __FB_IPCDIAG_READPARAMETER__READTCVERSION__NBUILD + + + + + nRevision + UINT + 16 + + + uselocation + __FB_IPCDIAG_READPARAMETER__READTCVERSION__NREVISION + + + + + hr + HRESULT + 32 + + + uselocation + __FB_IPCDIAG_READPARAMETER__READTCVERSION__HR + + + + + i + USINT + 8 + + + uselocation + __FB_IPCDIAG_READPARAMETER__READTCVERSION__I + + + + + + GetParameter + access a read parameter (if more than one value is available all values can be copied at once, except for STRING types) + HRESULT + 32 + + pBuffer + parameter buffer with a given size of nBufferSize + PVOID + 32 + + + nBufferSize + buffer size in bytes (for one or more values) + UDINT + 32 + + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + FB_Standard_PMPSDB + 90624 + + io_fbFFHWO + FB_HardwareFFOutput + The fast fault output to fault to. + 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 + + + + + + sDirectory + STRING(80) + Directory where the DB is stored. + 648 + 728 + + + + + + ItemType + Input + + + + + nLastRefreshTime + DINT + 32 + 1376 + + + ItemType + Output + + + pytmc + + pv: LAST_REFRESH + io: i + + + + + + bReadPmpsDb + BOOL + 8 + 1408 + + + ItemType + Output + + + + + bExecute + BOOL + 8 + 1416 + + + 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 + true + + + .dwCycle + 1 + + + + + fbTime_to_UTC + FB_TzSpecificLocalTimeToSystemTime + 3584 + 20672 + + + fbGetTimeZone + FB_GetTimeZoneInformation + 3488 + 24256 + + + fbIPCReg + FB_IPCDiag_Register + 43936 + 27744 + + + fbCheckOS + FB_IPCDiag_ReadParameter + 18240 + 71680 + + + sOSName + STRING(80) + 648 + 89920 + + + + + + nCheckOSTries + UINT + 16 + 90576 + + 3 + + + + + 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 mm + + + + + Height + REAL + distance between vertical slits (y) + 32 + 32 + + + plcAttribute_pytmc + pv: Height + io: i + 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; + + + + + + nRate + UDINT + Pulse-rate + 32 + 32 + + 0 + + + + pytmc + pv: Rate + io: i + field: EGU Hz + + + + + + neVRange + DWORD + Photon energy ranges + 32 + 64 + + 0 + + + + pytmc + pv: eVRanges + io: i + field: EGU eV + + + displaymode + binary + + + + + neV + REAL + Photon energy + 32 + 96 + + 0 + + + + pytmc + pv: PhotonEnergy + io: i + 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 + 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. + 32 + + + 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; + + 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 + + + + + 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 + + + + qualified_only + + + strict + + + + + 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 + Returns whether the storing of the test results is finished + 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). + + 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 + | Access mode + | File modes to open a file. + + .. note:: + For all ``*_PLUS`` modes be aware, that after reading from a file, writing can only be done after a call + to |SysFileGetPos| or |SysFileSetPos|! If you call |SysFileWrite| right after |SysFileRead|, + the file pointer could be on an invalid position! + + Correct example:: + + SysFileRead(); + SysFileGetPos(); + SysFileWrite(); + 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 + + + + external_name + RTS_ACCESS_MODE + + + + + 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 + + 96 + + FileAccessMode + ACCESS_MODE + Append_Plus creates the file if it doesn't exist yet. + 32 + 32 + + ACCESS_MODE.AM_APPEND_PLUS + + + + FileHandle + RTS_IEC_HANDLE + 32 + 64 + + + Read + + Reads a file from disk into the buffer + + RTS_IEC_RESULT + 32 + + BufferPointer + Call with ADR(); + BYTE + 32 + + + Size + Call with SIZEOF(); + UDINT + 32 + + + FileSize + RTS_IEC_SIZE + 32 + + + ItemType + Output + + + + + + Close + + Closes the currently opened file. + + RTS_IEC_RESULT + 32 + + + Open + + Opens a file + + 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 + + Deletes a file specified by name, if it exists. + + 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 + + Writes the contents of the buffer into a file. + + 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 + + + + qualified_only + + + strict + + + + + FB_StreamBuffer + + This functionblock acts as a stream buffer for use with FB_XmlControl + + 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 + + Find a searchstring in the buffer and returns its position. + It's possible to add a preffered startposition within buffer + + 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 + + Gets/Sets the current length (in bytes) of the streambuffer + + UDINT + 32 + + Length + UDINT + 32 + + + + property + + + + + Clear + + Clears the buffer and sets the length to 0 + + + Count + UDINT + 32 + + + + __setAppend + + Appends a string to the buffer + + + Append + + Appends a string to the buffer + + T_MaxString + 2048 + + + ByteIn + BYTE + 32 + + + ByteBuffer + BYTE + 32 + + + + property + + + + + __getBufferSize + + Read current Buffersize + + UDINT + 32 + + BufferSize + UDINT + 32 + + + + property + + + + + __setLength + + Gets/Sets the current length (in bytes) of the streambuffer + + + Length + + Gets/Sets the current length (in bytes) of the streambuffer + + UDINT + 32 + + + + property + + + + + SetBuffer + BOOL + 8 + + PointerToBufferAddress + Set buffer address (ADR ...) + BYTE + 32 + + + SizeOfBuffer + Set buffer size (SIZEOF ...) + UDINT + 32 + + + + Copy + + Copies a string from the character buffer + + 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) + + 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 + + Must be called after opening a new tag + + XML.NewParameter(Name: = 'ParaName', Value: = 'Value'); + + + Name + T_MaxString + 2048 + + + Value + T_MaxString + 2048 + + + + NewTag + + Creates a new Tag: + XML: <MyTag> + + XML.NewTag(Name: = 'MyTag'); + + + Name + T_MaxString + 2048 + + + + CloseTag + + Closes a Tag: + XML: <MyTag />' + + Method: XML.CloseTag(); + + T_MaxString + 2048 + + ClosedTag + T_MaxString + 2048 + + + + WriteDocumentHeader + + Add your own preffered fileheader like: + XML: <?xml version="1.0" encoding="UTF-8"?> + + Start with calling this method before appending any other tags! + + XML.WriteDocumentHeader('<?xml version="1.0" encoding="UTF-8"?>'); + + + Header + T_MaxString + 2048 + + + + NewComment + + Adds a comment + XML: <!-- MyComment --> + + XML.NewComment(Comment: = 'MyComment'); + + + 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 + + Clears the contents of the entire buffer. + + + + ToStartBuffer + + Jump to the beginning of the XML data + XML.ToStartBuffer(); + + + + + PouType + FunctionBlock + + + + + FB_xUnitXmlPublisher + + Publishes test results into an xUnit compatible Xml file + + 530304 + I_TestResultLogger + + TestResults + I_TestResults + Dependancy Injection via FB_Init + 32 + 64 + + + AccessMode + ACCESS_MODE + File access mode + 32 + 96 + + ACCESS_MODE.AM_WRITE_PLUS + + + + File + FB_FileControl + 96 + 128 + + + Xml + FB_XmlControl + 5696 + 224 + + + BufferInitialised + BOOL + 8 + 5920 + + false + + + + Buffer + BYTE + + 0 + 65535 + + 524280 + 5928 + + + WritingTestSuiteResultNumber + UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) + 16 + 530208 + + + PublishTrigger + R_TRIG + 64 + 530240 + + + DeleteOpenWriteClose + + Deletes the former file (if it exists). + Opens the file, writes the buffer and closes it. + + RTS_IEC_RESULT + 32 + + + LogTestSuiteResults + + This method is responsible for the entire generation of the output file. + The output of the xml writer is NOT beautified. + + When new data is available, feel free to add it to the report + + + 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. + + 621827200 + + AllTestSuitesFinished + BOOL + Indication of whether all test suites have reported that they are finished + 8 + 32 + + false + + + + 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 + + + __FB_TCUNITRUNNER__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 + + + + __FB_TCUNITRUNNER__RUNTESTSUITETESTSINSEQUENCE__TIMERBETWEENEXECUTIONOFTESTSUITES + TOF + 224 + 621826976 + + + AbortRunningTestSuiteTests + This function sets a flag which makes the runner stop running the tests + in the test suites + + + RunTestSuiteTestsInSequence + This runs all the test suites in sequence (one after the other) + + 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 + 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 + __FB_TCUNITRUNNER__RUNTESTSUITETESTSINSEQUENCE__CURRENTLYRUNNINGTESTSUITE + + + + + TimerBetweenExecutionOfTestSuites + TOF + 224 + + + uselocation + __FB_TCUNITRUNNER__RUNTESTSUITETESTSINSEQUENCE__TIMERBETWEENEXECUTIONOFTESTSUITES + + + + + + RunTestSuiteTests + This runs all the test suites in parallel + + 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 + UINT + 16 + + + + + PouType + FunctionBlock + + + + + FB_Test + + This function block holds all data that defines a test. + + 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. + 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 + Sets in which order/sequence relative to the order tests should this test be executed/evaluated. + + OrderNumber + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + + + + IsSkipped + BOOL + 8 + + + GetNumberOfAssertions + UINT + 16 + + + SetFinished + BOOL + 8 + + + GetAssertionMessage + T_MaxString + 2048 + + + SetSkipped + Sets the test case to skipped + + + SetAssertionMessage + Sets the assertion message. If one already exists, it's not overwritten as we keep the first assertion in the test + + AssertMessage + T_MaxString + 2048 + + + + SetAssertionType + Sets the assertion type. If one already exists, it's not overwritten as we keep the first assertion in the test + + AssertType + E_AssertionType + 8 + + + + IsFinished + BOOL + 8 + + + GetTestOrder + Gets in which order/sequence relative to the order tests should this test be executed/evaluated. + 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). + An instance of an assert is keyed/identified with the following parameters as key: + - Value of expected + - Value of actual + - Message (string) + - Test instance path (string) + + 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 + + This method is called in every assert and returns whether this particular assert has already been called. + The reason one would like to know whether this assert has already been reported or not is to not report it several + times to any logging service. Because a test-suite can consist of several tests, and certain tests can require the + test to run over several cycles it means that certain asserts could be called several times and thus we need to + keep track of which asserts we've already reported. The user of the framework should not need to care for any of + this and he/she should be able to call the asserts in any way they find suitable. + + To know what assert this is we need to check for the total combination of: + - Test message + - Test instance path + - Expected value + - Actual value + Theoretically we can have a situation where a test has three different asserts, each and one with the same test + message/test instance path/actual value/expected value but called within the same or different cycles. In order for + us to handle all situations we need a simple algorithm that works according to: + - Keep track of how many instances the combination of test message/test instance path/expected value/actual value + we have. So for example, if we have called Assert(Exp := 5, Act := 5, 'Hello there', 'PRG.InstanceTestSuite.Test') + two times in one cycle, we have two instances of that combination. This is done according to: + - Iterate all existing reports. + - If we have a new PLC-cycle, set the current detection-count to zero. + - If new report does not match in any of the above fields, create it (together with current PLC-cycle). + Also store the information that we have one instance of this combination and +1 on the detection-count. + - If new report matches in all of the above, +1 in the detection-count. If this detection-count is larger than + the stored detection-count for this combination, create a new report and add +1 to the storage of + the detection-count. + + + 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 + (if the assert fails). An instance of an array-assert is keyed/identified with the following parameters as key: + - Array-size (in bytes) of the expecteds + - Datatype of the expecteds + - Array-size (in bytes) of the actuals + - Datatype of the actuals + - Message (string) + - Test instance path (string) + + 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 + + This method is called in every assert and returns whether this particular assert has already been called. + The reason one would like to know whether this assert has already been reported or not is to not report it several + times to any logging service. Because a test-suite can consist of several tests, and certain tests can require the + test to run over several cycles it means that certain asserts could be called several times and thus we need to + keep track of which asserts we've already reported. The user of the framework should not need to care for any of + this and he/she should be able to call the asserts in any way they find suitable. + + To know what assert this is we need to check for the total combination of: + - Test message + - Test instance path + - Expecteds size (in bytes) + - Actuals size (in bytes) + - Expecteds datatype + - Actuals datatype + Theoretically we can have a situation where a test has three different asserts, each and one with the same test + message/test instance path/actuals size&datatype/expecteds size&datatype but called within the same or different + cycles. In order for us to handle all situations we need a simple algorithm that works according to: + - Keep track of how many instances the combination of test message/test instance path/expecteds size&datatype/ + actuals size&datatype we have. So for example, if we have called + Assert(Exp := [5,4,3], Act := [5,4,3], 'Hello there', 'PRG.InstanceTestSuite.Test') + two times in one cycle, we have two instances of that combination. This is done according to: + - Iterate all existing reports. + - If we have a new PLC-cycle, set the current detection-count to zero. + - If new report does not match in any of the above fields, create it (together with current PLC-cycle). + Also store the information that we have one instance of this combination and +1 on the detection-count. + - If new report matches in all of the above, +1 in the detection-count. If this detection-count is larger than + the stored detection-count for this combination, create a new report and add +1 to the storage of + the detection-count. + + + 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. + + 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. + + 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. + + 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 + 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 + + Asserts that two LINTs are equal. If they are not, an assertion error is created. + + + 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 + + Asserts that two ULINT arrays are equal. If they are not, an assertion error is created. + + + 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 + Searches for the instance path of the calling function block + T_MaxString + 2048 + + + AssertEquals_TIME + + Asserts that two TIMEs are equal. If they are not, an assertion error is created. + + + 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 + + Asserts that two TIME_OF_DAYs are equal. If they are not, an assertion error is created. + + + 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 + + Asserts that two BYTEs are equal. If they are not, an assertion error is created. + + + 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 + + Asserts that two DATE_AND_TIMEs are equal. If they are not, an assertion error is created. + + + 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 + This method returns the test at the n'th position, ranging from 1.. NumberOfTests + FB_Test + 4192 + + Position + UINT (1..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + + + + AssertArrayEquals_BOOL + + Asserts that two BOOL arrays are equal. If they are not, an assertion error is created. + + + 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 + + Asserts that two BYTE arrays are equal. If they are not, an assertion error is created. + + + 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 + + Asserts that two DATEs are equal. If they are not, an assertion error is created. + + + 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 + + Asserts that two WORDs are equal. If they are not, an assertion error is created. + + + 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 + + Asserts that two LINT arrays are equal. If they are not, an assertion error is created. + + + 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 + + Asserts that two LTIMEs are equal. If they are not, an assertion error is created. + + + 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 + + Asserts that two UINT arrays are equal. If they are not, an assertion error is created. + + + 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 + + Asserts that two LREALs are equal to within a positive delta. If they are not, an assertion error is created. + + + 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 + + Asserts that two LWORD arrays are equal. If they are not, an assertion error is created. + + + 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 + + Asserts that two objects (of any type) are equal. If they are not, an assertion error is created. + For REAL and LREAL it's recommended to use the AssertEquals_REAL or AssertEquals_LREAL respectively + as these give the possibility to specify a delta between the expected and actual value. + + + 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 + + Asserts that a condition is false. If it is not, an assertion error is created. + + + Condition + Condition to be checked + BOOL + 8 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + + AssertEquals_SINT + + Asserts that two SINTs are equal. If they are not, an assertion error is created. + + + 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 + + Asserts that two LREAL 2D-arrays are equal to within a positive delta. If they are not, an assertion error is created. + + + 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 + + Asserts that two ULINTs are equal. If they are not, an assertion error is created. + + + 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 + + Asserts that two BOOLs are equal. If they are not, an assertion error is created. + + + 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 + + Asserts that two USINTs are equal. If they are not, an assertion error is created. + + + 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 + + Asserts that two LWORDs are equal. If they are not, an assertion error is created. + + + 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 + + Asserts that two USINT arrays are equal. If they are not, an assertion error is created. + + + 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 + + Asserts that two DWORD arrays are equal. If they are not, an assertion error is created. + + + 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 + + Asserts that two LREAL arrays are equal to within a positive delta. If they are not, an assertion error is created. + + + 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 + + Asserts that two WSTRINGs are equal. If they are not, an assertion error is created. + + + 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 + + Asserts that two REAL arrays are equal to within a positive delta. If they are not, an assertion error is created. + + + 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 + + Asserts that two DINTs are equal. If they are not, an assertion error is created. + + + 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 + + Asserts that two DINT arrays are equal. If they are not, an assertion error is created. + + + 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 + + Asserts that two STRINGs are equal. If they are not, an assertion error is created. + + + 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 + Marks the test as finished in this testsuite. + Returns TRUE if test was found, and FALSE if a test with this name was not found in this testsuite + + 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 + + Asserts that two WORD arrays are equal. If they are not, an assertion error is created. + + + 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 + + Asserts that two LREAL 3D-arrays are equal to within a positive delta. If they are not, an assertion error is created. + + + 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 + + Asserts that two INT arrays are equal. If they are not, an assertion error is created. + + + 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 + + Asserts that two DWORDs are equal. If they are not, an assertion error is created. + + + 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 + + Asserts that a condition is true. If it is not, an assertion error is created. + + + Condition + Condition to be checked + BOOL + 8 + + + Message + The identifying message for the assertion error + T_MaxString + 2048 + + + + AssertEquals_INT + + Asserts that two INTs are equal. If they are not, an assertion error is created. + + + 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 + + Asserts that two UINTs are equal. If they are not, an assertion error is created. + + + 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 + + Asserts that two REAL 2D-arrays are equal to within a positive delta. If they are not, an assertion error is created. + + + 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 + + Asserts that two REAL 3D-arrays are equal to within a positive delta. If they are not, an assertion error is created. + + + 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 + + Asserts that two UDINTs are equal. If they are not, an assertion error is created. + + + 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 + + Asserts that two REALs are equal to within a positive delta. If they are not, an assertion error is created. + + + 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 + + Asserts that two SINT arrays are equal. If they are not, an assertion error is created. + + + 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 + + Asserts that two UDINT arrays are equal. If they are not, an assertion error is created. + + + 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 + + 8320864 + + ArrayBuffer + BYTE + + 0 + 1040000 + + 8320000 + 32 + + + MemRingBuffer + FB_MemRingBuffer + 544 + 8320032 + + + TimerBetweenMessages + TON + 224 + 8320576 + + + .IN + true + + + .PT + T#10MS + + + + + MEM_RING_BUFFER_INTERNAL_USE_PER_DATA_RECORD + USINT + 8 + 8320800 + + 4 + + + + TIME_BETWEEN_MESSAGES + TIME + 32 + 8320832 + + T#10MS + + + + GetLogCount + UDINT + 32 + + + WriteLog + Writes a new data set into the ring buffer + + MsgCtrlMask + DWORD + 32 + + + MsgFmtStr + T_MaxString + 2048 + + + StrArg + T_MaxString + 2048 + + + Error + Buffer overflow + BOOL + 8 + + + ItemType + Output + + + + + AdsLogStringMessage + ST_AdsLogStringMessage + 4128 + + + + GetAndRemoveLogFromQueue + Reads and removes the oldest message + + AdsLogStringMessage + ST_AdsLogStringMessage + 4128 + + + ItemType + Output + + + + + Error + Buffer empty + BOOL + 8 + + + ItemType + Output + + + + + + + PouType + FunctionBlock + + + + + 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 + + + ExtTorque + LREAL + 64 + 896 + + + + NcStructType + 1 + + + + + + + + + + + + + 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 + + + IsDriveLimitActive + BIT + 1 + 18 + + + 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 + + + + {4C3FC5AC-D5AA-44C6-AC5A-159774BA0F6D} + + + + + 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_STATE3_FLAGS + 32 + + TouchProbe1InputState + BIT + 1 + 0 + + + TouchProbe2InputState + BIT + 1 + 1 + + + %08x + + + 0x%08x + + + 16#%08X + + + + NCTOPLC_AXIS_REF_STATE3 + 32 + + Value + DWORD + 32 + 0 + + + Flags + NCTOPLC_AXIS_REF_STATE3_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 +3 = PHASE_VELOCONST: axis is moving at constant velocity +4 = PHASE_ACCPOS: axis is accelerating +5 = PHASE_ACCNEG: axis is decelerating +Slaves only: +11 = PREPHASE: slave axis is in a motion pre-phase +12 = SYNCHRONIZING: slave axis is synchronizing +13 = SYNCHRONOUS: slave axis is moving synchronously +External Setpoint Generation: +41 = EXTSETGEN_MODE1: external setpoint generation active +42 = EXTSETGEN_MODE2: internal and external setpoint gen. active + + 32 + 64 + + + AxisModeConfirmation + UDINT + 32 + 96 + + + HomingState + UDINT + Axis Homing Status: +0: idle +1: start homing +2: searching home switch +3: stopping on home switch +4: moving off home switch +5: searching sync pulse +6: stopping after homing + + 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 + + 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 + NCTOPLC_AXIS_REF_STATE3 + 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 + + + AbsPhasingPos + LREAL + 64 + 1664 + + + TorqueOffset + LREAL + 64 + 1728 + + + ActPosWithoutPosCorrection + LREAL + 64 + 1792 + + + ActAcc + LREAL + 64 + 1856 + + + DcTimeStamp + UDINT + 32 + 1920 + + + UserData + LREAL + 64 + 1984 + + + + 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 + PLCopen axis states + The axis states are defined in the PLCopen state diagram + + 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 + Phasing internal probe states + 16 + INT + + PhasingInactive + 0 + + + PhasingActivated + 1 + + + PhasingAborted + 2 + + + + conditionalshow + + + + + _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 + It includes the axis I/O variables as well as additional information. + The reason for not using a STRUCT is that structures cannot hold + 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). + + 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 + + + + + DUT_EPS + 1344 + + nFlags + UDINT + Contains EPS flags + 32 + 0 + + 4294967295 + + + + pytmc + + pv: nFlags + io: i + field: DESC Contains EPS flags + + + + + + sFlagDesc + STRING(80) + Desciption of values nFlags contains + 648 + 32 + + + pytmc + + pv: sFlagDesc + io: i + field: DESC semicolon-delimited nFlag variable + + + + + + sMessage + STRING(80) + Name to use for log messages. + 648 + 680 + + + pytmc + + pv: sMessage + io: i + field: DESC Message from EPS to usr + + + + + + bEPS_OK + BOOL + Keep Track if nFlags are all true + 8 + 1328 + + true + + + + + E_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 + + + + qualified_only + + + strict + + + + + E_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 + + + + qualified_only + + + strict + + + + + E_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 + + + + qualified_only + + + strict + + + + + 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 + + + + ST_AxisParameterSetExposed + 704 + + fVeloMaximum + LREAL + Maximum commandable speed of the axis in EU/s. + 64 + 0 + + + pytmc + + pv: MaxVel + io: i + field: DESC Maximum commandable speed of the axis in EU/s. + + + + + + fAccelerationMax + LREAL + Maximum rate of increase in speed of the axis in EU/s^2. + 64 + 64 + + + pytmc + + pv: MaxAccel + io: i + field: DESC Maximum rate of increase in speed of the axis in EU/s^2. + + + + + + fDecelerationMax + LREAL + Maximum rate of decrease in speed of the axis in EU/s^2. + 64 + 128 + + + pytmc + + pv: MaxDecel + io: i + field: DESC Maximum rate of decrease in speed of the axis in EU/s^2. + + + + + + bCtrlEnablePosDiffControl + WORD + Enable/Disable state of Position Lag Monitor. + 16 + 192 + + + pytmc + + pv: PosLagEn + io: i + field: DESC TRUE if position lag monitor (also known as stall monitor) is enabled. + + + + + + fCtrlPosDiffMax + LREAL + Maximum magnitude of position lag in EU. + 64 + 256 + + + pytmc + + pv: PosLagVal + io: i + field: DESC Maximum magnitude of position lag in EU. + + + + + + fCtrlPosDiffMaxTime + LREAL + Maximum allowable duration outside of maximum position lag value in seconds. + 64 + 320 + + + pytmc + + pv: PosLagTime + io: i + field: DESC Maximum allowable duration outside of maximum position lag value in seconds. + + + + + + bEncEnableSoftEndMinControl + WORD + Enable/Disable state of controller static minimum limit. + 16 + 384 + + + pytmc + + pv: SLimMinEn + io: i + field: DESC TRUE if controller static minimum limit is enabled. + + + + + + bEncEnableSoftEndMaxControl + WORD + Enable/Disable state of controller static maximum limit. + 16 + 400 + + + pytmc + + pv: SLimMaxEn + io: i + field: DESC TRUE if controller static maximum limit is enabled. + + + + + + fEncSoftEndMin + LREAL + Minimum commandable position of the axis in EU. + 64 + 448 + + + pytmc + + pv: SLimMin + io: i + field: DESC Minimum commandable position of the axis in EU. + + + + + + fEncSoftEndMax + LREAL + Maximum commandable position of the axis in EU. + 64 + 512 + + + pytmc + + pv: SLimMax + io: i + field: DESC Maximum commandable position of the axis in EU. + + + + + + fEncScaleFactorInternal + LREAL + Encoder scaling numerator / denominator in EU/COUNT. + 64 + 576 + + + pytmc + + pv: EncScaling + io: i + field: DESC Encoder scaling numerator / denominator in EU/COUNT. + + + + + + fEncOffset + LREAL + Encoder offset in EU. + 64 + 640 + + + pytmc + + pv: EncOffset + io: i + field: DESC Encoder offset in EU. + + + + + + + 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 + + + + ST_MotionStage + 25920 + + Axis + AXIS_REF + Hardware + PLC Axis Reference + 9024 + 0 + + + bLimitForwardEnable + BOOL + NC Forward Limit Switch: TRUE if ok to move + 8 + 9024 + + + TcAddressType + Input + + + + + bLimitBackwardEnable + BOOL + NC Backward Limit Switch: TRUE if ok to move + 8 + 9032 + + + TcAddressType + Input + + + + + bHome + BOOL + NO Home Switch: TRUE if at home + 8 + 9040 + + + TcAddressType + Input + + + + + bBrakeRelease + BOOL + NC Brake Output: TRUE to release brake + 8 + 9048 + + + 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 + + + + 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 + + false + + + + bAllBackwardEnable + BOOL + Backward enable EPS summary + 8 + 9192 + + false + + + + bAllEnable + BOOL + Enable EPS summary encapsulating emergency stop button and any additional motion preventive hardware + 8 + 9200 + + false + + + + bGantryForwardEnable + BOOL + Forward virtual gantry limit switch + 8 + 9208 + + false + + + + bGantryBackwardEnable + BOOL + Backward virtual gantry limit switch + 8 + 9216 + + false + + + + nEncoderCount + UDINT + Encoder count summary, if linked above + 32 + 9248 + + + pytmc + + pv: PLC:nEncoderCount + io: i + field: DESC Count from encoder hardware + + + + + + stEPSForwardEnable + DUT_EPS + Forward Enable EPS struct + 1344 + 9280 + + + pytmc + + pv: PLC:stEPSF + io: i + field: DESC Forward Enable Interlocks + + + + + + stEPSBackwardEnable + DUT_EPS + Backward Enable EPS struct + 1344 + 10624 + + + pytmc + + pv: PLC:stEPSB + io: i + field: DESC Backward Enable Interlocks + + + + + + stEPSPowerEnable + DUT_EPS + Power Enable EPS struct + 1344 + 11968 + + + pytmc + + pv: PLC:stEPSP + io: i + field: DESC Power Interlocks + + + + + + sName + STRING(80) + Settings + Name to use for log messages, fast faults, etc. + 648 + 13312 + + + bPowerSelf + BOOL + If TRUE, we want to enable the motor independently of PMPS or other safety systems. + 8 + 13960 + + false + + + + nEnableMode + E_StageEnableMode + Determines when we automatically enable the motor + 16 + 13968 + + E_StageEnableMode.DURING_MOTION + + + + nBrakeMode + E_StageBrakeMode + Determines when we automatically disengage the brake + 16 + 13984 + + E_StageBrakeMode.IF_ENABLED + + + + nHomingMode + E_EpicsHomeCmd + Determines our encoder homing strategy + 16 + 14000 + + E_EpicsHomeCmd.NONE + + + + bGantryAxis + BOOL + Set true to activate gantry EPS + 8 + 14016 + + false + + + + nGantryTol + LINT + Set to gantry difference tolerance + 64 + 14080 + + 0 + + + + nEncRef + ULINT + Encoder count at which this axis is aligned with other axis + 64 + 14144 + + 0 + + + + bEnable + BOOL + Commands + Used internally to request enables + 8 + 14208 + + + bReset + BOOL + Used internally to reset errors and other state + 8 + 14216 + + + pytmc + + pv: PLC:bReset + io: io + field: ZNAM FALSE + field: ONAM TRUE + field: DESC Used internally to reset errors + + + + + + bExecute + BOOL + Used internally and by the IOC to start or stop a move + 8 + 14224 + + + bUserEnable + BOOL + Used by the IOC to disable an axis + 8 + 14232 + + 1 + + + + pytmc + + pv: PLC:bUserEnable + io: io + field: ZNAM DISABLE + field: ONAM ENABLE + field: DESC Used to disable power entirely for an axis + + + + + + bMoveCmd + BOOL + Shortcut Commands + Start a move to fPosition with fVelocity + 8 + 14240 + + + bHomeCmd + BOOL + Start the homing routine + 8 + 14248 + + + pytmc + + pv: PLC:bHomeCmd + io: io + field: DESC Start the homing routine + + + + + + nCommand + INT + Command Args + Used internally and by the IOC to pick what kind of move to do + 16 + 14256 + + + nCmdData + INT + Used internally and by the IOC to pass additional data to some commands + 16 + 14272 + + + fPosition + LREAL + Used internally and by the IOC to pick a destination for the move + 64 + 14336 + + + fVelocity + LREAL + Used internally and by the IOC to pick a move velocity + 64 + 14400 + + + fAcceleration + LREAL + Used internally and by the IOC to pick a move acceleration + 64 + 14464 + + + fDeceleration + LREAL + Used internally and by the IOC to pick a move deceleration + 64 + 14528 + + + fHomePosition + LREAL + Used internally and by the IOC to pick a home position + 64 + 14592 + + + pytmc + + pv: PLC:fHomePosition + io: io + field: DESC Used internally and by the IOC to pick home position + + + + + + nMotionAxisID + UDINT + Info + Unique ID assigned to each axis in the NC + 32 + 14656 + + 0 + + + + bEnableDone + BOOL + Returns + TRUE if done enabling + 8 + 14688 + + + bBusy + BOOL + TRUE if in the middle of a command + 8 + 14696 + + + bDone + BOOL + TRUE if we've done a command and it has finished + 8 + 14704 + + + bHomed + BOOL + TRUE if the motor has been homed, or does not need to be homed + 8 + 14712 + + + bSafetyReady + BOOL + TRUE if we have safety permission to move + 8 + 14720 + + + bError + BOOL + TRUE if we're in an error state + 8 + 14728 + + + 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 + + + + + + nErrorId + UDINT + Error code if nonzero + 32 + 14752 + + + pytmc + + pv: PLC:nErrorId + io: i + field: DESC Error code if nonzero + update: 100Hz notify + + + + + + sErrorMessage + STRING(80) + Message to identify the error state + 648 + 14784 + + + pytmc + + pv: PLC:sErrorMessage + io: i + field: DESC Message to identify the error state + update: 100Hz notify + + + + + + sCustomErrorMessage + STRING(80) + Internal hook for custom error messages + 648 + 15432 + + + stAxisParameters + ST_AxisParameterSet + MC_ReadParameterSet Output + 8192 + 16128 + + + stAxisParametersExposed + ST_AxisParameterSetExposed + NC parameters that are exposed with pytmc pragmas + 704 + 24320 + + + pytmc + + pv: PLC:AxisPar + io: i + field: DESC Axis configuration parameters in the numerical controller. + + + + + + bAxisParamsInit + BOOL + True if we've updated stAxisParameters at least once + 8 + 25024 + + + stAxisStatus + DUT_AxisStatus_v0_01 + Misc axis status information for the IOC + 768 + 25088 + + + fPosDiff + LREAL + Other status information for users of the IOC + Position lag difference + 64 + 25856 + + + pytmc + + pv: PLC:fPosDiff + io: i + field: DESC Position lag difference + + + + + + + _E_TcMC_STATES + 16 + INT + + STATE_INITIALIZATION + 100 + + + STATE_ORDER + 101 + + + STATE_RUNNING + 102 + + + STATE_WAITING + 103 + + + STATE_MOTIONCOMMANDSLOCKED + 104 + + + + conditionalshow + + + + + _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 + + _E_TcMC_STATES.STATE_INITIALIZATION + + + + 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 + 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 + + + + conditionalshow + + + + + 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; + 4 + PEHTimeControl : DWORD := 2#0000_0000_0000_0000_0000_0000_0001_0000; + 5 + BacklashComp : DWORD := 2#0000_0000_0000_0000_0000_0000_0010_0000; + 6 + DelayedErrorReaction + 7 + Modulo + 8 + SimulationAxis + bits 9 .. 11 reserved for supplement products + 12 + 32 + 64 + + 4096 + + + + AllowSlaveCommands + DWORD + bits 13 .. 15 reserved + 16 + PosDiffControl : DWORD := 2#0000_0000_0000_0001_0000_0000_0000_0000; + 17 + VeloDiffControl : DWORD := 2#0000_0000_0000_0010_0000_0000_0000_0000; + 18 + SoftEndMinControl : DWORD := 2#0000_0000_0000_0100_0000_0000_0000_0000; + 19 + SoftEndMaxControl: DWORD := 2#0000_0000_0000_1000_0000_0000_0000_0000; + 20 + ActPosCorrection : DWORD := 2#0000_0000_0001_0000_0000_0000_0000_0000; + 21 + 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 + + _E_TcMC_STATES.STATE_INITIALIZATION + + + + 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 + + MC_Direction.MC_Positive_Direction + + + + 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 + + MC_Direction.MC_Undefined_Direction + + + + SearchVelocity + LREAL + 64 + 64 + + + SyncDirection + MC_Direction + 16 + 128 + + MC_Direction.MC_Undefined_Direction + + + + SyncVelocity + LREAL + 64 + 192 + + + ReferenceMode + E_EncoderReferenceMode + 32 + 256 + + E_EncoderReferenceMode.ENCODERREFERENCEMODE_DEFAULT + + + + + 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 + + _E_TcMC_STATES.STATE_INITIALIZATION + + + + 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 + + _E_TcMC_STATES.STATE_INITIALIZATION + + + + 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 + + false + + + + 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 + + true + + + + ItemType + Output + + + + + bSofLimEnableHigh + BOOL + 8 + 168 + + true + + + + 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 + + true + + + + ItemType + Input + + + + + bSofLimEnableHigh + BOOL + 8 + 64 + + true + + + + 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 + + true + + + + ItemType + Output + + + + + bSofLimEnableHighOriginal + BOOL + 8 + 200 + + true + + + + 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 + + false + + + + bExecuteWriteNC + BOOL + 8 + 17672 + + false + + + + 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 + + true + + + + ItemType + Input + + + + + bSofLimEnableHigh + BOOL + 8 + 88 + + true + + + + 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 + + false + + + + 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 + + false + + + + bExecuteMoveVelocity + BOOL + 8 + 53624 + + false + + + + bExecutePrepare + BOOL + 8 + 53632 + + false + + + + bExecuteFinish + BOOL + 8 + 53640 + + false + + + + bExecuteHomeDirect + BOOL + 8 + 53648 + + + nCmdDataLocal + UINT + Ensure that nCmdData is not changed during sequence + 16 + 53664 + + + bSequenceReady + BOOL + 8 + 53680 + + true + + + + bRestoreNCDataNeeded + BOOL + 8 + 53688 + + false + + + + + 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 + + _E_TcMC_STATES.STATE_INITIALIZATION + + + + 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 + + _E_TcMC_STATES.STATE_INITIALIZATION + + + + 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 + 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 + + true + + + + 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 + ST_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. + + 64 + 46528 + + -99999999 + + + + BWD_START + LREAL + 64 + 46592 + + 99999999 + + + + + PouType + FunctionBlock + + + + + FB_EncSaveRestore + 2880 + + stMotionStage + ST_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 + + T#1s + + + + 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 + ST_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 + ST_MotionStage + 32 + 32 + + + ItemType + InOut + + + + + + PouType + FunctionBlock + + + + + FB_EncoderValue + 64 + + stMotionStage + ST_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 + + _E_TcMC_STATES.STATE_INITIALIZATION + + + + fbAdsRead + ADSREAD + 1248 + 256 + + + SizeofPayloadData + UDINT + 32 + 1504 + + + SizeofPayloadData64 + ULINT + 64 + 1536 + + + ActGetSizeOfParameterSet + + + + PouType + FunctionBlock + + + + + FB_MotionStageNCParams + 2112 + + stMotionStage + ST_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 + + true + + + + nLatchErrId + UDINT + 32 + 2048 + + + + PouType + FunctionBlock + + + + + FB_MotionStage + 298304 + + stMotionStage + ST_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 + + + + + ST_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 + ST_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 + + + + conditionalshow + + + + + 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 + + _E_TcMC_STATES.STATE_INITIALIZATION + + + + 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 + ST_MotionStage + 32 + 160 + + + ItemType + InOut + + + + + MasterEnc + ST_RenishawAbsEnc + 32 + 192 + + + ItemType + InOut + + + + + Slave + ST_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 + ST_MotionStage + Motor Structs + 32 + 640 + + + ItemType + InOut + + + + + stYdwn + ST_MotionStage + 32 + 672 + + + ItemType + InOut + + + + + stXup + ST_MotionStage + 32 + 704 + + + ItemType + InOut + + + + + stXdwn + ST_MotionStage + 32 + 736 + + + ItemType + InOut + + + + + stPitch + ST_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 + + + + + + bExecuteDecoupleY + BOOL + 8 + 20424 + + + pytmc + + pv: DECOUPLE_Y + io: o + + + + + + bExecuteCoupleX + BOOL + 8 + 20432 + + + pytmc + + pv: COUPLE_X + io: o + + + + + + bExecuteDecoupleX + BOOL + 8 + 20440 + + + pytmc + + pv: DECOUPLE_X + io: o + + + + + + bGantryAlreadyCoupledY + BOOL + Coupling status + 8 + 20448 + + + pytmc + + pv: ALREADY_COUPLED_Y + io: i + field: ZSV MAJOR + + + + + + bGantryAlreadyCoupledX + BOOL + 8 + 20456 + + + pytmc + + pv: ALREADY_COUPLED_X + io: i + field: ZSV MAJOR + + + + + + 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_um + REAL + X Gantry difference in um + 32 + 20640 + + + pytmc + + pv: GANTRY_X + field: EGU um + io: i + + + + + + + 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_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 + + + + + + fMean + LREAL + Average of all values in the array + 64 + 128 + + + ItemType + Output + + + pytmc + + pv: STATS:MEAN + io: i + + + + + + fStDev + LREAL + Standard deviation of all values in the array + 64 + 192 + + + ItemType + Output + + + pytmc + + pv: STATS:STDEV + io: i + + + + + + fMax + LREAL + Largest value in the array + 64 + 256 + + + ItemType + Output + + + pytmc + + pv: STATS:MAX + io: i + + + + + + fMin + LREAL + Smallest value in the array + 64 + 320 + + + ItemType + Output + + + pytmc + + pv: STATS:MIN + io: i + + + + + + fRange + LREAL + Largest array element subtracted by the smallest + 64 + 384 + + + ItemType + Output + + + pytmc + + pv: STATS:RANGE + io: i + + + + + + bValid + BOOL + True if the other outputs are valid + 8 + 448 + + + ItemType + Output + + + pytmc + + pv: STATS:VALID + io: i + + + + + + 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 + 386880 + + 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 + ST_MotionStage + 32 + 192 + + + ItemType + InOut + + + + + fEncScalingNum + LREAL + 64 + 256 + + 1 + + + + fEncScalingDenom + LREAL + 64 + 320 + + 1 + + + + fEncOffset + LREAL + 64 + 384 + + 0 + + + + fEncScale + LREAL + 64 + 448 + + 1 + + + + fbDataEncPos + FB_LREALBuffer + ActPos Data Acquisition FB + 128512 + 512 + + + fbDataSetPos + FB_LREALBuffer + SetPos Data Acquisition FB + 128512 + 129024 + + + bExecuteDataStorage + BOOL + Take data of both ActPos and SetPos + 8 + 257536 + + true + + + + bNewEncArray + BOOL + 8 + 257544 + + + fbStats + FB_BasicStats + Calculate mean/standard deviation of ActPos + 896 + 257600 + + + fEncMean + LREAL + 64 + 258496 + + + pytmc + + pv: MEAN + io: i + + + + + + fEncStDev + LREAL + 64 + 258560 + + + pytmc + + pv: STDEV + io: i + + + + + + fCurrRMSError + LREAL + 64 + 258624 + + 0 + + + + pytmc + + pv: RMS + io: i + + + + + + nIndex + DINT + 32 + 258688 + + + fSum + LREAL + Just for calculating rms + 64 + 258752 + + 0 + + + + fDiff + LREAL + 64 + 258816 + + 0 + + + + aEncActPos + LREAL + + 1 + 1000 + + 64000 + 258880 + + + pytmc + + pv: ACTPOSARRAY + io: i + + + + + + aEncSetPos + LREAL + + 1 + 1000 + + 64000 + 322880 + + + pytmc + + pv: SETPOSARRAY + io: i + + + + + + + PouType + FunctionBlock + + + + + FB_Bender + 128 + + stBender + ST_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_ParameterType + 16 + INT + + PARAMETERTYPE_NOTYPE + 0 + + + PARAMETERTYPE_BOOL + 1 + + + PARAMETERTYPE_DWORD + 2 + + + PARAMETERTYPE_LREAL + 3 + + + + conditionalshow + + + + + _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 + + _E_TcMC_STATES.STATE_INITIALIZATION + + + + 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 + + E_ReadMode.READMODE_ONCE + + + + 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 + 83218824 + + + TcDisplayTypeGUID + 18071995-0000-0000-0000-000000000046 + + + + + __getnTimestamp + ULINT + 64 + + nTimestamp + ULINT + 64 + + + + property + + + 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 + + + + + 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. + 648 + 0 + + twincat-event-0 + + + + plcAttribute_pytmc + pv: Schema + io: i + field: DESC Schema string + + + + + ts + LREAL + 64 + 704 + + + plcAttribute_pytmc + pv: Timestamp + io: i + field: DESC Unix timestamp + + + + + plc + STRING(80) + 648 + 768 + + + plcAttribute_pytmc + pv: Hostname + io: i + 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 Error + + + + + id + UDINT + 32 + 1440 + + + plcAttribute_pytmc + pv: MessageID + io: i + field: DESC TwinCAT Message ID + + + + + event_class + STRING(80) + 648 + 1472 + + + plcAttribute_pytmc + pv: EventClass + io: i + 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 type + + + + + json + STRING(10000) + 80008 + 6240 + + + plcAttribute_pytmc + pv: MessageJSON + io: i + field: DESC Metadata with the message + + + + + + + + + TcEventType + 16 + INT + + Message + 0 + + + Alarm + 1 + + + + plcAttribute_qualified_only + + + plcAttribute_strict + + + + + TcComparisonOperator + 16 + INT + + EqualTo + 0 + + + NotEqualTo + 1 + + + LessThan + 2 + + + GreaterThan + 3 + + + LessThanOrEqualTo + 4 + + + GreaterThanOrEqualTo + 5 + + + + plcAttribute_qualified_only + + + plcAttribute_strict + + + + + TcEventTimeStampType + 16 + INT + + Raised + 0 + + + Confirmed + 1 + + + Cleared + 2 + + + + plcAttribute_qualified_only + + + plcAttribute_strict + + + + + TcStringComparisonOperator + 16 + INT + + EqualTo + 0 + + + NotEqualTo + 1 + + + Like + 2 + + + IsNull + 3 + + + IsNotNull + 4 + + + + plcAttribute_qualified_only + + + plcAttribute_strict + + + + + TcLogicalOperator + 16 + INT + + And + 0 + + + Or + 1 + + + + plcAttribute_qualified_only + + + plcAttribute_strict + + + + + ITcEventFilter + 32 + ITcUnknown + + Clear + HRESULT + 32 + + + AddEventTypeExpression + HRESULT + 32 + + eType + TcEventType + 16 + + + op + TcComparisonOperator + 16 + + + + AddEventClassExpression + HRESULT + 32 + + eventClass + GUID + 32 + + + op + TcComparisonOperator + 16 + + + + AddEventIdExpression + HRESULT + 32 + + eventId + UDINT + 32 + + + op + TcComparisonOperator + 16 + + + + AddSeverityExpression + HRESULT + 32 + + severity + TcEventSeverity + 16 + + + op + TcComparisonOperator + 16 + + + + AddTimeStampExpression + HRESULT + 32 + + eType + TcEventTimeStampType + 16 + + + timeStamp + ULINT + 64 + + + op + TcComparisonOperator + 16 + + + + AddSourceGuidExpression + HRESULT + 32 + + sourceGuid + GUID + 32 + + + op + TcComparisonOperator + 16 + + + + AddSourceIdExpression + HRESULT + 32 + + sourceId + UDINT + 32 + + + op + TcComparisonOperator + 16 + + + + AddSourceNameExpression + HRESULT + 32 + + sourceName + PCCH + 32 + + + op + TcStringComparisonOperator + 16 + + + + AddJsonAttributeExpression + HRESULT + 32 + + path + PCCH + 32 + + + value + PCCH + 32 + + + op + TcStringComparisonOperator + 16 + + + + AddLogicalOperator + HRESULT + 32 + + eType + TcLogicalOperator + 16 + + + + AddNotOperator + HRESULT + 32 + + + CreateExpressionGroup + HRESULT + 32 + + pipGroup + ITcEventFilter + 32 + + + + AddExpressionGroup + HRESULT + 32 + + ipGroup + ITcEventFilter + 32 + + + + Validate + HRESULT + 32 + + bResult + BOOL + 32 + + + + Clone + HRESULT + 32 + + pipClone + ITcEventFilter + 32 + + + + + 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 + + - - - - - - - + - ST_TcGeneralAdsEventClass - 14016 + I_TcRemoteEventLogger + 32 + PVOID + + __getipData + ITcRemoteEventLogger + 32 + + + property + + + hide + + + + + + FB_RequestEventText + 96 + + bBusy + BOOL + 8 + 83218376 + + + bError + BOOL + 8 + 83218420 + + + hrErrorCode + HRESULT + 32 + 83218384 + + + nStringSize + UDINT + 32 + 83218408 + + + sEventText + STRING(255) + 2048 + 83218428 + + + TcEncoding + UTF-8 + + + + + __getbBusy + BOOL + 8 + + bBusy + BOOL + 8 + + + b32IsBusy + BOOL32 + 32 + + + + property + + + + + __gethrErrorCode + HRESULT + 32 + + hrErrorCode + HRESULT + 32 + + + hrError + HRESULT + 32 + + + + property + + + + + 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 + + + + + Clear + + + __getbError + BOOL + 8 + + bError + BOOL + 8 + + + b32HasError + BOOL32 + 32 + + + + property + + + + + 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 + + + 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: + + + + + + bInUse + BOOL + 8 + 86272 + + + fbRequestEventText + FB_RequestEventText + 96 + 86304 + + + + FB_JsonReadWriteDatatype + 96 + + initStatus + HRESULT + 32 + 32 + + E_HRESULTAdsErr.NOTINIT + + + + ItemType + Output + + + + + ipJson + ITcIecApplicationJson + 32 + 64 + + + GetJsonFromSymbol + | generates a JSON string from a given symbol (via address/size). + | Method returns TRUE if succeeded. + 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 + | Copies the full DOM document and returns its size in bytes (including the null termination). + 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 + generates name of symbol defined by address/size and returns its size in bytes (including the null termination). + 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 + Returns size in bytes of the full DOM document (including the null termination). + 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 + | Returns the JSON string. +| If its size is more than 255 bytes an empty string is returned and the method CopyJsonStringFromSymbolProperties() has to be used. + 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 + returns TRUE if succeeded + 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 + generates data type name from given symbol defined by address/size + 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 + | parse a json string and set values of a given symbol (via address/size). + | Method returns TRUE if succeeded. + 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 + Returns size in bytes of the full DOM document (including the null termination). + 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 + | Returns the JSON string. +| If its size is more than 255 bytes an empty string is returned and the method CopyJsonStringFromSymbol() has to be used. + 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 + | Copies the full DOM document and returns its size in bytes (including the null termination). + 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 + generates name of symbol defined by address/size + STRING(255) + 2048 + + nData + size of symbol + UDINT + 32 + + + pData + address of symbol + PVOID + 32 + + + hrErrorCode + HRESULT + 32 + + + ItemType + Output + + + + + length + UDINT + 32 + + + + AddJsonValueFromSymbol + | generates a JSON string from a given symbol (via address/size) + | and adds it to a JSON document via the given SAX Writer. + | Method returns TRUE if succeeded. + 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 + returns TRUE if succeeded + 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 + Connectionless socket state + 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 + + E_SocketConnectionlessState.eSOCKET_CLOSED + + + + 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 + + false + + + + pytmc + + pv: LogToVisualStudio + io: io + + + + + + nCntMessagesSent + UDINT + 32 + 160 + + 0 + + + + pytmc + + pv: MessagesSent + io: i + + + + + + nCntAlarmsRaised + UDINT + 32 + 192 + + 0 + + + + pytmc + + pv: AlarmsRaised + io: i + + + + + + nCntAlarmsConfirmed + UDINT + 32 + 224 + + 0 + + + + pytmc + + pv: AlarmsConfirmed + io: i + + + + + + nCntAlarmsCleared + UDINT + 32 + 256 + + 0 + + + + pytmc + + pv: AlarmsCleared + io: i + + + + + + eMinSeverity + TcEventSeverity + 16 + 288 + + + pytmc + + pv: MinSeverity + io: io + + + + + + stEventInfo + ST_LoggingEventInfo + 32 + 320 + + + analysis + -33 + + + pytmc + + pv: Log + + + + + + stPendingEvents + ST_PendingEvent + + 0 + 10 + + 864000 + 384 + + + ipMessageConfig + ITcEventFilterConfig + 32 + 864384 + + + fbSocket + FB_ConnectionlessSocket + 32 + 864416 + + + bConfigured + BOOL + 8 + 864448 + + false + + + + nMaxEvents + UINT + The maximum number of events allowed *per-cycle* + 16 + 864464 + + 10 + + + + __FB_LISTENER__CONFIGURE__BSUBSCRIBED + BOOL + 8 + 864480 + + false + + + + __FB_LISTENER__PUBLISHEVENTS__FBJSON + FB_JsonSaxWriter + 256 + 864512 + + + __FB_LISTENER__PUBLISHEVENTS__FBJSONDATATYPE + FB_JsonReadWriteDatatype + 96 + 864768 + + + __FB_LISTENER__PUBLISHEVENTS__SJSONDOC + STRING(10000) + 80008 + 864864 + + + OnAlarmRaised + + fbEvent + FB_TcEvent + 32 + + + + OnAlarmConfirmed + + fbEvent + FB_TcEvent + 32 + + + + __getLogToVisualStudio + BOOL + 8 + + LogToVisualStudio + BOOL + 8 + + + + property + + + analysis + -33 + + + + + 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 + __FB_LISTENER__PUBLISHEVENTS__FBJSON + + + + + fbJsonDataType + FB_JsonReadWriteDatatype + 96 + + + uselocation + __FB_LISTENER__PUBLISHEVENTS__FBJSONDATATYPE + + + + + sJsonDoc + STRING(10000) + 80008 + + + uselocation + __FB_LISTENER__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 + + Configure an event class + severity + + HRESULT + 32 + + i_EventClass + GUID + 128 + + + i_MinSeverity + TcEventSeverity + 16 + + + i_fbSocket + FB_ConnectionlessSocket + 32 + + + bSubscribed + BOOL + 8 + + + uselocation + __FB_LISTENER__CONFIGURE__BSUBSCRIBED + + + + + + __setLogToVisualStudio + + LogToVisualStudio + BOOL + 8 + + + analysis + -33 + + + + + bValue + BOOL + 8 + + + + property + + + analysis + -33 + + + + + + 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 + + + - GeneralDeviceError - TcEventEntry - 192 - 0 + 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 - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 + .PORT + 10000 - .nEventID - E_TcGeneralAdsEventClass.GeneralDeviceError + .IDXGRP + 702 - .eSeverity - TcEventSeverity.Error + .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 + + T#10s + + + + 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 + + false + + + + + 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 + Management Information Base interface 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 + - ServiceNotSupported - TcEventEntry - 192 - 192 + sAdapterName + STRING(259) + 2080 + 64 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.ServiceNotSupported - - - .eSeverity - TcEventSeverity.Error - + - InvalidIndexGroup - TcEventEntry - 192 - 384 + sDescription + STRING(131) + 1056 + 2144 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.InvalidIndexGroup - - - .eSeverity - TcEventSeverity.Error - + - InvalidIndexOffset - TcEventEntry - 192 - 576 + uiAddrLen + UDINT + 32 + 3200 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.InvalidIndexOffset - - - .eSeverity - TcEventSeverity.Error - + 0 - InvalidAccess - TcEventEntry - 192 - 768 + arrAddr + BYTE + + 0 + 8 + + 64 + 3232 + + + dwIndex + DWORD + 32 + 3296 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.InvalidAccess - - - .eSeverity - TcEventSeverity.Error - + 0 - InvalidSize - TcEventEntry + 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 - 960 + 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 - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 + .PORT + 10000 - .nEventID - E_TcGeneralAdsEventClass.InvalidSize + .IDXGRP + 701 - .eSeverity - TcEventSeverity.Error + .IDXOFFS + 1 + + + conditionalshow + + - InvalidData - TcEventEntry - 192 - 1152 + fbRegQuery + FB_RegQueryValue + 10304 + 26624 - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 + .sSubKey + Software\Beckhoff\TwinCAT3\System - .uuidEventClass.Data4[7] - 240 + .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 + + T#10s + + + + 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 + - .nEventID - E_TcGeneralAdsEventClass.InvalidData + .bExecute + true - .eSeverity - TcEventSeverity.Error + .sNetID + - NotReady - TcEventEntry - 192 - 1344 + iIndex + UDINT + 32 + 100896 + + + tRetry + TON + 224 + 100928 + + + bReset + BOOL + 8 + 101152 + + + bInitialized + BOOL + 8 + 101160 + + false + + + + + PouType + FunctionBlock + + + + + CTU + + Counter Up. + CV is incremented by 1 if CU has a rising edge. + Q is TRUE, if CV is reached PV. + + 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 + 5784896 + + fbTcAdsListener + FB_Listener + 944896 + 64 + + + ItemType + Input + + + pytmc + + pv: ADS + + + + + + fbTcRouterListener + FB_Listener + 944896 + 944960 + + + ItemType + Input + + + pytmc + + pv: Router + + + + + + fbTcRTimeListener + FB_Listener + 944896 + 1889856 + + + ItemType + Input + + + pytmc + + pv: RTime + + + + + + fbTcSystemListener + FB_Listener + 944896 + 2834752 + + + ItemType + Input + + + pytmc + + pv: System + + + + + + fbWindowsListener + FB_Listener + 944896 + 3779648 + + + ItemType + Input + + + pytmc + + pv: Windows + + + + + + fbLCLSListener + FB_Listener + 944896 + 4724544 + + + ItemType + Input + + + pytmc + + pv: LCLS + + + + + + bInitialized + BOOL + 8 + 5669440 + + false + + + + bReadyToLog + BOOL + 8 + 5669448 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.NotReady - - - .eSeverity - TcEventSeverity.Error - + false - Busy - TcEventEntry - 192 - 1536 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.Busy - - - .eSeverity - TcEventSeverity.Error - - + rtFirstLog + R_TRIG + 64 + 5669472 - InvalidContext - TcEventEntry - 192 - 1728 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.InvalidContext - - - .eSeverity - TcEventSeverity.Error - - + fbGetHostName + FB_GetPLCHostname + 6176 + 5669536 - NoMemory - TcEventEntry - 192 - 1920 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.NoMemory - - - .eSeverity - TcEventSeverity.Error - - + fbGetIP + FB_GetPLCIPAddress + 101184 + 5675712 - InvalidParam - TcEventEntry - 192 - 2112 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.InvalidParam - - - .eSeverity - TcEventSeverity.Error - - + fbListener + FB_Listener + 32 + 5776896 - NotFound - TcEventEntry + fbListeners + FB_Listener + + 0 + 6 + 192 - 2304 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.NotFound - - - .eSeverity - TcEventSeverity.Error - - + 5776928 - Syntax - TcEventEntry - 192 - 2496 + eMinSeverity + TcEventSeverity + Default minimum severity for subscriptions + 16 + 5777120 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.Syntax - - - .eSeverity - TcEventSeverity.Error - + TcEventSeverity.Verbose - Incompatible - TcEventEntry - 192 - 2688 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.Incompatible - + 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 + - .eSeverity - TcEventSeverity.Error + .PV + 3 - AlreadyExists - TcEventEntry - 192 - 2880 + tRetryConnection + TON + Retry after an hour + 224 + 5784192 - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.AlreadyExists - - - .eSeverity - TcEventSeverity.Error + .PT + T#1h - SymbolNotFound - TcEventEntry - 192 - 3072 + tofTrickleBreakerPre + TOF + 224 + 5784416 - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.SymbolNotFound + .PT + T#1s + + + + tonTrickleBreaker + TON + 224 + 5784640 + - .eSeverity - TcEventSeverity.Error + .PT + T#10s - SymbolVersionInvalid - TcEventEntry - 192 - 3264 + bTripCon + BOOL + 8 + 5784864 + + + nNumListeners + UINT + 16 + 5784880 + + 6 + + + + CircuitBreaker + + + + PouType + FunctionBlock + + + + + ST_ReactiveParams + 64 + + nTempSP + REAL + 32 + 0 + + + pytmc + pv: TempSP + io: i + field: PREC 2; + field: EGU "C"; + + + + + + nPressSP + REAL + 32 + 32 + + + pytmc + pv: PressSP + io: i + field: PREC 2; + field: EGU "TORR"; + + + + + + + ST_DbStateParams + 2560 + + sPmpsState + STRING(80) + PMPS database lookup name for this state + 648 + 0 + + + pytmc + + pv: PMPS_STATE + io: i + field: DESC PMPS Database Lookup Key + + + + + + stBeamParams + ST_BeamParams + Beam parameters associated with this state + 1760 + 672 + + + pytmc + + pv: BP + io: i + + + + + + 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. + + + + + + stReactiveParams + ST_ReactiveParams + Reactive parameters associated with this state + 64 + 2464 + + + pytmc + + pv: ReParams + io: i + + + + + + nRequestAssertionID + UDINT + Transition ID associated with this state + 32 + 2528 + + + pytmc + + pv: PMPS_ID + io: i + field: DESC Assertion Request ID + + + + + + + ST_PositionState + 3712 + + 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 + + + + + + fPosition + LREAL + Position associated with this state + 64 + 704 + + + pytmc + + pv: SETPOINT + io: io + field: DESC Axis position associated with this state + + + + + + nEncoderCount + UDINT + 32 + 768 + + + pytmc + + pv: ENCODER + io: i + field: DESC Encoder count associated with this state + + + + + + fDelta + LREAL + Maximum allowable deviation from fPosition while at the state + 64 + 832 + + + 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 + + + + + + fAccel + LREAL + (optional) Acceleration to use for moves to this state + 64 + 960 + + + fDecel + LREAL + (optional) Deceleration to use for moves to this state + 64 + 1024 + + + 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 + + + + + + bLocked + BOOL + Signifies to FB_PositionStateLock that this state should be immutable + 8 + 1096 + + + 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 + + + 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. + 2560 + 1152 + + + + E_MotionRequest + 16 + INT + + WAIT + 0 + + + INTERRUPT + 1 + + + ABORT + 2 + + + + qualified_only + + + strict + + + + + FB_MotionRequest + 1600 + + stMotionStage + ST_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 + E_MotionRequest + Define behavior for when the motor is already moving + 16 + 80 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.SymbolVersionInvalid - - - .eSeverity - TcEventSeverity.Error - + E_MotionRequest.WAIT + + + ItemType + Input + + - InvalidState - TcEventEntry - 192 - 3456 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.InvalidState - - - .eSeverity - TcEventSeverity.Error - - + fPos + LREAL + Goal position + 64 + 128 + + + ItemType + Input + + - TransModeNotSupported - TcEventEntry - 192 - 3648 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.TransModeNotSupported - - - .eSeverity - TcEventSeverity.Error - - + fVel + LREAL + Move velocity + 64 + 192 + + + ItemType + Input + + - NotificationHandleInvalid - TcEventEntry - 192 - 3840 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.NotificationHandleInvalid - - - .eSeverity - TcEventSeverity.Error - - + fAcc + LREAL + Optional acceleration + 64 + 256 + + + ItemType + Input + + - ClientUnknown - TcEventEntry - 192 - 4032 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.ClientUnknown - - - .eSeverity - TcEventSeverity.Error - - + fDec + LREAL + Optional deceleration + 64 + 320 + + + ItemType + Input + + - NoMoreHandles - TcEventEntry - 192 - 4224 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.NoMoreHandles - - - .eSeverity - TcEventSeverity.Error - - + bError + BOOL + True if in error state + 8 + 384 + + + ItemType + Output + + - InvalidWatchSize - TcEventEntry - 192 - 4416 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.InvalidWatchSize - - - .eSeverity - TcEventSeverity.Error - - + 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 + + - NotInit - TcEventEntry - 192 - 4608 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.NotInit - - - .eSeverity - TcEventSeverity.Error - - + bDone + BOOL + If TRUE, we are not moving the motor and our most recent move was successful + 8 + 1104 + + + ItemType + Output + + - DeviceTimeout - TcEventEntry - 192 - 4800 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.DeviceTimeout - - - .eSeverity - TcEventSeverity.Error - - + rtExec + R_TRIG + 64 + 1120 - NoInterface - TcEventEntry - 192 - 4992 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.NoInterface - - - .eSeverity - TcEventSeverity.Error - - + ftExec + F_TRIG + 64 + 1184 - InvalidInterface - TcEventEntry - 192 - 5184 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.InvalidInterface - - - .eSeverity - TcEventSeverity.Error - - + rtReset + R_TRIG + 64 + 1248 - InvalidClassID - TcEventEntry - 192 - 5376 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.InvalidClassID - - - .eSeverity - TcEventSeverity.Error - - + ftBusy + F_TRIG + 64 + 1312 - InvalidObjectID - TcEventEntry - 192 - 5568 + nState + UINT + 16 + 1376 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.InvalidObjectID - - - .eSeverity - TcEventSeverity.Error - + 0 - Pending - TcEventEntry - 192 - 5760 + bMyMove + BOOL + 8 + 1392 + + + bCausedError + BOOL + 8 + 1400 + + + INIT + UINT + 16 + 1408 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.Pending - - - .eSeverity - TcEventSeverity.Error - + 0 - Aborted - TcEventEntry - 192 - 5952 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.Aborted - - - .eSeverity - TcEventSeverity.Error - + WAIT_EXEC + UINT + 16 + 1424 + + 1 - SignalWarning - TcEventEntry - 192 - 6144 + PICK_REQUEST + UINT + 16 + 1440 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.SignalWarning - - - .eSeverity - TcEventSeverity.Error - + 2 - InvalidArrayIndex - TcEventEntry - 192 - 6336 + WAIT_OTHER_MOVE + UINT + 16 + 1456 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.InvalidArrayIndex - - - .eSeverity - TcEventSeverity.Error - + 3 - SymbolNotActive - TcEventEntry - 192 - 6528 + STOP_OTHER_MOVE + UINT + 16 + 1472 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.SymbolNotActive - - - .eSeverity - TcEventSeverity.Error - + 4 - AccessDenied - TcEventEntry - 192 - 6720 + START_MOVE + UINT + 16 + 1488 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.AccessDenied - - - .eSeverity - TcEventSeverity.Error - + 5 - LicenseMissing - TcEventEntry - 192 - 6912 + WAIT_MY_MOVE + UINT + 16 + 1504 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.LicenseMissing - - - .eSeverity - TcEventSeverity.Error - + 6 + + + + STOP_MY_MOVE + UINT + 16 + 1520 + + 7 + + + + DONE_MOVING + UINT + 16 + 1536 + + 8 + + + + ERROR + UINT + 16 + 1552 + + 9 + + + + + PouType + FunctionBlock + + + + + FB_PositionStateMove + 2688 + + stMotionStage + ST_MotionStage + Motor to move + 32 + 32 + + + ItemType + InOut + + + + + stPositionState + ST_PositionState + State to move to + 32 + 64 + + + ItemType + InOut + + + pytmc + + pv: + + + + + + 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 + + + + + + bReset + BOOL + Rising edge error reset + 8 + 104 + + + ItemType + Input + + + pytmc + + pv: RESET + io: io + field: ZNAM False + field: ONAM True + + + + + + enumMotionRequest + E_MotionRequest + Define behavior for when a move is already active + 16 + 112 + + E_MotionRequest.WAIT + + + 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 + + + + + + bError + BOOL + TRUE if we have an error + 8 + 136 + + + ItemType + Output + + + pytmc + + pv: ERR + io: input + field: ZNAM False + field: ONAM True + + + + + + nErrorID + UDINT + Error code + 32 + 160 + + + ItemType + Output + + + pytmc + + pv: ERRID + io: input + + + + + + sErrorMessage + STRING(80) + Error description + 648 + 192 + + + ItemType + Output + + + pytmc + + pv: ERRMSG + io: input + + + - LicenseExpired - TcEventEntry - 192 - 7104 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.LicenseExpired - - - .eSeverity - TcEventSeverity.Error - - + 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 + + + - LicenseExceeded - TcEventEntry - 192 - 7296 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.LicenseExceeded - - - .eSeverity - TcEventSeverity.Error - - + bDone + BOOL + TRUE if we are not 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 + + + - LicenseInvalid - TcEventEntry - 192 - 7488 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.LicenseInvalid - - - .eSeverity - TcEventSeverity.Error - - + fbMotionRequest + FB_MotionRequest + 1600 + 896 - LicenseSystemID - TcEventEntry - 192 - 7680 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.LicenseSystemID - - - .eSeverity - TcEventSeverity.Error - - + rtExec + R_TRIG + 64 + 2496 - LicenseNoTimeLimit - TcEventEntry - 192 - 7872 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.LicenseNoTimeLimit - - - .eSeverity - TcEventSeverity.Error - - + rtReset + R_TRIG + 64 + 2560 - LicenseFutureIssue - TcEventEntry - 192 - 8064 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.LicenseFutureIssue - - - .eSeverity - TcEventSeverity.Error - - + bInnerExec + BOOL + 8 + 2624 - LicenseTimeTooLong - TcEventEntry - 192 - 8256 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.LicenseTimeTooLong - - - .eSeverity - TcEventSeverity.Error - - + bAllowMove + BOOL + 8 + 2632 + + + nLatchAllowErrorID + UDINT + 32 + 2656 + + + + 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 + + - Exception - TcEventEntry - 192 + 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 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.Exception - - - .eSeverity - TcEventSeverity.Error - - + + + ItemType + Output + + - LicenseDuplicated - TcEventEntry - 192 - 8640 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.LicenseDuplicated - - - .eSeverity - TcEventSeverity.Error - - + bBusy + BOOL + True during a parameter get/calc + 8 + 8512 + + + ItemType + Output + + - SignatureInvalid - TcEventEntry - 192 - 8832 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.SignatureInvalid - - - .eSeverity - TcEventSeverity.Error - - + bDone + BOOL + True after a successful get/calc + 8 + 8520 + + + ItemType + Output + + - CertificateInvalid - TcEventEntry - 192 - 9024 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.CertificateInvalid - - - .eSeverity - TcEventSeverity.Error - - + bError + BOOL + True if the calculation errored + 8 + 8528 + + + ItemType + Output + + + + + PouType + FunctionBlock + + + + + FB_PositionStateLock + 3904 - LicenseOEMNotFound - TcEventEntry - 192 - 9216 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.LicenseOEMNotFound - - - .eSeverity - TcEventSeverity.Error - - + stPositionState + ST_PositionState + 32 + 32 + + + ItemType + InOut + + - LicenseRestricted - TcEventEntry - 192 - 9408 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.LicenseRestricted - - - .eSeverity - TcEventSeverity.Error - - + bEnable + BOOL + 8 + 64 + + + ItemType + Input + + - LicenseDemoDenied - TcEventEntry - 192 - 9600 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.LicenseDemoDenied - - - .eSeverity - TcEventSeverity.Error - - + stCachedPositionState + ST_PositionState + 3712 + 128 - InvalidFunctionID - TcEventEntry - 192 - 9792 + bInit + BOOL + 8 + 3840 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.InvalidFunctionID - - - .eSeverity - TcEventSeverity.Error - + false + + + PouType + FunctionBlock + + + + + FB_PositionStateInternal + 12608 - OutOfRange - TcEventEntry - 192 - 9984 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.OutOfRange - - - .eSeverity - TcEventSeverity.Error - - + stMotionStage + ST_MotionStage + 32 + 32 + + + ItemType + InOut + + - InvalidAlignment - TcEventEntry - 192 - 10176 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.InvalidAlignment - - - .eSeverity - TcEventSeverity.Error - - + stPositionState + ST_PositionState + 32 + 64 + + + ItemType + InOut + + - LicensePlatform - TcEventEntry - 192 - 10368 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.LicensePlatform - - - .eSeverity - TcEventSeverity.Error - - + fbEncConverter + FB_RawCountConverter + 8576 + 128 - ForwardPassiveLevel - TcEventEntry - 192 - 10560 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.ForwardPassiveLevel - - - .eSeverity - TcEventSeverity.Error - - + fbLock + FB_PositionStateLock + 3904 + 8704 + + + + PouType + FunctionBlock + + + + + FB_PositionStateBase + 256000 + + stMotionStage + ST_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 + + + + + + bError + BOOL + If TRUE, there is an error + 8 + 80 + + + ItemType + Output + + + pytmc + + pv: ERR + io: i + field: ZNAM False + field: ONAM True + + + + + + nErrorId + UDINT + Error ID + 32 + 96 + + + ItemType + Output + + + pytmc + + pv: ERRID + io: i + + + + + + sErrorMessage + STRING(80) + The error that caused bError to flip TRUE + 648 + 128 + + + ItemType + Output + + + pytmc + + pv: ERRMSG + io: i + + + + + + bBusy + BOOL + If TRUE, we are moving the motor + 8 + 776 + + + ItemType + Output + + + pytmc + + pv: BUSY + io: i + field: ZNAM False + field: ONAM True + + + + + + 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 + + + + + + arrStates + ST_PositionState + + 1 + 15 + + Pre-allocated array of states + 55680 + 832 + + + pytmc + + pv: + io: io + expand: %.2d + + + - ForwardDispatchLevel - TcEventEntry - 192 - 10752 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.ForwardDispatchLevel - - - .eSeverity - TcEventSeverity.Error - - + setState + INT + Corresponding arrStates index to move to, or 0 if no move selected + 16 + 56512 - ForwardRealTime - TcEventEntry - 192 - 10944 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.ForwardRealTime - - - .eSeverity - TcEventSeverity.Error - - + goalState + INT + The current position we are trying to reach, or 0 + 16 + 56528 - InvalidServiceParam - TcEventEntry - 192 - 11136 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.InvalidServiceParam - - - .eSeverity - TcEventSeverity.Error - - + getState + INT + The readback position + 16 + 56544 - ListEmpty - TcEventEntry - 192 - 11328 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.ListEmpty - - - .eSeverity - TcEventSeverity.Error - - + bInit + BOOL + 8 + 56560 - VariableConAlreadyInUse - TcEventEntry - 192 - 11520 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.VariableConAlreadyInUse - - - .eSeverity - TcEventSeverity.Error - - + stUnknown + ST_PositionState + 3712 + 56576 - InvokeIDAlreadyInUse - TcEventEntry - 192 - 11712 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.InvokeIDAlreadyInUse - - - .eSeverity - TcEventSeverity.Error - - + stGoal + ST_PositionState + 3712 + 60288 - TimeoutElapsed - TcEventEntry - 192 - 11904 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.TimeoutElapsed - - - .eSeverity - TcEventSeverity.Error - - + fbStateMove + FB_PositionStateMove + 2688 + 64000 - Win32Error - TcEventEntry - 192 - 12096 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.Win32Error - - - .eSeverity - TcEventSeverity.Error - - + fbStateInternal + FB_PositionStateInternal + + 1 + 15 + + 189120 + 66688 + + + nIndex + INT + 16 + 255808 - TimeoutInvalid - TcEventEntry - 192 - 12288 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.TimeoutInvalid - - - .eSeverity - TcEventSeverity.Error - - + bNewGoal + BOOL + 8 + 255824 - PortNotOpen - TcEventEntry - 192 - 12480 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.PortNotOpen - - - .eSeverity - TcEventSeverity.Error - - + bInnerExec + BOOL + 8 + 255832 - NoAMSAddr - TcEventEntry - 192 - 12672 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.NoAMSAddr - - - .eSeverity - TcEventSeverity.Error - - + bInnerReset + BOOL + 8 + 255840 - SyncInternalError - TcEventEntry - 192 - 12864 + rtReset + R_TRIG + 64 + 255872 + + + bMoveRequested + BOOL + 8 + 255936 + + + Exec + + + StateHandler + + + + PouType + FunctionBlock + + + obsolete + Use FB_PositionState1D instead + + + + + I_HigherAuthority + 32 + PVOID + + CheckRequest + Verify with this higher authority that the request is being included + BOOL + 8 + + nReqID + DWORD + 32 + + + + RemoveRequest + Remove the request from this higher authority + BOOL + 8 + + nReqID + StateID to remove + DWORD + 32 + + + + RequestBP + Request a BP from this higher authority + 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 + <Arbiter Internal> + Elevates the arbitrated BP set to something above. + Could be another arbiter, or a BP requester/ IO, + or an FB that locks in a specific portion of the BP set. + BOOL + 8 + + HigherAuthority + I_HigherAuthority + 32 + + + + + T_HashTableEntry + 64 + + key + DWORD + 32 + 0 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.SyncInternalError - - - .eSeverity - TcEventSeverity.Error - + 0 + + + pytmc + + pv: Key + io: i + + + - AddHash - TcEventEntry - 192 - 13056 + value + PVOID + 32 + 32 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.AddHash - - - .eSeverity - TcEventSeverity.Error - + 0 + + + ST_BP_ArbInternal + 2464 + ST_BeamParams - RemoveHash - TcEventEntry - 192 - 13248 - - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.RemoveHash - - - .eSeverity - TcEventSeverity.Error - + nId + DWORD + 32 + 1760 + + + pytmc + pv: ID + io: i + + + + + + LiveInTable + BOOL + 8 + 1792 + + + pytmc + pv: Live + io: i + + + + + + sDevName + STRING(80) + 648 + 1800 + + + pytmc + pv: Device + io: i + + + + + + + T_HashTableEntry + Hash table entry + 192 + + key + DWORD + Entry key: 32 bit unsigned integer or pointer + 32 + 0 + + 0 - NoMoreSymbols - TcEventEntry - 192 - 13440 + value + PVOID + Entry value: 32/64 bit unsigned integer or pointer + 32 + 32 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.NoMoreSymbols - - - .eSeverity - TcEventSeverity.Error - + 0 - SyncResInvalid - TcEventEntry - 192 - 13632 + lock + DWORD + Node state flags: Bit 0 <0..1>: 0 = node free, 1 = node in use, other bits reserved + 32 + 64 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.SyncResInvalid - - - .eSeverity - TcEventSeverity.Error - + 0 + + + conditionalshow + + - SyncPortLocked - TcEventEntry - 192 - 13824 + pNext + PVOID + Pointer to next hash table element + 32 + 96 - - .uuidEventClass.Data1 - 2104885350 - - - .uuidEventClass.Data2 - 54131 - - - .uuidEventClass.Data3 - 18956 - - - .uuidEventClass.Data4[0] - 176 - - - .uuidEventClass.Data4[1] - 241 - - - .uuidEventClass.Data4[2] - 50 - - - .uuidEventClass.Data4[3] - 139 - - - .uuidEventClass.Data4[4] - 22 - - - .uuidEventClass.Data4[5] - 32 - - - .uuidEventClass.Data4[6] - 176 - - - .uuidEventClass.Data4[7] - 240 - - - .nEventID - E_TcGeneralAdsEventClass.SyncPortLocked - - - .eSeverity - TcEventSeverity.Error - + 0 + + + conditionalshow + + - - - TcTypeSystem - - - signature_flag - 33554432 - - - checksuperglobal - - - show - - - no-analysis - - - TcEventClass - TcGeneralAdsEventClass - - - - - TcRouterEventClass - TcRouterEventClass - - NoLockedMemory - Locked memory cannot be allocated. - Error - - - ResizeMemory - The router memory size could not be changed. - Error - - - MailboxFull - The mailbox has reached the maximum number of possible messages. - Error - - - DebugBoxFull - The debug mailbox has reached the maximum number of possible messages. - Error - - - UnknownPortType - The port type is unknown. - Error - - - NotInitialized - TwinCAT Router is not initialised. - Error - - - PortAlreadyInUse - The port number is already assigned. - Error - - - NotRegistered - The port is not registered. - Error - - - NoMoreQueues - The maximum number of ports has been reached. - Error - - - InvalidPort - The port is invalid. - Error - - - NotActivated - TwinCAT Router is not active. - Error - - - FragmentBoxFull - The mailbox has reached the maximum number for fragmented messages. - Error - - - FragmentTimeout - A fragment timeout has occurred. - Error - - - ToBeRemoved - The port is removed. - Error - - - - Lockierter Speicher kann nicht zugewiesen werden. - - - Die Größe des Routerspeichers konnte nicht geändert werden. - - - Das Postfach hat die maximale Anzahl der möglichen Meldungen erreicht. - - - Das Debug Postfach hat die maximale Anzahl der möglichen Meldungen erreicht. - - - Der Porttyp ist unbekannt. - - - Der TwinCAT Router ist nicht initialisiert. - - - Die Portnummer ist bereits vergeben. - - - Der Port ist nicht registriert. - - - Die maximale Portanzahl ist erreicht. - - - Der Port ist ungültig. - - - Der TwinCAT Router ist nicht aktiv. - - - Das Postfach hat die maximale Anzahl für fragmentierte Nachrichten erreicht. - - - Fragment Timeout aufgetreten. - - - Port wird entfernt. - - - - - - - - - ST_TcRouterEventClass - 2688 - NoLockedMemory - TcEventEntry - 192 - 0 + pNextFree + PVOID + Pointer to next free element + 32 + 128 - - .uuidEventClass.Data1 - 3881394266 - - - .uuidEventClass.Data2 - 9025 - - - .uuidEventClass.Data3 - 18684 - - - .uuidEventClass.Data4[0] - 159 - - - .uuidEventClass.Data4[1] - 63 - - - .uuidEventClass.Data4[2] - 200 - - - .uuidEventClass.Data4[3] - 250 - - - .uuidEventClass.Data4[4] - 64 - - - .uuidEventClass.Data4[5] - 92 - - - .uuidEventClass.Data4[6] - 75 - - - .uuidEventClass.Data4[7] - 36 - - - .nEventID - E_TcRouterEventClass.NoLockedMemory - - - .eSeverity - TcEventSeverity.Error - + 0 + + + conditionalshow + + - ResizeMemory - TcEventEntry - 192 - 192 + pNextGlob + PVOID + Pointer to next global element + 32 + 160 - - .uuidEventClass.Data1 - 3881394266 - - - .uuidEventClass.Data2 - 9025 - - - .uuidEventClass.Data3 - 18684 - - - .uuidEventClass.Data4[0] - 159 - - - .uuidEventClass.Data4[1] - 63 - - - .uuidEventClass.Data4[2] - 200 - - - .uuidEventClass.Data4[3] - 250 - - - .uuidEventClass.Data4[4] - 64 - - - .uuidEventClass.Data4[5] - 92 - - - .uuidEventClass.Data4[6] - 75 - - - .uuidEventClass.Data4[7] - 36 - - - .nEventID - E_TcRouterEventClass.ResizeMemory - - - .eSeverity - TcEventSeverity.Error - + 0 + + + + conditionalshow + + + + + + T_HHASHTABLE + Hash table object handle + 3488 + + nCount + UDINT + Number of used hash table entries + 32 + 0 + + 0 - MailboxFull - TcEventEntry - 192 - 384 + nFree + UDINT + Number of free hash table entries + 32 + 32 - - .uuidEventClass.Data1 - 3881394266 - - - .uuidEventClass.Data2 - 9025 - - - .uuidEventClass.Data3 - 18684 - - - .uuidEventClass.Data4[0] - 159 - - - .uuidEventClass.Data4[1] - 63 - - - .uuidEventClass.Data4[2] - 200 - - - .uuidEventClass.Data4[3] - 250 - - - .uuidEventClass.Data4[4] - 64 - - - .uuidEventClass.Data4[5] - 92 - - - .uuidEventClass.Data4[6] - 75 - - - .uuidEventClass.Data4[7] - 36 - - - .nEventID - E_TcRouterEventClass.MailboxFull - - - .eSeverity - TcEventSeverity.Error - + 0 - DebugBoxFull - TcEventEntry - 192 - 576 + pEntries + T_HashTableEntry + Pointer to table array + 32 + 64 - - .uuidEventClass.Data1 - 3881394266 - - - .uuidEventClass.Data2 - 9025 - - - .uuidEventClass.Data3 - 18684 - - - .uuidEventClass.Data4[0] - 159 - - - .uuidEventClass.Data4[1] - 63 - - - .uuidEventClass.Data4[2] - 200 - - - .uuidEventClass.Data4[3] - 250 - - - .uuidEventClass.Data4[4] - 64 - - - .uuidEventClass.Data4[5] - 92 - - - .uuidEventClass.Data4[6] - 75 - - - .uuidEventClass.Data4[7] - 36 - - - .nEventID - E_TcRouterEventClass.DebugBoxFull - - - .eSeverity - TcEventSeverity.Error - + 0 + + + conditionalshow + + - UnknownPortType - TcEventEntry - 192 - 768 + cbEntries + UDINT + Byte size of table array + 32 + 96 - - .uuidEventClass.Data1 - 3881394266 - - - .uuidEventClass.Data2 - 9025 - - - .uuidEventClass.Data3 - 18684 - - - .uuidEventClass.Data4[0] - 159 - - - .uuidEventClass.Data4[1] - 63 - - - .uuidEventClass.Data4[2] - 200 - - - .uuidEventClass.Data4[3] - 250 - - - .uuidEventClass.Data4[4] - 64 - - - .uuidEventClass.Data4[5] - 92 - - - .uuidEventClass.Data4[6] - 75 - - - .uuidEventClass.Data4[7] - 36 - - - .nEventID - E_TcRouterEventClass.UnknownPortType - - - .eSeverity - TcEventSeverity.Error - + 0 + + + conditionalshow + + - NotInitialized - TcEventEntry - 192 - 960 + nElements + UDINT + Number of table/array elements + 32 + 128 - - .uuidEventClass.Data1 - 3881394266 - - - .uuidEventClass.Data2 - 9025 - - - .uuidEventClass.Data3 - 18684 - - - .uuidEventClass.Data4[0] - 159 - - - .uuidEventClass.Data4[1] - 63 - - - .uuidEventClass.Data4[2] - 200 - - - .uuidEventClass.Data4[3] - 250 - - - .uuidEventClass.Data4[4] - 64 - - - .uuidEventClass.Data4[5] - 92 - - - .uuidEventClass.Data4[6] - 75 - - - .uuidEventClass.Data4[7] - 36 - - - .nEventID - E_TcRouterEventClass.NotInitialized - - - .eSeverity - TcEventSeverity.Error - + 0 + + + conditionalshow + + - PortAlreadyInUse - TcEventEntry - 192 - 1152 + cbElement + UDINT + Byte size of one array element + 32 + 160 - - .uuidEventClass.Data1 - 3881394266 - - - .uuidEventClass.Data2 - 9025 - - - .uuidEventClass.Data3 - 18684 - - - .uuidEventClass.Data4[0] - 159 - - - .uuidEventClass.Data4[1] - 63 - - - .uuidEventClass.Data4[2] - 200 - - - .uuidEventClass.Data4[3] - 250 - - - .uuidEventClass.Data4[4] - 64 - - - .uuidEventClass.Data4[5] - 92 - - - .uuidEventClass.Data4[6] - 75 - - - .uuidEventClass.Data4[7] - 36 - - - .nEventID - E_TcRouterEventClass.PortAlreadyInUse - - - .eSeverity - TcEventSeverity.Error - + 0 + + + conditionalshow + + - NotRegistered - TcEventEntry - 192 - 1344 + pEntrys + T_HashTableEntry + + 0 + 101 + + 3232 + 192 + + + conditionalshow + + + + + pFreeEntrys + T_HashTableEntry + 32 + 3424 - - .uuidEventClass.Data1 - 3881394266 - - - .uuidEventClass.Data2 - 9025 - - - .uuidEventClass.Data3 - 18684 - - - .uuidEventClass.Data4[0] - 159 - - - .uuidEventClass.Data4[1] - 63 - - - .uuidEventClass.Data4[2] - 200 - - - .uuidEventClass.Data4[3] - 250 - - - .uuidEventClass.Data4[4] - 64 - - - .uuidEventClass.Data4[5] - 92 - - - .uuidEventClass.Data4[6] - 75 - - - .uuidEventClass.Data4[7] - 36 - - - .nEventID - E_TcRouterEventClass.NotRegistered - - - .eSeverity - TcEventSeverity.Error - + 0 + + + conditionalshow + + - NoMoreQueues - TcEventEntry - 192 - 1536 + pFirstEntry + T_HashTableEntry + 32 + 3456 - - .uuidEventClass.Data1 - 3881394266 - - - .uuidEventClass.Data2 - 9025 - - - .uuidEventClass.Data3 - 18684 - - - .uuidEventClass.Data4[0] - 159 - - - .uuidEventClass.Data4[1] - 63 - - - .uuidEventClass.Data4[2] - 200 - - - .uuidEventClass.Data4[3] - 250 - - - .uuidEventClass.Data4[4] - 64 - - - .uuidEventClass.Data4[5] - 92 - - - .uuidEventClass.Data4[6] - 75 - - - .uuidEventClass.Data4[7] - 36 - - - .nEventID - E_TcRouterEventClass.NoMoreQueues - - - .eSeverity - TcEventSeverity.Error - + 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 + + - InvalidPort - TcEventEntry - 192 - 1728 + putValue + PVOID + Entry value: 32/64 bit unsigned integer or pointer + 32 + 96 - - .uuidEventClass.Data1 - 3881394266 - - - .uuidEventClass.Data2 - 9025 - - - .uuidEventClass.Data3 - 18684 - - - .uuidEventClass.Data4[0] - 159 - - - .uuidEventClass.Data4[1] - 63 - - - .uuidEventClass.Data4[2] - 200 - - - .uuidEventClass.Data4[3] - 250 - - - .uuidEventClass.Data4[4] - 64 - - - .uuidEventClass.Data4[5] - 92 - - - .uuidEventClass.Data4[6] - 75 - - - .uuidEventClass.Data4[7] - 36 - - - .nEventID - E_TcRouterEventClass.InvalidPort - - - .eSeverity - TcEventSeverity.Error - + 0 + + + ItemType + Input + + - NotActivated - TcEventEntry - 192 - 1920 + putPosPtr + T_HashTableEntry + Hash table entry position pointer, used by A_GetNext + 32 + 128 - - .uuidEventClass.Data1 - 3881394266 - - - .uuidEventClass.Data2 - 9025 - - - .uuidEventClass.Data3 - 18684 - - - .uuidEventClass.Data4[0] - 159 - - - .uuidEventClass.Data4[1] - 63 - - - .uuidEventClass.Data4[2] - 200 - - - .uuidEventClass.Data4[3] - 250 - - - .uuidEventClass.Data4[4] - 64 - - - .uuidEventClass.Data4[5] - 92 - - - .uuidEventClass.Data4[6] - 75 - - - .uuidEventClass.Data4[7] - 36 - - - .nEventID - E_TcRouterEventClass.NotActivated - - - .eSeverity - TcEventSeverity.Error - + 0 + + + ItemType + Input + + - FragmentBoxFull - TcEventEntry - 192 - 2112 + bOk + BOOL + TRUE = success, FALSE = error + 8 + 160 - - .uuidEventClass.Data1 - 3881394266 - - - .uuidEventClass.Data2 - 9025 - - - .uuidEventClass.Data3 - 18684 - - - .uuidEventClass.Data4[0] - 159 - - - .uuidEventClass.Data4[1] - 63 - - - .uuidEventClass.Data4[2] - 200 - - - .uuidEventClass.Data4[3] - 250 - - - .uuidEventClass.Data4[4] - 64 - - - .uuidEventClass.Data4[5] - 92 - - - .uuidEventClass.Data4[6] - 75 - - - .uuidEventClass.Data4[7] - 36 - - - .nEventID - E_TcRouterEventClass.FragmentBoxFull - - - .eSeverity - TcEventSeverity.Error - + false + + + ItemType + Output + + - FragmentTimeout - TcEventEntry - 192 - 2304 + getValue + PVOID + Entry value: 32/64 bit unsigned integer or pointer + 32 + 192 - - .uuidEventClass.Data1 - 3881394266 - - - .uuidEventClass.Data2 - 9025 - - - .uuidEventClass.Data3 - 18684 - - - .uuidEventClass.Data4[0] - 159 - - - .uuidEventClass.Data4[1] - 63 - - - .uuidEventClass.Data4[2] - 200 - - - .uuidEventClass.Data4[3] - 250 - - - .uuidEventClass.Data4[4] - 64 - - - .uuidEventClass.Data4[5] - 92 - - - .uuidEventClass.Data4[6] - 75 - - - .uuidEventClass.Data4[7] - 36 - - - .nEventID - E_TcRouterEventClass.FragmentTimeout - - - .eSeverity - TcEventSeverity.Error - + 0 + + + ItemType + Output + + - ToBeRemoved - TcEventEntry - 192 - 2496 + getPosPtr + T_HashTableEntry + returned by A_GetFirstEntry, A_GetNextEntry, A_Add, A_Lookup and A_Remove method + 32 + 224 - - .uuidEventClass.Data1 - 3881394266 - - - .uuidEventClass.Data2 - 9025 - - - .uuidEventClass.Data3 - 18684 - - - .uuidEventClass.Data4[0] - 159 - - - .uuidEventClass.Data4[1] - 63 - - - .uuidEventClass.Data4[2] - 200 - - - .uuidEventClass.Data4[3] - 250 - - - .uuidEventClass.Data4[4] - 64 - - - .uuidEventClass.Data4[5] - 92 - - - .uuidEventClass.Data4[6] - 75 - - - .uuidEventClass.Data4[7] - 36 - - - .nEventID - E_TcRouterEventClass.ToBeRemoved - - - .eSeverity - TcEventSeverity.Error - + 0 - - - - TcTypeSystem - - - signature_flag - 33554432 - - - checksuperglobal - - - show - - - no-analysis - - - TcEventClass - TcRouterEventClass - - - - - TcRTimeEventClass - TcRTimeEventClass - - InternalError - Internal error in the real-time system. - Error - - - BadTimerPeriods - Timer value is not valid. - Error - - - InvalidTaskPtr - The task pointer has the invalid value 0 (null). - Error - - - InvalidStackPtr - The stack pointer has the invalid value 0 (null). - Error - - - PrioExists - The task priority is already assigned. - Error - - - NoMoreTCB - No free TCB (Task Control Block) available. The maximum number of TCBs is 64. - Error - - - NoMoreSemas - No free semaphores available. The maximum number of semaphores is 64. - Error - - - NoMoreQueues - No free space available in the queue. The maximum number of positions in the queue is 64. - Error - - - ExtIRQAlreadyDef - An external synchronization interrupt is already applied. - Error - - - ExtIRQNotDef - No external synchronziation interrupt applied. - Error - - - ExtIRQInstallFailed - Application of the external synchronization 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 the BIOS. - Error - - - VMXControlsMissing - Missing function in Intel VT-x extension. - Error - - - VMXEnableFails - Activation of Intel VT-x fails. - Error - - - - Interner Fehler im Echtzeit-System. - - - Timer-Wert ist nicht gültig. - - - Task-Pointer hat den ungültigen Wert 0 (null). - - - Stack-Pointer hat den ungültigen Wert 0 (null). - - - Die Task Priority ist bereits vergeben. - - - Kein freier TCB (Task Control Block) verfügbar. Maximale Anzahl von TCBs beträgt 64. - - - Keine freien Semaphoren zur Verfügung. Maximale Anzahl der Semaphoren beträgt 64. - - - Kein freier Platz in der Warteschlange zur Verfügung. Maximale Anzahl der Plätze in der Warteschlange beträgt 64. - - - Ein externer Synchronisations-Interrupt wird bereits angewandt. - - - Kein externer Synchronisations-Interrupt angewandt. - - - Anwendung des externen Synchronisations-Interrupts ist fehlgeschlagen. - - - Aufruf einer Service-Funktion im falschen Kontext - - - Intel VT-x Erweiterung wird nicht unterstützt. - - - Intel VT-x Erweiterung ist nicht aktiviert im BIOS. - - - Fehlende Funktion in Intel VT-x Erweiterung. - - - Aktivieren von Intel VT-x schlägt fehl. - - - - - - - + + + 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 + + - ST_TcRTimeEventClass - 3072 + FB_BeamParamAssertionPool + This function block implements simple database. Data element values are stored in the hash table. + 214336 - InternalError - TcEventEntry - 192 - 0 + key + DWORD + Entry key: used by A_Lookup, A_Remove method, the key variable is also used by A_Add method + 32 + 32 - - .uuidEventClass.Data1 - 2465223571 - - - .uuidEventClass.Data2 - 1704 - - - .uuidEventClass.Data3 - 18626 - - - .uuidEventClass.Data4[0] - 136 - - - .uuidEventClass.Data4[1] - 113 - - - .uuidEventClass.Data4[2] - 234 - - - .uuidEventClass.Data4[3] - 163 - - - .uuidEventClass.Data4[4] - 140 - - - .uuidEventClass.Data4[5] - 30 - - - .uuidEventClass.Data4[6] - 57 - - - .uuidEventClass.Data4[7] - 144 - - - .nEventID - E_TcRTimeEventClass.InternalError - - - .eSeverity - TcEventSeverity.Error - + 0 + + + ItemType + Input + + - BadTimerPeriods - TcEventEntry - 192 - 192 + putPosPtr + T_HashTableEntry + Hash table entry position pointer (used by A_Find, A_GetNext, A_GetPrev) + 32 + 64 - - .uuidEventClass.Data1 - 2465223571 - - - .uuidEventClass.Data2 - 1704 - - - .uuidEventClass.Data3 - 18626 - - - .uuidEventClass.Data4[0] - 136 - - - .uuidEventClass.Data4[1] - 113 - - - .uuidEventClass.Data4[2] - 234 - - - .uuidEventClass.Data4[3] - 163 - - - .uuidEventClass.Data4[4] - 140 - - - .uuidEventClass.Data4[5] - 30 - - - .uuidEventClass.Data4[6] - 57 - - - .uuidEventClass.Data4[7] - 144 - - - .nEventID - E_TcRTimeEventClass.BadTimerPeriods - - - .eSeverity - TcEventSeverity.Error - + 0 + + + ItemType + Input + + - InvalidTaskPtr - TcEventEntry - 192 - 384 + 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 - - .uuidEventClass.Data1 - 2465223571 - - - .uuidEventClass.Data2 - 1704 - - - .uuidEventClass.Data3 - 18626 - - - .uuidEventClass.Data4[0] - 136 - - - .uuidEventClass.Data4[1] - 113 - - - .uuidEventClass.Data4[2] - 234 - - - .uuidEventClass.Data4[3] - 163 - - - .uuidEventClass.Data4[4] - 140 - - - .uuidEventClass.Data4[5] - 30 - - - .uuidEventClass.Data4[6] - 57 - - - .uuidEventClass.Data4[7] - 144 - - - .nEventID - E_TcRTimeEventClass.InvalidTaskPtr - - - .eSeverity - TcEventSeverity.Error - + false + + + ItemType + Output + + - InvalidStackPtr - TcEventEntry - 192 - 576 + getPosPtr + T_HashTableEntry + Returned hash table entry position pointer + 32 + 2592 - - .uuidEventClass.Data1 - 2465223571 - - - .uuidEventClass.Data2 - 1704 - - - .uuidEventClass.Data3 - 18626 - - - .uuidEventClass.Data4[0] - 136 - - - .uuidEventClass.Data4[1] - 113 - - - .uuidEventClass.Data4[2] - 234 - - - .uuidEventClass.Data4[3] - 163 - - - .uuidEventClass.Data4[4] - 140 - - - .uuidEventClass.Data4[5] - 30 - - - .uuidEventClass.Data4[6] - 57 - - - .uuidEventClass.Data4[7] - 144 - - - .nEventID - E_TcRTimeEventClass.InvalidStackPtr - - - .eSeverity - TcEventSeverity.Error - + 0 + + + ItemType + Output + + - PrioExists - TcEventEntry - 192 - 768 + 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 - - .uuidEventClass.Data1 - 2465223571 - - - .uuidEventClass.Data2 - 1704 - - - .uuidEventClass.Data3 - 18626 - - - .uuidEventClass.Data4[0] - 136 - - - .uuidEventClass.Data4[1] - 113 - - - .uuidEventClass.Data4[2] - 234 - - - .uuidEventClass.Data4[3] - 163 - - - .uuidEventClass.Data4[4] - 140 - - - .uuidEventClass.Data4[5] - 30 - - - .uuidEventClass.Data4[6] - 57 - - - .uuidEventClass.Data4[7] - 144 - - - .nEventID - E_TcRTimeEventClass.PrioExists - - - .eSeverity - TcEventSeverity.Error - + 0 + + + + ItemType + Output + + + + + epicsDataPool + ST_BP_ArbInternal + + 1 + 20 + + Structured data element pool for display in EPICS + 49280 + 5120 + + + pytmc + + pv: Entry + io: i + + + + + + 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 - NoMoreTCB - TcEventEntry - 192 - 960 + indexOfElem + ULINT + Integer value (max. size: x86=>32bit, x64=>64bit) + 64 + 212480 + + + cstSafeBeam + ST_BeamParams + MG + 1760 + 212544 - .uuidEventClass.Data1 - 2465223571 - - - .uuidEventClass.Data2 - 1704 - - - .uuidEventClass.Data3 - 18626 - - - .uuidEventClass.Data4[0] - 136 - - - .uuidEventClass.Data4[1] - 113 - - - .uuidEventClass.Data4[2] - 234 - - - .uuidEventClass.Data4[3] - 163 - - - .uuidEventClass.Data4[4] - 140 - - - .uuidEventClass.Data4[5] - 30 - - - .uuidEventClass.Data4[6] - 57 + .nTran + 0 - .uuidEventClass.Data4[7] - 144 + .neVRange + 0 - .nEventID - E_TcRTimeEventClass.NoMoreTCB + .nRate + 0 - .eSeverity - TcEventSeverity.Error + .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: +- Provide a simple interface for devices to request beam parameter sets +- Provide a way for devices to verify their BPS is active in the arbiter +- Provide a way for devices remove their requests from evaluation +- Evaluate all active beam parameter requests registered with the aribiter, +to determine the safest combination of all sets, provide this set as an output. +- Do all of this with minimal overhead + +To these ends, the arbiter uses a hash-table, the rows being a state-id as the key, and a corresponding + beam parameter set to be evaluated against all the other sets (or rows), in the table. + +The hash table can be thought of as an array on steriods, they are worth reading about, suffice to say +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. + + 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 + + + + + + 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. + + + + + + nNextCohort + UDINT + The cohort ID any new requests will adopt, will become ReqInProgCohort at the start of the next acknowledgement cycle + 32 + 214528 + + 1 + + - NoMoreSemas - TcEventEntry - 192 - 1152 + nAckInProgCohort + UDINT + The cohort ID currently being acknowledged, will become nActiveCohort after acknowledgement from HA + 32 + 214560 - - .uuidEventClass.Data1 - 2465223571 - - - .uuidEventClass.Data2 - 1704 - - - .uuidEventClass.Data3 - 18626 - - - .uuidEventClass.Data4[0] - 136 - - - .uuidEventClass.Data4[1] - 113 - - - .uuidEventClass.Data4[2] - 234 - - - .uuidEventClass.Data4[3] - 163 - - - .uuidEventClass.Data4[4] - 140 - - - .uuidEventClass.Data4[5] - 30 - - - .uuidEventClass.Data4[6] - 57 - - - .uuidEventClass.Data4[7] - 144 - - - .nEventID - E_TcRTimeEventClass.NoMoreSemas - - - .eSeverity - TcEventSeverity.Error - + 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 + + + + + + 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 + + false + + + + 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_xStateIDFound + BOOL + Set true if a state-id is found in the assertion pool after calling A_VerifyAssertion + 8 + 228448 + + + ItemType + Output + + + + + __FB_ARBITER__GETARBITRATEDBP__XFIRSTPASS + BOOL + 8 + 228456 + + : u - NoMoreQueues - TcEventEntry - 192 - 1344 - - - .uuidEventClass.Data1 - 2465223571 - - - .uuidEventClass.Data2 - 1704 - - - .uuidEventClass.Data3 - 18626 - - - .uuidEventClass.Data4[0] - 136 - - - .uuidEventClass.Data4[1] - 113 - - - .uuidEventClass.Data4[2] - 234 - - - .uuidEventClass.Data4[3] - 163 - - - .uuidEventClass.Data4[4] - 140 - - - .uuidEventClass.Data4[5] - 30 - - - .uuidEventClass.Data4[6] - 57 - - - .uuidEventClass.Data4[7] - 144 - - - .nEventID - E_TcRTimeEventClass.NoMoreQueues - - - .eSeverity - TcEventSeverity.Error - - + __FB_ARBITER__GETARBITRATEDBP__FBGETCURTASKIDX + GETCURTASKINDEX + 128 + 228480 + + + __FB_ARBITER__GETARBITRATEDBP__LASTCYCLECOUNT + UDINT + 32 + 228608 + + + __FB_ARBITER__GETARBITRATEDBP__FBLOGMESSAGE + FB_LogMessage + 81984 + 228672 + + + __FB_ARBITER__ADDREQUEST__FBLOG + FB_LogMessage + 81984 + 310656 + + + __FB_ARBITER__REMOVEREQUEST__FBLOG + FB_LogMessage + 81984 + 392640 + + + __getnEntryCount + How many entries are in the arbiter now + UDINT + 32 + + nEntryCount + UDINT + 32 + + + + property + + + + + CheckRequest + Checks request ID is included in arbitration all the way to the accelerator interface +Use like so: +IF fbArbiter.CheckRequest(nStateIDAssertionToCheck) AND (other logic) THEN: + Request is found and active in arbitration,. Do something. +ELSE: + Request was not found, or is not yet included in arbitration. Don't do something/ wait. + + + BOOL + 8 + + nReqID + DWORD + 32 + + + BP + ST_BeamParams + 1760 + + + + ElevateRequest + <Arbiter Internal> + Elevates the arbitrated BP set to something above. + Could be another arbiter, or a BP requester/ IO, + or an FB that locks in a specific portion of the BP set. + BOOL + 8 + + HigherAuthority + I_HigherAuthority + 32 + + + + GetArbitratedBP + Executes Arbitration between all requested beam parameter sets + 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 + __FB_ARBITER__GETARBITRATEDBP__XFIRSTPASS + + + + + fbGetCurTaskIdx + GETCURTASKINDEX + 128 + + + uselocation + __FB_ARBITER__GETARBITRATEDBP__FBGETCURTASKIDX + + + + + LastCycleCount + UDINT + 32 + + + uselocation + __FB_ARBITER__GETARBITRATEDBP__LASTCYCLECOUNT + + + + + fbLogMessage + FB_LogMessage + 81984 + + + uselocation + __FB_ARBITER__GETARBITRATEDBP__FBLOGMESSAGE + + + + + + ArbitrateBP + Kernel of the arbiter + Logic for determining which beam parameter is the most conservative across all request sets. + 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 + Adds a request to the arbiter pool. + Returns true if the request was successfully added, false if not enough space or a request with the same ID is already present. + 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 + __FB_ARBITER__ADDREQUEST__FBLOG + + + + + + RemoveRequest + Removes request from abritration. + BOOL + 8 + + nReqId + DWORD + 32 + + + fbLog + FB_LogMessage + 81984 + + + uselocation + __FB_ARBITER__REMOVEREQUEST__FBLOG + + + + + BP_Int + ST_BP_ArbInternal + 2464 + + + + CheckRequestInPool + Verify request is at least in the local arbiter + Does not verify request has been included in arbitration. + Use CheckRequest instead. + 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 + 19648 + + stMotionStage + ST_MotionStage + 32 + 32 + + + ItemType + InOut + + - ExtIRQAlreadyDef - TcEventEntry - 192 - 1536 - - - .uuidEventClass.Data1 - 2465223571 - - - .uuidEventClass.Data2 - 1704 - - - .uuidEventClass.Data3 - 18626 - - - .uuidEventClass.Data4[0] - 136 - - - .uuidEventClass.Data4[1] - 113 - - - .uuidEventClass.Data4[2] - 234 - - - .uuidEventClass.Data4[3] - 163 - - - .uuidEventClass.Data4[4] - 140 - - - .uuidEventClass.Data4[5] - 30 - - - .uuidEventClass.Data4[6] - 57 - - - .uuidEventClass.Data4[7] - 144 - - - .nEventID - E_TcRTimeEventClass.ExtIRQAlreadyDef - - - .eSeverity - TcEventSeverity.Error - - + arrStates + ST_PositionState + + 1 + 15 + + 32 + 64 + + + ItemType + InOut + + - ExtIRQNotDef - TcEventEntry - 192 - 1728 + bArbiterEnabled + BOOL + 8 + 96 - - .uuidEventClass.Data1 - 2465223571 - - - .uuidEventClass.Data2 - 1704 - - - .uuidEventClass.Data3 - 18626 - - - .uuidEventClass.Data4[0] - 136 - - - .uuidEventClass.Data4[1] - 113 - - - .uuidEventClass.Data4[2] - 234 - - - .uuidEventClass.Data4[3] - 163 - - - .uuidEventClass.Data4[4] - 140 - - - .uuidEventClass.Data4[5] - 30 - - - .uuidEventClass.Data4[6] - 57 - - - .uuidEventClass.Data4[7] - 144 - - - .nEventID - E_TcRTimeEventClass.ExtIRQNotDef - - - .eSeverity - TcEventSeverity.Error - + true + + + ItemType + Input + + - ExtIRQInstallFailed - TcEventEntry - 192 - 1920 - - - .uuidEventClass.Data1 - 2465223571 - - - .uuidEventClass.Data2 - 1704 - - - .uuidEventClass.Data3 - 18626 - - - .uuidEventClass.Data4[0] - 136 - - - .uuidEventClass.Data4[1] - 113 - - - .uuidEventClass.Data4[2] - 234 - - - .uuidEventClass.Data4[3] - 163 - - - .uuidEventClass.Data4[4] - 140 - - - .uuidEventClass.Data4[5] - 30 - - - .uuidEventClass.Data4[6] - 57 - - - .uuidEventClass.Data4[7] - 144 - - - .nEventID - E_TcRTimeEventClass.ExtIRQInstallFailed - - - .eSeverity - TcEventSeverity.Error - - + bMaintMode + BOOL + 8 + 104 + + + ItemType + Input + + + pytmc + + pv: MAINT + io: io + + + - IRQNotLessOrEqual - TcEventEntry - 192 - 2112 - - - .uuidEventClass.Data1 - 2465223571 - - - .uuidEventClass.Data2 - 1704 - - - .uuidEventClass.Data3 - 18626 - - - .uuidEventClass.Data4[0] - 136 - - - .uuidEventClass.Data4[1] - 113 - - - .uuidEventClass.Data4[2] - 234 - - - .uuidEventClass.Data4[3] - 163 - - - .uuidEventClass.Data4[4] - 140 - - - .uuidEventClass.Data4[5] - 30 - - - .uuidEventClass.Data4[6] - 57 - - - .uuidEventClass.Data4[7] - 144 - - - .nEventID - E_TcRTimeEventClass.IRQNotLessOrEqual - - - .eSeverity - TcEventSeverity.Error - - + bRequestTransition + BOOL + 8 + 112 + + + ItemType + Input + + - VMXNotSupported - TcEventEntry - 192 - 2304 + setState + INT + 16 + 128 + + + ItemType + Input + + + + + getState + INT + 16 + 144 + + + ItemType + Input + + + + + fStateBoundaryDeadband + LREAL + 64 + 192 - - .uuidEventClass.Data1 - 2465223571 - - - .uuidEventClass.Data2 - 1704 - - - .uuidEventClass.Data3 - 18626 - - - .uuidEventClass.Data4[0] - 136 - - - .uuidEventClass.Data4[1] - 113 - - - .uuidEventClass.Data4[2] - 234 - - - .uuidEventClass.Data4[3] - 163 - - - .uuidEventClass.Data4[4] - 140 - - - .uuidEventClass.Data4[5] - 30 - - - .uuidEventClass.Data4[6] - 57 - - - .uuidEventClass.Data4[7] - 144 - - - .nEventID - E_TcRTimeEventClass.VMXNotSupported - - - .eSeverity - TcEventSeverity.Error - + 0 + + + ItemType + Input + + - VMXDisabled - TcEventEntry - 192 - 2496 + tArbiterTimeout + TIME + 32 + 256 - - .uuidEventClass.Data1 - 2465223571 - - - .uuidEventClass.Data2 - 1704 - - - .uuidEventClass.Data3 - 18626 - - - .uuidEventClass.Data4[0] - 136 - - - .uuidEventClass.Data4[1] - 113 - - - .uuidEventClass.Data4[2] - 234 - - - .uuidEventClass.Data4[3] - 163 - - - .uuidEventClass.Data4[4] - 140 - - - .uuidEventClass.Data4[5] - 30 - - - .uuidEventClass.Data4[6] - 57 - - - .uuidEventClass.Data4[7] - 144 - - - .nEventID - E_TcRTimeEventClass.VMXDisabled - - - .eSeverity - TcEventSeverity.Error - + T#1s + + + ItemType + Input + + - VMXControlsMissing - TcEventEntry - 192 - 2688 + bMoveOnArbiterTimeout + BOOL + 8 + 288 - - .uuidEventClass.Data1 - 2465223571 - - - .uuidEventClass.Data2 - 1704 - - - .uuidEventClass.Data3 - 18626 - - - .uuidEventClass.Data4[0] - 136 - - - .uuidEventClass.Data4[1] - 113 - - - .uuidEventClass.Data4[2] - 234 - - - .uuidEventClass.Data4[3] - 163 - - - .uuidEventClass.Data4[4] - 140 - - - .uuidEventClass.Data4[5] - 30 - - - .uuidEventClass.Data4[6] - 57 - - - .uuidEventClass.Data4[7] - 144 - - - .nEventID - E_TcRTimeEventClass.VMXControlsMissing - - - .eSeverity - TcEventSeverity.Error - + true + + + ItemType + Input + + - VMXEnableFails - TcEventEntry - 192 - 2880 + 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 + 2560 + 352 + + + pytmc + + pv: TRANS + io: i + + + + + + stTransitionBeam + ST_BeamParams + 1760 + 2912 + + + stTransitionState + ST_PositionState + 3712 + 4672 + + + bInit + BOOL + 8 + 8384 - - .uuidEventClass.Data1 - 2465223571 - - - .uuidEventClass.Data2 - 1704 - - - .uuidEventClass.Data3 - 18626 - - - .uuidEventClass.Data4[0] - 136 - - - .uuidEventClass.Data4[1] - 113 - - - .uuidEventClass.Data4[2] - 234 - - - .uuidEventClass.Data4[3] - 163 - - - .uuidEventClass.Data4[4] - 140 - - - .uuidEventClass.Data4[5] - 30 - - - .uuidEventClass.Data4[6] - 57 - - - .uuidEventClass.Data4[7] - 144 - - - .nEventID - E_TcRTimeEventClass.VMXEnableFails - - - .eSeverity - TcEventSeverity.Error - + true + + bTransDone + BOOL + 8 + 8392 + + + rtTransReq + R_TRIG + 64 + 8416 + + + bBPTMDone + BOOL + 8 + 8480 + + + rtBPTMDone + R_TRIG + 64 + 8512 + + + ftMotorExec + F_TRIG + 64 + 8576 + + + rtTransDone + R_TRIG + 64 + 8640 + + + rtDoLateFinish + R_TRIG + 64 + 8704 + + + tonDone + TON + 224 + 8768 + + + stStateReq + ST_PositionState + 3712 + 9024 + + + mcPower + MC_Power + 768 + 12736 + + + fUpperBound + LREAL + 64 + 13504 + + + fLowerBound + LREAL + 64 + 13568 + + + nGoalState + INT + 16 + 13632 + + + stGoalState + ST_PositionState + 3712 + 13696 + + + fActPos + LREAL + 64 + 17408 + + + fReqPos + LREAL + 64 + 17472 + + + bInTransition + BOOL + 8 + 17536 + + + stBeamNeeded + ST_BeamParams + 1760 + 17568 + + + bFwdOk + BOOL + 8 + 19328 + + + bBwdOk + BOOL + 8 + 19336 + + + tonArbiter + TON + 224 + 19360 + + + bLateFinish + BOOL + 8 + 19584 + + + bInternalAuth + BOOL + 8 + 19592 + + + AssertHere + + + HandleBPTM + + + HandleFFO + + + ClearAsserts + + + Exec + + + HandlePmpsDb + + + GetBeamFromState + ST_BeamParams + 1760 + + nState + INT + 16 + + + stState + ST_PositionState + 3712 + + + + GetStateCode + INT + 16 + + nState + INT + 16 + + + + GetStateStruct + ST_PositionState + 3712 + + nState + INT + 16 + + - TcTypeSystem - - - signature_flag - 33554432 - - - checksuperglobal - - - show - - - no-analysis + PouType + FunctionBlock - TcEventClass - TcRTimeEventClass + obsolete + Use FB_PositionStatePMPS1D instead - 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 - - - - - - - ST_Win32EventClass - 7104 + FB_JsonDocToSafeBP + 109440 - ERROR_SUCCESS - TcEventEntry - 192 - 0 - - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_SUCCESS - - - .eSeverity - TcEventSeverity.Verbose - - + bExecute + BOOL + Rising Edge + 8 + 32 + + + ItemType + Input + + - ERROR_INVALID_FUNCTION - TcEventEntry - 192 - 192 + 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 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_INVALID_FUNCTION - - - .eSeverity - TcEventSeverity.Error - + true + + + 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 + + - ERROR_FILE_NOT_FOUND - TcEventEntry - 192 - 384 - - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_FILE_NOT_FOUND - - - .eSeverity - TcEventSeverity.Error - - + io_fbFFHWO + FB_HardwareFFOutput + 32 + 1536 + + + ItemType + InOut + + - ERROR_PATH_NOT_FOUND - TcEventEntry - 192 - 576 - - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_PATH_NOT_FOUND - - - .eSeverity - TcEventSeverity.Error - - + fbJson + FB_JsonDomParser + JSON + 288 + 1568 - ERROR_TOO_MANY_OPEN_FILES - TcEventEntry - 192 - 768 - - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_TOO_MANY_OPEN_FILES - - - .eSeverity - TcEventSeverity.Error - - + jsonProp + SJsonValue + 32 + 1856 - ERROR_ACCESS_DENIED - TcEventEntry - 192 - 960 - - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_ACCESS_DENIED - - - .eSeverity - TcEventSeverity.Error - - + jsonValue + SJsonValue + 32 + 1888 - ERROR_INVALID_HANDLE - TcEventEntry - 192 - 1152 - - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_INVALID_HANDLE - - - .eSeverity - TcEventSeverity.Error - - + jsonParam + SJsonValue + 32 + 1920 - ERROR_NOT_ENOUGH_MEMORY - TcEventEntry - 192 - 1344 - - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_NOT_ENOUGH_MEMORY - - - .eSeverity - TcEventSeverity.Error - - + jsonnTran + SJsonValue + 32 + 1952 - ERROR_INVALID_DATA - TcEventEntry - 192 - 1536 - - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_INVALID_DATA - - - .eSeverity - TcEventSeverity.Error - - + jsonnRate + SJsonValue + 32 + 1984 - ERROR_NOT_READY - TcEventEntry - 192 - 1728 - - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - + 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 + - .nEventID - E_Win32EventClass.ERROR_NOT_READY + .eSubsystem + E_Subsystem.MPS - .eSeverity - TcEventSeverity.Error + .nMinTimeViolationAcceptable + 10 - ERROR_BAD_COMMAND - TcEventEntry - 192 - 1920 + FFO + FB_FastFault + FFO + 25088 + 84224 - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_BAD_COMMAND + .i_Desc + Fault occurs when there is an error loading safe beam parameters from json file - .eSeverity - TcEventSeverity.Error + .i_TypeCode + 65299 - ERROR_CRC - TcEventEntry - 192 - 2112 + 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. + + + 96 + + LowerLimit + INT + Incrementer will rollver over to this value (and initialize to this value) + 16 + 32 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_CRC - - - .eSeverity - TcEventSeverity.Error - + 1 + + + ItemType + Input + + + naming + off + + - ERROR_BAD_LENGTH - TcEventEntry - 192 - 2304 + ValInc + INT + Incrementer increments by this value + 16 + 48 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_BAD_LENGTH - - - .eSeverity - TcEventSeverity.Error - + 1 + + + ItemType + Input + + - ERROR_WRITE_FAULT - TcEventEntry - 192 - 2496 + UpperLimit + INT + Incrementer will rollover at this value to lower limit + 16 + 64 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_WRITE_FAULT - - - .eSeverity - TcEventSeverity.Error - + 1 + + + + ItemType + Input + + + + + nVal + INT + Internal incrementer value, initialized to LowerLimit + 16 + 80 + + 1 + + + + naming + off + + + + + Dec + + + Inc + + + DecVal + Decrement the counter and return new value + INT + 16 + + + IncVal + Increment the counter and return new value + 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. + + + 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 + + - ERROR_READ_FAULT - TcEventEntry - 192 - 2688 + i_stRequestedAssertion + ST_BeamParams + PMPS_GVL.cstSafeBeam; //Requested assertion, change whenever + 1760 + 2560 - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 + .nTran + 0 - .uuidEventClass.Data4[7] - 135 + .neVRange + 0 - .nEventID - E_Win32EventClass.ERROR_READ_FAULT + .nRate + 0 - .eSeverity - TcEventSeverity.Error + .nBCRange + 0 + + + ItemType + Input + + - ERROR_GEN_FAILURE - TcEventEntry - 192 - 2880 + i_xMoving + BOOL + Provide rising edge when device begins moving <remove> + 8 + 4320 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_GEN_FAILURE - - - .eSeverity - TcEventSeverity.Error - + false + + + ItemType + Input + + - ERROR_NOT_SUPPORTED - TcEventEntry - 192 - 3072 + i_xDoneMoving + BOOL + Provide rising edge when device is done with a move + 8 + 4328 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_NOT_SUPPORTED - - - .eSeverity - TcEventSeverity.Error - + false + + + ItemType + Input + + - ERROR_REM_NOT_LIST - TcEventEntry - 192 - 3264 + 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 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_REM_NOT_LIST - - - .eSeverity - TcEventSeverity.Error - + false + + + ItemType + Input + + - ERROR_DUP_NAME - TcEventEntry - 192 - 3456 + 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 + + false + + + + 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 + + E_BPTMState.Init + + + + ePrevState + E_BPTMState + 16 + 8048 + + E_BPTMState.Init + + + + 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 - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_DUP_NAME + .LowerLimit + 0 - .eSeverity - TcEventSeverity.Error + .UpperLimit + 40 - ERROR_BAD_NETPATH - TcEventEntry - 192 - 3648 + 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 - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 + .i_Desc + Preemptive requests timed out in BPTM - .nEventID - E_Win32EventClass.ERROR_BAD_NETPATH + .i_TypeCode + 10 - .eSeverity - TcEventSeverity.Error + .i_xAutoReset + false - ERROR_NETWORK_BUSY - TcEventEntry - 192 - 3840 + rtDoneMoving + R_TRIG + 64 + 60096 + + + bLatchDoneMoving + BOOL + 8 + 60160 + + + bFirstMove + BOOL + 8 + 60168 + + true + + + + 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. + + 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 + 384384 + FB_PositionStatePMPS_Base + + fbArbiter + FB_Arbiter + 32 + 19648 + + + ItemType + InOut + + + + + fbFFHWO + FB_HardwareFFOutput + 32 + 19680 + + + ItemType + InOut + + + + + bReadPmpsDb + BOOL + 8 + 19712 + + + ItemType + Input + + + + + sPmpsDeviceName + STRING(80) + 648 + 19720 + + + ItemType + Input + + + + + sTransitionKey + STRING(80) + 648 + 20368 + + + ItemType + Input + + + + + stPmpsDoc + SJsonValue + 32 + 21024 + + + ItemType + Input + + + + + stHighBeamThreshold + ST_BeamParams + 1760 + 21056 + + + ItemType + Input + + + + + bBPOKAutoReset + BOOL + 8 + 22816 + + false + + + + ItemType + Input + + + + + arrPMPS + ST_DbStateParams + + 0 + 16 + + 40960 + 22848 + + + nBPIndex + UINT + 16 + 63808 + + + nTransitionAssertionID + UDINT + 32 + 63840 + + + nLastReqAssertionID + UDINT + 32 + 63872 + + + fbReadPmpsDb + FB_JsonDocToSafeBP + 109440 + 63936 + + + ftDbBusy + F_TRIG + 64 + 173376 + + + rtReadDBExec + R_TRIG + 64 + 173440 + + + ftRead + F_TRIG + 64 + 173504 + + + bptm + BeamParameterTransitionManager + 60256 + 173568 + + + ffBeamParamsOk + FB_FastFault + 25088 + 233824 + + + ffZeroRate + FB_FastFault + 25088 + 258912 + + + ffBPTMTimeoutAndMove + FB_FastFault + 25088 + 284000 + + + ffBPTMError + FB_FastFault + 25088 + 309088 + + + ffMaint + FB_FastFault + 25088 + 334176 + + + ffUnknown + FB_FastFault + 25088 + 359264 + + + bFFOxOk + BOOL + 8 + 384352 + + + bAtSafeState + BOOL + 8 + 384360 + + + nIter + UINT + 16 + 384368 + + + HandlePmpsDb + + + HandleFFO + + + AssertHere + + + ClearAsserts + + + HandleBPTM + + + + PouType + FunctionBlock + + + obsolete + Use FB_PositionStatePMPS1D instead + + + + + FB_NCErrorFFO + 27808 + + stMotionStage + ST_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 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_NETWORK_BUSY - - - .eSeverity - TcEventSeverity.Error - + 16384 + + + ItemType + Input + + - ERROR_DEV_NOT_EXIST - TcEventEntry - 192 - 4032 + nHighErrorId + UDINT + The highest error code that will trip the FFO + 32 + 160 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_DEV_NOT_EXIST - - - .eSeverity - TcEventSeverity.Error - + 20479 + + + ItemType + Input + + - ERROR_FILE_EXISTS - TcEventEntry - 192 - 4224 + sDesc + STRING(80) + A description of the fault + 648 + 192 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_FILE_EXISTS - - - .eSeverity - TcEventSeverity.Error - + Motor error + + + ItemType + Input + + - ERROR_CANNOT_MAKE - TcEventEntry - 192 - 4416 + 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 + + + stBeamParams + ST_BeamParams + 1760 + 896 + + + fbFF + FB_FastFault + 25088 + 2656 + + + rtTrip + R_TRIG + 64 + 27744 + + + + PouType + FunctionBlock + + + + + FB_EncErrorFFO + 27936 + + stMotionStage + ST_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 - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 + .nLowErrorId + 17408 - .nEventID - E_Win32EventClass.ERROR_CANNOT_MAKE + .nHighErrorId + 17663 - .eSeverity - TcEventSeverity.Error + .sDesc + Encoder error + + + PouType + FunctionBlock + + + + + FB_PositionStateBase_WithPMPS + 669952 + FB_PositionStateBase - ERROR_ALREADY_ASSIGNED - TcEventEntry - 192 - 4608 - - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_ALREADY_ASSIGNED - - - .eSeverity - TcEventSeverity.Error - + fbArbiter + FB_Arbiter + 32 + 256000 + + + ItemType + InOut + + + + + fbFFHWO + FB_HardwareFFOutput + 32 + 256032 + + + ItemType + InOut + + + + + sPmpsDeviceName + STRING(80) + 648 + 256064 + + + ItemType + Input + + + + + sTransitionKey + STRING(80) + 648 + 256712 + + + ItemType + Input + + + + + bArbiterEnabled + BOOL + 8 + 257360 + + true + + + ItemType + Input + + + pytmc + + pv: PMPS:ARB:ENABLE + io: io + + + - ERROR_INVALID_PASSWORD - TcEventEntry - 192 - 4800 + tArbiterTimeout + TIME + 32 + 257376 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_INVALID_PASSWORD - - - .eSeverity - TcEventSeverity.Error - + T#1s + + + ItemType + Input + + - ERROR_INVALID_PARAMETER - TcEventEntry - 192 - 4992 + bMoveOnArbiterTimeout + BOOL + 8 + 257408 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_INVALID_PARAMETER - - - .eSeverity - TcEventSeverity.Error - + true + + + ItemType + Input + + - ERROR_OPEN_FAILED - TcEventEntry - 192 - 5184 + fStateBoundaryDeadband + LREAL + 64 + 257472 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_OPEN_FAILED - - - .eSeverity - TcEventSeverity.Error - + 0 + + + ItemType + Input + + - ERROR_ALREADY_EXISTS - TcEventEntry - 192 - 5376 + bBPOKAutoReset + BOOL + 8 + 257536 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_ALREADY_EXISTS - - - .eSeverity - TcEventSeverity.Error - + false + + + ItemType + Input + + + + + fbStatePMPS + FB_PositionStatePMPS + 384384 + 257600 + + + pytmc + pv: PMPS + + + + + fbEncErrFFO + FB_EncErrorFFO + 27936 + 641984 + + + Exec + + + PMPSHandler + + + + PouType + FunctionBlock + + + obsolete + Use FB_PositionStatePMPS1D instead + + + + + ENUM_Si_B4C_Coating_States + 16 + INT + + Unknown + 0 + + + Si + 1 + + + B4C + 2 + + + + qualified only + + + generate_implicit_init_function + + + + + DUT_PositionState + 3712 + ST_PositionState + + + obsolete + DUT_PositionState has been renamed to ST_PositionState + + + + + 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 + 679424 + FB_PositionStateBase_WithPMPS + + enumSet + ENUM_Si_B4C_Coating_States + 16 + 669952 + + + ItemType + Input + + + pytmc + + pv: SET + io: io + + + + + + stCoating1 + DUT_PositionState + 3712 + 670016 + + + ItemType + Input + + + + + stCoating2 + DUT_PositionState + 3712 + 673728 + + + ItemType + Input + + + + + sCoating1Name + STRING(80) + 648 + 677440 + + + ItemType + Input + + + + + sCoating2Name + STRING(80) + 648 + 678088 + + + ItemType + Input + + + + + enumGet + ENUM_Si_B4C_Coating_States + 16 + 678736 + + + ItemType + Output + + + pytmc + + pv: GET; + io: i; + + + - ERROR_INVALID_FLAG_NUMBER - TcEventEntry - 192 - 5568 + fbStateDefaults + FB_PositionState_Defaults + 320 + 678784 + + + bCoatingInit + BOOL + 8 + 679104 + + + fDelta + LREAL + These are the default values + Set values on states prior to passing in for non-default values + Units in Mircons + 64 + 679168 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_INVALID_FLAG_NUMBER - - - .eSeverity - TcEventSeverity.Error - + 100 - WAIT_TIMEOUT - TcEventEntry - 192 - 5760 + fVelocity + LREAL + 64 + 679232 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.WAIT_TIMEOUT - - - .eSeverity - TcEventSeverity.Error - + 150 - ERROR_NO_MORE_ITEMS - TcEventEntry - 192 - 5952 + fAccel + LREAL + 64 + 679296 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_NO_MORE_ITEMS - - - .eSeverity - TcEventSeverity.Error - + 200 - ERROR_INVALID_ADDRESS - TcEventEntry - 192 - 6144 + fDecel + LREAL + 64 + 679360 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_INVALID_ADDRESS - - - .eSeverity - TcEventSeverity.Error - + 200 + + + PouType + FunctionBlock + + + + + FB_KBO_Coating_States + 679680 + FB_PositionStateBase_WithPMPS - ERROR_ARITHMETIC_OVERFLOW - TcEventEntry - 192 - 6336 + enumSet + ENUM_Si_B4C_Coating_States + 16 + 669952 + + + ItemType + Input + + + pytmc + + pv: SET + io: io + + + + + + stCoating1 + DUT_PositionState + 3712 + 670016 + + + ItemType + Input + + + + + stCoating2 + DUT_PositionState + 3712 + 673728 + + + ItemType + Input + + + + + bVerticalCoating + BOOL + 8 + 677440 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_ARITHMETIC_OVERFLOW - - - .eSeverity - TcEventSeverity.Error - + true + + + ItemType + Input + + - ERROR_OPERATION_ABORTED - TcEventEntry - 192 - 6528 + sCoating1Name + STRING(80) + 648 + 677448 + + + ItemType + Input + + + + + sCoating2Name + STRING(80) + 648 + 678096 + + + ItemType + Input + + + + + enumGet + ENUM_Si_B4C_Coating_States + 16 + 678752 + + + ItemType + Output + + + pytmc + + pv: GET; + io: i; + + + + + + fbStateDefaults + FB_PositionState_Defaults + 320 + 678784 + + + bCoatingInit + BOOL + 8 + 679104 + + + fCoatingAccel + LREAL + 64 + 679168 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_OPERATION_ABORTED - - - .eSeverity - TcEventSeverity.Error - + 10 + + + + fCoatingDecel + LREAL + 64 + 679232 + + 10 - ERROR_IO_INCOMPLETE - TcEventEntry - 192 - 6720 + fDelta + LREAL + These are the default values + Set values on states prior to passing in for non-default values + Units in Millimeters + 64 + 679296 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_IO_INCOMPLETE - - - .eSeverity - TcEventSeverity.Error - + 0.1 - ERROR_IO_PENDING - TcEventEntry - 192 - 6912 + fVelocity + LREAL + 64 + 679360 - - .uuidEventClass.Data1 - 487345068 - - - .uuidEventClass.Data2 - 60659 - - - .uuidEventClass.Data3 - 20275 - - - .uuidEventClass.Data4[0] - 143 - - - .uuidEventClass.Data4[1] - 32 - - - .uuidEventClass.Data4[2] - 161 - - - .uuidEventClass.Data4[3] - 46 - - - .uuidEventClass.Data4[4] - 119 - - - .uuidEventClass.Data4[5] - 171 - - - .uuidEventClass.Data4[6] - 99 - - - .uuidEventClass.Data4[7] - 135 - - - .nEventID - E_Win32EventClass.ERROR_IO_PENDING - - - .eSeverity - TcEventSeverity.Error - + 0.15 - - - TcTypeSystem - - - signature_flag - 33554432 - - - checksuperglobal - - - show - - - no-analysis - - - TcEventClass - Win32EventClass - - - - - LCLSGeneralEventClass - Log event - - Critical - Critical - Critical - - - Error - Error - Error - - - Warning - Warning - Warning - - - Info - Info - Info - - - Verbose - Verbose - Verbose - - - - - - - - - - - - - ST_LCLSGeneralEventClass - 960 - Critical - TcEventEntry - 192 - 0 + fYAccel + LREAL + 64 + 679424 - - .uuidEventClass.Data1 - 2546958919 - - - .uuidEventClass.Data2 - 46492 - - - .uuidEventClass.Data3 - 20012 - - - .uuidEventClass.Data4[0] - 180 - - - .uuidEventClass.Data4[1] - 176 - - - .uuidEventClass.Data4[2] - 115 - - - .uuidEventClass.Data4[3] - 80 - - - .uuidEventClass.Data4[4] - 208 - - - .uuidEventClass.Data4[5] - 71 - - - .uuidEventClass.Data4[6] - 20 - - - .uuidEventClass.Data4[7] - 87 - - - .nEventID - E_LCLSGeneralEventClass.Critical - - - .eSeverity - TcEventSeverity.Critical - + 10 - Error - TcEventEntry - 192 - 192 + fYDecel + LREAL + 64 + 679488 - - .uuidEventClass.Data1 - 2546958919 - - - .uuidEventClass.Data2 - 46492 - - - .uuidEventClass.Data3 - 20012 - - - .uuidEventClass.Data4[0] - 180 - - - .uuidEventClass.Data4[1] - 176 - - - .uuidEventClass.Data4[2] - 115 - - - .uuidEventClass.Data4[3] - 80 - - - .uuidEventClass.Data4[4] - 208 - - - .uuidEventClass.Data4[5] - 71 - - - .uuidEventClass.Data4[6] - 20 - - - .uuidEventClass.Data4[7] - 87 - - - .nEventID - E_LCLSGeneralEventClass.Error - - - .eSeverity - TcEventSeverity.Error - + 10 - Warning - TcEventEntry - 192 - 384 + fXAccel + LREAL + 64 + 679552 - - .uuidEventClass.Data1 - 2546958919 - - - .uuidEventClass.Data2 - 46492 - - - .uuidEventClass.Data3 - 20012 - - - .uuidEventClass.Data4[0] - 180 - - - .uuidEventClass.Data4[1] - 176 - - - .uuidEventClass.Data4[2] - 115 - - - .uuidEventClass.Data4[3] - 80 - - - .uuidEventClass.Data4[4] - 208 - - - .uuidEventClass.Data4[5] - 71 - - - .uuidEventClass.Data4[6] - 20 - - - .uuidEventClass.Data4[7] - 87 - - - .nEventID - E_LCLSGeneralEventClass.Warning - - - .eSeverity - TcEventSeverity.Warning - + 100 - Info - TcEventEntry - 192 - 576 + fXDecel + LREAL + 64 + 679616 - - .uuidEventClass.Data1 - 2546958919 - - - .uuidEventClass.Data2 - 46492 - - - .uuidEventClass.Data3 - 20012 - - - .uuidEventClass.Data4[0] - 180 - - - .uuidEventClass.Data4[1] - 176 - - - .uuidEventClass.Data4[2] - 115 - - - .uuidEventClass.Data4[3] - 80 - - - .uuidEventClass.Data4[4] - 208 - - - .uuidEventClass.Data4[5] - 71 - - - .uuidEventClass.Data4[6] - 20 - - - .uuidEventClass.Data4[7] - 87 - - - .nEventID - E_LCLSGeneralEventClass.Info - - - .eSeverity - TcEventSeverity.Info - + 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 + + false + + + ItemType + Input + + - Verbose - TcEventEntry - 192 - 768 + 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 - .uuidEventClass.Data1 - 2546958919 - - - .uuidEventClass.Data2 - 46492 - - - .uuidEventClass.Data3 - 20012 - - - .uuidEventClass.Data4[0] - 180 - - - .uuidEventClass.Data4[1] - 176 - - - .uuidEventClass.Data4[2] - 115 - - - .uuidEventClass.Data4[3] - 80 - - - .uuidEventClass.Data4[4] - 208 - - - .uuidEventClass.Data4[5] - 71 - - - .uuidEventClass.Data4[6] - 20 + .i_xAutoReset + true - .uuidEventClass.Data4[7] - 87 + .i_Desc + Holds beam off until request is back in arbitration - .nEventID - E_LCLSGeneralEventClass.Verbose + .i_TypeCode + 200 - .eSeverity - TcEventSeverity.Verbose + .i_xVetoable + true - - - TcTypeSystem - - - signature_flag - 33554432 - - - checksuperglobal - - - show - - - no-analysis - - - TcEventClass - LCLSGeneralEventClass - - - - - I_HigherAuthority - 32 - PVOID + + stStandbyBP + ST_BeamParams + 1760 + 25280 + + + rtVeto + R_TRIG + 64 + 27040 + + + ftVeto + F_TRIG + 64 + 27104 + CheckRequest - Verify with this higher authority that the request is being included - BOOL - 8 - - nReqID - DWORD - 32 - - - - RemoveRequest - Remove the request from this higher authority BOOL 8 nReqID - StateID to remove DWORD 32 RequestBP - Request a BP from this higher authority BOOL 8 @@ -68137,48 +59497,252 @@ External Setpoint Generation: 1760 - - - I_LowerAuthority - 32 - PVOID - - __getnLowerAuthorityID - DWORD - 32 - - - property - - - - ElevateRequest - <Arbiter Internal> - Elevates the arbitrated BP set to something above. - Could be another arbiter, or a BP requester/ IO, - or an FB that locks in a specific portion of the BP set. + RemoveRequest BOOL 8 - HigherAuthority - I_HigherAuthority + nReqID + StateID to remove + DWORD 32 + + + PouType + FunctionBlock + + - FB_VetoArbiter - 27168 + 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 - bVeto + Reset BOOL - Rising edge clears request, hold true to veto continuously, falling edge restores request + Fast fault reset 8 64 + + + ItemType + Input + + + + + sName + STRING(80) + 648 + 72 - false + SubSysToArbiter @@ -68188,11 +59752,10 @@ External Setpoint Generation: - HigherAuthority - I_HigherAuthority - Typically connected to a higher-level arbiter. - 32 - 96 + i_bVeto + BOOL + 8 + 720 ItemType @@ -68201,72 +59764,181 @@ External Setpoint Generation: - LowerAuthority - I_LowerAuthority - Lower authority to be vetoed + Arbiter + FB_Arbiter 32 - 128 + 736 ItemType - Input + InOut - FFO + fbFFHWO FB_HardwareFFOutput - This should be the FFO upstream of the veto device 32 - 160 + 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 + - ItemType - InOut + pytmc + pv: ActiveCohort + io: i - ffKeepItSecretKeepItSafe - FB_FastFault - 25088 - 192 - - - .i_xAutoReset - true - - - .i_Desc - Holds beam off until request is back in arbitration - - - .i_TypeCode - 200 - - - .i_xVetoable - true - - + fbVetoArb + FB_VetoArbiter + 27168 + 29504 - stStandbyBP - ST_BeamParams - 1760 - 25280 + fbLog + FB_LogMessage + 81984 + 56704 - rtVeto - R_TRIG - 64 - 27040 + __FB_SUBSYSTOARBITER_IO__CHECKREQUEST__XFIRSTTIME + BOOL + 8 + 138688 + + , + + - ftVeto - F_TRIG - 64 - 27104 + __FB_SUBSYSTOARBITER_IO__CHECKREQUEST__NID + DWORD + 32 + 138720 CheckRequest @@ -68277,6 +59949,28 @@ External Setpoint Generation: DWORD 32 + + xFirstTime + BOOL + 8 + + + uselocation + __FB_SUBSYSTOARBITER_IO__CHECKREQUEST__XFIRSTTIME + + + + + nId + DWORD + 32 + + + uselocation + __FB_SUBSYSTOARBITER_IO__CHECKREQUEST__NID + + + RequestBP @@ -68314,324 +60008,333 @@ External Setpoint Generation: - ST_ReactiveParams - 64 + FB_AnalogInput + 320 - nTempSP - REAL - 32 - 0 + iRaw + INT + Connect this input to the terminal + 16 + 32 - pytmc - pv: TempSP - io: i - field: PREC 2; - field: EGU "C"; - + ItemType + Input - - - - nPressSP - REAL - 32 - 32 - - pytmc - pv: PressSP - io: i - field: PREC 2; - field: EGU "TORR"; - + TcAddressType + Input - - - ST_DbStateParams - 2560 - sPmpsState - STRING(80) - PMPS database lookup name for this state - 648 - 0 + iTermBits + UINT + The number of bits correlated with the terminal's max value. This is not necessarily the resolution parameter. + 16 + 48 - pytmc - - pv: PMPS_STATE - io: i - field: DESC PMPS Database Lookup Key - + ItemType + Input - stBeamParams - ST_BeamParams - Beam parameters associated with this state - 1760 - 672 + fTermMax + LREAL + The fReal value correlated with the terminal's max value + 64 + 64 - pytmc - - pv: BP - io: i - + ItemType + Input - bBeamParamsLoaded - BOOL - Set to TRUE once the PMPS library has loaded a valid state from the database - 8 - 2432 + fTermMin + LREAL + The fReal value correlated with the terminal's min value + 64 + 128 - pytmc - - pv: PMPS_LOADED - io: i - field: DESC TRUE if PMPS loaded parameters from the database. - + ItemType + Input - stReactiveParams - ST_ReactiveParams - Reactive parameters associated with this state + fReal + LREAL + The real value read from the output 64 - 2464 + 192 - pytmc - - pv: ReParams - io: i - + ItemType + Output - nRequestAssertionID - UDINT - Transition ID associated with this state - 32 - 2528 - - - pytmc - - pv: PMPS_ID - io: i - field: DESC Assertion Request ID - - - + fScale + LREAL + 64 + 256 + + + PouType + FunctionBlock + + - ST_PositionState - 3712 + FB_Axilon_Cooling_1f1p + 832 - sName - STRING(80) - Name as queried via the NAME PV in EPICS - 648 - 0 - - Invalid - + fFlow_1_val + LREAL + Mirrors with 1 Cooling Flow Meter and 1 Pressure Meter + 64 + 64 + + ItemType + Output + pytmc - pv: NAME - io: input - field: DESC Name of this position state + pv: FWM:1 + field: EGU lpm + field: HIGH 2.3 + field: HIHI 3.0 + field: LOW 1.7 + field: LOLO 1.5 + field: LSV MINOR + field: LLSV MAJOR + field: HSV MINOR + field: HHSV MAJOR + io: i - fPosition + fPress_1_val LREAL - Position associated with this state 64 - 704 + 128 - pytmc - - pv: SETPOINT - io: io - field: DESC Axis position associated with this state - + ItemType + Output - - - - nEncoderCount - UDINT - 32 - 768 - pytmc - pv: ENCODER + pv: PRSM:1 + field: EGU bar + field: LOW 0.1 + field: LSV MAJOR io: i - field: DESC Encoder count associated with this state - fDelta - LREAL - Maximum allowable deviation from fPosition while at the state - 64 - 832 + fbFlow_1 + FB_AnalogInput + 320 + 192 - fVelocity + fbPress_1 + FB_AnalogInput + 320 + 512 + + + + PouType + FunctionBlock + + + + + FB_Axilon_Cooling_2f1p + 1216 + FB_Axilon_Cooling_1f1p + + fFlow_2_val LREAL - Speed at which to move to this state 64 - 896 + 832 + + ItemType + Output + pytmc - pv: VELO - io: io - field: DESC Speed at which to move to this state + pv: FWM:2 + field: EGU lpm + field: HIGH 2.3 + field: HIHI 3.0 + field: LOW 1.7 + field: LOLO 1.5 + field: LSV MINOR + field: LLSV MAJOR + field: HSV MINOR + field: HHSV MAJOR + io: i - fAccel - LREAL - (optional) Acceleration to use for moves to this state - 64 - 960 - - - fDecel - LREAL - (optional) Deceleration to use for moves to this state - 64 - 1024 + fbFlow_2 + FB_AnalogInput + 320 + 896 + + + PouType + FunctionBlock + + + + + FB_MirrorTwoCoatingProtection + 192896 - 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 + nCurrentEncoderCount + UDINT + Current encoder count + 32 + 32 - pytmc - - pv: MOVE_OK - io: i - field: ZNAM FALSE - field: ONAM TRUE - field: DESC TRUE if the move would be safe - + ItemType + Input - bLocked - BOOL - Signifies to FB_PositionStateLock that this state should be immutable - 8 - 1096 + neVRange + DWORD + Current ev range from stCurrentBeamParams + 32 + 64 + + + ItemType + Input + + - 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 + sDevName + STRING(80) + Device name + 648 + 96 + + + + + + ItemType + Input + + - bUseRawCounts - BOOL - Set this to TRUE when you want to use the raw encoder counts to define the state - 8 - 1112 + nUpperCoatingBoundary + UDINT + Encoder count for upper boundary + 32 + 768 + + + ItemType + Input + + - bUpdated - BOOL - Is set to TRUE by FB_PositionStateInternal when called - 8 - 1120 + sUpperCoatingType + STRING(80) + Type of coating + 648 + 800 + + + + + + ItemType + Input + + - stPMPS - ST_DbStateParams - We give this a state name and it is used to load parameters from the pmps database. - 2560 - 1152 + nLowerCoatingBoundary + UDINT + Encoder count for lower boundary + 32 + 1472 + + + ItemType + Input + + - - - E_MotionRequest - 16 - INT - - WAIT - 0 - - - INTERRUPT - 1 - - - ABORT - 2 - - - - qualified_only - - - strict - - - - - FB_MotionRequest - 1600 - stMotionStage - ST_MotionStage - Motor to move - 32 - 32 + sLowerCoatingType + STRING(80) + Type of coating + 648 + 1504 + + + + + + ItemType + Input + + + + + bAutoClear + BOOL + Auto-clear these fast faults + 8 + 2152 + + true + ItemType - InOut + Input - bExecute + bReadPmpsDb BOOL - Start move on rising edge, stop move on falling edge + Trigger a re-read of the JSON Beam Parameters 8 - 64 + 2160 ItemType @@ -68640,11 +60343,14 @@ External Setpoint Generation: - bReset + bUsePmpsDb BOOL - Reset errors on rising edge + Set TRUE to lookup Beam Parameters via DB. 8 - 72 + 2168 + + false + ItemType @@ -68653,13 +60359,12 @@ External Setpoint Generation: - enumMotionRequest - E_MotionRequest - Define behavior for when the motor is already moving - 16 - 80 + nUpperCoatingBitmask + DWORD + 32 + 2176 - E_MotionRequest.WAIT + 0 @@ -68669,11 +60374,13 @@ External Setpoint Generation: - fPos - LREAL - Goal position - 64 - 128 + nLowerCoatingBitMask + DWORD + 32 + 2208 + + 0 + ItemType @@ -68682,24 +60389,148 @@ External Setpoint Generation: - fVel - LREAL - Move velocity - 64 - 192 + FFO + FB_HardwareFFOutput + 32 + 2240 ItemType - Input + InOut - fAcc + ffUpperCoating + FB_FastFault + 25088 + 2272 + + + .i_xAutoReset + false + + + .i_TypeCode + 1025 + + + .i_Desc + mirror coating incompatible with beam photon energy + + + + + ffLowerCoating + FB_FastFault + 25088 + 27360 + + + .i_xAutoReset + false + + + .i_TypeCode + 1025 + + + .i_Desc + mirror coating incompatible with beam photon energy + + + + + ffBeamParamsNotLoaded + FB_FastFault + 25088 + 52448 + + + .i_xAutoReset + true + + + .i_TypeCode + 1160 + + + .i_Desc + mirror coating beam parameters not loaded + + + + + aDbStateParams + ST_DbStateParams + + 0 + 2 + + 5120 + 77536 + + + fbGetCoatingBPs + FB_JsonDocToSafeBP + 109440 + 82688 + + + ftReadJsonDocDone + F_TRIG + 64 + 192128 + + + bBPsLoaded + BOOL + 8 + 192192 + + false + + + + i + INT + 16 + 192208 + + + sDevState + STRING(80) + 648 + 192224 + + + + + + bInit + BOOL + 8 + 192872 + + + + PouType + FunctionBlock + + + + + FB_TempSensor + 256 + + fResolution LREAL - Optional acceleration + Resolution parameter from the Beckhoff docs. Default is 0.1 for 0.1 degree resolution 64 - 256 + 64 + + 0.1 + ItemType @@ -68708,5575 +60539,13744 @@ External Setpoint Generation: - fDec + fTemp LREAL - Optional deceleration 64 - 320 + 128 ItemType - Input + Output + + + pytmc + + pv: TEMP + io: input + field: EGU C + field: PREC 2 + - bError + bConnected BOOL - True if in error state 8 - 384 + 192 ItemType Output + + pytmc + + pv: CONN + io: input + field: ONAM Connected + field: ZNAM Disconnected + + - nErrorId - UDINT - Error code - 32 - 416 + bError + BOOL + 8 + 200 + + true + ItemType Output + + pytmc + + pv: ERR + io: input + field: ONAM True + field: ZNAM False + + + + TcAddressType + Input + - sErrorMessage - STRING(80) - What the error code means - 648 - 448 + bUnderrange + BOOL + 8 + 208 ItemType Output + + TcAddressType + Input + - bBusy + bOverrange BOOL - If TRUE, we are moving the motor 8 - 1096 + 216 ItemType Output + + TcAddressType + Input + - bDone - BOOL - If TRUE, we are not moving the motor and our most recent move was successful - 8 - 1104 + iRaw + INT + 16 + 224 - ItemType - Output + TcAddressType + Input + + + PouType + FunctionBlock + + + + + VERSION + 64 - rtExec - R_TRIG - 64 - 1120 + uiMajor + UINT + 16 + 0 - ftExec - F_TRIG - 64 - 1184 + uiMinor + UINT + 16 + 16 - rtReset - R_TRIG - 64 - 1248 + uiServicePack + UINT + 16 + 32 - ftBusy - F_TRIG - 64 - 1312 + uiPatch + UINT + 16 + 48 + + + PlcLicenseInfo + 1024 - nState - UINT + 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 - 1376 - - 0 - + 64 - bMyMove - BOOL + AdsPort + UINT + 16 + 80 + + + CycleCount + UDINT + 32 + 96 + + + DcTaskTime + LINT + 64 + 128 + + + LastExecTime + UDINT + 32 + 192 + + + FirstCycle + BOOL 8 - 1392 + 224 - bCausedError - BOOL + CycleTimeExceeded + BOOL 8 - 1400 + 232 + + + InCallAfterOutputUpdate + BOOL + 8 + 240 + + + RTViolation + BOOL + 8 + 248 + + + TaskName + STRING(63) + 512 + 512 + + + + + + + TcSystemEventClass + TcSystemEventClass + + InternalError + Internal error. + Error + + + NoRTime + No real-time. + Error + + + AllocationLockedMemoryError + Allocation locked – memory error. + Error + + + InsertMailboxError + Mailbox full – the ADS message could not be sent. Reducing the number of ADS messages per cycle will help. + Error + + + WrongReceiveHMSG + Wrong HMSG. + Error + + + TargetPortNotFound + Target port not found – ADS server is not started or is not reachable. + Error + + + TargetMachineNotFound + Target computer not found – AMS route was not found. + Error + + + UnknownCommandID + Unknown command ID. + Error + + + BadTaskID + Invalid task ID. + Error + + + NoIO + No IO. + Error + + + UnknownAdsCommand + Unknown AMS command. + Error + + + Win32Error + Win32 error. + Error + + + PortNotConnected + Port not connected. + Error + + + InvalidAdsLength + Invalid AMS length. + Error + + + InvalidAdsNetID + Invalid AMS Net ID. + Error + + + LowInstallationLevel + Low installation level – TwinCAT 2 license error. + Error + + + NoDebugAvailable + No debugging available. + Error + + + PortDisabled + Port disabled – TwinCAT system service not started. + Error + + + PortAlreadyConnected + Port already connected. + Error + + + AdsSyncWin32Error + AMS Sync Win32 error. + Error + + + AdsSyncTimeout + AMS Sync Timeout. + Error + + + AdsSyncAmsError + AMS Sync error. + Error + + + AdsSyncNoIndexMap + No index map for AMS Sync available. + Error + + + InvalidAdsPort + Invalid AMS port. + Error + + + NoMemory + No memory. + Error + + + TCPSendError + TCP send error. + Error + + + HostUnreachable + Host unreachable. + Error + + + InvalidAMSFragment + Invalid AMS fragment. + Error + + + AdsSecTLSSendError + TLS send error – secure ADS connection failed. + Error + + + AdsSecAccessDenied + Access denied – secure ADS access denied. + Error + + + + Interner Fehler. + + + Keine Echtzeit. + + + Zuweisung gesperrt - Speicherfehler. + + + Postfach voll – Es konnte die ADS Nachricht nicht versendet werden. Reduzieren der Anzahl der ADS Nachrichten pro Zyklus bringt Abhilfe. + + + Falsches HMSG. + + + Ziel-Port nicht gefunden – ADS Server ist nicht gestartet oder erreichbar. + + + Unbekannte Befehl-ID. + + + Ungültige Task-ID. + + + Kein IO. + + + Unbekannter AMS-Befehl. + + + Win32 Fehler. + + + Port nicht verbunden. + + + Ungültige AMS-Länge. + + + Ungültige AMS Net ID. + + + Installations-Level ist zu niedrig – TwinCAT 2 Lizenzfehler. + + + Kein Debugging verfügbar. + + + Port deaktiviert – TwinCAT System Service nicht gestartet. + + + Port bereits verbunden. + + + AMS Sync Win32 Fehler. + + + AMS Sync Timeout. + + + AMS Sync Fehler. + + + Keine Index-Map für AMS Sync vorhanden. + + + Ungültiger AMS-Port. + + + Kein Speicher. + + + TCP Sendefehler. + + + Host nicht erreichbar. + + + Ungültiges AMS Fragment. + + + TLS Sendefehler – Secure ADS Verbindung fehlgeschlagen. + + + Zugriff Verweigert – Secure ADS Zugriff verweigert. + + + + + + + + + + + ST_TcSystemEventClass + 5760 - INIT - UINT - 16 - 1408 + InternalError + TcEventEntry + 192 + 0 - 0 + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.InternalError + + + .eSeverity + TcEventSeverity.Error + - WAIT_EXEC - UINT - 16 - 1424 + NoRTime + TcEventEntry + 192 + 192 - 1 + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.NoRTime + + + .eSeverity + TcEventSeverity.Error + - PICK_REQUEST - UINT - 16 - 1440 + AllocationLockedMemoryError + TcEventEntry + 192 + 384 - 2 + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.AllocationLockedMemoryError + + + .eSeverity + TcEventSeverity.Error + - WAIT_OTHER_MOVE - UINT - 16 - 1456 + InsertMailboxError + TcEventEntry + 192 + 576 - 3 + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.InsertMailboxError + + + .eSeverity + TcEventSeverity.Error + - STOP_OTHER_MOVE - UINT - 16 - 1472 + WrongReceiveHMSG + TcEventEntry + 192 + 768 - 4 + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.WrongReceiveHMSG + + + .eSeverity + TcEventSeverity.Error + - START_MOVE - UINT - 16 - 1488 + TargetPortNotFound + TcEventEntry + 192 + 960 - 5 + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.TargetPortNotFound + + + .eSeverity + TcEventSeverity.Error + - WAIT_MY_MOVE - UINT - 16 - 1504 + TargetMachineNotFound + TcEventEntry + 192 + 1152 - 6 + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.TargetMachineNotFound + + + .eSeverity + TcEventSeverity.Error + - STOP_MY_MOVE - UINT - 16 - 1520 + UnknownCommandID + TcEventEntry + 192 + 1344 - 7 + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.UnknownCommandID + + + .eSeverity + TcEventSeverity.Error + - DONE_MOVING - UINT - 16 + BadTaskID + TcEventEntry + 192 1536 - 8 + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.BadTaskID + + + .eSeverity + TcEventSeverity.Error + - ERROR - UINT - 16 - 1552 + NoIO + TcEventEntry + 192 + 1728 - 9 + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.NoIO + + + .eSeverity + TcEventSeverity.Error + - - - PouType - FunctionBlock - - - - - FB_PositionStateMove - 2688 - - stMotionStage - ST_MotionStage - Motor to move - 32 - 32 - - - ItemType - InOut - - - - - stPositionState - ST_PositionState - State to move to - 32 - 64 - - - ItemType - InOut - - - pytmc - - pv: - - - - - - 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 - - - - - - bReset - BOOL - Rising edge error reset - 8 - 104 - - - ItemType - Input - - - pytmc - - pv: RESET - io: io - field: ZNAM False - field: ONAM True - - - - - enumMotionRequest - E_MotionRequest - Define behavior for when a move is already active - 16 - 112 + UnknownAdsCommand + TcEventEntry + 192 + 1920 - E_MotionRequest.WAIT - - - - 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 - - - - - - bError - BOOL - TRUE if we have an error - 8 - 136 - - - ItemType - Output - - - pytmc - - pv: ERR - io: input - field: ZNAM False - field: ONAM True - - - - - - nErrorID - UDINT - Error code - 32 - 160 - - - ItemType - Output - - - pytmc - - pv: ERRID - io: input - - - - - - sErrorMessage - STRING(80) - Error description - 648 - 192 - - - ItemType - Output - - - pytmc - - pv: ERRMSG - io: input - - - - - - 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 - - - + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.UnknownAdsCommand + + + .eSeverity + TcEventSeverity.Error + + - bDone - BOOL - TRUE if we are not 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 - - - + Win32Error + TcEventEntry + 192 + 2112 + + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.Win32Error + + + .eSeverity + TcEventSeverity.Error + + - fbMotionRequest - FB_MotionRequest - 1600 - 896 + PortNotConnected + TcEventEntry + 192 + 2304 + + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.PortNotConnected + + + .eSeverity + TcEventSeverity.Error + + - rtExec - R_TRIG - 64 + InvalidAdsLength + TcEventEntry + 192 2496 + + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.InvalidAdsLength + + + .eSeverity + TcEventSeverity.Error + + - rtReset - R_TRIG - 64 - 2560 + InvalidAdsNetID + TcEventEntry + 192 + 2688 + + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.InvalidAdsNetID + + + .eSeverity + TcEventSeverity.Error + + - bInnerExec - BOOL - 8 - 2624 + LowInstallationLevel + TcEventEntry + 192 + 2880 + + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.LowInstallationLevel + + + .eSeverity + TcEventSeverity.Error + + - bAllowMove - BOOL - 8 - 2632 + NoDebugAvailable + TcEventEntry + 192 + 3072 + + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.NoDebugAvailable + + + .eSeverity + TcEventSeverity.Error + + - nLatchAllowErrorID - UDINT - 32 - 2656 + PortDisabled + TcEventEntry + 192 + 3264 + + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.PortDisabled + + + .eSeverity + TcEventSeverity.Error + + - - - PouType - FunctionBlock - - - - - FB_RawCountConverter - 8576 - stParameters - ST_AxisParameterSet - Parameters to check against - 8192 - 64 - - - ItemType - Input - - + PortAlreadyConnected + TcEventEntry + 192 + 3456 + + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.PortAlreadyConnected + + + .eSeverity + TcEventSeverity.Error + + - nCountCheck - UDINT - Optional count to convert to a real position - 32 - 8256 - - - ItemType - Input - - + AdsSyncWin32Error + TcEventEntry + 192 + 3648 + + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.AdsSyncWin32Error + + + .eSeverity + TcEventSeverity.Error + + - fPosCheck - LREAL - Optional position to convert to encoder counts - 64 - 8320 - - - ItemType - Input - - + AdsSyncTimeout + TcEventEntry + 192 + 3840 + + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.AdsSyncTimeout + + + .eSeverity + TcEventSeverity.Error + + - nCountGet - UDINT - If converting position, the number of counts - 32 - 8384 - - - ItemType - Output - - + AdsSyncAmsError + TcEventEntry + 192 + 4032 + + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.AdsSyncAmsError + + + .eSeverity + TcEventSeverity.Error + + - fPosGet - LREAL - If converting counts, the position - 64 - 8448 - - - ItemType - Output - - + AdsSyncNoIndexMap + TcEventEntry + 192 + 4224 + + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.AdsSyncNoIndexMap + + + .eSeverity + TcEventSeverity.Error + + - bBusy - BOOL - True during a parameter get/calc - 8 - 8512 - - - ItemType - Output - - + InvalidAdsPort + TcEventEntry + 192 + 4416 + + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.InvalidAdsPort + + + .eSeverity + TcEventSeverity.Error + + - bDone - BOOL - True after a successful get/calc - 8 - 8520 - - - ItemType - Output - - + NoMemory + TcEventEntry + 192 + 4608 + + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.NoMemory + + + .eSeverity + TcEventSeverity.Error + + - bError - BOOL - True if the calculation errored - 8 - 8528 - - - ItemType - Output - - + TCPSendError + TcEventEntry + 192 + 4800 + + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.TCPSendError + + + .eSeverity + TcEventSeverity.Error + + - - - PouType - FunctionBlock - - - - - FB_PositionStateLock - 3904 - stPositionState - ST_PositionState - 32 - 32 - - - ItemType - InOut - - + HostUnreachable + TcEventEntry + 192 + 4992 + + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.HostUnreachable + + + .eSeverity + TcEventSeverity.Error + + - bEnable - BOOL - 8 - 64 - - - ItemType - Input - - + InvalidAMSFragment + TcEventEntry + 192 + 5184 + + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.InvalidAMSFragment + + + .eSeverity + TcEventSeverity.Error + + - stCachedPositionState - ST_PositionState - 3712 - 128 + AdsSecTLSSendError + TcEventEntry + 192 + 5376 + + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.AdsSecTLSSendError + + + .eSeverity + TcEventSeverity.Error + + - bInit - BOOL - 8 - 3840 + AdsSecAccessDenied + TcEventEntry + 192 + 5568 - false + + .uuidEventClass.Data1 + 3140131225 + + + .uuidEventClass.Data2 + 4142 + + + .uuidEventClass.Data3 + 16922 + + + .uuidEventClass.Data4[0] + 141 + + + .uuidEventClass.Data4[1] + 61 + + + .uuidEventClass.Data4[2] + 176 + + + .uuidEventClass.Data4[3] + 102 + + + .uuidEventClass.Data4[4] + 14 + + + .uuidEventClass.Data4[5] + 7 + + + .uuidEventClass.Data4[6] + 177 + + + .uuidEventClass.Data4[7] + 254 + + + .nEventID + E_TcSystemEventClass.AdsSecAccessDenied + + + .eSeverity + TcEventSeverity.Error + - PouType - FunctionBlock + TcTypeSystem - - - - FB_PositionStateInternal - 12608 - - stMotionStage - ST_MotionStage - 32 - 32 - - - ItemType - InOut - - - - - stPositionState - ST_PositionState - 32 - 64 - - - ItemType - InOut - - - - - fbEncConverter - FB_RawCountConverter - 8576 - 128 - - - fbLock - FB_PositionStateLock - 3904 - 8704 - - - PouType - FunctionBlock + signature_flag + 33554432 + + + checksuperglobal + + + show + + + no-analysis + + + TcEventClass + TcSystemEventClass - FB_PositionStateBase - 256000 - - stMotionStage - ST_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 - - - - - - bError - BOOL - If TRUE, there is an error - 8 - 80 - - - ItemType - Output - - - pytmc - - pv: ERR - io: i - field: ZNAM False - field: ONAM True - - - - - - nErrorId - UDINT - Error ID - 32 - 96 - - - ItemType - Output - - - pytmc - - pv: ERRID - io: i - - - - - - sErrorMessage - STRING(80) - The error that caused bError to flip TRUE - 648 - 128 - - - ItemType - Output - - - pytmc - - pv: ERRMSG - io: i - - - - - - bBusy - BOOL - If TRUE, we are moving the motor - 8 - 776 - - - ItemType - Output - - - pytmc - - pv: BUSY - io: i - field: ZNAM False - field: ONAM True - - - - - - 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 - - - - + TcGeneralAdsEventClass + TcGeneralAdsEventClass + + GeneralDeviceError + General device error. + Error + + + ServiceNotSupported + Service is not supported by the server. + Error + + + InvalidIndexGroup + Invalid index group. + Error + + + InvalidIndexOffset + Invalid index offset. + Error + + + InvalidAccess + Reading or writing is not permitted. + Error + + + InvalidSize + Parameter size is not correct. + Error + + + InvalidData + Invalid data value(s). + Error + + + NotReady + Device is not ready to operate. + Error + + + Busy + Device is busy. + Error + + + InvalidContext + Invalid operating system context. This can result from use of ADS function blocks in different tasks. + Error + + + NoMemory + Insufficient memory. + Error + + + InvalidParam + Invalid parameter value(s). + Error + + + NotFound + Not found (files, ...). + Error + + + Syntax + Syntax error in file or command. + Error + + + Incompatible + Objects do not match. + Error + + + AlreadyExists + Object already exists. + Error + + + SymbolNotFound + Symbol was not found. + Error + + + SymbolVersionInvalid + Invalid symbol version. This can occur due to an online change. Create a new handle. + Error + + + InvalidState + Device (server) is in invalid state. + Error + + + TransModeNotSupported + AdsTransMode is not supported. + Error + + + NotificationHandleInvalid + Notification handle is invalid. + Error + + + ClientUnknown + Notification client is not registered. + Error + + + NoMoreHandles + No further notification handles. + Error + + + InvalidWatchSize + Notification size too large. + Error + + + NotInit + Device is not initialized. + Error + + + DeviceTimeout + Device has a timeout. + Error + + + NoInterface + Interface query failed. + Error + + + InvalidInterface + Wrong interface is requested. + Error + + + InvalidClassID + Class ID is invalid. + Error + + + InvalidObjectID + Object ID is invalid. + Error + + + Pending + Request pending. + Error + + + Aborted + Request is aborted. + Error + + + SignalWarning + Signal warning. + Error + + + InvalidArrayIndex + Invalid array index. + Error + + + SymbolNotActive + Symbol is not active. + Error + + + AccessDenied + Access denied. + Error + + + LicenseMissing + Missing license. + Error + + + LicenseExpired + License is expired. + Error + + + LicenseExceeded + License is exceeded. + Error + + + LicenseInvalid + License is invalid. + Error + + + LicenseSystemID + License problem: System ID is invalid. + Error + + + LicenseNoTimeLimit + License not limited in time. + Error + + + LicenseFutureIssue + License problem: Time in the future. + Error + + + LicenseTimeTooLong + License time period is too long. + Error + + + Exception + Exception at system startup. + Error + + + LicenseDuplicated + License file is read twice. + Error + + + SignatureInvalid + Invalid signature. + Error + + + CertificateInvalid + Invalid certificate. + Error + + + LicenseOEMNotFound + Public key not known from OEM. + Error + + + LicenseRestricted + License not valid for this system ID. + Error + + + LicenseDemoDenied + Demo license prohibited. + Error + + + InvalidFunctionID + Invalid function ID. + Error + + + OutOfRange + Outside the valid range. + Error + + + InvalidAlignment + Invalid alignment. + Error + + + LicensePlatform + Invalid platform level. + Error + + + ForwardPassiveLevel + Context – forward to passive level. + Error + + + ForwardDispatchLevel + Context – forward to dispatch level. + Error + + + ForwardRealTime + Context – forward to real-time. + Error + + + InvalidServiceParam + Service contains an invalid parameter. + 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 has occurred – the remote terminal is not responding in the specified ADS timeout. + Error + + + Win32Error + Error in Win32 subsystem + Error + + + TimeoutInvalid + Invalid client timeout value. + Error + + + PortNotOpen + Port is not open. + Error + + + NoAMSAddr + No AMS address. + Error + + + SyncInternalError + Internal error in Ads sync. + Error + + + AddHash + Hash table overflow. + Error + + + RemoveHash + Key not found in hash table. + Error + + + NoMoreSymbols + No symbols in the cache. + Error + + + SyncResInvalid + Invalid response received + Error + + + SyncPortLocked + Sync port is locked. + Error + + + + Allgemeiner Gerätefehler. + + + Service wird vom Server nicht unterstützt. + + + Ungültige Index-Gruppe. + + + Ungültiger Index-Offset. + + + Lesen oder Schreiben ist nicht gestattet. + + + Parametergröße ist nicht korrekt. + + + Ungültige Daten-Werte. + + + Gerät ist nicht betriebsbereit. + + + Gerät ist beschäftigt. + + + Ungültiger Kontext vom Betriebssystem. Kann durch Verwendung von ADS Bausteinen in unterschiedlichen Tasks auftreten. + + + Nicht genügend Speicher. + + + Ungültige Parameter-Werte. + + + Nicht gefunden (Dateien,...). + + + Syntax-Fehler in Datei oder Befehl. + + + Objekte stimmen nicht überein. + + + Objekt ist bereits vorhanden. + + + Symbol nicht gefunden. + + + Symbol-Version ist ungültig. Kann durch einen Online-Change auftreten. Erzeuge einen neuen Handle. + + + Gerät (Server) ist im ungültigen Zustand. + + + AdsTransMode wird nicht unterstützt. + + + Notification Handle ist ungültig. + + + Notification-Client nicht registriert. + + + Keine weiteren Notification Handles. + + + Größe der Notification zu groß. + + + Gerät ist nicht initialisiert. + + + Gerät hat einen Timeout. + + + Interface Abfrage fehlgeschlagen. + + + Falsches Interface angefordert. + + + Class-ID ist ungültig. + + + Object-ID ist ungültig. + + + Anforderung steht aus. + + + Anforderung wird abgebrochen. + + + Signal-Warnung. + + + Ungültiger Array-Index. + + + Symbol ist nicht aktiv. + + + Zugriff verweigert. + + + Fehlende Lizenz. + + + Lizenz abgelaufen. + + + Lizenz überschritten. + + + Lizenz ungültig. + + + Lizenzproblem: System-ID ist ungültig. + + + Lizenz nicht zeitlich begrenzt. + + + Lizenzproblem: Zeitpunkt in der Zukunft. + + + Lizenz-Zeitraum ist zu lang. + + + Exception beim Systemstart. + + + Lizenz-Datei zweimal gelesen. + + + Ungültige Signatur. + + + Zertifikat ungültig. + + + Public Key vom OEM nicht bekannt. + + + Lizenz nicht gültig für diese System-ID. + + + Demo-Lizenz untersagt. + + + Funktions-ID ungültig. + + + Außerhalb des gültigen Bereiches. + + + Ungültiges Alignment. + + + Ungültiger Plattform Level. + + + Kontext – Weiterleitung zum Passiv-Level. + + + Kontext – Weiterleitung zum Dispatch-Level. + + + Kontext – Weiterleitung zur Echtzeit. + + + Dienst enthält einen ungültigen Parameter. + + + Polling-Liste ist leer. + + + Variablen-Verbindung bereits im Einsatz. + + + Die Invoke-ID ist bereits in Benutzung. + + + Timeout ist aufgetreten – Die Gegenstelle antwortet nicht im vorgegebenen ADS Timeout. + + + Fehler im Win32 Subsystem. + + + Ungültiger Client Timeout-Wert. + + + Port nicht geöffnet. + + + Keine AMS Adresse. + + + Interner Fehler in Ads-Sync. + + + Überlauf der Hash-Tabelle. + + + Schlüssel in der Hash-Tabelle nicht gefunden. + + + Keine Symbole im Cache. + + + Ungültige Antwort erhalten. + + + Sync Port ist verriegelt. + + + + + + + + + + + + + + ST_TcGeneralAdsEventClass + 14016 - arrStates - ST_PositionState - - 1 - 15 - - Pre-allocated array of states - 55680 - 832 - - - pytmc - - pv: - io: io - expand: %.2d - - - + GeneralDeviceError + TcEventEntry + 192 + 0 + + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.GeneralDeviceError + + + .eSeverity + TcEventSeverity.Error + + - setState - INT - Corresponding arrStates index to move to, or 0 if no move selected - 16 - 56512 + ServiceNotSupported + TcEventEntry + 192 + 192 + + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.ServiceNotSupported + + + .eSeverity + TcEventSeverity.Error + + - goalState - INT - The current position we are trying to reach, or 0 - 16 - 56528 + InvalidIndexGroup + TcEventEntry + 192 + 384 + + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.InvalidIndexGroup + + + .eSeverity + TcEventSeverity.Error + + - getState - INT - The readback position - 16 - 56544 + InvalidIndexOffset + TcEventEntry + 192 + 576 + + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.InvalidIndexOffset + + + .eSeverity + TcEventSeverity.Error + + - bInit - BOOL - 8 - 56560 + InvalidAccess + TcEventEntry + 192 + 768 + + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.InvalidAccess + + + .eSeverity + TcEventSeverity.Error + + - stUnknown - ST_PositionState - 3712 - 56576 + InvalidSize + TcEventEntry + 192 + 960 + + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.InvalidSize + + + .eSeverity + TcEventSeverity.Error + + - stGoal - ST_PositionState - 3712 - 60288 + InvalidData + TcEventEntry + 192 + 1152 + + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.InvalidData + + + .eSeverity + TcEventSeverity.Error + + - fbStateMove - FB_PositionStateMove - 2688 - 64000 + NotReady + TcEventEntry + 192 + 1344 + + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.NotReady + + + .eSeverity + TcEventSeverity.Error + + - fbStateInternal - FB_PositionStateInternal - - 1 - 15 - - 189120 - 66688 + Busy + TcEventEntry + 192 + 1536 + + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.Busy + + + .eSeverity + TcEventSeverity.Error + + - nIndex - INT - 16 - 255808 + InvalidContext + TcEventEntry + 192 + 1728 + + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.InvalidContext + + + .eSeverity + TcEventSeverity.Error + + - bNewGoal - BOOL - 8 - 255824 + NoMemory + TcEventEntry + 192 + 1920 + + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.NoMemory + + + .eSeverity + TcEventSeverity.Error + + - bInnerExec - BOOL - 8 - 255832 + InvalidParam + TcEventEntry + 192 + 2112 + + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.InvalidParam + + + .eSeverity + TcEventSeverity.Error + + - bInnerReset - BOOL - 8 - 255840 + NotFound + TcEventEntry + 192 + 2304 + + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.NotFound + + + .eSeverity + TcEventSeverity.Error + + - rtReset - R_TRIG - 64 - 255872 + Syntax + TcEventEntry + 192 + 2496 + + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.Syntax + + + .eSeverity + TcEventSeverity.Error + + - bMoveRequested - BOOL - 8 - 255936 - - - Exec - - - StateHandler - - - - PouType - FunctionBlock - - - obsolete - Use FB_PositionState1D instead - - - - - T_HashTableEntry - 64 + Incompatible + TcEventEntry + 192 + 2688 + + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.Incompatible + + + .eSeverity + TcEventSeverity.Error + + + - key - DWORD - 32 - 0 + AlreadyExists + TcEventEntry + 192 + 2880 - 0 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.AlreadyExists + + + .eSeverity + TcEventSeverity.Error + - - - pytmc - - pv: Key - io: i - - - - value - PVOID - 32 - 32 + SymbolNotFound + TcEventEntry + 192 + 3072 - 0 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.SymbolNotFound + + + .eSeverity + TcEventSeverity.Error + - - - ST_BP_ArbInternal - 2464 - ST_BeamParams - nId - DWORD - 32 - 1760 - - - pytmc - pv: ID - io: i - - - + SymbolVersionInvalid + TcEventEntry + 192 + 3264 + + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.SymbolVersionInvalid + + + .eSeverity + TcEventSeverity.Error + + - LiveInTable - BOOL - 8 - 1792 - - - pytmc - pv: Live - io: i - - - + InvalidState + TcEventEntry + 192 + 3456 + + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.InvalidState + + + .eSeverity + TcEventSeverity.Error + + - sDevName - STRING(80) - 648 - 1800 - - - pytmc - pv: Device - io: i - - - + TransModeNotSupported + TcEventEntry + 192 + 3648 + + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.TransModeNotSupported + + + .eSeverity + TcEventSeverity.Error + + - - - T_HashTableEntry - Hash table entry - 192 - key - DWORD - Entry key: 32 bit unsigned integer or pointer - 32 - 0 + NotificationHandleInvalid + TcEventEntry + 192 + 3840 - 0 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.NotificationHandleInvalid + + + .eSeverity + TcEventSeverity.Error + - value - PVOID - Entry value: 32/64 bit unsigned integer or pointer - 32 - 32 + ClientUnknown + TcEventEntry + 192 + 4032 - 0 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.ClientUnknown + + + .eSeverity + TcEventSeverity.Error + - lock - DWORD - Node state flags: Bit 0 <0..1>: 0 = node free, 1 = node in use, other bits reserved - 32 - 64 + NoMoreHandles + TcEventEntry + 192 + 4224 - 0 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.NoMoreHandles + + + .eSeverity + TcEventSeverity.Error + - - - conditionalshow - - - pNext - PVOID - Pointer to next hash table element - 32 - 96 + InvalidWatchSize + TcEventEntry + 192 + 4416 - 0 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.InvalidWatchSize + + + .eSeverity + TcEventSeverity.Error + - - - conditionalshow - - - pNextFree - PVOID - Pointer to next free element - 32 - 128 + NotInit + TcEventEntry + 192 + 4608 - 0 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.NotInit + + + .eSeverity + TcEventSeverity.Error + - - - conditionalshow - - - pNextGlob - PVOID - Pointer to next global element - 32 - 160 + DeviceTimeout + TcEventEntry + 192 + 4800 - 0 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.DeviceTimeout + + + .eSeverity + TcEventSeverity.Error + - - - conditionalshow - - - - - T_HHASHTABLE - Hash table object handle - 3488 - nCount - UDINT - Number of used hash table entries - 32 - 0 + NoInterface + TcEventEntry + 192 + 4992 - 0 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.NoInterface + + + .eSeverity + TcEventSeverity.Error + - nFree - UDINT - Number of free hash table entries - 32 - 32 + InvalidInterface + TcEventEntry + 192 + 5184 - 0 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.InvalidInterface + + + .eSeverity + TcEventSeverity.Error + - pEntries - T_HashTableEntry - Pointer to table array - 32 - 64 + InvalidClassID + TcEventEntry + 192 + 5376 - 0 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.InvalidClassID + + + .eSeverity + TcEventSeverity.Error + - - - conditionalshow - - - cbEntries - UDINT - Byte size of table array - 32 - 96 + InvalidObjectID + TcEventEntry + 192 + 5568 - 0 - - - - conditionalshow - - + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.InvalidObjectID + + + .eSeverity + TcEventSeverity.Error + + - nElements - UDINT - Number of table/array elements - 32 - 128 + Pending + TcEventEntry + 192 + 5760 - 0 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.Pending + + + .eSeverity + TcEventSeverity.Error + - - - conditionalshow - - - cbElement - UDINT - Byte size of one array element - 32 - 160 + Aborted + TcEventEntry + 192 + 5952 - 0 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.Aborted + + + .eSeverity + TcEventSeverity.Error + - - - conditionalshow - - - - - pEntrys - T_HashTableEntry - - 0 - 101 - - 3232 - 192 - - - conditionalshow - - - pFreeEntrys - T_HashTableEntry - 32 - 3424 + SignalWarning + TcEventEntry + 192 + 6144 - 0 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.SignalWarning + + + .eSeverity + TcEventSeverity.Error + - - - conditionalshow - - - pFirstEntry - T_HashTableEntry - 32 - 3456 + InvalidArrayIndex + TcEventEntry + 192 + 6336 - 0 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.InvalidArrayIndex + + + .eSeverity + TcEventSeverity.Error + - - - conditionalshow - - - - - FB_HashTableCtrl - Hash table control function block - 352 - hTable - T_HHASHTABLE - Hash table handle variable - 32 - 32 - - - ItemType - InOut - - + SymbolNotActive + TcEventEntry + 192 + 6528 + + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.SymbolNotActive + + + .eSeverity + TcEventSeverity.Error + + - 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 + AccessDenied + TcEventEntry + 192 + 6720 - 0 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.AccessDenied + + + .eSeverity + TcEventSeverity.Error + - - - ItemType - Input - - - putValue - PVOID - Entry value: 32/64 bit unsigned integer or pointer - 32 - 96 + LicenseMissing + TcEventEntry + 192 + 6912 - 0 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.LicenseMissing + + + .eSeverity + TcEventSeverity.Error + - - - ItemType - Input - - - putPosPtr - T_HashTableEntry - Hash table entry position pointer, used by A_GetNext - 32 - 128 + LicenseExpired + TcEventEntry + 192 + 7104 - 0 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.LicenseExpired + + + .eSeverity + TcEventSeverity.Error + - - - ItemType - Input - - - bOk - BOOL - TRUE = success, FALSE = error - 8 - 160 + LicenseExceeded + TcEventEntry + 192 + 7296 - false + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.LicenseExceeded + + + .eSeverity + TcEventSeverity.Error + - - - ItemType - Output - - - getValue - PVOID - Entry value: 32/64 bit unsigned integer or pointer - 32 - 192 + LicenseInvalid + TcEventEntry + 192 + 7488 - 0 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.LicenseInvalid + + + .eSeverity + TcEventSeverity.Error + - - - ItemType - Output - - - getPosPtr - T_HashTableEntry - returned by A_GetFirstEntry, A_GetNextEntry, A_Add, A_Lookup and A_Remove method - 32 - 224 + LicenseSystemID + TcEventEntry + 192 + 7680 - 0 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.LicenseSystemID + + + .eSeverity + TcEventSeverity.Error + - - - ItemType - Output - - - p - T_HashTableEntry - 32 - 256 + LicenseNoTimeLimit + TcEventEntry + 192 + 7872 - 0 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.LicenseNoTimeLimit + + + .eSeverity + TcEventSeverity.Error + - - - conditionalshow - - - n - T_HashTableEntry - 32 - 288 + LicenseFutureIssue + TcEventEntry + 192 + 8064 - 0 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.LicenseFutureIssue + + + .eSeverity + TcEventSeverity.Error + - - - conditionalshow - - - nHash - DWORD - 32 - 320 + LicenseTimeTooLong + TcEventEntry + 192 + 8256 - 0 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.LicenseTimeTooLong + + + .eSeverity + TcEventSeverity.Error + - - - 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 + Exception + TcEventEntry + 192 + 8448 - 0 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.Exception + + + .eSeverity + TcEventSeverity.Error + - - - ItemType - Input - - - putPosPtr - T_HashTableEntry - Hash table entry position pointer (used by A_Find, A_GetNext, A_GetPrev) - 32 - 64 + LicenseDuplicated + TcEventEntry + 192 + 8640 - 0 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.LicenseDuplicated + + + .eSeverity + TcEventSeverity.Error + - - - 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 + SignatureInvalid + TcEventEntry + 192 + 8832 - false + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.SignatureInvalid + + + .eSeverity + TcEventSeverity.Error + - - - ItemType - Output - - - getPosPtr - T_HashTableEntry - Returned hash table entry position pointer - 32 - 2592 + CertificateInvalid + TcEventEntry + 192 + 9024 - 0 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.CertificateInvalid + + + .eSeverity + TcEventSeverity.Error + - - - 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 + LicenseOEMNotFound + TcEventEntry + 192 + 9216 - 0 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.LicenseOEMNotFound + + + .eSeverity + TcEventSeverity.Error + - - - ItemType - Output - - - - - epicsDataPool - ST_BP_ArbInternal - - 1 - 20 - - Structured data element pool for display in EPICS - 49280 - 5120 - - - pytmc - - pv: Entry - io: i - - - - - - 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 + LicenseRestricted + TcEventEntry + 192 + 9408 + + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.LicenseRestricted + + + .eSeverity + TcEventSeverity.Error + + - pRefPtr - ST_BP_ArbInternal - 32 - 212448 + LicenseDemoDenied + TcEventEntry + 192 + 9600 - 0 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.LicenseDemoDenied + + + .eSeverity + TcEventSeverity.Error + - indexOfElem - ULINT - Integer value (max. size: x86=>32bit, x64=>64bit) - 64 - 212480 - - - cstSafeBeam - ST_BeamParams - MG - 1760 - 212544 + InvalidFunctionID + TcEventEntry + 192 + 9792 - .nTran - 0 + .uuidEventClass.Data1 + 2104885350 - .neVRange - 0 + .uuidEventClass.Data2 + 54131 - .nRate - 0 + .uuidEventClass.Data3 + 18956 - .nBCRange - 0 + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.InvalidFunctionID + + + .eSeverity + TcEventSeverity.Error - - 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: -- Provide a simple interface for devices to request beam parameter sets -- Provide a way for devices to verify their BPS is active in the arbiter -- Provide a way for devices remove their requests from evaluation -- Evaluate all active beam parameter requests registered with the aribiter, -to determine the safest combination of all sets, provide this set as an output. -- Do all of this with minimal overhead - -To these ends, the arbiter uses a hash-table, the rows being a state-id as the key, and a corresponding - beam parameter set to be evaluated against all the other sets (or rows), in the table. - -The hash table can be thought of as an array on steriods, they are worth reading about, suffice to say -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. - - 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 - - - - - - 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. - - - - - nNextCohort - UDINT - The cohort ID any new requests will adopt, will become ReqInProgCohort at the start of the next acknowledgement cycle - 32 - 214528 + OutOfRange + TcEventEntry + 192 + 9984 - 1 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.OutOfRange + + + .eSeverity + TcEventSeverity.Error + - nAckInProgCohort - UDINT - The cohort ID currently being acknowledged, will become nActiveCohort after acknowledgement from HA - 32 - 214560 + InvalidAlignment + TcEventEntry + 192 + 10176 - 0 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.InvalidAlignment + + + .eSeverity + TcEventSeverity.Error + - nActiveCohort - UDINT - Requests with cohorts <= to this value will be considered active in CheckRequest - 32 - 214592 + LicensePlatform + TcEventEntry + 192 + 10368 - 0 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.LicensePlatform + + + .eSeverity + TcEventSeverity.Error + - - - pytmc - - pv: CohortCounter - io: i - field: DESC Intrnl cohort counter - - - - - - 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 + ForwardPassiveLevel + TcEventEntry + 192 + 10560 - false - - - - 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_xStateIDFound - BOOL - Set true if a state-id is found in the assertion pool after calling A_VerifyAssertion - 8 - 228448 - - - ItemType - Output - - + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.ForwardPassiveLevel + + + .eSeverity + TcEventSeverity.Error + + - __FB_ARBITER__GETARBITRATEDBP__XFIRSTPASS - BOOL - 8 - 228456 + ForwardDispatchLevel + TcEventEntry + 192 + 10752 - : u + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.ForwardDispatchLevel + + + .eSeverity + TcEventSeverity.Error + - __FB_ARBITER__GETARBITRATEDBP__FBGETCURTASKIDX - GETCURTASKINDEX - 128 - 228480 - - - __FB_ARBITER__GETARBITRATEDBP__LASTCYCLECOUNT - UDINT - 32 - 228608 - - - __FB_ARBITER__GETARBITRATEDBP__FBLOGMESSAGE - FB_LogMessage - 81984 - 228672 + ForwardRealTime + TcEventEntry + 192 + 10944 + + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.ForwardRealTime + + + .eSeverity + TcEventSeverity.Error + + - __FB_ARBITER__ADDREQUEST__FBLOG - FB_LogMessage - 81984 - 310656 + InvalidServiceParam + TcEventEntry + 192 + 11136 + + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.InvalidServiceParam + + + .eSeverity + TcEventSeverity.Error + + - __FB_ARBITER__REMOVEREQUEST__FBLOG - FB_LogMessage - 81984 - 392640 - - - __getnEntryCount - How many entries are in the arbiter now - UDINT - 32 - - nEntryCount - UDINT - 32 - - - - property - - - - - CheckRequest - Checks request ID is included in arbitration all the way to the accelerator interface -Use like so: -IF fbArbiter.CheckRequest(nStateIDAssertionToCheck) AND (other logic) THEN: - Request is found and active in arbitration,. Do something. -ELSE: - Request was not found, or is not yet included in arbitration. Don't do something/ wait. - - - BOOL - 8 - - nReqID - DWORD - 32 - - - BP - ST_BeamParams - 1760 - - - - ElevateRequest - <Arbiter Internal> - Elevates the arbitrated BP set to something above. - Could be another arbiter, or a BP requester/ IO, - or an FB that locks in a specific portion of the BP set. - BOOL - 8 - - HigherAuthority - I_HigherAuthority - 32 - - - - GetArbitratedBP - Executes Arbitration between all requested beam parameter sets - 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 - __FB_ARBITER__GETARBITRATEDBP__XFIRSTPASS - - - - - fbGetCurTaskIdx - GETCURTASKINDEX - 128 - - - uselocation - __FB_ARBITER__GETARBITRATEDBP__FBGETCURTASKIDX - - - - - LastCycleCount - UDINT - 32 - - - uselocation - __FB_ARBITER__GETARBITRATEDBP__LASTCYCLECOUNT - - - - - fbLogMessage - FB_LogMessage - 81984 - - - uselocation - __FB_ARBITER__GETARBITRATEDBP__FBLOGMESSAGE - - - - - - ArbitrateBP - Kernel of the arbiter - Logic for determining which beam parameter is the most conservative across all request sets. - 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 - Adds a request to the arbiter pool. - Returns true if the request was successfully added, false if not enough space or a request with the same ID is already present. - 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 - __FB_ARBITER__ADDREQUEST__FBLOG - - - - - - RemoveRequest - Removes request from abritration. - BOOL - 8 - - nReqId - DWORD - 32 - - - fbLog - FB_LogMessage - 81984 - - - uselocation - __FB_ARBITER__REMOVEREQUEST__FBLOG - - - - - BP_Int - ST_BP_ArbInternal - 2464 - - - - CheckRequestInPool - Verify request is at least in the local arbiter - Does not verify request has been included in arbitration. - Use CheckRequest instead. - 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 - 19648 + ListEmpty + TcEventEntry + 192 + 11328 + + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.ListEmpty + + + .eSeverity + TcEventSeverity.Error + + + - stMotionStage - ST_MotionStage - 32 - 32 - - - ItemType - InOut - - + VariableConAlreadyInUse + TcEventEntry + 192 + 11520 + + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.VariableConAlreadyInUse + + + .eSeverity + TcEventSeverity.Error + + - arrStates - ST_PositionState - - 1 - 15 - - 32 - 64 - - - ItemType - InOut - - + InvokeIDAlreadyInUse + TcEventEntry + 192 + 11712 + + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.InvokeIDAlreadyInUse + + + .eSeverity + TcEventSeverity.Error + + - bArbiterEnabled - BOOL - 8 - 96 + TimeoutElapsed + TcEventEntry + 192 + 11904 - true + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.TimeoutElapsed + + + .eSeverity + TcEventSeverity.Error + - - - ItemType - Input - - - bMaintMode - BOOL - 8 - 104 - - - ItemType - Input - - - pytmc - - pv: MAINT - io: io - - - + Win32Error + TcEventEntry + 192 + 12096 + + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.Win32Error + + + .eSeverity + TcEventSeverity.Error + + - bRequestTransition - BOOL - 8 - 112 - - - ItemType - Input - - + TimeoutInvalid + TcEventEntry + 192 + 12288 + + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.TimeoutInvalid + + + .eSeverity + TcEventSeverity.Error + + - setState - INT - 16 - 128 - - - ItemType - Input - - + PortNotOpen + TcEventEntry + 192 + 12480 + + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.PortNotOpen + + + .eSeverity + TcEventSeverity.Error + + - getState - INT - 16 - 144 - - - ItemType - Input - - + NoAMSAddr + TcEventEntry + 192 + 12672 + + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.NoAMSAddr + + + .eSeverity + TcEventSeverity.Error + + - fStateBoundaryDeadband - LREAL - 64 - 192 + SyncInternalError + TcEventEntry + 192 + 12864 - 0 + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.SyncInternalError + + + .eSeverity + TcEventSeverity.Error + - - - ItemType - Input - - - tArbiterTimeout - TIME - 32 - 256 + AddHash + TcEventEntry + 192 + 13056 - T#1s + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.AddHash + + + .eSeverity + TcEventSeverity.Error + - - - ItemType - Input - - - bMoveOnArbiterTimeout - BOOL - 8 - 288 + RemoveHash + TcEventEntry + 192 + 13248 - true + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.RemoveHash + + + .eSeverity + TcEventSeverity.Error + - - - 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 - 2560 - 352 - - - pytmc - - pv: TRANS - io: i - - - - - - stTransitionBeam - ST_BeamParams - 1760 - 2912 - - - stTransitionState - ST_PositionState - 3712 - 4672 - bInit - BOOL - 8 - 8384 + NoMoreSymbols + TcEventEntry + 192 + 13440 - true + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.NoMoreSymbols + + + .eSeverity + TcEventSeverity.Error + - bTransDone - BOOL - 8 - 8392 - - - rtTransReq - R_TRIG - 64 - 8416 - - - bBPTMDone - BOOL - 8 - 8480 - - - rtBPTMDone - R_TRIG - 64 - 8512 - - - ftMotorExec - F_TRIG - 64 - 8576 - - - rtTransDone - R_TRIG - 64 - 8640 - - - rtDoLateFinish - R_TRIG - 64 - 8704 - - - tonDone - TON - 224 - 8768 - - - stStateReq - ST_PositionState - 3712 - 9024 - - - mcPower - MC_Power - 768 - 12736 - - - fUpperBound - LREAL - 64 - 13504 - - - fLowerBound - LREAL - 64 - 13568 - - - nGoalState - INT - 16 + SyncResInvalid + TcEventEntry + 192 13632 + + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.SyncResInvalid + + + .eSeverity + TcEventSeverity.Error + + - stGoalState - ST_PositionState - 3712 - 13696 - - - fActPos - LREAL - 64 - 17408 - - - fReqPos - LREAL - 64 - 17472 - - - bInTransition - BOOL - 8 - 17536 - - - stBeamNeeded - ST_BeamParams - 1760 - 17568 - - - bFwdOk - BOOL - 8 - 19328 - - - bBwdOk - BOOL - 8 - 19336 - - - tonArbiter - TON - 224 - 19360 - - - bLateFinish - BOOL - 8 - 19584 - - - bInternalAuth - BOOL - 8 - 19592 + SyncPortLocked + TcEventEntry + 192 + 13824 + + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 50 + + + .uuidEventClass.Data4[3] + 139 + + + .uuidEventClass.Data4[4] + 22 + + + .uuidEventClass.Data4[5] + 32 + + + .uuidEventClass.Data4[6] + 176 + + + .uuidEventClass.Data4[7] + 240 + + + .nEventID + E_TcGeneralAdsEventClass.SyncPortLocked + + + .eSeverity + TcEventSeverity.Error + + - - AssertHere - - - HandleBPTM - - - HandleFFO - - - ClearAsserts - - - Exec - - - HandlePmpsDb - - - GetBeamFromState - ST_BeamParams - 1760 - - nState - INT - 16 - - - stState - ST_PositionState - 3712 - - - - GetStateCode - INT - 16 - - nState - INT - 16 - - - - GetStateStruct - ST_PositionState - 3712 - - nState - INT - 16 - - - PouType - FunctionBlock + TcTypeSystem - obsolete - Use FB_PositionStatePMPS1D instead + signature_flag + 33554432 + + + checksuperglobal + + + show + + + no-analysis + + + TcEventClass + TcGeneralAdsEventClass - FB_JsonDocToSafeBP - 109440 - - bExecute - BOOL - Rising Edge - 8 - 32 - - - ItemType - Input - - - - - jsonDoc - SJsonValue - 32 - 64 - - - ItemType - Input - - - + TcRouterEventClass + TcRouterEventClass + + NoLockedMemory + Locked memory cannot be allocated. + Error + + + ResizeMemory + The router memory size could not be changed. + Error + + + MailboxFull + The mailbox has reached the maximum number of possible messages. + Error + + + DebugBoxFull + The debug mailbox has reached the maximum number of possible messages. + Error + + + UnknownPortType + The port type is unknown. + Error + + + NotInitialized + TwinCAT Router is not initialised. + Error + + + PortAlreadyInUse + The port number is already assigned. + Error + + + NotRegistered + The port is not registered. + Error + + + NoMoreQueues + The maximum number of ports has been reached. + Error + + + InvalidPort + The port is invalid. + Error + + + NotActivated + TwinCAT Router is not active. + Error + + + FragmentBoxFull + The mailbox has reached the maximum number for fragmented messages. + Error + + + FragmentTimeout + A fragment timeout has occurred. + Error + + + ToBeRemoved + The port is removed. + Error + + + + Lockierter Speicher kann nicht zugewiesen werden. + + + Die Größe des Routerspeichers konnte nicht geändert werden. + + + Das Postfach hat die maximale Anzahl der möglichen Meldungen erreicht. + + + Das Debug Postfach hat die maximale Anzahl der möglichen Meldungen erreicht. + + + Der Porttyp ist unbekannt. + + + Der TwinCAT Router ist nicht initialisiert. + + + Die Portnummer ist bereits vergeben. + + + Der Port ist nicht registriert. + + + Die maximale Portanzahl ist erreicht. + + + Der Port ist ungültig. + + + Der TwinCAT Router ist nicht aktiv. + + + Das Postfach hat die maximale Anzahl für fragmentierte Nachrichten erreicht. + + + Fragment Timeout aufgetreten. + + + Port wird entfernt. + + + + + + + + + ST_TcRouterEventClass + 2688 - sDeviceName - STRING(80) - 648 - 96 - - - ItemType - Input - - + NoLockedMemory + TcEventEntry + 192 + 0 + + + .uuidEventClass.Data1 + 3881394266 + + + .uuidEventClass.Data2 + 9025 + + + .uuidEventClass.Data3 + 18684 + + + .uuidEventClass.Data4[0] + 159 + + + .uuidEventClass.Data4[1] + 63 + + + .uuidEventClass.Data4[2] + 200 + + + .uuidEventClass.Data4[3] + 250 + + + .uuidEventClass.Data4[4] + 64 + + + .uuidEventClass.Data4[5] + 92 + + + .uuidEventClass.Data4[6] + 75 + + + .uuidEventClass.Data4[7] + 36 + + + .nEventID + E_TcRouterEventClass.NoLockedMemory + + + .eSeverity + TcEventSeverity.Error + + - bHasDevice - BOOL - 8 - 744 - - - ItemType - Output - - + ResizeMemory + TcEventEntry + 192 + 192 + + + .uuidEventClass.Data1 + 3881394266 + + + .uuidEventClass.Data2 + 9025 + + + .uuidEventClass.Data3 + 18684 + + + .uuidEventClass.Data4[0] + 159 + + + .uuidEventClass.Data4[1] + 63 + + + .uuidEventClass.Data4[2] + 200 + + + .uuidEventClass.Data4[3] + 250 + + + .uuidEventClass.Data4[4] + 64 + + + .uuidEventClass.Data4[5] + 92 + + + .uuidEventClass.Data4[6] + 75 + + + .uuidEventClass.Data4[7] + 36 + + + .nEventID + E_TcRouterEventClass.ResizeMemory + + + .eSeverity + TcEventSeverity.Error + + - bHasAllStates - BOOL - 8 - 752 - - - ItemType - Output - - + MailboxFull + TcEventEntry + 192 + 384 + + + .uuidEventClass.Data1 + 3881394266 + + + .uuidEventClass.Data2 + 9025 + + + .uuidEventClass.Data3 + 18684 + + + .uuidEventClass.Data4[0] + 159 + + + .uuidEventClass.Data4[1] + 63 + + + .uuidEventClass.Data4[2] + 200 + + + .uuidEventClass.Data4[3] + 250 + + + .uuidEventClass.Data4[4] + 64 + + + .uuidEventClass.Data4[5] + 92 + + + .uuidEventClass.Data4[6] + 75 + + + .uuidEventClass.Data4[7] + 36 + + + .nEventID + E_TcRouterEventClass.MailboxFull + + + .eSeverity + TcEventSeverity.Error + + - bHasAllParameters - BOOL - 8 - 760 + DebugBoxFull + TcEventEntry + 192 + 576 - true + + .uuidEventClass.Data1 + 3881394266 + + + .uuidEventClass.Data2 + 9025 + + + .uuidEventClass.Data3 + 18684 + + + .uuidEventClass.Data4[0] + 159 + + + .uuidEventClass.Data4[1] + 63 + + + .uuidEventClass.Data4[2] + 200 + + + .uuidEventClass.Data4[3] + 250 + + + .uuidEventClass.Data4[4] + 64 + + + .uuidEventClass.Data4[5] + 92 + + + .uuidEventClass.Data4[6] + 75 + + + .uuidEventClass.Data4[7] + 36 + + + .nEventID + E_TcRouterEventClass.DebugBoxFull + + + .eSeverity + TcEventSeverity.Error + - - - ItemType - Output - - - bBusy - BOOL - 8 + UnknownPortType + TcEventEntry + 192 768 - - - ItemType - Output - - - - - bError - BOOL - 8 - 776 - - - ItemType - Output - - + + + .uuidEventClass.Data1 + 3881394266 + + + .uuidEventClass.Data2 + 9025 + + + .uuidEventClass.Data3 + 18684 + + + .uuidEventClass.Data4[0] + 159 + + + .uuidEventClass.Data4[1] + 63 + + + .uuidEventClass.Data4[2] + 200 + + + .uuidEventClass.Data4[3] + 250 + + + .uuidEventClass.Data4[4] + 64 + + + .uuidEventClass.Data4[5] + 92 + + + .uuidEventClass.Data4[6] + 75 + + + .uuidEventClass.Data4[7] + 36 + + + .nEventID + E_TcRouterEventClass.UnknownPortType + + + .eSeverity + TcEventSeverity.Error + + - nErrId - UDINT - 32 - 800 - - - ItemType - Output - - + NotInitialized + TcEventEntry + 192 + 960 + + + .uuidEventClass.Data1 + 3881394266 + + + .uuidEventClass.Data2 + 9025 + + + .uuidEventClass.Data3 + 18684 + + + .uuidEventClass.Data4[0] + 159 + + + .uuidEventClass.Data4[1] + 63 + + + .uuidEventClass.Data4[2] + 200 + + + .uuidEventClass.Data4[3] + 250 + + + .uuidEventClass.Data4[4] + 64 + + + .uuidEventClass.Data4[5] + 92 + + + .uuidEventClass.Data4[6] + 75 + + + .uuidEventClass.Data4[7] + 36 + + + .nEventID + E_TcRouterEventClass.NotInitialized + + + .eSeverity + TcEventSeverity.Error + + - sErrMsg - STRING(80) - 648 - 832 - - - ItemType - Output - - + PortAlreadyInUse + TcEventEntry + 192 + 1152 + + + .uuidEventClass.Data1 + 3881394266 + + + .uuidEventClass.Data2 + 9025 + + + .uuidEventClass.Data3 + 18684 + + + .uuidEventClass.Data4[0] + 159 + + + .uuidEventClass.Data4[1] + 63 + + + .uuidEventClass.Data4[2] + 200 + + + .uuidEventClass.Data4[3] + 250 + + + .uuidEventClass.Data4[4] + 64 + + + .uuidEventClass.Data4[5] + 92 + + + .uuidEventClass.Data4[6] + 75 + + + .uuidEventClass.Data4[7] + 36 + + + .nEventID + E_TcRouterEventClass.PortAlreadyInUse + + + .eSeverity + TcEventSeverity.Error + + - arrStates - ST_DbStateParams - ARRAY [1.. MOTION_GVL.MAX_STATES] ; - 32 - 1504 - - - ItemType - Input - - - variable_length_array - - - Dimensions - 1 - - + NotRegistered + TcEventEntry + 192 + 1344 + + + .uuidEventClass.Data1 + 3881394266 + + + .uuidEventClass.Data2 + 9025 + + + .uuidEventClass.Data3 + 18684 + + + .uuidEventClass.Data4[0] + 159 + + + .uuidEventClass.Data4[1] + 63 + + + .uuidEventClass.Data4[2] + 200 + + + .uuidEventClass.Data4[3] + 250 + + + .uuidEventClass.Data4[4] + 64 + + + .uuidEventClass.Data4[5] + 92 + + + .uuidEventClass.Data4[6] + 75 + + + .uuidEventClass.Data4[7] + 36 + + + .nEventID + E_TcRouterEventClass.NotRegistered + + + .eSeverity + TcEventSeverity.Error + + - io_fbFFHWO - FB_HardwareFFOutput - 32 + NoMoreQueues + TcEventEntry + 192 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 + + + .uuidEventClass.Data1 + 3881394266 + + + .uuidEventClass.Data2 + 9025 + + + .uuidEventClass.Data3 + 18684 + + + .uuidEventClass.Data4[0] + 159 + + + .uuidEventClass.Data4[1] + 63 + + + .uuidEventClass.Data4[2] + 200 + + + .uuidEventClass.Data4[3] + 250 + + + .uuidEventClass.Data4[4] + 64 + + + .uuidEventClass.Data4[5] + 92 + + + .uuidEventClass.Data4[6] + 75 + + + .uuidEventClass.Data4[7] + 36 + + + .nEventID + E_TcRouterEventClass.NoMoreQueues + + + .eSeverity + TcEventSeverity.Error + + - index - DINT - 32 - 2048 + InvalidPort + TcEventEntry + 192 + 1728 + + + .uuidEventClass.Data1 + 3881394266 + + + .uuidEventClass.Data2 + 9025 + + + .uuidEventClass.Data3 + 18684 + + + .uuidEventClass.Data4[0] + 159 + + + .uuidEventClass.Data4[1] + 63 + + + .uuidEventClass.Data4[2] + 200 + + + .uuidEventClass.Data4[3] + 250 + + + .uuidEventClass.Data4[4] + 64 + + + .uuidEventClass.Data4[5] + 92 + + + .uuidEventClass.Data4[6] + 75 + + + .uuidEventClass.Data4[7] + 36 + + + .nEventID + E_TcRouterEventClass.InvalidPort + + + .eSeverity + TcEventSeverity.Error + + - nStateCount - DINT - 32 - 2080 + NotActivated + TcEventEntry + 192 + 1920 + + + .uuidEventClass.Data1 + 3881394266 + + + .uuidEventClass.Data2 + 9025 + + + .uuidEventClass.Data3 + 18684 + + + .uuidEventClass.Data4[0] + 159 + + + .uuidEventClass.Data4[1] + 63 + + + .uuidEventClass.Data4[2] + 200 + + + .uuidEventClass.Data4[3] + 250 + + + .uuidEventClass.Data4[4] + 64 + + + .uuidEventClass.Data4[5] + 92 + + + .uuidEventClass.Data4[6] + 75 + + + .uuidEventClass.Data4[7] + 36 + + + .nEventID + E_TcRouterEventClass.NotActivated + + + .eSeverity + TcEventSeverity.Error + + - RisingEdge - R_TRIG - 64 + FragmentBoxFull + TcEventEntry + 192 2112 - - - tNewMessage - R_TRIG - Logger - 64 - 2176 - - - fbLogger - FB_LogMessage - 81984 - 2240 - .eSubsystem - E_Subsystem.MPS + .uuidEventClass.Data1 + 3881394266 - .nMinTimeViolationAcceptable - 10 + .uuidEventClass.Data2 + 9025 + + + .uuidEventClass.Data3 + 18684 + + + .uuidEventClass.Data4[0] + 159 + + + .uuidEventClass.Data4[1] + 63 + + + .uuidEventClass.Data4[2] + 200 + + + .uuidEventClass.Data4[3] + 250 + + + .uuidEventClass.Data4[4] + 64 + + + .uuidEventClass.Data4[5] + 92 + + + .uuidEventClass.Data4[6] + 75 + + + .uuidEventClass.Data4[7] + 36 + + + .nEventID + E_TcRouterEventClass.FragmentBoxFull + + + .eSeverity + TcEventSeverity.Error - FFO - FB_FastFault - FFO - 25088 - 84224 + FragmentTimeout + TcEventEntry + 192 + 2304 - .i_Desc - Fault occurs when there is an error loading safe beam parameters from json file + .uuidEventClass.Data1 + 3881394266 - .i_TypeCode - 65299 + .uuidEventClass.Data2 + 9025 + + + .uuidEventClass.Data3 + 18684 + + + .uuidEventClass.Data4[0] + 159 + + + .uuidEventClass.Data4[1] + 63 + + + .uuidEventClass.Data4[2] + 200 + + + .uuidEventClass.Data4[3] + 250 + + + .uuidEventClass.Data4[4] + 64 + + + .uuidEventClass.Data4[5] + 92 + + + .uuidEventClass.Data4[6] + 75 + + + .uuidEventClass.Data4[7] + 36 + + + .nEventID + E_TcRouterEventClass.FragmentTimeout + + + .eSeverity + TcEventSeverity.Error - sbuffReadSmall - INT - 16 - 109312 + ToBeRemoved + TcEventEntry + 192 + 2496 + + + .uuidEventClass.Data1 + 3881394266 + + + .uuidEventClass.Data2 + 9025 + + + .uuidEventClass.Data3 + 18684 + + + .uuidEventClass.Data4[0] + 159 + + + .uuidEventClass.Data4[1] + 63 + + + .uuidEventClass.Data4[2] + 200 + + + .uuidEventClass.Data4[3] + 250 + + + .uuidEventClass.Data4[4] + 64 + + + .uuidEventClass.Data4[5] + 92 + + + .uuidEventClass.Data4[6] + 75 + + + .uuidEventClass.Data4[7] + 36 + + + .nEventID + E_TcRouterEventClass.ToBeRemoved + + + .eSeverity + TcEventSeverity.Error + + - - 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 + TcTypeSystem + + + signature_flag + 33554432 + + + checksuperglobal + + + show + + + no-analysis + + + TcEventClass + TcRouterEventClass - 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 - + TcRTimeEventClass + TcRTimeEventClass + + InternalError + Internal error in the real-time system. + Error + + + BadTimerPeriods + Timer value is not valid. + Error + + + InvalidTaskPtr + The task pointer has the invalid value 0 (null). + Error + + + InvalidStackPtr + The stack pointer has the invalid value 0 (null). + Error + + + PrioExists + The task priority is already assigned. + Error + + + NoMoreTCB + No free TCB (Task Control Block) available. The maximum number of TCBs is 64. + Error + + + NoMoreSemas + No free semaphores available. The maximum number of semaphores is 64. + Error + + + NoMoreQueues + No free space available in the queue. The maximum number of positions in the queue is 64. + Error + + + ExtIRQAlreadyDef + An external synchronization interrupt is already applied. + Error + + + ExtIRQNotDef + No external synchronziation interrupt applied. + Error + + + ExtIRQInstallFailed + Application of the external synchronization 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 the BIOS. + Error + + + VMXControlsMissing + Missing function in Intel VT-x extension. + Error + + + VMXEnableFails + Activation of Intel VT-x fails. + Error + + + + Interner Fehler im Echtzeit-System. + + + Timer-Wert ist nicht gültig. + + + Task-Pointer hat den ungültigen Wert 0 (null). + + + Stack-Pointer hat den ungültigen Wert 0 (null). + + + Die Task Priority ist bereits vergeben. + + + Kein freier TCB (Task Control Block) verfügbar. Maximale Anzahl von TCBs beträgt 64. + + + Keine freien Semaphoren zur Verfügung. Maximale Anzahl der Semaphoren beträgt 64. + + + Kein freier Platz in der Warteschlange zur Verfügung. Maximale Anzahl der Plätze in der Warteschlange beträgt 64. + + + Ein externer Synchronisations-Interrupt wird bereits angewandt. + + + Kein externer Synchronisations-Interrupt angewandt. + + + Anwendung des externen Synchronisations-Interrupts ist fehlgeschlagen. + + + Aufruf einer Service-Funktion im falschen Kontext + + + Intel VT-x Erweiterung wird nicht unterstützt. + + + Intel VT-x Erweiterung ist nicht aktiviert im BIOS. + + + Fehlende Funktion in Intel VT-x Erweiterung. + + + Aktivieren von Intel VT-x schlägt fehl. + + + + + + + - 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. - - - 96 - - LowerLimit - INT - Incrementer will rollver over to this value (and initialize to this value) - 16 - 32 - - 1 - - - - ItemType - Input - - - naming - off - - - + ST_TcRTimeEventClass + 3072 - ValInc - INT - Incrementer increments by this value - 16 - 48 + InternalError + TcEventEntry + 192 + 0 - 1 + + .uuidEventClass.Data1 + 2465223571 + + + .uuidEventClass.Data2 + 1704 + + + .uuidEventClass.Data3 + 18626 + + + .uuidEventClass.Data4[0] + 136 + + + .uuidEventClass.Data4[1] + 113 + + + .uuidEventClass.Data4[2] + 234 + + + .uuidEventClass.Data4[3] + 163 + + + .uuidEventClass.Data4[4] + 140 + + + .uuidEventClass.Data4[5] + 30 + + + .uuidEventClass.Data4[6] + 57 + + + .uuidEventClass.Data4[7] + 144 + + + .nEventID + E_TcRTimeEventClass.InternalError + + + .eSeverity + TcEventSeverity.Error + - - - ItemType - Input - - - UpperLimit - INT - Incrementer will rollover at this value to lower limit - 16 - 64 + BadTimerPeriods + TcEventEntry + 192 + 192 - 1 + + .uuidEventClass.Data1 + 2465223571 + + + .uuidEventClass.Data2 + 1704 + + + .uuidEventClass.Data3 + 18626 + + + .uuidEventClass.Data4[0] + 136 + + + .uuidEventClass.Data4[1] + 113 + + + .uuidEventClass.Data4[2] + 234 + + + .uuidEventClass.Data4[3] + 163 + + + .uuidEventClass.Data4[4] + 140 + + + .uuidEventClass.Data4[5] + 30 + + + .uuidEventClass.Data4[6] + 57 + + + .uuidEventClass.Data4[7] + 144 + + + .nEventID + E_TcRTimeEventClass.BadTimerPeriods + + + .eSeverity + TcEventSeverity.Error + - - - ItemType - Input - - - nVal - INT - Internal incrementer value, initialized to LowerLimit - 16 - 80 + InvalidTaskPtr + TcEventEntry + 192 + 384 - 1 + + .uuidEventClass.Data1 + 2465223571 + + + .uuidEventClass.Data2 + 1704 + + + .uuidEventClass.Data3 + 18626 + + + .uuidEventClass.Data4[0] + 136 + + + .uuidEventClass.Data4[1] + 113 + + + .uuidEventClass.Data4[2] + 234 + + + .uuidEventClass.Data4[3] + 163 + + + .uuidEventClass.Data4[4] + 140 + + + .uuidEventClass.Data4[5] + 30 + + + .uuidEventClass.Data4[6] + 57 + + + .uuidEventClass.Data4[7] + 144 + + + .nEventID + E_TcRTimeEventClass.InvalidTaskPtr + + + .eSeverity + TcEventSeverity.Error + - - - naming - off - - - - - Dec - - - Inc - - - DecVal - Decrement the counter and return new value - INT - 16 - - - IncVal - Increment the counter and return new value - 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. - - - 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 + InvalidStackPtr + TcEventEntry + 192 + 576 - Device + + .uuidEventClass.Data1 + 2465223571 + + + .uuidEventClass.Data2 + 1704 + + + .uuidEventClass.Data3 + 18626 + + + .uuidEventClass.Data4[0] + 136 + + + .uuidEventClass.Data4[1] + 113 + + + .uuidEventClass.Data4[2] + 234 + + + .uuidEventClass.Data4[3] + 163 + + + .uuidEventClass.Data4[4] + 140 + + + .uuidEventClass.Data4[5] + 30 + + + .uuidEventClass.Data4[6] + 57 + + + .uuidEventClass.Data4[7] + 144 + + + .nEventID + E_TcRTimeEventClass.InvalidStackPtr + + + .eSeverity + TcEventSeverity.Error + - - - ItemType - Input - - - i_TransitionAssertionID - UDINT - Must not be 0 or EXCLUDED_ID - 32 - 736 + PrioExists + TcEventEntry + 192 + 768 - 0 + + .uuidEventClass.Data1 + 2465223571 + + + .uuidEventClass.Data2 + 1704 + + + .uuidEventClass.Data3 + 18626 + + + .uuidEventClass.Data4[0] + 136 + + + .uuidEventClass.Data4[1] + 113 + + + .uuidEventClass.Data4[2] + 234 + + + .uuidEventClass.Data4[3] + 163 + + + .uuidEventClass.Data4[4] + 140 + + + .uuidEventClass.Data4[5] + 30 + + + .uuidEventClass.Data4[6] + 57 + + + .uuidEventClass.Data4[7] + 144 + + + .nEventID + E_TcRTimeEventClass.PrioExists + + + .eSeverity + TcEventSeverity.Error + - - - 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 + NoMoreTCB + TcEventEntry + 192 + 960 - 0 + + .uuidEventClass.Data1 + 2465223571 + + + .uuidEventClass.Data2 + 1704 + + + .uuidEventClass.Data3 + 18626 + + + .uuidEventClass.Data4[0] + 136 + + + .uuidEventClass.Data4[1] + 113 + + + .uuidEventClass.Data4[2] + 234 + + + .uuidEventClass.Data4[3] + 163 + + + .uuidEventClass.Data4[4] + 140 + + + .uuidEventClass.Data4[5] + 30 + + + .uuidEventClass.Data4[6] + 57 + + + .uuidEventClass.Data4[7] + 144 + + + .nEventID + E_TcRTimeEventClass.NoMoreTCB + + + .eSeverity + TcEventSeverity.Error + - - - ItemType - Input - - - i_stRequestedAssertion - ST_BeamParams - PMPS_GVL.cstSafeBeam; //Requested assertion, change whenever - 1760 - 2560 + NoMoreSemas + TcEventEntry + 192 + 1152 - .nTran - 0 + .uuidEventClass.Data1 + 2465223571 - .neVRange - 0 + .uuidEventClass.Data2 + 1704 - .nRate - 0 + .uuidEventClass.Data3 + 18626 - .nBCRange - 0 + .uuidEventClass.Data4[0] + 136 + + + .uuidEventClass.Data4[1] + 113 + + + .uuidEventClass.Data4[2] + 234 + + + .uuidEventClass.Data4[3] + 163 + + + .uuidEventClass.Data4[4] + 140 + + + .uuidEventClass.Data4[5] + 30 + + + .uuidEventClass.Data4[6] + 57 + + + .uuidEventClass.Data4[7] + 144 + + + .nEventID + E_TcRTimeEventClass.NoMoreSemas + + + .eSeverity + TcEventSeverity.Error - - - ItemType - Input - - - i_xMoving - BOOL - Provide rising edge when device begins moving <remove> - 8 - 4320 + NoMoreQueues + TcEventEntry + 192 + 1344 - false + + .uuidEventClass.Data1 + 2465223571 + + + .uuidEventClass.Data2 + 1704 + + + .uuidEventClass.Data3 + 18626 + + + .uuidEventClass.Data4[0] + 136 + + + .uuidEventClass.Data4[1] + 113 + + + .uuidEventClass.Data4[2] + 234 + + + .uuidEventClass.Data4[3] + 163 + + + .uuidEventClass.Data4[4] + 140 + + + .uuidEventClass.Data4[5] + 30 + + + .uuidEventClass.Data4[6] + 57 + + + .uuidEventClass.Data4[7] + 144 + + + .nEventID + E_TcRTimeEventClass.NoMoreQueues + + + .eSeverity + TcEventSeverity.Error + - - - ItemType - Input - - - i_xDoneMoving - BOOL - Provide rising edge when device is done with a move - 8 - 4328 + ExtIRQAlreadyDef + TcEventEntry + 192 + 1536 - false + + .uuidEventClass.Data1 + 2465223571 + + + .uuidEventClass.Data2 + 1704 + + + .uuidEventClass.Data3 + 18626 + + + .uuidEventClass.Data4[0] + 136 + + + .uuidEventClass.Data4[1] + 113 + + + .uuidEventClass.Data4[2] + 234 + + + .uuidEventClass.Data4[3] + 163 + + + .uuidEventClass.Data4[4] + 140 + + + .uuidEventClass.Data4[5] + 30 + + + .uuidEventClass.Data4[6] + 57 + + + .uuidEventClass.Data4[7] + 144 + + + .nEventID + E_TcRTimeEventClass.ExtIRQAlreadyDef + + + .eSeverity + TcEventSeverity.Error + - - - 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 + ExtIRQNotDef + TcEventEntry + 192 + 1728 - false + + .uuidEventClass.Data1 + 2465223571 + + + .uuidEventClass.Data2 + 1704 + + + .uuidEventClass.Data3 + 18626 + + + .uuidEventClass.Data4[0] + 136 + + + .uuidEventClass.Data4[1] + 113 + + + .uuidEventClass.Data4[2] + 234 + + + .uuidEventClass.Data4[3] + 163 + + + .uuidEventClass.Data4[4] + 140 + + + .uuidEventClass.Data4[5] + 30 + + + .uuidEventClass.Data4[6] + 57 + + + .uuidEventClass.Data4[7] + 144 + + + .nEventID + E_TcRTimeEventClass.ExtIRQNotDef + + + .eSeverity + TcEventSeverity.Error + - - - 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 + ExtIRQInstallFailed + TcEventEntry + 192 + 1920 - false + + .uuidEventClass.Data1 + 2465223571 + + + .uuidEventClass.Data2 + 1704 + + + .uuidEventClass.Data3 + 18626 + + + .uuidEventClass.Data4[0] + 136 + + + .uuidEventClass.Data4[1] + 113 + + + .uuidEventClass.Data4[2] + 234 + + + .uuidEventClass.Data4[3] + 163 + + + .uuidEventClass.Data4[4] + 140 + + + .uuidEventClass.Data4[5] + 30 + + + .uuidEventClass.Data4[6] + 57 + + + .uuidEventClass.Data4[7] + 144 + + + .nEventID + E_TcRTimeEventClass.ExtIRQInstallFailed + + + .eSeverity + TcEventSeverity.Error + - - - 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 - - + IRQNotLessOrEqual + TcEventEntry + 192 + 2112 + + + .uuidEventClass.Data1 + 2465223571 + + + .uuidEventClass.Data2 + 1704 + + + .uuidEventClass.Data3 + 18626 + + + .uuidEventClass.Data4[0] + 136 + + + .uuidEventClass.Data4[1] + 113 + + + .uuidEventClass.Data4[2] + 234 + + + .uuidEventClass.Data4[3] + 163 + + + .uuidEventClass.Data4[4] + 140 + + + .uuidEventClass.Data4[5] + 30 + + + .uuidEventClass.Data4[6] + 57 + + + .uuidEventClass.Data4[7] + 144 + + + .nEventID + E_TcRTimeEventClass.IRQNotLessOrEqual + + + .eSeverity + TcEventSeverity.Error + + - nTargetAssertionID - UDINT - 32 - 6176 + VMXNotSupported + TcEventEntry + 192 + 2304 - 0 + + .uuidEventClass.Data1 + 2465223571 + + + .uuidEventClass.Data2 + 1704 + + + .uuidEventClass.Data3 + 18626 + + + .uuidEventClass.Data4[0] + 136 + + + .uuidEventClass.Data4[1] + 113 + + + .uuidEventClass.Data4[2] + 234 + + + .uuidEventClass.Data4[3] + 163 + + + .uuidEventClass.Data4[4] + 140 + + + .uuidEventClass.Data4[5] + 30 + + + .uuidEventClass.Data4[6] + 57 + + + .uuidEventClass.Data4[7] + 144 + + + .nEventID + E_TcRTimeEventClass.VMXNotSupported + + + .eSeverity + TcEventSeverity.Error + - stTargetAssertion - ST_BeamParams - Target assertion - 1760 - 6208 - - - nCurrentAssertionID - UDINT - ID of last set state (zero until a state is reached) - 32 - 7968 + VMXDisabled + TcEventEntry + 192 + 2496 - 0 + + .uuidEventClass.Data1 + 2465223571 + + + .uuidEventClass.Data2 + 1704 + + + .uuidEventClass.Data3 + 18626 + + + .uuidEventClass.Data4[0] + 136 + + + .uuidEventClass.Data4[1] + 113 + + + .uuidEventClass.Data4[2] + 234 + + + .uuidEventClass.Data4[3] + 163 + + + .uuidEventClass.Data4[4] + 140 + + + .uuidEventClass.Data4[5] + 30 + + + .uuidEventClass.Data4[6] + 57 + + + .uuidEventClass.Data4[7] + 144 + + + .nEventID + E_TcRTimeEventClass.VMXDisabled + + + .eSeverity + TcEventSeverity.Error + - xNewBP - BOOL - 8 - 8000 - - - xTranBP - BOOL - 8 - 8008 - - - xFinalBPInArb - BOOL - 8 - 8016 - - - xFinalBP - BOOL - 8 - 8024 - - - eBPTMState - E_BPTMState - 16 - 8032 + VMXControlsMissing + TcEventEntry + 192 + 2688 - E_BPTMState.Init + + .uuidEventClass.Data1 + 2465223571 + + + .uuidEventClass.Data2 + 1704 + + + .uuidEventClass.Data3 + 18626 + + + .uuidEventClass.Data4[0] + 136 + + + .uuidEventClass.Data4[1] + 113 + + + .uuidEventClass.Data4[2] + 234 + + + .uuidEventClass.Data4[3] + 163 + + + .uuidEventClass.Data4[4] + 140 + + + .uuidEventClass.Data4[5] + 30 + + + .uuidEventClass.Data4[6] + 57 + + + .uuidEventClass.Data4[7] + 144 + + + .nEventID + E_TcRTimeEventClass.VMXControlsMissing + + + .eSeverity + TcEventSeverity.Error + - ePrevState - E_BPTMState - 16 - 8048 + VMXEnableFails + TcEventEntry + 192 + 2880 - E_BPTMState.Init + + .uuidEventClass.Data1 + 2465223571 + + + .uuidEventClass.Data2 + 1704 + + + .uuidEventClass.Data3 + 18626 + + + .uuidEventClass.Data4[0] + 136 + + + .uuidEventClass.Data4[1] + 113 + + + .uuidEventClass.Data4[2] + 234 + + + .uuidEventClass.Data4[3] + 163 + + + .uuidEventClass.Data4[4] + 140 + + + .uuidEventClass.Data4[5] + 30 + + + .uuidEventClass.Data4[6] + 57 + + + .uuidEventClass.Data4[7] + 144 + + + .nEventID + E_TcRTimeEventClass.VMXEnableFails + + + .eSeverity + TcEventSeverity.Error + + + + TcTypeSystem + + + signature_flag + 33554432 + + + checksuperglobal + + + show + + + no-analysis + + + TcEventClass + TcRTimeEventClass + + + + + 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 + + + + + + + ST_Win32EventClass + 7104 - 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 + ERROR_SUCCESS + TcEventEntry + 192 + 0 - .LowerLimit - 0 + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 - .UpperLimit - 40 + .uuidEventClass.Data4[2] + 161 - - - - 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 + .uuidEventClass.Data4[3] + 46 - .i_TypeCode - 10 + .uuidEventClass.Data4[4] + 119 - .i_xAutoReset - false + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_SUCCESS + + + .eSeverity + TcEventSeverity.Verbose - rtDoneMoving - R_TRIG - 64 - 60096 - - - bLatchDoneMoving - BOOL - 8 - 60160 - - - bFirstMove - BOOL - 8 - 60168 - - true - - - - LogBuffSize - INT - 16 - 60176 - - 40 - - - - cMaxAttempts - INT - 16 - 60192 + ERROR_INVALID_FUNCTION + TcEventEntry + 192 + 192 - 3 + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_INVALID_FUNCTION + + + .eSeverity + TcEventSeverity.Error + - 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. - - 32 - 60224 + ERROR_FILE_NOT_FOUND + TcEventEntry + 192 + 384 - 2 + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_FILE_NOT_FOUND + + + .eSeverity + TcEventSeverity.Error + - - 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 - 384384 - FB_PositionStatePMPS_Base - - fbArbiter - FB_Arbiter - 32 - 19648 - - - ItemType - InOut - - - - - fbFFHWO - FB_HardwareFFOutput - 32 - 19680 - - - ItemType - InOut - - - - - bReadPmpsDb - BOOL - 8 - 19712 - - - ItemType - Input - - - - sPmpsDeviceName - STRING(80) - 648 - 19720 - - - ItemType - Input - - - - - sTransitionKey - STRING(80) - 648 - 20368 - - - ItemType - Input - - - - - stPmpsDoc - SJsonValue - 32 - 21024 - - - ItemType - Input - - - - - stHighBeamThreshold - ST_BeamParams - 1760 - 21056 - - - ItemType - Input - - - - - bBPOKAutoReset - BOOL - 8 - 22816 + ERROR_PATH_NOT_FOUND + TcEventEntry + 192 + 576 - false - - - - ItemType - Input - - - - - arrPMPS - ST_DbStateParams - - 0 - 16 - - 40960 - 22848 - - - nBPIndex - UINT - 16 - 63808 - - - nTransitionAssertionID - UDINT - 32 - 63840 - - - nLastReqAssertionID - UDINT - 32 - 63872 - - - fbReadPmpsDb - FB_JsonDocToSafeBP - 109440 - 63936 - - - ftDbBusy - F_TRIG - 64 - 173376 - - - rtReadDBExec - R_TRIG - 64 - 173440 - - - ftRead - F_TRIG - 64 - 173504 - - - bptm - BeamParameterTransitionManager - 60256 - 173568 - - - ffBeamParamsOk - FB_FastFault - 25088 - 233824 - - - ffZeroRate - FB_FastFault - 25088 - 258912 - - - ffBPTMTimeoutAndMove - FB_FastFault - 25088 - 284000 - - - ffBPTMError - FB_FastFault - 25088 - 309088 - - - ffMaint - FB_FastFault - 25088 - 334176 - - - ffUnknown - FB_FastFault - 25088 - 359264 - - - bFFOxOk - BOOL - 8 - 384352 + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_PATH_NOT_FOUND + + + .eSeverity + TcEventSeverity.Error + + - bAtSafeState - BOOL - 8 - 384360 + ERROR_TOO_MANY_OPEN_FILES + TcEventEntry + 192 + 768 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_TOO_MANY_OPEN_FILES + + + .eSeverity + TcEventSeverity.Error + + - nIter - UINT - 16 - 384368 + ERROR_ACCESS_DENIED + TcEventEntry + 192 + 960 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_ACCESS_DENIED + + + .eSeverity + TcEventSeverity.Error + + - - HandlePmpsDb - - - HandleFFO - - - AssertHere - - - ClearAsserts - - - HandleBPTM - - - - PouType - FunctionBlock - - - obsolete - Use FB_PositionStatePMPS1D instead - - - - - FB_NCErrorFFO - 27808 - stMotionStage - ST_MotionStage - Motion stage to monitor - 32 - 32 - - - ItemType - InOut - - + ERROR_INVALID_HANDLE + TcEventEntry + 192 + 1152 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_INVALID_HANDLE + + + .eSeverity + TcEventSeverity.Error + + - fbFFHWO - FB_HardwareFFOutput - FFO to trip - 32 - 64 - - - ItemType - InOut - - + ERROR_NOT_ENOUGH_MEMORY + TcEventEntry + 192 + 1344 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_NOT_ENOUGH_MEMORY + + + .eSeverity + TcEventSeverity.Error + + - bReset - BOOL - Reset the fault - 8 - 96 - - - ItemType - Input - - + ERROR_INVALID_DATA + TcEventEntry + 192 + 1536 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_INVALID_DATA + + + .eSeverity + TcEventSeverity.Error + + - bAutoReset - BOOL - Auto-reset the fault - 8 - 104 - - - ItemType - Input - - + ERROR_NOT_READY + TcEventEntry + 192 + 1728 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_NOT_READY + + + .eSeverity + TcEventSeverity.Error + + - nLowErrorId - UDINT - The lowest error code that will trip the FFO - 32 - 128 + ERROR_BAD_COMMAND + TcEventEntry + 192 + 1920 - 16384 + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_BAD_COMMAND + + + .eSeverity + TcEventSeverity.Error + - - - ItemType - Input - - - nHighErrorId - UDINT - The highest error code that will trip the FFO - 32 - 160 + ERROR_CRC + TcEventEntry + 192 + 2112 - 20479 + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_CRC + + + .eSeverity + TcEventSeverity.Error + - - - ItemType - Input - - - sDesc - STRING(80) - A description of the fault - 648 - 192 + ERROR_BAD_LENGTH + TcEventEntry + 192 + 2304 - Motor error + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_BAD_LENGTH + + + .eSeverity + TcEventSeverity.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 - - - stBeamParams - ST_BeamParams - 1760 - 896 - - - fbFF - FB_FastFault - 25088 - 2656 - - - rtTrip - R_TRIG - 64 - 27744 - - - - PouType - FunctionBlock - - - - - FB_EncErrorFFO - 27936 - - stMotionStage - ST_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 + ERROR_WRITE_FAULT + TcEventEntry + 192 + 2496 - .nLowErrorId - 17408 + .uuidEventClass.Data1 + 487345068 - .nHighErrorId - 17663 + .uuidEventClass.Data2 + 60659 - .sDesc - Encoder error + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_WRITE_FAULT + + + .eSeverity + TcEventSeverity.Error - - - PouType - FunctionBlock - - - - - FB_PositionStateBase_WithPMPS - 669952 - FB_PositionStateBase - - fbArbiter - FB_Arbiter - 32 - 256000 - - - ItemType - InOut - - - - - fbFFHWO - FB_HardwareFFOutput - 32 - 256032 - - - ItemType - InOut - - - - - sPmpsDeviceName - STRING(80) - 648 - 256064 - - - ItemType - Input - - - - sTransitionKey - STRING(80) - 648 - 256712 - - - ItemType - Input - - + ERROR_READ_FAULT + TcEventEntry + 192 + 2688 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_READ_FAULT + + + .eSeverity + TcEventSeverity.Error + + - bArbiterEnabled - BOOL - 8 - 257360 + ERROR_GEN_FAILURE + TcEventEntry + 192 + 2880 - true - - - - ItemType - Input - - - pytmc - - pv: PMPS:ARB:ENABLE - io: io - - - + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_GEN_FAILURE + + + .eSeverity + TcEventSeverity.Error + + - tArbiterTimeout - TIME - 32 - 257376 + ERROR_NOT_SUPPORTED + TcEventEntry + 192 + 3072 - T#1s + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_NOT_SUPPORTED + + + .eSeverity + TcEventSeverity.Error + - - - ItemType - Input - - - bMoveOnArbiterTimeout - BOOL - 8 - 257408 + ERROR_REM_NOT_LIST + TcEventEntry + 192 + 3264 - true + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_REM_NOT_LIST + + + .eSeverity + TcEventSeverity.Error + - - - ItemType - Input - - - fStateBoundaryDeadband - LREAL - 64 - 257472 + ERROR_DUP_NAME + TcEventEntry + 192 + 3456 - 0 + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_DUP_NAME + + + .eSeverity + TcEventSeverity.Error + - - - ItemType - Input - - - bBPOKAutoReset - BOOL - 8 - 257536 + ERROR_BAD_NETPATH + TcEventEntry + 192 + 3648 - false + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_BAD_NETPATH + + + .eSeverity + TcEventSeverity.Error + - - - ItemType - Input - - - - - fbStatePMPS - FB_PositionStatePMPS - 384384 - 257600 - - - pytmc - pv: PMPS - - - - - fbEncErrFFO - FB_EncErrorFFO - 27936 - 641984 - - - Exec - - - PMPSHandler - - - - PouType - FunctionBlock - - - obsolete - Use FB_PositionStatePMPS1D instead - - - - - ENUM_Si_B4C_Coating_States - 16 - INT - - Unknown - 0 - - - Si - 1 - - - B4C - 2 - - - - qualified only - - - generate_implicit_init_function - - - - - DUT_PositionState - 3712 - ST_PositionState - - - obsolete - DUT_PositionState has been renamed to ST_PositionState - - - - - 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 - 679424 - FB_PositionStateBase_WithPMPS - - enumSet - ENUM_Si_B4C_Coating_States - 16 - 669952 - - - ItemType - Input - - - pytmc - - pv: SET - io: io - - - - - - stCoating1 - DUT_PositionState - 3712 - 670016 - - - ItemType - Input - - - - - stCoating2 - DUT_PositionState - 3712 - 673728 - - - ItemType - Input - - - sCoating1Name - STRING(80) - 648 - 677440 - - - ItemType - Input - - + ERROR_NETWORK_BUSY + TcEventEntry + 192 + 3840 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_NETWORK_BUSY + + + .eSeverity + TcEventSeverity.Error + + - sCoating2Name - STRING(80) - 648 - 678088 - - - ItemType - Input - - + ERROR_DEV_NOT_EXIST + TcEventEntry + 192 + 4032 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_DEV_NOT_EXIST + + + .eSeverity + TcEventSeverity.Error + + - enumGet - ENUM_Si_B4C_Coating_States - 16 - 678736 - - - ItemType - Output - - - pytmc - - pv: GET; - io: i; - - - + ERROR_FILE_EXISTS + TcEventEntry + 192 + 4224 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_FILE_EXISTS + + + .eSeverity + TcEventSeverity.Error + + - fbStateDefaults - FB_PositionState_Defaults - 320 - 678784 + ERROR_CANNOT_MAKE + TcEventEntry + 192 + 4416 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_CANNOT_MAKE + + + .eSeverity + TcEventSeverity.Error + + - bCoatingInit - BOOL - 8 - 679104 + ERROR_ALREADY_ASSIGNED + TcEventEntry + 192 + 4608 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_ALREADY_ASSIGNED + + + .eSeverity + TcEventSeverity.Error + + - fDelta - LREAL - These are the default values - Set values on states prior to passing in for non-default values - Units in Mircons - 64 - 679168 + ERROR_INVALID_PASSWORD + TcEventEntry + 192 + 4800 - 100 + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_INVALID_PASSWORD + + + .eSeverity + TcEventSeverity.Error + - fVelocity - LREAL - 64 - 679232 + ERROR_INVALID_PARAMETER + TcEventEntry + 192 + 4992 - 150 + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_INVALID_PARAMETER + + + .eSeverity + TcEventSeverity.Error + - fAccel - LREAL - 64 - 679296 + ERROR_OPEN_FAILED + TcEventEntry + 192 + 5184 - 200 + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_OPEN_FAILED + + + .eSeverity + TcEventSeverity.Error + - fDecel - LREAL - 64 - 679360 + ERROR_ALREADY_EXISTS + TcEventEntry + 192 + 5376 - 200 + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_ALREADY_EXISTS + + + .eSeverity + TcEventSeverity.Error + - - - PouType - FunctionBlock - - - - - ST_BeamParams_IO - 1760 - nTran - REAL - Requested pre-optic attenuation - 1 is full transmission - 32 - 0 + ERROR_INVALID_FLAG_NUMBER + TcEventEntry + 192 + 5568 - 0 - 1 - 1 + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_INVALID_FLAG_NUMBER + + + .eSeverity + TcEventSeverity.Error + - - - plcAttribute_pytmc - pv: Attenuation - io: i - - - nRate - UDINT - Pulse-rate - 32 - 32 + WAIT_TIMEOUT + TcEventEntry + 192 + 5760 - 120 + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.WAIT_TIMEOUT + + + .eSeverity + TcEventSeverity.Error + - - - plcAttribute_pytmc - pv: Rate - io: i - - - neVRange - DWORD - Photon energy ranges - 32 - 64 + ERROR_NO_MORE_ITEMS + TcEventEntry + 192 + 5952 - 4294967295 + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_NO_MORE_ITEMS + + + .eSeverity + TcEventSeverity.Error + - - - 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 + ERROR_INVALID_ADDRESS + TcEventEntry + 192 + 6144 - 0 - 65535 - 0 + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_INVALID_ADDRESS + + + .eSeverity + TcEventSeverity.Error + - nBeamClass - USINT - 8 - 144 + ERROR_ARITHMETIC_OVERFLOW + TcEventEntry + 192 + 6336 - 0 - 0 + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_ARITHMETIC_OVERFLOW + + + .eSeverity + TcEventSeverity.Error + - 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 + ERROR_OPERATION_ABORTED + TcEventEntry + 192 + 6528 - SubSysToArbiter + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_OPERATION_ABORTED + + + .eSeverity + TcEventSeverity.Error + - - - 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 - - + ERROR_IO_INCOMPLETE + TcEventEntry + 192 + 6720 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_IO_INCOMPLETE + + + .eSeverity + TcEventSeverity.Error + + - q_stRequestedBP - ST_BeamParams_IO - 1760 - 2560 - - - TcLinkTo - TIIB[PMPS_PRE]^IO Outputs^RequestedBP - - - TcAddressType - Output - - + ERROR_IO_PENDING + TcEventEntry + 192 + 6912 + + + .uuidEventClass.Data1 + 487345068 + + + .uuidEventClass.Data2 + 60659 + + + .uuidEventClass.Data3 + 20275 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 32 + + + .uuidEventClass.Data4[2] + 161 + + + .uuidEventClass.Data4[3] + 46 + + + .uuidEventClass.Data4[4] + 119 + + + .uuidEventClass.Data4[5] + 171 + + + .uuidEventClass.Data4[6] + 99 + + + .uuidEventClass.Data4[7] + 135 + + + .nEventID + E_Win32EventClass.ERROR_IO_PENDING + + + .eSeverity + TcEventSeverity.Error + + + + + TcTypeSystem + + + signature_flag + 33554432 + + + checksuperglobal + + + show + + + no-analysis + + + TcEventClass + Win32EventClass + + + + + LCLSGeneralEventClass + Log event + + Critical + Critical + Critical + + + Error + Error + Error + + + Warning + Warning + Warning + + + Info + Info + Info + + + Verbose + Verbose + Verbose + + + + + + + + + + + + + ST_LCLSGeneralEventClass + 960 - xTxPDO_toggle - BIT - 1 - 4320 - - - pytmc - pv: TxPDO_toggle - io: i - - - TcLinkTo - TIIB[PMPS_PRE]^SYNC Inputs^TxPDO toggle - - - TcAddressType - Input - - + Critical + TcEventEntry + 192 + 0 + + + .uuidEventClass.Data1 + 2546958919 + + + .uuidEventClass.Data2 + 46492 + + + .uuidEventClass.Data3 + 20012 + + + .uuidEventClass.Data4[0] + 180 + + + .uuidEventClass.Data4[1] + 176 + + + .uuidEventClass.Data4[2] + 115 + + + .uuidEventClass.Data4[3] + 80 + + + .uuidEventClass.Data4[4] + 208 + + + .uuidEventClass.Data4[5] + 71 + + + .uuidEventClass.Data4[6] + 20 + + + .uuidEventClass.Data4[7] + 87 + + + .nEventID + E_LCLSGeneralEventClass.Critical + + + .eSeverity + TcEventSeverity.Critical + + - xTxPDO_state - BIT - 1 - 4321 - - - pytmc - pv: TxPDO_state - io: i - - - TcLinkTo - TIIB[PMPS_PRE]^SYNC Inputs^TxPDO state - - - TcAddressType - Input - - + Error + TcEventEntry + 192 + 192 + + + .uuidEventClass.Data1 + 2546958919 + + + .uuidEventClass.Data2 + 46492 + + + .uuidEventClass.Data3 + 20012 + + + .uuidEventClass.Data4[0] + 180 + + + .uuidEventClass.Data4[1] + 176 + + + .uuidEventClass.Data4[2] + 115 + + + .uuidEventClass.Data4[3] + 80 + + + .uuidEventClass.Data4[4] + 208 + + + .uuidEventClass.Data4[5] + 71 + + + .uuidEventClass.Data4[6] + 20 + + + .uuidEventClass.Data4[7] + 87 + + + .nEventID + E_LCLSGeneralEventClass.Error + + + .eSeverity + TcEventSeverity.Error + + - ffPMPSIO_Disconnect - FB_FastFault - Fast faults - 25088 - 4352 + Warning + TcEventEntry + 192 + 384 - .i_Desc - Arbiter network interface disconnected or not OP + .uuidEventClass.Data1 + 2546958919 + + + .uuidEventClass.Data2 + 46492 + + + .uuidEventClass.Data3 + 20012 + + + .uuidEventClass.Data4[0] + 180 + + + .uuidEventClass.Data4[1] + 176 + + + .uuidEventClass.Data4[2] + 115 + + + .uuidEventClass.Data4[3] + 80 + + + .uuidEventClass.Data4[4] + 208 + + + .uuidEventClass.Data4[5] + 71 + + + .uuidEventClass.Data4[6] + 20 + + + .uuidEventClass.Data4[7] + 87 - .i_DevName - SubSysToArbiter + .nEventID + E_LCLSGeneralEventClass.Warning + + + .eSeverity + TcEventSeverity.Warning - 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 + Info + TcEventEntry + 192 + 576 - 0 + + .uuidEventClass.Data1 + 2546958919 + + + .uuidEventClass.Data2 + 46492 + + + .uuidEventClass.Data3 + 20012 + + + .uuidEventClass.Data4[0] + 180 + + + .uuidEventClass.Data4[1] + 176 + + + .uuidEventClass.Data4[2] + 115 + + + .uuidEventClass.Data4[3] + 80 + + + .uuidEventClass.Data4[4] + 208 + + + .uuidEventClass.Data4[5] + 71 + + + .uuidEventClass.Data4[6] + 20 + + + .uuidEventClass.Data4[7] + 87 + + + .nEventID + E_LCLSGeneralEventClass.Info + + + .eSeverity + TcEventSeverity.Info + - - - pytmc - pv: ActiveCohort - io: i - - - - - fbVetoArb - FB_VetoArbiter - 27168 - 29504 - - - fbLog - FB_LogMessage - 81984 - 56704 - __FB_SUBSYSTOARBITER_IO__CHECKREQUEST__XFIRSTTIME - BOOL - 8 - 138688 + Verbose + TcEventEntry + 192 + 768 - , - + + .uuidEventClass.Data1 + 2546958919 + + + .uuidEventClass.Data2 + 46492 + + + .uuidEventClass.Data3 + 20012 + + + .uuidEventClass.Data4[0] + 180 + + + .uuidEventClass.Data4[1] + 176 + + + .uuidEventClass.Data4[2] + 115 + + + .uuidEventClass.Data4[3] + 80 + + + .uuidEventClass.Data4[4] + 208 + + + .uuidEventClass.Data4[5] + 71 + + + .uuidEventClass.Data4[6] + 20 + + + .uuidEventClass.Data4[7] + 87 + + + .nEventID + E_LCLSGeneralEventClass.Verbose + + + .eSeverity + TcEventSeverity.Verbose + - - __FB_SUBSYSTOARBITER_IO__CHECKREQUEST__NID - DWORD - 32 - 138720 - - - CheckRequest - BOOL - 8 - - nReqID - DWORD - 32 - - - xFirstTime - BOOL - 8 - - - uselocation - __FB_SUBSYSTOARBITER_IO__CHECKREQUEST__XFIRSTTIME - - - - - nId - DWORD - 32 - - - uselocation - __FB_SUBSYSTOARBITER_IO__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 + TcTypeSystem + + + signature_flag + 33554432 + + + checksuperglobal + + + show + + + no-analysis + + + TcEventClass + LCLSGeneralEventClass - FB_KBO_Coating_States - 679680 - FB_PositionStateBase_WithPMPS - - enumSet - ENUM_Si_B4C_Coating_States - 16 - 669952 - - - ItemType - Input - - - pytmc - - pv: SET - io: io - - - - - - stCoating1 - DUT_PositionState - 3712 - 670016 - - - ItemType - Input - - - - - stCoating2 - DUT_PositionState - 3712 - 673728 - - - ItemType - Input - - - + TcIPCDiagEventClass + TcIPCDiagEventClass + + Fail + Fail - unspecified error. + Error + + + InvalidIndex + Invalid index. + Error + + + InvalidAccess + Invalid access. + Error + + + BufferTooSmall + Buffer is too small. + Error + + + TypeNotSupported + Type is not supported. + Error + + + OutOfMemory + Out of memory. + Error + + + NoDataAvailable + No data available. + Error + + + InvalidData + Invalid data. + Error + + + InvalidArgument + Invalid argument. + Error + + + OutOfRange + Value is out of range. + Error + + + ServerBusy + Server is busy. + Error + + + NotInit + MDP API is not initialized. + Error + + + NotImplemented + Not implemented. + Error + + + NotSupported + Not supported. + Error + + + + + + + ST_TcIPCDiagEventClass + 2688 - bVerticalCoating - BOOL - 8 - 677440 + Fail + TcEventEntry + 192 + 0 - true + + .uuidEventClass.Data1 + 3432157575 + + + .uuidEventClass.Data2 + 14704 + + + .uuidEventClass.Data3 + 19700 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 57 + + + .uuidEventClass.Data4[2] + 148 + + + .uuidEventClass.Data4[3] + 107 + + + .uuidEventClass.Data4[4] + 236 + + + .uuidEventClass.Data4[5] + 18 + + + .uuidEventClass.Data4[6] + 66 + + + .uuidEventClass.Data4[7] + 45 + + + .nEventID + E_TcIPCDiagEventClass.Fail + + + .eSeverity + TcEventSeverity.Error + - - - ItemType - Input - - - sCoating1Name - STRING(80) - 648 - 677448 - - - ItemType - Input - - + InvalidIndex + TcEventEntry + 192 + 192 + + + .uuidEventClass.Data1 + 3432157575 + + + .uuidEventClass.Data2 + 14704 + + + .uuidEventClass.Data3 + 19700 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 57 + + + .uuidEventClass.Data4[2] + 148 + + + .uuidEventClass.Data4[3] + 107 + + + .uuidEventClass.Data4[4] + 236 + + + .uuidEventClass.Data4[5] + 18 + + + .uuidEventClass.Data4[6] + 66 + + + .uuidEventClass.Data4[7] + 45 + + + .nEventID + E_TcIPCDiagEventClass.InvalidIndex + + + .eSeverity + TcEventSeverity.Error + + - sCoating2Name - STRING(80) - 648 - 678096 - - - ItemType - Input - - + InvalidAccess + TcEventEntry + 192 + 384 + + + .uuidEventClass.Data1 + 3432157575 + + + .uuidEventClass.Data2 + 14704 + + + .uuidEventClass.Data3 + 19700 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 57 + + + .uuidEventClass.Data4[2] + 148 + + + .uuidEventClass.Data4[3] + 107 + + + .uuidEventClass.Data4[4] + 236 + + + .uuidEventClass.Data4[5] + 18 + + + .uuidEventClass.Data4[6] + 66 + + + .uuidEventClass.Data4[7] + 45 + + + .nEventID + E_TcIPCDiagEventClass.InvalidAccess + + + .eSeverity + TcEventSeverity.Error + + - enumGet - ENUM_Si_B4C_Coating_States - 16 - 678752 - - - ItemType - Output - - - pytmc - - pv: GET; - io: i; - - - + BufferTooSmall + TcEventEntry + 192 + 576 + + + .uuidEventClass.Data1 + 3432157575 + + + .uuidEventClass.Data2 + 14704 + + + .uuidEventClass.Data3 + 19700 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 57 + + + .uuidEventClass.Data4[2] + 148 + + + .uuidEventClass.Data4[3] + 107 + + + .uuidEventClass.Data4[4] + 236 + + + .uuidEventClass.Data4[5] + 18 + + + .uuidEventClass.Data4[6] + 66 + + + .uuidEventClass.Data4[7] + 45 + + + .nEventID + E_TcIPCDiagEventClass.BufferTooSmall + + + .eSeverity + TcEventSeverity.Error + + - fbStateDefaults - FB_PositionState_Defaults - 320 - 678784 + TypeNotSupported + TcEventEntry + 192 + 768 + + + .uuidEventClass.Data1 + 3432157575 + + + .uuidEventClass.Data2 + 14704 + + + .uuidEventClass.Data3 + 19700 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 57 + + + .uuidEventClass.Data4[2] + 148 + + + .uuidEventClass.Data4[3] + 107 + + + .uuidEventClass.Data4[4] + 236 + + + .uuidEventClass.Data4[5] + 18 + + + .uuidEventClass.Data4[6] + 66 + + + .uuidEventClass.Data4[7] + 45 + + + .nEventID + E_TcIPCDiagEventClass.TypeNotSupported + + + .eSeverity + TcEventSeverity.Error + + - bCoatingInit - BOOL - 8 - 679104 + OutOfMemory + TcEventEntry + 192 + 960 + + + .uuidEventClass.Data1 + 3432157575 + + + .uuidEventClass.Data2 + 14704 + + + .uuidEventClass.Data3 + 19700 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 57 + + + .uuidEventClass.Data4[2] + 148 + + + .uuidEventClass.Data4[3] + 107 + + + .uuidEventClass.Data4[4] + 236 + + + .uuidEventClass.Data4[5] + 18 + + + .uuidEventClass.Data4[6] + 66 + + + .uuidEventClass.Data4[7] + 45 + + + .nEventID + E_TcIPCDiagEventClass.OutOfMemory + + + .eSeverity + TcEventSeverity.Error + + - fCoatingAccel - LREAL - 64 - 679168 + NoDataAvailable + TcEventEntry + 192 + 1152 - 10 + + .uuidEventClass.Data1 + 3432157575 + + + .uuidEventClass.Data2 + 14704 + + + .uuidEventClass.Data3 + 19700 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 57 + + + .uuidEventClass.Data4[2] + 148 + + + .uuidEventClass.Data4[3] + 107 + + + .uuidEventClass.Data4[4] + 236 + + + .uuidEventClass.Data4[5] + 18 + + + .uuidEventClass.Data4[6] + 66 + + + .uuidEventClass.Data4[7] + 45 + + + .nEventID + E_TcIPCDiagEventClass.NoDataAvailable + + + .eSeverity + TcEventSeverity.Error + - fCoatingDecel - LREAL - 64 - 679232 + InvalidData + TcEventEntry + 192 + 1344 - 10 + + .uuidEventClass.Data1 + 3432157575 + + + .uuidEventClass.Data2 + 14704 + + + .uuidEventClass.Data3 + 19700 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 57 + + + .uuidEventClass.Data4[2] + 148 + + + .uuidEventClass.Data4[3] + 107 + + + .uuidEventClass.Data4[4] + 236 + + + .uuidEventClass.Data4[5] + 18 + + + .uuidEventClass.Data4[6] + 66 + + + .uuidEventClass.Data4[7] + 45 + + + .nEventID + E_TcIPCDiagEventClass.InvalidData + + + .eSeverity + TcEventSeverity.Error + - fDelta - LREAL - These are the default values - Set values on states prior to passing in for non-default values - Units in Millimeters - 64 - 679296 + InvalidArgument + TcEventEntry + 192 + 1536 - 0.1 + + .uuidEventClass.Data1 + 3432157575 + + + .uuidEventClass.Data2 + 14704 + + + .uuidEventClass.Data3 + 19700 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 57 + + + .uuidEventClass.Data4[2] + 148 + + + .uuidEventClass.Data4[3] + 107 + + + .uuidEventClass.Data4[4] + 236 + + + .uuidEventClass.Data4[5] + 18 + + + .uuidEventClass.Data4[6] + 66 + + + .uuidEventClass.Data4[7] + 45 + + + .nEventID + E_TcIPCDiagEventClass.InvalidArgument + + + .eSeverity + TcEventSeverity.Error + - fVelocity - LREAL - 64 - 679360 + OutOfRange + TcEventEntry + 192 + 1728 - 0.15 + + .uuidEventClass.Data1 + 3432157575 + + + .uuidEventClass.Data2 + 14704 + + + .uuidEventClass.Data3 + 19700 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 57 + + + .uuidEventClass.Data4[2] + 148 + + + .uuidEventClass.Data4[3] + 107 + + + .uuidEventClass.Data4[4] + 236 + + + .uuidEventClass.Data4[5] + 18 + + + .uuidEventClass.Data4[6] + 66 + + + .uuidEventClass.Data4[7] + 45 + + + .nEventID + E_TcIPCDiagEventClass.OutOfRange + + + .eSeverity + TcEventSeverity.Error + - fYAccel - LREAL - 64 - 679424 + ServerBusy + TcEventEntry + 192 + 1920 - 10 + + .uuidEventClass.Data1 + 3432157575 + + + .uuidEventClass.Data2 + 14704 + + + .uuidEventClass.Data3 + 19700 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 57 + + + .uuidEventClass.Data4[2] + 148 + + + .uuidEventClass.Data4[3] + 107 + + + .uuidEventClass.Data4[4] + 236 + + + .uuidEventClass.Data4[5] + 18 + + + .uuidEventClass.Data4[6] + 66 + + + .uuidEventClass.Data4[7] + 45 + + + .nEventID + E_TcIPCDiagEventClass.ServerBusy + + + .eSeverity + TcEventSeverity.Error + - fYDecel - LREAL - 64 - 679488 + NotInit + TcEventEntry + 192 + 2112 - 10 + + .uuidEventClass.Data1 + 3432157575 + + + .uuidEventClass.Data2 + 14704 + + + .uuidEventClass.Data3 + 19700 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 57 + + + .uuidEventClass.Data4[2] + 148 + + + .uuidEventClass.Data4[3] + 107 + + + .uuidEventClass.Data4[4] + 236 + + + .uuidEventClass.Data4[5] + 18 + + + .uuidEventClass.Data4[6] + 66 + + + .uuidEventClass.Data4[7] + 45 + + + .nEventID + E_TcIPCDiagEventClass.NotInit + + + .eSeverity + TcEventSeverity.Error + - fXAccel - LREAL - 64 - 679552 + NotImplemented + TcEventEntry + 192 + 2304 - 100 + + .uuidEventClass.Data1 + 3432157575 + + + .uuidEventClass.Data2 + 14704 + + + .uuidEventClass.Data3 + 19700 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 57 + + + .uuidEventClass.Data4[2] + 148 + + + .uuidEventClass.Data4[3] + 107 + + + .uuidEventClass.Data4[4] + 236 + + + .uuidEventClass.Data4[5] + 18 + + + .uuidEventClass.Data4[6] + 66 + + + .uuidEventClass.Data4[7] + 45 + + + .nEventID + E_TcIPCDiagEventClass.NotImplemented + + + .eSeverity + TcEventSeverity.Error + - fXDecel - LREAL - 64 - 679616 + NotSupported + TcEventEntry + 192 + 2496 - 100 + + .uuidEventClass.Data1 + 3432157575 + + + .uuidEventClass.Data2 + 14704 + + + .uuidEventClass.Data3 + 19700 + + + .uuidEventClass.Data4[0] + 143 + + + .uuidEventClass.Data4[1] + 57 + + + .uuidEventClass.Data4[2] + 148 + + + .uuidEventClass.Data4[3] + 107 + + + .uuidEventClass.Data4[4] + 236 + + + .uuidEventClass.Data4[5] + 18 + + + .uuidEventClass.Data4[6] + 66 + + + .uuidEventClass.Data4[7] + 45 + + + .nEventID + E_TcIPCDiagEventClass.NotSupported + + + .eSeverity + TcEventSeverity.Error + - PouType - FunctionBlock + TcTypeSystem + + + signature_flag + 33554432 + + + checksuperglobal + + + show + + + no-analysis + + + TcEventClass + TcIPCDiagEventClass - FB_MirrorTwoCoatingProtection - 192896 - - 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 - - - - - sUpperCoatingType - STRING(80) - Type of coating - 648 - 800 - - - - - - ItemType - Input - - - - - nLowerCoatingBoundary - UDINT - Encoder count for lower boundary - 32 - 1472 - - - ItemType - Input - - - - - sLowerCoatingType - STRING(80) - Type of coating - 648 - 1504 - - - - - - ItemType - Input - - - - - bAutoClear - BOOL - Auto-clear these fast faults - 8 - 2152 - - true - - - - ItemType - Input - - - - - bReadPmpsDb - BOOL - Trigger a re-read of the JSON Beam Parameters - 8 - 2160 - - - ItemType - Input - - - + TcIPCDiagPlcApiEventClass + TcIPCDiagPlcApiEventClass + + InvalidModList + Invalid module list (initialization of IPCDiag required). + Error + + + UnavailableModule + Module of parameter is unavailable (not existing). + Error + + + UnavailableParameter + Parameter is unavailable (not existing). + Error + + + NoValidData + No valid parameter value available (reading is pending or failed). + Error + + + InvalidBuffer + Allocated buffer is invalid (pointer is zero or buffer size is too small). + Error + + + InvalidIndex + Allocated index is invalid. + Error + + + BadParameterValues + Error that some of the requested parameter values returned an error (use GetParameterByIdx). + Error + + + BadParameterValues_Info + Info that some of the requested parameter values returned an error (use GetParameterByIdx). + Info + + + + + + + ST_TcIPCDiagPlcApiEventClass + 1536 - bUsePmpsDb - BOOL - Set TRUE to lookup Beam Parameters via DB. - 8 - 2168 + InvalidModList + TcEventEntry + 192 + 0 - false + + .uuidEventClass.Data1 + 539127628 + + + .uuidEventClass.Data2 + 21690 + + + .uuidEventClass.Data3 + 18335 + + + .uuidEventClass.Data4[0] + 186 + + + .uuidEventClass.Data4[1] + 72 + + + .uuidEventClass.Data4[2] + 251 + + + .uuidEventClass.Data4[3] + 229 + + + .uuidEventClass.Data4[4] + 45 + + + .uuidEventClass.Data4[5] + 14 + + + .uuidEventClass.Data4[6] + 156 + + + .uuidEventClass.Data4[7] + 213 + + + .nEventID + E_TcIPCDiagPlcApiEventClass.InvalidModList + + + .eSeverity + TcEventSeverity.Error + - - - ItemType - Input - - - nUpperCoatingBitmask - DWORD - 32 - 2176 + UnavailableModule + TcEventEntry + 192 + 192 - 0 + + .uuidEventClass.Data1 + 539127628 + + + .uuidEventClass.Data2 + 21690 + + + .uuidEventClass.Data3 + 18335 + + + .uuidEventClass.Data4[0] + 186 + + + .uuidEventClass.Data4[1] + 72 + + + .uuidEventClass.Data4[2] + 251 + + + .uuidEventClass.Data4[3] + 229 + + + .uuidEventClass.Data4[4] + 45 + + + .uuidEventClass.Data4[5] + 14 + + + .uuidEventClass.Data4[6] + 156 + + + .uuidEventClass.Data4[7] + 213 + + + .nEventID + E_TcIPCDiagPlcApiEventClass.UnavailableModule + + + .eSeverity + TcEventSeverity.Error + - - - ItemType - Input - - - nLowerCoatingBitMask - DWORD - 32 - 2208 + UnavailableParameter + TcEventEntry + 192 + 384 - 0 + + .uuidEventClass.Data1 + 539127628 + + + .uuidEventClass.Data2 + 21690 + + + .uuidEventClass.Data3 + 18335 + + + .uuidEventClass.Data4[0] + 186 + + + .uuidEventClass.Data4[1] + 72 + + + .uuidEventClass.Data4[2] + 251 + + + .uuidEventClass.Data4[3] + 229 + + + .uuidEventClass.Data4[4] + 45 + + + .uuidEventClass.Data4[5] + 14 + + + .uuidEventClass.Data4[6] + 156 + + + .uuidEventClass.Data4[7] + 213 + + + .nEventID + E_TcIPCDiagPlcApiEventClass.UnavailableParameter + + + .eSeverity + TcEventSeverity.Error + - - - ItemType - Input - - - FFO - FB_HardwareFFOutput - 32 - 2240 - - - ItemType - InOut - - - - - ffUpperCoating - FB_FastFault - 25088 - 2272 + NoValidData + TcEventEntry + 192 + 576 - .i_xAutoReset - false + .uuidEventClass.Data1 + 539127628 - .i_TypeCode - 1025 + .uuidEventClass.Data2 + 21690 - .i_Desc - mirror coating incompatible with beam photon energy + .uuidEventClass.Data3 + 18335 + + + .uuidEventClass.Data4[0] + 186 + + + .uuidEventClass.Data4[1] + 72 + + + .uuidEventClass.Data4[2] + 251 + + + .uuidEventClass.Data4[3] + 229 + + + .uuidEventClass.Data4[4] + 45 + + + .uuidEventClass.Data4[5] + 14 + + + .uuidEventClass.Data4[6] + 156 + + + .uuidEventClass.Data4[7] + 213 + + + .nEventID + E_TcIPCDiagPlcApiEventClass.NoValidData + + + .eSeverity + TcEventSeverity.Error - ffLowerCoating - FB_FastFault - 25088 - 27360 + InvalidBuffer + TcEventEntry + 192 + 768 - .i_xAutoReset - false + .uuidEventClass.Data1 + 539127628 - .i_TypeCode - 1025 + .uuidEventClass.Data2 + 21690 - .i_Desc - mirror coating incompatible with beam photon energy + .uuidEventClass.Data3 + 18335 + + + .uuidEventClass.Data4[0] + 186 + + + .uuidEventClass.Data4[1] + 72 + + + .uuidEventClass.Data4[2] + 251 + + + .uuidEventClass.Data4[3] + 229 + + + .uuidEventClass.Data4[4] + 45 + + + .uuidEventClass.Data4[5] + 14 + + + .uuidEventClass.Data4[6] + 156 + + + .uuidEventClass.Data4[7] + 213 + + + .nEventID + E_TcIPCDiagPlcApiEventClass.InvalidBuffer + + + .eSeverity + TcEventSeverity.Error - ffBeamParamsNotLoaded - FB_FastFault - 25088 - 52448 + InvalidIndex + TcEventEntry + 192 + 960 - .i_xAutoReset - true + .uuidEventClass.Data1 + 539127628 - .i_TypeCode - 1160 + .uuidEventClass.Data2 + 21690 - .i_Desc - mirror coating beam parameters not loaded + .uuidEventClass.Data3 + 18335 + + + .uuidEventClass.Data4[0] + 186 + + + .uuidEventClass.Data4[1] + 72 + + + .uuidEventClass.Data4[2] + 251 + + + .uuidEventClass.Data4[3] + 229 + + + .uuidEventClass.Data4[4] + 45 + + + .uuidEventClass.Data4[5] + 14 + + + .uuidEventClass.Data4[6] + 156 + + + .uuidEventClass.Data4[7] + 213 + + + .nEventID + E_TcIPCDiagPlcApiEventClass.InvalidIndex + + + .eSeverity + TcEventSeverity.Error - aDbStateParams - ST_DbStateParams - - 0 - 2 - - 5120 - 77536 - - - fbGetCoatingBPs - FB_JsonDocToSafeBP - 109440 - 82688 - - - ftReadJsonDocDone - F_TRIG - 64 - 192128 - - - bBPsLoaded - BOOL - 8 - 192192 + BadParameterValues + TcEventEntry + 192 + 1152 - false + + .uuidEventClass.Data1 + 539127628 + + + .uuidEventClass.Data2 + 21690 + + + .uuidEventClass.Data3 + 18335 + + + .uuidEventClass.Data4[0] + 186 + + + .uuidEventClass.Data4[1] + 72 + + + .uuidEventClass.Data4[2] + 251 + + + .uuidEventClass.Data4[3] + 229 + + + .uuidEventClass.Data4[4] + 45 + + + .uuidEventClass.Data4[5] + 14 + + + .uuidEventClass.Data4[6] + 156 + + + .uuidEventClass.Data4[7] + 213 + + + .nEventID + E_TcIPCDiagPlcApiEventClass.BadParameterValues + + + .eSeverity + TcEventSeverity.Error + - i - INT - 16 - 192208 - - - sDevState - STRING(80) - 648 - 192224 + BadParameterValues_Info + TcEventEntry + 192 + 1344 - + + .uuidEventClass.Data1 + 539127628 + + + .uuidEventClass.Data2 + 21690 + + + .uuidEventClass.Data3 + 18335 + + + .uuidEventClass.Data4[0] + 186 + + + .uuidEventClass.Data4[1] + 72 + + + .uuidEventClass.Data4[2] + 251 + + + .uuidEventClass.Data4[3] + 229 + + + .uuidEventClass.Data4[4] + 45 + + + .uuidEventClass.Data4[5] + 14 + + + .uuidEventClass.Data4[6] + 156 + + + .uuidEventClass.Data4[7] + 213 + + + .nEventID + E_TcIPCDiagPlcApiEventClass.BadParameterValues_Info + + + .eSeverity + TcEventSeverity.Info + - - bInit - BOOL - 8 - 192872 - - PouType - FunctionBlock + TcTypeSystem + + + signature_flag + 33554432 + + + checksuperglobal + + + show + + + no-analysis + + + TcEventClass + TcIPCDiagPlcApiEventClass @@ -74344,7 +74344,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t 0 SerialIO Inputs 0 - 84869120 + 84213760 GVL_SerialIO.Serial_stComIn_M1K4 Better have your inputs and outputs! @@ -74360,14 +74360,14 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 665742336 + 665501504 1 SerialIO Outputs 0 - 84869120 + 84213760 GVL_SerialIO.Serial_stComOut_M1K4 192 @@ -74381,19 +74381,19 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 665742528 + 665501696 3 SerialIO Internal 0 - 84869120 + 84213760 P_Serial_Com.fbSerialLineControl_EL6001_M1K4 10432 SerialLineControl - 660975072 + 660721824 GVL_COM_Buffers.Serial_RXBuffer_M1K4 @@ -74405,7 +74405,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 663792640 + 663551744 GVL_COM_Buffers.Serial_TXBuffer_M1K4 @@ -74416,7 +74416,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 663795152 + 663554256 TwinCAT_SystemInfoVarList._AppInfo @@ -74430,7 +74430,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 665745024 + 665504192 TwinCAT_SystemInfoVarList._TaskPouOid_SerialIO @@ -74444,7 +74444,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 665750144 + 665509312 TwinCAT_SystemInfoVarList._TaskOid_SerialIO @@ -74458,7 +74458,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 665750176 + 665509344 TwinCAT_SystemInfoVarList.__SerialIO @@ -74479,20 +74479,20 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 665750336 + 665509504 19 PiezoDriver Internal 1 - 84869120 + 84213760 PiezoSerial.fbE621SerialDriver_M1K4 PI Serial 109632 FB_PI_E621_SerialDriver - 638744320 + 638815264 GVL_M1K4.M1K4_Pitch @@ -74526,7 +74526,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 663797696 + 663556800 TwinCAT_SystemInfoVarList._TaskPouOid_PiezoDriver @@ -74540,7 +74540,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 665750208 + 665509376 TwinCAT_SystemInfoVarList._TaskOid_PiezoDriver @@ -74554,7 +74554,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 665750240 + 665509408 TwinCAT_SystemInfoVarList.__PiezoDriver @@ -74575,47 +74575,14 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 665751040 + 665510208 32 PlcTask Inputs 2 - 84869120 - - Main.bDreamEnable1 - MR4K4 MR5K4 STO button - 8 - BOOL - - - TcLinkTo - TIIB[Term 109 (EL1004)]^Channel 1^Input - - - TcAddressType - Input - - - 630324240 - - - Main.bDreamEnable2 - 8 - BOOL - - - TcLinkTo - TIIB[Term 109 (EL1004)]^Channel 2^Input - - - TcAddressType - Input - - - 630324248 - + 84213760 lcls_twincat_optics.GVL_TestStructs.TestPitch_LimitSwitches.diEncCnt Raw encoder count @@ -74627,7 +74594,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 638696064 + 638760832 Main.M1.Axis.NcToPlc @@ -74639,7 +74606,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 638866816 + 638937792 Main.M1.bLimitForwardEnable @@ -74652,7 +74619,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 638874752 + 638945728 Main.M1.bLimitBackwardEnable @@ -74665,7 +74632,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 638874760 + 638945736 Main.M1.bHome @@ -74678,7 +74645,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 638874768 + 638945744 Main.M1.bHardwareEnable @@ -74701,7 +74668,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 638874784 + 638945760 Main.M1.nRawEncoderULINT @@ -74714,7 +74681,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 638874816 + 638945792 Main.M1.nRawEncoderUINT @@ -74727,7 +74694,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 638874880 + 638945856 Main.M1.nRawEncoderINT @@ -74740,7 +74707,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 638874896 + 638945872 Main.fbMotionStage_m1.fbDriveVirtual.MasterAxis.NcToPlc @@ -74752,7 +74719,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 638894144 + 638965120 Main.M2.Axis.NcToPlc @@ -74764,7 +74731,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 639191040 + 639262016 Main.M2.bLimitForwardEnable @@ -74777,7 +74744,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 639198976 + 639269952 Main.M2.bLimitBackwardEnable @@ -74790,7 +74757,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 639198984 + 639269960 Main.M2.bHome @@ -74803,7 +74770,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 639198992 + 639269968 Main.M2.bHardwareEnable @@ -74826,7 +74793,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 639199008 + 639269984 Main.M2.nRawEncoderULINT @@ -74839,7 +74806,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 639199040 + 639270016 Main.M2.nRawEncoderUINT @@ -74852,7 +74819,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 639199104 + 639270080 Main.M2.nRawEncoderINT @@ -74865,7 +74832,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 639199120 + 639270096 Main.fbMotionStage_m2.fbDriveVirtual.MasterAxis.NcToPlc @@ -74877,7 +74844,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 639218368 + 639289344 Main.M3.Axis.NcToPlc @@ -74889,7 +74856,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 639515264 + 639586240 Main.M3.bLimitForwardEnable @@ -74902,7 +74869,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 639523200 + 639594176 Main.M3.bLimitBackwardEnable @@ -74915,7 +74882,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 639523208 + 639594184 Main.M3.bHome @@ -74928,7 +74895,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 639523216 + 639594192 Main.M3.bHardwareEnable @@ -74951,260 +74918,10 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 639523232 - - - Main.M3.nRawEncoderULINT - Raw encoder IO for ULINT (Biss-C) - 64 - ULINT - - - TcAddressType - Input - - - 639523264 - - - Main.M3.nRawEncoderUINT - Raw encoder IO for UINT (Relative Encoders) - 16 - UINT - - - TcAddressType - Input - - - 639523328 - - - Main.M3.nRawEncoderINT - Raw encoder IO for INT (LVDT) - 16 - INT - - - TcAddressType - Input - - - 639523344 - - - Main.fbMotionStage_m3.fbDriveVirtual.MasterAxis.NcToPlc - 2048 - NCTOPLC_AXIS_REF - - - TcAddressType - Input - - - 639542592 - - - Main.M4.Axis.NcToPlc - 2048 - NCTOPLC_AXIS_REF - - - TcAddressType - Input - - - 639839488 - - - Main.M4.bLimitForwardEnable - NC Forward Limit Switch: TRUE if ok to move - 8 - BOOL - - - TcAddressType - Input - - - 639847424 - - - Main.M4.bLimitBackwardEnable - NC Backward Limit Switch: TRUE if ok to move - 8 - BOOL - - - TcAddressType - Input - - - 639847432 - - - Main.M4.bHome - NO Home Switch: TRUE if at home - 8 - BOOL - - - TcAddressType - Input - - - 639847440 - - - 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 - - - - TcAddressType - Input - - - 639847456 - - - Main.M4.nRawEncoderULINT - Raw encoder IO for ULINT (Biss-C) - 64 - ULINT - - - TcAddressType - Input - - - 639847488 - - - Main.M4.nRawEncoderUINT - Raw encoder IO for UINT (Relative Encoders) - 16 - UINT - - - TcAddressType - Input - - - 639847552 - - - Main.M4.nRawEncoderINT - Raw encoder IO for INT (LVDT) - 16 - INT - - - TcAddressType - Input - - - 639847568 - - - Main.fbMotionStage_m4.fbDriveVirtual.MasterAxis.NcToPlc - 2048 - NCTOPLC_AXIS_REF - - - TcAddressType - Input - - - 639866816 - - - Main.M5.Axis.NcToPlc - 2048 - NCTOPLC_AXIS_REF - - - TcAddressType - Input - - - 640163712 - - - Main.M5.bLimitForwardEnable - NC Forward Limit Switch: TRUE if ok to move - 8 - BOOL - - - TcAddressType - Input - - - 640171648 - - - Main.M5.bLimitBackwardEnable - NC Backward Limit Switch: TRUE if ok to move - 8 - BOOL - - - TcAddressType - Input - - - 640171656 - - - Main.M5.bHome - NO Home Switch: TRUE if at home - 8 - BOOL - - - TcAddressType - Input - - - 640171664 - - - 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 - - - - TcAddressType - Input - - - 640171680 + 639594208 - Main.M5.nRawEncoderULINT + Main.M3.nRawEncoderULINT Raw encoder IO for ULINT (Biss-C) 64 ULINT @@ -75214,10 +74931,10 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 640171712 + 639594240 - Main.M5.nRawEncoderUINT + Main.M3.nRawEncoderUINT Raw encoder IO for UINT (Relative Encoders) 16 UINT @@ -75227,10 +74944,10 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 640171776 + 639594304 - Main.M5.nRawEncoderINT + Main.M3.nRawEncoderINT Raw encoder IO for INT (LVDT) 16 INT @@ -75240,10 +74957,10 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 640171792 + 639594320 - Main.fbMotionStage_m5.fbDriveVirtual.MasterAxis.NcToPlc + Main.fbMotionStage_m3.fbDriveVirtual.MasterAxis.NcToPlc 2048 NCTOPLC_AXIS_REF @@ -75252,24 +74969,111 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 640191040 + 639613568 - PRG_MR4K4_KBO.fbCoolingPanel.fbFlow_1.iRaw - Connect this input to the terminal + Main.M4.Axis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 639910464 + + + Main.M4.bLimitForwardEnable + NC Forward Limit Switch: TRUE if ok to move + 8 + BOOL + + + TcAddressType + Input + + + 639918400 + + + Main.M4.bLimitBackwardEnable + NC Backward Limit Switch: TRUE if ok to move + 8 + BOOL + + + TcAddressType + Input + + + 639918408 + + + Main.M4.bHome + NO Home Switch: TRUE if at home + 8 + BOOL + + + TcAddressType + Input + + + 639918416 + + + 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 + + + + TcAddressType + Input + + + 639918432 + + + Main.M4.nRawEncoderULINT + Raw encoder IO for ULINT (Biss-C) + 64 + ULINT + + + TcAddressType + Input + + + 639918464 + + + Main.M4.nRawEncoderUINT + Raw encoder IO for UINT (Relative Encoders) 16 - INT + UINT TcAddressType Input - 640585696 + 639918528 - PRG_MR4K4_KBO.fbCoolingPanel.fbPress_1.iRaw - Connect this input to the terminal + Main.M4.nRawEncoderINT + Raw encoder IO for INT (LVDT) 16 INT @@ -75278,24 +75082,123 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 640586016 + 639918544 - PRG_MR5K4_KBO.fbCoolingPanel.fbFlow_1.iRaw - Connect this input to the terminal + Main.fbMotionStage_m4.fbDriveVirtual.MasterAxis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 639937792 + + + Main.M5.Axis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 640234688 + + + Main.M5.bLimitForwardEnable + NC Forward Limit Switch: TRUE if ok to move + 8 + BOOL + + + TcAddressType + Input + + + 640242624 + + + Main.M5.bLimitBackwardEnable + NC Backward Limit Switch: TRUE if ok to move + 8 + BOOL + + + TcAddressType + Input + + + 640242632 + + + Main.M5.bHome + NO Home Switch: TRUE if at home + 8 + BOOL + + + TcAddressType + Input + + + 640242640 + + + 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 + + + + TcAddressType + Input + + + 640242656 + + + Main.M5.nRawEncoderULINT + Raw encoder IO for ULINT (Biss-C) + 64 + ULINT + + + TcAddressType + Input + + + 640242688 + + + Main.M5.nRawEncoderUINT + Raw encoder IO for UINT (Relative Encoders) 16 - INT + UINT TcAddressType Input - 640586528 + 640242752 - PRG_MR5K4_KBO.fbCoolingPanel.fbPress_1.iRaw - Connect this input to the terminal + Main.M5.nRawEncoderINT + Raw encoder IO for INT (LVDT) 16 INT @@ -75304,7 +75207,19 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 640586848 + 640242768 + + + Main.fbMotionStage_m5.fbDriveVirtual.MasterAxis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 640262016 Main.M1K4.fbRunHOMS.bSTOEnable1 @@ -75317,7 +75232,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 640812000 + 640558752 Main.M1K4.fbRunHOMS.bSTOEnable2 @@ -75329,7 +75244,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 640812008 + 640558760 Main.M1K4.fbRunHOMS.stYupEnc @@ -75342,7 +75257,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 640812032 + 640558784 Main.M1K4.fbRunHOMS.stYdwnEnc @@ -75354,7 +75269,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 640812160 + 640558912 Main.M1K4.fbRunHOMS.stXupEnc @@ -75366,7 +75281,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 640812288 + 640559040 Main.M1K4.fbRunHOMS.stXdwnEnc @@ -75378,7 +75293,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 640812416 + 640559168 Main.M1K4.fbRunHOMS.fbAutoCoupleY.gantry_diff_limit.PEnc.Count @@ -75391,7 +75306,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 640812992 + 640559744 Main.M1K4.fbRunHOMS.fbAutoCoupleY.gantry_diff_limit.SEnc.Count @@ -75404,7 +75319,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 640813120 + 640559872 Main.M1K4.fbRunHOMS.fbAutoCoupleX.gantry_diff_limit.PEnc.Count @@ -75417,7 +75332,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 640822464 + 640569216 Main.M1K4.fbRunHOMS.fbAutoCoupleX.gantry_diff_limit.SEnc.Count @@ -75430,7 +75345,65 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 640822592 + 640569344 + + + Main.bDreamEnable1 + MR4K4 MR5K4 STO button + 8 + BOOL + + + TcLinkTo + TIIB[Term 109 (EL1004)]^Channel 1^Input + + + TcAddressType + Input + + + 642126944 + + + Main.bDreamEnable2 + 8 + BOOL + + + TcLinkTo + TIIB[Term 109 (EL1004)]^Channel 2^Input + + + TcAddressType + Input + + + 642126952 + + + Main.LAMPbSTOEnable1 + Emergency Stop for LAMP KBs (M2K4 and M3K4) + 8 + BOOL + + + TcAddressType + Input + + + 642126960 + + + Main.LAMPbSTOEnable2 + 8 + BOOL + + + TcAddressType + Input + + + 642126968 Main.M7.Axis.NcToPlc @@ -75442,7 +75415,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 642385792 + 642132544 Main.M7.bLimitForwardEnable @@ -75455,7 +75428,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 642393728 + 642140480 Main.M7.bLimitBackwardEnable @@ -75468,7 +75441,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 642393736 + 642140488 Main.M7.bHome @@ -75481,7 +75454,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 642393744 + 642140496 Main.M7.bHardwareEnable @@ -75504,7 +75477,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 642393760 + 642140512 Main.M7.nRawEncoderULINT @@ -75517,7 +75490,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 642393792 + 642140544 Main.M7.nRawEncoderUINT @@ -75530,7 +75503,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 642393856 + 642140608 Main.M7.nRawEncoderINT @@ -75543,7 +75516,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 642393872 + 642140624 Main.fbMotionStage_m7.fbDriveVirtual.MasterAxis.NcToPlc @@ -75555,7 +75528,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 642413120 + 642159872 Main.M8.Axis.NcToPlc @@ -75567,7 +75540,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 642710016 + 642456768 Main.M8.bLimitForwardEnable @@ -75580,7 +75553,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 642717952 + 642464704 Main.M8.bLimitBackwardEnable @@ -75593,7 +75566,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 642717960 + 642464712 Main.M8.bHome @@ -75606,7 +75579,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 642717968 + 642464720 Main.M8.bHardwareEnable @@ -75629,7 +75602,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 642717984 + 642464736 Main.M8.nRawEncoderULINT @@ -75642,7 +75615,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 642718016 + 642464768 Main.M8.nRawEncoderUINT @@ -75655,7 +75628,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 642718080 + 642464832 Main.M8.nRawEncoderINT @@ -75668,7 +75641,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 642718096 + 642464848 Main.fbMotionStage_m8.fbDriveVirtual.MasterAxis.NcToPlc @@ -75680,7 +75653,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 642737344 + 642484096 Main.M9.Axis.NcToPlc @@ -75692,7 +75665,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 643034240 + 642780992 Main.M9.bLimitForwardEnable @@ -75705,7 +75678,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 643042176 + 642788928 Main.M9.bLimitBackwardEnable @@ -75718,7 +75691,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 643042184 + 642788936 Main.M9.bHome @@ -75731,7 +75704,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 643042192 + 642788944 Main.M9.bHardwareEnable @@ -75754,7 +75727,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 643042208 + 642788960 Main.M9.nRawEncoderULINT @@ -75767,7 +75740,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 643042240 + 642788992 Main.M9.nRawEncoderUINT @@ -75780,7 +75753,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 643042304 + 642789056 Main.M9.nRawEncoderINT @@ -75793,7 +75766,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 643042320 + 642789072 Main.fbMotionStage_m9.fbDriveVirtual.MasterAxis.NcToPlc @@ -75805,7 +75778,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 643061568 + 642808320 Main.M10.Axis.NcToPlc @@ -75817,7 +75790,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 643358464 + 643105216 Main.M10.bLimitForwardEnable @@ -75830,7 +75803,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 643366400 + 643113152 Main.M10.bLimitBackwardEnable @@ -75843,7 +75816,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 643366408 + 643113160 Main.M10.bHome @@ -75856,7 +75829,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 643366416 + 643113168 Main.M10.bHardwareEnable @@ -75879,7 +75852,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 643366432 + 643113184 Main.M10.nRawEncoderULINT @@ -75892,7 +75865,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 643366464 + 643113216 Main.M10.nRawEncoderUINT @@ -75905,7 +75878,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 643366528 + 643113280 Main.M10.nRawEncoderINT @@ -75918,7 +75891,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 643366544 + 643113296 Main.fbMotionStage_m10.fbDriveVirtual.MasterAxis.NcToPlc @@ -75930,7 +75903,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 643385792 + 643132544 Main.M11.Axis.NcToPlc @@ -75942,7 +75915,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 643682688 + 643429440 Main.M11.bLimitForwardEnable @@ -75955,7 +75928,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 643690624 + 643437376 Main.M11.bLimitBackwardEnable @@ -75968,7 +75941,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 643690632 + 643437384 Main.M11.bHome @@ -75981,7 +75954,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 643690640 + 643437392 Main.M11.bHardwareEnable @@ -76004,7 +75977,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 643690656 + 643437408 Main.M11.nRawEncoderULINT @@ -76017,7 +75990,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 643690688 + 643437440 Main.M11.nRawEncoderUINT @@ -76030,7 +76003,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 643690752 + 643437504 Main.M11.nRawEncoderINT @@ -76043,7 +76016,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 643690768 + 643437520 Main.fbMotionStage_m11.fbDriveVirtual.MasterAxis.NcToPlc @@ -76055,7 +76028,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 643710016 + 643456768 Main.M12.Axis.NcToPlc @@ -76067,7 +76040,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 644006912 + 643753664 Main.M12.bLimitForwardEnable @@ -76080,7 +76053,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 644014848 + 643761600 Main.M12.bLimitBackwardEnable @@ -76093,7 +76066,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 644014856 + 643761608 Main.M12.bHome @@ -76106,7 +76079,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 644014864 + 643761616 Main.M12.bHardwareEnable @@ -76129,7 +76102,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 644014880 + 643761632 Main.M12.nRawEncoderULINT @@ -76142,7 +76115,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 644014912 + 643761664 Main.M12.nRawEncoderUINT @@ -76155,7 +76128,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 644014976 + 643761728 Main.M12.nRawEncoderINT @@ -76168,7 +76141,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 644014992 + 643761744 Main.fbMotionStage_m12.fbDriveVirtual.MasterAxis.NcToPlc @@ -76180,7 +76153,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 644034240 + 643780992 Main.M13.Axis.NcToPlc @@ -76192,7 +76165,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 644331136 + 644077888 Main.M13.bLimitForwardEnable @@ -76205,7 +76178,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 644339072 + 644085824 Main.M13.bLimitBackwardEnable @@ -76218,7 +76191,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 644339080 + 644085832 Main.M13.bHome @@ -76231,7 +76204,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 644339088 + 644085840 Main.M13.bHardwareEnable @@ -76254,7 +76227,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 644339104 + 644085856 Main.M13.nRawEncoderULINT @@ -76267,7 +76240,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 644339136 + 644085888 Main.M13.nRawEncoderUINT @@ -76280,7 +76253,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 644339200 + 644085952 Main.M13.nRawEncoderINT @@ -76293,7 +76266,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 644339216 + 644085968 Main.fbMotionStage_m13.fbDriveVirtual.MasterAxis.NcToPlc @@ -76305,7 +76278,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 644358464 + 644105216 Main.M14.Axis.NcToPlc @@ -76317,7 +76290,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 644655360 + 644402112 Main.M14.bLimitForwardEnable @@ -76330,7 +76303,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 644663296 + 644410048 Main.M14.bLimitBackwardEnable @@ -76343,7 +76316,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 644663304 + 644410056 Main.M14.bHome @@ -76356,7 +76329,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 644663312 + 644410064 Main.M14.bHardwareEnable @@ -76379,7 +76352,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 644663328 + 644410080 Main.M14.nRawEncoderULINT @@ -76392,7 +76365,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 644663360 + 644410112 Main.M14.nRawEncoderUINT @@ -76405,7 +76378,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 644663424 + 644410176 Main.M14.nRawEncoderINT @@ -76418,7 +76391,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 644663440 + 644410192 Main.fbMotionStage_m14.fbDriveVirtual.MasterAxis.NcToPlc @@ -76430,7 +76403,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 644682688 + 644429440 Main.M15.Axis.NcToPlc @@ -76442,7 +76415,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 644979584 + 644726336 Main.M15.bLimitForwardEnable @@ -76455,7 +76428,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 644987520 + 644734272 Main.M15.bLimitBackwardEnable @@ -76468,7 +76441,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 644987528 + 644734280 Main.M15.bHome @@ -76481,7 +76454,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 644987536 + 644734288 Main.M15.bHardwareEnable @@ -76504,7 +76477,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 644987552 + 644734304 Main.M15.nRawEncoderULINT @@ -76517,7 +76490,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 644987584 + 644734336 Main.M15.nRawEncoderUINT @@ -76530,7 +76503,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 644987648 + 644734400 Main.M15.nRawEncoderINT @@ -76543,7 +76516,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 644987664 + 644734416 Main.fbMotionStage_m15.fbDriveVirtual.MasterAxis.NcToPlc @@ -76555,7 +76528,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 645006912 + 644753664 Main.M16.Axis.NcToPlc @@ -76567,7 +76540,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 645303808 + 645050560 Main.M16.bLimitForwardEnable @@ -76580,7 +76553,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 645311744 + 645058496 Main.M16.bLimitBackwardEnable @@ -76593,7 +76566,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 645311752 + 645058504 Main.M16.bHome @@ -76606,7 +76579,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 645311760 + 645058512 Main.M16.bHardwareEnable @@ -76629,7 +76602,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 645311776 + 645058528 Main.M16.nRawEncoderULINT @@ -76642,7 +76615,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 645311808 + 645058560 Main.M16.nRawEncoderUINT @@ -76655,7 +76628,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 645311872 + 645058624 Main.M16.nRawEncoderINT @@ -76668,7 +76641,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 645311888 + 645058640 Main.fbMotionStage_m16.fbDriveVirtual.MasterAxis.NcToPlc @@ -76680,7 +76653,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 645331136 + 645077888 Main.M17.Axis.NcToPlc @@ -76692,7 +76665,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 645628032 + 645374784 Main.M17.bLimitForwardEnable @@ -76705,7 +76678,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 645635968 + 645382720 Main.M17.bLimitBackwardEnable @@ -76718,7 +76691,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 645635976 + 645382728 Main.M17.bHome @@ -76731,7 +76704,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 645635984 + 645382736 Main.M17.bHardwareEnable @@ -76754,7 +76727,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 645636000 + 645382752 Main.M17.nRawEncoderULINT @@ -76767,7 +76740,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 645636032 + 645382784 Main.M17.nRawEncoderUINT @@ -76780,7 +76753,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 645636096 + 645382848 Main.M17.nRawEncoderINT @@ -76793,7 +76766,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 645636112 + 645382864 Main.fbMotionStageM17.fbDriveVirtual.MasterAxis.NcToPlc @@ -76805,7 +76778,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 645655360 + 645402112 Main.M18.Axis.NcToPlc @@ -76817,7 +76790,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 645952256 + 645699008 Main.M18.bLimitForwardEnable @@ -76830,7 +76803,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 645960192 + 645706944 Main.M18.bLimitBackwardEnable @@ -76843,7 +76816,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 645960200 + 645706952 Main.M18.bHome @@ -76856,7 +76829,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 645960208 + 645706960 Main.M18.bHardwareEnable @@ -76879,7 +76852,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 645960224 + 645706976 Main.M18.nRawEncoderULINT @@ -76892,7 +76865,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 645960256 + 645707008 Main.M18.nRawEncoderUINT @@ -76905,7 +76878,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 645960320 + 645707072 Main.M18.nRawEncoderINT @@ -76918,7 +76891,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 645960336 + 645707088 Main.fbMotionStageM18.fbDriveVirtual.MasterAxis.NcToPlc @@ -76930,7 +76903,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 645979584 + 645726336 Main.M19.Axis.NcToPlc @@ -76942,7 +76915,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 646276480 + 646023232 Main.M19.bLimitForwardEnable @@ -76955,7 +76928,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 646284416 + 646031168 Main.M19.bLimitBackwardEnable @@ -76968,7 +76941,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 646284424 + 646031176 Main.M19.bHome @@ -76981,7 +76954,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 646284432 + 646031184 Main.M19.bHardwareEnable @@ -77004,7 +76977,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 646284448 + 646031200 Main.M19.nRawEncoderULINT @@ -77017,7 +76990,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 646284480 + 646031232 Main.M19.nRawEncoderUINT @@ -77030,7 +77003,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 646284544 + 646031296 Main.M19.nRawEncoderINT @@ -77043,7 +77016,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 646284560 + 646031312 Main.fbMotionStageM19.fbDriveVirtual.MasterAxis.NcToPlc @@ -77055,7 +77028,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 646303808 + 646050560 Main.M20.Axis.NcToPlc @@ -77067,7 +77040,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 646600704 + 646347456 Main.M20.bLimitForwardEnable @@ -77080,7 +77053,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 646608640 + 646355392 Main.M20.bLimitBackwardEnable @@ -77093,7 +77066,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 646608648 + 646355400 Main.M20.bHome @@ -77106,7 +77079,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 646608656 + 646355408 Main.M20.bHardwareEnable @@ -77129,7 +77102,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 646608672 + 646355424 Main.M20.nRawEncoderULINT @@ -77142,7 +77115,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 646608704 + 646355456 Main.M20.nRawEncoderUINT @@ -77155,7 +77128,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 646608768 + 646355520 Main.M20.nRawEncoderINT @@ -77168,7 +77141,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 646608784 + 646355536 Main.fbMotionStageM20.fbDriveVirtual.MasterAxis.NcToPlc @@ -77180,7 +77153,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 646628032 + 646374784 Main.M21.Axis.NcToPlc @@ -77192,7 +77165,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 646924928 + 646671680 Main.M21.bLimitForwardEnable @@ -77205,7 +77178,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 646932864 + 646679616 Main.M21.bLimitBackwardEnable @@ -77218,7 +77191,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 646932872 + 646679624 Main.M21.bHome @@ -77231,7 +77204,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 646932880 + 646679632 Main.M21.bHardwareEnable @@ -77254,7 +77227,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 646932896 + 646679648 Main.M21.nRawEncoderULINT @@ -77267,7 +77240,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 646932928 + 646679680 Main.M21.nRawEncoderUINT @@ -77280,7 +77253,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 646932992 + 646679744 Main.M21.nRawEncoderINT @@ -77293,7 +77266,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 646933008 + 646679760 Main.fbMotionStageM21.fbDriveVirtual.MasterAxis.NcToPlc @@ -77305,7 +77278,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 646952256 + 646699008 Main.M22.Axis.NcToPlc @@ -77317,7 +77290,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 647249152 + 646995904 Main.M22.bLimitForwardEnable @@ -77330,7 +77303,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 647257088 + 647003840 Main.M22.bLimitBackwardEnable @@ -77343,7 +77316,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 647257096 + 647003848 Main.M22.bHome @@ -77356,7 +77329,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 647257104 + 647003856 Main.M22.bHardwareEnable @@ -77379,7 +77352,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 647257120 + 647003872 Main.M22.nRawEncoderULINT @@ -77392,7 +77365,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 647257152 + 647003904 Main.M22.nRawEncoderUINT @@ -77405,7 +77378,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 647257216 + 647003968 Main.M22.nRawEncoderINT @@ -77418,7 +77391,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 647257232 + 647003984 Main.fbMotionStageM22.fbDriveVirtual.MasterAxis.NcToPlc @@ -77430,7 +77403,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 647276480 + 647023232 Main.M23.Axis.NcToPlc @@ -77442,7 +77415,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 647573376 + 647320128 Main.M23.bLimitForwardEnable @@ -77455,7 +77428,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 647581312 + 647328064 Main.M23.bLimitBackwardEnable @@ -77468,7 +77441,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 647581320 + 647328072 Main.M23.bHome @@ -77481,7 +77454,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 647581328 + 647328080 Main.M23.bHardwareEnable @@ -77504,7 +77477,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 647581344 + 647328096 Main.M23.nRawEncoderULINT @@ -77517,7 +77490,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 647581376 + 647328128 Main.M23.nRawEncoderUINT @@ -77530,7 +77503,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 647581440 + 647328192 Main.M23.nRawEncoderINT @@ -77543,7 +77516,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 647581456 + 647328208 Main.fbMotionStageM23.fbDriveVirtual.MasterAxis.NcToPlc @@ -77555,7 +77528,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 647600704 + 647347456 Main.M24.Axis.NcToPlc @@ -77567,7 +77540,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 647897600 + 647644352 Main.M24.bLimitForwardEnable @@ -77580,7 +77553,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 647905536 + 647652288 Main.M24.bLimitBackwardEnable @@ -77593,7 +77566,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 647905544 + 647652296 Main.M24.bHome @@ -77606,7 +77579,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 647905552 + 647652304 Main.M24.bHardwareEnable @@ -77629,7 +77602,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 647905568 + 647652320 Main.M24.nRawEncoderULINT @@ -77642,7 +77615,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 647905600 + 647652352 Main.M24.nRawEncoderUINT @@ -77655,7 +77628,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 647905664 + 647652416 Main.M24.nRawEncoderINT @@ -77668,7 +77641,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 647905680 + 647652432 Main.fbMotionStageM24.fbDriveVirtual.MasterAxis.NcToPlc @@ -77680,32 +77653,28 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 647924928 + 647671680 - Main.LAMPbSTOEnable1 - Emergency Stop for LAMP KBs (M2K4 and M3K4) - 8 - BOOL + Main.fM3K4DS_RTD_3 + 32 + REAL - TcAddressType - Input + pytmc + + pv: MR3K4:KBO:RTD:BEND:DS:3 + field: ASLO 0.1 + field: EGU cnt + io: i + - - 655187264 - - - Main.LAMPbSTOEnable2 - 8 - BOOL - TcAddressType Input - 655187272 + 654934368 Main.bM2K4US_RTD_1_Err @@ -77718,7 +77687,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 655187280 + 654934400 Main.bM2K4US_RTD_2_Err @@ -77730,28 +77699,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 655187288 - - - Main.fM3K4DS_RTD_3 - 32 - REAL - - - pytmc - - pv: MR3K4:KBO:RTD:BEND:DS:3 - field: ASLO 0.1 - field: EGU cnt - io: i - - - - TcAddressType - Input - - - 655187648 + 654934408 Main.bM2K4US_RTD_3_Err @@ -77763,7 +77711,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 655187680 + 654934416 Main.bM2K4DS_RTD_1_Err @@ -77775,7 +77723,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 655187688 + 654934424 Main.bM2K4DS_RTD_2_Err @@ -77787,7 +77735,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 655187696 + 654934432 Main.bM2K4DS_RTD_3_Err @@ -77799,7 +77747,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 655187704 + 654934440 Main.bM3K4US_RTD_1_Err @@ -77811,7 +77759,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 655187712 + 654934448 Main.bM3K4US_RTD_2_Err @@ -77823,7 +77771,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 655187720 + 654934456 Main.bM3K4US_RTD_3_Err @@ -77835,7 +77783,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 655187728 + 654934464 Main.bM3K4DS_RTD_1_Err @@ -77847,7 +77795,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 655187736 + 654934472 Main.bM3K4DS_RTD_2_Err @@ -77859,7 +77807,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 655187744 + 654934480 Main.bM3K4DS_RTD_3_Err @@ -77871,7 +77819,65 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 655187752 + 654934488 + + + PRG_PMPS.fbArbiterIO.i_stCurrentBP + 1760 + ST_BeamParams_IO + + + TcLinkTo + TIIB[PMPS_PRE]^IO Inputs^CurrentBP + + + TcAddressType + Input + + + 662804128 + + + PRG_PMPS.fbArbiterIO.xTxPDO_toggle + 1 + BIT + + + pytmc + pv: TxPDO_toggle + io: i + + + TcLinkTo + TIIB[PMPS_PRE]^SYNC Inputs^TxPDO toggle + + + TcAddressType + Input + + + 662807648 + + + PRG_PMPS.fbArbiterIO.xTxPDO_state + 1 + BIT + + + pytmc + pv: TxPDO_state + io: i + + + TcLinkTo + TIIB[PMPS_PRE]^SYNC Inputs^TxPDO state + + + TcAddressType + Input + + + 662807649 PRG_MR1K4_SOMS.fbCoolingPanel.fbFlow_1.iRaw @@ -77884,7 +77890,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 663211424 + 662968544 PRG_MR1K4_SOMS.fbCoolingPanel.fbPress_1.iRaw @@ -77897,7 +77903,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 663211744 + 662968864 PRG_MR1K4_SOMS.fbCoolingPanel.fbFlow_2.iRaw @@ -77910,69 +77916,62 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 663212128 + 662969248 - GVL_M2K4_RTD.nM2K4US_RTD_1 - M2K4 BENDER RTDs - M2K4 US RTDs + PRG_MR2K4_KBO.fbCoolingPanel.fbFlow_1.iRaw + Connect this input to the terminal 16 INT - - TcLinkTo - TIIB[EL3202-0010_M2K4US1_M2K4US2]^RTD Inputs Channel 1^Value - TcAddressType Input - - TcVarGlobal - - 663212432 + 662969760 - GVL_M2K4_RTD.nM2K4US_RTD_2 + PRG_MR2K4_KBO.fbCoolingPanel.fbPress_1.iRaw + Connect this input to the terminal 16 INT - - TcLinkTo - TIIB[EL3202-0010_M2K4US1_M2K4US2]^RTD Inputs Channel 2^Value - TcAddressType Input - - TcVarGlobal - - 663212448 + 662970080 - GVL_M2K4_RTD.nM2K4US_RTD_3 + PRG_MR3K4_KBO.fbCoolingPanel.fbFlow_1.iRaw + Connect this input to the terminal 16 INT - - TcLinkTo - TIIB[EL3202-0010_M2K4US3_M2K4DS1]^RTD Inputs Channel 1^Value - TcAddressType Input + + 662970592 + + + PRG_MR3K4_KBO.fbCoolingPanel.fbPress_1.iRaw + Connect this input to the terminal + 16 + INT + - TcVarGlobal + TcAddressType + Input - 663212464 + 662970912 - PRG_MR2K4_KBO.fbCoolingPanel.fbFlow_1.iRaw + PRG_MR4K4_KBO.fbCoolingPanel.fbFlow_1.iRaw Connect this input to the terminal 16 INT @@ -77982,10 +77981,10 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 663212704 + 662971424 - PRG_MR2K4_KBO.fbCoolingPanel.fbPress_1.iRaw + PRG_MR4K4_KBO.fbCoolingPanel.fbPress_1.iRaw Connect this input to the terminal 16 INT @@ -77995,10 +77994,10 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 663213024 + 662971744 - PRG_MR3K4_KBO.fbCoolingPanel.fbFlow_1.iRaw + PRG_MR5K4_KBO.fbCoolingPanel.fbFlow_1.iRaw Connect this input to the terminal 16 INT @@ -78008,10 +78007,10 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 663213536 + 662972256 - PRG_MR3K4_KBO.fbCoolingPanel.fbPress_1.iRaw + PRG_MR5K4_KBO.fbCoolingPanel.fbPress_1.iRaw Connect this input to the terminal 16 INT @@ -78021,17 +78020,18 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 663213856 + 662972576 - GVL_M2K4_RTD.nM2K4DS_RTD_1 - M2K4 DS RTDs + GVL_M2K4_RTD.nM2K4US_RTD_1 + M2K4 BENDER RTDs + M2K4 US RTDs 16 INT TcLinkTo - TIIB[EL3202-0010_M2K4US3_M2K4DS1]^RTD Inputs Channel 2^Value + TIIB[EL3202-0010_M2K4US1_M2K4US2]^RTD Inputs Channel 1^Value TcAddressType @@ -78041,16 +78041,16 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 663797664 + 663556768 - GVL_M2K4_RTD.nM2K4DS_RTD_2 + GVL_M2K4_RTD.nM2K4US_RTD_2 16 INT TcLinkTo - TIIB[EL3202-0010_M2K4DS2_M2K4DS3]^RTD Inputs Channel 1^Value + TIIB[EL3202-0010_M2K4US1_M2K4US2]^RTD Inputs Channel 2^Value TcAddressType @@ -78060,7 +78060,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 663797680 + 663556784 GVL_M1K4.M1K4_Pitch.diEncCnt @@ -78073,7 +78073,65 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 663800128 + 663559232 + + + GVL_M2K4_RTD.nM2K4US_RTD_3 + 16 + INT + + + TcLinkTo + TIIB[EL3202-0010_M2K4US3_M2K4DS1]^RTD Inputs Channel 1^Value + + + TcAddressType + Input + + + TcVarGlobal + + + 663559552 + + + 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 + + + 663559568 + + + GVL_M2K4_RTD.nM2K4DS_RTD_2 + 16 + INT + + + TcLinkTo + TIIB[EL3202-0010_M2K4DS2_M2K4DS3]^RTD Inputs Channel 1^Value + + + TcAddressType + Input + + + TcVarGlobal + + + 663559584 GVL_M2K4_RTD.nM2K4DS_RTD_3 @@ -78092,7 +78150,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 663800448 + 663559600 GVL_M3K4_RTD.nM3K4US_RTD_1 @@ -78113,7 +78171,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 663800464 + 663559808 GVL_M3K4_RTD.nM3K4US_RTD_2 @@ -78132,7 +78190,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 663800480 + 663559824 GVL_M3K4_RTD.nM3K4US_RTD_3 @@ -78151,7 +78209,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 663800496 + 663559840 GVL_M3K4_RTD.nM3K4DS_RTD_1 @@ -78171,7 +78229,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 663800704 + 663559856 GVL_M3K4_RTD.nM3K4DS_RTD_2 @@ -78190,7 +78248,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 663800720 + 663559872 GVL_M3K4_RTD.nM3K4DS_RTD_3 @@ -78209,7 +78267,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 663800736 + 663559888 GVL_M4K4_RTD.nM4K4_Chin_Left_RTD.bError @@ -78233,7 +78291,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 663801160 + 663560328 GVL_M4K4_RTD.nM4K4_Chin_Left_RTD.bUnderrange @@ -78245,7 +78303,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 663801168 + 663560336 GVL_M4K4_RTD.nM4K4_Chin_Left_RTD.bOverrange @@ -78257,7 +78315,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 663801176 + 663560344 GVL_M4K4_RTD.nM4K4_Chin_Left_RTD.iRaw @@ -78269,7 +78327,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 663801184 + 663560352 GVL_M4K4_RTD.nM4K4_Chin_Right_RTD.bError @@ -78293,7 +78351,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 663801416 + 663560584 GVL_M4K4_RTD.nM4K4_Chin_Right_RTD.bUnderrange @@ -78305,7 +78363,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 663801424 + 663560592 GVL_M4K4_RTD.nM4K4_Chin_Right_RTD.bOverrange @@ -78317,7 +78375,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 663801432 + 663560600 GVL_M4K4_RTD.nM4K4_Chin_Right_RTD.iRaw @@ -78329,7 +78387,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 663801440 + 663560608 GVL_M4K4_RTD.nM4K4_Chin_Tail_RTD.bError @@ -78353,7 +78411,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 663801672 + 663560840 GVL_M4K4_RTD.nM4K4_Chin_Tail_RTD.bUnderrange @@ -78365,7 +78423,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 663801680 + 663560848 GVL_M4K4_RTD.nM4K4_Chin_Tail_RTD.bOverrange @@ -78377,7 +78435,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 663801688 + 663560856 GVL_M4K4_RTD.nM4K4_Chin_Tail_RTD.iRaw @@ -78389,7 +78447,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 663801696 + 663560864 GVL_M5K4_RTD.nM5K4_Chin_Left_RTD.bError @@ -78413,7 +78471,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 663801928 + 663561096 GVL_M5K4_RTD.nM5K4_Chin_Left_RTD.bUnderrange @@ -78425,7 +78483,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 663801936 + 663561104 GVL_M5K4_RTD.nM5K4_Chin_Left_RTD.bOverrange @@ -78437,7 +78495,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 663801944 + 663561112 GVL_M5K4_RTD.nM5K4_Chin_Left_RTD.iRaw @@ -78449,7 +78507,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 663801952 + 663561120 GVL_M5K4_RTD.nM5K4_Chin_Right_RTD.bError @@ -78473,7 +78531,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 663802184 + 663561352 GVL_M5K4_RTD.nM5K4_Chin_Right_RTD.bUnderrange @@ -78485,7 +78543,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 663802192 + 663561360 GVL_M5K4_RTD.nM5K4_Chin_Right_RTD.bOverrange @@ -78497,7 +78555,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 663802200 + 663561368 GVL_M5K4_RTD.nM5K4_Chin_Right_RTD.iRaw @@ -78509,7 +78567,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 663802208 + 663561376 GVL_M5K4_RTD.nM5K4_Chin_Tail_RTD.bError @@ -78533,7 +78591,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 663802440 + 663561608 GVL_M5K4_RTD.nM5K4_Chin_Tail_RTD.bUnderrange @@ -78545,7 +78603,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 663802448 + 663561616 GVL_M5K4_RTD.nM5K4_Chin_Tail_RTD.bOverrange @@ -78557,7 +78615,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 663802456 + 663561624 GVL_M5K4_RTD.nM5K4_Chin_Tail_RTD.iRaw @@ -78569,72 +78627,14 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Input - 663802464 - - - PRG_PMPS.fbArbiterIO.i_stCurrentBP - 1760 - ST_BeamParams_IO - - - TcLinkTo - TIIB[PMPS_PRE]^IO Inputs^CurrentBP - - - TcAddressType - Input - - - 673526688 - - - PRG_PMPS.fbArbiterIO.xTxPDO_toggle - 1 - BIT - - - pytmc - pv: TxPDO_toggle - io: i - - - TcLinkTo - TIIB[PMPS_PRE]^SYNC Inputs^TxPDO toggle - - - TcAddressType - Input - - - 673530208 - - - PRG_PMPS.fbArbiterIO.xTxPDO_state - 1 - BIT - - - pytmc - pv: TxPDO_state - io: i - - - TcLinkTo - TIIB[PMPS_PRE]^SYNC Inputs^TxPDO state - - - TcAddressType - Input - - - 673530209 + 663561632 33 PlcTask Outputs 2 - 84869120 + 84213760 Main.M1.Axis.PlcToNc 1024 @@ -78645,7 +78645,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 638865792 + 638936768 Main.M1.bBrakeRelease @@ -78658,7 +78658,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 638874776 + 638945752 Main.fbMotionStage_m1.fbDriveVirtual.MasterAxis.PlcToNc @@ -78670,7 +78670,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 638893120 + 638964096 Main.M2.Axis.PlcToNc @@ -78682,7 +78682,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 639190016 + 639260992 Main.M2.bBrakeRelease @@ -78695,7 +78695,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 639199000 + 639269976 Main.fbMotionStage_m2.fbDriveVirtual.MasterAxis.PlcToNc @@ -78707,7 +78707,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 639217344 + 639288320 Main.M3.Axis.PlcToNc @@ -78719,7 +78719,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 639514240 + 639585216 Main.M3.bBrakeRelease @@ -78732,7 +78732,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 639523224 + 639594200 Main.fbMotionStage_m3.fbDriveVirtual.MasterAxis.PlcToNc @@ -78744,7 +78744,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 639541568 + 639612544 Main.M4.Axis.PlcToNc @@ -78756,7 +78756,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 639838464 + 639909440 Main.M4.bBrakeRelease @@ -78769,7 +78769,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 639847448 + 639918424 Main.fbMotionStage_m4.fbDriveVirtual.MasterAxis.PlcToNc @@ -78781,7 +78781,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 639865792 + 639936768 Main.M5.Axis.PlcToNc @@ -78793,7 +78793,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 640162688 + 640233664 Main.M5.bBrakeRelease @@ -78806,7 +78806,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 640171672 + 640242648 Main.fbMotionStage_m5.fbDriveVirtual.MasterAxis.PlcToNc @@ -78818,7 +78818,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 640190016 + 640260992 Main.M7.Axis.PlcToNc @@ -78830,7 +78830,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 642384768 + 642131520 Main.M7.bBrakeRelease @@ -78843,7 +78843,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 642393752 + 642140504 Main.fbMotionStage_m7.fbDriveVirtual.MasterAxis.PlcToNc @@ -78855,7 +78855,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 642412096 + 642158848 Main.M8.Axis.PlcToNc @@ -78867,7 +78867,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 642708992 + 642455744 Main.M8.bBrakeRelease @@ -78880,7 +78880,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 642717976 + 642464728 Main.fbMotionStage_m8.fbDriveVirtual.MasterAxis.PlcToNc @@ -78892,7 +78892,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 642736320 + 642483072 Main.M9.Axis.PlcToNc @@ -78904,7 +78904,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 643033216 + 642779968 Main.M9.bBrakeRelease @@ -78917,7 +78917,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 643042200 + 642788952 Main.fbMotionStage_m9.fbDriveVirtual.MasterAxis.PlcToNc @@ -78929,7 +78929,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 643060544 + 642807296 Main.M10.Axis.PlcToNc @@ -78941,7 +78941,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 643357440 + 643104192 Main.M10.bBrakeRelease @@ -78954,7 +78954,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 643366424 + 643113176 Main.fbMotionStage_m10.fbDriveVirtual.MasterAxis.PlcToNc @@ -78966,7 +78966,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 643384768 + 643131520 Main.M11.Axis.PlcToNc @@ -78978,7 +78978,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 643681664 + 643428416 Main.M11.bBrakeRelease @@ -78991,7 +78991,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 643690648 + 643437400 Main.fbMotionStage_m11.fbDriveVirtual.MasterAxis.PlcToNc @@ -79003,7 +79003,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 643708992 + 643455744 Main.M12.Axis.PlcToNc @@ -79015,7 +79015,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 644005888 + 643752640 Main.M12.bBrakeRelease @@ -79028,7 +79028,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 644014872 + 643761624 Main.fbMotionStage_m12.fbDriveVirtual.MasterAxis.PlcToNc @@ -79040,7 +79040,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 644033216 + 643779968 Main.M13.Axis.PlcToNc @@ -79052,7 +79052,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 644330112 + 644076864 Main.M13.bBrakeRelease @@ -79065,7 +79065,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 644339096 + 644085848 Main.fbMotionStage_m13.fbDriveVirtual.MasterAxis.PlcToNc @@ -79077,7 +79077,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 644357440 + 644104192 Main.M14.Axis.PlcToNc @@ -79089,7 +79089,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 644654336 + 644401088 Main.M14.bBrakeRelease @@ -79102,7 +79102,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 644663320 + 644410072 Main.fbMotionStage_m14.fbDriveVirtual.MasterAxis.PlcToNc @@ -79114,7 +79114,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 644681664 + 644428416 Main.M15.Axis.PlcToNc @@ -79126,7 +79126,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 644978560 + 644725312 Main.M15.bBrakeRelease @@ -79139,7 +79139,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 644987544 + 644734296 Main.fbMotionStage_m15.fbDriveVirtual.MasterAxis.PlcToNc @@ -79151,7 +79151,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 645005888 + 644752640 Main.M16.Axis.PlcToNc @@ -79163,7 +79163,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 645302784 + 645049536 Main.M16.bBrakeRelease @@ -79176,7 +79176,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 645311768 + 645058520 Main.fbMotionStage_m16.fbDriveVirtual.MasterAxis.PlcToNc @@ -79188,7 +79188,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 645330112 + 645076864 Main.M17.Axis.PlcToNc @@ -79200,7 +79200,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 645627008 + 645373760 Main.M17.bBrakeRelease @@ -79213,7 +79213,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 645635992 + 645382744 Main.fbMotionStageM17.fbDriveVirtual.MasterAxis.PlcToNc @@ -79225,7 +79225,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 645654336 + 645401088 Main.M18.Axis.PlcToNc @@ -79237,7 +79237,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 645951232 + 645697984 Main.M18.bBrakeRelease @@ -79250,7 +79250,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 645960216 + 645706968 Main.fbMotionStageM18.fbDriveVirtual.MasterAxis.PlcToNc @@ -79262,7 +79262,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 645978560 + 645725312 Main.M19.Axis.PlcToNc @@ -79274,7 +79274,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 646275456 + 646022208 Main.M19.bBrakeRelease @@ -79287,7 +79287,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 646284440 + 646031192 Main.fbMotionStageM19.fbDriveVirtual.MasterAxis.PlcToNc @@ -79299,7 +79299,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 646302784 + 646049536 Main.M20.Axis.PlcToNc @@ -79311,7 +79311,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 646599680 + 646346432 Main.M20.bBrakeRelease @@ -79324,7 +79324,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 646608664 + 646355416 Main.fbMotionStageM20.fbDriveVirtual.MasterAxis.PlcToNc @@ -79336,7 +79336,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 646627008 + 646373760 Main.M21.Axis.PlcToNc @@ -79348,7 +79348,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 646923904 + 646670656 Main.M21.bBrakeRelease @@ -79361,7 +79361,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 646932888 + 646679640 Main.fbMotionStageM21.fbDriveVirtual.MasterAxis.PlcToNc @@ -79373,7 +79373,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 646951232 + 646697984 Main.M22.Axis.PlcToNc @@ -79385,7 +79385,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 647248128 + 646994880 Main.M22.bBrakeRelease @@ -79398,7 +79398,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 647257112 + 647003864 Main.fbMotionStageM22.fbDriveVirtual.MasterAxis.PlcToNc @@ -79410,7 +79410,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 647275456 + 647022208 Main.M23.Axis.PlcToNc @@ -79422,7 +79422,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 647572352 + 647319104 Main.M23.bBrakeRelease @@ -79435,7 +79435,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 647581336 + 647328088 Main.fbMotionStageM23.fbDriveVirtual.MasterAxis.PlcToNc @@ -79447,7 +79447,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 647599680 + 647346432 Main.M24.Axis.PlcToNc @@ -79459,7 +79459,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 647896576 + 647643328 Main.M24.bBrakeRelease @@ -79472,7 +79472,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 647905560 + 647652312 Main.fbMotionStageM24.fbDriveVirtual.MasterAxis.PlcToNc @@ -79484,7 +79484,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 647923904 + 647670656 PRG_MR1K4_SOMS.bActivateVarCool @@ -79509,7 +79509,23 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 663212416 + 654934520 + + + PRG_PMPS.fbArbiterIO.q_stRequestedBP + 1760 + ST_BeamParams_IO + + + TcLinkTo + TIIB[PMPS_PRE]^IO Outputs^RequestedBP + + + TcAddressType + Output + + + 662805888 GVL_PMPS.g_FastFaultOutput1.q_xFastFaultOut @@ -79529,7 +79545,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 663802760 + 663561928 GVL_PMPS.g_FastFaultOutput2.q_xFastFaultOut @@ -79549,30 +79565,14 @@ The BPTM will throw an error if the arbiter does not have enough space for the t Output - 664298056 - - - PRG_PMPS.fbArbiterIO.q_stRequestedBP - 1760 - ST_BeamParams_IO - - - TcLinkTo - TIIB[PMPS_PRE]^IO Outputs^RequestedBP - - - TcAddressType - Output - - - 673528448 + 664057224 35 PlcTask Internal 2 - 84869120 + 84213760 DefaultGlobals.stSys Included for you @@ -85368,17 +85368,16 @@ The BPTM will throw an error if the arbiter does not have enough space for the t 7516480 - PMPS_GVL.stRequestedBeamParameters - Summarized request for the line, as recognized by the line arbiter PLC - 1760 - ST_BeamParams + MOTION_GVL.fbStandardPMPSDB + Global DB handler, Must be called in PLC project to use the PMPS DB for a motion project + 90624 + FB_Standard_PMPSDB pytmc - pv: @(PREFIX)RequestedBP - io: i - archive: 1Hz monitor + pv: @(PREFIX)DB + io: io @@ -85387,112 +85386,6 @@ The BPTM will throw an error if the arbiter does not have enough space for the t 8444992 - - 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 - - - - TcVarGlobal - - - 8446752 - - - PMPS_GVL.cstFullBeam - 1760 - ST_BeamParams - - - pytmc - - pv: @(PREFIX)FullBeamCnst - io: i - archive: 1Hz monitor - field: DESC Full beam constant - - - - TcVarGlobal - - - 8448512 - - - PMPS_GVL.cst0RateBeam - 1760 - ST_BeamParams - - - pytmc - - pv: @(PREFIX)0RateBeamCnst - io: i - archive: 1Hz monitor - field: DESC 0-rate beam constant - - - - TcVarGlobal - - - 8450272 - - - Global_Version.stLibVersion_PMPS - 288 - ST_LibVersion - - - .iMajor - 3 - - - .iMinor - 3 - - - .iBuild - 0 - - - .iRevision - 0 - - - .nFlags - 1 - - - .sVersion - 3.3.0 - - - - - const_non_replaced - - - TcVarGlobal - - - 8452032 - - - PRG_PMPS.bMR1K3_IN - 8 - BOOL - 8452320 - MOTION_GVL.nMaxStates Debug, records the highest state count in the PLC. Can be used to limit GeneralConstants.MAX_STATES to save on memory usage and PV count. @@ -85503,7 +85396,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 8472736 + 8535616 MotionConstants.MAX_STATE_MOTORS @@ -85522,7 +85415,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 8472752 + 8535632 Global_Version.stLibVersion_lcls_twincat_motion @@ -85562,7 +85455,47 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 8472768 + 8535648 + + + 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 + + + + TcVarGlobal + + + 8535936 + + + 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 + + + + TcVarGlobal + + + 8537696 PMPS_GVL.g_areVBoundaries @@ -85587,7 +85520,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 8476576 + 8539456 PMPS_GVL.PERange @@ -85599,7 +85532,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 8477600 + 8540480 PMPS_GVL.EXCLUDED_ASSERTION_ID @@ -85614,49 +85547,49 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 8477728 + 8540608 - PMPS_GVL.VISIBLE_TEST_VELOCITY - 64 - LREAL + PMPS_GVL.MAX_DEVICE_STATES + 32 + UDINT - 10 + 300 TcVarGlobal - 8477760 + 8540640 - PMPS_GVL.FAST_TEST_VELOCITY + PMPS_GVL.VISIBLE_TEST_VELOCITY 64 LREAL - 100 + 10 TcVarGlobal - 8477824 + 8540672 - PMPS_GVL.MAX_DEVICE_STATES - 32 - UDINT + PMPS_GVL.FAST_TEST_VELOCITY + 64 + LREAL - 300 + 100 TcVarGlobal - 8477888 + 8540736 PMPS_GVL.TRANS_SCALING_FACTOR @@ -85671,7 +85604,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 8477920 + 8540800 PMPS_GVL.AUX_ATTENUATORS @@ -85686,7 +85619,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 8477952 + 8540832 PMPS_GVL.MAX_VETO_DEVICES @@ -85700,7 +85633,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 8477968 + 8540848 PMPS_GVL.stAttenuators @@ -85721,7 +85654,47 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 8477984 + 8540864 + + + PMPS_GVL.cstFullBeam + 1760 + ST_BeamParams + + + pytmc + + pv: @(PREFIX)FullBeamCnst + io: i + archive: 1Hz monitor + field: DESC Full beam constant + + + + TcVarGlobal + + + 8540928 + + + PMPS_GVL.cst0RateBeam + 1760 + ST_BeamParams + + + pytmc + + pv: @(PREFIX)0RateBeamCnst + io: i + archive: 1Hz monitor + field: DESC 0-rate beam constant + + + + TcVarGlobal + + + 8542688 PMPS_GVL.cnMaxStateArrayLen @@ -85746,7 +85719,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 8481568 + 8544448 PMPS_GVL.MAX_APERTURES @@ -85761,7 +85734,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 8481584 + 8544464 PMPS_GVL.DUMMY_AUX_ATT_ARRAY @@ -85780,7 +85753,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 8481600 + 8544480 PMPS_GVL.g_cBoundaries @@ -85794,7 +85767,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 8482624 + 8545504 PMPS_PARAM.MAX_FAST_FAULTS @@ -85809,7 +85782,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 8482640 + 8545520 PMPS_GVL.reVHyst @@ -85836,7 +85809,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 8482656 + 8545536 PMPS_GVL.g_areVBoundariesL @@ -85991,7 +85964,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 8482688 + 8545568 PMPS_GVL.g_areVBoundariesK @@ -86146,7 +86119,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 8483712 + 8546592 PMPS_PARAM.MAX_ASSERTIONS @@ -86161,7 +86134,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 8484736 + 8547616 PMPS_PARAM.TRANS_MARGIN @@ -86176,7 +86149,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 8484768 + 8547648 PMPS_TOOLS.fbJson @@ -86187,7 +86160,47 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 8484800 + 8547680 + + + Global_Version.stLibVersion_PMPS + 288 + ST_LibVersion + + + .iMajor + 3 + + + .iMinor + 3 + + + .iBuild + 0 + + + .iRevision + 0 + + + .nFlags + 1 + + + .sVersion + 3.3.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 8547936 Global_Version.stLibVersion_Tc2_MC2 @@ -86223,7 +86236,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 8485056 + 8548224 Global_Variables.TcMcGlobal @@ -86234,7 +86247,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 8485344 + 8548512 GVL_Param_TcUnit.MaxNumberOfTestSuites @@ -86248,7 +86261,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 8492320 + 8555488 GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite @@ -86262,7 +86275,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 8492336 + 8555504 Global_Variables.DEFAULT_HOME_POSITION @@ -86276,7 +86289,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 8492352 + 8555520 Global_Variables.DEFAULT_BACKLASHVALUE @@ -86290,7 +86303,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 8492416 + 8555584 Global_Version.stLibVersion_Tc2_Math @@ -86326,7 +86339,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 8492480 + 8555648 GVL_Param_TcUnit.MaxNumberOfAssertsForEachTestSuite @@ -86340,7 +86353,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 8492768 + 8555936 GVL_Param_TcUnit.xUnitEnablePublish @@ -86355,7 +86368,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 8492784 + 8555952 GVL_TcUnit.TestSuiteIsRegistered @@ -86367,7 +86380,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 8492792 + 8555960 GVL_Param_TcUnit.xUnitBufferSize @@ -86382,7 +86395,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 8492800 + 8555968 GVL_Param_TcUnit.xUnitFilePath @@ -86397,7 +86410,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 8492832 + 8556000 GVL_Param_TcUnit.AdsLogMessageFifoRingBufferSize @@ -86415,7 +86428,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 8494880 + 8558048 GVL_TcUnit.CurrentTestIsFinished @@ -86427,7 +86440,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 8494896 + 8558064 GVL_TcUnit.IgnoreCurrentTest @@ -86441,7 +86454,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 8494904 + 8558072 GVL_Param_TcUnit.TimeBetweenTestSuitesExecution @@ -86457,7 +86470,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 8494912 + 8558080 GVL_TcUnit.TcUnitRunner @@ -86468,7 +86481,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 8494944 + 8558112 GVL_TcUnit.CurrentTestSuiteBeingCalled @@ -86480,7 +86493,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 630322144 + 630385312 GVL_TcUnit.CurrentTestNameBeingCalled @@ -86492,7 +86505,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 630322176 + 630385344 GVL_TcUnit.NumberOfInitializedTestSuites @@ -86508,7 +86521,18 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 630324224 + 630387392 + + + FB_DynMem_Manager.nInstanceCreations + 16 + UINT + + + TcVarStatic + + + 630387408 GVL_TcUnit.TestSuiteAddresses @@ -86523,7 +86547,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 630324256 + 630387424 GVL_TcUnit.CurrentlyRunningOrderedTestInTestSuite @@ -86541,7 +86565,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 630356256 + 630419424 GVL_TcUnit.AdsMessageQueue @@ -86553,7 +86577,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 630372256 + 630435424 Global_Version.stLibVersion_TcUnit @@ -86589,7 +86613,87 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 638693120 + 638756288 + + + Global_Version.stLibVersion_Tc3_IPCDiag + 288 + ST_LibVersion + + + .iMajor + 1 + + + .iMinor + 0 + + + .iBuild + 12 + + + .iRevision + 0 + + + .nFlags + 1 + + + .sVersion + 1.0.12.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 638756576 + + + Global_Version.stLibVersion_Tc3_DynamicMemory + 288 + ST_LibVersion + + + .iMajor + 1 + + + .iMinor + 0 + + + .iBuild + 2 + + + .iRevision + 0 + + + .nFlags + 0 + + + .sVersion + 1.0.2.0 + + + + + const_non_replaced + + + TcVarGlobal + + + 638757888 GVL_Constants.cPiezoRange @@ -86604,7 +86708,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 638693408 + 638758176 GVL_Constants.nGANTRY_TOLERANCE_NM_DEFAULT @@ -86619,7 +86723,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 638693440 + 638758208 GVL_Constants.cPiezoMaxVoltage @@ -86634,7 +86738,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 638693504 + 638758272 GVL_Constants.cPiezoMinVoltage @@ -86649,7 +86753,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 638693568 + 638758336 GVL_TestStructs.TestPitch_LimitSwitches @@ -86678,7 +86782,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 638693632 + 638758400 Global_Version.stLibVersion_lcls_twincat_optics @@ -86718,7 +86822,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 638696128 + 638760896 Global_Version.stLibVersion_Tc2_ControllerToolbox @@ -86758,13 +86862,13 @@ The BPTM will throw an error if the arbiter does not have enough space for the t TcVarGlobal - 638696416 + 638761184 PiezoSerial.rtInitParams_M1K4 64 R_TRIG - 638853952 + 638924896 PiezoSerial.tonTimeoutRst_M1K4 @@ -86777,7 +86881,24 @@ The BPTM will throw an error if the arbiter does not have enough space for the t T#2S - 638854016 + 638924960 + + + Main.nEncCntYupM1K4 + Raw Encoder Counts + 32 + UDINT + + + pytmc + + pv: MR1K4:SOMS:ENC:YUP:CNT + field: EGU cnt + io: i + + + + 638936672 Main.M1 @@ -86815,13 +86936,13 @@ The BPTM will throw an error if the arbiter does not have enough space for the t - 638865728 + 638936704 Main.fbMotionStage_m1 298304 FB_MotionStage - 638891648 + 638962624 Main.M2 @@ -86855,13 +86976,13 @@ The BPTM will throw an error if the arbiter does not have enough space for the t - 639189952 + 639260928 Main.fbMotionStage_m2 298304 FB_MotionStage - 639215872 + 639286848 Main.M3 @@ -86895,13 +87016,13 @@ The BPTM will throw an error if the arbiter does not have enough space for the t - 639514176 + 639585152 Main.fbMotionStage_m3 298304 FB_MotionStage - 639540096 + 639611072 Main.M4 @@ -86935,13 +87056,13 @@ The BPTM will throw an error if the arbiter does not have enough space for the t - 639838400 + 639909376 Main.fbMotionStage_m4 298304 FB_MotionStage - 639864320 + 639935296 Main.M5 @@ -86975,309 +87096,13 @@ The BPTM will throw an error if the arbiter does not have enough space for the t - 640162624 + 640233600 Main.fbMotionStage_m5 298304 FB_MotionStage - 640188544 - - - MOTION_GVL.fbStandardPMPSDB - Global DB handler, Must be called in PLC project to use the PMPS DB for a motion project - 90624 - FB_Standard_PMPSDB - - - pytmc - - pv: @(PREFIX)DB - io: io - - - - TcVarGlobal - - - 640486848 - - - Global_Version.stLibVersion_Tc3_IPCDiag - 288 - ST_LibVersion - - - .iMajor - 1 - - - .iMinor - 0 - - - .iBuild - 12 - - - .iRevision - 0 - - - .nFlags - 1 - - - .sVersion - 1.0.12.0 - - - - - const_non_replaced - - - TcVarGlobal - - - 640577472 - - - Global_Version.stLibVersion_Tc3_DynamicMemory - 288 - ST_LibVersion - - - .iMajor - 1 - - - .iMinor - 0 - - - .iBuild - 2 - - - .iRevision - 0 - - - .nFlags - 0 - - - .sVersion - 1.0.2.0 - - - - - const_non_replaced - - - TcVarGlobal - - - 640578816 - - - FB_DynMem_Manager.nInstanceCreations - 16 - UINT - - - TcVarStatic - - - 640584032 - - - PRG_MR4K4_KBO.fbCoolingPanel - MR4K4 Flow Press Sensors - 832 - FB_Axilon_Cooling_1f1p - - - TcLinkTo - .fbFlow_1.iRaw := TIIB[EL3054_FWM_PRSM_MR45K4]^AI Standard Channel 1^Value; - .fbPress_1.iRaw := TIIB[EL3054_FWM_PRSM_MR45K4]^AI Standard Channel 2^Value - - - - pytmc - - pv: MR4K4:KBO - - - - 640585472 - - - PRG_MR5K4_KBO.fbCoolingPanel - MR5K4 Flow Press Sensors - 832 - FB_Axilon_Cooling_1f1p - - - TcLinkTo - .fbFlow_1.iRaw := TIIB[EL3054_FWM_PRSM_MR45K4]^AI Standard Channel 3^Value; - .fbPress_1.iRaw := TIIB[EL3054_FWM_PRSM_MR45K4]^AI Standard Channel 2^Value - - - - pytmc - - pv: MR5K4:KBO - - - - 640586304 - - - TC_EVENT_CLASSES.TcIPCDiagEventClass - CC929187-3970-4CF4-8F39-946BEC12422D - 128 - GUID - - - .Data1 - 3432157575 - - - .Data2 - 14704 - - - .Data3 - 19700 - - - .Data4[0] - 143 - - - .Data4[1] - 57 - - - .Data4[2] - 148 - - - .Data4[3] - 107 - - - .Data4[4] - 236 - - - .Data4[5] - 18 - - - .Data4[6] - 66 - - - .Data4[7] - 45 - - - - - TcTypeSystem - - - tc_no_symbol - unused;ST_TcIPCDiagEventClass - - - const_non_replaced - - - suppress_warning_0 - C0228 - - - TcVarGlobal - - - 640587136 - - - TC_EVENT_CLASSES.TcIPCDiagPlcApiEventClass - 20226F4C-54BA-479F-BA48-FBE52D0E9CD5 - 128 - GUID - - - .Data1 - 539127628 - - - .Data2 - 21690 - - - .Data3 - 18335 - - - .Data4[0] - 186 - - - .Data4[1] - 72 - - - .Data4[2] - 251 - - - .Data4[3] - 229 - - - .Data4[4] - 45 - - - .Data4[5] - 14 - - - .Data4[6] - 156 - - - .Data4[7] - 213 - - - - - TcTypeSystem - - - tc_no_symbol - unused;ST_TcIPCDiagPlcApiEventClass - - - const_non_replaced - - - suppress_warning_0 - C0228 - - - TcVarGlobal - - - 640587264 + 640259520 Main.M1K4 @@ -87308,7 +87133,7 @@ The BPTM will throw an error if the arbiter does not have enough space for the t - 640811072 + 640557824 Main.fbYRMSErrorM1K4 @@ -87323,19 +87148,19 @@ The BPTM will throw an error if the arbiter does not have enough space for the t - 640831744 + 640578496 Main.fMaxYRMSErrorM1K4 64 LREAL - 641218624 + 640965376 Main.fMinYRMSErrorM1K4 64 LREAL - 641218688 + 640965440 Main.fbXRMSErrorM1K4 @@ -87349,19 +87174,19 @@ The BPTM will throw an error if the arbiter does not have enough space for the t - 641218752 + 640965504 Main.fMaxXRMSErrorM1K4 64 LREAL - 641605632 + 641352384 Main.fMinXRMSErrorM1K4 64 LREAL - 641605696 + 641352448 Main.fbPitchRMSErrorM1K4 @@ -87375,19 +87200,19 @@ The BPTM will throw an error if the arbiter does not have enough space for the t - 641605760 + 641352512 Main.fMaxPitchRMSErrorM1K4 64 LREAL - 641992640 + 641739392 Main.fMinPitchRMSErrorM1K4 64 LREAL - 641992704 + 641739456 Main.fbBenderRMSErrorM1K4 @@ -87401,19 +87226,19 @@ The BPTM will throw an error if the arbiter does not have enough space for the t - 641992768 + 641739520 Main.fMaxBenderRMSErrorM1K4 64 LREAL - 642379648 + 642126400 Main.fMinBenderRMSErrorM1K4 64 LREAL - 642379712 + 642126464 Main.fbBenderM1K4 @@ -87424,24 +87249,7 @@ bM1K4PitchBusy : BOOL; Bender Control 128 FB_Bender - 642379776 - - - Main.nEncCntYupM1K4 - Raw Encoder Counts - 32 - UDINT - - - pytmc - - pv: MR1K4:SOMS:ENC:YUP:CNT - field: EGU cnt - io: i - - - - 642379904 + 642126528 Main.nEncCntYdwnM1K4 @@ -87457,7 +87265,7 @@ bM1K4PitchBusy : BOOL; - 642379936 + 642126656 Main.nEncCntXupM1K4 @@ -87473,7 +87281,7 @@ bM1K4PitchBusy : BOOL; - 642379968 + 642126688 Main.nEncCntXdwnM1K4 @@ -87489,7 +87297,7 @@ bM1K4PitchBusy : BOOL; - 642380000 + 642126720 Main.nEncCntPitchM1K4 @@ -87505,7 +87313,7 @@ bM1K4PitchBusy : BOOL; - 642380032 + 642126752 Main.nEncRefYupM1K4 @@ -87522,7 +87330,7 @@ bM1K4PitchBusy : BOOL; - 642380064 + 642126784 Main.nEncRefYdwnM1K4 @@ -87538,7 +87346,7 @@ bM1K4PitchBusy : BOOL; - 642380096 + 642126816 Main.nEncRefXupM1K4 @@ -87554,7 +87362,7 @@ bM1K4PitchBusy : BOOL; - 642380128 + 642126848 Main.nEncRefXdwnM1K4 @@ -87570,7 +87378,7 @@ bM1K4PitchBusy : BOOL; - 642380160 + 642126880 Main.nEncRefPitchM1K4 @@ -87586,20 +87394,20 @@ bM1K4PitchBusy : BOOL; - 642380192 + 642126912 Main.mcReadParameterPitchM1K4 4352 MC_ReadParameter - 642380224 + 642126976 Main.fEncRefPitchM1K4_urad Current Pitch encoder offset in urad 64 LREAL - 642384576 + 642131328 Main.fEncLeverArm_mm @@ -87609,7 +87417,7 @@ bM1K4PitchBusy : BOOL; 513 - 642384640 + 642131392 Main.M7 @@ -87641,13 +87449,13 @@ MR2K4 X - 642384704 + 642131456 Main.fbMotionStage_m7 298304 FB_MotionStage - 642410624 + 642157376 Main.M8 @@ -87683,13 +87491,13 @@ PMPS State Stage; bPowerSelf:=False - 642708928 + 642455680 Main.fbMotionStage_m8 298304 FB_MotionStage - 642734848 + 642481600 Main.M9 @@ -87720,13 +87528,13 @@ PMPS State Stage; bPowerSelf:=False - 643033152 + 642779904 Main.fbMotionStage_m9 298304 FB_MotionStage - 643059072 + 642805824 Main.M10 @@ -87757,13 +87565,13 @@ PMPS State Stage; bPowerSelf:=False - 643357376 + 643104128 Main.fbMotionStage_m10 298304 FB_MotionStage - 643383296 + 643130048 Main.M11 @@ -87794,13 +87602,13 @@ PMPS State Stage; bPowerSelf:=False - 643681600 + 643428352 Main.fbMotionStage_m11 298304 FB_MotionStage - 643707520 + 643454272 Main.M12 @@ -87836,13 +87644,13 @@ PMPS State Stage; bPowerSelf:=False - 644005824 + 643752576 Main.fbMotionStage_m12 298304 FB_MotionStage - 644031744 + 643778496 Main.M13 @@ -87873,13 +87681,13 @@ PMPS State Stage; bPowerSelf:=False - 644330048 + 644076800 Main.fbMotionStage_m13 298304 FB_MotionStage - 644355968 + 644102720 Main.M14 @@ -87910,13 +87718,13 @@ PMPS State Stage; bPowerSelf:=False - 644654272 + 644401024 Main.fbMotionStage_m14 298304 FB_MotionStage - 644680192 + 644426944 Main.M15 @@ -87947,13 +87755,13 @@ PMPS State Stage; bPowerSelf:=False - 644978496 + 644725248 Main.fbMotionStage_m15 298304 FB_MotionStage - 645004416 + 644751168 Main.M16 @@ -87984,13 +87792,13 @@ PMPS State Stage; bPowerSelf:=False - 645302720 + 645049472 Main.fbMotionStage_m16 298304 FB_MotionStage - 645328640 + 645075392 Main.M17 @@ -88021,13 +87829,13 @@ PMPS State Stage; bPowerSelf:=False - 645626944 + 645373696 Main.fbMotionStageM17 298304 FB_MotionStage - 645652864 + 645399616 Main.M18 @@ -88058,13 +87866,13 @@ PMPS State Stage; bPowerSelf:=False - 645951168 + 645697920 Main.fbMotionStageM18 298304 FB_MotionStage - 645977088 + 645723840 Main.M19 @@ -88095,13 +87903,13 @@ PMPS State Stage; bPowerSelf:=False - 646275392 + 646022144 Main.fbMotionStageM19 298304 FB_MotionStage - 646301312 + 646048064 Main.M20 @@ -88132,13 +87940,13 @@ PMPS State Stage; bPowerSelf:=False - 646599616 + 646346368 Main.fbMotionStageM20 298304 FB_MotionStage - 646625536 + 646372288 Main.M21 @@ -88169,13 +87977,13 @@ PMPS State Stage; bPowerSelf:=False - 646923840 + 646670592 Main.fbMotionStageM21 298304 FB_MotionStage - 646949760 + 646696512 Main.M22 @@ -88206,13 +88014,13 @@ PMPS State Stage; bPowerSelf:=False - 647248064 + 646994816 Main.fbMotionStageM22 298304 FB_MotionStage - 647273984 + 647020736 Main.M23 @@ -88243,13 +88051,13 @@ PMPS State Stage; bPowerSelf:=False - 647572288 + 647319040 Main.fbMotionStageM23 298304 FB_MotionStage - 647598208 + 647344960 Main.M24 @@ -88280,13 +88088,13 @@ PMPS State Stage; bPowerSelf:=False - 647896512 + 647643264 Main.fbMotionStageM24 298304 FB_MotionStage - 647922432 + 647669184 Main.fbXRMSErrorM2K4 @@ -88302,19 +88110,19 @@ MR2K4 X ENC RMS - 648220736 + 647967488 Main.fMaxXRMSErrorM2K4 64 LREAL - 648607616 + 648354368 Main.fMinXRMSErrorM2K4 64 LREAL - 648607680 + 648354432 Main.fbYRMSErrorM2K4 @@ -88329,19 +88137,19 @@ MR2K4 X ENC RMS - 648607744 + 648354496 Main.fMaxYRMSErrorM2K4 64 LREAL - 648994624 + 648741376 Main.fMinYRMSErrorM2K4 64 LREAL - 648994688 + 648741440 Main.fbrYRMSErrorM2K4 @@ -88356,19 +88164,19 @@ MR2K4 X ENC RMS - 648994752 + 648741504 Main.fMaxrYRMSErrorM2K4 64 LREAL - 649381632 + 649128384 Main.fMinrYRMSErrorM2K4 64 LREAL - 649381696 + 649128448 Main.fbBendUSRMSErrorM2K4 @@ -88383,19 +88191,19 @@ MR2K4 X ENC RMS - 649381760 + 649128512 Main.fMaxBendUSRMSErrorM2K4 64 LREAL - 649768640 + 649515392 Main.fMinBendUSRMSErrorM2K4 64 LREAL - 649768704 + 649515456 Main.fbBendDSRMSErrorM2K4 @@ -88410,19 +88218,19 @@ MR2K4 X ENC RMS - 649768768 + 649515520 Main.fMaxBendDSRMSErrorM2K4 64 LREAL - 650155648 + 649902400 Main.fMinBendDSRMSErrorM2K4 64 LREAL - 650155712 + 649902464 Main.fbXRMSErrorM3K4 @@ -88437,19 +88245,19 @@ MR2K4 X ENC RMS - 650155776 + 649902528 Main.fMaxXRMSErrorM3K4 64 LREAL - 650542656 + 650289408 Main.fMinXRMSErrorM3K4 64 LREAL - 650542720 + 650289472 Main.fbYRMSErrorM3K4 @@ -88464,19 +88272,19 @@ MR2K4 X ENC RMS - 650542784 + 650289536 Main.fMaxYRMSErrorM3K4 64 LREAL - 650929664 + 650676416 Main.fMinYRMSErrorM3K4 64 LREAL - 650929728 + 650676480 Main.fbrXRMSErrorM3K4 @@ -88491,19 +88299,19 @@ MR2K4 X ENC RMS - 650929792 + 650676544 Main.fMaxrXRMSErrorM3K4 64 LREAL - 651316672 + 651063424 Main.fMinrXRMSErrorM3K4 64 LREAL - 651316736 + 651063488 Main.fbBendUSRMSErrorM3K4 @@ -88518,19 +88326,19 @@ MR2K4 X ENC RMS - 651316800 + 651063552 Main.fMaxBendUSRMSErrorM3K4 64 LREAL - 651703680 + 651450432 Main.fMinBendUSRMSErrorM3K4 64 LREAL - 651703744 + 651450496 Main.fbBendDSRMSErrorM3K4 @@ -88545,19 +88353,19 @@ MR2K4 X ENC RMS - 651703808 + 651450560 Main.fMaxBendDSRMSErrorM3K4 64 LREAL - 652090688 + 651837440 Main.fMinBendDSRMSErrorM3K4 64 LREAL - 652090752 + 651837504 Main.fbXRMSErrorM4K4 @@ -88572,19 +88380,19 @@ MR2K4 X ENC RMS - 652090816 + 651837568 Main.fMaxXRMSErrorM4K4 64 LREAL - 652477696 + 652224448 Main.fMinXRMSErrorM4K4 64 LREAL - 652477760 + 652224512 Main.fbYRMSErrorM4K4 @@ -88599,19 +88407,19 @@ MR2K4 X ENC RMS - 652477824 + 652224576 Main.fMaxYRMSErrorM4K4 64 LREAL - 652864704 + 652611456 Main.fMinYRMSErrorM4K4 64 LREAL - 652864768 + 652611520 Main.fbZRMSErrorM4K4 @@ -88626,19 +88434,19 @@ MR2K4 X ENC RMS - 652864832 + 652611584 Main.fMaxZRMSErrorM4K4 64 LREAL - 653251712 + 652998464 Main.fMinZRMSErrorM4K4 64 LREAL - 653251776 + 652998528 Main.fbPRMSErrorM4K4 @@ -88653,19 +88461,19 @@ MR2K4 X ENC RMS - 653251840 + 652998592 Main.fMaxPRMSErrorM4K4 64 LREAL - 653638720 + 653385472 Main.fMinPRMSErrorM4K4 64 LREAL - 653638784 + 653385536 Main.fbXRMSErrorM5K4 @@ -88680,19 +88488,19 @@ MR2K4 X ENC RMS - 653638848 + 653385600 Main.fMaxXRMSErrorM5K4 64 LREAL - 654025728 + 653772480 Main.fMinXRMSErrorM5K4 64 LREAL - 654025792 + 653772544 Main.fbYRMSErrorM5K4 @@ -88707,19 +88515,19 @@ MR2K4 X ENC RMS - 654025856 + 653772608 Main.fMaxYRMSErrorM5K4 64 LREAL - 654412736 + 654159488 Main.fMinYRMSErrorM5K4 64 LREAL - 654412800 + 654159552 Main.fbZRMSErrorM5K4 @@ -88734,19 +88542,19 @@ MR2K4 X ENC RMS - 654412864 + 654159616 Main.fMaxZRMSErrorM5K4 64 LREAL - 654799744 + 654546496 Main.fMinZRMSErrorM5K4 64 LREAL - 654799808 + 654546560 Main.fbPRMSErrorM5K4 @@ -88761,19 +88569,19 @@ MR2K4 X ENC RMS - 654799872 + 654546624 Main.fMaxPRMSErrorM5K4 64 LREAL - 655186752 + 654933504 Main.fMinPRMSErrorM5K4 64 LREAL - 655186816 + 654933568 Main.nEncRefXM2K4 @@ -88791,7 +88599,7 @@ MR2K4 X ENC REF - 655186880 + 654933632 Main.nEncRefYM2K4 @@ -88808,7 +88616,7 @@ MR2K4 X ENC REF - 655186912 + 654933664 Main.nEncRefrYM2K4 @@ -88825,7 +88633,7 @@ MR2K4 X ENC REF - 655186944 + 654933696 Main.nEncRefXM3K4 @@ -88842,7 +88650,7 @@ MR2K4 X ENC REF - 655186976 + 654933728 Main.nEncRefYM3K4 @@ -88859,7 +88667,7 @@ MR2K4 X ENC REF - 655187008 + 654933760 Main.nEncRefrXM3K4 @@ -88876,7 +88684,7 @@ MR2K4 X ENC REF - 655187040 + 654933792 Main.nEncCntXM2K4 @@ -88894,7 +88702,7 @@ MR2K4 X ENC CNT - 655187072 + 654933824 Main.nEncCntYM2K4 @@ -88911,7 +88719,7 @@ MR2K4 X ENC CNT - 655187104 + 654933856 Main.nEncCntrYM2K4 @@ -88928,7 +88736,7 @@ MR2K4 X ENC CNT - 655187136 + 654933888 Main.nEncCntXM3K4 @@ -88945,7 +88753,7 @@ MR2K4 X ENC CNT - 655187168 + 654933920 Main.nEncCntYM3K4 @@ -88962,7 +88770,7 @@ MR2K4 X ENC CNT - 655187200 + 654933952 Main.nEncCntrXM3K4 @@ -88979,7 +88787,7 @@ MR2K4 X ENC CNT - 655187232 + 654933984 Main.fM2K4US_RTD_1 @@ -88998,7 +88806,7 @@ MR2K4 X ENC CNT - 655187296 + 654934016 Main.fM2K4US_RTD_2 @@ -89015,7 +88823,7 @@ MR2K4 X ENC CNT - 655187328 + 654934048 Main.fM2K4US_RTD_3 @@ -89032,7 +88840,7 @@ MR2K4 X ENC CNT - 655187360 + 654934080 Main.fM2K4DS_RTD_1 @@ -89050,7 +88858,7 @@ MR2K4 X ENC CNT - 655187392 + 654934112 Main.fM2K4DS_RTD_2 @@ -89067,7 +88875,7 @@ MR2K4 X ENC CNT - 655187424 + 654934144 Main.fM2K4DS_RTD_3 @@ -89084,7 +88892,7 @@ MR2K4 X ENC CNT - 655187456 + 654934176 Main.fM3K4US_RTD_1 @@ -89102,7 +88910,7 @@ MR2K4 X ENC CNT - 655187488 + 654934208 Main.fM3K4US_RTD_2 @@ -89119,7 +88927,7 @@ MR2K4 X ENC CNT - 655187520 + 654934240 Main.fM3K4US_RTD_3 @@ -89136,7 +88944,7 @@ MR2K4 X ENC CNT - 655187552 + 654934272 Main.fM3K4DS_RTD_1 @@ -89154,7 +88962,7 @@ MR2K4 X ENC CNT - 655187584 + 654934304 Main.fM3K4DS_RTD_2 @@ -89171,27 +88979,108 @@ MR2K4 X ENC CNT - 655187616 + 654934336 PRG_PMPS.bMR1K1_IN fbOutputStates : FB_StateParams; 8 BOOL - 655187760 + 654934496 PRG_PMPS.bST3K4_IN 8 BOOL - 655187768 + 654934504 + + + PRG_PMPS.bMR1K3_IN + 8 + BOOL + 654934512 Main.fbLogHandler Logging 5784896 FB_LogHandler - 655187776 + 654934528 + + + PRG_States.fbMR1K4_Coating_States + 679424 + FB_Offset_Coating_States + + + .bBPOkAutoReset + true + + + + + pytmc + + pv: MR1K4:SOMS:COATING:STATE; + io: io; + + + + 660736768 + + + PRG_States.fbMR2K4_Coating_States + 679680 + FB_KBO_Coating_States + + + .bBPOkAutoReset + true + + + + + pytmc + + pv: MR2K4:KBO:COATING:STATE; + io: io; + + + + 661416192 + + + PRG_States.fbMR3K4_Coating_States + 679680 + FB_KBO_Coating_States + + + .bBPOkAutoReset + true + + + + + pytmc + + pv: MR3K4:KBO:COATING:STATE; + io: io; + + + + 662095872 + + + PRG_PMPS.fb_vetoArbiter + 27168 + FB_VetoArbiter + 662776160 + + + PRG_PMPS.fbArbiterIO + 138752 + FB_SubSysToArbiter_IO + 662803328 PRG_PMPS.ffFFO2ToFFO1 @@ -89215,7 +89104,7 @@ MR2K4 X ENC CNT 13 - 663184960 + 662942080 PRG_MR1K4_SOMS.fbCoolingPanel @@ -89237,7 +89126,7 @@ MR2K4 X ENC CNT - 663211200 + 662968320 PRG_MR2K4_KBO.fbCoolingPanel @@ -89258,7 +89147,7 @@ MR2K4 X ENC CNT - 663212480 + 662969536 PRG_MR3K4_KBO.fbCoolingPanel @@ -89279,7 +89168,152 @@ MR2K4 X ENC CNT - 663213312 + 662970368 + + + PRG_MR4K4_KBO.fbCoolingPanel + MR4K4 Flow Press Sensors + 832 + FB_Axilon_Cooling_1f1p + + + TcLinkTo + .fbFlow_1.iRaw := TIIB[EL3054_FWM_PRSM_MR45K4]^AI Standard Channel 1^Value; + .fbPress_1.iRaw := TIIB[EL3054_FWM_PRSM_MR45K4]^AI Standard Channel 2^Value + + + + pytmc + + pv: MR4K4:KBO + + + + 662971200 + + + PRG_MR5K4_KBO.fbCoolingPanel + MR5K4 Flow Press Sensors + 832 + FB_Axilon_Cooling_1f1p + + + TcLinkTo + .fbFlow_1.iRaw := TIIB[EL3054_FWM_PRSM_MR45K4]^AI Standard Channel 3^Value; + .fbPress_1.iRaw := TIIB[EL3054_FWM_PRSM_MR45K4]^AI Standard Channel 2^Value + + + + pytmc + + pv: MR5K4:KBO + + + + 662972032 + + + 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) +From M. Seaberg + + 192896 + FB_MirrorTwoCoatingProtection + + + .sDevName + MR1K4:SOMS + + + .nUpperCoatingBoundary + 19998960 + + + .sUpperCoatingType + SILICON + + + .nLowerCoatingBoundary + 15998960 + + + .sLowerCoatingType + B4C + + + 662973056 + + + 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) + + 192896 + FB_MirrorTwoCoatingProtection + + + .sDevName + MR2K4:KBO + + + .nUpperCoatingBoundary + 7776781 + + + .sUpperCoatingType + SILICON + + + .nLowerCoatingBoundary + 6976835 + + + .sLowerCoatingType + B4C + + + 663165952 + + + 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) + + 192896 + FB_MirrorTwoCoatingProtection + + + .sDevName + MR3K4:KBO + + + .nUpperCoatingBoundary + 5620000 + + + .sUpperCoatingType + B4C + + + .nLowerCoatingBoundary + 4820000 + + + .sLowerCoatingType + SILICON + + + 663358848 GVL_M1K4_Constants.nYUP_ENC_REF @@ -89294,7 +89328,7 @@ MR2K4 X ENC CNT TcVarGlobal - 663800192 + 663559296 GVL_M1K4_Constants.nYDWN_ENC_REF @@ -89308,7 +89342,7 @@ MR2K4 X ENC CNT TcVarGlobal - 663800256 + 663559360 GVL_M1K4_Constants.nXUP_ENC_REF @@ -89322,7 +89356,7 @@ MR2K4 X ENC CNT TcVarGlobal - 663800320 + 663559424 GVL_M1K4_Constants.nXDWN_ENC_REF @@ -89336,7 +89370,7 @@ MR2K4 X ENC CNT TcVarGlobal - 663800384 + 663559488 GVL_M2K4_Constants.nM2K4X_ENC_REF @@ -89351,7 +89385,7 @@ MR2K4 X ENC CNT TcVarGlobal - 663800512 + 663559616 GVL_M2K4_Constants.nM2K4Y_ENC_REF @@ -89365,7 +89399,7 @@ MR2K4 X ENC CNT TcVarGlobal - 663800576 + 663559680 GVL_M2K4_Constants.nM2K4rY_ENC_REF @@ -89379,7 +89413,7 @@ MR2K4 X ENC CNT TcVarGlobal - 663800640 + 663559744 Constants.bLittleEndian @@ -89394,7 +89428,7 @@ MR2K4 X ENC CNT TcVarGlobal - 663800752 + 663559912 Constants.bSimulationMode @@ -89409,7 +89443,22 @@ MR2K4 X ENC CNT TcVarGlobal - 663800760 + 663559920 + + + Constants.bFPUSupport + Does the target support multiple cores? + 8 + BOOL + + true + + + + TcVarGlobal + + + 663559928 GVL_M3K4_Constants.nM3K4X_ENC_REF @@ -89424,7 +89473,7 @@ MR2K4 X ENC CNT TcVarGlobal - 663800768 + 663559936 GVL_M3K4_Constants.nM3K4Y_ENC_REF @@ -89438,7 +89487,7 @@ MR2K4 X ENC CNT TcVarGlobal - 663800832 + 663560000 GVL_M3K4_Constants.nM3K4rX_ENC_REF @@ -89452,7 +89501,7 @@ MR2K4 X ENC CNT TcVarGlobal - 663800896 + 663560064 GVL_M4K4_RTD.nM4K4_Chin_Left_RTD @@ -89479,7 +89528,7 @@ MR2K4 X ENC CNT TcVarGlobal - 663800960 + 663560128 GVL_M4K4_RTD.nM4K4_Chin_Right_RTD @@ -89505,7 +89554,7 @@ MR2K4 X ENC CNT TcVarGlobal - 663801216 + 663560384 GVL_M4K4_RTD.nM4K4_Chin_Tail_RTD @@ -89531,7 +89580,7 @@ MR2K4 X ENC CNT TcVarGlobal - 663801472 + 663560640 GVL_M5K4_RTD.nM5K4_Chin_Left_RTD @@ -89558,7 +89607,7 @@ MR2K4 X ENC CNT TcVarGlobal - 663801728 + 663560896 GVL_M5K4_RTD.nM5K4_Chin_Right_RTD @@ -89584,7 +89633,7 @@ MR2K4 X ENC CNT TcVarGlobal - 663801984 + 663561152 GVL_M5K4_RTD.nM5K4_Chin_Tail_RTD @@ -89610,7 +89659,7 @@ MR2K4 X ENC CNT TcVarGlobal - 663802240 + 663561408 GVL_PMPS.g_FastFaultOutput1 @@ -89642,7 +89691,7 @@ MR2K4 X ENC CNT TcVarGlobal - 663802496 + 663561664 GVL_PMPS.g_FastFaultOutput2 @@ -89674,7 +89723,49 @@ MR2K4 X ENC CNT TcVarGlobal - 664297792 + 664056960 + + + GVL_PMPS.g_fbArbiter1 + Arbiter for devices upstream of ST1K4 (M1K4) + 474624 + FB_Arbiter + + + pytmc + + pv: PLC:TMO:OPTICS:ARB:01 + + + + old_input_assignments + + + TcVarGlobal + + + 664552256 + + + 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_assignments + + + TcVarGlobal + + + 665026880 Constants.RuntimeVersion @@ -89704,7 +89795,7 @@ MR2K4 X ENC CNT TcVarGlobal - 665742720 + 665501888 Constants.CompilerVersion @@ -89734,7 +89825,7 @@ MR2K4 X ENC CNT TcVarGlobal - 665742784 + 665501952 Constants.nRegisterSize @@ -89749,7 +89840,7 @@ MR2K4 X ENC CNT TcVarGlobal - 665742848 + 665502016 Constants.nPackMode @@ -89764,66 +89855,51 @@ MR2K4 X ENC CNT TcVarGlobal - 665742864 + 665502032 - Constants.bFPUSupport + Constants.RuntimeVersionNumeric Does the target support multiple cores? - 8 - BOOL - - true - - - - TcVarGlobal - - - 665742880 - - - Constants.bMulticoreSupport - 8 - BOOL + 32 + DWORD - false + 50662656 TcVarGlobal - 665742888 + 665502048 - Constants.RuntimeVersionNumeric + Constants.CompilerVersionNumeric Does the target support multiple cores? 32 DWORD - 50662656 + 50662696 TcVarGlobal - 665742912 + 665502080 - Constants.CompilerVersionNumeric - Does the target support multiple cores? - 32 - DWORD + Constants.bMulticoreSupport + 8 + BOOL - 50662696 + false TcVarGlobal - 665742944 + 665502112 TwinCAT_LicenseInfoVarList._LicenseInfo @@ -89944,7 +90020,7 @@ MR2K4 X ENC CNT TcVarGlobal - 665742976 + 665502144 TwinCAT_SystemInfoVarList._TaskInfo @@ -89962,7 +90038,7 @@ MR2K4 X ENC CNT TcVarGlobal - 665747072 + 665506240 TwinCAT_SystemInfoVarList._TaskPouOid_PlcTask @@ -89976,7 +90052,7 @@ MR2K4 X ENC CNT TcVarGlobal - 665750272 + 665509440 TwinCAT_SystemInfoVarList._TaskOid_PlcTask @@ -89990,7 +90066,7 @@ MR2K4 X ENC CNT TcVarGlobal - 665750304 + 665509472 TwinCAT_SystemInfoVarList.__PlcTask @@ -90011,7 +90087,7 @@ MR2K4 X ENC CNT TcVarGlobal - 665751744 + 665510912 TC_EVENT_CLASSES.TcSystemEventClass @@ -90083,7 +90159,7 @@ MR2K4 X ENC CNT TcVarGlobal - 665769472 + 665528640 TC_EVENT_CLASSES.TcGeneralAdsEventClass @@ -90155,7 +90231,7 @@ MR2K4 X ENC CNT TcVarGlobal - 665769600 + 665528768 TC_EVENT_CLASSES.TcRouterEventClass @@ -90227,7 +90303,7 @@ MR2K4 X ENC CNT TcVarGlobal - 665769728 + 665528896 TC_EVENT_CLASSES.TcRTimeEventClass @@ -90299,7 +90375,7 @@ MR2K4 X ENC CNT TcVarGlobal - 665769856 + 665529024 TC_EVENT_CLASSES.Win32EventClass @@ -90371,7 +90447,7 @@ MR2K4 X ENC CNT TcVarGlobal - 665769984 + 665529152 TC_EVENT_CLASSES.LCLSGeneralEventClass @@ -90443,260 +90519,184 @@ MR2K4 X ENC CNT TcVarGlobal - 665770112 + 665529280 - TC_EVENTS.LCLSGeneralEventClass - ST_LCLSGeneralEventClass - 960 - ST_LCLSGeneralEventClass - - - tc_no_symbol - unused - - - const_non_replaced - - - init_on_onlchange - - - suppress_warning_0 - C0228 - - - TcVarGlobal - - - 665803136 - - - PRG_PMPS.fb_vetoArbiter - 27168 - FB_VetoArbiter - 672613696 - - - PRG_States.fbMR1K4_Coating_States - 679424 - FB_Offset_Coating_States + TC_EVENT_CLASSES.TcIPCDiagEventClass + CC929187-3970-4CF4-8F39-946BEC12422D + 128 + GUID - .bBPOkAutoReset - true + .Data1 + 3432157575 - - - - pytmc - - pv: MR1K4:SOMS:COATING:STATE; - io: io; - - - - 672846464 - - - PRG_PMPS.fbArbiterIO - 138752 - FB_SubSysToArbiter_IO - 673525888 - - - PRG_States.fbMR2K4_Coating_States - 679680 - FB_KBO_Coating_States - - .bBPOkAutoReset - true + .Data2 + 14704 - - - - pytmc - - pv: MR2K4:KBO:COATING:STATE; - io: io; - - - - 674070976 - - - PRG_States.fbMR3K4_Coating_States - 679680 - FB_KBO_Coating_States - - .bBPOkAutoReset - true + .Data3 + 19700 - - - - pytmc - - pv: MR3K4:KBO:COATING:STATE; - io: io; - - - - 674750656 - - - 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) -From M. Seaberg - - 192896 - FB_MirrorTwoCoatingProtection - - .sDevName - MR1K4:SOMS + .Data4[0] + 143 - .nUpperCoatingBoundary - 19998960 + .Data4[1] + 57 - .sUpperCoatingType - SILICON + .Data4[2] + 148 - .nLowerCoatingBoundary - 15998960 + .Data4[3] + 107 - .sLowerCoatingType - B4C + .Data4[4] + 236 + + + .Data4[5] + 18 + + + .Data4[6] + 66 + + + .Data4[7] + 45 - 675430336 + + + TcTypeSystem + + + tc_no_symbol + unused;ST_TcIPCDiagEventClass + + + const_non_replaced + + + suppress_warning_0 + C0228 + + + TcVarGlobal + + + 665529408 - 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) - - 192896 - FB_MirrorTwoCoatingProtection + TC_EVENT_CLASSES.TcIPCDiagPlcApiEventClass + 20226F4C-54BA-479F-BA48-FBE52D0E9CD5 + 128 + GUID - .sDevName - MR2K4:KBO + .Data1 + 539127628 - .nUpperCoatingBoundary - 7776781 + .Data2 + 21690 - .sUpperCoatingType - SILICON + .Data3 + 18335 - .nLowerCoatingBoundary - 6976835 + .Data4[0] + 186 - .sLowerCoatingType - B4C + .Data4[1] + 72 - - 675623232 - - - 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) - - 192896 - FB_MirrorTwoCoatingProtection - - .sDevName - MR3K4:KBO + .Data4[2] + 251 - .nUpperCoatingBoundary - 5620000 + .Data4[3] + 229 - .sUpperCoatingType - B4C + .Data4[4] + 45 - .nLowerCoatingBoundary - 4820000 + .Data4[5] + 14 - .sLowerCoatingType - SILICON + .Data4[6] + 156 + + + .Data4[7] + 213 - 675816128 - - - GVL_PMPS.g_fbArbiter1 - Arbiter for devices upstream of ST1K4 (M1K4) - 474624 - FB_Arbiter - pytmc - - pv: PLC:TMO:OPTICS:ARB:01 - + TcTypeSystem - old_input_assignments + tc_no_symbol + unused;ST_TcIPCDiagPlcApiEventClass + + + const_non_replaced + + + suppress_warning_0 + C0228 TcVarGlobal - 676009024 + 665529536 - GVL_PMPS.g_fbArbiter2 - Arbiter for devices downstream of ST1K4 (TMO hutch optics) - 474624 - FB_Arbiter + TC_EVENTS.LCLSGeneralEventClass + ST_LCLSGeneralEventClass + 960 + ST_LCLSGeneralEventClass - pytmc - - pv: PLC:TMO:OPTICS:ARB:02 - + tc_no_symbol + unused - old_input_assignments + const_non_replaced + + + init_on_onlchange + + + suppress_warning_0 + C0228 TcVarGlobal - 676483648 + 665562560 36 PlcTask Retains 2 - 84869120 + 84213760 PMPS_GVL.SuccessfulPreemption Any time BPTM applies a new BP request which is confirmed @@ -90714,7 +90714,7 @@ Silicon surface: RBV <= 4820000: 0000_0000_0001_1110 (allow everything betwee TcVarGlobal - 8477632 + 8540512 PMPS_GVL.AccumulatedFF @@ -90733,7 +90733,7 @@ Silicon surface: RBV <= 4820000: 0000_0000_0001_1110 (allow everything betwee TcVarGlobal - 8477664 + 8540544 PMPS_GVL.BP_jsonDoc @@ -90744,7 +90744,7 @@ Silicon surface: RBV <= 4820000: 0000_0000_0001_1110 (allow everything betwee TcVarGlobal - 8477696 + 8540576 @@ -90782,7 +90782,7 @@ Silicon surface: RBV <= 4820000: 0000_0000_0001_1110 (allow everything betwee ChangeDate - 2024-06-20T09:45:05 + 2024-06-26T15:36:59 GeneratedCodeSize From 5572806aca749ca9508097c1afe1e6c130f9d1ff Mon Sep 17 00:00:00 2001 From: nwaters Date: Wed, 26 Jun 2024 16:55:37 -0700 Subject: [PATCH 5/7] ENH: veto fbArbiter1 with mr1k3 in --- lcls-plc-tmo-optics/tmo_optics/POUs/PRG_PMPS.TcPOU | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lcls-plc-tmo-optics/tmo_optics/POUs/PRG_PMPS.TcPOU b/lcls-plc-tmo-optics/tmo_optics/POUs/PRG_PMPS.TcPOU index 5dd51c1..2992521 100644 --- a/lcls-plc-tmo-optics/tmo_optics/POUs/PRG_PMPS.TcPOU +++ b/lcls-plc-tmo-optics/tmo_optics/POUs/PRG_PMPS.TcPOU @@ -37,9 +37,9 @@ bST3K4_IN := PMPS.PMPS_GVL.stCurrentBeamParameters.aVetoDevices[PMPS.K_Stopper.S bMR1K3_IN := PMPS.PMPS_GVL.stCurrentBeamParameters.aVetodevices[PMPS.K_Stopper.MR1K3_IN] AND NOT PMPS.PMPS_GVL.stCurrentBeamParameters.aVetoDevices[PMPS.K_Stopper.MR1K3_OUT]; -fbArbiterIO(i_bVeto:= bMR1K1_IN, Arbiter := GVL_PMPS.g_fbArbiter1, fbFFHWO := GVL_PMPS.g_FastFaultOutput1); +fbArbiterIO(i_bVeto:= bMR1K1_IN OR bMR1K3_IN, Arbiter := GVL_PMPS.g_fbArbiter1, fbFFHWO := GVL_PMPS.g_FastFaultOutput1); -GVL_PMPS.g_FastFaultOutput2.i_xVeto := bMR1K1_IN OR bST3K4_IN OR bMR1K3_IN; +GVL_PMPS.g_FastFaultOutput2.i_xVeto := bMR1K1_IN OR bST3K4_IN; GVL_PMPS.g_FastFaultOutput2.Execute(); From 3c62968218c1c283f662656bac9ca9000b65a4d6 Mon Sep 17 00:00:00 2001 From: nwaters Date: Thu, 27 Jun 2024 10:10:54 -0700 Subject: [PATCH 6/7] ENH: add MR1K3 as explicit veto for FastFault2 --- lcls-plc-tmo-optics/tmo_optics/POUs/PRG_PMPS.TcPOU | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lcls-plc-tmo-optics/tmo_optics/POUs/PRG_PMPS.TcPOU b/lcls-plc-tmo-optics/tmo_optics/POUs/PRG_PMPS.TcPOU index 2992521..802728e 100644 --- a/lcls-plc-tmo-optics/tmo_optics/POUs/PRG_PMPS.TcPOU +++ b/lcls-plc-tmo-optics/tmo_optics/POUs/PRG_PMPS.TcPOU @@ -39,7 +39,7 @@ bMR1K3_IN := PMPS.PMPS_GVL.stCurrentBeamParameters.aVetodevices[PMPS.K_Stopper.M fbArbiterIO(i_bVeto:= bMR1K1_IN OR bMR1K3_IN, Arbiter := GVL_PMPS.g_fbArbiter1, fbFFHWO := GVL_PMPS.g_FastFaultOutput1); -GVL_PMPS.g_FastFaultOutput2.i_xVeto := bMR1K1_IN OR bST3K4_IN; +GVL_PMPS.g_FastFaultOutput2.i_xVeto := bMR1K1_IN OR bST3K4_IN OR bMR1K3_IN; GVL_PMPS.g_FastFaultOutput2.Execute(); From c11ba4289584a15b6fd95d30f948a231faca9263 Mon Sep 17 00:00:00 2001 From: nwaters Date: Thu, 27 Jun 2024 15:45:42 -0700 Subject: [PATCH 7/7] STY: make fast fault veto parameter setting consistent --- lcls-plc-tmo-optics/tmo_optics/POUs/PRG_PMPS.TcPOU | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lcls-plc-tmo-optics/tmo_optics/POUs/PRG_PMPS.TcPOU b/lcls-plc-tmo-optics/tmo_optics/POUs/PRG_PMPS.TcPOU index 802728e..429fd86 100644 --- a/lcls-plc-tmo-optics/tmo_optics/POUs/PRG_PMPS.TcPOU +++ b/lcls-plc-tmo-optics/tmo_optics/POUs/PRG_PMPS.TcPOU @@ -39,12 +39,9 @@ bMR1K3_IN := PMPS.PMPS_GVL.stCurrentBeamParameters.aVetodevices[PMPS.K_Stopper.M fbArbiterIO(i_bVeto:= bMR1K1_IN OR bMR1K3_IN, Arbiter := GVL_PMPS.g_fbArbiter1, fbFFHWO := GVL_PMPS.g_FastFaultOutput1); -GVL_PMPS.g_FastFaultOutput2.i_xVeto := bMR1K1_IN OR bST3K4_IN OR bMR1K3_IN; - -GVL_PMPS.g_FastFaultOutput2.Execute(); - ffFFO2ToFFO1(i_xOK := GVL_PMPS.g_FastFaultOutput2.q_xFastFaultOut, io_fbFFHWO := GVL_PMPS.g_FastFaultOutput1); +GVL_PMPS.g_FastFaultOutput2.Execute(i_xVeto:= bMR1K1_IN OR bMR1K3_IN OR bST3K4_IN); GVL_PMPS.g_FastFaultOutput1.Execute(i_xVeto:= bMR1K1_IN OR bMR1K3_IN); fb_vetoArbiter(bVeto := GVL_PMPS.g_FastFaultOutput2.i_xVeto, HigherAuthority := GVL_PMPS.g_fbArbiter1, LowerAuthority:= GVL_PMPS.g_fbArbiter2,