diff --git a/lcls-plc-txi-optics/_Config/IO/Device 1 (EtherCAT).xti b/lcls-plc-txi-optics/_Config/IO/Device 1 (EtherCAT).xti index 80e84b0..aca5c86 100644 --- a/lcls-plc-txi-optics/_Config/IO/Device 1 (EtherCAT).xti +++ b/lcls-plc-txi-optics/_Config/IO/Device 1 (EtherCAT).xti @@ -41,6 +41,7 @@ + diff --git a/lcls-plc-txi-optics/_Config/IO/Device 1 (EtherCAT)/Term 1 (EK1200).xti b/lcls-plc-txi-optics/_Config/IO/Device 1 (EtherCAT)/Term 1 (EK1200).xti index af18eaf..9afa878 100644 --- a/lcls-plc-txi-optics/_Config/IO/Device 1 (EtherCAT)/Term 1 (EK1200).xti +++ b/lcls-plc-txi-optics/_Config/IO/Device 1 (EtherCAT)/Term 1 (EK1200).xti @@ -7,13 +7,13 @@ __FILENAME__ 1000 - + - + diff --git a/lcls-plc-txi-optics/_Config/IO/Device 1 (EtherCAT)/Term 1 (EK1200)/Term 2 (EL2202).xti b/lcls-plc-txi-optics/_Config/IO/Device 1 (EtherCAT)/Term 1 (EK1200)/PMPS_FFO.xti similarity index 94% rename from lcls-plc-txi-optics/_Config/IO/Device 1 (EtherCAT)/Term 1 (EK1200)/Term 2 (EL2202).xti rename to lcls-plc-txi-optics/_Config/IO/Device 1 (EtherCAT)/Term 1 (EK1200)/PMPS_FFO.xti index cfe5bf3..56e1c18 100644 --- a/lcls-plc-txi-optics/_Config/IO/Device 1 (EtherCAT)/Term 1 (EK1200)/Term 2 (EL2202).xti +++ b/lcls-plc-txi-optics/_Config/IO/Device 1 (EtherCAT)/Term 1 (EK1200)/PMPS_FFO.xti @@ -1,5 +1,5 @@ - - + + 424dd6020000000000003600000028000000100000000e0000000100180000000000a0020000120b0000120b00000000000000000000ff00ffff00ffff00ffff00ffff00ffff00ff808080808080808080808080808080ff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffc0c0c0000000c0c0c0000000808080ff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffc0c0c000ffffc0c0c000ffff808080ff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffc0c0c0c0c0c0c0c0c0c0c0c0808080ff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffc0c0c0000000c0c0c0000000808080ff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffc0c0c0ff0000c0c0c0ff0000808080ff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffff00ffc0c0c0c0c0c0c0c0c0c0c0c0808080ff00ffff00ffff00ffff00ffff00ff0000ff0000ff0000ff0000ff0000ff0000ffc0c0c0000000c0c0c0000000808080ff00ffff00ffff00ffff00ffff00ff0000ff0000ff0000ff0000ff0000ff0000ffc0c0c00000ffc0c0c00000ff808080ff00ffff00ffff00ffff00ffff00ff0000ff0000ff0000ff0000ff0000ff0000ffc0c0c0c0c0c0c0c0c0c0c0c0808080ff00ffff00ffff00ffff00ffff00ff0000ff0000ff0000ff0000ff0000ff0000ffc0c0c0000000c0c0c0000000808080ff00ffff00ffff00ffff00ffff00ff0000ff0000ff0000ff0000ff0000ff0000ffc0c0c0c0c0c0c0c0c0c0c0c0808080ff00ffff00ffff00ffff00ffff00ff0000ff0000ff0000ff0000ff0000ff0000ffc0c0c0008000c0c0c0008000808080ff00ffff00ffff00ffff00ffff00ff0000ff0000ff0000ff0000ff0000ff0000ffc0c0c0c0c0c0c0c0c0c0c0c0808080ff00ffff00ffff00ffff00ffff00ff @@ -9,6 +9,7 @@ 000f01004400010003000000000000000000000f44090000 0000000000000000000f00020100000001000000060000000000000000000000 + PMPS BIT diff --git a/lcls-plc-txi-optics/_Config/IO/Device 1 (EtherCAT)/Term 1 (EK1200)/PMPS_PRE.xti b/lcls-plc-txi-optics/_Config/IO/Device 1 (EtherCAT)/Term 1 (EK1200)/PMPS_PRE.xti new file mode 100644 index 0000000..361d6e1 --- /dev/null +++ b/lcls-plc-txi-optics/_Config/IO/Device 1 (EtherCAT)/Term 1 (EK1200)/PMPS_PRE.xti @@ -0,0 +1,1186 @@ + + + + + ARRAY [0..11] OF BIT + 12 + BIT + + 0 + 12 + + + + ARRAY [0..0] OF BIT + 1 + BIT + + 0 + 1 + + + + ARRAY [0..9] OF BIT + 10 + BIT + + 0 + 10 + + + + ARRAY [0..3] OF BYTE + 32 + BYTE + + 0 + 4 + + + + ST_PMPS_Attenuator_IO + 64 + + nTran + REAL + 32 + 0 + + + xAttOK + UINT + 16 + 32 + + + + + + + + + + + + + + + ST_PMPS_Aperture_IO + 96 + + Width + REAL + + 32 + 0 + + + plcAttribute_pytmc + pv: Width + io: i + field: EGU mm + + + + + Height + REAL + + 32 + 32 + + + plcAttribute_pytmc + pv: Height + io: i + field: EGU mm + + + + + xOK + BOOL + + 8 + 64 + + + plcAttribute_pytmc + pv: OK + io: i + + + + + + ST_BeamParams_IO + 1760 + + nTran + REAL + + 32 + 0 + + 0 + 1 + 1 + + + + plcAttribute_pytmc + pv: Attenuation + io: i + + + + + nRate + UDINT + + 32 + 32 + + 120 + + + + plcAttribute_pytmc + pv: Rate + io: i + + + + + neVRange + DWORD + + 32 + 64 + + 4294967295 + + + + plcAttribute_pytmc + pv: PhotonEnergy + io: i + + + plcAttribute_displaymode + binary + + + + + neV + REAL + + 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 + + + 1024 + 160 + + + plcAttribute_pytmc + pv: AuxAttenuator + io: i + + + + + astApertures + ST_PMPS_Aperture_IO + + 1 + 4 + + 384 + 1184 + + + aVetoDevices + BOOL + + 1 + 16 + + + 128 + 1568 + + + plcAttribute_pytmc + pv: AuxAttenuator + io: i + + + + + xValidToggle + BOOL + + 8 + 1696 + + + xValid + BOOL + + 8 + 1704 + + + plcAttribute_pytmc + pv: Valid + io: i + + + + + nCohortInt + UDINT + + 32 + 1728 + + + plcAttribute_pytmc + pv: Attenuation + io: i + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 424de6000000000000007600000028000000100000000e000000010004000000000070000000120b0000120b0000100000001000000000000000000080000080000000808000800000008000800080800000c0c0c000808080000000ff0000ff000000ffff00ff000000ff00ff00ffff0000ffffff00dddddd88888888dddddddd77777778dddddddd77888778dddddddd77888778dddddddd77888778dddddddd77777778dddddddd77888778dd9b9b9b77888778ddb9b9b977888778dd9b9b9b77777778ddb9b9b9777a7778dd9b9b9b777a7778ddb9b9b9777a7778dd9b9b9b77777778dd + + + __FILENAME__ + 1000 + + + + + + + BOOL + 1 + + + BYTE + 8 + + + UDINT + 32 + + + UINT + 16 + + + ULINT + 64 + + + USINT + 8 + + + ARRAY [0..219] OF BYTE + BYTE + 1760 + + 0 + 220 + + + + DT1A08 + 368 + + 0 + SubIndex 000 + USINT + 8 + 0 + + rw + o + + + + 1 + SubIndex 001 + UDINT + 32 + 16 + + rw + o + + + + 2 + SubIndex 002 + UDINT + 32 + 48 + + rw + o + + + + 3 + SubIndex 003 + UDINT + 32 + 80 + + rw + o + + + + 4 + SubIndex 004 + UDINT + 32 + 112 + + rw + o + + + + 5 + SubIndex 005 + UDINT + 32 + 144 + + rw + o + + + + 6 + SubIndex 006 + UDINT + 32 + 176 + + rw + o + + + + 7 + SubIndex 007 + UDINT + 32 + 208 + + rw + o + + + + 8 + SubIndex 008 + UDINT + 32 + 240 + + rw + o + + + + 9 + SubIndex 009 + UDINT + 32 + 272 + + rw + o + + + + 10 + SubIndex 010 + UDINT + 32 + 304 + + rw + o + + + + 11 + SubIndex 011 + UDINT + 32 + 336 + + rw + o + + + + + DT1608 + 272 + + 0 + SubIndex 000 + USINT + 8 + 0 + + rw + o + + + + 1 + SubIndex 001 + UDINT + 32 + 16 + + rw + o + + + + 2 + SubIndex 002 + UDINT + 32 + 48 + + rw + o + + + + 3 + SubIndex 003 + UDINT + 32 + 80 + + rw + o + + + + 4 + SubIndex 004 + UDINT + 32 + 112 + + rw + o + + + + 5 + SubIndex 005 + UDINT + 32 + 144 + + rw + o + + + + 6 + SubIndex 006 + UDINT + 32 + 176 + + rw + o + + + + 7 + SubIndex 007 + UDINT + 32 + 208 + + rw + o + + + + 8 + SubIndex 008 + UDINT + 32 + 240 + + rw + o + + + + + DT1C12ARR + UINT + 16 + + 1 + 1 + + + + DT1C12 + 32 + + 0 + SubIndex 000 + USINT + 8 + 0 + + rw + o + + + + Elements + DT1C12ARR + 16 + 16 + + rw + o + + + + + DT1C13ARR + UINT + 32 + + 1 + 2 + + + + DT1C13 + 48 + + 0 + SubIndex 000 + USINT + 8 + 0 + + rw + o + + + + Elements + DT1C13ARR + 32 + 16 + + rw + o + + + + + DT6000 + 1912 + + 0 + SubIndex 000 + USINT + 8 + 0 + + rw + o + + + + 1 + RequestedBP + ARRAY [0..219] OF BYTE + 1760 + 16 + + rw + o + R + + + + 2 + MR1K3_Y_ENC + ULINT + 64 + 1776 + + rw + o + R + + + + 3 + MR2K3_Y_ENC + ULINT + 64 + 1840 + + rw + o + R + + + + 4 + FFO + BOOL + 8 + 1904 + + rw + o + R + + + + + DT7000 + 1776 + + 0 + SubIndex 000 + USINT + 8 + 0 + + ro + o + + + + 1 + CurrentBP + ARRAY [0..219] OF BYTE + 1760 + 16 + + ro + o + T + + + + + + + #x1a08 + IO Outputs + DT1A08 + 368 + + + SubIndex 000 + + 0b + + + + SubIndex 001 + + f0010060 + + + + SubIndex 002 + + f0000000 + + + + SubIndex 003 + + f0000000 + + + + SubIndex 004 + + f0000000 + + + + SubIndex 005 + + f0000000 + + + + SubIndex 006 + + f0000000 + + + + SubIndex 007 + + f0000000 + + + + SubIndex 008 + + 50000000 + + + + SubIndex 009 + + 40020060 + + + + SubIndex 010 + + 40030060 + + + + SubIndex 011 + + 08040060 + + + + + ro + o + + + + #x1608 + IO Inputs + DT1608 + 272 + + + SubIndex 000 + + 08 + + + + SubIndex 001 + + f0010070 + + + + SubIndex 002 + + f0000000 + + + + SubIndex 003 + + f0000000 + + + + SubIndex 004 + + f0000000 + + + + SubIndex 005 + + f0000000 + + + + SubIndex 006 + + f0000000 + + + + SubIndex 007 + + f0000000 + + + + SubIndex 008 + + 50000000 + + + + + ro + o + + + + #x1c12 + RxPDO assign + DT1C12 + 32 + + + SubIndex 000 + + #x0 + #x1 + #x1 + + + + SubIndex 001 + + 0816 + + + + + ro + o + + + + #x1c13 + TxPDO assign + DT1C13 + 48 + + + SubIndex 000 + + #x0 + #x2 + #x2 + + + + SubIndex 001 + + 011a + + + + SubIndex 002 + + 081a + + + + + ro + o + + + + #x6000 + Outputs + DT6000 + 1912 + + + SubIndex 000 + + #x0 + #xff + #x4 + + + + RequestedBP + + 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 + + + + MR1K3_Y_ENC + + 0000000000000000 + + + + MR2K3_Y_ENC + + 0000000000000000 + + + + FFO + + 00 + + + + + ro + o + + + + #x7000 + Inputs + DT7000 + 1776 + + + SubIndex 000 + + 01 + + + + CurrentBP + + 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 + + + + + ro + o + + + + + + + + + 0010000426000100010000008000da050004001026010000 + 0016000422000100020000008000da050004001622010000 + 001ced006400010003000000000000000000001c64010000 + 008ede002000010004000000000000000200008e20010000 + 0000000000000000001c00020100000001000000000000000000000000000000 + 0000000000000000008e00010100000002000000000000000000000000000000 + 00000000000000000d0800010100000003000000000000000000000000000000 + 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 + 0010140200141402 + PMPS + 4672656552756e0000000000000000004672656552756e00000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000 + 4443000000000000000000000000000044432d53796e6368726f6e000000000000000000000000000000000000000000000000000000000000000000000020030100000000000000000000000000000000000000000000000000000000000000 + + #x1a02 + #x1a03 + + ARRAY [0..11] OF BIT + + + BIT + + + + BIT + 0: Error]]> + + + ARRAY [0..0] OF BIT + + + BIT + + + + + #x1a01 + #x1a03 + + BIT2 + + + + ARRAY [0..9] OF BIT + + + BIT + + + + BIT + 0: Error]]> + + + BIT + + + + BIT + + + + ULINT + + + ULINT + + + ARRAY [0..3] OF BYTE + + + + #x1a01 + #x1a02 + + BIT2 + + + + ARRAY [0..9] OF BIT + + + BIT + + + + BIT + 0: Error]]> + + + BIT + + + + BIT + + + + UDINT + + + UDINT + + + ARRAY [0..3] OF BYTE + + + + + UINT + + + + + ST_BeamParams_IO + + + + + ST_BeamParams_IO + + + ULINT + + + ULINT + + + BOOL + + + + + + diff --git a/lcls-plc-txi-optics/_Config/IO/Device 1 (EtherCAT)/Term 1 (EK1200)/Term 4 (EL6695).xti b/lcls-plc-txi-optics/_Config/IO/Device 1 (EtherCAT)/Term 1 (EK1200)/Term 4 (EL6695).xti deleted file mode 100644 index ac104bc..0000000 --- a/lcls-plc-txi-optics/_Config/IO/Device 1 (EtherCAT)/Term 1 (EK1200)/Term 4 (EL6695).xti +++ /dev/null @@ -1,190 +0,0 @@ - - - - - ARRAY [0..11] OF BIT - 12 - BIT - - 0 - 12 - - - - ARRAY [0..0] OF BIT - 1 - BIT - - 0 - 1 - - - - ARRAY [0..9] OF BIT - 10 - BIT - - 0 - 10 - - - - - 424de6000000000000007600000028000000100000000e000000010004000000000070000000120b0000120b0000100000001000000000000000000080000080000000808000800000008000800080800000c0c0c000808080000000ff0000ff000000ffff00ff000000ff00ff00ffff0000ffffff00dddddd88888888dddddddd77777778dddddddd77888778dddddddd77888778dddddddd77888778dddddddd77777778dddddddd77888778dd9b9b9b77888778ddb9b9b977888778dd9b9b9b77777778ddb9b9b9777a7778dd9b9b9b777a7778ddb9b9b9777a7778dd9b9b9b77777778dd - - - __FILENAME__ - 1000 - - 0010000426000100010000008000da050004001026010000 - 0016000422000100020000008000da050004001622010000 - 001c00006400000003000000000000000000001c64010000 - 008e02002000010004000000000000000200008e20010000 - 0000000000000000000000020000000001000000000000000000000000000000 - 0000000000000000008e00010100000002000000000000000000000000000000 - 00000000000000000d0800010100000003000000000000000000000000000000 - 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 - 0010140200141402 - 4672656552756e0000000000000000004672656552756e00000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000 - 4443000000000000000000000000000044432d53796e6368726f6e000000000000000000000000000000000000000000000000000000000000000000000020030100000000000000000000000000000000000000000000000000000000000000 - - #x1a02 - #x1a03 - - ARRAY [0..11] OF BIT - - - BIT - - - - - - BIT - - 0: Error]]> - - - - ARRAY [0..0] OF BIT - - - BIT - - - - - - - #x1a01 - #x1a03 - - BIT2 - - - - - - ARRAY [0..9] OF BIT - - - BIT - - - - - - BIT - - 0: Error]]> - - - - BIT - - - - - - BIT - - - - - - ULINT - - - ULINT - - - UDINT - - - - #x1a01 - #x1a02 - - BIT2 - - - - - - ARRAY [0..9] OF BIT - - - BIT - - - - - - BIT - - 0: Error]]> - - - - BIT - - - - - - BIT - - - - - - UDINT - - - UDINT - - - UDINT - - - - - UINT - - - - - - - - diff --git a/lcls-plc-txi-optics/_Config/NC/Axes/M1K3-Pitch.xti b/lcls-plc-txi-optics/_Config/NC/Axes/M1K3-Pitch.xti index b843c6f..dc95189 100644 --- a/lcls-plc-txi-optics/_Config/NC/Axes/M1K3-Pitch.xti +++ b/lcls-plc-txi-optics/_Config/NC/Axes/M1K3-Pitch.xti @@ -1,5 +1,5 @@ - - + + UINTARR2_2 @@ -272,15 +272,13 @@ nState4 USINT - - - +]]> 8 88 @@ -329,6 +327,8 @@ Drive Status 4 (manually linked): nState8 USINT + 8 248 @@ -499,7 +499,7 @@ Drive Status 4 (manually linked): - PLCTONC_AXIS_REF + PLCTONC_AXIS_REF_OLD 1024 ControlDWord @@ -622,7 +622,7 @@ Drive Status 4 (manually linked): - NCTOPLC_AXIS_REF_STATE + NCTOPLC_AXIS_REF_STATE_OLD 32 Operational @@ -1014,11 +1014,11 @@ Drive Status 4 (manually linked): - NCTOPLC_AXIS_REF + NCTOPLC_AXIS_REF_OLD4 2048 StateDWord - NCTOPLC_AXIS_REF_STATE + NCTOPLC_AXIS_REF_STATE_OLD 32 0 @@ -1031,8 +1031,7 @@ Drive Status 4 (manually linked): AxisState UDINT - - - +]]> 32 64 @@ -1060,8 +1058,7 @@ External Setpoint Generation: HomingState UDINT - - - +]]> 32 128 CoupleState UDINT - - - +]]> 32 160 @@ -1310,13 +1304,13 @@ External Setpoint Generation: NCAXLESTRUCT_TOPLC4 - + - + - + @@ -1331,6 +1325,8 @@ External Setpoint Generation: + + @@ -1339,28 +1335,23 @@ External Setpoint Generation: In NCENCODERSTRUCT_IN3 - 8960 nState1 - - - +]]> nComState - - - +]]> @@ -1369,7 +1360,6 @@ External Setpoint Generation: Out NCENCODERSTRUCT_OUT3 - 14080 @@ -1383,25 +1373,12 @@ External Setpoint Generation: In NCDRIVESTRUCT_IN2 - 9600 nDataIn1 nDataIn2 - - nState4 - - - - nDataIn3 @@ -1421,7 +1398,6 @@ Drive Status 4 (manually linked): Out NCDRIVESTRUCT_OUT2 - 14720 nDataOut1 @@ -1430,23 +1406,19 @@ Drive Status 4 (manually linked): nCtrl2 - - - +]]> nCtrl3 - - - +]]> nDataOut3 @@ -1474,61 +1446,14 @@ Drive Status 4 (manually linked): Inputs FromPlc - PLCTONC_AXIS_REF - 7936 + PLCTONC_AXIS_REF_OLD Outputs ToPlc - NCTOPLC_AXIS_REF - 12032 - - AxisState - - - - - - HomingState - - - - - - CoupleState - - - - + NCTOPLC_AXIS_REF_OLD4 @@ -1536,14 +1461,14 @@ External Setpoint Generation: - + - + @@ -1551,7 +1476,7 @@ External Setpoint Generation: - + @@ -1559,8 +1484,8 @@ External Setpoint Generation: - - + + diff --git a/lcls-plc-txi-optics/_Config/NC/Axes/M1K3-Xdwn.xti b/lcls-plc-txi-optics/_Config/NC/Axes/M1K3-Xdwn.xti index 4dd18b0..8f1c931 100644 --- a/lcls-plc-txi-optics/_Config/NC/Axes/M1K3-Xdwn.xti +++ b/lcls-plc-txi-optics/_Config/NC/Axes/M1K3-Xdwn.xti @@ -1,5 +1,5 @@ - - + + UINTARR2_2 @@ -272,15 +272,13 @@ nState4 USINT - - - +]]> 8 88 @@ -329,6 +327,8 @@ Drive Status 4 (manually linked): nState8 USINT + 8 248 @@ -499,7 +499,7 @@ Drive Status 4 (manually linked): - PLCTONC_AXIS_REF + PLCTONC_AXIS_REF_OLD 1024 ControlDWord @@ -622,7 +622,7 @@ Drive Status 4 (manually linked): - NCTOPLC_AXIS_REF_STATE + NCTOPLC_AXIS_REF_STATE_OLD 32 Operational @@ -1014,11 +1014,11 @@ Drive Status 4 (manually linked): - NCTOPLC_AXIS_REF + NCTOPLC_AXIS_REF_OLD4 2048 StateDWord - NCTOPLC_AXIS_REF_STATE + NCTOPLC_AXIS_REF_STATE_OLD 32 0 @@ -1031,8 +1031,7 @@ Drive Status 4 (manually linked): AxisState UDINT - - - +]]> 32 64 @@ -1060,8 +1058,7 @@ External Setpoint Generation: HomingState UDINT - - - +]]> 32 128 CoupleState UDINT - - - +]]> 32 160 @@ -1310,13 +1304,13 @@ External Setpoint Generation: NCAXLESTRUCT_TOPLC4 - + - + - + @@ -1340,28 +1334,23 @@ External Setpoint Generation: In NCENCODERSTRUCT_IN3 - 6976 nState1 - - - +]]> nComState - - - +]]> @@ -1370,7 +1359,6 @@ External Setpoint Generation: Out NCENCODERSTRUCT_OUT3 - 11072 @@ -1384,25 +1372,12 @@ External Setpoint Generation: In NCDRIVESTRUCT_IN2 - 7616 nDataIn1 nDataIn2 - - nState4 - - - - nDataIn3 @@ -1422,7 +1397,6 @@ Drive Status 4 (manually linked): Out NCDRIVESTRUCT_OUT2 - 11712 nDataOut1 @@ -1431,23 +1405,19 @@ Drive Status 4 (manually linked): nCtrl2 - - - +]]> nCtrl3 - - - +]]> nDataOut3 @@ -1475,61 +1445,14 @@ Drive Status 4 (manually linked): Inputs FromPlc - PLCTONC_AXIS_REF - 5952 + PLCTONC_AXIS_REF_OLD Outputs ToPlc - NCTOPLC_AXIS_REF - 9024 - - AxisState - - - - - - HomingState - - - - - - CoupleState - - - - + NCTOPLC_AXIS_REF_OLD4 @@ -1537,14 +1460,14 @@ External Setpoint Generation: - + - + @@ -1552,7 +1475,7 @@ External Setpoint Generation: - + @@ -1560,8 +1483,8 @@ External Setpoint Generation: - - + + diff --git a/lcls-plc-txi-optics/_Config/NC/Axes/M1K3-Xup.xti b/lcls-plc-txi-optics/_Config/NC/Axes/M1K3-Xup.xti index aafabe9..9f09a91 100644 --- a/lcls-plc-txi-optics/_Config/NC/Axes/M1K3-Xup.xti +++ b/lcls-plc-txi-optics/_Config/NC/Axes/M1K3-Xup.xti @@ -1,5 +1,5 @@ - - + + UINTARR2_2 @@ -272,15 +272,13 @@ nState4 USINT - - - +]]> 8 88 @@ -329,6 +327,8 @@ Drive Status 4 (manually linked): nState8 USINT + 8 248 @@ -499,7 +499,7 @@ Drive Status 4 (manually linked): - PLCTONC_AXIS_REF + PLCTONC_AXIS_REF_OLD 1024 ControlDWord @@ -622,7 +622,7 @@ Drive Status 4 (manually linked): - NCTOPLC_AXIS_REF_STATE + NCTOPLC_AXIS_REF_STATE_OLD 32 Operational @@ -1014,11 +1014,11 @@ Drive Status 4 (manually linked): - NCTOPLC_AXIS_REF + NCTOPLC_AXIS_REF_OLD4 2048 StateDWord - NCTOPLC_AXIS_REF_STATE + NCTOPLC_AXIS_REF_STATE_OLD 32 0 @@ -1031,8 +1031,7 @@ Drive Status 4 (manually linked): AxisState UDINT - - - +]]> 32 64 @@ -1060,8 +1058,7 @@ External Setpoint Generation: HomingState UDINT - - - +]]> 32 128 CoupleState UDINT - - - +]]> 32 160 @@ -1310,13 +1304,13 @@ External Setpoint Generation: NCAXLESTRUCT_TOPLC4 - + - + - + @@ -1340,28 +1334,23 @@ External Setpoint Generation: In NCENCODERSTRUCT_IN3 - 4992 nState1 - - - +]]> nComState - - - +]]> @@ -1370,7 +1359,6 @@ External Setpoint Generation: Out NCENCODERSTRUCT_OUT3 - 8064 @@ -1384,25 +1372,12 @@ External Setpoint Generation: In NCDRIVESTRUCT_IN2 - 5632 nDataIn1 nDataIn2 - - nState4 - - - - nDataIn3 @@ -1422,7 +1397,6 @@ Drive Status 4 (manually linked): Out NCDRIVESTRUCT_OUT2 - 8704 nDataOut1 @@ -1431,23 +1405,19 @@ Drive Status 4 (manually linked): nCtrl2 - - - +]]> nCtrl3 - - - +]]> nDataOut3 @@ -1475,61 +1445,14 @@ Drive Status 4 (manually linked): Inputs FromPlc - PLCTONC_AXIS_REF - 3968 + PLCTONC_AXIS_REF_OLD Outputs ToPlc - NCTOPLC_AXIS_REF - 6016 - - AxisState - - - - - - HomingState - - - - - - CoupleState - - - - + NCTOPLC_AXIS_REF_OLD4 @@ -1537,14 +1460,14 @@ External Setpoint Generation: - + - + @@ -1552,7 +1475,7 @@ External Setpoint Generation: - + @@ -1560,8 +1483,8 @@ External Setpoint Generation: - - + + diff --git a/lcls-plc-txi-optics/_Config/NC/Axes/M1K3-Ydwn.xti b/lcls-plc-txi-optics/_Config/NC/Axes/M1K3-Ydwn.xti index a62dd78..bc70c0f 100644 --- a/lcls-plc-txi-optics/_Config/NC/Axes/M1K3-Ydwn.xti +++ b/lcls-plc-txi-optics/_Config/NC/Axes/M1K3-Ydwn.xti @@ -1,5 +1,5 @@ - - + + UINTARR2_2 @@ -272,15 +272,13 @@ nState4 USINT - - - +]]> 8 88 @@ -329,6 +327,8 @@ Drive Status 4 (manually linked): nState8 USINT + 8 248 @@ -499,7 +499,7 @@ Drive Status 4 (manually linked): - PLCTONC_AXIS_REF + PLCTONC_AXIS_REF_OLD 1024 ControlDWord @@ -622,7 +622,7 @@ Drive Status 4 (manually linked): - NCTOPLC_AXIS_REF_STATE + NCTOPLC_AXIS_REF_STATE_OLD 32 Operational @@ -1014,11 +1014,11 @@ Drive Status 4 (manually linked): - NCTOPLC_AXIS_REF + NCTOPLC_AXIS_REF_OLD4 2048 StateDWord - NCTOPLC_AXIS_REF_STATE + NCTOPLC_AXIS_REF_STATE_OLD 32 0 @@ -1031,8 +1031,7 @@ Drive Status 4 (manually linked): AxisState UDINT - - - +]]> 32 64 @@ -1060,8 +1058,7 @@ External Setpoint Generation: HomingState UDINT - - - +]]> 32 128 CoupleState UDINT - - - +]]> 32 160 @@ -1310,13 +1304,13 @@ External Setpoint Generation: NCAXLESTRUCT_TOPLC4 - + - + - + @@ -1331,8 +1325,8 @@ External Setpoint Generation: - - + + @@ -1340,28 +1334,23 @@ External Setpoint Generation: In NCENCODERSTRUCT_IN3 - 3008 nState1 - - - +]]> nComState - - - +]]> @@ -1370,7 +1359,6 @@ External Setpoint Generation: Out NCENCODERSTRUCT_OUT3 - 5056 @@ -1384,25 +1372,12 @@ External Setpoint Generation: In NCDRIVESTRUCT_IN2 - 3648 nDataIn1 nDataIn2 - - nState4 - - - - nDataIn3 @@ -1422,7 +1397,6 @@ Drive Status 4 (manually linked): Out NCDRIVESTRUCT_OUT2 - 5696 nDataOut1 @@ -1431,23 +1405,19 @@ Drive Status 4 (manually linked): nCtrl2 - - - +]]> nCtrl3 - - - +]]> nDataOut3 @@ -1475,61 +1445,14 @@ Drive Status 4 (manually linked): Inputs FromPlc - PLCTONC_AXIS_REF - 1984 + PLCTONC_AXIS_REF_OLD Outputs ToPlc - NCTOPLC_AXIS_REF - 3008 - - AxisState - - - - - - HomingState - - - - - - CoupleState - - - - + NCTOPLC_AXIS_REF_OLD4 @@ -1537,14 +1460,14 @@ External Setpoint Generation: - + - + @@ -1552,7 +1475,7 @@ External Setpoint Generation: - + @@ -1560,8 +1483,8 @@ External Setpoint Generation: - - + + diff --git a/lcls-plc-txi-optics/_Config/NC/Axes/M1K3-Yup.xti b/lcls-plc-txi-optics/_Config/NC/Axes/M1K3-Yup.xti index 6cd9dc1..a35a9b0 100644 --- a/lcls-plc-txi-optics/_Config/NC/Axes/M1K3-Yup.xti +++ b/lcls-plc-txi-optics/_Config/NC/Axes/M1K3-Yup.xti @@ -1,5 +1,5 @@ - - + + UINTARR2_2 @@ -272,15 +272,13 @@ nState4 USINT - - - +]]> 8 88 @@ -329,6 +327,8 @@ Drive Status 4 (manually linked): nState8 USINT + 8 248 @@ -499,7 +499,7 @@ Drive Status 4 (manually linked): - PLCTONC_AXIS_REF + PLCTONC_AXIS_REF_OLD 1024 ControlDWord @@ -622,7 +622,7 @@ Drive Status 4 (manually linked): - NCTOPLC_AXIS_REF_STATE + NCTOPLC_AXIS_REF_STATE_OLD 32 Operational @@ -1014,11 +1014,11 @@ Drive Status 4 (manually linked): - NCTOPLC_AXIS_REF + NCTOPLC_AXIS_REF_OLD4 2048 StateDWord - NCTOPLC_AXIS_REF_STATE + NCTOPLC_AXIS_REF_STATE_OLD 32 0 @@ -1031,8 +1031,7 @@ Drive Status 4 (manually linked): AxisState UDINT - - - +]]> 32 64 @@ -1060,8 +1058,7 @@ External Setpoint Generation: HomingState UDINT - - - +]]> 32 128 CoupleState UDINT - - - +]]> 32 160 @@ -1310,13 +1304,13 @@ External Setpoint Generation: NCAXLESTRUCT_TOPLC4 - + - + - + @@ -1331,8 +1325,8 @@ External Setpoint Generation: - - + + @@ -1340,28 +1334,23 @@ External Setpoint Generation: In NCENCODERSTRUCT_IN3 - 1024 nState1 - - - +]]> nComState - - - +]]> @@ -1370,7 +1359,6 @@ External Setpoint Generation: Out NCENCODERSTRUCT_OUT3 - 2048 @@ -1384,25 +1372,12 @@ External Setpoint Generation: In NCDRIVESTRUCT_IN2 - 1664 nDataIn1 nDataIn2 - - nState4 - - - - nDataIn3 @@ -1422,7 +1397,6 @@ Drive Status 4 (manually linked): Out NCDRIVESTRUCT_OUT2 - 2688 nDataOut1 @@ -1431,23 +1405,19 @@ Drive Status 4 (manually linked): nCtrl2 - - - +]]> nCtrl3 - - - +]]> nDataOut3 @@ -1475,59 +1445,14 @@ Drive Status 4 (manually linked): Inputs FromPlc - PLCTONC_AXIS_REF + PLCTONC_AXIS_REF_OLD Outputs ToPlc - NCTOPLC_AXIS_REF - - AxisState - - - - - - HomingState - - - - - - CoupleState - - - - + NCTOPLC_AXIS_REF_OLD4 @@ -1535,14 +1460,14 @@ External Setpoint Generation: - + - + @@ -1550,7 +1475,7 @@ External Setpoint Generation: - + @@ -1558,8 +1483,8 @@ External Setpoint Generation: - - + + diff --git a/lcls-plc-txi-optics/_Config/NC/Axes/M2K3-Xdwn.xti b/lcls-plc-txi-optics/_Config/NC/Axes/M2K3-Xdwn.xti index bdbe1e6..d064d07 100644 --- a/lcls-plc-txi-optics/_Config/NC/Axes/M2K3-Xdwn.xti +++ b/lcls-plc-txi-optics/_Config/NC/Axes/M2K3-Xdwn.xti @@ -1,5 +1,5 @@ - - + + UINTARR2_2 @@ -272,15 +272,13 @@ nState4 USINT - - - +]]> 8 88 @@ -329,6 +327,8 @@ Drive Status 4 (manually linked): nState8 USINT + 8 248 @@ -499,7 +499,7 @@ Drive Status 4 (manually linked): - PLCTONC_AXIS_REF + PLCTONC_AXIS_REF_OLD 1024 ControlDWord @@ -622,7 +622,7 @@ Drive Status 4 (manually linked): - NCTOPLC_AXIS_REF_STATE + NCTOPLC_AXIS_REF_STATE_OLD 32 Operational @@ -1014,11 +1014,11 @@ Drive Status 4 (manually linked): - NCTOPLC_AXIS_REF + NCTOPLC_AXIS_REF_OLD4 2048 StateDWord - NCTOPLC_AXIS_REF_STATE + NCTOPLC_AXIS_REF_STATE_OLD 32 0 @@ -1031,8 +1031,7 @@ Drive Status 4 (manually linked): AxisState UDINT - - - +]]> 32 64 @@ -1060,8 +1058,7 @@ External Setpoint Generation: HomingState UDINT - - - +]]> 32 128 CoupleState UDINT - - - +]]> 32 160 @@ -1310,13 +1304,13 @@ External Setpoint Generation: NCAXLESTRUCT_TOPLC4 - + - + - + @@ -1324,6 +1318,7 @@ External Setpoint Generation: __FILENAME__ + @@ -1340,28 +1335,23 @@ External Setpoint Generation: In NCENCODERSTRUCT_IN3 - 16896 nState1 - - - +]]> nComState - - - +]]> @@ -1370,7 +1360,6 @@ External Setpoint Generation: Out NCENCODERSTRUCT_OUT3 - 26112 @@ -1384,25 +1373,12 @@ External Setpoint Generation: In NCDRIVESTRUCT_IN2 - 17536 nDataIn1 nDataIn2 - - nState4 - - - - nDataIn3 @@ -1422,7 +1398,6 @@ Drive Status 4 (manually linked): Out NCDRIVESTRUCT_OUT2 - 26752 nDataOut1 @@ -1431,23 +1406,19 @@ Drive Status 4 (manually linked): nCtrl2 - - - +]]> nCtrl3 - - - +]]> nDataOut3 @@ -1475,61 +1446,14 @@ Drive Status 4 (manually linked): Inputs FromPlc - PLCTONC_AXIS_REF - 15872 + PLCTONC_AXIS_REF_OLD Outputs ToPlc - NCTOPLC_AXIS_REF - 24064 - - AxisState - - - - - - HomingState - - - - - - CoupleState - - - - + NCTOPLC_AXIS_REF_OLD4 @@ -1537,14 +1461,14 @@ External Setpoint Generation: - + - + @@ -1552,7 +1476,7 @@ External Setpoint Generation: - + @@ -1560,8 +1484,8 @@ External Setpoint Generation: - - + + diff --git a/lcls-plc-txi-optics/_Config/NC/Axes/M2K3-Xup.xti b/lcls-plc-txi-optics/_Config/NC/Axes/M2K3-Xup.xti index 72b10a5..2623048 100644 --- a/lcls-plc-txi-optics/_Config/NC/Axes/M2K3-Xup.xti +++ b/lcls-plc-txi-optics/_Config/NC/Axes/M2K3-Xup.xti @@ -1,5 +1,5 @@ - - + + UINTARR2_2 @@ -272,15 +272,13 @@ nState4 USINT - - - +]]> 8 88 @@ -329,6 +327,8 @@ Drive Status 4 (manually linked): nState8 USINT + 8 248 @@ -499,7 +499,7 @@ Drive Status 4 (manually linked): - PLCTONC_AXIS_REF + PLCTONC_AXIS_REF_OLD 1024 ControlDWord @@ -622,7 +622,7 @@ Drive Status 4 (manually linked): - NCTOPLC_AXIS_REF_STATE + NCTOPLC_AXIS_REF_STATE_OLD 32 Operational @@ -1014,11 +1014,11 @@ Drive Status 4 (manually linked): - NCTOPLC_AXIS_REF + NCTOPLC_AXIS_REF_OLD4 2048 StateDWord - NCTOPLC_AXIS_REF_STATE + NCTOPLC_AXIS_REF_STATE_OLD 32 0 @@ -1031,8 +1031,7 @@ Drive Status 4 (manually linked): AxisState UDINT - - - +]]> 32 64 @@ -1060,8 +1058,7 @@ External Setpoint Generation: HomingState UDINT - - - +]]> 32 128 CoupleState UDINT - - - +]]> 32 160 @@ -1310,13 +1304,13 @@ External Setpoint Generation: NCAXLESTRUCT_TOPLC4 - + - + - + @@ -1324,6 +1318,7 @@ External Setpoint Generation: __FILENAME__ + @@ -1340,28 +1335,23 @@ External Setpoint Generation: In NCENCODERSTRUCT_IN3 - 14912 nState1 - - - +]]> nComState - - - +]]> @@ -1370,7 +1360,6 @@ External Setpoint Generation: Out NCENCODERSTRUCT_OUT3 - 23104 @@ -1384,25 +1373,12 @@ External Setpoint Generation: In NCDRIVESTRUCT_IN2 - 15552 nDataIn1 nDataIn2 - - nState4 - - - - nDataIn3 @@ -1422,7 +1398,6 @@ Drive Status 4 (manually linked): Out NCDRIVESTRUCT_OUT2 - 23744 nDataOut1 @@ -1431,23 +1406,19 @@ Drive Status 4 (manually linked): nCtrl2 - - - +]]> nCtrl3 - - - +]]> nDataOut3 @@ -1475,61 +1446,14 @@ Drive Status 4 (manually linked): Inputs FromPlc - PLCTONC_AXIS_REF - 13888 + PLCTONC_AXIS_REF_OLD Outputs ToPlc - NCTOPLC_AXIS_REF - 21056 - - AxisState - - - - - - HomingState - - - - - - CoupleState - - - - + NCTOPLC_AXIS_REF_OLD4 @@ -1537,14 +1461,14 @@ External Setpoint Generation: - + - + @@ -1552,7 +1476,7 @@ External Setpoint Generation: - + @@ -1560,8 +1484,8 @@ External Setpoint Generation: - - + + diff --git a/lcls-plc-txi-optics/_Config/NC/Axes/M2K3-Ydwn.xti b/lcls-plc-txi-optics/_Config/NC/Axes/M2K3-Ydwn.xti index 479916c..524bf58 100644 --- a/lcls-plc-txi-optics/_Config/NC/Axes/M2K3-Ydwn.xti +++ b/lcls-plc-txi-optics/_Config/NC/Axes/M2K3-Ydwn.xti @@ -1318,6 +1318,7 @@ External Setpoint Generation: __FILENAME__ + diff --git a/lcls-plc-txi-optics/_Config/NC/Axes/M2K3-Yup.xti b/lcls-plc-txi-optics/_Config/NC/Axes/M2K3-Yup.xti index 1e326df..ffbaa0d 100644 --- a/lcls-plc-txi-optics/_Config/NC/Axes/M2K3-Yup.xti +++ b/lcls-plc-txi-optics/_Config/NC/Axes/M2K3-Yup.xti @@ -1318,6 +1318,7 @@ External Setpoint Generation: __FILENAME__ + diff --git a/lcls-plc-txi-optics/_Config/PLC/txi_optics.xti b/lcls-plc-txi-optics/_Config/PLC/txi_optics.xti index b14dbb6..c56922e 100644 --- a/lcls-plc-txi-optics/_Config/PLC/txi_optics.xti +++ b/lcls-plc-txi-optics/_Config/PLC/txi_optics.xti @@ -883,6 +883,283 @@ External Setpoint Generation: 64 + + ST_PMPS_Attenuator_IO + 64 + + nTran + REAL + 32 + 0 + + + xAttOK + UINT + 16 + 32 + + + + + + + + + + + + + + + ST_PMPS_Aperture_IO + 96 + + Width + REAL + + 32 + 0 + + + plcAttribute_pytmc + pv: Width + io: i + field: EGU mm + + + + + Height + REAL + + 32 + 32 + + + plcAttribute_pytmc + pv: Height + io: i + field: EGU mm + + + + + xOK + BOOL + + 8 + 64 + + + plcAttribute_pytmc + pv: OK + io: i + + + + + + ST_BeamParams_IO + 1760 + + nTran + REAL + + 32 + 0 + + 0 + 1 + 1 + + + + plcAttribute_pytmc + pv: Attenuation + io: i + + + + + nRate + UDINT + + 32 + 32 + + 120 + + + + plcAttribute_pytmc + pv: Rate + io: i + + + + + neVRange + DWORD + + 32 + 64 + + 4294967295 + + + + plcAttribute_pytmc + pv: PhotonEnergy + io: i + + + plcAttribute_displaymode + binary + + + + + neV + REAL + + 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 + + + 1024 + 160 + + + plcAttribute_pytmc + pv: AuxAttenuator + io: i + + + + + astApertures + ST_PMPS_Aperture_IO + + 1 + 4 + + 384 + 1184 + + + aVetoDevices + BOOL + + 1 + 16 + + + 128 + 1568 + + + plcAttribute_pytmc + pv: AuxAttenuator + io: i + + + + + xValidToggle + BOOL + + 8 + 1696 + + + xValid + BOOL + + 8 + 1704 + + + plcAttribute_pytmc + pv: Valid + io: i + + + + + nCohortInt + UDINT + + 32 + 1728 + + + plcAttribute_pytmc + pv: Attenuation + io: i + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PLCTONC_AXIS_REF_CTRL 32 @@ -1072,7 +1349,7 @@ External Setpoint Generation: - + txi_optics Instance {08500001-0000-0000-F000-000000000064} @@ -1368,6 +1645,18 @@ External Setpoint Generation: MAIN.fbM1K3PitchControl.fbMotionStage.fbDriveVirtual.MasterAxis.NcToPlc NCTOPLC_AXIS_REF + + PRG_MR1K3_SOMS.bMR1K3_Y_ENC_Ready + BOOL + + + PRG_MR1K3_SOMS.bMR1K3_Y_ENC_TxPDO + BOOL + + + PRG_MR2K3_SOMS.bMR2K3_Y_ENC_Ready + BOOL + MAIN.M6.Axis.NcToPlc NCTOPLC_AXIS_REF @@ -1663,6 +1952,22 @@ External Setpoint Generation: INT + + PRG_2_PMPS_POST.fbArbiterIO.i_stCurrentBP + ST_BeamParams_IO + + + PRG_2_PMPS_POST.fbArbiterIO.xTxPDO_toggle + BIT + + + PRG_2_PMPS_POST.fbArbiterIO.xTxPDO_state + BIT + + + PRG_MR2K3_SOMS.bMR2K3_Y_ENC_TxPDO + BOOL + GVL_M1K3.M1K3_Pitch.diEncCnt @@ -1676,14 +1981,6 @@ External Setpoint Generation: PlcTask Outputs - - MAIN.bActivateVarCoolMR1K3 - BOOL - - - MAIN.bActivateVarCoolMR2K3 - BOOL - MAIN.M1.Axis.PlcToNc PLCTONC_AXIS_REF @@ -1749,6 +2046,14 @@ External Setpoint Generation: MAIN.fbM1K3PitchControl.fbMotionStage.fbDriveVirtual.MasterAxis.PlcToNc PLCTONC_AXIS_REF + + MAIN.bActivateVarCoolMR1K3 + BOOL + + + MAIN.bActivateVarCoolMR2K3 + BOOL + MAIN.M6.Axis.PlcToNc PLCTONC_AXIS_REF @@ -1818,6 +2123,22 @@ External Setpoint Generation: MAIN.fbMotionStage_m10.fbDriveVirtual.MasterAxis.PlcToNc PLCTONC_AXIS_REF + + PRG_2_PMPS_POST.fbArbiterIO.q_stRequestedBP + ST_BeamParams_IO + + + PRG_MR1K3_SOMS.nMR1K3_Y_ENC_PMPS + ULINT + + + PRG_MR2K3_SOMS.nMR2K3_Y_ENC_PMPS + ULINT + + + GVL_PMPS.fbFastFaultOutput1.q_xFastFaultOut + BOOL + PlcTask Retains @@ -1877,6 +2198,15 @@ External Setpoint Generation: + + + + + + + + + @@ -1891,14 +2221,19 @@ External Setpoint Generation: + + + + + @@ -1982,14 +2317,19 @@ External Setpoint Generation: + + + + + diff --git a/lcls-plc-txi-optics/txi_optics/GVLs/GVL_PMPS.TcGVL b/lcls-plc-txi-optics/txi_optics/GVLs/GVL_PMPS.TcGVL new file mode 100644 index 0000000..404826b --- /dev/null +++ b/lcls-plc-txi-optics/txi_optics/GVLs/GVL_PMPS.TcGVL @@ -0,0 +1,15 @@ + + + + + + \ No newline at end of file diff --git a/lcls-plc-txi-optics/txi_optics/POUs/MAIN.TcPOU b/lcls-plc-txi-optics/txi_optics/POUs/MAIN.TcPOU index d088f21..b7d4fcc 100644 --- a/lcls-plc-txi-optics/txi_optics/POUs/MAIN.TcPOU +++ b/lcls-plc-txi-optics/txi_optics/POUs/MAIN.TcPOU @@ -6,11 +6,12 @@ VAR // M1K3 // Motors {attribute 'TcLinkTo' := '.bLimitForwardEnable:=TIIB[EL7047_M1K3_Yup]^STM Status^Status^Digital input 1; - .bLimitBackwardEnable:=TIIB[EL7047_M1K3_Yup]^STM Status^Status^Digital input 2'} + .bLimitBackwardEnable:=TIIB[EL7047_M1K3_Yup]^STM Status^Status^Digital input 2; + .nRawEncoderULINT:=TIIB[EL5042_M1K3_Yupdwn]^FB Inputs Channel 1^Position'} {attribute 'pytmc' := ' pv: MR1K3:SOMS:MMS:YUP '} - M1 : DUT_MotionStage := (fVelocity:=100.0, nEnableMode:=ENUM_StageEnableMode.ALWAYS); // M1K3 Yup + M1 : DUT_MotionStage := (fVelocity:=100.0, nEnableMode:=ENUM_StageEnableMode.ALWAYS, bPowerSelf:=True); // M1K3 Yup fbMotionStage_m1 : FB_MotionStage; {attribute 'TcLinkTo' := '.bLimitForwardEnable:=TIIB[EL7047_M1K3_Ydwn]^STM Status^Status^Digital input 1; @@ -18,15 +19,16 @@ VAR {attribute 'pytmc' := ' pv: MR1K3:SOMS:MMS:YDWN '} - M2 : DUT_MotionStage := (fVelocity:=100.0, nEnableMode:=ENUM_StageEnableMode.ALWAYS); // M1K3 Ydwn + M2 : DUT_MotionStage := (fVelocity:=100.0, nEnableMode:=ENUM_StageEnableMode.ALWAYS, bPowerSelf:=True); // M1K3 Ydwn fbMotionStage_m2 : FB_MotionStage; {attribute 'TcLinkTo' := '.bLimitForwardEnable:=TIIB[EL7047_M1K3_Xup]^STM Status^Status^Digital input 1; - .bLimitBackwardEnable:=TIIB[EL7047_M1K3_Xup]^STM Status^Status^Digital input 2'} + .bLimitBackwardEnable:=TIIB[EL7047_M1K3_Xup]^STM Status^Status^Digital input 2; + .nRawEncoderULINT:=TIIB[EL5042_M1K3_Xupdwn]^FB Inputs Channel 1^Position'} {attribute 'pytmc' := ' pv: MR1K3:SOMS:MMS:XUP '} - M3 : DUT_MotionStage := (fVelocity:=300.0, nEnableMode:=ENUM_StageEnableMode.ALWAYS); // M1K3 Xup + M3 : DUT_MotionStage := (fVelocity:=300.0, nEnableMode:=ENUM_StageEnableMode.ALWAYS, bPowerSelf:=True); // M1K3 Xup fbMotionStage_m3 : FB_MotionStage; {attribute 'TcLinkTo' := '.bLimitForwardEnable:=TIIB[EL7047_M1K3_Xdwn]^STM Status^Status^Digital input 1; @@ -34,15 +36,16 @@ VAR {attribute 'pytmc' := ' pv: MR1K3:SOMS:MMS:XDWN '} - M4 : DUT_MotionStage := (fVelocity:=300.0, nEnableMode:=ENUM_StageEnableMode.ALWAYS); // M1K3 Xdwn + M4 : DUT_MotionStage := (fVelocity:=300.0, nEnableMode:=ENUM_StageEnableMode.ALWAYS, bPowerSelf:=True); // M1K3 Xdwn fbMotionStage_m4 : FB_MotionStage; {attribute 'TcLinkTo' := '.bLimitForwardEnable:=TIIB[EL7047_M1K3_PitchCoarse]^STM Status^Status^Digital input 1; - .bLimitBackwardEnable:=TIIB[EL7047_M1K3_PitchCoarse]^STM Status^Status^Digital input 2'} + .bLimitBackwardEnable:=TIIB[EL7047_M1K3_PitchCoarse]^STM Status^Status^Digital input 2; + .nRawEncoderULINT:=TIIB[EL5042_M1K3_Pitch]^FB Inputs Channel 1^Position'} {attribute 'pytmc' := ' pv: MR1K3:SOMS:MMS:PITCH '} - M5 : DUT_MotionStage := (fVelocity:=50.0); // M1K3 Pitch Stepper + M5 : DUT_MotionStage := (fVelocity:=50.0, bPowerSelf:=True); // M1K3 Pitch Stepper {attribute 'TcLinkTo' := '.fbRunHOMS.bSTOEnable1:=TIIB[EL1004_M1K3_STO]^Channel 1^Input; .fbRunHOMS.bSTOEnable2:=TIIB[EL1004_M1K3_STO]^Channel 2^Input; @@ -95,11 +98,12 @@ VAR // M2K3 // Motors {attribute 'TcLinkTo' := '.bLimitForwardEnable:=TIIB[EL7047_M2K3_Yup]^STM Status^Status^Digital input 1; - .bLimitBackwardEnable:=TIIB[EL7047_M2K3_Yup]^STM Status^Status^Digital input 2'} + .bLimitBackwardEnable:=TIIB[EL7047_M2K3_Yup]^STM Status^Status^Digital input 2; + .nRawEncoderULINT:=TIIB[EL5042_M2K3_Yupdwn]^FB Inputs Channel 1^Position'} {attribute 'pytmc' := ' pv: MR2K3:SOMS:MMS:YUP '} - M6 : DUT_MotionStage := (fVelocity:=100.0, nEnableMode:=ENUM_StageEnableMode.ALWAYS); // M2K3 Yup + M6 : DUT_MotionStage := (fVelocity:=100.0, nEnableMode:=ENUM_StageEnableMode.ALWAYS, bPowerSelf:=True); // M2K3 Yup fbMotionStage_m6 : FB_MotionStage; {attribute 'TcLinkTo' := '.bLimitForwardEnable:=TIIB[EL7047_M2K3_Ydwn]^STM Status^Status^Digital input 1; @@ -107,15 +111,16 @@ VAR {attribute 'pytmc' := ' pv: MR2K3:SOMS:MMS:YDWN '} - M7 : DUT_MotionStage := (fVelocity:=100.0, nEnableMode:=ENUM_StageEnableMode.ALWAYS); // M2K3 Ydwn + M7 : DUT_MotionStage := (fVelocity:=100.0, nEnableMode:=ENUM_StageEnableMode.ALWAYS, bPowerSelf:=True); // M2K3 Ydwn fbMotionStage_m7 : FB_MotionStage; {attribute 'TcLinkTo' := '.bLimitForwardEnable:=TIIB[EL7047_M2K3_Xup]^STM Status^Status^Digital input 1; - .bLimitBackwardEnable:=TIIB[EL7047_M2K3_Xup]^STM Status^Status^Digital input 2'} + .bLimitBackwardEnable:=TIIB[EL7047_M2K3_Xup]^STM Status^Status^Digital input 2; + .nRawEncoderULINT:=TIIB[EL5042_M2K3_Xupdwn]^FB Inputs Channel 1^Position'} {attribute 'pytmc' := ' pv: MR2K3:SOMS:MMS:XUP '} - M8 : DUT_MotionStage := (fVelocity:=150.0, nEnableMode:=ENUM_StageEnableMode.ALWAYS); // M2K3 Xup + M8 : DUT_MotionStage := (fVelocity:=150.0, nEnableMode:=ENUM_StageEnableMode.ALWAYS, bPowerSelf:=True); // M2K3 Xup fbMotionStage_m8 : FB_MotionStage; {attribute 'TcLinkTo' := '.bLimitForwardEnable:=TIIB[EL7047_M2K3_Xdwn]^STM Status^Status^Digital input 1; @@ -123,15 +128,16 @@ VAR {attribute 'pytmc' := ' pv: MR2K3:SOMS:MMS:XDWN '} - M9 : DUT_MotionStage := (fVelocity:=150.0, nEnableMode:=ENUM_StageEnableMode.ALWAYS); // M2K3 Xdwn + M9 : DUT_MotionStage := (fVelocity:=150.0, nEnableMode:=ENUM_StageEnableMode.ALWAYS, bPowerSelf:=True); // M2K3 Xdwn fbMotionStage_m9 : FB_MotionStage; {attribute 'TcLinkTo' := '.bLimitForwardEnable:=TIIB[EL7047_M2K3_PitchCoarse]^STM Status^Status^Digital input 1; - .bLimitBackwardEnable:=TIIB[EL7047_M2K3_PitchCoarse]^STM Status^Status^Digital input 2'} + .bLimitBackwardEnable:=TIIB[EL7047_M2K3_PitchCoarse]^STM Status^Status^Digital input 2; + .nRawEncoderULINT:=TIIB[EL5042_M2K3_Pitch]^FB Inputs Channel 1^Position'} {attribute 'pytmc' := ' pv: MR2K3:SOMS:MMS:PITCH '} - M10 : DUT_MotionStage := (fVelocity:=50.0, nEnableMode:=ENUM_StageEnableMode.ALWAYS); // M2K3 Pitch Stepper + M10 : DUT_MotionStage := (fVelocity:=50.0, nEnableMode:=ENUM_StageEnableMode.ALWAYS, bPowerSelf:=True); // M2K3 Pitch Stepper {attribute 'TcLinkTo' := '.fbRunHOMS.bSTOEnable1:=TIIB[EL1004_M2K3_STO]^Channel 1^Input; .fbRunHOMS.bSTOEnable2:=TIIB[EL1004_M2K3_STO]^Channel 2^Input; @@ -317,7 +323,8 @@ fbMotionStage_m10(stMotionStage:=M10); // MR1K3 Flow Pressure Sensors fbCoolingPanelMR1K3(); -fbCoolingPanelMR2K3();]]> +fbCoolingPanelMR2K3(); +PRG_1_PlcTask();]]> \ No newline at end of file diff --git a/lcls-plc-txi-optics/txi_optics/POUs/PRG_1_PlcTask.TcPOU b/lcls-plc-txi-optics/txi_optics/POUs/PRG_1_PlcTask.TcPOU new file mode 100644 index 0000000..410e99e --- /dev/null +++ b/lcls-plc-txi-optics/txi_optics/POUs/PRG_1_PlcTask.TcPOU @@ -0,0 +1,14 @@ + + + + + + + + + \ No newline at end of file diff --git a/lcls-plc-txi-optics/txi_optics/POUs/PRG_2_PMPS_POST.TcPOU b/lcls-plc-txi-optics/txi_optics/POUs/PRG_2_PMPS_POST.TcPOU new file mode 100644 index 0000000..a7784a9 --- /dev/null +++ b/lcls-plc-txi-optics/txi_optics/POUs/PRG_2_PMPS_POST.TcPOU @@ -0,0 +1,34 @@ + + + + + + + + + \ No newline at end of file diff --git a/lcls-plc-txi-optics/txi_optics/POUs/PRG_MR1K3_SOMS.TcPOU b/lcls-plc-txi-optics/txi_optics/POUs/PRG_MR1K3_SOMS.TcPOU new file mode 100644 index 0000000..0c28d8b --- /dev/null +++ b/lcls-plc-txi-optics/txi_optics/POUs/PRG_MR1K3_SOMS.TcPOU @@ -0,0 +1,18 @@ + + + + + + + + + \ No newline at end of file diff --git a/lcls-plc-txi-optics/txi_optics/POUs/PRG_MR2K3_SOMS.TcPOU b/lcls-plc-txi-optics/txi_optics/POUs/PRG_MR2K3_SOMS.TcPOU new file mode 100644 index 0000000..9d271aa --- /dev/null +++ b/lcls-plc-txi-optics/txi_optics/POUs/PRG_MR2K3_SOMS.TcPOU @@ -0,0 +1,18 @@ + + + + + + + + + \ No newline at end of file diff --git a/lcls-plc-txi-optics/txi_optics/txi_optics.plcproj b/lcls-plc-txi-optics/txi_optics/txi_optics.plcproj index b806019..90310d7 100644 --- a/lcls-plc-txi-optics/txi_optics/txi_optics.plcproj +++ b/lcls-plc-txi-optics/txi_optics/txi_optics.plcproj @@ -30,6 +30,10 @@ Code + + Code + true + Code @@ -42,6 +46,18 @@ Code + + Code + + + Code + + + Code + + + Code + Code @@ -64,6 +80,10 @@ LCLS General, * (SLAC) LCLS_General + + PMPS, * (SLAC - LCLS) + PMPS + Tc2_ControllerToolbox, * (Beckhoff Automation GmbH) Tc2_ControllerToolbox @@ -90,7 +110,7 @@ - + lcls_twincat_motion @@ -107,7 +127,10 @@ LCLS General, 2.10.0 (SLAC) - lcls-twincat-motion, 4.0.5 (SLAC) + lcls-twincat-motion, 4.1.1 (SLAC) + + + PMPS, 3.3.0 (SLAC - LCLS) diff --git a/lcls-plc-txi-optics/txi_optics/txi_optics.tmc b/lcls-plc-txi-optics/txi_optics/txi_optics.tmc index f4134aa..f950de8 100644 --- a/lcls-plc-txi-optics/txi_optics/txi_optics.tmc +++ b/lcls-plc-txi-optics/txi_optics/txi_optics.tmc @@ -1,5 +1,5 @@ - + ComSerialLineMode_t @@ -952,22 +952,6 @@ - - E_HashPrefixTypes - Integer to string format prefixes - 16 - INT - - HASHPREFIX_IEC - 0 - 2#, 8#, 16# - - - HASHPREFIX_STDC - 1 - 0 for octal type, 0x, 0X for hex else none - - T_MaxString TwinCAT PLC string of max. length of 255 bytes + 1 byte null delimiter. @@ -1184,15 +1168,15 @@ .tCtrlCycleTime - T#0MS + T .tTaskCycleTime - T#0MS + T .tTn - T#200MS + T .fKp @@ -2781,7 +2765,7 @@ 32 64 - TIME#1s0ms + TIME @@ -3075,7 +3059,7 @@ 32 64 - TIME#1S0MS + TIME @@ -3488,31 +3472,31 @@ bBusy BOOL 8 - 80134716 + 80347424 bError BOOL 8 - 80134752 + 80347460 hrErrorCode HRESULT 32 - 80134760 + 80347468 nStringSize UDINT 32 - 80134740 + 80347448 sResult STRING(255) 2048 - 80134756 + 80347464 TcEncoding @@ -4764,15 +4748,15 @@ nId UDINT 32 - 80134652 - 80134676 + 80347360 + 80347384 sName STRING(255) 2048 - 80134692 - 80134704 + 80347400 + 80347412 TcEncoding @@ -5013,31 +4997,31 @@ eSeverity TcEventSeverity 16 - 80134808 + 80347516 ipSourceInfo I_TcSourceInfo 32 - 80134788 + 80347496 nEventId UDINT 32 - 80134876 + 80347584 nUniqueId UDINT 32 - 80134880 + 80347588 sEventClassName STRING(255) 2048 - 80134836 + 80347544 TcEncoding @@ -5049,7 +5033,7 @@ sEventText STRING(255) 2048 - 80134884 + 80347592 TcEncoding @@ -5116,7 +5100,7 @@ 32 - UpdateLangId + OnArgumentsChanged __getipSourceInfo @@ -5314,9 +5298,6 @@ - - OnArgumentsChanged - __getsEventClassName STRING(255) @@ -5479,6 +5460,9 @@ + + UpdateLangId + EqualsToEventEntryEx returns TRUE if equal. @@ -5642,7 +5626,7 @@ nTimeSent ULINT 64 - 80134912 + 80347620 TcDisplayTypeGUID @@ -5964,7 +5948,7 @@ 32 58144 - T#1ms + T @@ -5980,7 +5964,7 @@ 32 58176 - T#100ms + T @@ -5996,7 +5980,7 @@ 32 58208 - T#10m + T @@ -6296,6 +6280,22 @@ + + E_HashPrefixTypes + Integer to string format prefixes + 16 + INT + + HASHPREFIX_IEC + 0 + 2#, 8#, 16# + + + HASHPREFIX_STDC + 1 + 0 for octal type, 0x, 0X for hex else none + + E_SBCSType Windows SBCS (Single Byte Character Set) Code Pages @@ -7254,21 +7254,22 @@ 32 - Open + Write - Opens a file + Writes the contents of the buffer into 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 + BufferPointer + Call with ADR(); + BYTE + 32 - FileAccessMode - ACCESS_MODE + Size + Call with SIZEOF(); + UDINT 32 @@ -7287,22 +7288,21 @@ - Write + Open - Writes the contents of the buffer into a file. + Opens a file RTS_IEC_RESULT 32 - BufferPointer - Call with ADR(); - BYTE - 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 - Size - Call with SIZEOF(); - UDINT + FileAccessMode + ACCESS_MODE 32 @@ -7501,62 +7501,75 @@ - Clear + Copy - Clears the buffer and sets the length to 0 + Copies a string from the character buffer - - Count + T_MaxString + 2048 + + StartPos UDINT 32 - - - - __setAppend - - Appends a string to the buffer - + - Append - - Appends a string to the buffer - - T_MaxString - 2048 + EndPos + UDINT + 32 + + + CopyLen + UDINT + 32 + + + ItemType + Output + + + + + XmlError + E_XmlError + 8 + + + ItemType + Output + + - ByteIn + Loop + UDINT + 32 + + + PointerToByteToCopy BYTE 32 - ByteBuffer + PointerToBuffer BYTE 32 - - - property - - + + CurPos + UDINT + 32 + - __getBufferSize + Clear - Read current Buffersize + Clears the buffer and sets the length to 0 - UDINT - 32 - BufferSize + Count UDINT 32 - - - property - - __setLength @@ -7577,6 +7590,24 @@ + + __getBufferSize + + Read current Buffersize + + UDINT + 32 + + BufferSize + UDINT + 32 + + + + property + + + SetBuffer BOOL @@ -7595,64 +7626,33 @@ - Copy + __setAppend - Copies a string from the character buffer + Appends a string to the buffer - T_MaxString - 2048 - - StartPos - UDINT - 32 - - - EndPos - UDINT - 32 - - - CopyLen - UDINT - 32 - - - ItemType - Output - - - - XmlError - E_XmlError - 8 - - - ItemType - Output - - + Append + + Appends a string to the buffer + + T_MaxString + 2048 - Loop - UDINT - 32 - - - PointerToByteToCopy + ByteIn BYTE 32 - PointerToBuffer + ByteBuffer BYTE 32 - - CurPos - UDINT - 32 - + + + property + + @@ -7855,6 +7855,13 @@ 2048 + + ToStartBuffer + + Jump to the beginning of the XML data + XML.ToStartBuffer(); + + NewTag @@ -7885,36 +7892,6 @@ 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 @@ -7930,6 +7907,12 @@ + + ClearBuffer + + Clears the contents of the entire buffer. + + NewTagData @@ -7938,6 +7921,20 @@ 2048 + + NewComment + + Adds a comment + XML: <!-- MyComment --> + + XML.NewComment(Comment: = 'MyComment'); + + + Comment + T_MaxString + 2048 + + SetBuffer @@ -7954,17 +7951,20 @@ - ClearBuffer - - Clears the contents of the entire buffer. - - - - ToStartBuffer + WriteDocumentHeader - Jump to the beginning of the XML data - XML.ToStartBuffer(); + 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 + @@ -8337,6 +8337,12 @@ SetFailed + + GetTestOrder + Gets in which order/sequence relative to the order tests should this test be executed/evaluated. + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 + SetName @@ -8350,14 +8356,6 @@ T_MaxString 2048 - - SetNumberOfAssertions - - NoOfAssertions - UINT - 16 - - SetTestOrder Sets in which order/sequence relative to the order tests should this test be executed/evaluated. @@ -8373,9 +8371,9 @@ 8 - GetNumberOfAssertions - UINT - 16 + IsFailed + BOOL + 8 SetFinished @@ -8415,15 +8413,17 @@ 8 - GetTestOrder - Gets in which order/sequence relative to the order tests should this test be executed/evaluated. - UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + GetNumberOfAssertions + UINT 16 - IsFailed - BOOL - 8 + SetNumberOfAssertions + + NoOfAssertions + UINT + 16 + @@ -9141,35 +9141,52 @@ 24640288 - CopyDetectionCountAndResetDetectionCountInThisCycle - - IteratorCounter - UINT + AddAssertResult + + ExpectedSize + UDINT + 32 + + + ExpectedTypeClass + TypeClass 16 - - - - GetNumberOfAssertsForTest - UINT - 16 + - CompleteTestInstancePath + ExpectedValue + BYTE + 32 + + + ActualSize + UDINT + 32 + + + ActualTypeClass + TypeClass + 16 + + + ActualValue + BYTE + 32 + + + Message + T_MaxString + 2048 + + + TestInstancePath T_MaxString 2048 - - Counter - UINT - 16 - - - NumberOfAsserts - UINT - 16 - - CreateAssertResultInstance + GetDetectionCountThisCycle + UINT + 16 ExpectedSize UDINT @@ -9217,9 +9234,27 @@ - GetDetectionCountThisCycle + GetNumberOfAssertsForTest UINT 16 + + CompleteTestInstancePath + T_MaxString + 2048 + + + Counter + UINT + 16 + + + NumberOfAsserts + UINT + 16 + + + + CreateAssertResultInstance ExpectedSize UDINT @@ -9443,47 +9478,12 @@ - AddAssertResult - - ExpectedSize - UDINT - 32 - - - ExpectedTypeClass - TypeClass - 16 - - - ExpectedValue - BYTE - 32 - - - ActualSize - UDINT - 32 - - - ActualTypeClass - TypeClass + CopyDetectionCountAndResetDetectionCountInThisCycle + + IteratorCounter + UINT 16 - - - ActualValue - BYTE - 32 - - - Message - T_MaxString - 2048 - - - TestInstancePath - T_MaxString - 2048 - + @@ -9628,6 +9628,14 @@ 8 8480224 + + CopyDetectionCountAndResetDetectionCountInThisCycle + + IteratorCounter + UINT + 16 + + CreateAssertResultInstance @@ -9667,7 +9675,7 @@ - GetDetectionCountThisCycle + GetDetectionCount UINT 16 @@ -9707,7 +9715,146 @@ - GetDetectionCount + 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 + + + + GetDetectionCountThisCycle UINT 16 @@ -9746,153 +9893,6 @@ 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 @@ -10454,21 +10454,21 @@ - AssertEquals_BYTE + AssertEquals_DWORD - Asserts that two BYTEs are equal. If they are not, an assertion error is created. + Asserts that two DWORDs are equal. If they are not, an assertion error is created. Expected - BYTE expected value - BYTE - 8 + DWORD expected value + DWORD + 32 Actual - BYTE actual value - BYTE - 8 + DWORD actual value + DWORD + 32 Message @@ -11204,317 +11204,6 @@ 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 @@ -11533,40 +11222,6 @@ 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 @@ -11827,20 +11482,14 @@ - AssertEquals_USINT + AssertTrue - Asserts that two USINTs are equal. If they are not, an assertion error is created. + Asserts that a condition is true. If it is not, an assertion error is created. - Expected - USINT expected value - USINT - 8 - - - Actual - USINT actual value - USINT + Condition + Condition to be checked + BOOL 8 @@ -11849,33 +11498,23 @@ T_MaxString 2048 - - AlreadyReported - BOOL - 8 - - - TestInstancePath - T_MaxString - 2048 - - AssertEquals_LWORD + AssertEquals_USINT - Asserts that two LWORDs are equal. If they are not, an assertion error is created. + Asserts that two USINTs are equal. If they are not, an assertion error is created. Expected - LWORD expected value - LWORD - 64 + USINT expected value + USINT + 8 Actual - LWORD actual value - LWORD - 64 + USINT actual value + USINT + 8 Message @@ -11883,26 +11522,26 @@ T_MaxString 2048 - - TestInstancePath - T_MaxString - 2048 - AlreadyReported BOOL 8 + + TestInstancePath + T_MaxString + 2048 + - AssertArrayEquals_USINT + AssertArray2dEquals_REAL - Asserts that two USINT arrays are equal. If they are not, an assertion error is created. + Asserts that two REAL 2D-arrays are equal to within a positive delta. If they are not, an assertion error is created. Expecteds - USINT array with expected values - USINT + REAL 2d array with expected values + REAL 32 @@ -11910,14 +11549,14 @@ Dimensions - 1 + 2 Actuals - USINT array with actual values - USINT + REAL 2d array with actual values + REAL 32 @@ -11925,10 +11564,16 @@ Dimensions - 1 + 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 @@ -11945,11 +11590,6 @@ BOOL 8 - - Index - DINT - 32 - ExpectedString T_MaxString @@ -11970,92 +11610,163 @@ 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 - 32 + + 1 + 2 + + 64 SizeOfActuals + Size of Actuals array in each dimension DINT - 32 + + 1 + 2 + + 64 - ExpectedsIndex + 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 - ActualsIndex + Actual + Single actual value + REAL + 32 + + + __Index__0 DINT 32 - SetHasStartedRunning - - - SetTestFailed + AssertEquals_BYTE + + Asserts that two BYTEs are equal. If they are not, an assertion error is created. + - AssertionType - E_AssertionType + Expected + BYTE expected value + BYTE 8 - AssertionMessage - T_MaxString - 2048 + Actual + BYTE actual value + BYTE + 8 - - IteratorCounter - UINT - 16 - - - NumberOfTestsToAnalyse - UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) - 16 - - - - GetInstancePath - T_MaxString - 2048 - - - GetTestOrderNumber - UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) - 16 - TestName + Message + The identifying message for the assertion error T_MaxString 2048 - IteratorCounter - UINT - 16 + TestInstancePath + T_MaxString + 2048 - NumberOfTestsToAnalyse - UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) - 16 + AlreadyReported + BOOL + 8 - GetNumberOfTests - UINT - 16 - - - AssertArrayEquals_DWORD + AssertArrayEquals_USINT - Asserts that two DWORD arrays are equal. If they are not, an assertion error is created. + Asserts that two USINT arrays are equal. If they are not, an assertion error is created. Expecteds - DWORD array with expected values - DWORD + USINT array with expected values + USINT 32 @@ -12069,8 +11780,452 @@ Actuals - DWORD array with actual values - DWORD + 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 + + + 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 + + + + + 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 @@ -12584,6 +12739,21 @@ 8 + + AddTestNameToInstancePath + T_MaxString + 2048 + + TestInstancePath + T_MaxString + 2048 + + + CompleteTestInstancePath + T_MaxString + 2048 + + SetTestFinished Marks the test as finished in this testsuite. @@ -13076,57 +13246,25 @@ - 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 - + GetTestOrderNumber + UINT (0..GVL_Param_TcUnit.MaxNumberOfTestsForEachTestSuite) + 16 - Message - The identifying message for the assertion error + TestName T_MaxString 2048 - TestInstancePath - T_MaxString - 2048 + IteratorCounter + UINT + 16 - AlreadyReported - BOOL - 8 + NumberOfTestsToAnalyse + UINT (UINT#1..GVL_Param_TcUnit.MaxNumberOfTestSuites) + 16 - - 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 @@ -13196,45 +13334,21 @@ - AssertArray2dEquals_REAL + AssertEquals_SINT - Asserts that two REAL 2D-arrays are equal to within a positive delta. If they are not, an assertion error is created. + Asserts that two SINTs are equal. 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 - - + Expected + SINT expected value + SINT + 8 - 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 + Actual + SINT actual value + SINT + 8 Message @@ -13243,22 +13357,7 @@ 2048 - Equals - BOOL - 8 - - - SizeEquals - BOOL - 8 - - - ExpectedString - T_MaxString - 2048 - - - ActualString + TestInstancePath T_MaxString 2048 @@ -13267,124 +13366,6 @@ 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 @@ -13657,19 +13638,38 @@ - AddTestNameToInstancePath - T_MaxString - 2048 + AssertEquals_LWORD + + Asserts that two LWORDs are equal. If they are not, an assertion error is created. + - TestInstancePath + Expected + LWORD expected value + LWORD + 64 + + + Actual + LWORD actual value + LWORD + 64 + + + Message + The identifying message for the assertion error T_MaxString 2048 - CompleteTestInstancePath + TestInstancePath T_MaxString 2048 + + AlreadyReported + BOOL + 8 + AssertEquals_UDINT @@ -14256,7 +14256,7 @@ .PT - T#10MS + T @@ -14275,7 +14275,7 @@ 32 8320832 - T#10MS + T @@ -14283,6 +14283,33 @@ UDINT 32 + + GetAndRemoveLogFromQueue + Reads and removes the oldest message + + AdsLogStringMessage + ST_AdsLogStringMessage + 4128 + + + ItemType + Output + + + + + Error + Buffer empty + BOOL + 8 + + + ItemType + Output + + + + WriteLog Writes a new data set into the ring buffer @@ -14319,33 +14346,6 @@ 4128 - - GetAndRemoveLogFromQueue - Reads and removes the oldest message - - AdsLogStringMessage - ST_AdsLogStringMessage - 4128 - - - ItemType - Output - - - - - Error - Buffer empty - BOOL - 8 - - - ItemType - Output - - - - PouType @@ -14354,7 +14354,7 @@ - ST_FFInfo + ST_FFInfo These elements should be set at init and never changed. 6832 @@ -14547,7 +14547,7 @@ - ST_FFOverride + ST_FFOverride 576 Duration @@ -14754,11 +14754,11 @@ - ST_FF + ST_FF 7680 Info - ST_FFInfo + ST_FFInfo 6832 0 @@ -14772,7 +14772,7 @@ Ovrd - ST_FFOverride + ST_FFOverride 576 6848 @@ -17250,6 +17250,14 @@ + + AddUlint + + value + ULINT + 64 + + AddKeyNumber @@ -17302,6 +17310,20 @@ 64 + + AddKeyNull + + key + STRING(80) + 32 + + + ItemType + InOut + + + + IsComplete BOOL @@ -17315,6 +17337,79 @@ 32 + + AddLint + + value + LINT + 64 + + + + StartObject + HRESULT + 32 + + + AddLreal + + value + LREAL + 64 + + + + AddKey + + key + STRING(80) + 32 + + + ItemType + InOut + + + + + + AddKeyLreal + + key + STRING(80) + 32 + + + ItemType + InOut + + + + + value + LREAL + 64 + + + + AddFileTime + + value + FILETIME + 64 + + + + AddNull + + + AddReal + + value + REAL + 32 + + AddHexBinary @@ -17329,23 +17424,59 @@ - AddLint + AddKeyDcTime + + key + STRING(80) + 32 + + + ItemType + InOut + + + value - LINT + DCTIME 64 - AddLreal + AddDateTime value - LREAL - 64 + DATE_AND_TIME + 32 - AddKey + SetMaxDecimalPlaces + HRESULT + 32 + + decimalPlaces + DINT + 32 + + + + __get_ipWriter + ITcJsonSaxWriter + 32 + + _ipWriter + ITcJsonSaxWriter + 32 + + + + property + + + + + AddKeyBool key STRING(80) @@ -17357,15 +17488,38 @@ + + value + BOOL + 8 + - ResetDocument - | Resets the internal JSON document if a new document should be created with the same SaxWriter instance. - HRESULT - 32 + AddDint + + value + DINT + 32 + - AddKeyLreal + AddRawArray + BOOL + 8 + + rawJson + STRING(80) + 32 + + + ItemType + InOut + + + + + + AddKeyString key STRING(80) @@ -17379,15 +17533,46 @@ value - LREAL - 64 + STRING(80) + 32 + + + ItemType + InOut + + - StartObject + ResetDocument + | Resets the internal JSON document if a new document should be created with the same SaxWriter instance. HRESULT 32 + + GetMaxDecimalPlaces + DINT + 32 + + dp + DINT + 32 + + + + AddRawObject + + rawJson + STRING(80) + 32 + + + ItemType + InOut + + + + GetDocumentLength | Returns the size of the JSON document in bytes (including the null termination). @@ -17416,84 +17601,7 @@ - AddKeyDcTime - - key - STRING(80) - 32 - - - ItemType - InOut - - - - - value - DCTIME - 64 - - - - AddDateTime - - value - DATE_AND_TIME - 32 - - - - AddRawObject - - rawJson - STRING(80) - 32 - - - ItemType - InOut - - - - - - SetMaxDecimalPlaces - HRESULT - 32 - - decimalPlaces - DINT - 32 - - - - __get_ipWriter - ITcJsonSaxWriter - 32 - - _ipWriter - ITcJsonSaxWriter - 32 - - - - property - - - - - AddKeyBool - - key - STRING(80) - 32 - - - ItemType - InOut - - - + AddBool value BOOL @@ -17528,31 +17636,28 @@ - AddDint + AddBase64 - value + pBytes + BYTE + 32 + + + nBytes DINT 32 - AddRawArray - BOOL - 8 + AddDcTime - rawJson - STRING(80) - 32 - - - ItemType - InOut - - + value + DCTIME + 64 - AddKeyString + AddKeyDateTime key STRING(80) @@ -17566,16 +17671,25 @@ value - STRING(80) + DATE_AND_TIME 32 - - - ItemType - InOut - - + + EndArray + HRESULT + 32 + + + EndObject + HRESULT + 32 + + + StartArray + HRESULT + 32 + CopyDocument | Copies the JSON document and returns its size in bytes (including the null termination). @@ -17611,120 +17725,6 @@ - - AddUlint - - value - ULINT - 64 - - - - GetMaxDecimalPlaces - DINT - 32 - - dp - DINT - 32 - - - - AddFileTime - - value - FILETIME - 64 - - - - AddNull - - - AddKeyDateTime - - key - STRING(80) - 32 - - - ItemType - InOut - - - - - value - DATE_AND_TIME - 32 - - - - AddBool - - value - BOOL - 8 - - - - AddBase64 - - pBytes - BYTE - 32 - - - nBytes - DINT - 32 - - - - AddDcTime - - value - DCTIME - 64 - - - - AddKeyNull - - key - STRING(80) - 32 - - - ItemType - InOut - - - - - - EndArray - HRESULT - 32 - - - EndObject - HRESULT - 32 - - - StartArray - HRESULT - 32 - - - AddReal - - value - REAL - 32 - - PouType @@ -17737,7 +17737,7 @@ - FB_HardwareFFOutput + FB_HardwareFFOutput 495296 FF_ARRAY_UPPER_BOUND @@ -17858,7 +17858,7 @@ astFF - ST_FF + ST_FF 1 50 @@ -18040,29 +18040,18 @@ ExecuteNoLog - EvaluateOutput + Execute - Execute + EvaluateOutput - - EvaluateVetos - BOOL - 8 - - - obsolete - Use EvaluateOverrides instead. - - - EvaluateOverrides BOOL 8 FF - ST_FF + ST_FF 32 @@ -18088,7 +18077,7 @@ 8 FF - ST_FF + ST_FF 32 @@ -18113,13 +18102,58 @@ + + FormulateLogJson + STRING(80) + 648 + + FF + ST_FF + 7680 + + + + IdxCheckIn + BOOL + 8 + + Idx + DINT + 32 + + + OK + BOOL + 8 + + + Reset + BOOL + 8 + + + stFF + ST_FF + 7680 + + + BeamPermitted + BOOL + 8 + + + + no_check + + + Register BOOL 8 stFFInfo - ST_FFInfo + ST_FFInfo 6832 @@ -18151,50 +18185,16 @@ - IdxCheckIn + EvaluateVetos BOOL 8 - - Idx - DINT - 32 - - - OK - BOOL - 8 - - - Reset - BOOL - 8 - - - stFF - ST_FF - 7680 - - - BeamPermitted - BOOL - 8 - - no_check + obsolete + Use EvaluateOverrides instead. - - FormulateLogJson - STRING(80) - 648 - - FF - ST_FF - 7680 - - PouType @@ -18461,24 +18461,15 @@ - GetHexBinary - DINT - 32 + PopbackValue + returns TRUE if succeeded + BOOL + 8 v SJsonValue 32 - - p - PVOID - 32 - - - n - DINT - 32 - HasMember @@ -18564,19 +18555,15 @@ - PushbackFileTimeValue - SJsonValue + GetDocumentLength + | Returns the size of the DOM document in bytes (including the null termination). + UDINT 32 - - v - SJsonValue + + p + STRING(80) 32 - - - value - FILETIME - 64 - + PushbackIntValue @@ -18619,33 +18606,6 @@ 64 - - RemoveMemberByName - returns TRUE if succeeded - BOOL - 8 - - v - SJsonValue - 32 - - - member - STRING(80) - 32 - - - ItemType - InOut - - - - - keepOrder - BOOL - 8 - - AddArrayMember SJsonValue @@ -18672,16 +18632,6 @@ 32 - - SetNull - SJsonValue - 32 - - v - SJsonValue - 32 - - SetString SJsonValue @@ -18714,34 +18664,23 @@ - PushbackUintValue - SJsonValue - 32 - - v - SJsonValue - 32 - + SetAdsProvider + BOOL + 8 - value - UDINT + oid + OTCID 32 - ParseDocument - SJsonValue - 32 + IsDouble + BOOL + 8 - sJson - STRING(80) + v + SJsonValue 32 - - - ItemType - InOut - - @@ -18780,6 +18719,17 @@ 32 + + RemoveAllMembers + returns TRUE if succeeded + BOOL + 8 + + v + SJsonValue + 32 + + SetDouble SJsonValue @@ -18796,7 +18746,7 @@ - PushbackBoolValue + SetDcTime SJsonValue 32 @@ -18806,8 +18756,8 @@ value - BOOL - 8 + DCTIME + 64 @@ -18871,16 +18821,6 @@ 32 - - SetObject - SJsonValue - 32 - - v - SJsonValue - 32 - - AddDateTimeMember SJsonValue @@ -18918,7 +18858,60 @@ - PushbackUint64Value + GetStringLength + | Returns the size in bytes (including the null termination). + UDINT + 32 + + v + SJsonValue + 32 + + + p + BYTE + 32 + + + l + UDINT + 32 + + + + AddJsonMember + SJsonValue + 32 + + v + SJsonValue + 32 + + + member + STRING(80) + 32 + + + ItemType + InOut + + + + + rawJson + STRING(80) + 32 + + + ItemType + InOut + + + + + + SetUint SJsonValue 32 @@ -18928,8 +18921,8 @@ value - ULINT - 64 + UDINT + 32 @@ -18949,10 +18942,9 @@ - RemoveAllMembers - returns TRUE if succeeded - BOOL - 8 + SetObject + SJsonValue + 32 v SJsonValue @@ -18964,6 +18956,16 @@ BOOL 8 + + GetArraySize + UDINT + 32 + + v + SJsonValue + 32 + + IsISO8601TimeFormat BOOL @@ -18975,14 +18977,19 @@ - GetArraySize - UDINT + PushbackUint64Value + SJsonValue 32 v SJsonValue 32 + + value + ULINT + 64 + GetInt64 @@ -19052,36 +19059,6 @@ - - SetDcTime - SJsonValue - 32 - - v - SJsonValue - 32 - - - value - DCTIME - 64 - - - - SetArray - SJsonValue - 32 - - v - SJsonValue - 32 - - - reserve - UDINT - 32 - - GetFileTime FILETIME @@ -19093,25 +19070,20 @@ - GetStringLength - | Returns the size in bytes (including the null termination). - UDINT - 32 + Swap + returns TRUE if succeeded + BOOL + 8 v SJsonValue 32 - - p - BYTE - 32 - - - l - UDINT + + w + SJsonValue 32 - + SaveDocumentToFile @@ -19171,9 +19143,9 @@ - IsBase64 - BOOL - 8 + GetUint64 + ULINT + 64 v SJsonValue @@ -19181,7 +19153,7 @@ - IsTrue + IsBase64 BOOL 8 @@ -19280,7 +19252,7 @@ - AddObjectMember + SetArray SJsonValue 32 @@ -19289,15 +19261,9 @@ 32 - member - STRING(80) + reserve + UDINT 32 - - - ItemType - InOut - - @@ -19320,21 +19286,6 @@ 32 - - SetFileTime - SJsonValue - 32 - - v - SJsonValue - 32 - - - value - FILETIME - 64 - - CopyString | The function copies a string to the given buffer if the given buffer size is big enough. @@ -19378,6 +19329,38 @@ 32 + + AddStringMember + SJsonValue + 32 + + v + SJsonValue + 32 + + + member + STRING(80) + 32 + + + ItemType + InOut + + + + + value + STRING(80) + 32 + + + ItemType + InOut + + + + SetBase64 SJsonValue @@ -19415,40 +19398,46 @@ - Swap - returns TRUE if succeeded - BOOL - 8 - - v - SJsonValue + GetDocument + | Returns the full DOM document. + | If its size is more than 255 bytes an empty string is returned and the method CopyDocument() has to be used. + STRING(255) + 2048 + + p + BYTE 32 - - - w - SJsonValue + + + q + BYTE 32 - + + + t + STRING(255) + 32 + + + length + UDINT + 32 + - SetUint64 - SJsonValue - 32 + IsHexBinary + BOOL + 8 v SJsonValue 32 - - value - ULINT - 64 - - IsHexBinary - BOOL - 8 + GetUint + UDINT + 32 v SJsonValue @@ -19482,34 +19471,9 @@ - IsFalse - BOOL - 8 - - v - SJsonValue - 32 - - - - SetAdsProvider - BOOL - 8 - - oid - OTCID - 32 - - - - MemberBegin - SJsonIterator + GetMaxDecimalPlaces + DINT 32 - - v - SJsonValue - 32 - NewDocument @@ -19572,10 +19536,9 @@ - PopbackValue - returns TRUE if succeeded - BOOL - 8 + SetNull + SJsonValue + 32 v SJsonValue @@ -19583,35 +19546,28 @@ - AddJsonMember - SJsonValue + GetDateTime + DATE_AND_TIME 32 v SJsonValue 32 + + + PushbackFileTimeValue + SJsonValue + 32 - member - STRING(80) + v + SJsonValue 32 - - - ItemType - InOut - - - rawJson - STRING(80) - 32 - - - ItemType - InOut - - + value + FILETIME + 64 @@ -19652,9 +19608,9 @@ - GetDateTime - DATE_AND_TIME - 32 + IsTrue + BOOL + 8 v SJsonValue @@ -19755,14 +19711,6 @@ 64 - - SetMaxDecimalPlaces - - dp - DINT - 32 - - FindMember SJsonValue @@ -19846,23 +19794,16 @@ - SetUint - SJsonValue - 32 - - v - SJsonValue - 32 - + SetMaxDecimalPlaces - value - UDINT + dp + DINT 32 - SetHexBinary - SJsonValue + GetHexBinary + DINT 32 v @@ -19881,7 +19822,7 @@ - GetArrayValueByIdx + AddDoubleMember SJsonValue 32 @@ -19890,13 +19831,24 @@ 32 - idx - UDINT + member + STRING(80) 32 + + + ItemType + InOut + + + + + value + LREAL + 64 - PushbackHexBinaryValue + PushbackNullValue SJsonValue 32 @@ -19904,19 +19856,9 @@ SJsonValue 32 - - p - PVOID - 32 - - - n - DINT - 32 - - AddDoubleMember + AddObjectMember SJsonValue 32 @@ -19935,14 +19877,9 @@ - - value - LREAL - 64 - - PushbackNullValue + PushbackBoolValue SJsonValue 32 @@ -19950,6 +19887,11 @@ SJsonValue 32 + + value + BOOL + 8 + AddBoolMember @@ -19978,14 +19920,24 @@ - GetDcTime - DCTIME - 64 + SetHexBinary + SJsonValue + 32 v SJsonValue 32 + + p + PVOID + 32 + + + n + DINT + 32 + AddUintMember @@ -20073,9 +20025,10 @@ - AddStringMember - SJsonValue - 32 + RemoveMemberByName + returns TRUE if succeeded + BOOL + 8 v SJsonValue @@ -20093,7 +20046,22 @@ - value + keepOrder + BOOL + 8 + + + + PushbackJsonValue + SJsonValue + 32 + + v + SJsonValue + 32 + + + rawJson STRING(80) 32 @@ -20125,17 +20093,28 @@ - GetMaxDecimalPlaces - DINT + ParseDocument + SJsonValue 32 + + sJson + STRING(80) + 32 + + + ItemType + InOut + + + - GetArrayValue - SJsonValue - 32 + IsFalse + BOOL + 8 - i - SJsonAIterator + v + SJsonValue 32 @@ -20150,34 +20129,17 @@ - GetDocument - | Returns the full DOM document. - | If its size is more than 255 bytes an empty string is returned and the method CopyDocument() has to be used. - STRING(255) - 2048 - - p - BYTE - 32 - - - q - BYTE - 32 - - - t - STRING(255) - 32 - - - length - UDINT + GetArrayValue + SJsonValue + 32 + + i + SJsonAIterator 32 - + - SetInt + SetFileTime SJsonValue 32 @@ -20187,8 +20149,8 @@ value - DINT - 32 + FILETIME + 64 @@ -20207,19 +20169,29 @@ - GetUint - UDINT + PushbackHexBinaryValue + SJsonValue 32 v SJsonValue 32 + + p + PVOID + 32 + + + n + DINT + 32 + - GetUint64 - ULINT - 64 + MemberBegin + SJsonIterator + 32 v SJsonValue @@ -20227,15 +20199,54 @@ - GetDocumentLength - | Returns the size of the DOM document in bytes (including the null termination). - UDINT + GetArrayValueByIdx + SJsonValue 32 - - p - STRING(80) + + v + SJsonValue 32 - + + + idx + UDINT + 32 + + + + SetUint64 + SJsonValue + 32 + + v + SJsonValue + 32 + + + value + ULINT + 64 + + + + GetDcTime + DCTIME + 64 + + v + SJsonValue + 32 + + + + IsArray + BOOL + 8 + + v + SJsonValue + 32 + GetJson @@ -20270,17 +20281,7 @@ - IsArray - BOOL - 8 - - v - SJsonValue - 32 - - - - PushbackJsonValue + SetInt SJsonValue 32 @@ -20289,26 +20290,25 @@ 32 - rawJson - STRING(80) + value + DINT 32 - - - ItemType - InOut - - - IsDouble - BOOL - 8 + PushbackUintValue + SJsonValue + 32 v SJsonValue 32 + + value + UDINT + 32 + AddNullMember @@ -20928,7 +20928,7 @@ - FB_FastFault + FB_FastFault Fast Fault 2019-9-13 A. Wallace @@ -21058,7 +21058,7 @@ contributing fast faults, unless the FFO is currently vetoed. io_fbFFHWO - FB_HardwareFFOutput + FB_HardwareFFOutput Point to FB_HardwareFFOutput of your choice 32 4192 @@ -21085,7 +21085,7 @@ contributing fast faults, unless the FFO is currently vetoed. FFInfo - ST_FFInfo + ST_FFInfo 6832 6272 @@ -21137,7 +21137,7 @@ contributing fast faults, unless the FFO is currently vetoed. - FB_JsonFileToJsonDoc + FB_JsonFileToJsonDoc 928512 bExecute @@ -21262,7 +21262,7 @@ contributing fast faults, unless the FFO is currently vetoed. io_fbFFHWO - FB_HardwareFFOutput + FB_HardwareFFOutput 32 3712 @@ -21416,7 +21416,7 @@ contributing fast faults, unless the FFO is currently vetoed. FFO - FB_FastFault + FB_FastFault FFO 25088 903424 @@ -21445,27 +21445,214 @@ contributing fast faults, unless the FFO is currently vetoed. - FB_Standard_PMPSDB - 27744 + 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 - io_fbFFHWO - FB_HardwareFFOutput - The fast fault output to fault to. - 32 + 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 - InOut + Input - bEnable - BOOL - If TRUE, FB will run. Reads when enable goes TRUE. - 8 - 64 + PORT + T_AmsPort + Ads communication port + 16 + 224 ItemType @@ -21474,11 +21661,11 @@ contributing fast faults, unless the FFO is currently vetoed. - sPlcName - STRING(80) - E.g. lfe-motion - 648 - 72 + IDXGRP + UDINT + Index group + 32 + 256 ItemType @@ -21487,34 +21674,24 @@ contributing fast faults, unless the FFO is currently vetoed. - bRefresh - BOOL - Set to TRUE to cause an extra read. - 8 - 720 + IDXOFFS + UDINT + Index offset + 32 + 288 ItemType Input - - pytmc - - pv: REFRESH - io: io - - - sDirectory - STRING(80) - Directory where the DB is stored. - 648 - 728 - - /Hard Disk/ftp/PMPS/ - + LEN + UDINT + Max. number of data bytes to read (LEN <= max. size of destination buffer) + 32 + 320 ItemType @@ -21523,2010 +21700,2667 @@ contributing fast faults, unless the FFO is currently vetoed. - nLastRefreshTime - DINT + DESTADDR + PVOID + Pointer to destination buffer 32 - 1376 + 352 ItemType - Output + Input - pytmc - - pv: LAST_REFRESH - io: i - + TcIgnorePersistent - bReadPmpsDb + READ BOOL + Rising edge starts command execution 8 - 1408 + 384 ItemType - Output + Input - bExecute + TMOUT + TIME + Maximum time allowed for the execution of this ADS command + 32 + 416 + + 5000 + + + + ItemType + Input + + + + + BUSY BOOL + Busy flag 8 - 1416 + 448 + + + ItemType + Output + + - rtEnable - R_TRIG - 64 - 1440 + ERR + BOOL + Error flag + 8 + 456 + + + ItemType + Output + + - rtRefresh - R_TRIG - 64 - 1504 + ERRID + UDINT + ADS error code + 32 + 480 + + + ItemType + Output + + - ftBusy - F_TRIG - 64 - 1568 + 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 - 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 - - - - PouType - FunctionBlock - - - - - ST_PMPS_Attenuator_IO - 64 - - nTran - REAL - 32 - 0 - - - xAttOK - UINT - 16 + bExecute + BOOL + Function block execution is triggered by a rising edge at this input. + 8 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 + ItemType + Input - Height - REAL - distance between vertical slits (y) - 32 - 32 + nIndex + WORD + 16 + 48 - plcAttribute_pytmc - pv: Height - io: i - field: EGU mm + ItemType + Input - xOK - BOOL - status of aperture, false if error or in motion + nFlags + BYTE 8 64 - 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 - + nSubIndex + BYTE + 8 + 72 - pytmc - pv: Transmission - io: i - field: HOPR 1; - field: LOPR 0; - field: PREC 2; - + ItemType + Input - nRate - UDINT - Pulse-rate + pDstBuf + PVOID + Contains the address of the buffer for the received data. 32 - 32 - - 0 - + 96 - pytmc - pv: Rate - io: i - field: EGU Hz - + ItemType + Input - neVRange - DWORD - Photon energy ranges + nDstBufSize + UDINT + Contains the max. number of bytes to be received. 32 - 64 - - 0 - + 128 - pytmc - pv: eVRanges - io: i - field: EGU eV - - - displaymode - binary + ItemType + Input - neV - REAL - Photon energy + tTimeout + TIME + States the time before the function is cancelled. 32 - 96 + 160 - 0 + 5000 - pytmc - pv: PhotonEnergy - io: i - field: EGU eV + ItemType + Input - nBCRange - WORD - Beamclass ranges - 16 - 128 + sNetId + T_AmsNetID + keep empty '' for the local device + 192 + 192 - 0 + - pytmc - pv: BeamClassRanges - io: i - - - displaymode - binary + ItemType + Input - nBeamClass - USINT - Beamclass + bBusy + BOOL 8 - 144 - - 0 - + 384 - pytmc - pv: BeamClass - io: i + ItemType + Output - nMachineMode - USINT - Machine Mode + bError + BOOL 8 - 152 - - 3 - + 392 - pytmc - pv: MachineMode - io: i + ItemType + Output - astAttenuators - ST_PMPS_Attenuator - - 1 - 16 - - Beamline attenuators - 1024 - 160 + hrErrorCode + HRESULT + 32 + 416 - pytmc - pv: AuxAtt - io: i + ItemType + Output - aVetoDevices - BOOL - - 1 - 16 - - Stoppers - 128 - 1184 + nCount + UDINT + returns the number of bytes received + 32 + 448 - pytmc - pv: Veto - io: i + ItemType + Output - astApertures - ST_PMPS_Aperture - - 1 - 4 - - Apertures - 384 - 1312 + nErrID + UDINT + 32 + 480 + + + nIdxOffset + UDINT + 32 + 512 + + + fbAdsReadEx + ADSREADEX + 1280 + 544 - [1].Width - 1000 - - - [1].Height - 1000 - - - [2].Width - 1000 - - - [2].Height - 1000 - - - [3].Width - 1000 - - - [3].Height - 1000 - - - [4].Width - 1000 + .PORT + 10000 - [4].Height - 1000 + .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 - pytmc - pv: Apt - io: i + ItemType + Input - xValidToggle + 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 - Toggle for watchdog 8 - 1696 + 288 + + + ItemType + Output + + - xValid + bError BOOL - Beam parameter set is valid (if readback), or acknowledged (if request) 8 - 1704 + 296 - pytmc - pv: Valid - io: i + ItemType + Output - nCohortInt - UDINT - Cohort index. Identifies which cohort this BP set was included in arbitration + hrErrorCode + HRESULT 32 - 1728 + 320 - 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 - - - - - _ST_NCADS_IDXOFFS_AxisParameter - 1632 - PARAMSTRUCT - UDINT - NC ADS Index Offsets for Axis Parameters - 32 - 0 - - 0 - + stModuleList + ST_IPCDiag_ModuleList + 12496 + 352 + + + ItemType + Output + + - ID - UDINT - 32 - 32 + cMaxNoModules + UINT + 16 + 12848 - 1 + 256 - NAME - UDINT - 32 - 64 + cMaxModType + UINT + 16 + 12864 - 2 + 512 - AXISTYPE - UDINT - 32 - 96 - - 3 - + bSubExecute + BOOL + 8 + 12880 - CYCLETIME - UDINT - 32 - 128 - - 4 - + bSubBusy + BOOL + 8 + 12888 - UNITNAME - UDINT - 32 - 160 - - 5 - + aModTypeCnt + USINT + + 0 + 513 + + 4104 + 12896 - VELOREFSEARCH - UDINT - 32 - 192 - - 6 - + nListIdx + UINT + 16 + 17008 - VELOSYNCSEARCH - UDINT - 32 - 224 - - 7 - + eModType + E_IPCDiag_ModuleType + 16 + 17024 - VELOSLOWMANUAL - UDINT - 32 - 256 - - 8 - + nCntModules + UINT + 16 + 17040 - 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 + fbReadMDP + FB_IPCDiag_MDPRead + 1888 + 17056 - 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 + + .nIndex + 61456 + + + .nFlags + 1 + + + .nSubIndex + 0 + - ACC - UDINT - 32 - 1120 - - 257 - + aDataList + WORD + + 0 + 513 + + 8208 + 18944 - DEC - UDINT - 32 - 1152 - - 258 - + RisingEdge + R_TRIG + 64 + 27168 + + + PouType + FunctionBlock + + + + + FB_IPCDiag_Register + initializes the PLC API for IPC diagnostics on a specific IPC + 43936 - JERK - UDINT - 32 - 1184 - - 259 - + bExecute + BOOL + 8 + 32 + + + ItemType + Input + + - DELAY - UDINT + tTimeout + TIME + States the time before the function is cancelled. 32 - 1216 + 64 - 260 + 5000 + + + ItemType + Input + + - OVERRIDETYPE - UDINT - 32 - 1248 + sNetId + T_AmsNetID + keep empty '' for the local device + 192 + 96 - 261 + + + + ItemType + Input + + - VELOJUMPFACTOR - UDINT - 32 - 1280 - - 262 - + bValid + BOOL + read data available =(NOT bBusy AND NOT bError) + 8 + 288 + + + ItemType + Output + + - REDUCTIONFEEDBACK - UDINT - 32 - 1312 - - 263 - + bBusy + BOOL + 8 + 296 + + + ItemType + Output + + - TOLERANCEBALLAUXAXIS - UDINT - 32 - 1344 - - 264 - + bError + BOOL + TRUE if an error occurred. + 8 + 304 + + + ItemType + Output + + - MAXPOSDEVIATIONAUXAXIS - UDINT + hrErrorCode + HRESULT + '< 0' = error; '> 0' = info; '0' = no error/info 32 - 1376 - - 265 - + 320 + + + ItemType + Output + + - FASTACC - UDINT + ipErrorMessage + I_TcMessage + shows detailed information about occurred errors 32 - 1408 - - 266 - + 352 + + + ItemType + Output + + - FASTDEC - UDINT - 32 - 1440 - - 267 - + stModuleList + ST_IPCDiag_ModuleList + 12496 + 384 + + + ItemType + Output + + - FASTJERK - UDINT - 32 - 1472 - - 268 - + RisingEdge + R_TRIG + 64 + 12896 + + + conditionalshow + + - REF_POS - UDINT - 32 - 1504 - - 65795 - + fbGetModList + FB_IPCDiag_GetModuleList + 27232 + 12960 + + + conditionalshow + + - ENCSEARCHDIR - UDINT - 32 - 1536 - - 65793 - + fbErrorMessage + FB_TcMessage + 3488 + 40192 + + + conditionalshow + + - ENCSYNCDIR - UDINT - 32 - 1568 - - 65794 - + FallingEdgeBUSY + F_TRIG + 64 + 43680 + + + conditionalshow + + - ENCREFMODE - UDINT - 32 - 1600 - - 65799 - + stEventEntryTemp + TcEventEntry + 192 + 43744 + + + conditionalshow + + - conditionalshow + PouType + FunctionBlock + + + conditionalshow_all_locals - _ST_NCADS_AxisParameter - 1664 - - IDXGRP - UDINT - 32 - 0 - - 16384 - - - - IDXOFFS - _ST_NCADS_IDXOFFS_AxisParameter - 1632 - 32 - + USINT (1..255) + 8 + USINT - conditionalshow + LowerBorder + 1 + + + UpperBorder + 255 - _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 - - + 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 + + - _ST_NCADS_AxisState - 832 - - IDXGRP - UDINT - 32 - 0 - - 16640 - - - - IDXOFFS - _ST_NCADS_IDXOFFS_AxisState - 800 - 32 - - - - conditionalshow - - + 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 + + - _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 - + 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 - SETCALFLAG - UDINT - "ist referenziert"-Flag setzen - 32 - 512 - - 27 - + _eDatatype + E_IPCDiag_Datatype + 8 + 128 - SETACTPOS - UDINT - nur Istwertsetzen ohne Sollwertaenderung !!! - 32 - 544 + cKeyMask_Access + LWORD + 64 + 192 - 28 + 67553994410557440 + + + displaymode + hex + + - SETDRIVEPOS - UDINT - antriebsseitiges Istwertsetzen - 32 - 576 + cKeyMask_Datatype + LWORD + 64 + 256 - 29 + 4222124650659840 + + + displaymode + hex + + - SETENCODERSCALING - UDINT - 17.07.08: "Fliegende Änderung des Skalierungsfaktors" - 32 - 608 + cKeyMask_ModType + LWORD + 64 + 320 - 30 + 281470681743360 + + + displaymode + hex + + - SETPOSONTHEFLY - UDINT - 29.11.05: "Fliegendes Istwert Setzen" (betrifft Ist - und Sollwert) (issue #3017) - 32 - 640 + cKeyMask_Area + LWORD + 64 + 384 - 31 + 4026531840 + + + displaymode + hex + + - START - UDINT - 32 - 672 + cKeyMask_ModIdx + LWORD + 64 + 448 - 32 + 267386880 + + + displaymode + hex + + - STARTEXT - UDINT - 32 - 704 + cKeyMask_TableId + LWORD + 64 + 512 - 33 - - - - STARTVELOCHANGE - UDINT - special function for MMW - 32 - 736 - - 34 + 983040 + + + displaymode + hex + + - ENABLEEXTGEN - UDINT - enable/start external setpoint values - 32 - 768 + cKeyMask_Flags + LWORD + 64 + 576 - 35 + 65280 + + + displaymode + hex + + - DISABLEEXTGEN - UDINT - disable/stop external setpoint values - 32 - 800 + cKeyMask_SubIdx + LWORD + 64 + 640 - 36 + 255 + + + displaymode + hex + + - REVERSINGSEQUENCE - UDINT - 32 - 832 + cKeyMask_IsList + LWORD + 64 + 704 - 37 + 144115188075855872 + + + displaymode + hex + + - STARTDRVOUT - UDINT - 32 - 864 + cKeyMask_IsModuleCnt + LWORD + 64 + 768 - 38 + 72057594037927936 + + + displaymode + hex + + - STOPDRVOUT - UDINT - 32 - 896 + cKeyMask_IsConstant + LWORD + 64 + 832 - 39 + 4503599627370496 + + + displaymode + hex + + + + IsModuleCnt + BOOL + 8 + + + GetMDPArea + BYTE + 8 + + + GetMDPSubIndex + BYTE + 8 + + + __geteDatatype + E_IPCDiag_Datatype + 8 + + eDatatype + E_IPCDiag_Datatype + 8 + + + + property + + + + + GetMDPFlags + BYTE + 8 + + + GetMDPModuleType + E_IPCDiag_ModuleType + 16 + + + IsListParam + BOOL + 8 + + + IsConstantParam + BOOL + 8 + + nAccess + BYTE + 8 + + + + GetMDPTableID + returns the MDP table id (part of MDP address) + BYTE + 8 + + + SetKey + + eParamKey + E_IPCDiag_ParameterKey + 64 + + + + + PouType + FunctionBlock + + + + + FB_DynMem_Buffer + provides a dynamically created buffer for individual data. + 128 - CHANGEDRVOUT - UDINT + _pBuffer + PVOID 32 - 928 + 32 - 40 + 0 + + + conditionalshow + + - JUMPTOOVERRIDE + _nBufferSize UDINT - 04.11.04: jump to actual override value and froze them until change (issue #2697) 32 - 960 + 64 - 41 + 0 + + + conditionalshow + + - EXTSETGENUNIVERSALSTART - UDINT - 23.11.10: deactivation of external setpoint generator with succeding universal axis start command + ipMemMan + I_DynMem_Manager 32 - 992 - - 43 - + 96 - UNIVERSALTORQUESTART + nInstanceCnt UDINT - 20181210 Fap - new 'axis torque control start and restart' command with buffer mode 32 - 1024 - - 45 - - - STARTSCOM + + bAvailable + BOOL + is TRUE if a buffer is available. + 8 + 80350816 + + + nBufferSize UDINT - start superposition (position compensation) - 21.12.04: nun auch als 'ReadWrite'-Kommando + current buffer size in bytes. 32 - 1056 - - 48 - + 80350768 + + + __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 - STOPSCOM - UDINT - stop superposition (position compensation) - 32 - 1088 - - 49 - + nFlags + BYTE + 8 + 16 - PHASINGREQEUST - UDINT - start/stop the additional phasing set point generator used for a master/slave phase shift - 32 - 1120 - - 52 - + nSubIndex + BYTE + 8 + 24 + + + FB_IPCDiag_MDPReadSumCmd + reads multiple MDP addresses with parameters of the same datatype + 2464 - CPL - UDINT - Achse koppeln - 32 - 1152 - - 64 - + bExecute + BOOL + Function block execution is triggered by a rising edge at this input. + 8 + 32 + + + ItemType + Input + + - DECPL - UDINT - Achse entkoppeln (und optional neue Endposition mit neuer Geschwindigkeit) + pMDPAddress + ST_IPCDiag_MDPAddress + + 0 + 1001 + 32 - 1184 - - 65 - + 64 + + + ItemType + Input + + - CPLCHANGE + cbMDPAddress UDINT - Achse Koppelparams ändern 32 - 1216 - - 66 - + 96 + + + ItemType + Input + + - TABCPLCHANGE - UDINT - 3x TabSlaveAxe Tabelle-Koppelparams ändern + pDstBuf + PVOID + Contains the address of the buffer for the received data. 32 - 1248 - - 67 - + 128 + + + ItemType + Input + + - STOPSLAVE + nDstBufSize UDINT - Slave-Stop (Diagonal-Slave / Flying Saw) + Contains the max. number of bytes to be received. 32 - 1280 - - 68 - + 160 + + + ItemType + Input + + - CPLTAB - UDINT - TabSlaveAxe Koppelparams setzen + tTimeout + TIME + States the time before the function is cancelled. 32 - 1312 + 192 - 69 + 5000 + + + ItemType + Input + + - TABSLVACTIVCOR - UDINT - 2x TabSlaveAxe Korrekturtabelle aktivieren (mit/ohne Aktivierungsposition) - 32 - 1344 + sNetId + T_AmsNetID + keep empty '' for the local device + 192 + 224 - 70 + + + + ItemType + Input + + - TABSLVLEAVECYC - UDINT - TabSlaveAxe Monozyklische Tabelle beenden - 32 - 1376 - - 71 - + bBusy + BOOL + 8 + 416 + + + ItemType + Output + + - TABSLVCOROFFSET - UDINT - TabSlaveAxe Letzter Korrektur Offset - 32 - 1408 - - 72 - + bError + BOOL + 8 + 424 + + + ItemType + Output + + - TABSLVSCALING - UDINT - NEU: Slave-Skalierung der Solo-Tabellenkopplung setzen + hrErrorCode + HRESULT 32 - 1440 - - 73 - + 448 + + + ItemType + Output + + - CPLSOLOTAB + nCount UDINT - Solo Tabellen Kopplung + returns the number of bytes received 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 - + 480 + + + ItemType + Output + + - CHANGEAXISCTRLLOOP + nDataOffset UDINT - NEU: Aenderung des aktiven Achsregelkreises + offset describes beginning of data in read buffer 32 - 1632 - - 82 - + 512 + + + ItemType + Output + + - DRIVEDISABLE - UDINT - Drive-Output der Achse sperren - 32 - 1664 - - 96 - + fbCmdBuffer + FB_DynMem_Buffer + 128 + 544 + + + old_input_assignments + + - DRIVEENABLE + nErrID UDINT - Drive-Output der Achse reaktivieren 32 - 1696 - - 97 - + 672 - RELEASEBRAKE + nCmds UDINT - Feststellbremse loesen (Eil/Schleich-Gruppe) 32 - 1728 - - 98 - + 704 - RECONFIGURATE + nIdxOffset UDINT - Achse zurueckfuehren in eigene PTP-Gruppe 32 - 1760 - - 112 - + 736 + + + displaymode + hex + + - - - conditionalshow - - - - - _ST_NCADS_AxisFunctions - 1824 - IDXGRP + nDataLen 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 + 768 - - - conditionalshow - - - - - _ST_NCADS_IDXOFFS_TableParameter - 192 - MFREADCHARACVALUES + nDataLenSum UDINT - read characteristic values of a motion function 32 - 0 - - 80 - + 800 - WRITETABROWS - UDINT - write table - 32 - 32 + fbAdsRdWrEx + ADSRDWRTEX + 1440 + 832 - 16777216 + + .PORT + 10000 + + + .IDXGRP + 62212 + - WRITEMFTABROWS - UDINT - write motion function table - 32 - 64 - - 83886080 - + RisingEdge + R_TRIG + 64 + 2272 - MFREADTAB + i UDINT - read motion function as data table 32 - 96 - - 34 - + 2336 - READSLAVEDYNAMICS - UDINT - read slave table position, velocity and acceleration related to a master position - 32 - 128 + cSizeOfMDPAddress + USINT + 8 + 2368 - 35 + 4 - READMASTERPOSITION + cIdxGrp UDINT - read master table position related to slave position 32 - 160 + 2400 - 36 + 0 - - - conditionalshow - - - - - _ST_NCADS_TableParameter - 224 - IDXGRP + cCmdSize UDINT 32 - 0 + 2432 - 40960 + 12 - - IDXOFFS - _ST_NCADS_IDXOFFS_TableParameter - 192 - 32 - - conditionalshow + PouType + FunctionBlock - _ST_NCADS_IDXOFFS_TableFunctions - 96 + 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 - CREATETAB - UDINT - create table - 32 - 0 - - 65536 - + bExecute + BOOL + 8 + 64 + + + ItemType + Input + + - CREATEMOTIONTAB - UDINT - create motion function table - 32 - 32 - - 65552 - + eParameterKey + E_IPCDiag_ParameterKey + 64 + 128 + + + ItemType + Input + + - DELETETAB - UDINT - delete tables - 32 - 64 + 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 - 131072 + 0 + + + ItemType + Input + + - - - conditionalshow - - - - - _ST_NCADS_TableFunctions - 128 - IDXGRP - UDINT + tTimeout + TIME + ADS communication timeout 32 - 0 + 224 - 41472 + 5000 - - - 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 @@ -23535,11 +24369,14 @@ contributing fast faults, unless the FFO is currently vetoed. - PORT - T_AmsPort - Ads communication port - 16 - 224 + sNetId + T_AmsNetID + keep empty '' for the local device + 192 + 256 + + + ItemType @@ -23548,11 +24385,11 @@ contributing fast faults, unless the FFO is currently vetoed. - RDINFO - BOOL - Rising edge starts command execution - 8 - 240 + xReserved + DWORD + for future extension, do not use + 32 + 448 ItemType @@ -23561,27 +24398,24 @@ contributing fast faults, unless the FFO is currently vetoed. - TMOUT - TIME - Maximum time allowed for the execution of this ADS command + fbRegister + FB_IPCDiag_Register + read-only 32 - 256 - - 5000 - + 480 ItemType - Input + InOut - BUSY + bValid BOOL - Busy flag + read data available =(NOT bBusy AND NOT bError) 8 - 288 + 512 ItemType @@ -23590,11 +24424,10 @@ contributing fast faults, unless the FFO is currently vetoed. - ERR + bBusy BOOL - Error flag 8 - 296 + 520 ItemType @@ -23603,11 +24436,11 @@ contributing fast faults, unless the FFO is currently vetoed. - ERRID - UDINT - ADS error code - 32 - 320 + bError + BOOL + TRUE if an error occurred. + 8 + 528 ItemType @@ -23616,11 +24449,11 @@ contributing fast faults, unless the FFO is currently vetoed. - DEVNAME - STRING(19) - Device name - 160 - 352 + hrErrorCode + HRESULT + '< 0' = error; '> 0' = info; '0' = no error/info + 32 + 544 ItemType @@ -23629,11 +24462,11 @@ contributing fast faults, unless the FFO is currently vetoed. - DEVVER - UDINT - Device version + ipErrorMessage + I_TcMessage + shows detailed information about occurred errors 32 - 512 + 576 ItemType @@ -23641,6038 +24474,6135 @@ contributing fast faults, unless the FFO is currently vetoed. - - - PouType - FunctionBlock - - - hide_all_locals - - - - - _TCMCGLOBAL - Global constants and parameters - 6976 - NCPORT_TCMC - UINT - 20110511 type changed from INT to UINT - 16 - 32 - - 500 - + nReadParameterValues + USINT + number of read parameter values + 8 + 608 ItemType - Input + Output - NCPORT_TCMC_COUPLING - UINT - 20110511 type changed from INT to UINT - 16 - 48 - - 500 - + nModuleCount + USINT + number of module instances (configuration area) with the demanded parameter + 8 + 616 ItemType - Input + Output - NCNETID_TCMC - T_AmsNetID - 192 - 64 - - - + fbKey + FB_IPCDiag_ParameterKey + 896 + 640 - ItemType - Input + conditionalshow - NCPORT_TCMC_CAM + nParamDatatypeSize UINT - 20110511 type changed from INT to UINT 16 - 256 - - 500 - + 1536 - ItemType - Input + conditionalshow - NCPORT_TCMC_CAM_FAST - UINT - 20150728 KSt added - 16 - 272 + nModuleIdxSelected + USINT + 8 + 1552 - 500 + 0 - ItemType - Input + conditionalshow - NCNETID_TCMC_CAM - T_AmsNetID - 192 - 288 - - - + nListLen + USINT + 8 + 1560 - ItemType - Input + conditionalshow - NCPORT_TCMC_SUPERPOSITION - UINT - 20140930 KSt added - 16 - 480 - - 501 - + fbResultBuffer + FB_DynMem_Buffer + 128 + 1568 - ItemType - Input + old_input_assignments + + + conditionalshow - NCPORT_TCMC_RESET - UINT - 20211019 KSt added - 16 - 496 - - 500 - + nValidDataOffset + UDINT + 32 + 1696 - ItemType - Input + conditionalshow - NcDeviceInfoTcMainVersion - DWORD - 32 - 512 + RisingEdge + R_TRIG + 64 + 1728 - ItemType - Output + conditionalshow - NcDeviceInfoTcSubVersion - DWORD - 32 - 544 + nState + USINT + 8 + 1792 - ItemType - Output + conditionalshow - NcDeviceInfoNcDriverVersion - DWORD - 32 - 576 + bSubExecute + BOOL + 8 + 1800 - ItemType - Output + conditionalshow - NcDeviceInfoNcVersion - DWORD - 32 - 608 + bSubBusy + BOOL + 8 + 1808 - ItemType - Output + conditionalshow - NcDeviceInfoNcName - STRING(19) - 160 - 640 + fbReadMDP + FB_IPCDiag_MDPRead + 1888 + 1824 - ItemType - Output + conditionalshow - Axis - _ST_NCADS_Axis - IDXGRP and IDXOFFS constants of axis parameter/status/functions - 4320 - 800 + nIndex + WORD + 16 + 3712 - ItemType - Output + displaymode + hex - suppress_warning_0 - C0228 + conditionalshow - Table - _ST_NCADS_Table - IDXGRP and IDXOFFS constants of table parameter/status/functions - 352 - 5120 + nFlags + BYTE + 8 + 3728 - ItemType - Output - - - suppress_warning_0 - C0228 + conditionalshow - NCPORT_TCNCCAMMING_TABLEFUNCTION - UINT - 16 - 5472 - - 500 - - - - tTargetPosTimeOut - TIME - 32 - 5504 - - 6000 - + nSubIndex + BYTE + 8 + 3736 + + + conditionalshow + + - tADSTimeOut - TIME - 32 - 5536 - - 1000 - + nArea + BYTE + 8 + 3744 + + + conditionalshow + + - tStopMonitoringTimeOut - TIME - 32 - 5568 - - 100 - + nModuleId + BYTE + 8 + 3752 + + + conditionalshow + + - NCTOPLC_FEEDBACK_MAXWAITCYCLES - INT + eModuleType + E_IPCDiag_ModuleType 16 - 5600 - - 10 - - - - fbADSRDDEVINFO - ADSRDDEVINFO - 1280 - 5632 + 3760 + + + conditionalshow + + - DeviceVersion + nTempDW DWORD 32 - 6912 - - - Init - BOOL - 8 - 6944 - - - ReadDeviceInfo - - - - PouType - FunctionBlock - - - conditionalshow - - - - - ST_CTRL_CYCLE_TIME_INTERPRETATION - 128 - - bInterpretCycleTimeAsTicks - BOOL - 8 - 0 + 3776 + + + displaymode + hex + + + conditionalshow + + - fBaseTime - LREAL + nTempLW + LWORD 64 - 64 - - - - hide - - - - - 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 + 3840 + + + displaymode + hex + + + conditionalshow + + - NcDebugFlag - BIT - 1 - 31 + fbReadTable + FB_IPCDiag_MDPReadTable + 1888 + 3904 + + + conditionalshow + + - - %08x - - - 0x%08x - - - 16#%08X - - - - PLCTONC_AXIS_REF - 1024 - ControlDWord - PLCTONC_AXIS_REF_CTRL - 32 - 0 + fbBufferAddresses + FB_DynMem_Buffer + 128 + 5792 + + + old_input_assignments + + + conditionalshow + + - Override - UDINT - 32 - 32 + nAddresses + USINT + 8 + 5920 + + + conditionalshow + + - AxisModeRequest - UDINT - 32 - 64 + fbReadSum + FB_IPCDiag_MDPReadSumCmd + 2464 + 5952 + + + conditionalshow + + - AxisModeDWord - UDINT + stMDPAddress + ST_IPCDiag_MDPAddress 32 - 96 - - - AxisModeLReal - LREAL - 64 - 128 - - - PositionCorrection - LREAL - 64 - 192 - - - ExtSetPos - LREAL - 64 - 256 - - - ExtSetVelo - LREAL - 64 - 320 + 8416 + + + conditionalshow + + - ExtSetAcc - LREAL - 64 - 384 + i + USINT + 8 + 8448 + + + conditionalshow + + - ExtSetDirection - DINT + nTemp + UDINT 32 - 448 + 8480 + + + conditionalshow + + - ExtControllerOutput - LREAL - 64 - 512 + fbErrorMessage + FB_TcMessage + 3488 + 8512 + + + conditionalshow + + - GearRatio1 - LREAL + FallingEdgeBUSY + F_TRIG 64 - 576 + 12000 + + + conditionalshow + + - GearRatio2 - LREAL - 64 - 640 + stEventEntryTemp + TcEventEntry + 192 + 12064 + + + conditionalshow + + - GearRatio3 - LREAL - 64 - 704 + cSizeOfMDPAddress + USINT + 8 + 12256 + + 4 + + + + conditionalshow + + - GearRatio4 - LREAL - 64 - 768 + cStateReadSingle + USINT + 8 + 12264 + + 0 + + + + conditionalshow + + - MapState - BOOL + cStateReadTable + USINT 8 - 832 + 12272 + + 1 + + + + conditionalshow + + - PlcCycleControl - BYTE + cStateReadSum + USINT 8 - 840 + 12280 + + 2 + + + + conditionalshow + + - PlcCycleCount - BYTE + cStateBusy + USINT 8 - 848 + 12288 + + 11 + + + + conditionalshow + + - ExtTorque - LREAL - 64 - 896 + cStateExit + USINT + 8 + 12296 + + 100 + + + + conditionalshow + + - - - NcStructType - 1 - - - - - - - - - - + + ipMemMan + I_DynMem_Manager + dynamic memory manager used in the Tc3_IPCDiag library + 32 + 80350892 + + + 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 + + - NCTOPLC_AXIS_REF_STATE - 32 + 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 - Operational - BIT - 1 - 0 + bExecute + BOOL + 8 + 64 + + + ItemType + Input + + - Homed - BIT - 1 - 1 + eParameterKey + E_IPCDiag_ParameterKey + 64 + 128 + + + ItemType + Input + + - NotMoving - BIT - 1 - 2 + 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 + + - InPositionArea - BIT - 1 - 3 + tTimeout + TIME + ADS communication timeout + 32 + 224 + + 5000 + + + + ItemType + Input + + - InTargetPosition - BIT - 1 - 4 + sNetId + T_AmsNetID + keep empty '' for the local device + 192 + 256 + + + + + + ItemType + Input + + - Protected - BIT - 1 - 5 + xReserved + DWORD + for future extension, do not use + 32 + 448 + + + ItemType + Input + + - ErrorPropagationDelayed - BIT - 1 - 6 + fbRegister + FB_IPCDiag_Register + read-only + 32 + 480 + + + ItemType + InOut + + - HasBeenStopped - BIT - 1 - 7 + bValid + BOOL + read data available =(NOT bBusy AND NOT bError) + 8 + 512 + + + ItemType + Output + + - HasJob - BIT - 1 - 8 + bBusy + BOOL + 8 + 520 + + + ItemType + Output + + - PositiveDirection - BIT - 1 - 9 + bError + BOOL + TRUE if an error occurred. + 8 + 528 + + + ItemType + Output + + - NegativeDirection - BIT - 1 - 10 + hrErrorCode + HRESULT + '< 0' = error; '> 0' = info; '0' = no error/info + 32 + 544 + + + ItemType + Output + + - HomingBusy - BIT - 1 - 11 + ipErrorMessage + I_TcMessage + shows detailed information about occurred errors + 32 + 576 + + + ItemType + Output + + - ConstantVelocity - BIT - 1 - 12 + nReadParameterValues + USINT + number of read parameter values + 8 + 608 + + + ItemType + Output + + - Compensating - BIT - 1 - 13 + nModuleCount + USINT + number of module instances (configuration area) with the demanded parameter + 8 + 616 + + + ItemType + Output + + - ExtSetPointGenEnabled - BIT - 1 - 14 + RisingEdge + R_TRIG + 64 + 640 + + + conditionalshow + + - PhasingActive - BIT - 1 - 15 + eParamSelected + E_IPCDiag_ParameterKey + 64 + 704 + + + conditionalshow + + - ExternalLatchValid - BIT - 1 - 16 + fbReadParam + FB_IPCDiag_ReadParameterBase + 12352 + 768 + + + conditionalshow + + - NewTargetPos - BIT - 1 - 17 + fbErrorMessage + FB_TcMessage + 3488 + 13120 + + + conditionalshow + + - IsDriveLimitActive - BIT - 1 - 18 + FallingEdgeBUSY + F_TRIG + 64 + 16608 + + + conditionalshow + + - ContinuousMotion - BIT - 1 - 19 + stEventEntryTemp + TcEventEntry + 192 + 16672 + + + conditionalshow + + - ControlLoopClosed - BIT - 1 - 20 + sMdpTcVersion + STRING(31) + 256 + 16864 + + + conditionalshow + + - CamTableQueued - BIT - 1 - 21 + nFreeSpaceOfVol + ULINT + 64 + 17152 + + + conditionalshow + + - CamDataQueued - BIT - 1 - 22 + __FB_IPCDIAG_READPARAMETER__READFREESPACEOFVOL__NSTATE + USINT + 8 + 17216 + + + conditionalshow + + - CamScalingPending - BIT - 1 - 23 + __FB_IPCDIAG_READPARAMETER__READFREESPACEOFVOL__NNOVOLUMES + USINT + 8 + 17224 + + + conditionalshow + + - CmdBuffered - BIT - 1 - 24 + __FB_IPCDIAG_READPARAMETER__READFREESPACEOFVOL__SDRIVELETTER + STRING(7) + 64 + 17232 + + + conditionalshow + + - PTPmode - BIT - 1 - 25 + __FB_IPCDIAG_READPARAMETER__READFREESPACEOFVOL__NFOUNDIDX + USINT + 8 + 17296 + + + conditionalshow + + - SoftLimitMinExceeded - BIT - 1 - 26 + __FB_IPCDIAG_READPARAMETER__READFREESPACEOFVOL__HR + HRESULT + 32 + 17312 + + + conditionalshow + + - SoftLimitMaxExceeded - BIT - 1 - 27 + __FB_IPCDIAG_READPARAMETER__READFREESPACEOFVOL__I + USINT + 8 + 17344 + + + conditionalshow + + - DriveDeviceError - BIT - 1 - 28 + __FB_IPCDIAG_READPARAMETER__READMDPVERSION__NSTATE + USINT + 8 + 17352 + + + conditionalshow + + - MotionCommandsLocked - BIT - 1 - 29 + __FB_IPCDIAG_READPARAMETER__READMDPVERSION__NNOSOFTWARES + USINT + 8 + 17360 + + + conditionalshow + + - IoDataInvalid - BIT - 1 - 30 + __FB_IPCDIAG_READPARAMETER__READMDPVERSION__SSWNAME + STRING(79) + 640 + 17368 + + + conditionalshow + + - Error - BIT - 1 - 31 - - - %08x - - - 0x%08x - - - 16#%08X - - - - {4C3FC5AC-D5AA-44C6-AC5A-159774BA0F6D} - - - - - NCTOPLC_AXIS_REF_OPMODE - 32 - - OpModePosAreaMonitoring - BIT - 1 - 0 + __FB_IPCDIAG_READPARAMETER__READMDPVERSION__NFOUNDIDX + USINT + 8 + 18008 + + + conditionalshow + + - OpModeTargetPosMonitoring - BIT - 1 - 1 + __FB_IPCDIAG_READPARAMETER__READMDPVERSION__HR + HRESULT + 32 + 18016 + + + conditionalshow + + - OpModeLoop - BIT - 1 - 2 + __FB_IPCDIAG_READPARAMETER__READMDPVERSION__I + USINT + 8 + 18048 + + + conditionalshow + + - OpModeMotionMonitoring - BIT - 1 - 3 + __FB_IPCDIAG_READPARAMETER__READTCVERSION__NSTATE + USINT + 8 + 18056 + + + conditionalshow + + - OpModePEHTimeMonitoring - BIT - 1 - 4 + __FB_IPCDIAG_READPARAMETER__READTCVERSION__NMAJOR + UINT + 16 + 18064 + + + conditionalshow + + - OpModeBacklashCompensation - BIT - 1 - 5 + __FB_IPCDIAG_READPARAMETER__READTCVERSION__NMINOR + UINT + 16 + 18080 + + + conditionalshow + + - OpModeDelayedErrorReaction - BIT - 1 - 6 + __FB_IPCDIAG_READPARAMETER__READTCVERSION__NBUILD + UINT + 16 + 18096 + + + conditionalshow + + - OpModeModulo - BIT - 1 - 7 + __FB_IPCDIAG_READPARAMETER__READTCVERSION__NREVISION + UINT + 16 + 18112 + + + conditionalshow + + - OpModeSimulationAxis - BIT - 1 - 8 + __FB_IPCDIAG_READPARAMETER__READTCVERSION__HR + HRESULT + 32 + 18144 + + + conditionalshow + + - OpModePosLagMonitoring - BIT - 1 - 16 + __FB_IPCDIAG_READPARAMETER__READTCVERSION__I + USINT + 8 + 18176 + + + conditionalshow + + + + ipMemMan + I_DynMem_Manager + dynamic memory manager used in the Tc3_IPCDiag library + 32 + 80350948 + + + 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 + + + + + + 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 + + + + 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 + + + + Clear + HRESULT + 32 + + + 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 + + + + __getipMemMan + I_DynMem_Manager + 32 + + ipMemMan + I_DynMem_Manager + 32 + + + + property + + + + + 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 - OpModeVeloLagMonitoring - BIT - 1 - 17 + io_fbFFHWO + FB_HardwareFFOutput + The fast fault output to fault to. + 32 + 32 + + + ItemType + InOut + + - OpModeSoftLimitMinMonitoring - BIT - 1 - 18 + bEnable + BOOL + If TRUE, FB will run. Reads when enable goes TRUE. + 8 + 64 + + + ItemType + Input + + - OpModeSoftLimitMaxMonitoring - BIT - 1 - 19 + sPlcName + STRING(80) + E.g. lfe-motion + 648 + 72 + + + ItemType + Input + + - OpModePosCorrection - BIT - 1 - 20 + bRefresh + BOOL + Set to TRUE to cause an extra read. + 8 + 720 + + + ItemType + Input + + + pytmc + + pv: REFRESH + io: io + + + - OpModeAllowSlaveCommands - BIT - 1 - 21 + sDirectory + STRING(80) + Directory where the DB is stored. + 648 + 728 + + + + + + ItemType + Input + + - OpModeAllowExtSetAxisCommands - BIT - 1 - 22 - - - ApplicationRequest - BIT - 1 - 23 + nLastRefreshTime + DINT + 32 + 1376 + + + ItemType + Output + + + pytmc + + pv: LAST_REFRESH + io: i + + + - - - NCTOPLC_AXIS_REF_STATE2_FLAGS - 32 - AvoidingCollision - BIT - 1 - 0 + bReadPmpsDb + BOOL + 8 + 1408 + + + ItemType + Output + + - - %08x - - - 0x%08x - - - 16#%08X - - - - NCTOPLC_AXIS_REF_STATE2 - 32 - Value - DWORD - 32 - 0 + bExecute + BOOL + 8 + 1416 - Flags - NCTOPLC_AXIS_REF_STATE2_FLAGS - 32 - 0 + rtEnable + R_TRIG + 64 + 1440 - - %08x - - - 0x%08x - - - 16#%08X - - - - NCTOPLC_AXIS_REF_STATE3_FLAGS - 32 - TouchProbe1InputState - BIT - 1 - 0 + rtRefresh + R_TRIG + 64 + 1504 - TouchProbe2InputState - BIT - 1 - 1 + ftBusy + F_TRIG + 64 + 1568 - - %08x - - - 0x%08x - - - 16#%08X - - - - NCTOPLC_AXIS_REF_STATE3 - 32 - Value - DWORD - 32 - 0 + fbTime + FB_LocalSystemTime + Time tracking liften from Arbiter PLCs + 19040 + 1632 + + + .bEnable + true + + + .dwCycle + 1 + + - Flags - NCTOPLC_AXIS_REF_STATE3_FLAGS - 32 - 0 + fbTime_to_UTC + FB_TzSpecificLocalTimeToSystemTime + 3584 + 20672 - - %08x - - - 0x%08x - - - 16#%08X - - - - NCTOPLC_AXIS_REF_CAMCOUPLINGSTATE - 8 - CamActivationPending - BIT - 1 - 0 + fbGetTimeZone + FB_GetTimeZoneInformation + 3488 + 24256 - CamDeactivationPending - BIT - 1 - 1 + fbIPCReg + FB_IPCDiag_Register + 43936 + 27744 - CamActive - BIT - 1 - 2 + fbCheckOS + FB_IPCDiag_ReadParameter + 18240 + 71680 - CamDataQueued - BIT - 1 - 6 + sOSName + STRING(80) + 648 + 89920 + + + - CamScalingPending - BIT - 1 - 7 + nCheckOSTries + UINT + 16 + 90576 + + 3 + + + + PouType + FunctionBlock + + - UINTARR8 - 128 - UINT - - 0 - 8 - - - - NCTOPLC_AXIS_REF - 2048 + ST_PMPS_Attenuator_IO + 64 - StateDWord - NCTOPLC_AXIS_REF_STATE + nTran + REAL 32 0 - ErrorCode - UDINT - 32 + xAttOK + UINT + 16 32 + + + + + + + + + + + + + + ST_PMPS_Attenuator + 64 + ST_PMPS_Attenuator_IO + + + ST_PMPS_Aperture_IO + 96 - 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 + Width + REAL + distance between horizontal slits (x) 32 - 96 + 0 + + + plcAttribute_pytmc + pv: Width + io: i + field: EGU mm + + - 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 - + Height + REAL + distance between vertical slits (y) 32 - 128 + 32 + + + plcAttribute_pytmc + pv: Height + io: i + field: EGU mm + + - 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 + 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 - SvbEntries - UDINT + nTran + REAL + Requested pre-optic attenuation % 32 - 192 + 0 + + 0 + + + + pytmc + pv: Transmission + io: i + field: HOPR 1; + field: LOPR 0; + field: PREC 2; + + + - SafEntries - UDINT + nRate + UDINT + Pulse-rate 32 - 224 + 32 + + 0 + + + + pytmc + pv: Rate + io: i + field: EGU Hz + + + - AxisId - UDINT + neVRange + DWORD + Photon energy ranges 32 - 256 + 64 + + 0 + + + + pytmc + pv: eVRanges + io: i + field: EGU eV + + + displaymode + binary + + - OpModeDWord - NCTOPLC_AXIS_REF_OPMODE + neV + REAL + Photon energy 32 - 288 - - - ActPos - LREAL - 64 - 320 + 96 + + 0 + + + + pytmc + pv: PhotonEnergy + io: i + field: EGU eV + + - ModuloActPos - LREAL - 64 - 384 + nBCRange + WORD + Beamclass ranges + 16 + 128 + + 0 + + + + pytmc + pv: BeamClassRanges + io: i + + + displaymode + binary + + - ActiveControlLoopIndex - UINT - 16 - 448 + nBeamClass + USINT + Beamclass + 8 + 144 + + 0 + + + + pytmc + pv: BeamClass + io: i + + - ControlLoopIndex - UINT - 16 - 464 + nMachineMode + USINT + Machine Mode + 8 + 152 + + 3 + + + + pytmc + pv: MachineMode + io: i + + - ModuloActTurns - DINT - 32 - 480 + astAttenuators + ST_PMPS_Attenuator + + 1 + 16 + + Beamline attenuators + 1024 + 160 + + + pytmc + pv: AuxAtt + io: i + + - ActVelo - LREAL - 64 - 512 + aVetoDevices + BOOL + + 1 + 16 + + Stoppers + 128 + 1184 + + + pytmc + pv: Veto + io: i + + - PosDiff - LREAL - 64 - 576 - - - SetPos - LREAL - 64 - 640 + 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 + + - SetVelo - LREAL - 64 - 704 + xValidToggle + BOOL + Toggle for watchdog + 8 + 1696 - SetAcc - LREAL - 64 - 768 + xValid + BOOL + Beam parameter set is valid (if readback), or acknowledged (if request) + 8 + 1704 + + + pytmc + pv: Valid + io: i + + - TargetPos - LREAL - 64 - 832 + 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 - ModuloSetPos - LREAL - 64 - 896 + PARAMSTRUCT + UDINT + NC ADS Index Offsets for Axis Parameters + 32 + 0 + + 0 + - ModuloSetTurns - DINT + ID + UDINT 32 - 960 + 32 + + 1 + - CmdNo - UINT - 16 - 992 + NAME + UDINT + 32 + 64 + + 2 + - CmdState - UINT - 16 - 1008 + AXISTYPE + UDINT + 32 + 96 + + 3 + - SetJerk - LREAL - 64 - 1024 + CYCLETIME + UDINT + 32 + 128 + + 4 + - SetTorque - LREAL - 64 - 1088 + UNITNAME + UDINT + 32 + 160 + + 5 + - ActTorque - LREAL - 64 - 1152 + VELOREFSEARCH + UDINT + 32 + 192 + + 6 + - StateDWord2 - NCTOPLC_AXIS_REF_STATE2 + VELOSYNCSEARCH + UDINT 32 - 1216 + 224 + + 7 + - StateDWord3 - NCTOPLC_AXIS_REF_STATE3 + VELOSLOWMANUAL + UDINT 32 - 1248 + 256 + + 8 + - TouchProbeState - DWORD + VELOFASTMANUAL + UDINT 32 - 1280 + 288 + + 9 + - TouchProbeCounter - DWORD + VELOFAST + UDINT 32 - 1312 + 320 + + 10 + - CamCouplingState - NCTOPLC_AXIS_REF_CAMCOUPLINGSTATE - - 0 - 8 - - 64 - 1344 + POSAREAENABLE + UDINT + 32 + 352 + + 15 + - CamCouplingTableID - UINTARR8 - 128 - 1408 + POSAREARANGE + UDINT + 32 + 384 + + 16 + - ActTorqueDerivative - LREAL - 64 - 1536 + MOTCNTRLENABLE + UDINT + 32 + 416 + + 17 + - SetTorqueDerivative - LREAL - 64 - 1600 + MOTCNTRLTIME + UDINT + 32 + 448 + + 18 + - AbsPhasingPos - LREAL - 64 - 1664 + LOOPENABLE + UDINT + 32 + 480 + + 19 + - TorqueOffset - LREAL - 64 - 1728 + LOOPDISTANCE + UDINT + 32 + 512 + + 20 + - ActPosWithoutPosCorrection - LREAL - 64 - 1792 + TARGETPOSENA + UDINT + 32 + 544 + + 21 + - ActAcc - LREAL - 64 - 1856 + TARGETPOSRANGE + UDINT + 32 + 576 + + 22 + - DcTimeStamp - UDINT + TARGETPOSTIME + UDINT 32 - 1920 + 608 + + 23 + - UserData - LREAL - 64 - 1984 + PULSDISTPOS + UDINT + 32 + 640 + + 24 + - - - NcStructType - 2 - - - - - NCAXLESTRUCT_TOPLC - - - NCAXLESTRUCT_TOPLC2 - - - NCAXLESTRUCT_TOPLC3 - - - NCAXLESTRUCT_TOPLC4 - - - - - - - - - - - - - - - - - - - - - - - ST_AdsAddress - 224 - NetId - STRING(23) - 192 - 0 + PULSDISTNEG + UDINT + 32 + 672 + + 25 + - Port - UINT - 16 - 192 + FADINGACCELERATION + UDINT + 32 + 704 + + 29 + - Channel - UINT - 16 - 208 + FASTAXISSTOPSIGNALTYPE + UDINT + 32 + 736 + + 30 + - - - 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 + UNITFLAGS + UDINT + 32 + 768 + + 38 + - TargetPositionMonitoring - BOOL - bit 1 - OpModeDWord - 8 - 8 + VELOMAXIMUM + UDINT + 32 + 800 + + 39 + - LoopMode - BOOL - bit 2 - OpModeDWord - loop mode for two speed axes - 8 - 16 + MOTCNTRLRANGE + UDINT + 32 + 832 + + 40 + - MotionMonitoring - BOOL - bit 3 - OpModeDWord - 8 - 24 + PEHCONTROLENA + UDINT + 32 + 864 + + 41 + - PEHTimeMonitoring - BOOL - bit 4 - OpModeDWord - 8 - 32 + PEHCONTROLTIME + UDINT + 32 + 896 + + 42 + - BacklashCompensation - BOOL - bit 5 - OpModeDWord - 8 - 40 + BACKLASHCOMPENA + UDINT + 32 + 928 + + 43 + - DelayedErrorReaction - BOOL - bit 6 - OpModeDWord - 8 - 48 + BACKLASH + UDINT + 32 + 960 + + 44 + - Modulo - BOOL - bit 7 - OpModeDWord - axis is parameterized as modulo axis - 8 - 56 + DATAPERSISTENCE + UDINT + 32 + 992 + + 48 + - SimulationAxis - BOOL - bit 8 - OpModeDWord - axis is a simulation axis - available from 2.11 R2 B2033 - 2011-05-31 KSt - 8 - 64 + HWAMSADDR + UDINT + 32 + 1024 + + 49 + - StopMonitoring - BOOL - bit 12 - OpModeDWord - TargetPositionMonitoring for Stop and Halt commands - available from 2.11 R3 - 2011-12-09 KSt - 8 - 72 + HWCHNNO + UDINT + 32 + 1056 + + 50 + - PositionLagMonitoring - BOOL - bit 16 - OpModeDWord - 8 - 80 + APPLICATIONREQUEST + UDINT + 32 + 1088 + + 51 + - VelocityLagMonitoring - BOOL - bit 17 - OpModeDWord - 8 - 88 + ACC + UDINT + 32 + 1120 + + 257 + - SoftLimitMinMonitoring - BOOL - bit 18 - OpModeDWord - 8 - 96 + DEC + UDINT + 32 + 1152 + + 258 + - SoftLimitMaxMonitoring - BOOL - bit 19 - OpModeDWord - 8 - 104 + JERK + UDINT + 32 + 1184 + + 259 + - PositionCorrection - BOOL - bit 20 - OpModeDWord - 8 - 112 + DELAY + UDINT + 32 + 1216 + + 260 + - AllowSlaveCommands - BOOL - 2009-02-20 KSt - 8 - 120 + OVERRIDETYPE + UDINT + 32 + 1248 + + 261 + - AllowExtSetAxisCommands - BOOL - 2011-10-13 KSt - 8 - 128 + VELOJUMPFACTOR + UDINT + 32 + 1280 + + 262 + - - - ST_AxisStatus - 768 - UpdateTaskIndex - BYTE - Task-Index of the task that updated this data set - 8 - 0 + REDUCTIONFEEDBACK + UDINT + 32 + 1312 + + 263 + - UpdateCycleTime - LREAL - task cycle time of the task which calls the status function - 64 - 64 + TOLERANCEBALLAUXAXIS + UDINT + 32 + 1344 + + 264 + - CycleCounter + MAXPOSDEVIATIONAUXAXIS UDINT - PLC cycle counter when this data set updated 32 - 128 + 1376 + + 265 + - NcCycleCounter + FASTACC UDINT - NC cycle counter incremented after NC task updated NcToPlc data structures 32 - 160 + 1408 + + 266 + - MotionState - MC_AxisStates - motion state in the PLCopen state diagram - 16 - 192 + FASTDEC + UDINT + 32 + 1440 + + 267 + - Error - BOOL - StateDWord bit 31 - axis error state - 8 - 208 + FASTJERK + UDINT + 32 + 1472 + + 268 + - ErrorID + REF_POS UDINT - axis error code 32 - 224 - - - displaymode - hex - - + 1504 + + 65795 + - ErrorStop - BOOL - PLCopen motion control statemachine states: - 8 - 256 + ENCSEARCHDIR + UDINT + 32 + 1536 + + 65793 + - Disabled - BOOL - 8 - 264 + ENCSYNCDIR + UDINT + 32 + 1568 + + 65794 + - Stopping - BOOL - 8 - 272 + ENCREFMODE + UDINT + 32 + 1600 + + 65799 + + + + conditionalshow + + + + + _ST_NCADS_AxisParameter + 1664 - StandStill - BOOL - 8 - 280 + IDXGRP + UDINT + 32 + 0 + + 16384 + - DiscreteMotion - BOOL - 8 - 288 + IDXOFFS + _ST_NCADS_IDXOFFS_AxisParameter + 1632 + 32 + + + conditionalshow + + + + + _ST_NCADS_IDXOFFS_AxisState + 800 - ContinuousMotion - BOOL - StateDWord bit 19 - 8 - 296 + ONLINESTRUCT + UDINT + 32 + 0 + + 0 + - SynchronizedMotion - BOOL - 8 - 304 + ERROR + UDINT + 32 + 32 + + 1 + - Homing - BOOL - 8 - 312 + 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 + - ConstantVelocity - BOOL - StateDWord bit 12 - 8 - 320 + SETPOS + UDINT + 32 + 96 + + 10 + - Accelerating - BOOL - 8 - 328 + SETVELO + UDINT + 32 + 128 + + 14 + - Decelerating - BOOL - 8 - 336 + SETACC + UDINT + 32 + 160 + + 15 + - Operational - BOOL - StateDWord bit 0 - (was ready) - 8 - 344 + MODULOSETPOS + UDINT + 32 + 192 + + 11 + - ControlLoopClosed - BOOL - StateDWord bit 20 - operational and position control active - 8 - 352 + MODULOSETTURNS + UDINT + 32 + 224 + + 12 + - HasJob - BOOL - StateDWord bit 8 - 8 - 360 + SETDIR + UDINT + 32 + 256 + + 13 + - HasBeenStopped - BOOL - StateDWord bit 7 - 8 - 368 + TARGETPOSITION + UDINT + 32 + 288 + + 19 + - NewTargetPosition - BOOL - StateDWord bit 17 - new target position commanded during move - 8 - 376 + REMAININGTIMEANDPOS + UDINT + 32 + 320 + + 20 + - InPositionArea - BOOL - StateDWord bit 3 - 8 + STOPINFORMATION + UDINT + 32 + 352 + + 24 + + + + SETTASKCYCLE_WITHOUTCORR + UDINT + 32 384 + + 25 + - InTargetPosition - BOOL - StateDWord bit 4 - 8 - 392 + SETPOS_WITHOUTCORR + UDINT + 32 + 416 + + 26 + - ProtectedMode - BOOL - StateDWord bit 5 - 8 - 400 + SETVELO_WITHOUTCORR + UDINT + 32 + 448 + + 30 + - Homed - BOOL - StateDWord bit 1 - 8 - 408 + SETACC_WITHOUTCORR + UDINT + 32 + 480 + + 31 + - HomingBusy - BOOL - StateDWord bit 11 - 8 - 416 + SETDIR_WITHOUTCORR + UDINT + 32 + 512 + + 29 + - MotionCommandsLocked - BOOL - StateDWord bit 29 - stop 'n hold - 8 - 424 + COUPLESTATE + UDINT + 32 + 544 + + 32 + - SoftLimitMinExceeded - BOOL - StateDWord bit 26 - reverse soft travel limit exceeded - 8 - 432 + CPLPARAMS + UDINT + 32 + 576 + + 34 + - SoftLimitMaxExceeded - BOOL - StateDWord bit 27 - forward soft travel limit exceeded - 8 - 440 + CPLFACTOR + UDINT + 32 + 608 + + 35 + - Moving - BOOL - StateDWord bit 9+10 - 8 - 448 + AXISCTRLLOOPIDX + UDINT + 32 + 640 + + 36 + - PositiveDirection - BOOL - StateDWord bit 9 - 8 - 456 + AXISSETPOINTGENIDX + UDINT + 32 + 672 + + 37 + - NegativeDirection - BOOL - StateDWord bit 10 - 8 - 464 + CPLCHARACVALUES + UDINT + 32 + 704 + + 38 + - NotMoving - BOOL - StateDWord bit 2 - 8 - 472 + CAMINFO + UDINT + 32 + 736 + + 39 + - Compensating - BOOL - superposition - overlayed motion - 8 - 480 + CAMSTATUS + UDINT + activation status etc. + 32 + 768 + + 40 + + + + conditionalshow + + + + + _ST_NCADS_AxisState + 832 - ExtSetPointGenEnabled - BOOL - StateDWord bit 14 - 8 - 488 + IDXGRP + UDINT + 32 + 0 + + 16640 + - PhasingActive - BOOL - StateDWord bit 15 - 8 - 496 + IDXOFFS + _ST_NCADS_IDXOFFS_AxisState + 800 + 32 + + + conditionalshow + + + + + _ST_NCADS_IDXOFFS_AxisFunctions + 1792 - ExternalLatchValid - BOOL - StateDWord bit 16 - 8 - 504 + RESET + UDINT + 32 + 0 + + 1 + - CamDataQueued - BOOL - StateDWord bit 22 - 8 - 512 + STOP + UDINT + 32 + 32 + + 2 + - CamTableQueued - BOOL - StateDWord bit 21 - 8 - 520 + CLEAR + UDINT + 32 + 64 + + 3 + - CamScalingPending - BOOL - StateDWord bit 23 - 8 - 528 + EMERGENCYSTOP + UDINT + 32 + 96 + + 4 + - CmdBuffered - BOOL - StateDWord bit 24 - 8 - 536 + PARAMETRIZEDSTOP + UDINT + 32 + 128 + + 5 + - PTPmode - BOOL - StateDWord bit 25 - 8 - 544 + INITIALIZE + UDINT + Initialize Axis + 32 + 160 + + 7 + - DriveDeviceError - BOOL - StateDWord bit 28 - 8 - 552 + ORIENTEDSTOP + UDINT + 19.04.04 issue #2470 + 32 + 192 + + 9 + - IoDataInvalid - BOOL - StateDWord bit 30 - 8 - 560 + CALIBR + UDINT + 32 + 224 + + 16 + - ErrorPropagationDelayed - BOOL - StateDWord bit 6 - 8 - 568 + NEWTARGPOS + UDINT + 32 + 256 + + 17 + - DriveLimitActive - BOOL - StateDWord bit 18 - 20181213 Fap - 8 + 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 + - Coupled - BOOL - Axis.NcToPlc.CoupleState - 8 - 584 + SETENCODERSCALING + UDINT + 17.07.08: "Fliegende Änderung des Skalierungsfaktors" + 32 + 608 + + 30 + - OpMode - ST_AxisOpModes - axis operation mode feedback from NcToPlc - 136 - 592 + SETPOSONTHEFLY + UDINT + 29.11.05: "Fliegendes Istwert Setzen" (betrifft Ist - und Sollwert) (issue #3017) + 32 + 640 + + 31 + - NcApplicationRequest - BOOL - OpModeDWord bit 23 - 8 - 728 + START + UDINT + 32 + 672 + + 32 + - - - 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 - 672 - NetID - T_AmsNetID - AMS NetID of the hardware drive as a string - 192 - 0 + STARTEXT + UDINT + 32 + 704 + + 33 + - NetIdBytes - T_AmsNetIdArr - AMS NetID of the hardware drive as a byte array (same information as NetID) - 48 - 192 + STARTVELOCHANGE + UDINT + special function for MMW + 32 + 736 + + 34 + - SlaveAddress - T_AmsPort - slave address of the hardware drive connected to a bus master - 16 - 240 + ENABLEEXTGEN + UDINT + enable/start external setpoint values + 32 + 768 + + 35 + - Channel - BYTE - channel number of the hardware drive - 8 - 256 + DISABLEEXTGEN + UDINT + disable/stop external setpoint values + 32 + 800 + + 36 + - NcDriveId - DWORD - ID [1..255] of the NC software drive of an axis + REVERSINGSEQUENCE + UDINT 32 - 288 + 832 + + 37 + - NcDriveIndex - DWORD - index [0..9] of the NC software drive of an axis + STARTDRVOUT + UDINT 32 - 320 + 864 + + 38 + - NcDriveType - E_NcDriveType - type enumeration of the NC software drive of an axis + STOPDRVOUT + UDINT 32 - 352 + 896 + + 39 + - NcEncoderId - DWORD - ID [1..255] of the NC software encoder of an axis + CHANGEDRVOUT + UDINT 32 - 384 + 928 + + 40 + - NcEncoderIndex - DWORD - index [0..9] of the NC software encoder of an axis + JUMPTOOVERRIDE + UDINT + 04.11.04: jump to actual override value and froze them until change (issue #2697) 32 - 416 + 960 + + 41 + - NcEncoderType - E_NcEncoderType - type enumeration of the NC encoder drive of an axis + EXTSETGENUNIVERSALSTART + UDINT + 23.11.10: deactivation of external setpoint generator with succeding universal axis start command 32 - 448 + 992 + + 43 + - NcAxisId - DWORD - ID [1..255] of the NC axis + UNIVERSALTORQUESTART + UDINT + 20181210 Fap - new 'axis torque control start and restart' command with buffer mode 32 - 480 + 1024 + + 45 + - NcAxisType - E_NcAxisType - type enumeration of the NC axis + STARTSCOM + UDINT + start superposition (position compensation) - 21.12.04: nun auch als 'ReadWrite'-Kommando 32 - 512 + 1056 + + 48 + - TcSoftDriveObjectId - OTCID - new since 2016-04-11 FAP - just available with versions after this date, otherwise zero + STOPSCOM + UDINT + stop superposition (position compensation) 32 - 544 - - - conditionalshow - - + 1088 + + 49 + - TcDriveObjectId - OTCID + PHASINGREQEUST + UDINT + start/stop the additional phasing set point generator used for a master/slave phase shift 32 - 576 + 1120 + + 52 + - TcEncoderObjectId - OTCID + CPL + UDINT + Achse koppeln 32 - 608 + 1152 + + 64 + - TcAxisObjectId - OTCID + DECPL + UDINT + Achse entkoppeln (und optional neue Endposition mit neuer Geschwindigkeit) 32 - 640 + 1184 + + 65 + - - - _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 + CPLCHANGE + UDINT + Achse Koppelparams ändern + 32 + 1216 + + 66 + - NcCycleCounter_AtReadStatusCall + TABCPLCHANGE UDINT - current NC cycle counter when calling ReadStatus + 3x TabSlaveAxe Tabelle-Koppelparams ändern 32 - 32 + 1248 + + 67 + - LastTaskIndex_AtReadStatusCall - BYTE - task index of last recent status update - 8 - 64 + STOPSLAVE + UDINT + Slave-Stop (Diagonal-Slave / Flying Saw) + 32 + 1280 + + 68 + - CounterSameTaskIndex_AtReadStatusCall - UINT - counter increments to max 100 if the task index for the status update never changes - 16 - 80 + CPLTAB + UDINT + TabSlaveAxe Koppelparams setzen + 32 + 1312 + + 69 + - PhasingState - _E_PhasingState - KSt 20190703 global handshake for phasing blocks - 16 - 96 + TABSLVACTIVCOR + UDINT + 2x TabSlaveAxe Korrekturtabelle aktivieren (mit/ohne Aktivierungsposition) + 32 + 1344 + + 70 + - - - 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). - - 9088 - PlcToNc - PLCTONC_AXIS_REF - 1024 - 64 - - - ItemType - Input - - - TcAddressType - Output - - + TABSLVLEAVECYC + UDINT + TabSlaveAxe Monozyklische Tabelle beenden + 32 + 1376 + + 71 + - NcToPlc - NCTOPLC_AXIS_REF - 2048 - 1088 - - - ItemType - Output - - - TcAddressType - Input - - + TABSLVCOROFFSET + UDINT + TabSlaveAxe Letzter Korrektur Offset + 32 + 1408 + + 72 + - ADS - ST_AdsAddress - 224 - 3136 - - - ItemType - Output - - + TABSLVSCALING + UDINT + NEU: Slave-Skalierung der Solo-Tabellenkopplung setzen + 32 + 1440 + + 73 + - Status - ST_AxisStatus - 768 - 3392 - - - ItemType - Output - - + CPLSOLOTAB + UDINT + Solo Tabellen Kopplung + 32 + 1472 + + 74 + - DriveAddress - ST_DriveAddress - 672 - 4160 - - - ItemType - Input - - + CPLSYNCHRONIZING + UDINT + Slave Synchronizing Generator ('GearInPos' and 'GearInVelo') + 32 + 1504 + + 75 + - _internal - _InternalAxisRefData - 128 - 4832 - - - conditionalshow - - + CAMSCALING + UDINT + Slave Change CAM Scaling (Aenderung der Tabellenskalierung) (issue #2514) + 32 + 1536 + + 77 + - Storage - DWORD - - 0 - 128 - - 4096 - 4960 - - - conditionalshow - - + DISABLE + UDINT + Achse sperren + 32 + 1568 + + 80 + - - ReadStatus - - - - PouType - FunctionBlock - - - conditionalshow_all_locals - - - - - DUT_EPS - 1344 - nFlags + ENABLE UDINT - Contains EPS flags + Achse reaktivieren 32 - 0 + 1600 - 4294967295 + 81 - - - 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 - - - + CHANGEAXISCTRLLOOP + UDINT + NEU: Aenderung des aktiven Achsregelkreises + 32 + 1632 + + 82 + - sMessage - STRING(80) - Name to use for log messages. - 648 - 680 - - - pytmc - - pv: sMessage - io: i - field: DESC Message from EPS to usr - - - + DRIVEDISABLE + UDINT + Drive-Output der Achse sperren + 32 + 1664 + + 96 + - bEPS_OK - BOOL - Keep Track if nFlags are all true - 8 - 1328 + DRIVEENABLE + UDINT + Drive-Output der Achse reaktivieren + 32 + 1696 - true + 97 + + + + RELEASEBRAKE + UDINT + Feststellbremse loesen (Eil/Schleich-Gruppe) + 32 + 1728 + + 98 + + + + RECONFIGURATE + UDINT + Achse zurueckfuehren in eigene PTP-Gruppe + 32 + 1760 + + 112 - - - pytmc - - pv: bEPS_OK - io: i - field: DESC check if nFlags are all 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 + conditionalshow - 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 - + _ST_NCADS_AxisFunctions + 1824 + + IDXGRP + UDINT + 32 + 0 + + 16896 + + + + IDXOFFS + _ST_NCADS_IDXOFFS_AxisFunctions + 1792 + 32 + - qualified_only - - - strict + conditionalshow - 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 - + _ST_NCADS_Axis + 4320 + + Parameter + _ST_NCADS_AxisParameter + 1664 + 0 + + + State + _ST_NCADS_AxisState + 832 + 1664 + + + Functions + _ST_NCADS_AxisFunctions + 1824 + 2496 + - qualified_only - - - strict + conditionalshow - ST_AxisParameterSet - 8192 + _ST_NCADS_IDXOFFS_TableParameter + 192 - AxisId - DWORD - TC3 &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& + MFREADCHARACVALUES + UDINT + read characteristic values of a motion function 32 0 + + 80 + - nAxisType - E_NcAxisType - 0x00000003 + WRITETABROWS + UDINT + write table 32 32 + + 16777216 + - sAxisName - STRING(31) - 0x00000002 - 256 + WRITEMFTABROWS + UDINT + write motion function table + 32 64 + + 83886080 + - fAxisCycleTime - LREAL - available from Tc 2.11 R2 - 64 - 320 + MFREADTAB + UDINT + read motion function as data table + 32 + 96 + + 34 + - bEnablePositionAreaControl - WORD - 0x0000000F - 16 - 384 + READSLAVEDYNAMICS + UDINT + read slave table position, velocity and acceleration related to a master position + 32 + 128 + + 35 + - fPositionAreaControlRange - LREAL - 0x00000010 - 64 - 448 + READMASTERPOSITION + UDINT + read master table position related to slave position + 32 + 160 + + 36 + + + + conditionalshow + + + + + _ST_NCADS_TableParameter + 224 - bEnableMotionControl - WORD - 0x00000011 - 16 - 512 + IDXGRP + UDINT + 32 + 0 + + 40960 + - fMotionControlTime - LREAL - 0x00000012 - 64 - 576 + IDXOFFS + _ST_NCADS_IDXOFFS_TableParameter + 192 + 32 + + + conditionalshow + + + + + _ST_NCADS_IDXOFFS_TableFunctions + 96 - bEnableLoop - WORD - 0x00000013 - 16 - 640 + CREATETAB + UDINT + create table + 32 + 0 + + 65536 + - fLoopDistance - LREAL - 0x00000014 - 64 - 704 + CREATEMOTIONTAB + UDINT + create motion function table + 32 + 32 + + 65552 + - bEnableTargetPosControl - WORD - 0x00000015 - 16 - 768 + DELETETAB + UDINT + delete tables + 32 + 64 + + 131072 + + + + conditionalshow + + + + + _ST_NCADS_TableFunctions + 128 - fTargetPosControlRange - LREAL - 0x00000016 - 64 - 832 + IDXGRP + UDINT + 32 + 0 + + 41472 + - fTargetPosControlTime - LREAL - 0x00000017 - 64 - 896 - + IDXOFFS + _ST_NCADS_IDXOFFS_TableFunctions + 96 + 32 + + + + conditionalshow + + + + + _ST_NCADS_Table + 352 - fVeloMaximum - LREAL - 0x00000027 - 64 - 960 + Parameter + _ST_NCADS_TableParameter + 224 + 0 - fRefVeloSearch - LREAL - 0x00000006 calibration velo (TO plc cam) (17.05.11: parameter extension) - 64 - 1024 + Functions + _ST_NCADS_TableFunctions + 128 + 224 + + + conditionalshow + + + + + ADSRDDEVINFO + ADS read device info command. + 1280 - fRefVeloSync - LREAL - 0x00000007 calibration velo (off plc cam) (17.05.11: parameter extension) - 64 - 1088 + NETID + T_AmsNetID + Ams net id + 192 + 32 + + + ItemType + Input + + - fVeloSlowManual - LREAL - 0x00000008 manual velocity (slow) (17.05.11: parameter extension) - 64 - 1152 + PORT + T_AmsPort + Ads communication port + 16 + 224 + + + ItemType + Input + + - fVeloFastManual - LREAL - 0x00000009 manual velocity (fast) (17.05.11: parameter extension) - 64 - 1216 + RDINFO + BOOL + Rising edge starts command execution + 8 + 240 + + + ItemType + Input + + - fMotionControlRange - LREAL - 0x00000028 - 64 - 1280 + TMOUT + TIME + Maximum time allowed for the execution of this ADS command + 32 + 256 + + 5000 + + + + ItemType + Input + + - bEnablePEHTimeControl - WORD - 0x00000029 - 16 - 1344 + BUSY + BOOL + Busy flag + 8 + 288 + + + ItemType + Output + + - fPEHControlTime - LREAL - 0x0000002A - 64 - 1408 + ERR + BOOL + Error flag + 8 + 296 + + + ItemType + Output + + - bEnableBacklashCompensation - WORD - 0x0000002B + 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 - 1472 + 32 + + 500 + + + + ItemType + Input + + - fBacklash - LREAL - 0x0000002C - 64 - 1536 + NCPORT_TCMC_COUPLING + UINT + 20110511 type changed from INT to UINT + 16 + 48 + + 500 + + + + ItemType + Input + + - sAmsNetId + NCNETID_TCMC T_AmsNetID - 0x00000031 (Wandlung von "BYTE b[6]" zum nullterminierten STRING mit 23+1 Zeichen) 192 - 1600 + 64 + + + + + + ItemType + Input + + - nPort - WORD - 0x00000031 + NCPORT_TCMC_CAM + UINT + 20110511 type changed from INT to UINT 16 - 1792 + 256 + + 500 + + + + ItemType + Input + + - nChnNo - WORD - 0x00000031 + NCPORT_TCMC_CAM_FAST + UINT + 20150728 KSt added 16 - 1808 + 272 + + 500 + + + + ItemType + Input + + - fAcceleration - LREAL - 0x00000101 - 64 - 1856 + NCNETID_TCMC_CAM + T_AmsNetID + 192 + 288 + + + + + + ItemType + Input + + - fDeceleration - LREAL - 0x00000102 - 64 - 1920 + NCPORT_TCMC_SUPERPOSITION + UINT + 20140930 KSt added + 16 + 480 + + 501 + + + + ItemType + Input + + - fJerk - LREAL - 0x00000103 - 64 - 1984 + NCPORT_TCMC_RESET + UINT + 20211019 KSt added + 16 + 496 + + 500 + + + + ItemType + Input + + - nEncId + NcDeviceInfoTcMainVersion DWORD - 0x00010001 32 - 2048 + 512 + + + ItemType + Output + + - nEncType - E_NcEncoderType - 0x00010003 + NcDeviceInfoTcSubVersion + DWORD 32 - 2080 + 544 + + + ItemType + Output + + - sEncName - STRING(31) - 0x00010002 - 256 - 2112 + NcDeviceInfoNcDriverVersion + DWORD + 32 + 576 + + + ItemType + Output + + - fEncScaleFactorNumerator - LREAL - 0x00010023 - 64 - 2368 + NcDeviceInfoNcVersion + DWORD + 32 + 608 + + + ItemType + Output + + - fEncScaleFactorDenominator - LREAL - 0x00010024 - 64 - 2432 + NcDeviceInfoNcName + STRING(19) + 160 + 640 + + + ItemType + Output + + - fEncScaleFactorInternal - LREAL - fEncScaleFactorInternal = fEncScaleFactorNumerator / fEncScaleFactorDenominator - 64 - 2496 + Axis + _ST_NCADS_Axis + IDXGRP and IDXOFFS constants of axis parameter/status/functions + 4320 + 800 + + + ItemType + Output + + + suppress_warning_0 + C0228 + + - fEncOffset - LREAL - 0x00010007 - 64 - 2560 + Table + _ST_NCADS_Table + IDXGRP and IDXOFFS constants of table parameter/status/functions + 352 + 5120 + + + ItemType + Output + + + suppress_warning_0 + C0228 + + - bEncIsInverse - WORD - 0x00010008 + NCPORT_TCNCCAMMING_TABLEFUNCTION + UINT 16 - 2624 + 5472 + + 500 + - fEncModuloFactor - LREAL - 0x00010009 - 64 - 2688 + tTargetPosTimeOut + TIME + 32 + 5504 + + 6000 + - nEncMode - DWORD - 0x0001000A + tADSTimeOut + TIME 32 - 2752 + 5536 + + 1000 + - bEncEnableSoftEndMinControl - WORD - 0x0001000B - 16 - 2784 + tStopMonitoringTimeOut + TIME + 32 + 5568 + + 100 + - bEncEnableSoftEndMaxControl - WORD - 0x0001000C + NCTOPLC_FEEDBACK_MAXWAITCYCLES + INT 16 - 2800 + 5600 + + 10 + - fEncSoftEndMin - LREAL - 0x0001000D - 64 - 2816 + fbADSRDDEVINFO + ADSRDDEVINFO + 1280 + 5632 - fEncSoftEndMax - LREAL - 0x0001000E - 64 - 2880 - - - nEncMaxIncrement - DWORD - 0x00010015 - 32 - 2944 - - - nEncRefSoftSyncMask + DeviceVersion DWORD - 0x00010108 32 - 2976 + 6912 - bEncEnablePosCorrection - WORD - 0x00010016 - 16 - 3008 + Init + BOOL + 8 + 6944 + + ReadDeviceInfo + + + + PouType + FunctionBlock + + + conditionalshow + + + + + ST_CTRL_CYCLE_TIME_INTERPRETATION + 128 - nEncReferenceSystem - DWORD - 0x00010019 (15.10.15: parameter extension) - 32 - 3040 + bInterpretCycleTimeAsTicks + BOOL + 8 + 0 - fEncPosCorrectionFilterTime + fBaseTime LREAL - 0x00010017 64 - 3072 - - - bEncRefSearchInverse - UINT - 0x00010101 (17.05.11: parameter extension) - 16 - 3136 - - - bEncRefSyncInverse - UINT - 0x00010102 (17.05.11: parameter extension) - 16 - 3152 + 64 + + + hide + + + + + PLCTONC_AXIS_REF_CTRL + 32 - nEncRefMode - UDINT - 0x00010107 (17.05.11: parameter extension) - 32 - 3168 + Enable + BIT + 1 + 0 - fEncRefPosition - LREAL - 0x00010103 (17.05.11: parameter extension) - 64 - 3200 + FeedEnablePlus + BIT + 1 + 1 - nCtrlId - DWORD - 0x00020001 - 32 - 3264 + FeedEnableMinus + BIT + 1 + 2 - nCtrlType - DWORD - 0x00020003 - 32 - 3296 + HomingSensor + BIT + 1 + 5 - sCtrlName - STRING(31) - 0x00020002 - 256 - 3328 + AcceptBlockedDrive + BIT + 1 + 8 - bCtrlEnablePosDiffControl - WORD - 0x00020010 - 16 - 3584 + PlcDebugFlag + BIT + 1 + 30 - bCtrlEnableVeloDiffControl - WORD - 0x00020011 - 16 - 3600 + NcDebugFlag + BIT + 1 + 31 + + %08x + + + 0x%08x + + + 16#%08X + + + + PLCTONC_AXIS_REF + 1024 - fCtrlPosDiffMax - LREAL - 0x00020012 - 64 - 3648 + ControlDWord + PLCTONC_AXIS_REF_CTRL + 32 + 0 - fCtrlPosDiffMaxTime - LREAL - 0x00020013 - 64 - 3712 + Override + UDINT + 32 + 32 - fCtrlPosKp - LREAL - 0x00020102 - 64 - 3776 + AxisModeRequest + UDINT + 32 + 64 - fCtrlPosTn - LREAL - 0x00020103 - 64 - 3840 + AxisModeDWord + UDINT + 32 + 96 - fCtrlPosTv - LREAL - 0x00020104 + AxisModeLReal + LREAL 64 - 3904 + 128 - fCtrlPosTd - LREAL - 0x00020105 + PositionCorrection + LREAL 64 - 3968 + 192 - fCtrlPosExtKp - LREAL - 0x00020106 + ExtSetPos + LREAL 64 - 4032 + 256 - fCtrlPosExtVelo - LREAL - 0x00020107 + ExtSetVelo + LREAL 64 - 4096 + 320 - fCtrlAccKa - LREAL - 0x00020108 + ExtSetAcc + LREAL 64 - 4160 - - - nDriveId - DWORD - 0x00030001 - 32 - 4224 - - - nDriveType - E_NcDriveType - 0x00030003 - 32 - 4256 - - - sDriveName - STRING(31) - 0x00030002 - 256 - 4288 - - - bDriveIsInverse - WORD - 0x00030006 - 16 - 4544 + 384 - nDriveControlDWord - DWORD - 0x00030010 + ExtSetDirection + DINT 32 - 4576 + 448 - fDriveVeloReferenz - LREAL - 0x00030101 + ExtControllerOutput + LREAL 64 - 4608 + 512 - fDriveOutputReferenz - LREAL - 0x00030102 + GearRatio1 + LREAL 64 - 4672 + 576 - fDriveOutputScalingAcc - LREAL - 0x0003000A (15.10.15: parameter extension) + GearRatio2 + LREAL 64 - 4736 + 640 - fDriveOutputScalingTorque - LREAL - 0x0003000B (15.10.15: parameter extension) + GearRatio3 + LREAL 64 - 4800 + 704 - fDriveInputScalingTorque - LREAL - 0x00030031 (15.10.15: parameter extension) + GearRatio4 + LREAL 64 - 4864 + 768 - fDriveInputFiltertimeTorque - LREAL - 0x00030032 (15.10.15: parameter extension) - 64 - 4928 + MapState + BOOL + 8 + 832 - fDriveInputFiltertimeTorqueDerivative - LREAL - 0x00030033 (15.10.15: parameter extension) - 64 - 4992 + PlcCycleControl + BYTE + 8 + 840 - fAccelerationMax - LREAL - 0x000000F1 (15.10.15: parameter extension) - 64 - 5056 + PlcCycleCount + BYTE + 8 + 848 - fDecelerationMax - LREAL - 0x000000F2 (15.10.15: parameter extension) + ExtTorque + LREAL 64 - 5120 + 896 + + + NcStructType + 1 + + + + + + + + + + - DUT_AxisStatus_v0_01 - 768 + NCTOPLC_AXIS_REF_STATE + 32 - bEnable - BOOL - 8 + Operational + BIT + 1 0 - bReset - BOOL - 8 - 8 - - - bExecute - BOOL - 8 - 16 + Homed + BIT + 1 + 1 - nCommand - UINT - 16 - 32 + NotMoving + BIT + 1 + 2 - nCmdData - UINT - 16 - 48 + InPositionArea + BIT + 1 + 3 - fVelocity - LREAL - 64 - 64 + InTargetPosition + BIT + 1 + 4 - fPosition - LREAL - 64 - 128 + Protected + BIT + 1 + 5 - fAcceleration - LREAL - 64 - 192 + ErrorPropagationDelayed + BIT + 1 + 6 - fDeceleration - LREAL - 64 - 256 + HasBeenStopped + BIT + 1 + 7 - bJogFwd - BOOL - 8 - 320 + HasJob + BIT + 1 + 8 - bJogBwd - BOOL - 8 - 328 + PositiveDirection + BIT + 1 + 9 - bLimitFwd - BOOL - 8 - 336 + NegativeDirection + BIT + 1 + 10 - bLimitBwd - BOOL - 8 - 344 + HomingBusy + BIT + 1 + 11 - fOverride - LREAL - 64 - 384 - - 100 - + ConstantVelocity + BIT + 1 + 12 - bHomeSensor - BOOL - 8 - 448 + Compensating + BIT + 1 + 13 - bEnabled - BOOL - 8 - 456 + ExtSetPointGenEnabled + BIT + 1 + 14 - bError - BOOL - 8 - 464 + PhasingActive + BIT + 1 + 15 - nErrorId - UDINT - 32 - 480 + ExternalLatchValid + BIT + 1 + 16 - fActVelocity - LREAL - 64 - 512 + NewTargetPos + BIT + 1 + 17 - fActPosition - LREAL - 64 - 576 + IsDriveLimitActive + BIT + 1 + 18 - fActDiff - LREAL - 64 - 640 + ContinuousMotion + BIT + 1 + 19 - bHomed - BOOL - 8 - 704 + ControlLoopClosed + BIT + 1 + 20 - bBusy - BOOL - 8 - 712 + CamTableQueued + BIT + 1 + 21 - - - ST_MotionStage - 25280 - Axis - AXIS_REF - Hardware - PLC Axis Reference - 9088 - 0 + CamDataQueued + BIT + 1 + 22 - bLimitForwardEnable - BOOL - NC Forward Limit Switch: TRUE if ok to move - 8 - 9088 - - - TcAddressType - Input - - + CamScalingPending + BIT + 1 + 23 - bLimitBackwardEnable - BOOL - NC Backward Limit Switch: TRUE if ok to move - 8 - 9096 - - - TcAddressType - Input - - + CmdBuffered + BIT + 1 + 24 - bHome - BOOL - NO Home Switch: TRUE if at home - 8 - 9104 - - - TcAddressType - Input - - + PTPmode + BIT + 1 + 25 - bBrakeRelease - BOOL - NC Brake Output: TRUE to release brake - 8 - 9112 - - - TcAddressType - Output - - + SoftLimitMinExceeded + BIT + 1 + 26 - bHardwareEnable - BOOL - NC STO Input: TRUE if ok to move - 8 - 9120 - - - pytmc - - pv: PLC:bHardwareEnable - io: i - field: ZNAM FALSE - field: ONAM TRUE - field: DESC TRUE if STO not hit - - - - TcAddressType - Input - - + SoftLimitMaxExceeded + BIT + 1 + 27 - nRawEncoderULINT - ULINT - Raw encoder IO for ULINT (Biss-C) - 64 - 9152 - - - TcAddressType - Input - - + DriveDeviceError + BIT + 1 + 28 - nRawEncoderUINT - UINT - Raw encoder IO for UINT (Relative Encoders) - 16 - 9216 - - - TcAddressType - Input - - + MotionCommandsLocked + BIT + 1 + 29 - nRawEncoderINT - INT - Raw encoder IO for INT (LVDT) - 16 - 9232 - - - TcAddressType - Input - - + IoDataInvalid + BIT + 1 + 30 - bAllForwardEnable - BOOL - Psuedo-hardware - Forward enable EPS summary - 8 - 9248 - - false - + Error + BIT + 1 + 31 + + %08x + + + 0x%08x + + + 16#%08X + + + + {4C3FC5AC-D5AA-44C6-AC5A-159774BA0F6D} + + + + + NCTOPLC_AXIS_REF_OPMODE + 32 - bAllBackwardEnable - BOOL - Backward enable EPS summary - 8 - 9256 - - false - + OpModePosAreaMonitoring + BIT + 1 + 0 - bAllEnable - BOOL - Enable EPS summary encapsulating emergency stop button and any additional motion preventive hardware - 8 - 9264 - - false - + OpModeTargetPosMonitoring + BIT + 1 + 1 - bGantryForwardEnable - BOOL - Forward virtual gantry limit switch - 8 - 9272 - - false - + OpModeLoop + BIT + 1 + 2 - bGantryBackwardEnable - BOOL - Backward virtual gantry limit switch - 8 - 9280 - - false - + OpModeMotionMonitoring + BIT + 1 + 3 - nEncoderCount - UDINT - Encoder count summary, if linked above - 32 - 9312 - - - pytmc - - pv: PLC:nEncoderCount - io: i - field: DESC Count from encoder hardware - - - + OpModePEHTimeMonitoring + BIT + 1 + 4 - stEPSForwardEnable - DUT_EPS - Forward Enable EPS struct - 1344 - 9344 - - - pytmc - - pv: PLC:stEPSF - io: i - field: DESC Forward Enable Interlocks - - - + OpModeBacklashCompensation + BIT + 1 + 5 - stEPSBackwardEnable - DUT_EPS - Backward Enable EPS struct - 1344 - 10688 - - - pytmc - - pv: PLC:stEPSB - io: i - field: DESC Backward Enable Interlocks - - - + OpModeDelayedErrorReaction + BIT + 1 + 6 - stEPSPowerEnable - DUT_EPS - Power Enable EPS struct - 1344 - 12032 - - - pytmc - - pv: PLC:stEPSP - io: i - field: DESC Power Interlocks - - - + OpModeModulo + BIT + 1 + 7 - sName - STRING(80) - Settings - Name to use for log messages, fast faults, etc. - 648 - 13376 + OpModeSimulationAxis + BIT + 1 + 8 - bPowerSelf - BOOL - If TRUE, we want to enable the motor independently of PMPS or other safety systems. - 8 - 14024 - - false - + OpModePosLagMonitoring + BIT + 1 + 16 - nEnableMode - E_StageEnableMode - Determines when we automatically enable the motor - 16 - 14032 - - E_StageEnableMode.DURING_MOTION - + OpModeVeloLagMonitoring + BIT + 1 + 17 - nBrakeMode - E_StageBrakeMode - Determines when we automatically disengage the brake - 16 - 14048 - - E_StageBrakeMode.IF_ENABLED - + OpModeSoftLimitMinMonitoring + BIT + 1 + 18 - nHomingMode - E_EpicsHomeCmd - Determines our encoder homing strategy - 16 - 14064 - - E_EpicsHomeCmd.NONE - + OpModeSoftLimitMaxMonitoring + BIT + 1 + 19 - bGantryAxis - BOOL - Set true to activate gantry EPS - 8 - 14080 - - false - + OpModePosCorrection + BIT + 1 + 20 - nGantryTol - LINT - Set to gantry difference tolerance - 64 - 14144 - - 0 - + OpModeAllowSlaveCommands + BIT + 1 + 21 - nEncRef - ULINT - Encoder count at which this axis is aligned with other axis - 64 - 14208 - - 0 - + OpModeAllowExtSetAxisCommands + BIT + 1 + 22 - bEnable - BOOL - Commands - Used internally to request enables - 8 - 14272 + ApplicationRequest + BIT + 1 + 23 + + + NCTOPLC_AXIS_REF_STATE2_FLAGS + 32 - bReset - BOOL - Used internally to reset errors and other state - 8 - 14280 - - - pytmc - - pv: PLC:bReset - io: io - field: ZNAM FALSE - field: ONAM TRUE - field: DESC Used internally to reset errors - - - + AvoidingCollision + BIT + 1 + 0 + + %08x + + + 0x%08x + + + 16#%08X + + + + NCTOPLC_AXIS_REF_STATE2 + 32 - bExecute - BOOL - Used internally and by the IOC to start or stop a move - 8 - 14288 + Value + DWORD + 32 + 0 - bUserEnable - BOOL - Used by the IOC to disable an axis - 8 - 14296 - - 1 - - - - pytmc - - pv: PLC:bUserEnable - io: io - field: ZNAM DISABLE - field: ONAM ENABLE - field: DESC Used to disable power entirely for an axis - - - + Flags + NCTOPLC_AXIS_REF_STATE2_FLAGS + 32 + 0 + + %08x + + + 0x%08x + + + 16#%08X + + + + NCTOPLC_AXIS_REF_STATE3_FLAGS + 32 - bMoveCmd - BOOL - Shortcut Commands - Start a move to fPosition with fVelocity - 8 - 14304 + TouchProbe1InputState + BIT + 1 + 0 - bHomeCmd - BOOL - Start the homing routine - 8 - 14312 - - - pytmc - - pv: PLC:bHomeCmd - io: io - field: DESC Start the homing routine - - - + TouchProbe2InputState + BIT + 1 + 1 + + %08x + + + 0x%08x + + + 16#%08X + + + + NCTOPLC_AXIS_REF_STATE3 + 32 - nCommand - INT - Command Args - Used internally and by the IOC to pick what kind of move to do - 16 - 14320 + Value + DWORD + 32 + 0 - nCmdData - INT - Used internally and by the IOC to pass additional data to some commands - 16 - 14336 + Flags + NCTOPLC_AXIS_REF_STATE3_FLAGS + 32 + 0 + + %08x + + + 0x%08x + + + 16#%08X + + + + NCTOPLC_AXIS_REF_CAMCOUPLINGSTATE + 8 - fPosition - LREAL - Used internally and by the IOC to pick a destination for the move - 64 - 14400 + CamActivationPending + BIT + 1 + 0 - fVelocity - LREAL - Used internally and by the IOC to pick a move velocity - 64 - 14464 + CamDeactivationPending + BIT + 1 + 1 - fAcceleration - LREAL - Used internally and by the IOC to pick a move acceleration - 64 - 14528 + CamActive + BIT + 1 + 2 - fDeceleration - LREAL - Used internally and by the IOC to pick a move deceleration - 64 - 14592 + CamDataQueued + BIT + 1 + 6 - fHomePosition - LREAL - Used internally and by the IOC to pick a home position - 64 - 14656 - - - pytmc - - pv: PLC:fHomePosition - io: io - field: DESC Used internally and by the IOC to pick home position - - - + CamScalingPending + BIT + 1 + 7 + + + UINTARR8 + 128 + UINT + + 0 + 8 + + + + NCTOPLC_AXIS_REF + 2048 - nMotionAxisID - UDINT - Info - Unique ID assigned to each axis in the NC + StateDWord + NCTOPLC_AXIS_REF_STATE 32 - 14720 - - 0 - + 0 - bEnableDone - BOOL - Returns - TRUE if done enabling - 8 - 14752 + ErrorCode + UDINT + 32 + 32 - bBusy - BOOL - TRUE if in the middle of a command - 8 - 14760 + 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 - bDone - BOOL - TRUE if we've done a command and it has finished - 8 - 14768 + AxisModeConfirmation + UDINT + 32 + 96 - bHomed - BOOL - TRUE if the motor has been homed, or does not need to be homed - 8 - 14776 + 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 - bSafetyReady - BOOL - TRUE if we have safety permission to move - 8 - 14784 + 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 - bError - BOOL - TRUE if we're in an error state - 8 - 14792 - - - 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 - - - + SvbEntries + UDINT + 32 + 192 - nErrorId - UDINT - Error code if nonzero + SafEntries + UDINT 32 - 14816 - - - pytmc - - pv: PLC:nErrorId - io: i - field: DESC Error code if nonzero - update: 100Hz notify - - - + 224 - sErrorMessage - STRING(80) - Message to identify the error state - 648 - 14848 - - - pytmc - - pv: PLC:sErrorMessage - io: i - field: DESC Message to identify the error state - update: 100Hz notify - - - + AxisId + UDINT + 32 + 256 - sCustomErrorMessage - STRING(80) - Internal hook for custom error messages - 648 - 15496 + OpModeDWord + NCTOPLC_AXIS_REF_OPMODE + 32 + 288 - stAxisParameters - ST_AxisParameterSet - MC_ReadParameterSet Output - 8192 - 16192 + ActPos + LREAL + 64 + 320 - bAxisParamsInit - BOOL - True if we've updated stAxisParameters at least once - 8 - 24384 + ModuloActPos + LREAL + 64 + 384 - stAxisStatus - DUT_AxisStatus_v0_01 - Misc axis status information for the IOC - 768 - 24448 + ActiveControlLoopIndex + UINT + 16 + 448 - fPosDiff - LREAL - Other status information for users of the IOC - Position lag difference + ControlLoopIndex + UINT + 16 + 464 + + + ModuloActTurns + DINT + 32 + 480 + + + ActVelo + LREAL 64 - 25216 - - - pytmc - - pv: PLC:fPosDiff - io: i - field: DESC Position lag difference - - - + 512 - - - DUT_MotionStage - 25280 - ST_MotionStage - - - obsolete - DUT_MotionStage has been renamed to ST_MotionStage - - - - - _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 + PosDiff + LREAL + 64 + 576 - CommandAborted - BOOL - 8 - 8 + SetPos + LREAL + 64 + 640 - Error - BOOL - 8 - 16 + SetVelo + LREAL + 64 + 704 - ErrorID - UDINT - 32 - 32 - - - displaymode - hex - - + SetAcc + LREAL + 64 + 768 - BusyCounter - UDINT - busy cycles since triggering the block - 2018-01-24 KSt - 32 - 64 - - - displaymode - dec - - + TargetPos + LREAL + 64 + 832 - - - conditionalshow - - - - - MC_Reset - 1632 - Axis - AXIS_REF - Reference to an axis + ModuloSetPos + LREAL + 64 + 896 + + + ModuloSetTurns + DINT 32 - 32 - - - ItemType - InOut - - + 960 - Execute - BOOL - B - 8 - 64 - - - ItemType - Input - - + CmdNo + UINT + 16 + 992 - Done - BOOL - B - 8 - 72 - - - ItemType - Output - - + CmdState + UINT + 16 + 1008 - Busy - BOOL - E - 8 - 80 - - - ItemType - Output - - + SetJerk + LREAL + 64 + 1024 - Error - BOOL - B - 8 - 88 - - - ItemType - Output - - + SetTorque + LREAL + 64 + 1088 - ErrorID - UDINT - B + ActTorque + LREAL + 64 + 1152 + + + StateDWord2 + NCTOPLC_AXIS_REF_STATE2 32 - 96 - - - ItemType - Output - - - displaymode - hex - - + 1216 - ADSbusy - BOOL - 8 - 128 + StateDWord3 + NCTOPLC_AXIS_REF_STATE3 + 32 + 1248 - iState - _E_TcMC_STATES - 16 - 144 - - _E_TcMC_STATES.STATE_INITIALIZATION - + TouchProbeState + DWORD + 32 + 1280 - LastExecutionResult - _ST_FunctionBlockResults - 96 - 160 + TouchProbeCounter + DWORD + 32 + 1312 - fbOnTrigger - R_TRIG + CamCouplingState + NCTOPLC_AXIS_REF_CAMCOUPLINGSTATE + + 0 + 8 + 64 - 1568 - - - conditionalshow - - + 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 - PouType - FunctionBlock + NcStructType + 2 + + + NCAXLESTRUCT_TOPLC + + + NCAXLESTRUCT_TOPLC2 + + + NCAXLESTRUCT_TOPLC3 + + + NCAXLESTRUCT_TOPLC4 + + + + + + + + + + + + + + + + + + + + - MC_BufferMode + 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 - UINT + INT - MC_Aborting + MC_AXISSTATE_UNDEFINED 0 - MC_Buffered + MC_AXISSTATE_DISABLED 1 - MC_BlendingLow - 18 + MC_AXISSTATE_STANDSTILL + 2 - MC_BlendingPrevious - 19 + MC_AXISSTATE_ERRORSTOP + 3 - MC_BlendingNext - 20 + MC_AXISSTATE_STOPPING + 4 - MC_BlendingHigh - 21 + MC_AXISSTATE_HOMING + 5 + + + MC_AXISSTATE_DISCRETEMOTION + 6 + + + MC_AXISSTATE_CONTINOUSMOTION + 7 + + + MC_AXISSTATE_SYNCHRONIZEDMOTION + 8 - ST_PowerOptions - 0 - - - MC_Power - 768 + ST_AxisOpModes + axis operation mode feedback from NcToPlc. + 136 - Axis - AXIS_REF - Reference to an axis - 32 - 32 - - - ItemType - InOut - - + PositionAreaMonitoring + BOOL + bit 0 - OpModeDWord + 8 + 0 - Enable + TargetPositionMonitoring BOOL - B + bit 1 - OpModeDWord 8 - 64 - - - ItemType - Input - - + 8 - Enable_Positive + LoopMode BOOL - E + bit 2 - OpModeDWord - loop mode for two speed axes 8 - 72 - - - ItemType - Input - - + 16 - Enable_Negative + MotionMonitoring BOOL - E + bit 3 - OpModeDWord 8 - 80 - - - ItemType - Input - - + 24 - Override - LREAL - in percent - Beckhoff proprietary input - 64 - 128 - - 100 - - - - ItemType - Input - - + PEHTimeMonitoring + BOOL + bit 4 - OpModeDWord + 8 + 32 - BufferMode - MC_BufferMode - V - 16 - 192 - - - ItemType - Input - - + BacklashCompensation + BOOL + bit 5 - OpModeDWord + 8 + 40 - Options - ST_PowerOptions - 0 - 208 - - - ItemType - Input - - + DelayedErrorReaction + BOOL + bit 6 - OpModeDWord + 8 + 48 - Status + Modulo BOOL - B + bit 7 - OpModeDWord - axis is parameterized as modulo axis 8 - 208 - - - ItemType - Output - - + 56 - Busy + SimulationAxis BOOL - V + bit 8 - OpModeDWord - axis is a simulation axis - available from 2.11 R2 B2033 - 2011-05-31 KSt 8 - 216 - - - ItemType - Output - - + 64 - Active + StopMonitoring BOOL - V + bit 12 - OpModeDWord - TargetPositionMonitoring for Stop and Halt commands - available from 2.11 R3 - 2011-12-09 KSt 8 - 224 - - - ItemType - Output - - + 72 - Error + PositionLagMonitoring BOOL - B + bit 16 - OpModeDWord 8 - 232 - - - ItemType - Output - - + 80 - ErrorID - UDINT - E - 32 - 256 - - - ItemType - Output - - - displaymode - hex - - + VelocityLagMonitoring + BOOL + bit 17 - OpModeDWord + 8 + 88 - EnableTimeout - TON - 224 - 288 - - - conditionalshow - - + SoftLimitMinMonitoring + BOOL + bit 18 - OpModeDWord + 8 + 96 - EnableOffOnDelay - TP - 192 - 512 - - - conditionalshow - - + SoftLimitMaxMonitoring + BOOL + bit 19 - OpModeDWord + 8 + 104 - iOverride - DWORD - 32 - 704 - - - conditionalshow - - + PositionCorrection + BOOL + bit 20 - OpModeDWord + 8 + 112 + + + AllowSlaveCommands + BOOL + 2009-02-20 KSt + 8 + 120 + + + AllowExtSetAxisCommands + BOOL + 2011-10-13 KSt + 8 + 128 - - - PouType - FunctionBlock - - - conditionalshow_all_locals - - - ST_MoveOptions - 320 + ST_AxisStatus + 768 - EnableBlendingPosition - BOOL - Command activation at defined ActivationPosition - extends the buffer mode when enabled + UpdateTaskIndex + BYTE + Task-Index of the task that updated this data set 8 0 - BlendingPosition + UpdateCycleTime LREAL + task cycle time of the task which calls the status function 64 64 - StartVelocity - LREAL - velocity profile options - instantaneous speed change at the beginning and at the end of the profile - 64 + CycleCounter + UDINT + PLC cycle counter when this data set updated + 32 128 - EndVelocity - LREAL - 64 + 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 - IgnorePositionMonitoring + Error BOOL - PositionAreaMonitoring, TargetPositionMonitoring and StopMonitoring can be ignored using this flag - 20190311 + StateDWord bit 31 - axis error state 8 - 256 + 208 - EnableStopPositionMonitoring + ErrorID + UDINT + axis error code + 32 + 224 + + + displaymode + hex + + + + + ErrorStop 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 + PLCopen motion control statemachine states: 8 - 264 + 256 - - - _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 - EnableManualTorqueStartValue + Disabled BOOL 8 - 0 + 264 - ManualTorqueStartValue - LREAL - 64 - 64 + Stopping + BOOL + 8 + 272 - - - _ST_TcNC_UnversalAxisStartRequest - 640 - nStartType - UDINT - axis start TYPE (ABSOLUT, RELATIV, ENDLESS_PLUS, ENDLESS_MINUS, MODULO_SHORT, MODULO_PLUS, MODULO_MINUS) - 32 - 0 + StandStill + BOOL + 8 + 280 - nControlMask - UDINT - optional: control mask - 32 - 32 + DiscreteMotion + BOOL + 8 + 288 - fPosTarget - LREAL - target position - 64 - 64 + ContinuousMotion + BOOL + StateDWord bit 19 + 8 + 296 - fVeloRequ - LREAL - required velocity - 64 - 128 + SynchronizedMotion + BOOL + 8 + 304 - fAcc - LREAL - acceleration (>= 0) - 64 - 192 + Homing + BOOL + 8 + 312 - fDec - LREAL - deceleration (>= 0) - 64 - 256 + ConstantVelocity + BOOL + StateDWord bit 12 + 8 + 320 - fJerk - LREAL - jerk (>= 0) - 64 - 320 + Accelerating + BOOL + 8 + 328 - nBufferMode - UDINT - optional: 'buffer mode' OR 'activation mode' FOR 'buffered commands' (issue #2786) - 32 - 384 + Decelerating + BOOL + 8 + 336 - nReserved - UDINT - reserved - 32 - 416 + Operational + BOOL + StateDWord bit 0 - (was ready) + 8 + 344 - fBlendingPosition - LREAL - optional: activation position - 64 - 448 + ControlLoopClosed + BOOL + StateDWord bit 20 - operational and position control active + 8 + 352 - fVeloStart - LREAL - optional: start velocity (0 <= fVeloStart <= fVeloRequ) Frage: erstmal weglassen ??? - 64 - 512 + HasJob + BOOL + StateDWord bit 8 + 8 + 360 - fVeloEnd - LREAL - optional: end velocity (0 <= fVeloEnd <= fVeloRequ) Frage: erstmal weglassen ??? - 64 - 576 + HasBeenStopped + BOOL + StateDWord bit 7 + 8 + 368 - - - conditionalshow - - - - - _ST_TcNC_UniversalAxisTorqueStartRequest - 576 - nStartType - UDINT - axis start TYPE (TORQUECONTINUOUS) - 32 - 0 + NewTargetPosition + BOOL + StateDWord bit 17 - new target position commanded during move + 8 + 376 - nControlMask - UDINT - optional: control mask - 32 - 32 + InPositionArea + BOOL + StateDWord bit 3 + 8 + 384 - nMode - UDINT - optional: mode (ENUM) - 32 - 64 + InTargetPosition + BOOL + StateDWord bit 4 + 8 + 392 - nBufferMode - UDINT - 'buffer mode' OR 'activation mode' FOR 'buffered commands' (first Only ABORTING) - 32 - 96 + ProtectedMode + BOOL + StateDWord bit 5 + 8 + 400 - fTorque - LREAL - target torque [signed] - 64 - 128 + Homed + BOOL + StateDWord bit 1 + 8 + 408 - fTorqueRamp - LREAL - nc torque ramp - 64 - 192 + HomingBusy + BOOL + StateDWord bit 11 + 8 + 416 - fVelocityLimitHigh - LREAL - velocity limit high [signed] - 64 - 256 + MotionCommandsLocked + BOOL + StateDWord bit 29 - stop 'n hold + 8 + 424 - fVelocityLimitLow - LREAL - velocity limit low [signed] - 64 - 320 + SoftLimitMinExceeded + BOOL + StateDWord bit 26 - reverse soft travel limit exceeded + 8 + 432 - fAcceleration - LREAL - acceleration (>= 0) - 64 - 384 + SoftLimitMaxExceeded + BOOL + StateDWord bit 27 - forward soft travel limit exceeded + 8 + 440 - fDeceleration - LREAL - deceleration (>= 0) - 64 + Moving + BOOL + StateDWord bit 9+10 + 8 448 - fManualTorque - LREAL - optional: manual torque (sync value) - 64 - 512 + PositiveDirection + BOOL + StateDWord bit 9 + 8 + 456 - - - conditionalshow - - - - - _ST_TcNC_UnversalAxisStartResponse - 32 - nCmdNo - WORD - Continuous actual command number - 16 - 0 + NegativeDirection + BOOL + StateDWord bit 10 + 8 + 464 - nCmdState - WORD - Command state - 16 - 16 + NotMoving + BOOL + StateDWord bit 2 + 8 + 472 - - - conditionalshow - - - - - _ST_TcNc_OperationModes - 128 - PosAreaControl - DWORD - OpModeDWord in cyclic interface - 0 - 32 - 0 - - 1 - + Compensating + BOOL + superposition - overlayed motion + 8 + 480 - TargetPosControl - DWORD - 1 - 32 - 32 - - 2 - + ExtSetPointGenEnabled + BOOL + StateDWord bit 14 + 8 + 488 - 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 - + PhasingActive + BOOL + StateDWord bit 15 + 8 + 496 - 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 - + ExternalLatchValid + BOOL + StateDWord bit 16 + 8 + 504 - - - conditionalshow - - - - - _FB_MoveUniversalGeneric - 7680 - Axis - AXIS_REF - Reference to an axis - 32 - 32 - - - ItemType - InOut - - - - - LastExecutionResult - _ST_FunctionBlockResults - 32 - 64 - - - ItemType - InOut - - - - - Execute + CamDataQueued BOOL + StateDWord bit 22 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 - - - - - ContinuousUpdate - BOOL - for internal use only (TorqueControl) - 8 - 1232 - - - ItemType - Input - - - - - Done - BOOL - Same meaning as InVelocity for continous motion commands - 8 - 1240 - - - ItemType - Output - - - - - Busy - BOOL - 8 - 1248 - - - ItemType - Output - - - - - Active - BOOL - 8 - 1256 - - - ItemType - Output - - - CommandAborted + CamTableQueued BOOL + StateDWord bit 21 8 - 1264 - - - ItemType - Output - - + 520 - Error + CamScalingPending BOOL + StateDWord bit 23 8 - 1272 - - - ItemType - Output - - - - - ErrorID - UDINT - 32 - 1280 - - - ItemType - Output - - - displaymode - hex - - - - - CmdNo - UINT - 16 - 1312 - - - ItemType - Output - - + 528 - ADSbusy + CmdBuffered BOOL + StateDWord bit 24 8 - 1328 - - - ItemType - Output - - + 536 - InTorque + PTPmode BOOL + StateDWord bit 25 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 + 544 - ContinousMode + DriveDeviceError BOOL + StateDWord bit 28 8 - 4096 + 552 - InVelocity + IoDataInvalid BOOL + StateDWord bit 30 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 + 560 - NcCycleCounterAvailable + ErrorPropagationDelayed BOOL + StateDWord bit 6 8 - 4296 + 568 - NcCycleCounterNotAvailable + DriveLimitActive BOOL + StateDWord bit 18 - 20181213 Fap 8 - 4304 + 576 - NcCyclicFeedbackExpected + Coupled BOOL + Axis.NcToPlc.CoupleState 8 - 4312 + 584 - PlcDebugCode - DWORD - 32 - 4320 + OpMode + ST_AxisOpModes + axis operation mode feedback from NcToPlc + 136 + 592 - AxisIsSlave + NcApplicationRequest BOOL + OpModeDWord bit 23 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 + 728 - - fbOnTrigger - R_TRIG - 64 - 5248 - - - sTempMsg - STRING(255) - 2048 - 5312 - - - AccDecreasing - BOOL - 8 - 7360 - - - AccOld - LREAL - 64 - 7424 - - - iContinuousUpdate - BOOL - 8 - 7488 - - - OpMode - _ST_TcNc_OperationModes - 128 - 7520 - - - suppress_warning_0 - C0228 - - - - - ActMonitorStop - - - ActMonitorAbortTorque - - - ActMonitorContinousMotion - - - ActMonitorDiscreteMotion - - - ActErrorMessage - - - ActMonitorContinuousTorque - - - ActCalcDiffCmdNo - - - ActNcCycleCounter - - - - PouType - FunctionBlock - - - conditionalshow - - - - - MC_Halt - 8640 - - 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 - 7680 - 896 - - - CmdNo - UINT - 16 - 8576 - - - - PouType - FunctionBlock - - - E_JogMode - 16 - INT + E_NcDriveType + 32 + DWORD - MC_JOGMODE_STANDARD_SLOW + NcDriveType_undefined 0 - motion with standard jog parameters for slow motion - MC_JOGMODE_STANDARD_FAST + NcDriveType_M2400_DAC1 1 - motion with standard jog parameters for fast motion - MC_JOGMODE_CONTINOUS + NcDriveType_M2400_DAC2 2 - axis moves as long as the jog button is pressed using parameterized dynamics - MC_JOGMODE_INCHING + NcDriveType_M2400_DAC3 3 - axis moves for a certain relative distance - MC_JOGMODE_INCHING_MODULO + NcDriveType_M2400_DAC4 4 - axis moves for a certain relative distance - stop position is rounded to the distance value + + + 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) - MC_Direction - 16 - INT + E_NcEncoderType + 32 + DWORD - MC_Positive_Direction + NcEncoderType_undefined + 0 + + + NcEncoderType_Simulation 1 + Simulation - MC_Shortest_Way + NcEncoderType_ABS_M3000 2 + Absolut mit 24 und 25 Bit sowie 12 und 13 Bit Single Turn Encoder (M3000) - MC_Negative_Direction + NcEncoderType_INC_M31X0 3 + Inkremental mit 24 Bit (M31x0, M3200, M3100, M2000) - MC_Current_Direction + NcEncoderType_INC_KL5101 4 + MDP 511: Inkremental mit 16 Bit und Latch (MDP511: EL7041, EL5101, EL5151, EL2521, EL5021(SinCos); KL5101, IP5109, KL5111) - MC_Undefined_Direction - 128 + 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 - MC_MoveVelocity - 8768 - - Axis - AXIS_REF - Reference to an axis - 32 - 32 - - - ItemType - InOut - - - - - Execute - BOOL - 8 - 64 - - - ItemType - Input - - - + 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 + 672 - Velocity - LREAL - ContinuousUpdate : BOOL; - not available - 64 - 128 - - - ItemType - Input - - + NetID + T_AmsNetID + AMS NetID of the hardware drive as a string + 192 + 0 - Acceleration - LREAL - 64 + NetIdBytes + T_AmsNetIdArr + AMS NetID of the hardware drive as a byte array (same information as NetID) + 48 192 - - - ItemType - Input - - - Deceleration - LREAL - 64 - 256 - - - ItemType - Input - - + SlaveAddress + T_AmsPort + slave address of the hardware drive connected to a bus master + 16 + 240 - Jerk - LREAL - 64 - 320 - - - ItemType - Input - - + Channel + BYTE + channel number of the hardware drive + 8 + 256 - Direction - MC_Direction - 16 - 384 - - MC_Direction.MC_Positive_Direction - - - - ItemType - Input - - + NcDriveId + DWORD + ID [1..255] of the NC software drive of an axis + 32 + 288 - BufferMode - MC_BufferMode - 16 - 400 - - - ItemType - Input - - + NcDriveIndex + DWORD + index [0..9] of the NC software drive of an axis + 32 + 320 - Options - ST_MoveOptions - 320 - 448 - - - ItemType - Input - - + NcDriveType + E_NcDriveType + type enumeration of the NC software drive of an axis + 32 + 352 - InVelocity - BOOL - Commanded velocity reached - 8 - 768 - - - ItemType - Output - - + NcEncoderId + DWORD + ID [1..255] of the NC software encoder of an axis + 32 + 384 - Busy - BOOL - 8 - 776 - - - ItemType - Output - - + NcEncoderIndex + DWORD + index [0..9] of the NC software encoder of an axis + 32 + 416 - Active - BOOL - 8 - 784 - - - ItemType - Output - - + NcEncoderType + E_NcEncoderType + type enumeration of the NC encoder drive of an axis + 32 + 448 - CommandAborted - BOOL - 8 - 792 - - - ItemType - Output - - + NcAxisId + DWORD + ID [1..255] of the NC axis + 32 + 480 - Error - BOOL - 8 - 800 - - - ItemType - Output - - + NcAxisType + E_NcAxisType + type enumeration of the NC axis + 32 + 512 - ErrorID - UDINT + TcSoftDriveObjectId + OTCID + new since 2016-04-11 FAP - just available with versions after this date, otherwise zero 32 - 832 + 544 - ItemType - Output - - - displaymode - hex + conditionalshow - LastExecutionResult - _ST_FunctionBlockResults - 96 - 864 - - - ADSbusy - BOOL - 8 - 960 + TcDriveObjectId + OTCID + 32 + 576 - MoveGeneric - _FB_MoveUniversalGeneric - 7680 - 1024 + TcEncoderObjectId + OTCID + 32 + 608 - CmdNo - UINT - 16 - 8704 + TcAxisObjectId + OTCID + 32 + 640 + + + _E_PhasingState + Phasing internal probe states + 16 + INT + + PhasingInactive + 0 + + + PhasingActivated + 1 + + + PhasingAborted + 2 + - PouType - FunctionBlock + conditionalshow - ST_McOutputs - 96 + _InternalAxisRefData + 128 - Done + NcCycleCounterAvailable BOOL + TRUE if the NcCycleCounter is definitely available on the target system - FALSE if undefined 8 0 - Busy - BOOL - 8 - 8 - - - Active - BOOL - 8 - 16 + NcCycleCounter_AtReadStatusCall + UDINT + current NC cycle counter when calling ReadStatus + 32 + 32 - CommandAborted - BOOL + LastTaskIndex_AtReadStatusCall + BYTE + task index of last recent status update 8 - 24 + 64 - Error - BOOL - 8 - 32 + CounterSameTaskIndex_AtReadStatusCall + UINT + counter increments to max 100 if the task index for the status update never changes + 16 + 80 - ErrorID - UDINT - 32 - 64 - - - displaymode - hex - - + PhasingState + _E_PhasingState + KSt 20190703 global handshake for phasing blocks + 16 + 96 + + + conditionalshow + + - MC_MoveAbsolute - 8832 + 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). + + 9088 - Axis - AXIS_REF - Reference to an axis - 32 - 32 + PlcToNc + PLCTONC_AXIS_REF + 1024 + 64 ItemType - InOut + Input + + + TcAddressType + Output - Execute - BOOL - Start the motion at rising edge - 8 - 64 + NcToPlc + NCTOPLC_AXIS_REF + 2048 + 1088 ItemType + Output + + + TcAddressType Input - Position - LREAL - Target position for the motion - 64 - 128 + ADS + ST_AdsAddress + 224 + 3136 ItemType - Input + Output - Velocity - LREAL - Value of the maximum velocity - 64 - 192 + Status + ST_AxisStatus + 768 + 3392 ItemType - Input + Output - Acceleration - LREAL - Value of the maximum acceleration - 64 - 256 + DriveAddress + ST_DriveAddress + 672 + 4160 ItemType @@ -29681,1775 +30611,1883 @@ External Setpoint Generation: - Deceleration - LREAL - Value of the maximum deceleration - 64 - 320 + _internal + _InternalAxisRefData + 128 + 4832 - ItemType - Input + conditionalshow - Jerk - LREAL - Value of the maximum jerk - 64 - 384 + Storage + DWORD + + 0 + 128 + + 4096 + 4960 - ItemType - Input + conditionalshow + + ReadStatus + + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + DUT_EPS + 1344 - BufferMode - MC_BufferMode - Direction : MC_Direction; - not available - 16 - 448 + nFlags + UDINT + Contains EPS flags + 32 + 0 + + 4294967295 + - ItemType - Input + pytmc + + pv: nFlags + io: i + field: DESC Contains EPS flags + - Options - ST_MoveOptions - optional parameters - 320 - 512 + sFlagDesc + STRING(80) + Desciption of values nFlags contains + 648 + 32 - ItemType - Input + pytmc + + pv: sFlagDesc + io: i + field: DESC semicolon-delimited nFlag variable + - Done - BOOL - 8 - 832 + sMessage + STRING(80) + Name to use for log messages. + 648 + 680 - ItemType - Output + pytmc + + pv: sMessage + io: i + field: DESC Message from EPS to usr + - Busy + bEPS_OK BOOL + Keep Track if nFlags are all true 8 - 840 + 1328 + + true + - ItemType - Output + pytmc + + pv: bEPS_OK + io: i + field: DESC check if nFlags are all 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 + - Active - BOOL - 8 - 848 - - - ItemType - Output - - + nAxisType + E_NcAxisType + 0x00000003 + 32 + 32 - CommandAborted - BOOL - 8 - 856 - - - ItemType - Output - - + sAxisName + STRING(31) + 0x00000002 + 256 + 64 - Error - BOOL - 8 - 864 - - - ItemType - Output - - + fAxisCycleTime + LREAL + available from Tc 2.11 R2 + 64 + 320 - ErrorID - UDINT - 32 - 896 - - - ItemType - Output - - - displaymode - hex - - + bEnablePositionAreaControl + WORD + 0x0000000F + 16 + 384 - LastExecutionResult - _ST_FunctionBlockResults - 96 - 928 + fPositionAreaControlRange + LREAL + 0x00000010 + 64 + 448 - ADSbusy - BOOL - 8 - 1024 + bEnableMotionControl + WORD + 0x00000011 + 16 + 512 - MoveGeneric - _FB_MoveUniversalGeneric - 7680 - 1088 + fMotionControlTime + LREAL + 0x00000012 + 64 + 576 - CmdNo - UINT + bEnableLoop + WORD + 0x00000013 16 - 8768 + 640 - - - PouType - FunctionBlock - - - - - MC_MoveRelative - 8832 - Axis - AXIS_REF - Reference to an axis - 32 - 32 - - - ItemType - InOut - - + fLoopDistance + LREAL + 0x00000014 + 64 + 704 - Execute - BOOL - 8 - 64 - - - ItemType - Input - - + bEnableTargetPosControl + WORD + 0x00000015 + 16 + 768 - Distance + fTargetPosControlRange LREAL - ContinuousUpdate : BOOL; - not available + 0x00000016 64 - 128 - - - ItemType - Input - - + 832 - Velocity + fTargetPosControlTime LREAL + 0x00000017 64 - 192 - - - ItemType - Input - - + 896 - Acceleration + fVeloMaximum LREAL + 0x00000027 64 - 256 - - - ItemType - Input - - + 960 - Deceleration + fRefVeloSearch LREAL + 0x00000006 calibration velo (TO plc cam) (17.05.11: parameter extension) 64 - 320 - - - ItemType - Input - - + 1024 - Jerk + fRefVeloSync LREAL + 0x00000007 calibration velo (off plc cam) (17.05.11: parameter extension) 64 - 384 - - - ItemType - Input - - + 1088 - BufferMode - MC_BufferMode - 16 - 448 - - - ItemType - Input - - + fVeloSlowManual + LREAL + 0x00000008 manual velocity (slow) (17.05.11: parameter extension) + 64 + 1152 - Options - ST_MoveOptions - 320 - 512 - - - ItemType - Input - - + fVeloFastManual + LREAL + 0x00000009 manual velocity (fast) (17.05.11: parameter extension) + 64 + 1216 - Done - BOOL - 8 - 832 - - - ItemType - Output - - + fMotionControlRange + LREAL + 0x00000028 + 64 + 1280 - Busy - BOOL - 8 - 840 - - - ItemType - Output - - + bEnablePEHTimeControl + WORD + 0x00000029 + 16 + 1344 - Active - BOOL - 8 - 848 - - - ItemType - Output - - + fPEHControlTime + LREAL + 0x0000002A + 64 + 1408 - CommandAborted - BOOL - 8 - 856 - - - ItemType - Output - - + bEnableBacklashCompensation + WORD + 0x0000002B + 16 + 1472 - Error - BOOL - 8 - 864 - - - ItemType - Output - - + fBacklash + LREAL + 0x0000002C + 64 + 1536 - ErrorID - UDINT - 32 - 896 - - - ItemType - Output - - - displaymode - hex - - + sAmsNetId + T_AmsNetID + 0x00000031 (Wandlung von "BYTE b[6]" zum nullterminierten STRING mit 23+1 Zeichen) + 192 + 1600 - LastExecutionResult - _ST_FunctionBlockResults - 96 - 928 + nPort + WORD + 0x00000031 + 16 + 1792 - ADSbusy - BOOL - 8 - 1024 + nChnNo + WORD + 0x00000031 + 16 + 1808 - MoveGeneric - _FB_MoveUniversalGeneric - 7680 - 1088 + fAcceleration + LREAL + 0x00000101 + 64 + 1856 - CmdNo - UINT - 16 - 8768 - - - - PouType - FunctionBlock - - - - - MC_Jog - 44352 - - Axis - AXIS_REF - Reference to an axis - 32 - 32 - - - ItemType - InOut - - + fDeceleration + LREAL + 0x00000102 + 64 + 1920 - JogForward - BOOL - 8 - 64 - - - ItemType - Input - - + fJerk + LREAL + 0x00000103 + 64 + 1984 - JogBackwards - BOOL - 8 - 72 - - - ItemType - Input - - + nEncId + DWORD + 0x00010001 + 32 + 2048 - Mode - E_JogMode - 16 - 80 - - - ItemType - Input - - + nEncType + E_NcEncoderType + 0x00010003 + 32 + 2080 - Position - LREAL - 64 - 128 - - - ItemType - Input - - + sEncName + STRING(31) + 0x00010002 + 256 + 2112 - Velocity + fEncScaleFactorNumerator LREAL + 0x00010023 64 - 192 - - - ItemType - Input - - + 2368 - Acceleration + fEncScaleFactorDenominator LREAL + 0x00010024 64 - 256 - - - ItemType - Input - - + 2432 - Deceleration + fEncScaleFactorInternal LREAL + fEncScaleFactorInternal = fEncScaleFactorNumerator / fEncScaleFactorDenominator 64 - 320 - - - ItemType - Input - - + 2496 - Jerk + fEncOffset LREAL + 0x00010007 64 - 384 - - - ItemType - Input - - - - - Done - BOOL - 8 - 448 - - - ItemType - Output - - - - - Busy - BOOL - 8 - 456 - - - ItemType - Output - - - - - Active - BOOL - 8 - 464 - - - ItemType - Output - - + 2560 - CommandAborted - BOOL - 8 - 472 - - - ItemType - Output - - + bEncIsInverse + WORD + 0x00010008 + 16 + 2624 - Error - BOOL - 8 - 480 - - - ItemType - Output - - + fEncModuloFactor + LREAL + 0x00010009 + 64 + 2688 - ErrorID - UDINT + nEncMode + DWORD + 0x0001000A 32 - 512 - - - ItemType - Output - - - displaymode - hex - - + 2752 - state - INT + bEncEnableSoftEndMinControl + WORD + 0x0001000B 16 - 544 + 2784 - LastExecutionResult - _ST_FunctionBlockResults - 96 - 576 + bEncEnableSoftEndMaxControl + WORD + 0x0001000C + 16 + 2800 - StateDWord - BOOL - 8 - 672 + fEncSoftEndMin + LREAL + 0x0001000D + 64 + 2816 - ExecuteMoveVelocity - BOOL - 8 - 680 + fEncSoftEndMax + LREAL + 0x0001000E + 64 + 2880 - MoveVelocity - MC_MoveVelocity - 8768 - 704 + nEncMaxIncrement + DWORD + 0x00010015 + 32 + 2944 - MoveVelocityOut - ST_McOutputs - 96 - 9472 + nEncRefSoftSyncMask + DWORD + 0x00010108 + 32 + 2976 - Direction - MC_Direction + bEncEnablePosCorrection + WORD + 0x00010016 16 - 9568 - - - ExecuteHalt - BOOL - 8 - 9584 - - - Halt - MC_Halt - 8640 - 9600 - - - HaltOut - ST_McOutputs - 96 - 18240 + 3008 - ExecuteMoveAbsolute - BOOL - 8 - 18336 + nEncReferenceSystem + DWORD + 0x00010019 (15.10.15: parameter extension) + 32 + 3040 - MoveAbsolute - MC_MoveAbsolute - 8832 - 18368 + fEncPosCorrectionFilterTime + LREAL + 0x00010017 + 64 + 3072 - MoveAbsoluteOut - ST_McOutputs - 96 - 27200 + bEncRefSearchInverse + UINT + 0x00010101 (17.05.11: parameter extension) + 16 + 3136 - ExecuteMoveRelative - BOOL - 8 - 27296 + bEncRefSyncInverse + UINT + 0x00010102 (17.05.11: parameter extension) + 16 + 3152 - MoveRelative - MC_MoveRelative - 8832 - 27328 + nEncRefMode + UDINT + 0x00010107 (17.05.11: parameter extension) + 32 + 3168 - MoveRelativeOut - ST_McOutputs - 96 - 36160 + fEncRefPosition + LREAL + 0x00010103 (17.05.11: parameter extension) + 64 + 3200 - JogMove - _FB_MoveUniversalGeneric - 7680 - 36288 + nCtrlId + DWORD + 0x00020001 + 32 + 3264 - LastJogMoveResult - _ST_FunctionBlockResults - 96 - 43968 + nCtrlType + DWORD + 0x00020003 + 32 + 3296 - ExecuteJogMove - BOOL - 8 - 44064 + sCtrlName + STRING(31) + 0x00020002 + 256 + 3328 - StartType - _E_TcNC_StartPosType + bCtrlEnablePosDiffControl + WORD + 0x00020010 16 - 44080 - - - JogMoveOut - ST_McOutputs - 96 - 44096 + 3584 - JogEnd - BOOL - 8 - 44192 + bCtrlEnableVeloDiffControl + WORD + 0x00020011 + 16 + 3600 - TargetPosition + fCtrlPosDiffMax LREAL + 0x00020012 64 - 44224 + 3648 - modulo + fCtrlPosDiffMaxTime LREAL + 0x00020013 64 - 44288 + 3712 - - ActJogMove - - - ActCheckJogEnd - - - - PouType - FunctionBlock - - - - - MC_MoveModulo - 8896 - Axis - AXIS_REF - Reference to an axis - 32 - 32 - - - ItemType - InOut - - + fCtrlPosKp + LREAL + 0x00020102 + 64 + 3776 - Execute - BOOL - 8 - 64 - - - ItemType - Input - - + fCtrlPosTn + LREAL + 0x00020103 + 64 + 3840 - Position + fCtrlPosTv LREAL + 0x00020104 64 - 128 - - - ItemType - Input - - + 3904 - Velocity + fCtrlPosTd LREAL + 0x00020105 64 - 192 - - - ItemType - Input - - + 3968 - Acceleration + fCtrlPosExtKp LREAL + 0x00020106 64 - 256 - - - ItemType - Input - - + 4032 - Deceleration + fCtrlPosExtVelo LREAL + 0x00020107 64 - 320 - - - ItemType - Input - - + 4096 - Jerk + fCtrlAccKa LREAL + 0x00020108 64 - 384 - - - ItemType - Input - - + 4160 - Direction - MC_Direction - modulo shortest way, modulo positive, modulo negative - 16 - 448 - + 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 + - ItemType - Input + pytmc + + pv: MaxVel + io: i + field: DESC Maximum commandable speed of the axis in EU/s. + - BufferMode - MC_BufferMode - E - 16 - 464 + fAccelerationMax + LREAL + Maximum rate of increase in speed of the axis in EU/s^2. + 64 + 64 - ItemType - Input + pytmc + + pv: MaxAccel + io: i + field: DESC Maximum rate of increase in speed of the axis in EU/s^2. + - Options - ST_MoveOptions - 320 - 512 + fDecelerationMax + LREAL + Maximum rate of decrease in speed of the axis in EU/s^2. + 64 + 128 - ItemType - Input + pytmc + + pv: MaxDecel + io: i + field: DESC Maximum rate of decrease in speed of the axis in EU/s^2. + - Done - BOOL - 8 - 832 + bCtrlEnablePosDiffControl + WORD + Enable/Disable state of Position Lag Monitor. + 16 + 192 - ItemType - Output + pytmc + + pv: PosLagEn + io: i + field: DESC TRUE if position lag monitor (also known as stall monitor) is enabled. + - Busy - BOOL - 8 - 840 + fCtrlPosDiffMax + LREAL + Maximum magnitude of position lag in EU. + 64 + 256 - ItemType - Output + pytmc + + pv: PosLagVal + io: i + field: DESC Maximum magnitude of position lag in EU. + - Active - BOOL - 8 - 848 + fCtrlPosDiffMaxTime + LREAL + Maximum allowable duration outside of maximum position lag value in seconds. + 64 + 320 - ItemType - Output + pytmc + + pv: PosLagTime + io: i + field: DESC Maximum allowable duration outside of maximum position lag value in seconds. + - CommandAborted - BOOL - 8 - 856 + bEncEnableSoftEndMinControl + WORD + Enable/Disable state of controller static minimum limit. + 16 + 384 - ItemType - Output + pytmc + + pv: SLimMinEn + io: i + field: DESC TRUE if controller static minimum limit is enabled. + - Error - BOOL - 8 - 864 + bEncEnableSoftEndMaxControl + WORD + Enable/Disable state of controller static maximum limit. + 16 + 400 - ItemType - Output + pytmc + + pv: SLimMaxEn + io: i + field: DESC TRUE if controller static maximum limit is enabled. + - ErrorID - UDINT - 32 - 896 + fEncSoftEndMin + LREAL + Minimum commandable position of the axis in EU. + 64 + 448 - ItemType - Output + 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 + - displaymode - hex + pytmc + + pv: SLimMax + io: i + field: DESC Maximum commandable position of the axis in EU. + - LastExecutionResult - _ST_FunctionBlockResults - 96 - 928 + 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. + + + - ADSbusy + 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 - 1024 + 0 - MoveGeneric - _FB_MoveUniversalGeneric - 7680 - 1088 + bReset + BOOL + 8 + 8 - StartType - _E_TcNC_StartPosType - 16 - 8768 + bExecute + BOOL + 8 + 16 - CmdNo + nCommand UINT 16 - 8784 - - - TriggerExecute - R_TRIG - 64 - 8800 - - - 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 + 32 - SearchDirection - MC_Direction + nCmdData + UINT 16 - 16 - - MC_Direction.MC_Undefined_Direction - + 48 - SearchVelocity + fVelocity LREAL 64 64 - SyncDirection - MC_Direction - 16 + fPosition + LREAL + 64 128 - - MC_Direction.MC_Undefined_Direction - - SyncVelocity + fAcceleration LREAL 64 192 - ReferenceMode - E_EncoderReferenceMode - 32 + fDeceleration + LREAL + 64 256 - - E_EncoderReferenceMode.ENCODERREFERENCEMODE_DEFAULT - - - - ST_SetPositionOptions - 32 - ClearPositionLag + bJogFwd BOOL - set actual and set position to same value and clear the position lag 8 - 0 + 320 - SelectEncoderIndex + bJogBwd 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 + 328 - - - _ST_TcNC_SetPosOnTheFly - 256 - nPosSetType - UDINT - Absolute, Relative - added KSt 2009-01-28 - 32 - 0 + bLimitFwd + BOOL + 8 + 336 - nCtrlDWord - UDINT - added KSt 2009-01-28 - 32 - 32 + bLimitBwd + BOOL + 8 + 344 - fPreviousActualPos + fOverride LREAL - value not used any longer since 2009-01-28 64 - 64 + 384 + + 100 + - fNewActualPos - LREAL - 64 - 128 + bHomeSensor + BOOL + 8 + 448 - nReserved - DWORD - - 1 - 2 - - added KSt 2009-01-28 - 64 - 192 + 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 - - - conditionalshow - - - MC_SetPosition - 1984 + ST_MotionStage + 25984 Axis - AXIS_REF - Reference to an axis - 32 - 32 - - - ItemType - InOut - - + AXIS_REF + Hardware + PLC Axis Reference + 9088 + 0 - Execute + bLimitForwardEnable BOOL - Start setting position in axis + NC Forward Limit Switch: TRUE if ok to move 8 - 64 + 9088 - ItemType + TcAddressType Input - Position - LREAL - Position unit [u] (Means ‘Distance’ if Mode = RELATIVE) - 64 - 128 + bLimitBackwardEnable + BOOL + NC Backward Limit Switch: TRUE if ok to move + 8 + 9096 - ItemType + TcAddressType Input - Mode + bHome BOOL - RELATIVE =True, ABSOLUTE = False (Default) + NO Home Switch: TRUE if at home 8 - 192 + 9104 - ItemType + TcAddressType Input - Options - ST_SetPositionOptions - Beckhoff proprietary input - 32 - 208 + bBrakeRelease + BOOL + NC Brake Output: TRUE to release brake + 8 + 9112 - ItemType - Input + TcAddressType + Output - Done + bHardwareEnable BOOL - Position has new value + NC STO Input: TRUE if ok to move 8 - 240 + 9120 - ItemType - Output + pytmc + + pv: PLC:bHardwareEnable + io: i + field: ZNAM FALSE + field: ONAM TRUE + field: DESC TRUE if STO not hit + + + + TcAddressType + Input - Busy - BOOL - Shows that the Function Block is not finished - 8 - 248 + nRawEncoderULINT + ULINT + Raw encoder IO for ULINT (Biss-C) + 64 + 9152 - ItemType - Output + TcAddressType + Input - Error - BOOL - Signals that an error has occurred within the Function Block - 8 - 256 + nRawEncoderUINT + UINT + Raw encoder IO for UINT (Relative Encoders) + 16 + 9216 - ItemType - Output + TcAddressType + Input - ErrorID - UDINT - Error identification - 32 - 288 + nRawEncoderINT + INT + Raw encoder IO for INT (LVDT) + 16 + 9232 - ItemType - Output - - - displaymode - hex + TcAddressType + Input - ADSbusy + bAllForwardEnable BOOL + Psuedo-hardware + Forward enable EPS summary 8 - 320 + 9248 + + false + - stSetPos - _ST_TcNC_SetPosOnTheFly - 256 - 384 + bAllBackwardEnable + BOOL + Backward enable EPS summary + 8 + 9256 + + false + - iState - _E_TcMC_STATES - 16 - 640 + bAllEnable + BOOL + Enable EPS summary encapsulating emergency stop button and any additional motion preventive hardware + 8 + 9264 - _E_TcMC_STATES.STATE_INITIALIZATION + false - fbAdsWrite - ADSWRITE - 1216 - 672 + bGantryForwardEnable + BOOL + Forward virtual gantry limit switch + 8 + 9272 + + false + - fbOnTrigger - R_TRIG - 64 - 1888 - - - conditionalshow - - + bGantryBackwardEnable + BOOL + Backward virtual gantry limit switch + 8 + 9280 + + false + - - - PouType - FunctionBlock - - - - - MC_Home - 7168 - Axis - AXIS_REF - Reference to an axis + nEncoderCount + UDINT + Encoder count summary, if linked above 32 - 32 + 9312 - ItemType - InOut + pytmc + + pv: PLC:nEncoderCount + io: i + field: DESC Count from encoder hardware + - Execute - BOOL - 8 - 64 + stEPSForwardEnable + DUT_EPS + Forward Enable EPS struct + 1344 + 9344 - ItemType - Input + pytmc + + pv: PLC:stEPSF + io: i + field: DESC Forward Enable Interlocks + - Position - LREAL - 64 - 128 - - 1E+307 - + stEPSBackwardEnable + DUT_EPS + Backward Enable EPS struct + 1344 + 10688 - ItemType - Input + pytmc + + pv: PLC:stEPSB + io: i + field: DESC Backward Enable Interlocks + - HomingMode - MC_HomingMode - 16 - 192 + stEPSPowerEnable + DUT_EPS + Power Enable EPS struct + 1344 + 12032 - ItemType - Input + pytmc + + pv: PLC:stEPSP + io: i + field: DESC Power Interlocks + - BufferMode - MC_BufferMode + sName + STRING(80) + Settings + Name to use for log messages, fast faults, etc. + 648 + 13376 + + + bPowerSelf + BOOL + If TRUE, we want to enable the motor independently of PMPS or other safety systems. + 8 + 14024 + + false + + + + nEnableMode + E_StageEnableMode + Determines when we automatically enable the motor 16 - 208 - - - ItemType - Input - - + 14032 + + E_StageEnableMode.DURING_MOTION + - Options - ST_HomingOptions - Beckhoff proprietary input - 320 - 256 - - - ItemType - Input - - + nBrakeMode + E_StageBrakeMode + Determines when we automatically disengage the brake + 16 + 14048 + + E_StageBrakeMode.IF_ENABLED + - bCalibrationCam + nHomingMode + E_EpicsHomeCmd + Determines our encoder homing strategy + 16 + 14064 + + E_EpicsHomeCmd.NONE + + + + bGantryAxis BOOL - Beckhoff proprietary input + Set true to activate gantry EPS 8 - 576 - - - ItemType - Input - - + 14080 + + false + - Done + nGantryTol + LINT + Set to gantry difference tolerance + 64 + 14144 + + 0 + + + + nEncRef + ULINT + Encoder count at which this axis is aligned with other axis + 64 + 14208 + + 0 + + + + bEnable BOOL + Commands + Used internally to request enables 8 - 584 - - - ItemType - Output - - + 14272 - Busy + bReset BOOL + Used internally to reset errors and other state 8 - 592 + 14280 - ItemType - Output + pytmc + + pv: PLC:bReset + io: io + field: ZNAM FALSE + field: ONAM TRUE + field: DESC Used internally to reset errors + - Active + bExecute BOOL + Used internally and by the IOC to start or stop a move 8 - 600 - - - ItemType - Output - - + 14288 - CommandAborted + bUserEnable BOOL + Used by the IOC to disable an axis 8 - 608 + 14296 + + 1 + - ItemType - Output + pytmc + + pv: PLC:bUserEnable + io: io + field: ZNAM DISABLE + field: ONAM ENABLE + field: DESC Used to disable power entirely for an axis + - Error + bMoveCmd BOOL + Shortcut Commands + Start a move to fPosition with fVelocity 8 - 616 - - - ItemType - Output - - + 14304 - ErrorID - UDINT - 32 - 640 + bHomeCmd + BOOL + Start the homing routine + 8 + 14312 - ItemType - Output - - - displaymode - hex + pytmc + + pv: PLC:bHomeCmd + io: io + field: DESC Start the homing routine + - LastExecutionResult - _ST_FunctionBlockResults - 96 - 672 - - - conditionalshow - - + nCommand + INT + Command Args + Used internally and by the IOC to pick what kind of move to do + 16 + 14320 - ADSbusy - BOOL - 8 - 768 - - - conditionalshow - - + nCmdData + INT + Used internally and by the IOC to pass additional data to some commands + 16 + 14336 - iState - _E_TcMC_STATES - 16 - 784 - - _E_TcMC_STATES.STATE_INITIALIZATION - - - - conditionalshow - - + fPosition + LREAL + Used internally and by the IOC to pick a destination for the move + 64 + 14400 - iSubState - INT - 16 - 800 - - - conditionalshow - - + fVelocity + LREAL + Used internally and by the IOC to pick a move velocity + 64 + 14464 - fbAdsWriteCmd - ADSWRITE - 1216 - 832 - - - conditionalshow - - + fAcceleration + LREAL + Used internally and by the IOC to pick a move acceleration + 64 + 14528 - fbAdsWriteParameter - ADSWRITE - 1216 - 2048 - - - conditionalshow - - + fDeceleration + LREAL + Used internally and by the IOC to pick a move deceleration + 64 + 14592 - fbAdsReadRefPos - ADSREAD - 1248 - 3264 + fHomePosition + LREAL + Used internally and by the IOC to pick a home position + 64 + 14656 - conditionalshow + pytmc + + pv: PLC:fHomePosition + io: io + field: DESC Used internally and by the IOC to pick home position + - ReferenceFlagValue + nMotionAxisID UDINT + Info + Unique ID assigned to each axis in the NC 32 - 4512 - - - conditionalshow - - + 14720 + + 0 + - fbSetPosition - MC_SetPosition - 1984 - 4544 - - - conditionalshow - - + bEnableDone + BOOL + Returns + TRUE if done enabling + 8 + 14752 - CalibrationValue - LREAL - 64 - 6528 - - - conditionalshow - - + bBusy + BOOL + TRUE if in the middle of a command + 8 + 14760 - SearchDirection - UINT - 16 - 6592 - - - conditionalshow - - + bDone + BOOL + TRUE if we've done a command and it has finished + 8 + 14768 - SearchVelocity - LREAL - 64 - 6656 - - - conditionalshow - - + bHomed + BOOL + TRUE if the motor has been homed, or does not need to be homed + 8 + 14776 - SyncDirection - UINT - 16 - 6720 + bSafetyReady + BOOL + TRUE if we have safety permission to move + 8 + 14784 + + + bError + BOOL + TRUE if we're in an error state + 8 + 14792 - conditionalshow + 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 + - SyncVelocity - LREAL - 64 - 6784 + nErrorId + UDINT + Error code if nonzero + 32 + 14816 - conditionalshow + pytmc + + pv: PLC:nErrorId + io: i + field: DESC Error code if nonzero + update: 100Hz notify + - ReferenceMode - E_EncoderReferenceMode - 32 - 6848 + sErrorMessage + STRING(80) + Message to identify the error state + 648 + 14848 - conditionalshow + pytmc + + pv: PLC:sErrorMessage + io: i + field: DESC Message to identify the error state + update: 100Hz notify + - fbTrigger - R_TRIG - 64 - 6880 + sCustomErrorMessage + STRING(80) + Internal hook for custom error messages + 648 + 15496 + + + stAxisParameters + ST_AxisParameterSet + MC_ReadParameterSet Output + 8192 + 16192 + + + stAxisParametersExposed + ST_AxisParameterSetExposed + NC parameters that are exposed with pytmc pragmas + 704 + 24384 - conditionalshow + pytmc + + pv: PLC:AxisPar + io: i + field: DESC Axis configuration parameters in the numerical controller. + - fbTimeOut - TON - 224 - 6944 + bAxisParamsInit + BOOL + True if we've updated stAxisParameters at least once + 8 + 25088 + + + stAxisStatus + DUT_AxisStatus_v0_01 + Misc axis status information for the IOC + 768 + 25152 + + + fPosDiff + LREAL + Other status information for users of the IOC + Position lag difference + 64 + 25920 - conditionalshow + pytmc + + pv: PLC:fPosDiff + io: i + field: DESC Position lag difference + + + + DUT_MotionStage + 25984 + ST_MotionStage - PouType - FunctionBlock + obsolete + DUT_MotionStage has been renamed to ST_MotionStage + + + + _E_TcMC_STATES + 16 + INT + + STATE_INITIALIZATION + 100 + + + STATE_ORDER + 101 + + + STATE_RUNNING + 102 + + + STATE_WAITING + 103 + + + STATE_MOTIONCOMMANDSLOCKED + 104 + + - conditionalshow_all_locals + conditionalshow - FB_WriteParameterInNc_v1_00 - 1504 + _ST_FunctionBlockResults + 96 - bExecute + Done + BOOL + 8 + 0 + + + CommandAborted + BOOL + 8 + 8 + + + Error BOOL 8 + 16 + + + ErrorID + UDINT + 32 32 - ItemType - Input + displaymode + hex - nDeviceGroup + BusyCounter UDINT - 16#4000=Axisdata, 16#5000=Encoderdata, 16#6000=Controldata, 16#7000=Drivedata + busy cycles since triggering the block - 2018-01-24 KSt 32 64 - ItemType - Input + displaymode + dec + + + conditionalshow + + + + + MC_Reset + 1632 - nIndexOffset - UDINT + Axis + AXIS_REF + Reference to an axis 32 - 96 + 32 ItemType - Input + InOut - nData - DWORD - 32 - 128 + Execute + BOOL + B + 8 + 64 ItemType @@ -31458,10 +32496,11 @@ External Setpoint Generation: - bBusy + Done BOOL + B 8 - 160 + 72 ItemType @@ -31470,10 +32509,11 @@ External Setpoint Generation: - bDone + Busy BOOL + E 8 - 168 + 80 ItemType @@ -31482,10 +32522,11 @@ External Setpoint Generation: - bError + Error BOOL + B 8 - 176 + 88 ItemType @@ -31494,40 +32535,53 @@ External Setpoint Generation: - nErrorId + ErrorID UDINT + B 32 - 192 + 96 ItemType Output - - - - Axis - AXIS_REF - 32 - 224 - - ItemType - InOut + displaymode + hex - nState - UINT + ADSbusy + BOOL + 8 + 128 + + + iState + _E_TcMC_STATES 16 - 256 + 144 + + _E_TcMC_STATES.STATE_INITIALIZATION + - fbADSWRITE - ADSWRITE - 1216 - 288 + LastExecutionResult + _ST_FunctionBlockResults + 96 + 160 + + + fbOnTrigger + R_TRIG + 64 + 1568 + + + conditionalshow + + @@ -31537,25 +32591,59 @@ External Setpoint Generation: - FB_WriteFloatParameter - 1536 + 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 - bExecute - BOOL - 8 + Axis + AXIS_REF + Reference to an axis + 32 32 ItemType - Input + InOut - nDeviceGroup - UDINT - 16#4000=Axisdata, 16#5000=Encoderdata, 16#6000=Controldata, 16#7000=Drivedata - 32 + Enable + BOOL + B + 8 64 @@ -31565,10 +32653,11 @@ External Setpoint Generation: - nIndexOffset - UDINT - 32 - 96 + Enable_Positive + BOOL + E + 8 + 72 ItemType @@ -31577,10 +32666,11 @@ External Setpoint Generation: - nData - LREAL - 64 - 128 + Enable_Negative + BOOL + E + 8 + 80 ItemType @@ -31589,46 +32679,52 @@ External Setpoint Generation: - bBusy - BOOL - 8 - 192 + Override + LREAL + in percent - Beckhoff proprietary input + 64 + 128 + + 100 + ItemType - Output + Input - bDone - BOOL - 8 - 200 + BufferMode + MC_BufferMode + V + 16 + 192 ItemType - Output + Input - bError - BOOL - 8 + Options + ST_PowerOptions + 0 208 ItemType - Output + Input - nErrorId - UDINT - 32 - 224 + Status + BOOL + B + 8 + 208 ItemType @@ -31637,501 +32733,563 @@ External Setpoint Generation: - Axis - AXIS_REF - 32 - 256 - - - ItemType - InOut - - - - - nState - UINT - 16 - 288 - - - fbADSWRITE - ADSWRITE - 1216 - 320 - - - - PouType - FunctionBlock - - - - - FB_HomeWriteNcVelocities - 3456 - - En + Busy BOOL + V 8 - 32 + 216 ItemType - Input + Output - bReset + Active BOOL + V 8 - 40 + 224 ItemType - Input + Output - bExecute + Error BOOL + B 8 - 48 + 232 ItemType - Input + Output - fVelocityToCam - LREAL - 64 - 64 + ErrorID + UDINT + E + 32 + 256 ItemType - Input + Output - - - - fVelocityFromCam - LREAL - 64 - 128 - - ItemType - Input + displaymode + hex - Axis - AXIS_REF - 32 - 192 + EnableTimeout + TON + 224 + 288 - ItemType - InOut + conditionalshow - EnO - BOOL - 8 - 224 + EnableOffOnDelay + TP + 192 + 512 - ItemType - Output + conditionalshow - bBusy - BOOL - 8 - 232 + iOverride + DWORD + 32 + 704 - ItemType - Output + conditionalshow + + + PouType + FunctionBlock + + + conditionalshow_all_locals + + + + + ST_MoveOptions + 320 - bDone + EnableBlendingPosition BOOL + Command activation at defined ActivationPosition - extends the buffer mode when enabled 8 - 240 - - - ItemType - Output - - + 0 - bError - BOOL - 8 - 248 - - - ItemType - Output - - + BlendingPosition + LREAL + 64 + 64 - nErrorId - UDINT - 32 - 256 - - - ItemType - Output - - + StartVelocity + LREAL + velocity profile options - instantaneous speed change at the beginning and at the end of the profile + 64 + 128 - fbExecuteRiseEdge - R_TRIG + EndVelocity + LREAL 64 - 288 + 192 - fbWriteVelocityToCam - FB_WriteFloatParameter - 1536 - 384 + IgnorePositionMonitoring + BOOL + PositionAreaMonitoring, TargetPositionMonitoring and StopMonitoring can be ignored using this flag - 20190311 + 8 + 256 - fbWriteVelocityFromCam - FB_WriteFloatParameter - 1536 - 1920 + 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 + - PouType - FunctionBlock + conditionalshow - FB_HomeToSwitch - 15744 + ST_TorqueControlOptions + 128 - En + EnableManualTorqueStartValue BOOL 8 - 32 - - - ItemType - Input - - + 0 - bReset - BOOL - 8 - 40 - - - ItemType - Input - - + ManualTorqueStartValue + LREAL + 64 + 64 + + + _ST_TcNC_UnversalAxisStartRequest + 640 - bExecute - BOOL - 8 - 48 - - - ItemType - Input - - + nStartType + UDINT + axis start TYPE (ABSOLUT, RELATIV, ENDLESS_PLUS, ENDLESS_MINUS, MODULO_SHORT, MODULO_PLUS, MODULO_MINUS) + 32 + 0 - bCamSensor - BOOL - 8 - 56 - - - ItemType - Input - - + nControlMask + UDINT + optional: control mask + 32 + 32 - nSearchDirTwoardsCam - MC_Direction - 16 + fPosTarget + LREAL + target position + 64 64 - - - ItemType - Input - - - - - nSearchDirOffCam - MC_Direction - 16 - 80 - - - ItemType - Input - - - fHomePosition + fVeloRequ LREAL + required velocity 64 128 - - - ItemType - Input - - - fVelocityToCamNC + fAcc LREAL - Velcoity when searching for cam + acceleration (>= 0) 64 192 - - - ItemType - Input - - - fVelocityFromCamNC + fDec LREAL - Velocity after found cam (searching for next signal transition) + deceleration (>= 0) 64 256 - - - ItemType - Input - - - Axis - AXIS_REF - 32 + fJerk + LREAL + jerk (>= 0) + 64 320 - - - ItemType - InOut - - - EnO - BOOL - 8 - 352 - - - ItemType - Output - - + nBufferMode + UDINT + optional: 'buffer mode' OR 'activation mode' FOR 'buffered commands' (issue #2786) + 32 + 384 - bBusy - BOOL - 8 - 360 - - - ItemType - Output - - + nReserved + UDINT + reserved + 32 + 416 - bDone - BOOL - 8 - 368 - - - ItemType - Output - - + fBlendingPosition + LREAL + optional: activation position + 64 + 448 - bHomed - BOOL - 8 - 376 - - - ItemType - Output - - + fVeloStart + LREAL + optional: start velocity (0 <= fVeloStart <= fVeloRequ) Frage: erstmal weglassen ??? + 64 + 512 - bError - BOOL - 8 - 384 - - - ItemType - Output - - + fVeloEnd + LREAL + optional: end velocity (0 <= fVeloEnd <= fVeloRequ) Frage: erstmal weglassen ??? + 64 + 576 + + + conditionalshow + + + + + _ST_TcNC_UniversalAxisTorqueStartRequest + 576 - nErrorId + nStartType UDINT + axis start TYPE (TORQUECONTINUOUS) 32 - 416 - - - ItemType - Output - - + 0 - fbHome - MC_Home - 7168 - 448 + nControlMask + UDINT + optional: control mask + 32 + 32 - fbWriteHomeDirCamToNC - FB_WriteParameterInNc_v1_00 - 1504 - 7616 + nMode + UDINT + optional: mode (ENUM) + 32 + 64 - fbWriteHomeDirSyncToNC - FB_WriteParameterInNc_v1_00 - 1504 - 9120 + nBufferMode + UDINT + 'buffer mode' OR 'activation mode' FOR 'buffered commands' (first Only ABORTING) + 32 + 96 - fbWriteHomeModeToNC - FB_WriteParameterInNc_v1_00 - 1504 - 10624 + fTorque + LREAL + target torque [signed] + 64 + 128 - fbWriteHomeVelocitiesToNC - FB_HomeWriteNcVelocities - 3456 - 12160 + fTorqueRamp + LREAL + nc torque ramp + 64 + 192 - bConfigNCDone - BOOL - 8 - 15616 - - false - + fVelocityLimitHigh + LREAL + velocity limit high [signed] + 64 + 256 - fbRTrigg - R_TRIG + fVelocityLimitLow + LREAL + velocity limit low [signed] 64 - 15648 + 320 + + + fAcceleration + LREAL + acceleration (>= 0) + 64 + 384 + + + fDeceleration + LREAL + deceleration (>= 0) + 64 + 448 + + + fManualTorque + LREAL + optional: manual torque (sync value) + 64 + 512 - PouType - FunctionBlock + conditionalshow - FB_HomeDirect - 7424 + _ST_TcNC_UnversalAxisStartResponse + 32 - En - BOOL - 8 - 32 - - - ItemType - Input - - + nCmdNo + WORD + Continuous actual command number + 16 + 0 - bReset - BOOL - 8 - 40 - - - ItemType - Input - - + nCmdState + WORD + Command state + 16 + 16 + + + conditionalshow + + + + + _ST_TcNc_OperationModes + 128 - bExecute - BOOL - 8 - 48 - - - ItemType - Input - - + PosAreaControl + DWORD + OpModeDWord in cyclic interface + 0 + 32 + 0 + + 1 + - fHomePosition - LREAL - 64 + 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 - - - ItemType - Input - - + + 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 + 7680 Axis AXIS_REF + Reference to an axis 32 - 128 + 32 ItemType @@ -32140,98 +33298,83 @@ External Setpoint Generation: - EnO - BOOL - 8 - 160 + LastExecutionResult + _ST_FunctionBlockResults + 32 + 64 ItemType - Output + InOut - bBusy + Execute BOOL 8 - 168 + 96 ItemType - Output + Input - bDone - BOOL - 8 - 176 + StartType + _E_TcNC_StartPosType + 20110511 KSt type changed for Tc3 + 16 + 112 ItemType - Output + Input - bHomed - BOOL - 8 - 184 + Position + LREAL + 64 + 128 ItemType - Output + Input - bError - BOOL - 8 + Torque + LREAL + 64 192 ItemType - Output + Input - nErrorId - UDINT - 32 - 224 + TorqueRamp + LREAL + 64 + 256 ItemType - Output + Input - fbHome - MC_Home - 7168 - 256 - - - - PouType - FunctionBlock - - - - - FB_ReadParameterInNc_v1_00 - 1536 - - bExecute - BOOL - 8 - 32 + Velocity + LREAL + 64 + 320 ItemType @@ -32240,11 +33383,10 @@ External Setpoint Generation: - nDeviceGroup - UDINT - 16#4000=Axisdata, 16#5000=Encoderdata, 16#6000=Controldata, 16#7000=Drivedata - 32 - 64 + VelocityLimitHigh + LREAL + 64 + 384 ItemType @@ -32253,10 +33395,10 @@ External Setpoint Generation: - nIndexOffset - UDINT - 32 - 96 + VelocityLimitLow + LREAL + 64 + 448 ItemType @@ -32265,104 +33407,85 @@ External Setpoint Generation: - nData - DWORD - 32 - 128 + Acceleration + LREAL + 64 + 512 ItemType - Output + Input - bBusy - BOOL - 8 - 160 + Deceleration + LREAL + 64 + 576 ItemType - Output + Input - bDone - BOOL - 8 - 168 + Jerk + LREAL + 64 + 640 ItemType - Output + Input - bError - BOOL - 8 - 176 + BufferMode + MC_BufferMode + Direction : MC_Direction := MC_Positive_Direction; + E + 16 + 704 ItemType - Output + Input - nErrorId - UDINT - 32 - 192 + Options + ST_MoveOptions + 320 + 768 ItemType - Output + Input - Axis - AXIS_REF - 32 - 224 + OptionsTorque + ST_TorqueControlOptions + 128 + 1088 ItemType - InOut + Input - nState - UINT - 16 - 256 - - - fbADSREAD - ADSREAD - 1248 - 288 - - - - PouType - FunctionBlock - - - - - FB_HomeReadSoftLimEnable - 3264 - - En + Reset BOOL + for internal use only 8 - 32 + 1216 ItemType @@ -32371,10 +33494,11 @@ External Setpoint Generation: - bReset + GotoRunState BOOL + for internal use only 8 - 40 + 1224 ItemType @@ -32383,10 +33507,11 @@ External Setpoint Generation: - bExecute + ContinuousUpdate BOOL + for internal use only (TorqueControl) 8 - 48 + 1232 ItemType @@ -32395,22 +33520,23 @@ External Setpoint Generation: - Axis - AXIS_REF - 32 - 64 + Done + BOOL + Same meaning as InVelocity for continous motion commands + 8 + 1240 ItemType - InOut + Output - EnO + Busy BOOL 8 - 96 + 1248 ItemType @@ -32419,10 +33545,10 @@ External Setpoint Generation: - bBusy + Active BOOL 8 - 104 + 1256 ItemType @@ -32431,10 +33557,10 @@ External Setpoint Generation: - bDone + CommandAborted BOOL 8 - 112 + 1264 ItemType @@ -32443,10 +33569,10 @@ External Setpoint Generation: - bError + Error BOOL 8 - 120 + 1272 ItemType @@ -32455,40 +33581,26 @@ External Setpoint Generation: - nErrorId + ErrorID UDINT 32 - 128 + 1280 ItemType Output - - - - bSofLimEnableLow - BOOL - 8 - 160 - - true - - - ItemType - Output + displaymode + hex - bSofLimEnableHigh - BOOL - 8 - 168 - - true - + CmdNo + UINT + 16 + 1312 ItemType @@ -32497,329 +33609,333 @@ External Setpoint Generation: - fbReadSoftLimEnableLow - FB_ReadParameterInNc_v1_00 - 1536 - 192 - - - fbReadSoftLimEnableHigh - FB_ReadParameterInNc_v1_00 - 1536 - 1728 - - - - PouType - FunctionBlock - - - - - FB_HomeWriteSoftLimEnable - 3264 - - En + ADSbusy BOOL 8 - 32 + 1328 ItemType - Input + Output - bReset + InTorque BOOL 8 - 40 + 1336 ItemType - Input + Output - bExecute - BOOL - 8 - 48 - - - ItemType - Input - - + iState + _E_TcMC_STATES + 16 + 1344 + + _E_TcMC_STATES.STATE_INITIALIZATION + - bSofLimEnableLow + 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 - 56 - - true - - - - ItemType - Input - - + 4096 - bSofLimEnableHigh + InVelocity BOOL 8 - 64 - - true - - - - ItemType - Input - - + 4104 - Axis - AXIS_REF + DiffCycleCounter + UDINT 32 - 96 - - - ItemType - InOut - - + 4128 - EnO - BOOL + EmptyStartResponse + _ST_TcNC_UnversalAxisStartResponse + 32 + 4160 + + + COUNT_R + UDINT + 32 + 4192 + + + CounterCmdNoZero + BYTE 8 - 128 - - - ItemType - Output - - + 4224 - bBusy - BOOL + CounterCmdNotStarted + BYTE 8 - 136 - - - ItemType - Output - - + 4232 - bDone - BOOL + DiffCmdNo + INT + 16 + 4240 + + + InitialNcToPlcCmdNo + UINT + 16 + 4256 + + + NcCycleCounter + BYTE 8 - 144 - - - ItemType - Output - - + 4272 - bError - BOOL + LastNcCycleCounter + BYTE 8 - 152 - - - ItemType - Output - - + 4280 - nErrorId - UDINT - 32 - 160 - - - ItemType - Output - - + NcMappingCounter + BYTE + 8 + 4288 - fbExecuteRiseEdge - R_TRIG - 64 - 192 + NcCycleCounterAvailable + BOOL + 8 + 4296 - fbWriteSoftLimEnableLow - FB_WriteParameterInNc_v1_00 - 1504 - 256 + NcCycleCounterNotAvailable + BOOL + 8 + 4304 - fbWriteSoftLimEnableHigh - FB_WriteParameterInNc_v1_00 - 1504 - 1760 + NcCyclicFeedbackExpected + BOOL + 8 + 4312 - - - PouType - FunctionBlock - - - - - FB_ReadFloatParameter - 1600 - bExecute + PlcDebugCode + DWORD + 32 + 4320 + + + AxisIsSlave BOOL 8 - 32 - - - ItemType - Input - - + 4352 - nDeviceGroup + GetTaskIndex + GETCURTASKINDEX + 128 + 4384 + + + CycleCounter UDINT - 16#4000=Axisdata, 16#5000=Encoderdata, 16#6000=Controldata, 16#7000=Drivedata 32 - 64 - - - ItemType - Input - - + 4512 - nIndexOffset + BusyCounter UDINT 32 - 96 - - - ItemType - Input - - + 4544 - nData + 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 - 128 - - - ItemType - Output - - + 7424 - bBusy + iContinuousUpdate BOOL 8 - 192 + 7488 + + + OpMode + _ST_TcNc_OperationModes + 128 + 7520 - ItemType - Output + suppress_warning_0 + C0228 + + ActMonitorStop + + + ActMonitorAbortTorque + + + ActMonitorContinousMotion + + + ActMonitorDiscreteMotion + + + ActErrorMessage + + + ActMonitorContinuousTorque + + + ActCalcDiffCmdNo + + + ActNcCycleCounter + + + + PouType + FunctionBlock + + + conditionalshow + + + + + MC_Halt + 8640 - bDone - BOOL - 8 - 200 + Axis + AXIS_REF + Reference to an axis + 32 + 32 ItemType - Output + InOut - bError + Execute BOOL 8 - 208 + 64 ItemType - Output + Input - nErrorId - UDINT - 32 - 224 + Deceleration + LREAL + 64 + 128 ItemType - Output + Input - Axis - AXIS_REF - 32 - 256 + Jerk + LREAL + 64 + 192 ItemType - InOut + Input - nState - UINT + BufferMode + MC_BufferMode 16 - 288 - - - fbADSREAD - ADSREAD - 1248 - 320 - - - - PouType - FunctionBlock - - - - - FB_HomeReadNcVelocities - 3520 - - En - BOOL - 8 - 32 + 256 ItemType @@ -32828,10 +33944,11 @@ External Setpoint Generation: - bReset - BOOL - 8 - 40 + Options + ST_MoveOptions + optional parameters + 320 + 320 ItemType @@ -32840,34 +33957,22 @@ External Setpoint Generation: - bExecute + Done BOOL 8 - 48 - - - ItemType - Input - - - - - Axis - AXIS_REF - 32 - 64 + 640 ItemType - InOut + Output - EnO + Busy BOOL 8 - 96 + 648 ItemType @@ -32876,10 +33981,10 @@ External Setpoint Generation: - bBusy + Active BOOL 8 - 104 + 656 ItemType @@ -32888,10 +33993,10 @@ External Setpoint Generation: - bDone + CommandAborted BOOL 8 - 112 + 664 ItemType @@ -32900,10 +34005,10 @@ External Setpoint Generation: - bError + Error BOOL 8 - 120 + 672 ItemType @@ -32912,52 +34017,44 @@ External Setpoint Generation: - nErrorId + ErrorID UDINT 32 - 128 + 704 ItemType Output + + displaymode + hex + - fVelocityToCam - LREAL - 64 - 192 - - - ItemType - Output - - + LastExecutionResult + _ST_FunctionBlockResults + 96 + 736 - fVelocityFromCam - LREAL - 64 - 256 - - - ItemType - Output - - + ADSbusy + BOOL + 8 + 832 - fbReadVelocityToCam - FB_ReadFloatParameter - 1600 - 320 + MoveGeneric + _FB_MoveUniversalGeneric + 7680 + 896 - fbReadVelocityFromCam - FB_ReadFloatParameter - 1600 - 1920 + CmdNo + UINT + 16 + 8576 @@ -32967,25 +34064,81 @@ External Setpoint Generation: - FB_HomePrepare - 17728 + 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 + 8768 - En - BOOL - 8 + Axis + AXIS_REF + Reference to an axis + 32 32 ItemType - Input + InOut - bReset + Execute BOOL 8 - 40 + 64 ItemType @@ -32994,10 +34147,12 @@ External Setpoint Generation: - bExecute - BOOL - 8 - 48 + Velocity + LREAL + ContinuousUpdate : BOOL; + not available + 64 + 128 ItemType @@ -33006,10 +34161,10 @@ External Setpoint Generation: - nCmdData - UINT - 16 - 64 + Acceleration + LREAL + 64 + 192 ItemType @@ -33018,58 +34173,74 @@ External Setpoint Generation: - Axis - AXIS_REF - 32 - 96 + Deceleration + LREAL + 64 + 256 ItemType - InOut + Input - EnO - BOOL - 8 - 128 + Jerk + LREAL + 64 + 320 ItemType - Output + Input - bBusy - BOOL - 8 - 136 + Direction + MC_Direction + 16 + 384 + + MC_Direction.MC_Positive_Direction + ItemType - Output + Input - bDone - BOOL - 8 - 144 + BufferMode + MC_BufferMode + 16 + 400 ItemType - Output + Input - bError + Options + ST_MoveOptions + 320 + 448 + + + ItemType + Input + + + + + InVelocity BOOL + Commanded velocity reached 8 - 152 + 768 ItemType @@ -33078,10 +34249,10 @@ External Setpoint Generation: - nErrorId - UDINT - 32 - 160 + Busy + BOOL + 8 + 776 ItemType @@ -33090,13 +34261,10 @@ External Setpoint Generation: - bSofLimEnableLowOriginal + Active BOOL 8 - 192 - - true - + 784 ItemType @@ -33105,13 +34273,10 @@ External Setpoint Generation: - bSofLimEnableHighOriginal + CommandAborted BOOL 8 - 200 - - true - + 792 ItemType @@ -33120,13 +34285,10 @@ External Setpoint Generation: - fVelocityToCam - LREAL - 64 - 256 - - 0 - + Error + BOOL + 8 + 800 ItemType @@ -33135,105 +34297,120 @@ External Setpoint Generation: - fVelocityFromCam - LREAL - 64 - 320 - - 0 - + ErrorID + UDINT + 32 + 832 ItemType Output + + displaymode + hex + - fbHomeReadSoftLimEnable - FB_HomeReadSoftLimEnable - 3264 - 384 + LastExecutionResult + _ST_FunctionBlockResults + 96 + 864 - fbHomeDisableSoftLimEnable - FB_HomeWriteSoftLimEnable - 3264 - 3648 + ADSbusy + BOOL + 8 + 960 - fbHomeReadNCVelocities - FB_HomeReadNcVelocities - 3520 - 6912 + MoveGeneric + _FB_MoveUniversalGeneric + 7680 + 1024 - fbHomeResetCalibrationFlag - MC_Home - Only used for reset of calibration flag - 7168 - 10432 + CmdNo + UINT + 16 + 8704 + + + PouType + FunctionBlock + + + + + ST_McOutputs + 96 - fbExecuteRiseEdge - R_TRIG - 64 - 17600 + Done + BOOL + 8 + 0 - bExecuteReadNC + Busy BOOL 8 - 17664 - - false - + 8 - bExecuteWriteNC + Active BOOL 8 - 17672 - - false - + 16 - nState - INT - 16 - 17680 - - 0 - + CommandAborted + BOOL + 8 + 24 - - - PouType - FunctionBlock - - - - - FB_HomeFinish - 3552 - En + Error BOOL 8 32 + + + ErrorID + UDINT + 32 + 64 + + + displaymode + hex + + + + + + MC_MoveAbsolute + 8832 + + Axis + AXIS_REF + Reference to an axis + 32 + 32 ItemType - Input + InOut - bReset + Execute BOOL + Start the motion at rising edge 8 - 40 + 64 ItemType @@ -33242,10 +34419,11 @@ External Setpoint Generation: - bExecute - BOOL - 8 - 48 + Position + LREAL + Target position for the motion + 64 + 128 ItemType @@ -33254,10 +34432,11 @@ External Setpoint Generation: - nCmdData - UINT - 16 - 64 + Velocity + LREAL + Value of the maximum velocity + 64 + 192 ItemType @@ -33266,13 +34445,11 @@ External Setpoint Generation: - bSofLimEnableLow - BOOL - 8 - 80 - - true - + Acceleration + LREAL + Value of the maximum acceleration + 64 + 256 ItemType @@ -33281,13 +34458,11 @@ External Setpoint Generation: - bSofLimEnableHigh - BOOL - 8 - 88 - - true - + Deceleration + LREAL + Value of the maximum deceleration + 64 + 320 ItemType @@ -33296,22 +34471,50 @@ External Setpoint Generation: - Axis - AXIS_REF - 32 - 96 + Jerk + LREAL + Value of the maximum jerk + 64 + 384 ItemType - InOut + Input - EnO + BufferMode + MC_BufferMode + Direction : MC_Direction; + not available + 16 + 448 + + + ItemType + Input + + + + + Options + ST_MoveOptions + optional parameters + 320 + 512 + + + ItemType + Input + + + + + Done BOOL 8 - 128 + 832 ItemType @@ -33320,10 +34523,10 @@ External Setpoint Generation: - bBusy + Busy BOOL 8 - 136 + 840 ItemType @@ -33332,10 +34535,10 @@ External Setpoint Generation: - bDone + Active BOOL 8 - 144 + 848 ItemType @@ -33344,10 +34547,10 @@ External Setpoint Generation: - bError + CommandAborted BOOL 8 - 152 + 856 ItemType @@ -33356,10 +34559,10 @@ External Setpoint Generation: - nErrorId - UDINT - 32 - 160 + Error + BOOL + 8 + 864 ItemType @@ -33368,34 +34571,44 @@ External Setpoint Generation: - fbHomewriteSoftLimEnable - FB_HomeWriteSoftLimEnable - 3264 - 192 + ErrorID + UDINT + 32 + 896 + + + ItemType + Output + + + displaymode + hex + + - fbExecuteRiseEdge - R_TRIG - 64 - 3456 + LastExecutionResult + _ST_FunctionBlockResults + 96 + 928 - bExecuteWriteNC + ADSbusy BOOL 8 - 3520 - - false - + 1024 - nState - INT + MoveGeneric + _FB_MoveUniversalGeneric + 7680 + 1088 + + + CmdNo + UINT 16 - 3536 - - 0 - + 8768 @@ -33405,37 +34618,26 @@ External Setpoint Generation: - FB_HomeVirtual - 53760 + MC_MoveRelative + 8832 - En - BOOL - 8 + Axis + AXIS_REF + Reference to an axis + 32 32 ItemType - Input - - - - - bReset - BOOL - 8 - 40 - - - ItemType - Input + InOut - bExecute + Execute BOOL 8 - 48 + 64 ItemType @@ -33444,10 +34646,12 @@ External Setpoint Generation: - nCmdData - UINT - 16 - 64 + Distance + LREAL + ContinuousUpdate : BOOL; + not available + 64 + 128 ItemType @@ -33456,10 +34660,10 @@ External Setpoint Generation: - bLimitFwd - BOOL - 8 - 80 + Velocity + LREAL + 64 + 192 ItemType @@ -33468,10 +34672,10 @@ External Setpoint Generation: - bLimitBwd - BOOL - 8 - 88 + Acceleration + LREAL + 64 + 256 ItemType @@ -33480,10 +34684,10 @@ External Setpoint Generation: - bHomeSensor - BOOL - 8 - 96 + Deceleration + LREAL + 64 + 320 ItemType @@ -33492,10 +34696,10 @@ External Setpoint Generation: - fHomePosition + Jerk LREAL 64 - 128 + 384 ItemType @@ -33504,10 +34708,10 @@ External Setpoint Generation: - nHomeRevOffset - UINT + BufferMode + MC_BufferMode 16 - 192 + 448 ItemType @@ -33516,22 +34720,22 @@ External Setpoint Generation: - Axis - AXIS_REF - 32 - 224 + Options + ST_MoveOptions + 320 + 512 ItemType - InOut + Input - EnO + Done BOOL 8 - 256 + 832 ItemType @@ -33540,10 +34744,10 @@ External Setpoint Generation: - bBusy + Busy BOOL 8 - 264 + 840 ItemType @@ -33552,10 +34756,10 @@ External Setpoint Generation: - bDone + Active BOOL 8 - 272 + 848 ItemType @@ -33564,10 +34768,10 @@ External Setpoint Generation: - bHomed + CommandAborted BOOL 8 - 280 + 856 ItemType @@ -33576,10 +34780,10 @@ External Setpoint Generation: - bError + Error BOOL 8 - 288 + 864 ItemType @@ -33588,129 +34792,44 @@ External Setpoint Generation: - nErrorId + ErrorID UDINT 32 - 320 + 896 ItemType Output + + displaymode + hex + - fbHomeToSwitch - FB_HomeToSwitch - 15744 - 384 - - - fbHomeDirect - FB_HomeDirect - Only used for direct homing (set of position) - 7424 - 16128 - - - fbMoveVelocity - MC_MoveVelocity - 8768 - 23552 - - - fbHomePrepare - FB_HomePrepare - 17728 - 32320 - - - fbHomeFinish - FB_HomeFinish - 3552 - 50048 - - - fbExecuteRiseEdge - R_TRIG - 64 - 53600 - - - nHomingState - INT - 16 - 53664 - - 0 - - - - bExecuteHomeToSwitch - BOOL - 8 - 53680 - - false - - - - bExecuteMoveVelocity - BOOL - 8 - 53688 - - false - - - - bExecutePrepare - BOOL - 8 - 53696 - - false - + LastExecutionResult + _ST_FunctionBlockResults + 96 + 928 - bExecuteFinish + ADSbusy BOOL 8 - 53704 - - false - + 1024 - bExecuteHomeDirect - BOOL - 8 - 53712 + MoveGeneric + _FB_MoveUniversalGeneric + 7680 + 1088 - nCmdDataLocal + CmdNo UINT - Ensure that nCmdData is not changed during sequence 16 - 53728 - - - bSequenceReady - BOOL - 8 - 53744 - - true - - - - bRestoreNCDataNeeded - BOOL - 8 - 53752 - - false - + 8768 @@ -33720,78 +34839,10 @@ External Setpoint Generation: - 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 + MC_Jog + 44352 - Master + Axis AXIS_REF Reference to an axis 32 @@ -33804,23 +34855,22 @@ External Setpoint Generation: - Slave - AXIS_REF - Reference to an axis - 32 + JogForward + BOOL + 8 64 ItemType - InOut + Input - Enable + JogBackwards BOOL 8 - 96 + 72 ItemType @@ -33829,13 +34879,10 @@ External Setpoint Generation: - GearRatio - LREAL - 64 - 128 - - 1 - + Mode + E_JogMode + 16 + 80 ItemType @@ -33844,10 +34891,10 @@ External Setpoint Generation: - Acceleration + Position LREAL 64 - 192 + 128 ItemType @@ -33856,11 +34903,10 @@ External Setpoint Generation: - Deceleration + Velocity LREAL - not used 64 - 256 + 192 ItemType @@ -33869,11 +34915,10 @@ External Setpoint Generation: - Jerk + Acceleration LREAL - not used 64 - 320 + 256 ItemType @@ -33882,10 +34927,10 @@ External Setpoint Generation: - BufferMode - MC_BufferMode - 16 - 384 + Deceleration + LREAL + 64 + 320 ItemType @@ -33894,11 +34939,10 @@ External Setpoint Generation: - Options - ST_GearInDynOptions - optional parameters - 8 - 400 + Jerk + LREAL + 64 + 384 ItemType @@ -33907,10 +34951,10 @@ External Setpoint Generation: - InGear + Done BOOL 8 - 408 + 448 ItemType @@ -33922,7 +34966,7 @@ External Setpoint Generation: Busy BOOL 8 - 416 + 456 ItemType @@ -33934,7 +34978,7 @@ External Setpoint Generation: Active BOOL 8 - 424 + 464 ItemType @@ -33946,7 +34990,7 @@ External Setpoint Generation: CommandAborted BOOL 8 - 432 + 472 ItemType @@ -33958,7 +35002,7 @@ External Setpoint Generation: Error BOOL 8 - 440 + 480 ItemType @@ -33970,7 +35014,7 @@ External Setpoint Generation: ErrorID UDINT 32 - 448 + 512 ItemType @@ -33982,255 +35026,156 @@ External Setpoint Generation: + + state + INT + 16 + 544 + LastExecutionResult _ST_FunctionBlockResults 96 - 480 + 576 - ADSbusy + StateDWord BOOL 8 - 576 + 672 - iState - _E_TcMC_STATES - 16 - 592 - - _E_TcMC_STATES.STATE_INITIALIZATION - + ExecuteMoveVelocity + BOOL + 8 + 680 - iSubState - INT - 16 - 608 + MoveVelocity + MC_MoveVelocity + 8768 + 704 - fbAdsWrite - ADSWRITE - 1216 - 640 + MoveVelocityOut + ST_McOutputs + 96 + 9472 - fbAdsRead - ADSREAD - 1248 - 1856 + Direction + MC_Direction + 16 + 9568 - sCouple - _ST_TcNC_CoupleSlave - 384 - 3136 + ExecuteHalt + BOOL + 8 + 9584 - v_max - LREAL - 64 - 3520 + Halt + MC_Halt + 8640 + 9600 - pa_limit - LREAL - 64 - 3584 + HaltOut + ST_McOutputs + 96 + 18240 - WasInGear + ExecuteMoveAbsolute BOOL 8 - 3648 + 18336 - iAcceleration - LREAL - 64 - 3712 - - - conditionalshow - - + MoveAbsolute + MC_MoveAbsolute + 8832 + 18368 - TimerStateFeedback - TON - 224 - 3776 - - - conditionalshow - - + MoveAbsoluteOut + ST_McOutputs + 96 + 27200 - - - PouType - FunctionBlock - - - - - ST_GearOutOptions - 8 - reserved + ExecuteMoveRelative BOOL 8 - 0 - - - conditionalshow - - + 27296 - - - MC_GearOut - 1792 - Slave - AXIS_REF - Reference to an axis - 32 - 32 - - - ItemType - InOut - - + MoveRelative + MC_MoveRelative + 8832 + 27328 - Execute - BOOL - 8 - 64 - - - ItemType - Input - - - - - Options - ST_GearOutOptions - optional parameters - 8 - 72 - - - ItemType - Input - - + MoveRelativeOut + ST_McOutputs + 96 + 36160 - Done - BOOL - 8 - 80 - - - ItemType - Output - - + JogMove + _FB_MoveUniversalGeneric + 7680 + 36288 - Busy - BOOL - 8 - 88 - - - ItemType - Output - - + LastJogMoveResult + _ST_FunctionBlockResults + 96 + 43968 - Error + ExecuteJogMove BOOL 8 - 96 - - - ItemType - Output - - + 44064 - ErrorID - UDINT - 32 - 128 - - - ItemType - Output - - - displaymode - hex - - + StartType + _E_TcNC_StartPosType + 16 + 44080 - LastExecutionResult - _ST_FunctionBlockResults + JogMoveOut + ST_McOutputs 96 - 160 + 44096 - ADSbusy + JogEnd BOOL 8 - 256 - - - iState - _E_TcMC_STATES - 16 - 272 - - _E_TcMC_STATES.STATE_INITIALIZATION - - - - fbAdsWrite - ADSWRITE - 1216 - 288 + 44192 - fbOnTrigger - R_TRIG + TargetPosition + LREAL 64 - 1504 - - - conditionalshow - - + 44224 - TimerStateFeedback - TON - 224 - 1568 - - - conditionalshow - - + modulo + LREAL + 64 + 44288 + + ActJogMove + + + ActCheckJogEnd + PouType @@ -34239,103 +35184,26 @@ External Setpoint Generation: - FB_DriveVirtual - 163456 + MC_MoveModulo + 8896 - sVersion - STRING(80) - 648 + Axis + AXIS_REF + Reference to an axis + 32 32 - - 1.0.3 - - - - En - BOOL - 8 - 680 - - - ItemType - Input - - - - - bEnable - BOOL - 8 - 688 - - - ItemType - Input - - - - - bReset - BOOL - 8 - 696 ItemType - Input + InOut - bExecute + Execute 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 + 64 ItemType @@ -34344,10 +35212,10 @@ External Setpoint Generation: - fPosition + Position LREAL 64 - 832 + 128 ItemType @@ -34356,10 +35224,10 @@ External Setpoint Generation: - fAcceleration + Velocity LREAL 64 - 896 + 192 ItemType @@ -34368,58 +35236,10 @@ External Setpoint Generation: - fDeceleration + Acceleration 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 + 256 ItemType @@ -34428,25 +35248,10 @@ External Setpoint Generation: - fOverride + Deceleration LREAL 64 - 1088 - - 100 - - - - ItemType - Input - - - - - bHomeSensor - BOOL - 8 - 1152 + 320 ItemType @@ -34455,10 +35260,10 @@ External Setpoint Generation: - fHomePosition + Jerk LREAL 64 - 1216 + 384 ItemType @@ -34467,10 +35272,11 @@ External Setpoint Generation: - nHomeRevOffset - UINT + Direction + MC_Direction + modulo shortest way, modulo positive, modulo negative 16 - 1280 + 448 ItemType @@ -34479,10 +35285,11 @@ External Setpoint Generation: - MasterAxis - AXIS_REF - 9088 - 1344 + BufferMode + MC_BufferMode + E + 16 + 464 ItemType @@ -34491,10 +35298,10 @@ External Setpoint Generation: - bPowerSelf - BOOL - 8 - 10432 + Options + ST_MoveOptions + 320 + 512 ItemType @@ -34503,22 +35310,10 @@ External Setpoint Generation: - EnO - BOOL - 8 - 10440 - - - ItemType - Output - - - - - bEnabled + Done BOOL 8 - 10448 + 832 ItemType @@ -34527,10 +35322,10 @@ External Setpoint Generation: - bBusy + Busy BOOL 8 - 10456 + 840 ItemType @@ -34539,10 +35334,10 @@ External Setpoint Generation: - bDone + Active BOOL 8 - 10464 + 848 ItemType @@ -34551,10 +35346,10 @@ External Setpoint Generation: - bError + CommandAborted BOOL 8 - 10472 + 856 ItemType @@ -34563,22 +35358,10 @@ External Setpoint Generation: - bHomed + Error BOOL 8 - 10480 - - - ItemType - Output - - - - - nErrorId - UDINT - 32 - 10496 + 864 ItemType @@ -34587,205 +35370,287 @@ External Setpoint Generation: - nMotionAxisID + ErrorID UDINT - Axis id in Motion (NC) 32 - 10528 - - 0 - - - - ItemType - Output - - - - - Status - ST_AxisStatus - 768 - 10560 - - - ItemType - Output - - - - - fActVelocity - LREAL - 64 - 11328 + 896 ItemType Output - - - - fActPosition - LREAL - 64 - 11392 - - ItemType - Output + displaymode + hex - fActDiff - LREAL - 64 - 11456 - - - ItemType - Output - - + LastExecutionResult + _ST_FunctionBlockResults + 96 + 928 - sErrorMessage - STRING(80) - 648 - 11520 - - - ItemType - Output - - + ADSbusy + BOOL + 8 + 1024 - Axis - AXIS_REF - 32 - 12192 - - - ItemType - InOut - - + MoveGeneric + _FB_MoveUniversalGeneric + 7680 + 1088 - nCommandLocal - UINT + StartType + _E_TcNC_StartPosType 16 - 12224 + 8768 - nCmdDataLocal + CmdNo UINT 16 - 12240 - - - bFirstScan - BOOL - 8 - 12256 - - true - - - - fbReset - MC_Reset - 1632 - 12288 - - - fbPower - MC_Power - 768 - 13952 - - - fbHalt - MC_Halt - 8640 - 14720 + 8784 - fbJog - MC_Jog - 44352 - 23360 + TriggerExecute + R_TRIG + 64 + 8800 - - fbMoveVelocity - MC_MoveVelocity - 8768 - 67712 + + 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 - fbMoveRelative - MC_MoveRelative - 8832 - 76480 + SearchDirection + MC_Direction + 16 + 16 + + MC_Direction.MC_Undefined_Direction + - fbMoveAbsolute - MC_MoveAbsolute - 8832 - 85312 + SearchVelocity + LREAL + 64 + 64 - fbMoveModulo - MC_MoveModulo - 8896 - 94144 + SyncDirection + MC_Direction + 16 + 128 + + MC_Direction.MC_Undefined_Direction + - fbHomeVirtual - FB_HomeVirtual - 53760 - 103040 + SyncVelocity + LREAL + 64 + 192 - fbGearInDyn - MC_GearInDyn - 4032 - 156800 + ReferenceMode + E_EncoderReferenceMode + 32 + 256 + + E_EncoderReferenceMode.ENCODERREFERENCEMODE_DEFAULT + + + + ST_SetPositionOptions + 32 - fbGearOut - MC_GearOut - 1792 - 160832 + ClearPositionLag + BOOL + set actual and set position to same value and clear the position lag + 8 + 0 - fbExecuteRiseEdge - R_TRIG + 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 - 162624 + 64 - stAxisStatus - DUT_AxisStatus_v0_01 - 768 - 162688 + fNewActualPos + LREAL + 64 + 128 + + + nReserved + DWORD + + 1 + 2 + + added KSt 2009-01-28 + 64 + 192 - PouType - FunctionBlock + conditionalshow - FB_MotionHoming - 46976 + MC_SetPosition + 1984 - stMotionStage - ST_MotionStage + Axis + AXIS_REF + Reference to an axis 32 32 @@ -34796,8 +35661,9 @@ External Setpoint Generation: - bExecute + Execute BOOL + Start setting position in axis 8 64 @@ -34808,46 +35674,50 @@ External Setpoint Generation: - bBusy - BOOL - 8 - 72 + Position + LREAL + Position unit [u] (Means ‘Distance’ if Mode = RELATIVE) + 64 + 128 ItemType - Output + Input - bDone + Mode BOOL + RELATIVE =True, ABSOLUTE = False (Default) 8 - 80 + 192 ItemType - Output + Input - bError - BOOL - 8 - 88 + Options + ST_SetPositionOptions + Beckhoff proprietary input + 32 + 208 ItemType - Output + Input - nErrorID - UDINT - 32 - 96 + Done + BOOL + Position has new value + 8 + 240 ItemType @@ -34856,177 +35726,85 @@ External Setpoint Generation: - fbSetPos - MC_SetPosition - 1984 - 128 - - - fbJog - MC_Jog - 44352 - 2112 - - - rtExec - R_TRIG - 64 - 46464 - - - ftExec - F_TRIG - 64 - 46528 - - - nHomeStateMachine - INT - 16 - 46592 - - 0 - - - - nStateAfterStop - INT - 16 - 46608 - - - nMoves - INT - 16 - 46624 - - - bFirstDirection - BOOL - 8 - 46640 - - - bAtHome + Busy BOOL + Shows that the Function Block is not finished 8 - 46648 + 248 + + + ItemType + Output + + - bMove + Error BOOL + Signals that an error has occurred within the Function Block 8 - 46656 + 256 + + + ItemType + Output + + - nErrCount - INT - 16 - 46672 + ErrorID + UDINT + Error identification + 32 + 288 + + + ItemType + Output + + + displaymode + hex + + - bInterrupted + ADSbusy BOOL 8 - 46688 - - - IDLE - INT - 16 - 46704 - - 0 - - - - NEXT_MOVE - INT - 16 - 46720 - - 1 - - - - CHECK_FWD - INT - 16 - 46736 - - 2 - - - - CHECK_BWD - INT - 16 - 46752 - - 3 - - - - FINAL_MOVE - INT - 16 - 46768 - - 4 - - - - FINAL_SETPOS - INT - 16 - 46784 - - 5 - + 320 - ERROR - INT - 16 - 46800 - - 6 - + stSetPos + _ST_TcNC_SetPosOnTheFly + 256 + 384 - WAIT_STOP - INT + iState + _E_TcMC_STATES 16 - 46816 + 640 - 7 + _E_TcMC_STATES.STATE_INITIALIZATION - 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 - 46848 - - -99999999 - + fbAdsWrite + ADSWRITE + 1216 + 672 - BWD_START - LREAL + fbOnTrigger + R_TRIG 64 - 46912 - - 99999999 - + 1888 + + + conditionalshow + + @@ -35036,11 +35814,12 @@ External Setpoint Generation: - FB_EncSaveRestore - 2880 + MC_Home + 7168 - stMotionStage - ST_MotionStage + Axis + AXIS_REF + Reference to an axis 32 32 @@ -35051,7 +35830,7 @@ External Setpoint Generation: - bEnable + Execute BOOL 8 64 @@ -35063,207 +35842,333 @@ External Setpoint Generation: - fbSetPos - MC_SetPosition - 1984 + Position + LREAL + 64 128 - - - timer - TON - 224 - 2112 - - - bInit + + 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 - 2336 + 576 + + + ItemType + Input + + - bLoad + Done BOOL 8 - 2344 + 584 + + + ItemType + Output + + - nLatchError - UDINT - 32 - 2368 + Busy + BOOL + 8 + 592 + + + ItemType + Output + + - bEncError + Active BOOL 8 - 2400 + 600 + + + ItemType + Output + + - tRetryDelay - TIME + CommandAborted + BOOL + 8 + 608 + + + ItemType + Output + + + + + Error + BOOL + 8 + 616 + + + ItemType + Output + + + + + ErrorID + UDINT 32 - 2432 - - T#1s - + 640 + + + ItemType + Output + + + displaymode + hex + + - nMaxRetries - UINT - 16 - 2464 - - 10 - + LastExecutionResult + _ST_FunctionBlockResults + 96 + 672 + + + conditionalshow + + - nCurrTries - UINT + ADSbusy + BOOL + 8 + 768 + + + conditionalshow + + + + + iState + _E_TcMC_STATES 16 - 2480 + 784 - 0 + _E_TcMC_STATES.STATE_INITIALIZATION + + + conditionalshow + + - bWaitRetry - BOOL - 8 - 2496 + iSubState + INT + 16 + 800 + + + conditionalshow + + - tonRetry - TON - 224 - 2528 + fbAdsWriteCmd + ADSWRITE + 1216 + 832 + + + conditionalshow + + - bSaved - BOOL - 8 - 2752 + fbAdsWriteParameter + ADSWRITE + 1216 + 2048 - TcPersistent + conditionalshow - fPosition - LREAL - 64 - 2816 + fbAdsReadRefPos + ADSREAD + 1248 + 3264 - TcPersistent + conditionalshow - - - PouType - FunctionBlock - - - - - FB_LogMotionError - 83136 - stMotionStage - ST_MotionStage + ReferenceFlagValue + UDINT 32 - 32 + 4512 - ItemType - InOut + conditionalshow - bEnable - BOOL - 8 - 64 + fbSetPosition + MC_SetPosition + 1984 + 4544 - ItemType - Input + conditionalshow - fbLogMessage - FB_LogMessage - 81984 - 128 + CalibrationValue + LREAL + 64 + 6528 + + + conditionalshow + + - rtNewError - R_TRIG - 64 - 82112 + SearchDirection + UINT + 16 + 6592 + + + conditionalshow + + - bChangedError - BOOL - 8 - 82176 + SearchVelocity + LREAL + 64 + 6656 + + + conditionalshow + + - sPrevErr - STRING(80) - 648 - 82184 + SyncDirection + UINT + 16 + 6720 + + + conditionalshow + + - fbJson - FB_JsonSaxWriter - 256 - 82848 + SyncVelocity + LREAL + 64 + 6784 + + + conditionalshow + + - - - PouType - FunctionBlock - - - - - FB_SetEnables - 64 - stMotionStage - ST_MotionStage + ReferenceMode + E_EncoderReferenceMode 32 - 32 + 6848 - ItemType - InOut + conditionalshow - - - PouType - FunctionBlock - - - - - FB_EncoderValue - 64 - stMotionStage - ST_MotionStage - 32 - 32 + fbTrigger + R_TRIG + 64 + 6880 - ItemType - InOut + conditionalshow + + + + + fbTimeOut + TON + 224 + 6944 + + + conditionalshow @@ -35272,40 +36177,43 @@ External Setpoint Generation: PouType FunctionBlock + + conditionalshow_all_locals + - MC_ReadParameterSet - 1600 + FB_WriteParameterInNc_v1_00 + 1504 - Parameter - ST_AxisParameterSet - 32 + bExecute + BOOL + 8 32 ItemType - InOut + Input - Axis - AXIS_REF - Reference to an axis + nDeviceGroup + UDINT + 16#4000=Axisdata, 16#5000=Encoderdata, 16#6000=Controldata, 16#7000=Drivedata 32 64 ItemType - InOut + Input - Execute - BOOL - 8 + nIndexOffset + UDINT + 32 96 @@ -35315,10 +36223,22 @@ External Setpoint Generation: - Done + nData + DWORD + 32 + 128 + + + ItemType + Input + + + + + bBusy BOOL 8 - 104 + 160 ItemType @@ -35327,10 +36247,10 @@ External Setpoint Generation: - Busy + bDone BOOL 8 - 112 + 168 ItemType @@ -35339,10 +36259,10 @@ External Setpoint Generation: - Error + bError BOOL 8 - 120 + 176 ItemType @@ -35351,57 +36271,41 @@ External Setpoint Generation: - ErrorID + nErrorId UDINT 32 - 128 + 192 ItemType Output - - displaymode - hex - - TriggerExecute - R_TRIG - 64 - 160 - - - state - _E_TcMC_STATES - 16 + Axis + AXIS_REF + 32 224 - - _E_TcMC_STATES.STATE_INITIALIZATION - + + + ItemType + InOut + + - fbAdsRead - ADSREAD - 1248 + nState + UINT + 16 256 - SizeofPayloadData - UDINT - 32 - 1504 - - - SizeofPayloadData64 - ULINT - 64 - 1536 + fbADSWRITE + ADSWRITE + 1216 + 288 - - ActGetSizeOfParameterSet - PouType @@ -35410,24 +36314,25 @@ External Setpoint Generation: - FB_MotionStageNCParams - 2112 + FB_WriteFloatParameter + 1536 - stMotionStage - ST_MotionStage - 32 + bExecute + BOOL + 8 32 ItemType - InOut + Input - bEnable - BOOL - 8 + nDeviceGroup + UDINT + 16#4000=Axisdata, 16#5000=Encoderdata, 16#6000=Controldata, 16#7000=Drivedata + 32 64 @@ -35437,8 +36342,8 @@ External Setpoint Generation: - tRefreshDelay - TIME + nIndexOffset + UDINT 32 96 @@ -35449,10 +36354,22 @@ External Setpoint Generation: - bError + nData + LREAL + 64 + 128 + + + ItemType + Input + + + + + bBusy BOOL 8 - 128 + 192 ItemType @@ -35461,47 +36378,46 @@ External Setpoint Generation: - mcReadParams - MC_ReadParameterSet - 1600 - 192 - - - timer - TON - 224 - 1792 + bDone + BOOL + 8 + 200 + + + ItemType + Output + + - bExecute + bError BOOL 8 - 2016 - - true - + 208 + + + ItemType + Output + + - nLatchErrId + nErrorId UDINT 32 - 2048 + 224 + + + ItemType + Output + + - - - PouType - FunctionBlock - - - - - FB_MotionStage - 299392 - stMotionStage - ST_MotionStage + Axis + AXIS_REF 32 - 32 + 256 ItemType @@ -35510,148 +36426,16 @@ External Setpoint Generation: - fbDriveVirtual - FB_DriveVirtual - 163456 - 64 - - - fbMotionHome - FB_MotionHoming - 46976 - 163520 - - - fbSaveRestore - FB_EncSaveRestore - 2880 - 210496 - - - fbLogError - FB_LogMotionError - 83136 - 213376 - - - bExecute - BOOL - 8 - 296512 - - - bExecMove - BOOL - 8 - 296520 - - - bExecHome - BOOL - 8 - 296528 - - - bFwdHit - BOOL - 8 - 296536 - - - bBwdHit - BOOL - 8 - 296544 - - - ftExec - F_TRIG - 64 - 296576 - - - rtExec - R_TRIG - 64 - 296640 - - - rtUserExec - R_TRIG - 64 - 296704 - - - rtTarget - R_TRIG - 64 - 296768 - - - rtHomed - R_TRIG - 64 - 296832 - - - fbSetEnables - FB_SetEnables - 64 - 296896 - - - bPosGoal - BOOL - 8 - 296960 - - - bNegGoal - BOOL - 8 - 296968 - - - fbEncoderValue - FB_EncoderValue - 64 - 296992 - - - fbNCParams - FB_MotionStageNCParams - 2112 - 297088 - - - bNewMoveReq - BOOL - 8 - 299200 - - - bPrepareDisable - BOOL - 8 - 299208 - - - bMoveCmd - BOOL - 8 - 299216 - - - rtMoveCmdShortcut - R_TRIG - 64 - 299232 + nState + UINT + 16 + 288 - rtHomeCmdShortcut - R_TRIG - 64 - 299296 + fbADSWRITE + ADSWRITE + 1216 + 320 @@ -35661,49 +36445,48 @@ External Setpoint Generation: - ST_EL5042_Status - 0 - - - ST_RenishawAbsEnc - Renishaw BiSS-C absolute encoder used with an EL5042 - 128 + FB_HomeWriteNcVelocities + 3456 - Count - ULINT - Connect to encoder "Position" input - 64 - 0 + En + BOOL + 8 + 32 - TcAddressType + ItemType Input - Status - ST_EL5042_Status - Status struct placeholder - 0 - 64 + bReset + BOOL + 8 + 40 + + + ItemType + Input + + - Ref - ULINT - Encoder zero position (useful for aligned position with gantries) - 64 - 64 + bExecute + BOOL + 8 + 48 + + + ItemType + Input + + - - - FB_GantryDiffVirtualLimitSwitch - 512 - PEnc - ST_RenishawAbsEnc - Primary axis encoder (usually the upstream one) - 128 + fVelocityToCam + LREAL + 64 64 @@ -35713,11 +36496,10 @@ External Setpoint Generation: - SEnc - ST_RenishawAbsEnc - Secondary axis encoder (couples to the primary) - 128 - 192 + fVelocityFromCam + LREAL + 64 + 128 ItemType @@ -35726,24 +36508,22 @@ External Setpoint Generation: - GantDiffTol - LINT - Gantry differenace tolerance in encoder counts - 64 - 320 + Axis + AXIS_REF + 32 + 192 ItemType - Input + InOut - PLimFwd + EnO BOOL - Primary axis forward direction enable 8 - 384 + 224 ItemType @@ -35752,11 +36532,10 @@ External Setpoint Generation: - PLimBwd + bBusy BOOL - Primary axis reverse direction enable 8 - 392 + 232 ItemType @@ -35765,11 +36544,10 @@ External Setpoint Generation: - SLimFwd + bDone BOOL - Secondary axis forward direction enable 8 - 400 + 240 ItemType @@ -35778,11 +36556,10 @@ External Setpoint Generation: - SLimBwd + bError BOOL - Secondary axis reverse direction enable 8 - 408 + 248 ItemType @@ -35791,10 +36568,34 @@ External Setpoint Generation: - GantryDiff - LINT + nErrorId + UDINT + 32 + 256 + + + ItemType + Output + + + + + fbExecuteRiseEdge + R_TRIG 64 - 448 + 288 + + + fbWriteVelocityToCam + FB_WriteFloatParameter + 1536 + 384 + + + fbWriteVelocityFromCam + FB_WriteFloatParameter + 1536 + 1920 @@ -35804,139 +36605,49 @@ External Setpoint Generation: - _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 + FB_HomeToSwitch + 15744 - SlaveType - _E_TcNC_SlaveTypes - 16 - 0 + En + BOOL + 8 + 32 + + + ItemType + Input + + - - - MC_GearIn - 6656 - Master - AXIS_REF - Reference to an axis - 32 - 32 + bReset + BOOL + 8 + 40 ItemType - InOut + Input - Slave - AXIS_REF - Reference to an axis - 32 - 64 + bExecute + BOOL + 8 + 48 ItemType - InOut + Input - Execute + bCamSensor BOOL 8 - 96 + 56 ItemType @@ -35945,14 +36656,10 @@ External Setpoint Generation: - RatioNumerator - LREAL - changed from INT (PLCopen) to LREAL - 64 - 128 - - 1 - + nSearchDirTwoardsCam + MC_Direction + 16 + 64 ItemType @@ -35961,13 +36668,10 @@ External Setpoint Generation: - RatioDenominator - UINT + nSearchDirOffCam + MC_Direction 16 - 192 - - 1 - + 80 ItemType @@ -35976,12 +36680,10 @@ External Setpoint Generation: - Acceleration + fHomePosition LREAL - MasterValueSource : MC_SOURCE; - not available 64 - 256 + 128 ItemType @@ -35990,10 +36692,11 @@ External Setpoint Generation: - Deceleration + fVelocityToCamNC LREAL + Velcoity when searching for cam 64 - 320 + 192 ItemType @@ -36002,10 +36705,11 @@ External Setpoint Generation: - Jerk + fVelocityFromCamNC LREAL + Velocity after found cam (searching for next signal transition) 64 - 384 + 256 ItemType @@ -36014,35 +36718,22 @@ External Setpoint Generation: - BufferMode - MC_BufferMode - 16 - 448 - - - ItemType - Input - - - - - Options - ST_GearInOptions - optional parameters - 16 - 464 + Axis + AXIS_REF + 32 + 320 ItemType - Input + InOut - InGear + EnO BOOL 8 - 480 + 352 ItemType @@ -36051,10 +36742,10 @@ External Setpoint Generation: - Busy + bBusy BOOL 8 - 488 + 360 ItemType @@ -36063,10 +36754,10 @@ External Setpoint Generation: - Active + bDone BOOL 8 - 496 + 368 ItemType @@ -36075,10 +36766,10 @@ External Setpoint Generation: - CommandAborted + bHomed BOOL 8 - 504 + 376 ItemType @@ -36087,10 +36778,10 @@ External Setpoint Generation: - Error + bError BOOL 8 - 512 + 384 ItemType @@ -36099,88 +36790,62 @@ External Setpoint Generation: - ErrorID + nErrorId UDINT 32 - 544 + 416 ItemType Output - - displaymode - hex - - LastExecutionResult - _ST_FunctionBlockResults - 96 - 576 + fbHome + MC_Home + 7168 + 448 - ADSbusy - BOOL - 8 - 672 + fbWriteHomeDirCamToNC + FB_WriteParameterInNc_v1_00 + 1504 + 7616 - iState - _E_TcMC_STATES - 16 - 688 - - _E_TcMC_STATES.STATE_INITIALIZATION - + fbWriteHomeDirSyncToNC + FB_WriteParameterInNc_v1_00 + 1504 + 9120 - fbAdsWrite - ADSWRITE - 1216 - 704 + fbWriteHomeModeToNC + FB_WriteParameterInNc_v1_00 + 1504 + 10624 - sCouple - _ST_TcNC_CoupleSlave - 384 - 1920 + fbWriteHomeVelocitiesToNC + FB_HomeWriteNcVelocities + 3456 + 12160 - fbOptGearInDyn - MC_GearInDyn - 4032 - 2304 + bConfigNCDone + BOOL + 8 + 15616 + + false + - fbOnTrigger + fbRTrigg R_TRIG 64 - 6336 - - - conditionalshow - - - - - TimerStateFeedback - TON - 224 - 6400 - - - conditionalshow - - + 15648 - - ActGearInDyn - - - WriteGearRatio - PouType @@ -36189,13 +36854,13 @@ External Setpoint Generation: - FB_GantryAutoCoupling - 9472 + FB_HomeDirect + 7424 - nGantryTol - LINT - 64 - 64 + En + BOOL + 8 + 32 ItemType @@ -36204,46 +36869,46 @@ External Setpoint Generation: - bGantryAlreadyCoupled + bReset BOOL 8 - 128 + 40 ItemType - Output + Input - Master - ST_MotionStage - 32 - 160 + bExecute + BOOL + 8 + 48 ItemType - InOut + Input - MasterEnc - ST_RenishawAbsEnc - 32 - 192 + fHomePosition + LREAL + 64 + 64 ItemType - InOut + Input - Slave - ST_MotionStage + Axis + AXIS_REF 32 - 224 + 128 ItemType @@ -36252,123 +36917,98 @@ External Setpoint Generation: - SlaveEnc - ST_RenishawAbsEnc - 32 - 256 + EnO + BOOL + 8 + 160 ItemType - InOut + Output - bExecuteCouple - BOOL - 32 - 288 + bBusy + BOOL + 8 + 168 ItemType - InOut + Output - bExecuteDecouple - BOOL - 32 - 320 + bDone + BOOL + 8 + 176 ItemType - InOut + Output - gantry_diff_limit - FB_GantryDiffVirtualLimitSwitch - 512 - 384 - - - couple - MC_GearIn - 6656 - 896 - - - decouple - MC_GearOut - 1792 - 7552 - - - bInitComplete + bHomed BOOL 8 - 9344 - - - fbSetEnables - FB_SetEnables - 64 - 9376 - - - - PouType - FunctionBlock - - - - - FB_RunHOMS - 20416 - - nYupEncRef - ULINT - Encoder Reference Values - 64 - 64 + 184 ItemType - Input + Output - nYdwnEncRef - ULINT - 64 - 128 + bError + BOOL + 8 + 192 ItemType - Input + Output - nXupEncRef - ULINT - 64 - 192 + nErrorId + UDINT + 32 + 224 ItemType - Input + Output - nXdwnEncRef - ULINT - 64 + fbHome + MC_Home + 7168 256 + + + + PouType + FunctionBlock + + + + + FB_ReadParameterInNc_v1_00 + 1536 + + bExecute + BOOL + 8 + 32 ItemType @@ -36377,14 +37017,11 @@ External Setpoint Generation: - nGantryTolY - LINT - Encoder counts = nm - 64 - 320 - - 50000 - + nDeviceGroup + UDINT + 16#4000=Axisdata, 16#5000=Encoderdata, 16#6000=Controldata, 16#7000=Drivedata + 32 + 64 ItemType @@ -36393,14 +37030,10 @@ External Setpoint Generation: - nGantryTolX - LINT - Encoder counts = nm - 64 - 384 - - 50000 - + nIndexOffset + UDINT + 32 + 96 ItemType @@ -36409,11 +37042,10 @@ External Setpoint Generation: - bGantryAlreadyCoupledY - BOOL - Gantry coupling status - 8 - 448 + nData + DWORD + 32 + 128 ItemType @@ -36422,10 +37054,10 @@ External Setpoint Generation: - bGantryAlreadyCoupledX + bBusy BOOL 8 - 456 + 160 ItemType @@ -36434,11 +37066,10 @@ External Setpoint Generation: - nCurrGantryY - LINT - Current gantry difference - 64 - 512 + bDone + BOOL + 8 + 168 ItemType @@ -36447,10 +37078,10 @@ External Setpoint Generation: - nCurrGantryX - LINT - 64 - 576 + bError + BOOL + 8 + 176 ItemType @@ -36459,23 +37090,22 @@ External Setpoint Generation: - stYup - ST_MotionStage - Motor Structs + nErrorId + UDINT 32 - 640 + 192 ItemType - InOut + Output - stYdwn - ST_MotionStage + Axis + AXIS_REF 32 - 672 + 224 ItemType @@ -36484,59 +37114,68 @@ External Setpoint Generation: - stXup - ST_MotionStage - 32 - 704 - - - ItemType - InOut - - + nState + UINT + 16 + 256 - stXdwn - ST_MotionStage - 32 - 736 + fbADSREAD + ADSREAD + 1248 + 288 + + + + PouType + FunctionBlock + + + + + FB_HomeReadSoftLimEnable + 3264 + + En + BOOL + 8 + 32 ItemType - InOut + Input - stPitch - ST_MotionStage - 32 - 768 + bReset + BOOL + 8 + 40 ItemType - InOut + Input - bExecuteCoupleY - BOOL - Manual coupling Gantried Axes - 32 - 800 + bExecute + BOOL + 8 + 48 ItemType - InOut + Input - bExecuteCoupleX - BOOL + Axis + AXIS_REF 32 - 832 + 64 ItemType @@ -36545,115 +37184,106 @@ External Setpoint Generation: - bExecuteDecoupleY - BOOL - 32 - 864 + EnO + BOOL + 8 + 96 ItemType - InOut + Output - bExecuteDecoupleX - BOOL - 32 - 896 + bBusy + BOOL + 8 + 104 ItemType - InOut + Output - bSTOEnable1 + bDone BOOL - STO Button 8 - 928 + 112 - TcAddressType - Input + ItemType + Output - bSTOEnable2 + bError BOOL 8 - 936 + 120 - TcAddressType - Input + ItemType + Output - stYupEnc - ST_RenishawAbsEnc - Encoders - 128 - 960 + nErrorId + UDINT + 32 + 128 - TcAddressType - Input + ItemType + Output - stYdwnEnc - ST_RenishawAbsEnc - 128 - 1088 + bSofLimEnableLow + BOOL + 8 + 160 + + true + - TcAddressType - Input + ItemType + Output - stXupEnc - ST_RenishawAbsEnc - 128 - 1216 + bSofLimEnableHigh + BOOL + 8 + 168 + + true + - TcAddressType - Input + ItemType + Output - stXdwnEnc - ST_RenishawAbsEnc - 128 - 1344 - - - TcAddressType - Input - - - - - fbAutoCoupleY - FB_GantryAutoCoupling - Autocoupling Gantried Axes - 9472 - 1472 + fbReadSoftLimEnableLow + FB_ReadParameterInNc_v1_00 + 1536 + 192 - fbAutoCoupleX - FB_GantryAutoCoupling - 9472 - 10944 + fbReadSoftLimEnableHigh + FB_ReadParameterInNc_v1_00 + 1536 + 1728 @@ -36663,193 +37293,179 @@ External Setpoint Generation: - DUT_HOMS - 20672 - - fbRunHOMS - FB_RunHOMS - System initializiation - 20416 - 0 - + FB_HomeWriteSoftLimEnable + 3264 - bExecuteCoupleY + En BOOL - Couple/Decouple motors 8 - 20416 + 32 - pytmc - - pv: COUPLE_Y - io: o - + ItemType + Input - bExecuteDecoupleY + bReset BOOL 8 - 20424 + 40 - pytmc - - pv: DECOUPLE_Y - io: o - + ItemType + Input - bExecuteCoupleX + bExecute BOOL 8 - 20432 + 48 - pytmc - - pv: COUPLE_X - io: o - + ItemType + Input - bExecuteDecoupleX + bSofLimEnableLow BOOL 8 - 20440 + 56 + + true + - pytmc - - pv: DECOUPLE_X - io: o - + ItemType + Input - bGantryAlreadyCoupledY + bSofLimEnableHigh BOOL - Coupling status 8 - 20448 + 64 + + true + - pytmc - - pv: ALREADY_COUPLED_Y - io: i - field: ZSV MAJOR - + ItemType + Input - bGantryAlreadyCoupledX - BOOL - 8 - 20456 + Axis + AXIS_REF + 32 + 96 - pytmc - - pv: ALREADY_COUPLED_X - io: i - field: ZSV MAJOR - + ItemType + InOut - nCurrGantryY - LINT - encoder counts = nm - 64 - 20480 - - - nCurrGantryX - LINT - encoder counts = nm - 64 - 20544 + EnO + BOOL + 8 + 128 + + + ItemType + Output + + - fCurrGantryY_um - REAL - Y Gantry difference in um - 32 - 20608 + bBusy + BOOL + 8 + 136 - pytmc - - pv: GANTRY_Y - field: EGU um - io: i - + ItemType + Output - fCurrGantryX_um - REAL - X Gantry difference in um - 32 - 20640 + bDone + BOOL + 8 + 144 - pytmc - - pv: GANTRY_X - field: EGU um - io: i - + ItemType + Output - - - FB_DataBuffer - 288 - bExecute + bError BOOL - Whether or not to accumulate on this cycle 8 - 32 + 152 ItemType - Input + Output - pInputAdr - PVOID - Address of the value to accumulate + nErrorId + UDINT 32 - 64 + 160 ItemType - Input + Output - iInputSize - UDINT - Size of the accumulated value - 32 - 96 + 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 @@ -36858,11 +37474,11 @@ External Setpoint Generation: - iElemCount + nDeviceGroup UDINT - Number of values in the output array + 16#4000=Axisdata, 16#5000=Encoderdata, 16#6000=Controldata, 16#7000=Drivedata 32 - 128 + 64 ItemType @@ -36871,11 +37487,10 @@ External Setpoint Generation: - pPartialAdr - PVOID - Address of the rolling buffer to be filled every cycle + nIndexOffset + UDINT 32 - 160 + 96 ItemType @@ -36884,24 +37499,22 @@ External Setpoint Generation: - pOutputAdr - PVOID - Address of the output buffer to be filled when the rolling buffer is full - 32 - 192 + nData + LREAL + 64 + 128 ItemType - Input + Output - bNewArray + bBusy BOOL - Set to TRUE on the cycle that we copy the output array 8 - 224 + 192 ItemType @@ -36910,59 +37523,34 @@ External Setpoint Generation: - iArrayIndex - UDINT - 32 - 256 - - 0 - - - - - PouType - FunctionBlock - - - - - FB_LREALBuffer - 128512 - - bExecute + bDone BOOL - If TRUE, we'll accumulate a value on this cycle. 8 - 32 + 200 ItemType - Input + Output - fInput - LREAL - The value to accumulate. - 64 - 64 + bError + BOOL + 8 + 208 ItemType - Input + Output - arrOutput - LREAL - - 1 - 1000 - - 64000 - 128 + nErrorId + UDINT + 32 + 224 ItemType @@ -36971,32 +37559,28 @@ External Setpoint Generation: - bNewArray - BOOL - 8 - 64128 + Axis + AXIS_REF + 32 + 256 ItemType - Output + InOut - arrPartial - LREAL - - 1 - 1000 - - 64000 - 64192 + nState + UINT + 16 + 288 - fbDataBuffer - FB_DataBuffer - 288 - 128192 + fbADSREAD + ADSREAD + 1248 + 320 @@ -37006,287 +37590,151 @@ External Setpoint Generation: - FB_BasicStats - 1024 + FB_HomeReadNcVelocities + 3520 - aSignal - LREAL - Input array of floats - 32 + En + BOOL + 8 32 ItemType Input - - pytmc - - pv: STATS:DATA - io: i - - - - variable_length_array - - - Dimensions - 1 - - bAlwaysCalc + bReset BOOL - If TRUE, we will update the results every cycle 8 - 64 + 40 ItemType Input - - pytmc - pv: STATS:ALWAYS_CALC - bExecute BOOL - On rising edge, do one calculation 8 - 72 + 48 ItemType Input - - pytmc - pv: STATS:EXECUTE - - bReset - BOOL - If set to TRUE, reset outputs - 8 - 80 + Axis + AXIS_REF + 32 + 64 ItemType - Input - - - pytmc - pv: STATS:RESET + InOut - nElems - UDINT - If nonzero, we will only pay attention to the first nElems items in aSignal - 32 + EnO + BOOL + 8 96 ItemType - Input - - - pytmc - - pv: STATS:NELM - io: i - + Output - fMean - LREAL - Average of all values in the array - 64 - 128 + bBusy + BOOL + 8 + 104 ItemType Output - - pytmc - - pv: STATS:MEAN - io: i - - - fStDev - LREAL - Standard deviation of all values in the array - 64 - 192 + bDone + BOOL + 8 + 112 ItemType Output - - pytmc - - pv: STATS:STDEV - io: i - - - fMax - LREAL - Largest value in the array - 64 - 256 + bError + BOOL + 8 + 120 ItemType Output - - pytmc - - pv: STATS:MAX - io: i - - - fMin - LREAL - Smallest value in the array - 64 - 320 + nErrorId + UDINT + 32 + 128 ItemType Output - - pytmc - - pv: STATS:MIN - io: i - - - fRange + fVelocityToCam LREAL - Largest array element subtracted by the smallest 64 - 384 + 192 ItemType Output - - pytmc - - pv: STATS:RANGE - io: i - - - fRMS + fVelocityFromCam LREAL - RMS of all values in the array 64 - 448 + 256 ItemType Output - - pytmc - - pv: STATS:RMS - io: i - - - bValid - BOOL - True if the other outputs are valid - 8 - 512 - - - ItemType - Output - - - pytmc - - pv: STATS:VALID - io: i - - - - - - rTrig - R_TRIG - 64 - 544 - - - nIndex - DINT - 32 - 608 - - - nElemsSeen - UDINT - 32 - 640 - - - fSum - LREAL - 64 - 704 - - - fRMSSum - LREAL - 64 - 768 - - - fVarianceSum - LREAL - 64 - 832 + fbReadVelocityToCam + FB_ReadFloatParameter + 1600 + 320 - fVarianceMean - LREAL - 64 - 896 + fbReadVelocityFromCam + FB_ReadFloatParameter + 1600 + 1920 @@ -37296,235 +37744,245 @@ External Setpoint Generation: - FB_RMSWatch - 387008 + FB_HomePrepare + 17728 - fMaxRMSError - LREAL - RMS Error - 64 - 64 - - 0 - + En + BOOL + 8 + 32 ItemType - Output + Input - fMinRMSError - LREAL - start at something huge, FB will update with any smaller measured value - 64 - 128 - - 1000 - + bReset + BOOL + 8 + 40 ItemType - Output + Input - stMotionStage - ST_MotionStage - 32 - 192 + bExecute + BOOL + 8 + 48 ItemType - InOut + Input - fEncScalingNum - LREAL - 64 - 256 - - 1 - + nCmdData + UINT + 16 + 64 + + + ItemType + Input + + - fEncScalingDenom - LREAL - 64 - 320 - - 1 - + Axis + AXIS_REF + 32 + 96 + + + ItemType + InOut + + - fEncOffset - LREAL - 64 - 384 - - 0 - + EnO + BOOL + 8 + 128 + + + ItemType + Output + + - fEncScale - LREAL - 64 - 448 - - 1 - + bBusy + BOOL + 8 + 136 + + + ItemType + Output + + - fbDataEncPos - FB_LREALBuffer - ActPos Data Acquisition FB - 128512 - 512 + bDone + BOOL + 8 + 144 + + + ItemType + Output + + - fbDataSetPos - FB_LREALBuffer - SetPos Data Acquisition FB - 128512 - 129024 + bError + BOOL + 8 + 152 + + + ItemType + Output + + - bExecuteDataStorage + nErrorId + UDINT + 32 + 160 + + + ItemType + Output + + + + + bSofLimEnableLowOriginal BOOL - Take data of both ActPos and SetPos 8 - 257536 + 192 true + + + ItemType + Output + + - bNewEncArray + bSofLimEnableHighOriginal BOOL 8 - 257544 - - - fbStats - FB_BasicStats - Calculate mean/standard deviation of ActPos - 1024 - 257600 - - - fEncMean - LREAL - 64 - 258624 + 200 + + true + - pytmc - - pv: MEAN - io: i - + ItemType + Output - fEncStDev + fVelocityToCam LREAL 64 - 258688 + 256 + + 0 + - pytmc - - pv: STDEV - io: i - + ItemType + Output - fCurrRMSError + fVelocityFromCam LREAL 64 - 258752 + 320 0 - pytmc - - pv: RMS - io: i - + ItemType + Output - nIndex - DINT - 32 - 258816 + fbHomeReadSoftLimEnable + FB_HomeReadSoftLimEnable + 3264 + 384 - fSum - LREAL - Just for calculating rms - 64 - 258880 - - 0 - + fbHomeDisableSoftLimEnable + FB_HomeWriteSoftLimEnable + 3264 + 3648 - fDiff - LREAL + fbHomeReadNCVelocities + FB_HomeReadNcVelocities + 3520 + 6912 + + + fbHomeResetCalibrationFlag + MC_Home + Only used for reset of calibration flag + 7168 + 10432 + + + fbExecuteRiseEdge + R_TRIG 64 - 258944 + 17600 + + + bExecuteReadNC + BOOL + 8 + 17664 - 0 + false - aEncActPos - LREAL - - 1 - 1000 - - 64000 - 259008 - - - pytmc - - pv: ACTPOSARRAY - io: i - - - + bExecuteWriteNC + BOOL + 8 + 17672 + + false + - aEncSetPos - LREAL - - 1 - 1000 - - 64000 - 323008 - - - pytmc - - pv: SETPOSARRAY - io: i - - - + nState + INT + 16 + 17680 + + 0 + @@ -37534,45 +37992,37 @@ External Setpoint Generation: - 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 + FB_HomeFinish + 3552 - LowerLimit - INT - Incrementer will rollver over to this value (and initialize to this value) - 16 + En + BOOL + 8 32 - - 1 - ItemType Input + + + + bReset + BOOL + 8 + 40 + - naming - off + ItemType + Input - ValInc - INT - Incrementer increments by this value - 16 + bExecute + BOOL + 8 48 - - 1 - ItemType @@ -37581,14 +38031,10 @@ Use this thing to have a simple indexer with rollover. - UpperLimit - INT - Incrementer will rollover at this value to lower limit + nCmdData + UINT 16 64 - - 1 - ItemType @@ -37597,145 +38043,164 @@ Use this thing to have a simple indexer with rollover. - nVal - INT - Internal incrementer value, initialized to LowerLimit - 16 + bSofLimEnableLow + BOOL + 8 80 - 1 + true - naming - off + ItemType + Input - - Dec - - - Inc - - - DecVal - Decrement the counter and return new value - INT - 16 - - - IncVal - Increment the counter and return new value - INT - 16 - - - - PouType - FunctionBlock - - - - - ST_FbDiagnostics - Stuff to log messages within function blocks - 48896 - - asResults - T_MaxString - - 1 - 20 - - Diagnostic messages, use to record state changes or other important events. - 40960 - 0 - - resultIdx - FB_Index - Incrementer, included here to facilitate using asResults - 96 - 40960 + bSofLimEnableHigh + BOOL + 8 + 88 - - .LowerLimit - 1 - - - .UpperLimit - 20 - + true - naming - omit + ItemType + Input - fString - FB_FormatString - Use to create good log messages, similar to C++ fstring - 7840 - 41056 + Axis + AXIS_REF + 32 + 96 - naming - omit + ItemType + InOut - - - E_MotionRequest - 16 - INT - - WAIT - 0 - - - INTERRUPT - 1 - - - ABORT - 2 - + + 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 + + - qualified_only - - - strict + PouType + FunctionBlock - FB_MotionRequest - 1600 + FB_HomeVirtual + 53760 - stMotionStage - ST_MotionStage - Motor to move - 32 + En + BOOL + 8 32 ItemType - InOut + Input - bExecute + bReset BOOL - Start move on rising edge, stop move on falling edge 8 - 64 + 40 ItemType @@ -37744,11 +38209,10 @@ Use this thing to have a simple indexer with rollover. - bReset + bExecute BOOL - Reset errors on rising edge 8 - 72 + 48 ItemType @@ -37757,14 +38221,22 @@ Use this thing to have a simple indexer with rollover. - enumMotionRequest - E_MotionRequest - Define behavior for when the motor is already moving + nCmdData + UINT 16 + 64 + + + ItemType + Input + + + + + bLimitFwd + BOOL + 8 80 - - E_MotionRequest.WAIT - ItemType @@ -37773,11 +38245,10 @@ Use this thing to have a simple indexer with rollover. - fPos - LREAL - Goal position - 64 - 128 + bLimitBwd + BOOL + 8 + 88 ItemType @@ -37786,11 +38257,10 @@ Use this thing to have a simple indexer with rollover. - fVel - LREAL - Move velocity - 64 - 192 + bHomeSensor + BOOL + 8 + 96 ItemType @@ -37799,11 +38269,10 @@ Use this thing to have a simple indexer with rollover. - fAcc + fHomePosition LREAL - Optional acceleration 64 - 256 + 128 ItemType @@ -37812,11 +38281,10 @@ Use this thing to have a simple indexer with rollover. - fDec - LREAL - Optional deceleration - 64 - 320 + nHomeRevOffset + UINT + 16 + 192 ItemType @@ -37825,11 +38293,22 @@ Use this thing to have a simple indexer with rollover. - bError + Axis + AXIS_REF + 32 + 224 + + + ItemType + InOut + + + + + EnO BOOL - True if in error state 8 - 384 + 256 ItemType @@ -37838,11 +38317,10 @@ Use this thing to have a simple indexer with rollover. - nErrorId - UDINT - Error code - 32 - 416 + bBusy + BOOL + 8 + 264 ItemType @@ -37851,11 +38329,10 @@ Use this thing to have a simple indexer with rollover. - sErrorMessage - STRING(80) - What the error code means - 648 - 448 + bDone + BOOL + 8 + 272 ItemType @@ -37864,11 +38341,10 @@ Use this thing to have a simple indexer with rollover. - bBusy + bHomed BOOL - If TRUE, we are moving the motor 8 - 1096 + 280 ItemType @@ -37877,11 +38353,10 @@ Use this thing to have a simple indexer with rollover. - bDone + bError BOOL - If TRUE, we are not moving the motor and our most recent move was successful 8 - 1104 + 288 ItemType @@ -37890,138 +38365,128 @@ Use this thing to have a simple indexer with rollover. - rtExec - R_TRIG - 64 - 1120 + nErrorId + UDINT + 32 + 320 + + + ItemType + Output + + - ftExec - F_TRIG - 64 - 1184 + fbHomeToSwitch + FB_HomeToSwitch + 15744 + 384 - rtReset - R_TRIG - 64 - 1248 + fbHomeDirect + FB_HomeDirect + Only used for direct homing (set of position) + 7424 + 16128 - ftBusy - F_TRIG - 64 - 1312 + fbMoveVelocity + MC_MoveVelocity + 8768 + 23552 - nState - UINT - 16 - 1376 - - 0 - + fbHomePrepare + FB_HomePrepare + 17728 + 32320 - bMyMove - BOOL - 8 - 1392 + fbHomeFinish + FB_HomeFinish + 3552 + 50048 - bCausedError - BOOL - 8 - 1400 + fbExecuteRiseEdge + R_TRIG + 64 + 53600 - INIT - UINT + nHomingState + INT 16 - 1408 + 53664 0 - WAIT_EXEC - UINT - 16 - 1424 - - 1 - - - - PICK_REQUEST - UINT - 16 - 1440 + bExecuteHomeToSwitch + BOOL + 8 + 53680 - 2 + false - WAIT_OTHER_MOVE - UINT - 16 - 1456 + bExecuteMoveVelocity + BOOL + 8 + 53688 - 3 + false - STOP_OTHER_MOVE - UINT - 16 - 1472 + bExecutePrepare + BOOL + 8 + 53696 - 4 + false - START_MOVE - UINT - 16 - 1488 + bExecuteFinish + BOOL + 8 + 53704 - 5 + false - WAIT_MY_MOVE - UINT - 16 - 1504 - - 6 - + bExecuteHomeDirect + BOOL + 8 + 53712 - STOP_MY_MOVE + nCmdDataLocal UINT + Ensure that nCmdData is not changed during sequence 16 - 1520 - - 7 - + 53728 - DONE_MOVING - UINT - 16 - 1536 + bSequenceReady + BOOL + 8 + 53744 - 8 + true - ERROR - UINT - 16 - 1552 + bRestoreNCDataNeeded + BOOL + 8 + 53752 - 9 + false @@ -38032,295 +38497,4607 @@ Use this thing to have a simple indexer with rollover. - ENUM_MotionRequest - 16 - E_MotionRequest + 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 + - obsolete - Use E_MotionRequest + conditionalshow - E_PiezoControl - 16 - INT - - EPC_Idle - 0 - Piezo Control Machine - - - EPC_Init - 10 - - - EPC_MoveRequested - 50 - - - EPC_MovingPositive - 100 - - - EPC_MovingNegative - 200 - - - EPC_MoveCompleted - 350 - - - EPC_Error - 500 - - - - E_CTRL_MODE - 16 - INT - - eCTRL_MODE_IDLE - 0 - mode idle - - - eCTRL_MODE_PASSIVE - 1 - mode passive - - - eCTRL_MODE_ACTIVE - 2 - mode active - - - eCTRL_MODE_RESET - 3 - mode reset - - - eCTRL_MODE_MANUAL - 4 - mode manual - - - eCTRL_MODE_TUNE - 5 - mode tuning - - - eCTRL_MODE_SELFTEST - 6 - mode selftest - - - eCTRL_MODE_SYNC_MOVEMENT - 7 - mode synchronize - - - eCTRL_MODE_FREEZE - 8 - mode freeze - + 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 + + - E_CTRL_STATE - 16 - INT - - eCTRL_STATE_IDLE - 0 - state idle - - - eCTRL_STATE_PASSIVE - 1 - state passive - - - eCTRL_STATE_ACTIVE - 2 - state active - - - eCTRL_STATE_RESET - 3 - state reset - - - eCTRL_STATE_MANUAL - 4 - state manual - - - eCTRL_STATE_TUNING - 5 - state tuning - - - eCTRL_STATE_TUNED - 6 - state tuning ready - tuned - - - eCTRL_STATE_SELFTEST - 7 - state selftest - - - eCTRL_STATE_ERROR - 8 - state error - - - eCTRL_STATE_SYNC_MOVEMENT - 9 - state synchronizing movement - - - eCTRL_STATE_FREEZE - 10 - state freeze - + ST_GearOutOptions + 8 + + reserved + BOOL + 8 + 0 + + + conditionalshow + + + - E_CTRL_ERRORCODES - 16 - INT - - eCTRL_ERROR_NOERROR - 0 - no error - - - eCTRL_ERROR_INVALIDTASKCYCLETIME - 1 - invalid task cycle time - - - eCTRL_ERROR_INVALIDCTRLCYCLETIME - 2 - invalid ctrl cycle time - - - eCTRL_ERROR_INVALIDPARAM - 3 - invalid parameter - - - eCTRL_ERROR_INVALIDPARAM_Tv - 4 - invalid parameter - - - eCTRL_ERROR_INVALIDPARAM_Td - 5 - invalid parameter - - - eCTRL_ERROR_INVALIDPARAM_Tn - 6 - invalid parameter - - - eCTRL_ERROR_INVALIDPARAM_Ti - 7 - invalid parameter - - - eCTRL_ERROR_INVALIDPARAM_fHystereisisRange - 8 - invalid parameter - - - eCTRL_ERROR_INVALIDPARAM_fPosOutOn_Off - 9 - invalid parameter - - - eCTRL_ERROR_INVALIDPARAM_fNegOutOn_Off - 10 - invalid parameter - - - eCTRL_ERROR_INVALIDPARAM_TableDescription - 11 - invalid parameter - - - eCTRL_ERROR_INVALIDPARAM_TableData - 12 - invalid parameter - - - eCTRL_ERROR_INVALIDPARAM_DataTableADR - 13 - invalid parameter - - - eCTRL_ERROR_INVALIDPARAM_T0 - 14 - invalid parameter - - - eCTRL_ERROR_INVALIDPARAM_T1 - 15 - invalid parameter - - - eCTRL_ERROR_INVALIDPARAM_T2 - 16 - invalid parameter - - - eCTRL_ERROR_INVALIDPARAM_T3 - 17 - invalid parameter - - - eCTRL_ERROR_INVALIDPARAM_Theta - 18 - invalid parameter - - - eCTRL_ERROR_INVALIDPARAM_nOrder - 19 - invalid parameter - - - eCTRL_ERROR_INVALIDPARAM_Tt - 20 - invalid parameter - - - eCTRL_ERROR_INVALIDPARAM_Tu - 21 - invalid parameter - - - eCTRL_ERROR_INVALIDPARAM_Tg - 22 - invalid parameter - - - eCTRL_ERROR_INVALIDPARAM_infinite_slope - 23 - invalid parameter - - - eCTRL_ERROR_INVALIDPARAM_fMaxIsLessThanfMin - 24 - invalid parameter - - - eCTRL_ERROR_INVALIDPARAM_fOutMaxLimitIsLessThanfOutMinLimit - 25 - invalid parameter - - + 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 + 163456 + + 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 + 9088 + 1344 + + + ItemType + Input + + + + + bPowerSelf + BOOL + 8 + 10432 + + + ItemType + Input + + + + + EnO + BOOL + 8 + 10440 + + + ItemType + Output + + + + + bEnabled + BOOL + 8 + 10448 + + + ItemType + Output + + + + + bBusy + BOOL + 8 + 10456 + + + ItemType + Output + + + + + bDone + BOOL + 8 + 10464 + + + ItemType + Output + + + + + bError + BOOL + 8 + 10472 + + + ItemType + Output + + + + + bHomed + BOOL + 8 + 10480 + + + ItemType + Output + + + + + nErrorId + UDINT + 32 + 10496 + + + ItemType + Output + + + + + nMotionAxisID + UDINT + Axis id in Motion (NC) + 32 + 10528 + + 0 + + + + ItemType + Output + + + + + Status + ST_AxisStatus + 768 + 10560 + + + ItemType + Output + + + + + fActVelocity + LREAL + 64 + 11328 + + + ItemType + Output + + + + + fActPosition + LREAL + 64 + 11392 + + + ItemType + Output + + + + + fActDiff + LREAL + 64 + 11456 + + + ItemType + Output + + + + + sErrorMessage + STRING(80) + 648 + 11520 + + + ItemType + Output + + + + + Axis + AXIS_REF + 32 + 12192 + + + ItemType + InOut + + + + + nCommandLocal + UINT + 16 + 12224 + + + nCmdDataLocal + UINT + 16 + 12240 + + + bFirstScan + BOOL + 8 + 12256 + + true + + + + fbReset + MC_Reset + 1632 + 12288 + + + fbPower + MC_Power + 768 + 13952 + + + fbHalt + MC_Halt + 8640 + 14720 + + + fbJog + MC_Jog + 44352 + 23360 + + + fbMoveVelocity + MC_MoveVelocity + 8768 + 67712 + + + fbMoveRelative + MC_MoveRelative + 8832 + 76480 + + + fbMoveAbsolute + MC_MoveAbsolute + 8832 + 85312 + + + fbMoveModulo + MC_MoveModulo + 8896 + 94144 + + + fbHomeVirtual + FB_HomeVirtual + 53760 + 103040 + + + fbGearInDyn + MC_GearInDyn + 4032 + 156800 + + + fbGearOut + MC_GearOut + 1792 + 160832 + + + fbExecuteRiseEdge + R_TRIG + 64 + 162624 + + + stAxisStatus + DUT_AxisStatus_v0_01 + 768 + 162688 + + + + PouType + FunctionBlock + + + + + FB_MotionHoming + 46976 + + 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 + 44352 + 2112 + + + rtExec + R_TRIG + 64 + 46464 + + + ftExec + F_TRIG + 64 + 46528 + + + nHomeStateMachine + INT + 16 + 46592 + + 0 + + + + nStateAfterStop + INT + 16 + 46608 + + + nMoves + INT + 16 + 46624 + + + bFirstDirection + BOOL + 8 + 46640 + + + bAtHome + BOOL + 8 + 46648 + + + bMove + BOOL + 8 + 46656 + + + nErrCount + INT + 16 + 46672 + + + bInterrupted + BOOL + 8 + 46688 + + + IDLE + INT + 16 + 46704 + + 0 + + + + NEXT_MOVE + INT + 16 + 46720 + + 1 + + + + CHECK_FWD + INT + 16 + 46736 + + 2 + + + + CHECK_BWD + INT + 16 + 46752 + + 3 + + + + FINAL_MOVE + INT + 16 + 46768 + + 4 + + + + FINAL_SETPOS + INT + 16 + 46784 + + 5 + + + + ERROR + INT + 16 + 46800 + + 6 + + + + WAIT_STOP + INT + 16 + 46816 + + 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 + 46848 + + -99999999 + + + + BWD_START + LREAL + 64 + 46912 + + 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 + + + + 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 + 299392 + + stMotionStage + ST_MotionStage + 32 + 32 + + + ItemType + InOut + + + + + fbDriveVirtual + FB_DriveVirtual + 163456 + 64 + + + fbMotionHome + FB_MotionHoming + 46976 + 163520 + + + fbSaveRestore + FB_EncSaveRestore + 2880 + 210496 + + + fbLogError + FB_LogMotionError + 83136 + 213376 + + + bExecute + BOOL + 8 + 296512 + + + bExecMove + BOOL + 8 + 296520 + + + bExecHome + BOOL + 8 + 296528 + + + bFwdHit + BOOL + 8 + 296536 + + + bBwdHit + BOOL + 8 + 296544 + + + ftExec + F_TRIG + 64 + 296576 + + + rtExec + R_TRIG + 64 + 296640 + + + rtUserExec + R_TRIG + 64 + 296704 + + + rtTarget + R_TRIG + 64 + 296768 + + + rtHomed + R_TRIG + 64 + 296832 + + + fbSetEnables + FB_SetEnables + 64 + 296896 + + + bPosGoal + BOOL + 8 + 296960 + + + bNegGoal + BOOL + 8 + 296968 + + + fbEncoderValue + FB_EncoderValue + 64 + 296992 + + + fbNCParams + FB_MotionStageNCParams + 2112 + 297088 + + + bNewMoveReq + BOOL + 8 + 299200 + + + bPrepareDisable + BOOL + 8 + 299208 + + + bMoveCmd + BOOL + 8 + 299216 + + + rtMoveCmdShortcut + R_TRIG + 64 + 299232 + + + rtHomeCmdShortcut + R_TRIG + 64 + 299296 + + + + 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 + 1024 + + 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 + + + + + + fRMS + LREAL + RMS of all values in the array + 64 + 448 + + + ItemType + Output + + + pytmc + + pv: STATS:RMS + io: i + + + + + + bValid + BOOL + True if the other outputs are valid + 8 + 512 + + + ItemType + Output + + + pytmc + + pv: STATS:VALID + io: i + + + + + + rTrig + R_TRIG + 64 + 544 + + + nIndex + DINT + 32 + 608 + + + nElemsSeen + UDINT + 32 + 640 + + + fSum + LREAL + 64 + 704 + + + fRMSSum + LREAL + 64 + 768 + + + fVarianceSum + LREAL + 64 + 832 + + + fVarianceMean + LREAL + 64 + 896 + + + + PouType + FunctionBlock + + + + + FB_RMSWatch + 387008 + + 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 + 1024 + 257600 + + + fEncMean + LREAL + 64 + 258624 + + + pytmc + + pv: MEAN + io: i + + + + + + fEncStDev + LREAL + 64 + 258688 + + + pytmc + + pv: STDEV + io: i + + + + + + fCurrRMSError + LREAL + 64 + 258752 + + 0 + + + + pytmc + + pv: RMS + io: i + + + + + + nIndex + DINT + 32 + 258816 + + + fSum + LREAL + Just for calculating rms + 64 + 258880 + + 0 + + + + fDiff + LREAL + 64 + 258944 + + 0 + + + + aEncActPos + LREAL + + 1 + 1000 + + 64000 + 259008 + + + pytmc + + pv: ACTPOSARRAY + io: i + + + + + + aEncSetPos + LREAL + + 1 + 1000 + + 64000 + 323008 + + + pytmc + + pv: SETPOSARRAY + io: i + + + + + + + PouType + FunctionBlock + + + + + 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 + + + + + ValInc + INT + Incrementer increments by this value + 16 + 48 + + 1 + + + + ItemType + Input + + + + + UpperLimit + INT + Incrementer will rollover at this value to lower limit + 16 + 64 + + 1 + + + + ItemType + Input + + + + + nVal + INT + Internal incrementer value, initialized to LowerLimit + 16 + 80 + + 1 + + + + naming + off + + + + + Dec + + + Inc + + + DecVal + Decrement the counter and return new value + INT + 16 + + + IncVal + Increment the counter and return new value + INT + 16 + + + + PouType + FunctionBlock + + + + + ST_FbDiagnostics + Stuff to log messages within function blocks + 48896 + + asResults + T_MaxString + + 1 + 20 + + Diagnostic messages, use to record state changes or other important events. + 40960 + 0 + + + resultIdx + FB_Index + Incrementer, included here to facilitate using asResults + 96 + 40960 + + + .LowerLimit + 1 + + + .UpperLimit + 20 + + + + + naming + omit + + + + + fString + FB_FormatString + Use to create good log messages, similar to C++ fstring + 7840 + 41056 + + + naming + omit + + + + + + 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 + + E_MotionRequest.WAIT + + + + ItemType + Input + + + + + fPos + LREAL + Goal position + 64 + 128 + + + ItemType + Input + + + + + fVel + LREAL + Move velocity + 64 + 192 + + + ItemType + Input + + + + + fAcc + LREAL + Optional acceleration + 64 + 256 + + + ItemType + Input + + + + + fDec + LREAL + Optional deceleration + 64 + 320 + + + ItemType + Input + + + + + bError + BOOL + True if in error state + 8 + 384 + + + ItemType + Output + + + + + nErrorId + UDINT + Error code + 32 + 416 + + + ItemType + Output + + + + + sErrorMessage + STRING(80) + What the error code means + 648 + 448 + + + ItemType + Output + + + + + bBusy + BOOL + If TRUE, we are moving the motor + 8 + 1096 + + + ItemType + Output + + + + + bDone + BOOL + If TRUE, we are not moving the motor and our most recent move was successful + 8 + 1104 + + + ItemType + Output + + + + + rtExec + R_TRIG + 64 + 1120 + + + ftExec + F_TRIG + 64 + 1184 + + + rtReset + R_TRIG + 64 + 1248 + + + ftBusy + F_TRIG + 64 + 1312 + + + nState + UINT + 16 + 1376 + + 0 + + + + bMyMove + BOOL + 8 + 1392 + + + bCausedError + BOOL + 8 + 1400 + + + INIT + UINT + 16 + 1408 + + 0 + + + + WAIT_EXEC + UINT + 16 + 1424 + + 1 + + + + PICK_REQUEST + UINT + 16 + 1440 + + 2 + + + + WAIT_OTHER_MOVE + UINT + 16 + 1456 + + 3 + + + + STOP_OTHER_MOVE + UINT + 16 + 1472 + + 4 + + + + START_MOVE + UINT + 16 + 1488 + + 5 + + + + WAIT_MY_MOVE + UINT + 16 + 1504 + + 6 + + + + STOP_MY_MOVE + UINT + 16 + 1520 + + 7 + + + + DONE_MOVING + UINT + 16 + 1536 + + 8 + + + + ERROR + UINT + 16 + 1552 + + 9 + + + + + PouType + FunctionBlock + + + + + ENUM_MotionRequest + 16 + E_MotionRequest + + + obsolete + Use E_MotionRequest + + + + + E_PiezoControl + 16 + INT + + EPC_Idle + 0 + Piezo Control Machine + + + EPC_Init + 10 + + + EPC_MoveRequested + 50 + + + EPC_MovingPositive + 100 + + + EPC_MovingNegative + 200 + + + EPC_MoveCompleted + 350 + + + EPC_Error + 500 + + + + E_CTRL_MODE + 16 + INT + + eCTRL_MODE_IDLE + 0 + mode idle + + + eCTRL_MODE_PASSIVE + 1 + mode passive + + + eCTRL_MODE_ACTIVE + 2 + mode active + + + eCTRL_MODE_RESET + 3 + mode reset + + + eCTRL_MODE_MANUAL + 4 + mode manual + + + eCTRL_MODE_TUNE + 5 + mode tuning + + + eCTRL_MODE_SELFTEST + 6 + mode selftest + + + eCTRL_MODE_SYNC_MOVEMENT + 7 + mode synchronize + + + eCTRL_MODE_FREEZE + 8 + mode freeze + + + + E_CTRL_STATE + 16 + INT + + eCTRL_STATE_IDLE + 0 + state idle + + + eCTRL_STATE_PASSIVE + 1 + state passive + + + eCTRL_STATE_ACTIVE + 2 + state active + + + eCTRL_STATE_RESET + 3 + state reset + + + eCTRL_STATE_MANUAL + 4 + state manual + + + eCTRL_STATE_TUNING + 5 + state tuning + + + eCTRL_STATE_TUNED + 6 + state tuning ready - tuned + + + eCTRL_STATE_SELFTEST + 7 + state selftest + + + eCTRL_STATE_ERROR + 8 + state error + + + eCTRL_STATE_SYNC_MOVEMENT + 9 + state synchronizing movement + + + eCTRL_STATE_FREEZE + 10 + state freeze + + + + E_CTRL_ERRORCODES + 16 + INT + + eCTRL_ERROR_NOERROR + 0 + no error + + + eCTRL_ERROR_INVALIDTASKCYCLETIME + 1 + invalid task cycle time + + + eCTRL_ERROR_INVALIDCTRLCYCLETIME + 2 + invalid ctrl cycle time + + + eCTRL_ERROR_INVALIDPARAM + 3 + invalid parameter + + + eCTRL_ERROR_INVALIDPARAM_Tv + 4 + invalid parameter + + + eCTRL_ERROR_INVALIDPARAM_Td + 5 + invalid parameter + + + eCTRL_ERROR_INVALIDPARAM_Tn + 6 + invalid parameter + + + eCTRL_ERROR_INVALIDPARAM_Ti + 7 + invalid parameter + + + eCTRL_ERROR_INVALIDPARAM_fHystereisisRange + 8 + invalid parameter + + + eCTRL_ERROR_INVALIDPARAM_fPosOutOn_Off + 9 + invalid parameter + + + eCTRL_ERROR_INVALIDPARAM_fNegOutOn_Off + 10 + invalid parameter + + + eCTRL_ERROR_INVALIDPARAM_TableDescription + 11 + invalid parameter + + + eCTRL_ERROR_INVALIDPARAM_TableData + 12 + invalid parameter + + + eCTRL_ERROR_INVALIDPARAM_DataTableADR + 13 + invalid parameter + + + eCTRL_ERROR_INVALIDPARAM_T0 + 14 + invalid parameter + + + eCTRL_ERROR_INVALIDPARAM_T1 + 15 + invalid parameter + + + eCTRL_ERROR_INVALIDPARAM_T2 + 16 + invalid parameter + + + eCTRL_ERROR_INVALIDPARAM_T3 + 17 + invalid parameter + + + eCTRL_ERROR_INVALIDPARAM_Theta + 18 + invalid parameter + + + eCTRL_ERROR_INVALIDPARAM_nOrder + 19 + invalid parameter + + + eCTRL_ERROR_INVALIDPARAM_Tt + 20 + invalid parameter + + + eCTRL_ERROR_INVALIDPARAM_Tu + 21 + invalid parameter + + + eCTRL_ERROR_INVALIDPARAM_Tg + 22 + invalid parameter + + + eCTRL_ERROR_INVALIDPARAM_infinite_slope + 23 + invalid parameter + + + eCTRL_ERROR_INVALIDPARAM_fMaxIsLessThanfMin + 24 + invalid parameter + + + eCTRL_ERROR_INVALIDPARAM_fOutMaxLimitIsLessThanfOutMinLimit + 25 + invalid parameter + + eCTRL_ERROR_INVALIDPARAM_fOuterWindow 26 invalid parameter @@ -38876,1925 +43653,15885 @@ Use this thing to have a simple indexer with rollover. invalid parameter - eCTRL_ERROR_INVALIDPARAM_nNumeratorArray_ADR - 138 - invalid parameter + eCTRL_ERROR_INVALIDPARAM_nNumeratorArray_ADR + 138 + invalid parameter + + + eCTRL_ERROR_INVALIDPARAM_nDenominatorArray_ADR + 139 + invalid parameter + + + eCTRL_ERROR_INVALIDPARAM_nTransferfunction1Data_ADR + 140 + invalid parameter + + + eCTRL_ERROR_INVALIDPARAM_nTransferfunction2Data_ADR + 141 + invalid parameter + + + eCTRL_ERROR_FileSeek + 142 + internal error FB_FileSeek + + + eCTRL_ERROR_INVALIDPARAM_AmbientTempMaxIsLessThanAmbientTempMin + 143 + invalid parameter + + + eCTRL_ERROR_INVALIDPARAM_ForerunTempMaxIsLessThanForerunTempMin + 144 + invalid parameter + + + eCTRL_ERROR_INVALIDLOGCYCLETIME + 145 + invalid parameter + + + eCTRL_ERROR_INVALIDVERSION_TcControllerToolbox + 146 + + + eCTRL_ERROR_INVALIDPARAM_Bandwidth + 147 + invalid parameter + + + eCTRL_ERROR_INVALIDPARAM_NotchFrequency + 148 + invalid parameter + + + eCTRL_ERROR_INVALIDPARAM_DampingCoefficient + 149 + invalid parameter + + + eCTRL_ERROR_INVALIDPARAM_fKpIsLessThanZero + 150 + invalid parameter + + + eCTRL_ERROR_INVALIDPARAM_nSamplesToFilter + 151 + invalid parameter + + + + FB_CTRL_PI + 2176 + + fSetpointValue + LREAL + setpoint value of controlled variable + 64 + 64 + + + ItemType + Input + + + + + fActualValue + LREAL + actual value of the controlled variable + 64 + 128 + + + ItemType + Input + + + + + fManSyncValue + LREAL + manual value to synchronize controller output + 64 + 192 + + + ItemType + Input + + + + + bSync + BOOL + rising edge sets controller output manual sync value + 8 + 256 + + + ItemType + Input + + + + + eMode + E_CTRL_MODE + operating mode + 16 + 272 + + + ItemType + Input + + + + + bHold + BOOL + TRUE will hold the controller output at current value + 8 + 288 + + + ItemType + Input + + + + + fOut + LREAL + controller output + 64 + 320 + + + ItemType + Output + + + + + bARWactive + BOOL + TRUE indicates that the controller output is restricted + 8 + 384 + + + ItemType + Output + + + + + eState + E_CTRL_STATE + current state of the function block + 16 + 400 + + + ItemType + Output + + + + + eErrorId + E_CTRL_ERRORCODES + error code + 16 + 416 + + + ItemType + Output + + + + + bError + BOOL + TRUE, if error occurs + 8 + 432 + + + ItemType + Output + + + + + stParams + ST_CTRL_PI_PARAMS + parameter structure + 32 + 448 + + + ItemType + InOut + + + + + stInternalParams + ST_CTRL_PI_PARAMS + 384 + 512 + + + stInternalCycleTimeInterpretation + ST_CTRL_CYCLE_TIME_INTERPRETATION + 128 + 896 + + + bFirstInit + BOOL + 8 + 1024 + + true + + + + bFirstCallAfterAStateChange + BOOL + 8 + 1032 + + false + + + + fD_I + LREAL + 64 + 1088 + + + fTaskCycleTime + LREAL + 64 + 1152 + + + fCtrlCycleTime + LREAL + 64 + 1216 + + + fHalfCtrlCycleTime + LREAL + 64 + 1280 + + + fTn + LREAL + 64 + 1344 + + + bIPartEnabled + BOOL + 8 + 1408 + + + fSyncValueInternal + LREAL + 64 + 1472 + + + fLimitValue + LREAL + 64 + 1536 + + + fE + LREAL + 64 + 1600 + + 0 + + + + fE_1 + LREAL + 64 + 1664 + + 0 + + + + fY_I + LREAL + 64 + 1728 + + 0 + + + + fY_I_1 + LREAL + 64 + 1792 + + 0 + + + + fY_P + LREAL + 64 + 1856 + + 0 + + + + fY + LREAL + 64 + 1920 + + 0 + + + + nCtrlCycleTicks + UDINT + 32 + 1984 + + + nActCtrlCycleTick + UDINT + 32 + 2016 + + + eMode_old + E_CTRL_MODE + 16 + 2048 + + + bMaxLimitReached + BOOL + 8 + 2064 + + + bMinLimitReached + BOOL + 8 + 2072 + + + bSyncRequest + BOOL + 8 + 2080 + + + fbR_TRIG + R_TRIG + 64 + 2112 + + + M_Error + + + M_Manual + + + M_Active + + + M_StateChange + + + M_Init + + + M_Passive + + + M_Reset + + + + PouType + FunctionBlock + + + + + ST_CTRL_RAMP_GENERATOR_PARAMS + 192 + + tTaskCycleTime + TIME + task cycle time [TIME] + 32 + 0 + + + tCtrlCycleTime + TIME + controller cycle time [TIME] + 32 + 32 + + + fVeloPos + LREAL + velocity ramp by time, range > 0.0 + 64 + 64 + + + fVeloNeg + LREAL + velocity ramp by time, range > 0.0 + 64 + 128 + + + + ST_CTRL_RAMP_GENERATOR_EXT_PARAMS + 192 + ST_CTRL_RAMP_GENERATOR_PARAMS + + + FB_CTRL_RAMP_GENERATOR_EXT + 1280 + + fStartValue + LREAL + starting value of the ramp + 64 + 64 + + + ItemType + Input + + + + + fTargetValue + LREAL + target value of the ramp + 64 + 128 + + + ItemType + Input + + + + + fManValue + LREAL + manual value to synchronize controller output + 64 + 192 + + + ItemType + Input + + + + + bHold + BOOL + TRUE will hold the controller output at current value + 8 + 256 + + + ItemType + Input + + + + + eMode + E_CTRL_MODE + operating mode + 16 + 272 + + + ItemType + Input + + + + + fOut + LREAL + controller output + 64 + 320 + + + ItemType + Output + + + + + fVeloOut + LREAL + current velocity of the ramp generator + 64 + 384 + + + ItemType + Output + + + + + bValueReached + BOOL + TRUE indicates that target value is reached + 8 + 448 + + + ItemType + Output + + + + + eState + E_CTRL_STATE + current state of the function block + 16 + 464 + + + ItemType + Output + + + + + eErrorId + E_CTRL_ERRORCODES + error code + 16 + 480 + + + ItemType + Output + + + + + bError + BOOL + TRUE, if error occurs + 8 + 496 + + + ItemType + Output + + + + + stParams + ST_CTRL_RAMP_GENERATOR_EXT_PARAMS + parameter structure + 32 + 512 + + + ItemType + InOut + + + + + fTaskCycleTime + LREAL + 64 + 576 + + + fCtrlCycleTime + LREAL + 64 + 640 + + + fOutLocal + LREAL + 64 + 704 + + + bGetStartValue + BOOL + 8 + 768 + + true + + + + stInternalParams + ST_CTRL_RAMP_GENERATOR_EXT_PARAMS + 192 + 832 + + + stInternalCycleTimeInterpretation + ST_CTRL_CYCLE_TIME_INTERPRETATION + 128 + 1024 + + + nCtrlCycleTicks + UDINT + 32 + 1152 + + + nActCtrlCycleTick + UDINT + 32 + 1184 + + + eMode_old + E_CTRL_MODE + 16 + 1216 + + + bFirstInit + BOOL + 8 + 1232 + + true + + + + M_Error + + + M_Manual + + + M_Active + + + M_StateChange + + + M_Init + + + M_Passive + + + M_Reset + + + + PouType + FunctionBlock + + + + + FB_CTRL_GET_TASK_CYCLETIME + 608 + + eMode + E_CTRL_MODE + operating mode + 16 + 32 + + + ItemType + Input + + + + + tTaskCycleTime + TIME + resolution 1ms + 32 + 64 + + + ItemType + Output + + + + + bCycleTimeValid + BOOL + TRUE, if cycle time is valid + 8 + 96 + + + ItemType + Output + + + + + eState + E_CTRL_STATE + current state of the function block + 16 + 112 + + + ItemType + Output + + + + + eErrorId + E_CTRL_ERRORCODES + error code + 16 + 128 + + + ItemType + Output + + + + + bError + BOOL + TRUE, if error occurs + 8 + 144 + + + ItemType + Output + + + + + bFirstInit + BOOL + 8 + 152 + + true + + + + nCpuCntLoDW + DWORD + 32 + 160 + + + nCpuCntHiDW + DWORD + 32 + 192 + + + nLastcpuCntLoDW + DWORD + 32 + 224 + + + nLastcpuCntHiDW + DWORD + 32 + 256 + + + nCycleTimeDW + DWORD + 32 + 288 + + + nCycleTimeDWold + DWORD + 32 + 320 + + + bFirstCallReady + BOOL + 8 + 352 + + + fbGETCPUCOUNTER + GETCPUCOUNTER + 192 + 384 + + + eMode_old + E_CTRL_MODE + 16 + 576 + + + M_Active + + + M_StateChange + + + M_Init + + + M_Passive + + + M_Reset + + + + PouType + FunctionBlock + + + + + FB_PiezoControl + 5824 + + iq_Piezo + ST_PiezoAxis + 32 + 32 + + + ItemType + InOut + + + + + xExecute + BOOL + Rising edge being piezo motion + 8 + 64 + + + ItemType + Input + + + + + xReset + BOOL + 8 + 72 + + + ItemType + Input + + + + + Enable_Positive + BOOL + Reverse of Positive Limit Switch + 8 + 80 + + + ItemType + Input + + + + + Enable_Negative + BOOL + Reverse of Negative Limit Switch + 8 + 88 + + + ItemType + Input + + + + + xBusy + BOOL + Busy remains true while piezo position is being adjusted + 8 + 96 + + + ItemType + Output + + + + + xDone + BOOL + Reached target position + 8 + 104 + + + ItemType + Output + + + + + xError + BOOL + General error + 8 + 112 + + + ItemType + Output + + + + + xLimited + BOOL + Piezo move was limited + 8 + 120 + + + ItemType + Output + + + + + E_State + E_PiezoControl + ENUM for Piezo Control State + 16 + 128 + + + rtStartMove + R_TRIG + Rising Trigger for Execution + 64 + 160 + + + rtReset + R_TRIG + Rising Trigger for Error reset + 64 + 224 + + + rSetpoint + REAL + Internal Storage of Setpoint + 32 + 288 + + + rReqVoltage + REAL + requested voltage + 32 + 320 + + + rLLSV + REAL + 32 + 352 + + 0 + + + + rHLSV + REAL + 32 + 384 + + 120 + + + + fbPI + FB_CTRL_PI + 2176 + 448 + + + fbRamp + FB_CTRL_RAMP_GENERATOR_EXT + 1280 + 2624 + + + bInitialized + BOOL + FB initialized flag + 8 + 3904 + + + fbGetCycleTime + FB_CTRL_GET_TASK_CYCLETIME + Get cycle time for control FBs + 608 + 3936 + + + tTaskCycleTime + TIME + 32 + 4544 + + + bCycleTimeValid + BOOL + 8 + 4576 + + + rtVoltMode + R_TRIG + 64 + 4608 + + + fOut + LREAL + 64 + 4672 + + + fPiezoBias + LREAL + 64 + 4736 + + 60 + + + + fScale + REAL + 32 + 4800 + + -60 + + + + tonPiezoDone + TON + 224 + 4832 + + + .PT + T + + + + + tonPiezoLimited + TON + 224 + 5056 + + + .PT + T + + + + + xVoltageLimited + BOOL + 8 + 5280 + + + ftEnPos + F_TRIG + 64 + 5312 + + + ftEnNeg + F_TRIG + 64 + 5376 + + + rtEnPos + R_TRIG + 64 + 5440 + + + rtEnNeg + R_TRIG + 64 + 5504 + + + fOutLimitHolder + LREAL + holds the limit value until restored + 64 + 5568 + + + fOutHiLimHolder + LREAL + holds the limit value until restored + 64 + 5632 + + + fOutLoLimHolder + LREAL + holds the limit value until restored + 64 + 5696 + + + xFirstPass + BOOL + 8 + 5760 + + true + + + + ACT_CheckLimits + + + ACT_Controller + + + + PouType + FunctionBlock + + + + + E_PitchControl + 16 + INT + + PCM_Init + 0 + Pitch Control Machine - eCTRL_ERROR_INVALIDPARAM_nDenominatorArray_ADR - 139 - invalid parameter + PCM_Standby + 1 - eCTRL_ERROR_INVALIDPARAM_nTransferfunction1Data_ADR - 140 - invalid parameter + PCM_MoveRequested + 10 - eCTRL_ERROR_INVALIDPARAM_nTransferfunction2Data_ADR - 141 - invalid parameter + PCM_Coarse50Piezo + 20 - eCTRL_ERROR_FileSeek - 142 - internal error FB_FileSeek + PCM_CoarseMove + 21 - eCTRL_ERROR_INVALIDPARAM_AmbientTempMaxIsLessThanAmbientTempMin - 143 - invalid parameter + PCM_CoarseMoveCleanup + 22 - eCTRL_ERROR_INVALIDPARAM_ForerunTempMaxIsLessThanForerunTempMin - 144 - invalid parameter + PCM_FineMove + 30 - eCTRL_ERROR_INVALIDLOGCYCLETIME - 145 - invalid parameter + PCM_Halt + 50 - eCTRL_ERROR_INVALIDVERSION_TcControllerToolbox - 146 + PCM_Done + 8000 + why is 8000 done? Where did this come from?? - eCTRL_ERROR_INVALIDPARAM_Bandwidth - 147 - invalid parameter + PCM_Error + 9000 + Anything above 9000 is considered an error - eCTRL_ERROR_INVALIDPARAM_NotchFrequency - 148 - invalid parameter + PCM_StepperError + 9100 - eCTRL_ERROR_INVALIDPARAM_DampingCoefficient - 149 - invalid parameter + PCM_PiezoError + 9200 - eCTRL_ERROR_INVALIDPARAM_fKpIsLessThanZero - 150 - invalid parameter + PCM_OtherError + 9300 - eCTRL_ERROR_INVALIDPARAM_nSamplesToFilter - 151 - invalid parameter + PCM_STOHit + 9400 - FB_CTRL_PI - 2176 + FB_PitchControl + 366848 + + Pitch + HOMS_PitchMechanism + 32 + 32 + + + ItemType + InOut + + + + + Stepper + ST_MotionStage + 32 + 64 + + + ItemType + InOut + + + + + lrCurrentSetpoint + LREAL + Setpoint: Epics writes to ST_MotionStage which gets fed into this + 64 + 128 + + + ItemType + Input + + + + + q_bError + BOOL + 8 + 192 + + + ItemType + Output + + + + + q_bDone + BOOL + 8 + 200 + + + ItemType + Output + + + + + q_bBusy + BOOL + 8 + 208 + + + ItemType + Output + + + + + stDiag + ST_FbDiagnostics + Logging + 48896 + 224 + + + fbFormatString + FB_FormatString + 7840 + 49120 + + + POUName + T_MaxString + Name of the POU for logging/error reporting + 2048 + 56960 + + + instance-path + + + no_init + + + + + lrActPos + LREAL + Actual Position of piezo mechanism + 64 + 59008 + + + lrPrevStepperPos + LREAL + Previous successfully achieved stepper position + 64 + 59072 + + + ftLimitSwitch + F_TRIG + 64 + 59136 + + + lrOriginalPosRequest + LREAL + Used for logging + 64 + 59200 + + + lrLastSetpoint + LREAL + Previous successfully achieved setpoint + 64 + 59264 + + + fbMotionRequest + FB_MotionRequest + 1600 + 59328 + + + fbMotionStage + FB_MotionStage + 299392 + 60928 + + + bLimitHit + BOOL + 8 + 360320 + + + tonStepperHold + TON + Timer to hold stepper position while the system relaxes + 224 + 360352 + + + .PT + T + + + + + rSettledRange + REAL + Units = urad + 32 + 360576 + + 5 + + + + bResetStepper + BOOL + 8 + 360608 + + + bExecuteStepper + BOOL + 8 + 360616 + + + enumMotionRequest + ENUM_MotionRequest + Wait for move to complete before taking another request + 16 + 360624 + + E_MotionRequest.WAIT + + + + tonPiezoSettled + TON + Piezo + 224 + 360640 + + + .PT + T + + + + + fbPiezoControl + FB_PiezoControl + 5824 + 360896 + + + rtPiezoMoveDone + R_TRIG + 64 + 366720 + + + PC_State + E_PitchControl + State Machine + 16 + 366784 + + E_PitchControl.PCM_Init + + + + bCoarse50PiezoMove + BOOL + 8 + 366800 + + + ACT_ResetSetpoint + + + + PouType + FunctionBlock + + + + + FB_AnalogInput + 448 + + 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 + + + + + fResolution + LREAL + Value to scale the end result to + 64 + 192 + + 1 + + + + ItemType + Input + + + pytmc + + pv: RES + io: io + + + + + + fOffset + LREAL + 64 + 256 + + + ItemType + Input + + + pytmc + + pv: OFF + io: io + + + + + + fReal + LREAL + The real value read from the output + 64 + 320 + + + ItemType + Output + + + pytmc + + pv: VAL + io: i + + + + + + fScale + LREAL + 64 + 384 + + + + PouType + FunctionBlock + + + + + FB_Axilon_Cooling_1f1p + 1088 + + 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 + 448 + 192 + + + fbPress_1 + FB_AnalogInput + 448 + 640 + + + + PouType + FunctionBlock + + + + + FB_Axilon_Cooling_2f1p + 1600 + FB_Axilon_Cooling_1f1p + + fFlow_2_val + LREAL + 64 + 1088 + + + 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 + 448 + 1152 + + + + PouType + FunctionBlock + + + + + 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 + + + + + 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 + 64 + + key + DWORD + 32 + 0 + + 0 + + + + pytmc + + pv: Key + io: i + + + + + + value + PVOID + 32 + 32 + + 0 + + + + + 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_Count + + + DataPoolToEpics + + + A_Lookup + + + A_Remove + + + A_Reset + + + A_GetFirst + + + A_Add + + + A_GetNext + + + + 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 + + true + + + + __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 + + + 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 + + + + 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 + + + + + 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 + + + + 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 + + + + 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 + + + + + + __getnEntryCount + How many entries are in the arbiter now + UDINT + 32 + + nEntryCount + UDINT + 32 + + + + property + + + + + RequestBP + BOOL + 8 + + nReqID + StateID of state requesting beam parameter set + DWORD + 32 + + + stReqBP + Requested beam params + ST_BeamParams + 1760 + + + + + PouType + FunctionBlock + + + reflection + + + + + 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_VetoArbiter + 27168 + I_HigherAuthority + + 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 + + + .i_xAutoReset + true + + + .i_Desc + Holds beam off until request is back in arbitration + + + .i_TypeCode + 200 + + + .i_xVetoable + true + + + + + 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 + + + + + FB_SubSysToArbiter_IO + Use on a subsystem PLC to request from the arbiter + Run at the top of your cycle to receive the latest BP + 138752 + I_HigherAuthority + + Reset + BOOL + Fast fault reset + 8 + 64 + + + ItemType + Input + + + + + sName + STRING(80) + 648 + 72 + + SubSysToArbiter + + + + ItemType + Input + + + + + i_bVeto + BOOL + 8 + 720 + + + ItemType + Input + + + + + Arbiter + FB_Arbiter + 32 + 736 + + + ItemType + InOut + + + + + fbFFHWO + FB_HardwareFFOutput + 32 + 768 + + + ItemType + InOut + + + + + i_stCurrentBP + ST_BeamParams_IO + 1760 + 800 + + + TcLinkTo + TIIB[PMPS_PRE]^IO Inputs^CurrentBP + + + TcAddressType + Input + + + + + q_stRequestedBP + ST_BeamParams_IO + 1760 + 2560 + + + TcLinkTo + TIIB[PMPS_PRE]^IO Outputs^RequestedBP + + + TcAddressType + Output + + + + + xTxPDO_toggle + BIT + 1 + 4320 + + + pytmc + pv: TxPDO_toggle + io: i + + + TcLinkTo + TIIB[PMPS_PRE]^SYNC Inputs^TxPDO toggle + + + TcAddressType + Input + + + + + xTxPDO_state + BIT + 1 + 4321 + + + pytmc + pv: TxPDO_state + io: i + + + TcLinkTo + TIIB[PMPS_PRE]^SYNC Inputs^TxPDO state + + + TcAddressType + Input + + + + + ffPMPSIO_Disconnect + FB_FastFault + Fast faults + 25088 + 4352 + + + .i_Desc + Arbiter network interface disconnected or not OP + + + .i_DevName + SubSysToArbiter + + + + + nRequestCohort + UDINT + Request cohort + 32 + 29440 + + 0 + + + + pytmc + pv: RequestCohort + io: i + + + + + nActiveCohort + UDINT + Active cohort, updated by incoming BP from arbiter PLC, in the ElevateRequest arbiter call + 32 + 29472 + + 0 + + + + pytmc + pv: ActiveCohort + io: i + + + + + fbVetoArb + FB_VetoArbiter + 27168 + 29504 + + + fbLog + FB_LogMessage + 81984 + 56704 + + + __FB_SUBSYSTOARBITER_IO__CHECKREQUEST__XFIRSTTIME + BOOL + 8 + 138688 + + , + + + + __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 + + + + + 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. + + + + + + + + + + + + + + ST_TcGeneralAdsEventClass + 14016 + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + Exception + TcEventEntry + 192 + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + InvalidFunctionID + TcEventEntry + 192 + 9792 + + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + + + 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 + + + - fSetpointValue - LREAL - setpoint value of controlled variable - 64 - 64 - - - ItemType - Input - - + 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 + + - fActualValue - LREAL - actual value of the controlled variable - 64 - 128 - - - ItemType - Input - - + 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 + + - fManSyncValue - LREAL - manual value to synchronize controller output - 64 - 192 - - - ItemType - Input - - + 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 + + - bSync - BOOL - rising edge sets controller output manual sync value - 8 - 256 - - - ItemType - Input - - + 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 + + - eMode - E_CTRL_MODE - operating mode - 16 - 272 - - - ItemType - Input - - + 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 + + - bHold - BOOL - TRUE will hold the controller output at current value - 8 - 288 - - - 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 + + + + + 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 + + + + + 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 + + + + + SyncInternalError + TcEventEntry + 192 + 12864 + + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 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 + + - fOut - LREAL - controller output - 64 - 320 - - - ItemType - Output - - + AddHash + TcEventEntry + 192 + 13056 + + + .uuidEventClass.Data1 + 2104885350 + + + .uuidEventClass.Data2 + 54131 + + + .uuidEventClass.Data3 + 18956 + + + .uuidEventClass.Data4[0] + 176 + + + .uuidEventClass.Data4[1] + 241 + + + .uuidEventClass.Data4[2] + 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 + + - bARWactive - BOOL - TRUE indicates that the controller output is restricted - 8 - 384 - - - ItemType - Output - - + 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 + + - eState - E_CTRL_STATE - current state of the function block - 16 - 400 - - - ItemType - Output - - + 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 + + - eErrorId - E_CTRL_ERRORCODES - error code - 16 - 416 - - - ItemType - Output - - + 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 + + - bError - BOOL - TRUE, if error occurs - 8 - 432 - - - ItemType - Output - - + 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 + + + + + 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 - stParams - ST_CTRL_PI_PARAMS - parameter structure - 32 - 448 - - - ItemType - InOut - - + 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 + + - stInternalParams - ST_CTRL_PI_PARAMS - 384 - 512 + 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 + + - stInternalCycleTimeInterpretation - ST_CTRL_CYCLE_TIME_INTERPRETATION - 128 - 896 + 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 + + - bFirstInit - BOOL - 8 - 1024 + 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 + - bFirstCallAfterAStateChange - BOOL - 8 - 1032 + UnknownPortType + TcEventEntry + 192 + 768 - false + + .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 + - fD_I - LREAL - 64 - 1088 + 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 + + - fTaskCycleTime - LREAL - 64 + 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 + + - fCtrlCycleTime - LREAL - 64 - 1216 - - - fHalfCtrlCycleTime - LREAL - 64 - 1280 - - - fTn - LREAL - 64 + 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 + + - bIPartEnabled - BOOL - 8 - 1408 - - - fSyncValueInternal - LREAL - 64 - 1472 - - - fLimitValue - LREAL - 64 + NoMoreQueues + TcEventEntry + 192 1536 - - - fE - LREAL - 64 - 1600 - 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.NoMoreQueues + + + .eSeverity + TcEventSeverity.Error + - fE_1 - LREAL - 64 - 1664 + InvalidPort + TcEventEntry + 192 + 1728 - 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.InvalidPort + + + .eSeverity + TcEventSeverity.Error + - fY_I - LREAL - 64 - 1728 + NotActivated + TcEventEntry + 192 + 1920 - 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.NotActivated + + + .eSeverity + TcEventSeverity.Error + - fY_I_1 - LREAL - 64 - 1792 + FragmentBoxFull + TcEventEntry + 192 + 2112 - 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.FragmentBoxFull + + + .eSeverity + TcEventSeverity.Error + - fY_P - LREAL - 64 - 1856 + FragmentTimeout + TcEventEntry + 192 + 2304 - 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.FragmentTimeout + + + .eSeverity + TcEventSeverity.Error + - fY - LREAL - 64 - 1920 + ToBeRemoved + TcEventEntry + 192 + 2496 - 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.ToBeRemoved + + + .eSeverity + TcEventSeverity.Error + - - nCtrlCycleTicks - UDINT - 32 - 1984 - - - nActCtrlCycleTick - UDINT - 32 - 2016 - - - eMode_old - E_CTRL_MODE - 16 - 2048 - - - bMaxLimitReached - BOOL - 8 - 2064 - - - bMinLimitReached - BOOL - 8 - 2072 - - - bSyncRequest - BOOL - 8 - 2080 - - - fbR_TRIG - R_TRIG - 64 - 2112 - - - M_Error - - - M_Reset - - - M_Manual - - - M_Active - - - M_StateChange - - - M_Passive - - - M_Init - - PouType - FunctionBlock + TcTypeSystem + + + signature_flag + 33554432 + + + checksuperglobal + + + show + + + no-analysis + + + TcEventClass + TcRouterEventClass - ST_CTRL_RAMP_GENERATOR_PARAMS - 192 - - tTaskCycleTime - TIME - task cycle time [TIME] - 32 - 0 - - - tCtrlCycleTime - TIME - controller cycle time [TIME] - 32 - 32 - - - fVeloPos - LREAL - velocity ramp by time, range > 0.0 - 64 - 64 - - - fVeloNeg - LREAL - velocity ramp by time, range > 0.0 - 64 - 128 - - - - ST_CTRL_RAMP_GENERATOR_EXT_PARAMS - 192 - ST_CTRL_RAMP_GENERATOR_PARAMS + 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 + + + + - FB_CTRL_RAMP_GENERATOR_EXT - 1280 - - fStartValue - LREAL - starting value of the ramp - 64 - 64 - - - ItemType - Input - - - + ST_Win32EventClass + 7104 - fTargetValue - LREAL - target value of the ramp - 64 - 128 - - - ItemType - Input - - + 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 + + - fManValue - LREAL - manual value to synchronize controller output - 64 + ERROR_INVALID_FUNCTION + TcEventEntry + 192 192 - - - ItemType - Input - - - - - bHold - BOOL - TRUE will hold the controller output at current value - 8 - 256 - - - ItemType - Input - - - - - eMode - E_CTRL_MODE - operating mode - 16 - 272 - - - ItemType - Input - - - - - fOut - LREAL - controller output - 64 - 320 - - - ItemType - Output - - - - - fVeloOut - LREAL - current velocity of the ramp generator - 64 - 384 - - - ItemType - Output - - - - - bValueReached - BOOL - TRUE indicates that target value is reached - 8 - 448 - - - ItemType - Output - - - - - eState - E_CTRL_STATE - current state of the function block - 16 - 464 - - - ItemType - Output - - - - - eErrorId - E_CTRL_ERRORCODES - error code - 16 - 480 - - - ItemType - Output - - - - - bError - BOOL - TRUE, if error occurs - 8 - 496 - - - ItemType - Output - - + + + .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 + + - stParams - ST_CTRL_RAMP_GENERATOR_EXT_PARAMS - parameter structure - 32 - 512 - - - ItemType - InOut - - + 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 + + - fTaskCycleTime - LREAL - 64 + 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 + + - fCtrlCycleTime - LREAL - 64 - 640 - - - fOutLocal - LREAL - 64 - 704 - - - bGetStartValue - BOOL - 8 + ERROR_TOO_MANY_OPEN_FILES + TcEventEntry + 192 768 - 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_TOO_MANY_OPEN_FILES + + + .eSeverity + TcEventSeverity.Error + - stInternalParams - ST_CTRL_RAMP_GENERATOR_EXT_PARAMS + ERROR_ACCESS_DENIED + TcEventEntry 192 - 832 - - - stInternalCycleTimeInterpretation - ST_CTRL_CYCLE_TIME_INTERPRETATION - 128 - 1024 + 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 + + - nCtrlCycleTicks - UDINT - 32 + ERROR_INVALID_HANDLE + TcEventEntry + 192 1152 - - - nActCtrlCycleTick - UDINT - 32 - 1184 - - - eMode_old - E_CTRL_MODE - 16 - 1216 - - - bFirstInit - BOOL - 8 - 1232 - 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_INVALID_HANDLE + + + .eSeverity + TcEventSeverity.Error + - - M_Error - - - M_Reset - - - M_Manual - - - M_Active - - - M_StateChange - - - M_Passive - - - M_Init - - - - PouType - FunctionBlock - - - - - FB_CTRL_GET_TASK_CYCLETIME - 608 - - eMode - E_CTRL_MODE - operating mode - 16 - 32 - - - ItemType - Input - - - - - tTaskCycleTime - TIME - resolution 1ms - 32 - 64 - - - ItemType - Output - - - - - bCycleTimeValid - BOOL - TRUE, if cycle time is valid - 8 - 96 - - - ItemType - Output - - - - - eState - E_CTRL_STATE - current state of the function block - 16 - 112 - - - ItemType - Output - - - - - eErrorId - E_CTRL_ERRORCODES - error code - 16 - 128 - - - ItemType - Output - - - - - bError - BOOL - TRUE, if error occurs - 8 - 144 - - - ItemType - Output - - - - bFirstInit - BOOL - 8 - 152 + ERROR_NOT_ENOUGH_MEMORY + TcEventEntry + 192 + 1344 - 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_NOT_ENOUGH_MEMORY + + + .eSeverity + TcEventSeverity.Error + - nCpuCntLoDW - DWORD - 32 - 160 - - - nCpuCntHiDW - DWORD - 32 - 192 - - - nLastcpuCntLoDW - DWORD - 32 - 224 - - - nLastcpuCntHiDW - DWORD - 32 - 256 + 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 + + - nCycleTimeDW - DWORD - 32 - 288 + 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 + + - nCycleTimeDWold - DWORD - 32 - 320 + 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 + + - bFirstCallReady - BOOL - 8 - 352 + 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 + + - fbGETCPUCOUNTER - GETCPUCOUNTER + ERROR_BAD_LENGTH + TcEventEntry 192 - 384 + 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 + + - eMode_old - E_CTRL_MODE - 16 - 576 + 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 + + - - M_Reset - - - M_StateChange - - - M_Active - - - M_Passive - - - M_Init - - - - PouType - FunctionBlock - - - - - FB_PiezoControl - 5824 - iq_Piezo - ST_PiezoAxis - 32 - 32 - - - ItemType - InOut - - + 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 + + - xExecute - BOOL - Rising edge being piezo motion - 8 - 64 - - - ItemType - Input - - + 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 + + - xReset - BOOL - 8 - 72 - - - ItemType - Input - - + 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 + + - Enable_Positive - BOOL - Reverse of Positive Limit Switch - 8 - 80 - - - ItemType - Input - - + 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 + + - Enable_Negative - BOOL - Reverse of Negative Limit Switch - 8 - 88 - - - ItemType - Input - - + 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 + + - xBusy - BOOL - Busy remains true while piezo position is being adjusted - 8 - 96 - - - ItemType - Output - - + 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 + + - xDone - BOOL - Reached target position - 8 - 104 - - - ItemType - Output - - + 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 + + - xError - BOOL - General error - 8 - 112 - - - ItemType - Output - - + 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 + + - xLimited - BOOL - Piezo move was limited - 8 - 120 - - - ItemType - Output - - + 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 + + - E_State - E_PiezoControl - ENUM for Piezo Control State - 16 - 128 + 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 + + - rtStartMove - R_TRIG - Rising Trigger for Execution - 64 - 160 + 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 + + - rtReset - R_TRIG - Rising Trigger for Error reset - 64 - 224 + 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 + + - rSetpoint - REAL - Internal Storage of Setpoint - 32 - 288 + 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 + + - rReqVoltage - REAL - requested voltage - 32 - 320 + 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 + + - rLLSV - REAL - 32 - 352 + ERROR_ALREADY_EXISTS + TcEventEntry + 192 + 5376 - 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_ALREADY_EXISTS + + + .eSeverity + TcEventSeverity.Error + - rHLSV - REAL - 32 - 384 + ERROR_INVALID_FLAG_NUMBER + TcEventEntry + 192 + 5568 - 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.ERROR_INVALID_FLAG_NUMBER + + + .eSeverity + TcEventSeverity.Error + - fbPI - FB_CTRL_PI - 2176 - 448 - - - fbRamp - FB_CTRL_RAMP_GENERATOR_EXT - 1280 - 2624 - - - bInitialized - BOOL - FB initialized flag - 8 - 3904 - - - fbGetCycleTime - FB_CTRL_GET_TASK_CYCLETIME - Get cycle time for control FBs - 608 - 3936 - - - tTaskCycleTime - TIME - 32 - 4544 - - - bCycleTimeValid - BOOL - 8 - 4576 - - - rtVoltMode - R_TRIG - 64 - 4608 - - - fOut - LREAL - 64 - 4672 - - - fPiezoBias - LREAL - 64 - 4736 + WAIT_TIMEOUT + TcEventEntry + 192 + 5760 - 60 + + .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 + - fScale - REAL - 32 - 4800 + ERROR_NO_MORE_ITEMS + TcEventEntry + 192 + 5952 - -60 + + .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 + - tonPiezoDone - TON - 224 - 4832 + ERROR_INVALID_ADDRESS + TcEventEntry + 192 + 6144 - .PT - T#2S + .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 - tonPiezoLimited - TON - 224 - 5056 + ERROR_ARITHMETIC_OVERFLOW + TcEventEntry + 192 + 6336 - .PT - T#500MS + .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 - xVoltageLimited - BOOL - 8 - 5280 - - - ftEnPos - F_TRIG - 64 - 5312 - - - ftEnNeg - F_TRIG - 64 - 5376 - - - rtEnPos - R_TRIG - 64 - 5440 - - - rtEnNeg - R_TRIG - 64 - 5504 - - - fOutLimitHolder - LREAL - holds the limit value until restored - 64 - 5568 - - - fOutHiLimHolder - LREAL - holds the limit value until restored - 64 - 5632 + 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 + + - fOutLoLimHolder - LREAL - holds the limit value until restored - 64 - 5696 + 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 + + - xFirstPass - BOOL - 8 - 5760 + ERROR_IO_PENDING + TcEventEntry + 192 + 6912 - 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_IO_PENDING + + + .eSeverity + TcEventSeverity.Error + - - ACT_CheckLimits - - - ACT_Controller - - PouType - FunctionBlock + TcTypeSystem + + + signature_flag + 33554432 + + + checksuperglobal + + + show + + + no-analysis + + + TcEventClass + Win32EventClass - E_PitchControl - 16 - INT - - PCM_Init - 0 - Pitch Control Machine - - - PCM_Standby - 1 - - - PCM_MoveRequested - 10 - - - PCM_Coarse50Piezo - 20 - - - PCM_CoarseMove - 21 - - - PCM_CoarseMoveCleanup - 22 - - - PCM_FineMove - 30 - - - PCM_Halt - 50 - - - PCM_Done - 8000 - why is 8000 done? Where did this come from?? - - - PCM_Error - 9000 - Anything above 9000 is considered an error - - - PCM_StepperError - 9100 - - - PCM_PiezoError - 9200 - - - PCM_OtherError - 9300 - - - PCM_STOHit - 9400 - + 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 + + + + - FB_PitchControl - 366848 - - Pitch - HOMS_PitchMechanism - 32 - 32 - - - ItemType - InOut - - - - - Stepper - ST_MotionStage - 32 - 64 - - - ItemType - InOut - - - + ST_TcIPCDiagEventClass + 2688 - lrCurrentSetpoint - LREAL - Setpoint: Epics writes to ST_MotionStage which gets fed into this - 64 - 128 - - - ItemType - Input - - + 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 + + - q_bError - BOOL - 8 + InvalidIndex + TcEventEntry + 192 192 - - - ItemType - Output - - - - - q_bDone - BOOL - 8 - 200 - - - ItemType - Output - - - - - q_bBusy - BOOL - 8 - 208 - - - ItemType - Output - - - - - stDiag - ST_FbDiagnostics - Logging - 48896 - 224 - - - fbFormatString - FB_FormatString - 7840 - 49120 - - - POUName - T_MaxString - Name of the POU for logging/error reporting - 2048 - 56960 - - - instance-path - - - no_init - - - - - lrActPos - LREAL - Actual Position of piezo mechanism - 64 - 59008 - - - lrPrevStepperPos - LREAL - Previous successfully achieved stepper position - 64 - 59072 - - - ftLimitSwitch - F_TRIG - 64 - 59136 - - - lrOriginalPosRequest - LREAL - Used for logging - 64 - 59200 - - - lrLastSetpoint - LREAL - Previous successfully achieved setpoint - 64 - 59264 - - - fbMotionRequest - FB_MotionRequest - 1600 - 59328 + + + .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 + + - fbMotionStage - FB_MotionStage - 299392 - 60928 + 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 + + - bLimitHit - BOOL - 8 - 360320 + 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 + + - tonStepperHold - TON - Timer to hold stepper position while the system relaxes - 224 - 360352 + TypeNotSupported + TcEventEntry + 192 + 768 - .PT - T#100MS + .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 - rSettledRange - REAL - Units = urad - 32 - 360576 + OutOfMemory + TcEventEntry + 192 + 960 - 5 + + .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 + - bResetStepper - BOOL - 8 - 360608 - - - bExecuteStepper - BOOL - 8 - 360616 - - - enumMotionRequest - ENUM_MotionRequest - Wait for move to complete before taking another request - 16 - 360624 + NoDataAvailable + TcEventEntry + 192 + 1152 - E_MotionRequest.WAIT + + .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 + - tonPiezoSettled - TON - Piezo - 224 - 360640 + InvalidData + TcEventEntry + 192 + 1344 - .PT - T#2S + .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 - fbPiezoControl - FB_PiezoControl - 5824 - 360896 - - - rtPiezoMoveDone - R_TRIG - 64 - 366720 - - - PC_State - E_PitchControl - State Machine - 16 - 366784 + InvalidArgument + TcEventEntry + 192 + 1536 - E_PitchControl.PCM_Init + + .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 + - bCoarse50PiezoMove - BOOL - 8 - 366800 - - - ACT_ResetSetpoint - - - - PouType - FunctionBlock - - - - - FB_AnalogInput - 448 - - 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 - - - - - fResolution - LREAL - Value to scale the end result to - 64 - 192 + OutOfRange + TcEventEntry + 192 + 1728 - 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.OutOfRange + + + .eSeverity + TcEventSeverity.Error + - - - ItemType - Input - - - pytmc - - pv: RES - io: io - - - - - - fOffset - LREAL - 64 - 256 - - - ItemType - Input - - - pytmc - - pv: OFF - io: io - - - - - - fReal - LREAL - The real value read from the output - 64 - 320 - - - ItemType - Output - - - pytmc - - pv: VAL - io: i - - - - - - fScale - LREAL - 64 - 384 - - - PouType - FunctionBlock - - - - - FB_Axilon_Cooling_1f1p - 1088 - 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 - - - + 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 + + - fPress_1_val - LREAL - 64 - 128 - - - ItemType - Output - - - pytmc - - pv: PRSM:1 - field: EGU bar - field: LOW 0.1 - field: LSV MAJOR - io: i - - - + 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 + + - fbFlow_1 - FB_AnalogInput - 448 - 192 + 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 + + - fbPress_1 - FB_AnalogInput - 448 - 640 + 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 + + - PouType - FunctionBlock + TcTypeSystem - - - - FB_Axilon_Cooling_2f1p - 1600 - FB_Axilon_Cooling_1f1p - - fFlow_2_val - LREAL - 64 - 1088 - - - 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 - 448 - 1152 - - - PouType - FunctionBlock + signature_flag + 33554432 + + + checksuperglobal + + + show + + + no-analysis + + + TcEventClass + TcIPCDiagEventClass - 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 - + 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 + + + + - PlcTaskSystemInfo - 1024 + ST_TcIPCDiagPlcApiEventClass + 1536 - ObjId - OTCID - 32 + 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 + + - CycleTime - UDINT - 32 - 32 - - - Priority - UINT - 16 - 64 - - - AdsPort - UINT - 16 - 80 - - - CycleCount - UDINT - 32 - 96 - - - DcTaskTime - LINT - 64 - 128 + 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 + + - LastExecTime - UDINT - 32 - 192 + 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 + + - FirstCycle - BOOL - 8 - 224 + 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 + + - CycleTimeExceeded - BOOL - 8 - 232 + 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 + + - InCallAfterOutputUpdate - BOOL - 8 - 240 + 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 + + - RTViolation - BOOL - 8 - 248 + 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 + + - TaskName - STRING(63) - 512 - 512 + 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 + + LCLSGeneralEventClass @@ -41248,7 +59985,7 @@ Use this thing to have a simple indexer with rollover. 0 SerialIO Inputs 0 - 80805888 + 81199104 GVL_SerialIO.Serial_stComIn_M1K3 Better have your inputs and outputs! @@ -41264,7 +60001,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 640905152 + 641149824 GVL_SerialIO.Serial_stComIn_M2K3 @@ -41273,630 +60010,196 @@ Use this thing to have a simple indexer with rollover. EL6inData22B - TcAddressType - Input - - - TcVarGlobal - - - 640905536 - - - - 1 - SerialIO Outputs - 0 - 80805888 - - GVL_SerialIO.Serial_stComOut_M1K3 - 192 - EL6outData22B - - - TcAddressType - Output - - - TcVarGlobal - - - 640905344 - - - GVL_SerialIO.Serial_stComOut_M2K3 - 192 - EL6outData22B - - - TcAddressType - Output - - - TcVarGlobal - - - 640905728 - - - - 3 - SerialIO Internal - 0 - 80805888 - - P_Serial_Com.fbSerialLineControl_EL6001_M1K3 - 10432 - SerialLineControl - 640868192 - - - P_Serial_Com.fbSerialLineControl_EL6001_M2K3 - 10432 - SerialLineControl - 640878624 - - - GVL_COM_Buffers.Serial_RXBuffer_M1K3 - M1K3 - 2512 - ComBuffer - - - TcVarGlobal - - - 640889568 - - - GVL_COM_Buffers.Serial_TXBuffer_M1K3 - 2512 - ComBuffer - - - TcVarGlobal - - - 640892080 - - - GVL_COM_Buffers.Serial_RXBuffer_M2K3 - M2K3 - 2512 - ComBuffer - - - TcVarGlobal - - - 640894592 - - - GVL_COM_Buffers.Serial_TXBuffer_M2K3 - 2512 - ComBuffer - - - TcVarGlobal - - - 640897104 - - - TwinCAT_SystemInfoVarList._AppInfo - 2048 - PlcAppSystemInfo - - - no_init - - - TcVarGlobal - - - 640908192 - - - TwinCAT_SystemInfoVarList._TaskPouOid_SerialIO - 32 - OTCID - - - no_init - - - TcVarGlobal - - - 640910240 - - - TwinCAT_SystemInfoVarList._TaskOid_SerialIO - 32 - OTCID - - - no_init - - - TcVarGlobal - - - 640913344 - - - TwinCAT_SystemInfoVarList.__SerialIO - 704 - _Implicit_Task_Info - - - .dwVersion - 2 - - - - - TcContextName - SerialIO - - - TcVarGlobal - - - 640913504 - - - - 19 - PiezoDriver Internal - 1 - 80805888 - - Global_Variables.GLOBAL_FORMAT_HASH_PREFIX_TYPE - Global hash prefix type constant used for binary, octal or hexadecimal string format type - 16 - E_HashPrefixTypes - - E_HashPrefixTypes.HASHPREFIX_IEC - - - - TcVarGlobal - - - 3160944 - - - Global_Variables.FORMAT_MAX_ARGS - Format string constant: Max. number of format arguments in FB_FormatString - 16 - INT - - 10 - - - - TcVarGlobal - - - 3224320 - - - Global_Variables.FLOATREC_EXP_IS_NAN - T_FloatRec type and F_GetFloatRec function constant: The value is #NAN or -#NAN - 16 - INT - - -32768 - - - - TcVarGlobal - - - 3224336 - - - Global_Variables.FLOATREC_EXP_IS_INF - T_FloatRec type and F_GetFloatRec function constant: The value is #INF or -#INF - 16 - INT - - 32767 - - - - TcVarGlobal - - - 3224352 - - - Global_Variables.FLOATREC_MAX_DIGITS - T_FloatRec type and F_GetFloatRec function constant: Max. number of significant digits. Note: double precision floats have max. 15 significant digits - 16 - INT - - 20 - - - - TcVarGlobal - - - 3224368 - - - Global_Variables.FLOATREC_MAX_PRECISION - T_FloatRec type and F_GetFloatRec function constant: Max. floating point precision (1e-307) - 16 - INT - - 307 - - - - TcVarGlobal - - - 3224384 - - - Global_Variables.FLOATREC_MIN_PRECISION - T_FloatRec type and F_GetFloatRec function constant: Min. floating point precision - 16 - INT - - 0 - - - - TcVarGlobal - - - 3224400 - - - Global_Variables.FMTERR_NOERROR - FB_FormatString function block error code: No error - 32 - DWORD - - 0 - - - - TcVarGlobal - - - 3224416 - - - Global_Variables.FMTERR_PERCENTSIGNPOSITION - FB_FormatString function block error code: Percent sign (%) at invalid position - 32 - DWORD - - 16 - - - - TcVarGlobal - - - 3224448 - - - Global_Variables.FMTERR_ASTERISKPOSITION - FB_FormatString function block error code: Asterisk parameter at invalid position - 32 - DWORD - - 32 - - + TcAddressType + Input + TcVarGlobal - 3224480 + 641150208 + + + 1 + SerialIO Outputs + 0 + 81199104 - Global_Variables.FMTERR_WIDTHVALUE - FB_FormatString function block error code: Invalid width field value - 32 - DWORD - - 64 - + GVL_SerialIO.Serial_stComOut_M1K3 + 192 + EL6outData22B + + TcAddressType + Output + TcVarGlobal - 3224512 + 641150016 - Global_Variables.FMTERR_PRECISIONVALUE - FB_FormatString function block error code: Invalid precision field value - 32 - DWORD - - 128 - + GVL_SerialIO.Serial_stComOut_M2K3 + 192 + EL6outData22B + + TcAddressType + Output + TcVarGlobal - 3224544 + 641150400 + + + 3 + SerialIO Internal + 0 + 81199104 - Global_Variables.FMTERR_FLAGPOSITION - FB_FormatString function block error code: One of the flags at invalid position - 32 - DWORD - - 256 - + P_Serial_Com.fbSerialLineControl_EL6001_M1K3 + 10432 + SerialLineControl + 640946208 + + + P_Serial_Com.fbSerialLineControl_EL6001_M2K3 + 10432 + SerialLineControl + 640956640 + + + GVL_COM_Buffers.Serial_RXBuffer_M1K3 + M1K3 + 2512 + ComBuffer TcVarGlobal - 3224576 + 641134272 - Global_Variables.FMTERR_WIDTHPRECISIONVALPOS - FB_FormatString function block error code: The width or precision field value at invalid position - 32 - DWORD - - 512 - + GVL_COM_Buffers.Serial_TXBuffer_M1K3 + 2512 + ComBuffer TcVarGlobal - 3224608 + 641136784 - Global_Variables.FMTERR_PRECISIONDOTPOSITION - FB_FormatString function block error code: Dot "." sign of precision field at invalid position - 32 - DWORD - - 1024 - + GVL_COM_Buffers.Serial_RXBuffer_M2K3 + M2K3 + 2512 + ComBuffer TcVarGlobal - 3224640 + 641139296 - Global_Variables.FMTERR_ARGTYPEINVALID - FB_FormatString function block error code: Different type field and argument parameter - 32 - DWORD - - 4096 - + GVL_COM_Buffers.Serial_TXBuffer_M2K3 + 2512 + ComBuffer TcVarGlobal - 3224704 + 641141808 - Global_Variables.FMTERR_UNACCEPTEDPARAMETER - FB_FormatString function block error code: Invalid format string parameters - 32 - DWORD - - 8192 - + TwinCAT_SystemInfoVarList._AppInfo + 2048 + PlcAppSystemInfo + + no_init + TcVarGlobal - 3224736 + 642597440 - Global_Variables.FMTERR_INSUFFICIENTARGS - FB_FormatString function block error code: To much arguments in format string + TwinCAT_SystemInfoVarList._TaskPouOid_SerialIO 32 - DWORD - - 16384 - + OTCID + + no_init + TcVarGlobal - 3224768 + 642602560 - Global_Variables.FMTERR_DESTBUFFOVERFLOW - FB_FormatString function block error code: Destination string buffer overflow (formatted string is to long ) + TwinCAT_SystemInfoVarList._TaskOid_SerialIO 32 - DWORD - - 32768 - + OTCID + + no_init + TcVarGlobal - 3224800 + 642602592 - Global_Variables.FORMAT_HEXASC_CODES - 256 - BYTE - - 0 - 2 - - - 0 - 16 - + TwinCAT_SystemInfoVarList.__SerialIO + 704 + _Implicit_Task_Info - [0,0] - 48 - - - [0,1] - 49 - - - [0,2] - 50 - - - [0,3] - 51 - - - [0,4] - 52 - - - [0,5] - 53 - - - [0,6] - 54 - - - [0,7] - 55 - - - [0,8] - 56 - - - [0,9] - 57 - - - [0,10] - 97 - - - [0,11] - 98 - - - [0,12] - 99 - - - [0,13] - 100 - - - [0,14] - 101 - - - [0,15] - 102 - - - [1,0] - 48 - - - [1,1] - 49 - - - [1,2] - 50 - - - [1,3] - 51 - - - [1,4] - 52 - - - [1,5] - 53 - - - [1,6] - 54 - - - [1,7] - 55 - - - [1,8] - 56 - - - [1,9] - 57 - - - [1,10] - 65 - - - [1,11] - 66 - - - [1,12] - 67 - - - [1,13] - 68 - - - [1,14] - 69 - - - [1,15] - 70 + .dwVersion + 2 + + TcContextName + SerialIO + TcVarGlobal - 3224960 + 642602752 + + + 19 + PiezoDriver Internal + 1 + 81199104 PiezoSerial.fbE621SerialDriver_M1K3 PI Serial 109632 FB_PI_E621_SerialDriver - 634590080 + 634661024 PiezoSerial.fbE621SerialDriver_M2K3 109632 FB_PI_E621_SerialDriver - 634700000 + 634770944 GVL_M1K3.M1K3_Pitch @@ -41930,7 +60233,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 640899648 + 641144320 GVL_M2K3.M2K3_Pitch @@ -41964,7 +60267,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 640902400 + 641147072 TwinCAT_SystemInfoVarList._TaskPouOid_PiezoDriver @@ -41978,7 +60281,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 640913376 + 642602624 TwinCAT_SystemInfoVarList._TaskOid_PiezoDriver @@ -41992,7 +60295,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 640913408 + 642602656 TwinCAT_SystemInfoVarList.__PiezoDriver @@ -42013,14 +60316,14 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 640914208 + 642603456 32 PlcTask Inputs 2 - 80805888 + 81199104 lcls_twincat_optics.GVL_TestStructs.TestPitch_LimitSwitches.diEncCnt Raw encoder count @@ -42032,7 +60335,7 @@ Use this thing to have a simple indexer with rollover. Input - 634546112 + 634610880 MAIN.M1.Axis.NcToPlc @@ -42044,7 +60347,7 @@ Use this thing to have a simple indexer with rollover. Input - 634820736 + 634891648 MAIN.M1.bLimitForwardEnable @@ -42057,7 +60360,7 @@ Use this thing to have a simple indexer with rollover. Input - 634828736 + 634899648 MAIN.M1.bLimitBackwardEnable @@ -42070,7 +60373,7 @@ Use this thing to have a simple indexer with rollover. Input - 634828744 + 634899656 MAIN.M1.bHome @@ -42083,7 +60386,7 @@ Use this thing to have a simple indexer with rollover. Input - 634828752 + 634899664 MAIN.M1.bHardwareEnable @@ -42106,7 +60409,7 @@ Use this thing to have a simple indexer with rollover. Input - 634828768 + 634899680 MAIN.M1.nRawEncoderULINT @@ -42119,7 +60422,7 @@ Use this thing to have a simple indexer with rollover. Input - 634828800 + 634899712 MAIN.M1.nRawEncoderUINT @@ -42132,7 +60435,7 @@ Use this thing to have a simple indexer with rollover. Input - 634828864 + 634899776 MAIN.M1.nRawEncoderINT @@ -42145,7 +60448,7 @@ Use this thing to have a simple indexer with rollover. Input - 634828880 + 634899792 MAIN.fbMotionStage_m1.fbDriveVirtual.MasterAxis.NcToPlc @@ -42157,7 +60460,7 @@ Use this thing to have a simple indexer with rollover. Input - 634847424 + 634919040 MAIN.M2.Axis.NcToPlc @@ -42169,7 +60472,7 @@ Use this thing to have a simple indexer with rollover. Input - 635145408 + 635217024 MAIN.M2.bLimitForwardEnable @@ -42182,7 +60485,7 @@ Use this thing to have a simple indexer with rollover. Input - 635153408 + 635225024 MAIN.M2.bLimitBackwardEnable @@ -42195,7 +60498,7 @@ Use this thing to have a simple indexer with rollover. Input - 635153416 + 635225032 MAIN.M2.bHome @@ -42208,7 +60511,7 @@ Use this thing to have a simple indexer with rollover. Input - 635153424 + 635225040 MAIN.M2.bHardwareEnable @@ -42231,7 +60534,7 @@ Use this thing to have a simple indexer with rollover. Input - 635153440 + 635225056 MAIN.M2.nRawEncoderULINT @@ -42244,7 +60547,7 @@ Use this thing to have a simple indexer with rollover. Input - 635153472 + 635225088 MAIN.M2.nRawEncoderUINT @@ -42257,7 +60560,7 @@ Use this thing to have a simple indexer with rollover. Input - 635153536 + 635225152 MAIN.M2.nRawEncoderINT @@ -42270,7 +60573,7 @@ Use this thing to have a simple indexer with rollover. Input - 635153552 + 635225168 MAIN.fbMotionStage_m2.fbDriveVirtual.MasterAxis.NcToPlc @@ -42282,7 +60585,7 @@ Use this thing to have a simple indexer with rollover. Input - 635172096 + 635244416 MAIN.M3.Axis.NcToPlc @@ -42294,7 +60597,7 @@ Use this thing to have a simple indexer with rollover. Input - 635470080 + 635542400 MAIN.M3.bLimitForwardEnable @@ -42307,7 +60610,7 @@ Use this thing to have a simple indexer with rollover. Input - 635478080 + 635550400 MAIN.M3.bLimitBackwardEnable @@ -42320,7 +60623,7 @@ Use this thing to have a simple indexer with rollover. Input - 635478088 + 635550408 MAIN.M3.bHome @@ -42333,7 +60636,7 @@ Use this thing to have a simple indexer with rollover. Input - 635478096 + 635550416 MAIN.M3.bHardwareEnable @@ -42356,7 +60659,7 @@ Use this thing to have a simple indexer with rollover. Input - 635478112 + 635550432 MAIN.M3.nRawEncoderULINT @@ -42369,7 +60672,7 @@ Use this thing to have a simple indexer with rollover. Input - 635478144 + 635550464 MAIN.M3.nRawEncoderUINT @@ -42382,7 +60685,7 @@ Use this thing to have a simple indexer with rollover. Input - 635478208 + 635550528 MAIN.M3.nRawEncoderINT @@ -42395,7 +60698,7 @@ Use this thing to have a simple indexer with rollover. Input - 635478224 + 635550544 MAIN.fbMotionStage_m3.fbDriveVirtual.MasterAxis.NcToPlc @@ -42407,7 +60710,7 @@ Use this thing to have a simple indexer with rollover. Input - 635496768 + 635569792 MAIN.M4.Axis.NcToPlc @@ -42419,7 +60722,7 @@ Use this thing to have a simple indexer with rollover. Input - 635794752 + 635867776 MAIN.M4.bLimitForwardEnable @@ -42432,7 +60735,7 @@ Use this thing to have a simple indexer with rollover. Input - 635802752 + 635875776 MAIN.M4.bLimitBackwardEnable @@ -42445,7 +60748,7 @@ Use this thing to have a simple indexer with rollover. Input - 635802760 + 635875784 MAIN.M4.bHome @@ -42458,7 +60761,7 @@ Use this thing to have a simple indexer with rollover. Input - 635802768 + 635875792 MAIN.M4.bHardwareEnable @@ -42481,7 +60784,7 @@ Use this thing to have a simple indexer with rollover. Input - 635802784 + 635875808 MAIN.M4.nRawEncoderULINT @@ -42494,7 +60797,7 @@ Use this thing to have a simple indexer with rollover. Input - 635802816 + 635875840 MAIN.M4.nRawEncoderUINT @@ -42507,7 +60810,7 @@ Use this thing to have a simple indexer with rollover. Input - 635802880 + 635875904 MAIN.M4.nRawEncoderINT @@ -42520,7 +60823,7 @@ Use this thing to have a simple indexer with rollover. Input - 635802896 + 635875920 MAIN.fbMotionStage_m4.fbDriveVirtual.MasterAxis.NcToPlc @@ -42532,7 +60835,7 @@ Use this thing to have a simple indexer with rollover. Input - 635821440 + 635895168 MAIN.M5.Axis.NcToPlc @@ -42544,7 +60847,7 @@ Use this thing to have a simple indexer with rollover. Input - 636119424 + 636193152 MAIN.M5.bLimitForwardEnable @@ -42557,7 +60860,7 @@ Use this thing to have a simple indexer with rollover. Input - 636127424 + 636201152 MAIN.M5.bLimitBackwardEnable @@ -42570,7 +60873,7 @@ Use this thing to have a simple indexer with rollover. Input - 636127432 + 636201160 MAIN.M5.bHome @@ -42583,7 +60886,7 @@ Use this thing to have a simple indexer with rollover. Input - 636127440 + 636201168 MAIN.M5.bHardwareEnable @@ -42606,7 +60909,7 @@ Use this thing to have a simple indexer with rollover. Input - 636127456 + 636201184 MAIN.M5.nRawEncoderULINT @@ -42619,7 +60922,7 @@ Use this thing to have a simple indexer with rollover. Input - 636127488 + 636201216 MAIN.M5.nRawEncoderUINT @@ -42632,7 +60935,7 @@ Use this thing to have a simple indexer with rollover. Input - 636127552 + 636201280 MAIN.M5.nRawEncoderINT @@ -42645,7 +60948,7 @@ Use this thing to have a simple indexer with rollover. Input - 636127568 + 636201296 MAIN.M1K3.fbRunHOMS.bSTOEnable1 @@ -42658,7 +60961,7 @@ Use this thing to have a simple indexer with rollover. Input - 636144544 + 636218976 MAIN.M1K3.fbRunHOMS.bSTOEnable2 @@ -42670,7 +60973,7 @@ Use this thing to have a simple indexer with rollover. Input - 636144552 + 636218984 MAIN.M1K3.fbRunHOMS.stYupEnc @@ -42683,7 +60986,7 @@ Use this thing to have a simple indexer with rollover. Input - 636144576 + 636219008 MAIN.M1K3.fbRunHOMS.stYdwnEnc @@ -42695,7 +60998,7 @@ Use this thing to have a simple indexer with rollover. Input - 636144704 + 636219136 MAIN.M1K3.fbRunHOMS.stXupEnc @@ -42707,7 +61010,7 @@ Use this thing to have a simple indexer with rollover. Input - 636144832 + 636219264 MAIN.M1K3.fbRunHOMS.stXdwnEnc @@ -42719,7 +61022,7 @@ Use this thing to have a simple indexer with rollover. Input - 636144960 + 636219392 MAIN.M1K3.fbRunHOMS.fbAutoCoupleY.gantry_diff_limit.PEnc.Count @@ -42732,7 +61035,7 @@ Use this thing to have a simple indexer with rollover. Input - 636145536 + 636219968 MAIN.M1K3.fbRunHOMS.fbAutoCoupleY.gantry_diff_limit.SEnc.Count @@ -42745,7 +61048,7 @@ Use this thing to have a simple indexer with rollover. Input - 636145664 + 636220096 MAIN.M1K3.fbRunHOMS.fbAutoCoupleX.gantry_diff_limit.PEnc.Count @@ -42758,7 +61061,7 @@ Use this thing to have a simple indexer with rollover. Input - 636155008 + 636229440 MAIN.M1K3.fbRunHOMS.fbAutoCoupleX.gantry_diff_limit.SEnc.Count @@ -42771,7 +61074,7 @@ Use this thing to have a simple indexer with rollover. Input - 636155136 + 636229568 MAIN.fbM1K3PitchControl.fbMotionStage.fbDriveVirtual.MasterAxis.NcToPlc @@ -42783,7 +61086,55 @@ Use this thing to have a simple indexer with rollover. Input - 637389120 + 637463552 + + + PRG_MR1K3_SOMS.bMR1K3_Y_ENC_Ready + 8 + BOOL + + + TcLinkTo + TIIB[EL5042_M1K3_Yupdwn]^FB Inputs Channel 1^Status^Ready + + + TcAddressType + Input + + + 637767016 + + + PRG_MR1K3_SOMS.bMR1K3_Y_ENC_TxPDO + 8 + BOOL + + + TcLinkTo + TIIB[EL5042_M1K3_Yupdwn]^FB Inputs Channel 1^Status^TxPDO State + + + TcAddressType + Input + + + 637767024 + + + PRG_MR2K3_SOMS.bMR2K3_Y_ENC_Ready + 8 + BOOL + + + TcLinkTo + TIIB[EL5042_M2K3_Yupdwn]^FB Inputs Channel 1^Status^Ready + + + TcAddressType + Input + + + 637767032 MAIN.M6.Axis.NcToPlc @@ -42795,7 +61146,7 @@ Use this thing to have a simple indexer with rollover. Input - 637693632 + 637768128 MAIN.M6.bLimitForwardEnable @@ -42808,7 +61159,7 @@ Use this thing to have a simple indexer with rollover. Input - 637701632 + 637776128 MAIN.M6.bLimitBackwardEnable @@ -42821,7 +61172,7 @@ Use this thing to have a simple indexer with rollover. Input - 637701640 + 637776136 MAIN.M6.bHome @@ -42834,7 +61185,7 @@ Use this thing to have a simple indexer with rollover. Input - 637701648 + 637776144 MAIN.M6.bHardwareEnable @@ -42857,7 +61208,7 @@ Use this thing to have a simple indexer with rollover. Input - 637701664 + 637776160 MAIN.M6.nRawEncoderULINT @@ -42870,7 +61221,7 @@ Use this thing to have a simple indexer with rollover. Input - 637701696 + 637776192 MAIN.M6.nRawEncoderUINT @@ -42883,7 +61234,7 @@ Use this thing to have a simple indexer with rollover. Input - 637701760 + 637776256 MAIN.M6.nRawEncoderINT @@ -42896,7 +61247,7 @@ Use this thing to have a simple indexer with rollover. Input - 637701776 + 637776272 MAIN.fbMotionStage_m6.fbDriveVirtual.MasterAxis.NcToPlc @@ -42908,7 +61259,7 @@ Use this thing to have a simple indexer with rollover. Input - 637720320 + 637795520 MAIN.M7.Axis.NcToPlc @@ -42920,7 +61271,7 @@ Use this thing to have a simple indexer with rollover. Input - 638018304 + 638093504 MAIN.M7.bLimitForwardEnable @@ -42933,7 +61284,7 @@ Use this thing to have a simple indexer with rollover. Input - 638026304 + 638101504 MAIN.M7.bLimitBackwardEnable @@ -42946,7 +61297,7 @@ Use this thing to have a simple indexer with rollover. Input - 638026312 + 638101512 MAIN.M7.bHome @@ -42959,7 +61310,7 @@ Use this thing to have a simple indexer with rollover. Input - 638026320 + 638101520 MAIN.M7.bHardwareEnable @@ -42982,7 +61333,7 @@ Use this thing to have a simple indexer with rollover. Input - 638026336 + 638101536 MAIN.M7.nRawEncoderULINT @@ -42995,7 +61346,7 @@ Use this thing to have a simple indexer with rollover. Input - 638026368 + 638101568 MAIN.M7.nRawEncoderUINT @@ -43008,7 +61359,7 @@ Use this thing to have a simple indexer with rollover. Input - 638026432 + 638101632 MAIN.M7.nRawEncoderINT @@ -43021,7 +61372,7 @@ Use this thing to have a simple indexer with rollover. Input - 638026448 + 638101648 MAIN.fbMotionStage_m7.fbDriveVirtual.MasterAxis.NcToPlc @@ -43033,7 +61384,7 @@ Use this thing to have a simple indexer with rollover. Input - 638044992 + 638120896 MAIN.M8.Axis.NcToPlc @@ -43045,7 +61396,7 @@ Use this thing to have a simple indexer with rollover. Input - 638342976 + 638418880 MAIN.M8.bLimitForwardEnable @@ -43058,7 +61409,7 @@ Use this thing to have a simple indexer with rollover. Input - 638350976 + 638426880 MAIN.M8.bLimitBackwardEnable @@ -43071,7 +61422,7 @@ Use this thing to have a simple indexer with rollover. Input - 638350984 + 638426888 MAIN.M8.bHome @@ -43084,7 +61435,7 @@ Use this thing to have a simple indexer with rollover. Input - 638350992 + 638426896 MAIN.M8.bHardwareEnable @@ -43107,7 +61458,7 @@ Use this thing to have a simple indexer with rollover. Input - 638351008 + 638426912 MAIN.M8.nRawEncoderULINT @@ -43120,7 +61471,7 @@ Use this thing to have a simple indexer with rollover. Input - 638351040 + 638426944 MAIN.M8.nRawEncoderUINT @@ -43133,7 +61484,7 @@ Use this thing to have a simple indexer with rollover. Input - 638351104 + 638427008 MAIN.M8.nRawEncoderINT @@ -43146,7 +61497,7 @@ Use this thing to have a simple indexer with rollover. Input - 638351120 + 638427024 MAIN.fbMotionStage_m8.fbDriveVirtual.MasterAxis.NcToPlc @@ -43158,7 +61509,7 @@ Use this thing to have a simple indexer with rollover. Input - 638369664 + 638446272 MAIN.M9.Axis.NcToPlc @@ -43170,7 +61521,7 @@ Use this thing to have a simple indexer with rollover. Input - 638667648 + 638744256 MAIN.M9.bLimitForwardEnable @@ -43183,7 +61534,7 @@ Use this thing to have a simple indexer with rollover. Input - 638675648 + 638752256 MAIN.M9.bLimitBackwardEnable @@ -43196,7 +61547,7 @@ Use this thing to have a simple indexer with rollover. Input - 638675656 + 638752264 MAIN.M9.bHome @@ -43209,7 +61560,7 @@ Use this thing to have a simple indexer with rollover. Input - 638675664 + 638752272 MAIN.M9.bHardwareEnable @@ -43232,7 +61583,7 @@ Use this thing to have a simple indexer with rollover. Input - 638675680 + 638752288 MAIN.M9.nRawEncoderULINT @@ -43245,7 +61596,7 @@ Use this thing to have a simple indexer with rollover. Input - 638675712 + 638752320 MAIN.M9.nRawEncoderUINT @@ -43258,7 +61609,7 @@ Use this thing to have a simple indexer with rollover. Input - 638675776 + 638752384 MAIN.M9.nRawEncoderINT @@ -43271,7 +61622,7 @@ Use this thing to have a simple indexer with rollover. Input - 638675792 + 638752400 MAIN.fbMotionStage_m9.fbDriveVirtual.MasterAxis.NcToPlc @@ -43283,7 +61634,7 @@ Use this thing to have a simple indexer with rollover. Input - 638694336 + 638771648 MAIN.M10.Axis.NcToPlc @@ -43295,7 +61646,7 @@ Use this thing to have a simple indexer with rollover. Input - 638992320 + 639069632 MAIN.M10.bLimitForwardEnable @@ -43308,7 +61659,7 @@ Use this thing to have a simple indexer with rollover. Input - 639000320 + 639077632 MAIN.M10.bLimitBackwardEnable @@ -43321,7 +61672,7 @@ Use this thing to have a simple indexer with rollover. Input - 639000328 + 639077640 MAIN.M10.bHome @@ -43334,7 +61685,7 @@ Use this thing to have a simple indexer with rollover. Input - 639000336 + 639077648 MAIN.M10.bHardwareEnable @@ -43357,7 +61708,7 @@ Use this thing to have a simple indexer with rollover. Input - 639000352 + 639077664 MAIN.M10.nRawEncoderULINT @@ -43370,7 +61721,7 @@ Use this thing to have a simple indexer with rollover. Input - 639000384 + 639077696 MAIN.M10.nRawEncoderUINT @@ -43383,7 +61734,7 @@ Use this thing to have a simple indexer with rollover. Input - 639000448 + 639077760 MAIN.M10.nRawEncoderINT @@ -43396,7 +61747,7 @@ Use this thing to have a simple indexer with rollover. Input - 639000464 + 639077776 MAIN.M2K3.fbRunHOMS.bSTOEnable1 @@ -43409,7 +61760,7 @@ Use this thing to have a simple indexer with rollover. Input - 639017440 + 639095456 MAIN.M2K3.fbRunHOMS.bSTOEnable2 @@ -43421,7 +61772,7 @@ Use this thing to have a simple indexer with rollover. Input - 639017448 + 639095464 MAIN.M2K3.fbRunHOMS.stYupEnc @@ -43434,7 +61785,7 @@ Use this thing to have a simple indexer with rollover. Input - 639017472 + 639095488 MAIN.M2K3.fbRunHOMS.stYdwnEnc @@ -43446,7 +61797,7 @@ Use this thing to have a simple indexer with rollover. Input - 639017600 + 639095616 MAIN.M2K3.fbRunHOMS.stXupEnc @@ -43458,7 +61809,7 @@ Use this thing to have a simple indexer with rollover. Input - 639017728 + 639095744 MAIN.M2K3.fbRunHOMS.stXdwnEnc @@ -43470,7 +61821,7 @@ Use this thing to have a simple indexer with rollover. Input - 639017856 + 639095872 MAIN.M2K3.fbRunHOMS.fbAutoCoupleY.gantry_diff_limit.PEnc.Count @@ -43483,7 +61834,7 @@ Use this thing to have a simple indexer with rollover. Input - 639018432 + 639096448 MAIN.M2K3.fbRunHOMS.fbAutoCoupleY.gantry_diff_limit.SEnc.Count @@ -43496,7 +61847,7 @@ Use this thing to have a simple indexer with rollover. Input - 639018560 + 639096576 MAIN.M2K3.fbRunHOMS.fbAutoCoupleX.gantry_diff_limit.PEnc.Count @@ -43509,7 +61860,7 @@ Use this thing to have a simple indexer with rollover. Input - 639027904 + 639105920 MAIN.M2K3.fbRunHOMS.fbAutoCoupleX.gantry_diff_limit.SEnc.Count @@ -43522,7 +61873,7 @@ Use this thing to have a simple indexer with rollover. Input - 639028032 + 639106048 MAIN.fbM2K3PitchControl.fbMotionStage.fbDriveVirtual.MasterAxis.NcToPlc @@ -43534,7 +61885,7 @@ Use this thing to have a simple indexer with rollover. Input - 640262016 + 640340032 MAIN.fbMotionStage_m10.fbDriveVirtual.MasterAxis.NcToPlc @@ -43546,7 +61897,7 @@ Use this thing to have a simple indexer with rollover. Input - 640567936 + 640645952 MAIN.fbCoolingPanelMR1K3.fbFlow_1.iRaw @@ -43559,7 +61910,7 @@ Use this thing to have a simple indexer with rollover. Input - 640865056 + 640943072 MAIN.fbCoolingPanelMR1K3.fbPress_1.iRaw @@ -43572,7 +61923,7 @@ Use this thing to have a simple indexer with rollover. Input - 640865504 + 640943520 MAIN.fbCoolingPanelMR1K3.fbFlow_2.iRaw @@ -43585,7 +61936,7 @@ Use this thing to have a simple indexer with rollover. Input - 640866016 + 640944032 MAIN.fbCoolingPanelMR2K3.fbFlow_1.iRaw @@ -43598,7 +61949,7 @@ Use this thing to have a simple indexer with rollover. Input - 640866656 + 640944672 MAIN.fbCoolingPanelMR2K3.fbPress_1.iRaw @@ -43611,7 +61962,7 @@ Use this thing to have a simple indexer with rollover. Input - 640867104 + 640945120 MAIN.fbCoolingPanelMR2K3.fbFlow_2.iRaw @@ -43624,90 +61975,114 @@ Use this thing to have a simple indexer with rollover. Input - 640867616 + 640945632 - GVL_M1K3.M1K3_Pitch.diEncCnt - Raw encoder count - 64 - LINT + PRG_2_PMPS_POST.fbArbiterIO.i_stCurrentBP + 1760 + ST_BeamParams_IO + + TcLinkTo + TIIB[PMPS_PRE]^IO Inputs^CurrentBP + TcAddressType Input - 640902080 + 640968992 - GVL_M2K3.M2K3_Pitch.diEncCnt - Raw encoder count - 64 - LINT + PRG_2_PMPS_POST.fbArbiterIO.xTxPDO_toggle + 1 + BIT + + pytmc + pv: TxPDO_toggle + io: i + + + TcLinkTo + TIIB[PMPS_PRE]^SYNC Inputs^TxPDO toggle + TcAddressType Input - 640904832 + 640972512 - - - 33 - PlcTask Outputs - 2 - 80805888 - MAIN.bActivateVarCoolMR1K3 - 8 - BOOL + PRG_2_PMPS_POST.fbArbiterIO.xTxPDO_state + 1 + BIT - TcLinkTo - TIIB[EL2004_M1K3_VCV]^Channel 1^Output + pytmc + pv: TxPDO_state + io: i - pytmc - - pv: MR1K3:SOMS:VCV - io: io - field: ZNAM OFF - field: ONAM ON - + TcLinkTo + TIIB[PMPS_PRE]^SYNC Inputs^TxPDO state TcAddressType - Output + Input - 634543480 + 640972513 - MAIN.bActivateVarCoolMR2K3 + PRG_MR2K3_SOMS.bMR2K3_Y_ENC_TxPDO 8 BOOL TcLinkTo - TIIB[EL2004_M2K3_VCV]^Channel 1^Output + TIIB[EL5042_M2K3_Yupdwn]^FB Inputs Channel 1^Status^TxPDO State - pytmc - - pv: MR2K3:SOMS:VCV - io: io - field: ZNAM OFF - field: ONAM ON - + TcAddressType + Input + + + 641134112 + + + GVL_M1K3.M1K3_Pitch.diEncCnt + Raw encoder count + 64 + LINT + + + TcAddressType + Input + + 641146752 + + + GVL_M2K3.M2K3_Pitch.diEncCnt + Raw encoder count + 64 + LINT + TcAddressType - Output + Input - 634819632 + 641149504 + + + 33 + PlcTask Outputs + 2 + 81199104 MAIN.M1.Axis.PlcToNc 1024 @@ -43718,7 +62093,7 @@ Use this thing to have a simple indexer with rollover. Output - 634819712 + 634890624 MAIN.M1.bBrakeRelease @@ -43731,7 +62106,7 @@ Use this thing to have a simple indexer with rollover. Output - 634828760 + 634899672 MAIN.fbMotionStage_m1.fbDriveVirtual.MasterAxis.PlcToNc @@ -43743,7 +62118,7 @@ Use this thing to have a simple indexer with rollover. Output - 634846400 + 634918016 MAIN.M2.Axis.PlcToNc @@ -43755,7 +62130,7 @@ Use this thing to have a simple indexer with rollover. Output - 635144384 + 635216000 MAIN.M2.bBrakeRelease @@ -43768,7 +62143,7 @@ Use this thing to have a simple indexer with rollover. Output - 635153432 + 635225048 MAIN.fbMotionStage_m2.fbDriveVirtual.MasterAxis.PlcToNc @@ -43780,7 +62155,7 @@ Use this thing to have a simple indexer with rollover. Output - 635171072 + 635243392 MAIN.M3.Axis.PlcToNc @@ -43792,7 +62167,7 @@ Use this thing to have a simple indexer with rollover. Output - 635469056 + 635541376 MAIN.M3.bBrakeRelease @@ -43805,7 +62180,7 @@ Use this thing to have a simple indexer with rollover. Output - 635478104 + 635550424 MAIN.fbMotionStage_m3.fbDriveVirtual.MasterAxis.PlcToNc @@ -43817,7 +62192,7 @@ Use this thing to have a simple indexer with rollover. Output - 635495744 + 635568768 MAIN.M4.Axis.PlcToNc @@ -43829,7 +62204,7 @@ Use this thing to have a simple indexer with rollover. Output - 635793728 + 635866752 MAIN.M4.bBrakeRelease @@ -43842,7 +62217,7 @@ Use this thing to have a simple indexer with rollover. Output - 635802776 + 635875800 MAIN.fbMotionStage_m4.fbDriveVirtual.MasterAxis.PlcToNc @@ -43854,7 +62229,7 @@ Use this thing to have a simple indexer with rollover. Output - 635820416 + 635894144 MAIN.M5.Axis.PlcToNc @@ -43866,7 +62241,7 @@ Use this thing to have a simple indexer with rollover. Output - 636118400 + 636192128 MAIN.M5.bBrakeRelease @@ -43879,7 +62254,7 @@ Use this thing to have a simple indexer with rollover. Output - 636127448 + 636201176 MAIN.fbM1K3PitchControl.fbMotionStage.fbDriveVirtual.MasterAxis.PlcToNc @@ -43891,7 +62266,57 @@ Use this thing to have a simple indexer with rollover. Output - 637388096 + 637462528 + + + MAIN.bActivateVarCoolMR1K3 + 8 + BOOL + + + TcLinkTo + TIIB[EL2004_M1K3_VCV]^Channel 1^Output + + + pytmc + + pv: MR1K3:SOMS:VCV + io: io + field: ZNAM OFF + field: ONAM ON + + + + TcAddressType + Output + + + 637766984 + + + MAIN.bActivateVarCoolMR2K3 + 8 + BOOL + + + TcLinkTo + TIIB[EL2004_M2K3_VCV]^Channel 1^Output + + + pytmc + + pv: MR2K3:SOMS:VCV + io: io + field: ZNAM OFF + field: ONAM ON + + + + TcAddressType + Output + + + 637767008 MAIN.M6.Axis.PlcToNc @@ -43903,7 +62328,7 @@ Use this thing to have a simple indexer with rollover. Output - 637692608 + 637767104 MAIN.M6.bBrakeRelease @@ -43916,7 +62341,7 @@ Use this thing to have a simple indexer with rollover. Output - 637701656 + 637776152 MAIN.fbMotionStage_m6.fbDriveVirtual.MasterAxis.PlcToNc @@ -43928,7 +62353,7 @@ Use this thing to have a simple indexer with rollover. Output - 637719296 + 637794496 MAIN.M7.Axis.PlcToNc @@ -43940,7 +62365,7 @@ Use this thing to have a simple indexer with rollover. Output - 638017280 + 638092480 MAIN.M7.bBrakeRelease @@ -43953,7 +62378,7 @@ Use this thing to have a simple indexer with rollover. Output - 638026328 + 638101528 MAIN.fbMotionStage_m7.fbDriveVirtual.MasterAxis.PlcToNc @@ -43965,7 +62390,7 @@ Use this thing to have a simple indexer with rollover. Output - 638043968 + 638119872 MAIN.M8.Axis.PlcToNc @@ -43977,7 +62402,7 @@ Use this thing to have a simple indexer with rollover. Output - 638341952 + 638417856 MAIN.M8.bBrakeRelease @@ -43990,7 +62415,7 @@ Use this thing to have a simple indexer with rollover. Output - 638351000 + 638426904 MAIN.fbMotionStage_m8.fbDriveVirtual.MasterAxis.PlcToNc @@ -44002,7 +62427,7 @@ Use this thing to have a simple indexer with rollover. Output - 638368640 + 638445248 MAIN.M9.Axis.PlcToNc @@ -44014,7 +62439,7 @@ Use this thing to have a simple indexer with rollover. Output - 638666624 + 638743232 MAIN.M9.bBrakeRelease @@ -44027,7 +62452,7 @@ Use this thing to have a simple indexer with rollover. Output - 638675672 + 638752280 MAIN.fbMotionStage_m9.fbDriveVirtual.MasterAxis.PlcToNc @@ -44039,7 +62464,7 @@ Use this thing to have a simple indexer with rollover. Output - 638693312 + 638770624 MAIN.M10.Axis.PlcToNc @@ -44051,7 +62476,7 @@ Use this thing to have a simple indexer with rollover. Output - 638991296 + 639068608 MAIN.M10.bBrakeRelease @@ -44064,7 +62489,7 @@ Use this thing to have a simple indexer with rollover. Output - 639000344 + 639077656 MAIN.fbM2K3PitchControl.fbMotionStage.fbDriveVirtual.MasterAxis.PlcToNc @@ -44076,7 +62501,7 @@ Use this thing to have a simple indexer with rollover. Output - 640260992 + 640339008 MAIN.fbMotionStage_m10.fbDriveVirtual.MasterAxis.PlcToNc @@ -44088,14 +62513,82 @@ Use this thing to have a simple indexer with rollover. Output - 640566912 + 640644928 + + + PRG_2_PMPS_POST.fbArbiterIO.q_stRequestedBP + 1760 + ST_BeamParams_IO + + + TcLinkTo + TIIB[PMPS_PRE]^IO Outputs^RequestedBP + + + TcAddressType + Output + + + 640970752 + + + PRG_MR1K3_SOMS.nMR1K3_Y_ENC_PMPS + 64 + ULINT + + + TcLinkTo + TIIB[PMPS_PRE]^IO Outputs^MR1K3_Y_ENC + + + TcAddressType + Output + + + 641134144 + + + PRG_MR2K3_SOMS.nMR2K3_Y_ENC_PMPS + 64 + ULINT + + + TcLinkTo + TIIB[PMPS_PRE]^IO Outputs^MR2K3_Y_ENC + + + TcAddressType + Output + + + 641134208 + + + GVL_PMPS.fbFastFaultOutput1.q_xFastFaultOut + 8 + BOOL + + + pytmc + + pv: FaultHWO + io: i + field: DESC Hardware Output Status + + + + TcAddressType + Output + + + 642100104 35 PlcTask Internal 2 - 80805888 + 81199104 DefaultGlobals.stSys Included for you @@ -44260,7 +62753,7 @@ Use this thing to have a simple indexer with rollover. 32 TIME - T#1ms + T @@ -44275,7 +62768,7 @@ Use this thing to have a simple indexer with rollover. 32 TIME - T#100ms + T @@ -44290,7 +62783,7 @@ Use this thing to have a simple indexer with rollover. 32 TIME - T#10s + T @@ -44305,7 +62798,7 @@ Use this thing to have a simple indexer with rollover. 32 TIME - T#10m + T @@ -46518,6 +65011,21 @@ Use this thing to have a simple indexer with rollover. 3160928 + + Global_Variables.GLOBAL_FORMAT_HASH_PREFIX_TYPE + Global hash prefix type constant used for binary, octal or hexadecimal string format type + 16 + E_HashPrefixTypes + + E_HashPrefixTypes.HASHPREFIX_IEC + + + + TcVarGlobal + + + 3160944 + Global_Variables.GLOBAL_SBCS_TABLE Windows SBCS (Single Byte Character Set) Code Page Table @@ -46972,6 +65480,216 @@ Use this thing to have a simple indexer with rollover. 3224288 + + Global_Variables.FORMAT_MAX_ARGS + Format string constant: Max. number of format arguments in FB_FormatString + 16 + INT + + 10 + + + + TcVarGlobal + + + 3224320 + + + Global_Variables.FLOATREC_EXP_IS_NAN + T_FloatRec type and F_GetFloatRec function constant: The value is #NAN or -#NAN + 16 + INT + + -32768 + + + + TcVarGlobal + + + 3224336 + + + Global_Variables.FLOATREC_EXP_IS_INF + T_FloatRec type and F_GetFloatRec function constant: The value is #INF or -#INF + 16 + INT + + 32767 + + + + TcVarGlobal + + + 3224352 + + + Global_Variables.FLOATREC_MAX_DIGITS + T_FloatRec type and F_GetFloatRec function constant: Max. number of significant digits. Note: double precision floats have max. 15 significant digits + 16 + INT + + 20 + + + + TcVarGlobal + + + 3224368 + + + Global_Variables.FLOATREC_MAX_PRECISION + T_FloatRec type and F_GetFloatRec function constant: Max. floating point precision (1e-307) + 16 + INT + + 307 + + + + TcVarGlobal + + + 3224384 + + + Global_Variables.FLOATREC_MIN_PRECISION + T_FloatRec type and F_GetFloatRec function constant: Min. floating point precision + 16 + INT + + 0 + + + + TcVarGlobal + + + 3224400 + + + Global_Variables.FMTERR_NOERROR + FB_FormatString function block error code: No error + 32 + DWORD + + 0 + + + + TcVarGlobal + + + 3224416 + + + Global_Variables.FMTERR_PERCENTSIGNPOSITION + FB_FormatString function block error code: Percent sign (%) at invalid position + 32 + DWORD + + 16 + + + + TcVarGlobal + + + 3224448 + + + Global_Variables.FMTERR_ASTERISKPOSITION + FB_FormatString function block error code: Asterisk parameter at invalid position + 32 + DWORD + + 32 + + + + TcVarGlobal + + + 3224480 + + + Global_Variables.FMTERR_WIDTHVALUE + FB_FormatString function block error code: Invalid width field value + 32 + DWORD + + 64 + + + + TcVarGlobal + + + 3224512 + + + Global_Variables.FMTERR_PRECISIONVALUE + FB_FormatString function block error code: Invalid precision field value + 32 + DWORD + + 128 + + + + TcVarGlobal + + + 3224544 + + + Global_Variables.FMTERR_FLAGPOSITION + FB_FormatString function block error code: One of the flags at invalid position + 32 + DWORD + + 256 + + + + TcVarGlobal + + + 3224576 + + + Global_Variables.FMTERR_WIDTHPRECISIONVALPOS + FB_FormatString function block error code: The width or precision field value at invalid position + 32 + DWORD + + 512 + + + + TcVarGlobal + + + 3224608 + + + Global_Variables.FMTERR_PRECISIONDOTPOSITION + FB_FormatString function block error code: Dot "." sign of precision field at invalid position + 32 + DWORD + + 1024 + + + + TcVarGlobal + + + 3224640 + Global_Variables.FMTERR_TYPEFIELDVALUE FB_FormatString function block error code: Invalid (unsupported) type field value @@ -46987,6 +65705,66 @@ Use this thing to have a simple indexer with rollover. 3224672 + + Global_Variables.FMTERR_ARGTYPEINVALID + FB_FormatString function block error code: Different type field and argument parameter + 32 + DWORD + + 4096 + + + + TcVarGlobal + + + 3224704 + + + Global_Variables.FMTERR_UNACCEPTEDPARAMETER + FB_FormatString function block error code: Invalid format string parameters + 32 + DWORD + + 8192 + + + + TcVarGlobal + + + 3224736 + + + Global_Variables.FMTERR_INSUFFICIENTARGS + FB_FormatString function block error code: To much arguments in format string + 32 + DWORD + + 16384 + + + + TcVarGlobal + + + 3224768 + + + Global_Variables.FMTERR_DESTBUFFOVERFLOW + FB_FormatString function block error code: Destination string buffer overflow (formatted string is to long ) + 32 + DWORD + + 32768 + + + + TcVarGlobal + + + 3224800 + Global_Variables.FMTERR_INVALIDPOINTERINPUT FB_FormatString function block error code: Invalid pointer input @@ -47028,6 +65806,155 @@ Use this thing to have a simple indexer with rollover. 3224864 + + Global_Variables.FORMAT_HEXASC_CODES + 256 + BYTE + + 0 + 2 + + + 0 + 16 + + + + [0,0] + 48 + + + [0,1] + 49 + + + [0,2] + 50 + + + [0,3] + 51 + + + [0,4] + 52 + + + [0,5] + 53 + + + [0,6] + 54 + + + [0,7] + 55 + + + [0,8] + 56 + + + [0,9] + 57 + + + [0,10] + 97 + + + [0,11] + 98 + + + [0,12] + 99 + + + [0,13] + 100 + + + [0,14] + 101 + + + [0,15] + 102 + + + [1,0] + 48 + + + [1,1] + 49 + + + [1,2] + 50 + + + [1,3] + 51 + + + [1,4] + 52 + + + [1,5] + 53 + + + [1,6] + 54 + + + [1,7] + 55 + + + [1,8] + 56 + + + [1,9] + 57 + + + [1,10] + 65 + + + [1,11] + 66 + + + [1,12] + 67 + + + [1,13] + 68 + + + [1,14] + 69 + + + [1,15] + 70 + + + + + TcVarGlobal + + + 3224960 + Global_Variables.FORMAT_DECASC_CODES ASCII to decimal and decimal digits to ASCII codes @@ -48875,7 +67802,7 @@ Use this thing to have a simple indexer with rollover. 32 TIME - T#0MS + T @@ -49107,7 +68034,7 @@ Use this thing to have a simple indexer with rollover. MOTION_GVL.fbPmpsFileReader Global file reader instance, used in fbStandardPMPSDB 928512 - FB_JsonFileToJsonDoc + FB_JsonFileToJsonDoc TcVarGlobal @@ -49118,7 +68045,7 @@ Use this thing to have a simple indexer with rollover. MOTION_GVL.fbStandardPMPSDB Global DB handler, Must be called in PLC project to use the PMPS DB for a motion project - 27744 + 90624 FB_Standard_PMPSDB @@ -49134,11 +68061,51 @@ Use this thing to have a simple indexer with rollover. 634496000 + + Global_Version.stLibVersion_lcls_twincat_motion + 288 + ST_LibVersion + + + .iMajor + 4 + + + .iMinor + 1 + + + .iBuild + 1 + + + .iRevision + 0 + + + .nFlags + 1 + + + .sVersion + 4.1.1 + + + + + const_non_replaced + + + TcVarGlobal + + + 634586624 + PMPS_GVL.stRequestedBeamParameters Summarized request for the line, as recognized by the line arbiter PLC 1760 - ST_BeamParams + ST_BeamParams pytmc @@ -49152,13 +68119,13 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 634523744 + 634586912 PMPS_GVL.stCurrentBeamParameters Currently active BP set, broadcast by the line arbiter PLC 1760 - ST_BeamParams + ST_BeamParams pytmc @@ -49172,7 +68139,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 634525504 + 634588672 PMPS_GVL.g_areVBoundaries @@ -49197,19 +68164,19 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 634527264 + 634590432 PMPS_GVL.PERange Included to place the ev ranges properly 32 - PE_Ranges + PE_Ranges TcVarGlobal - 634528288 + 634591456 PMPS_GVL.EXCLUDED_ASSERTION_ID @@ -49224,7 +68191,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 634528416 + 634591584 PMPS_GVL.VISIBLE_TEST_VELOCITY @@ -49238,7 +68205,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 634528448 + 634591616 PMPS_GVL.FAST_TEST_VELOCITY @@ -49252,7 +68219,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 634528512 + 634591680 PMPS_GVL.MAX_DEVICE_STATES @@ -49266,7 +68233,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 634528576 + 634591744 PMPS_GVL.TRANS_SCALING_FACTOR @@ -49281,7 +68248,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 634528608 + 634591776 PMPS_GVL.AUX_ATTENUATORS @@ -49296,7 +68263,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 634528640 + 634591808 PMPS_GVL.MAX_VETO_DEVICES @@ -49310,12 +68277,12 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 634528656 + 634591824 PMPS_GVL.stAttenuators 64 - ST_PMPS_Attenuator + ST_PMPS_Attenuator .nTran @@ -49331,12 +68298,12 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 634528672 + 634591840 PMPS_GVL.cstFullBeam 1760 - ST_BeamParams + ST_BeamParams pytmc @@ -49351,12 +68318,12 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 634528736 + 634591904 PMPS_GVL.cst0RateBeam 1760 - ST_BeamParams + ST_BeamParams pytmc @@ -49371,7 +68338,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 634530496 + 634593664 PMPS_GVL.cnMaxStateArrayLen @@ -49396,7 +68363,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 634532256 + 634595424 PMPS_GVL.MAX_APERTURES @@ -49411,12 +68378,12 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 634532272 + 634595440 PMPS_GVL.DUMMY_AUX_ATT_ARRAY 1024 - ST_PMPS_Attenuator + ST_PMPS_Attenuator 1 16 @@ -49430,7 +68397,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 634532288 + 634595456 PMPS_GVL.g_cBoundaries @@ -49444,7 +68411,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 634533312 + 634596480 PMPS_PARAM.MAX_FAST_FAULTS @@ -49459,7 +68426,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 634533328 + 634596496 PMPS_GVL.reVHyst @@ -49486,7 +68453,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 634533344 + 634596512 PMPS_GVL.g_areVBoundariesL @@ -49641,7 +68608,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 634533376 + 634596544 PMPS_GVL.g_areVBoundariesK @@ -49796,7 +68763,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 634534400 + 634597568 PMPS_PARAM.MAX_ASSERTIONS @@ -49811,7 +68778,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 634535424 + 634598592 PMPS_PARAM.TRANS_MARGIN @@ -49826,7 +68793,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 634535456 + 634598624 PMPS_TOOLS.fbJson @@ -49837,7 +68804,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 634535488 + 634598656 Global_Version.stLibVersion_Tc2_MC2 @@ -49877,7 +68844,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 634535744 + 634598912 Global_Variables.TcMcGlobal @@ -49888,7 +68855,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 634536032 + 634599200 GVL_Constants.cPiezoRange @@ -49903,7 +68870,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 634543008 + 634606176 Global_Variables.DEFAULT_HOME_POSITION @@ -49917,7 +68884,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 634543040 + 634606208 Global_Variables.DEFAULT_BACKLASHVALUE @@ -49931,7 +68898,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 634543104 + 634606272 Global_Version.stLibVersion_Tc2_Math @@ -49967,7 +68934,87 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 634543168 + 634606336 + + + 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 + + + 634606624 + + + 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 + + + 634607936 Global_Variables.nCTRL_LOGGER_DATA_ARRAY_SIZE @@ -49981,13 +69028,18 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 634543456 + 634608224 - MAIN.bM1K3PitchBusy - 8 - BOOL - 634543472 + FB_DynMem_Manager.nInstanceCreations + 16 + UINT + + + TcVarStatic + + + 634608240 GVL_Constants.nGANTRY_TOLERANCE_NM_DEFAULT @@ -50002,7 +69054,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 634543488 + 634608256 GVL_Constants.cPiezoMaxVoltage @@ -50017,7 +69069,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 634543552 + 634608320 GVL_Constants.cPiezoMinVoltage @@ -50032,7 +69084,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 634543616 + 634608384 GVL_TestStructs.TestPitch_LimitSwitches @@ -50061,7 +69113,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 634543680 + 634608448 Global_Version.stLibVersion_lcls_twincat_optics @@ -50101,7 +69153,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 634546176 + 634610944 Global_Version.stLibVersion_Tc2_ControllerToolbox @@ -50141,7 +69193,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 634546464 + 634611232 Global_Variables.stCtrl_GLOBAL_CycleTimeInterpretation @@ -50152,13 +69204,13 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 634546752 + 634611520 PiezoSerial.rtInitParams_M1K3 64 R_TRIG - 634699712 + 634770656 PiezoSerial.tonTimeoutRst_M1K3 @@ -50168,16 +69220,16 @@ Use this thing to have a simple indexer with rollover. .PT - T#2S + T - 634699776 + 634770720 PiezoSerial.rtInitParams_M2K3 64 R_TRIG - 634809632 + 634880576 PiezoSerial.tonTimeoutRst_M2K3 @@ -50187,27 +69239,15 @@ Use this thing to have a simple indexer with rollover. .PT - T#2S + T - 634809696 - - - MAIN.bM2K3PitchDone - 8 - BOOL - 634819616 - - - MAIN.bM2K3PitchBusy - 8 - BOOL - 634819624 + 634880640 MAIN.M1 M1K3 Yup - 25280 + 25984 DUT_MotionStage @@ -50218,12 +69258,17 @@ Use this thing to have a simple indexer with rollover. .nEnableMode E_StageEnableMode.ALWAYS + + .bPowerSelf + true + TcLinkTo .bLimitForwardEnable:=TIIB[EL7047_M1K3_Yup]^STM Status^Status^Digital input 1; - .bLimitBackwardEnable:=TIIB[EL7047_M1K3_Yup]^STM Status^Status^Digital input 2 + .bLimitBackwardEnable:=TIIB[EL7047_M1K3_Yup]^STM Status^Status^Digital input 2; + .nRawEncoderULINT:=TIIB[EL5042_M1K3_Yupdwn]^FB Inputs Channel 1^Position pytmc @@ -50232,18 +69277,18 @@ Use this thing to have a simple indexer with rollover. - 634819648 + 634890560 MAIN.fbMotionStage_m1 299392 FB_MotionStage - 634844928 + 634916544 MAIN.M2 M1K3 Ydwn - 25280 + 25984 DUT_MotionStage @@ -50254,6 +69299,10 @@ Use this thing to have a simple indexer with rollover. .nEnableMode E_StageEnableMode.ALWAYS + + .bPowerSelf + true + @@ -50268,18 +69317,18 @@ Use this thing to have a simple indexer with rollover. - 635144320 + 635215936 MAIN.fbMotionStage_m2 299392 FB_MotionStage - 635169600 + 635241920 MAIN.M3 M1K3 Xup - 25280 + 25984 DUT_MotionStage @@ -50290,12 +69339,17 @@ Use this thing to have a simple indexer with rollover. .nEnableMode E_StageEnableMode.ALWAYS + + .bPowerSelf + true + TcLinkTo .bLimitForwardEnable:=TIIB[EL7047_M1K3_Xup]^STM Status^Status^Digital input 1; - .bLimitBackwardEnable:=TIIB[EL7047_M1K3_Xup]^STM Status^Status^Digital input 2 + .bLimitBackwardEnable:=TIIB[EL7047_M1K3_Xup]^STM Status^Status^Digital input 2; + .nRawEncoderULINT:=TIIB[EL5042_M1K3_Xupdwn]^FB Inputs Channel 1^Position pytmc @@ -50304,18 +69358,18 @@ Use this thing to have a simple indexer with rollover. - 635468992 + 635541312 MAIN.fbMotionStage_m3 299392 FB_MotionStage - 635494272 + 635567296 MAIN.M4 M1K3 Xdwn - 25280 + 25984 DUT_MotionStage @@ -50326,6 +69380,10 @@ Use this thing to have a simple indexer with rollover. .nEnableMode E_StageEnableMode.ALWAYS + + .bPowerSelf + true + @@ -50340,30 +69398,35 @@ Use this thing to have a simple indexer with rollover. - 635793664 + 635866688 MAIN.fbMotionStage_m4 299392 FB_MotionStage - 635818944 + 635892672 MAIN.M5 M1K3 Pitch Stepper - 25280 + 25984 DUT_MotionStage .fVelocity 50 + + .bPowerSelf + true + TcLinkTo .bLimitForwardEnable:=TIIB[EL7047_M1K3_PitchCoarse]^STM Status^Status^Digital input 1; - .bLimitBackwardEnable:=TIIB[EL7047_M1K3_PitchCoarse]^STM Status^Status^Digital input 2 + .bLimitBackwardEnable:=TIIB[EL7047_M1K3_PitchCoarse]^STM Status^Status^Digital input 2; + .nRawEncoderULINT:=TIIB[EL5042_M1K3_Pitch]^FB Inputs Channel 1^Position pytmc @@ -50372,7 +69435,7 @@ Use this thing to have a simple indexer with rollover. - 636118336 + 636192064 MAIN.M1K3 @@ -50395,7 +69458,7 @@ Use this thing to have a simple indexer with rollover. - 636143616 + 636218048 MAIN.fbYRMSErrorM1K3 @@ -50410,19 +69473,19 @@ Use this thing to have a simple indexer with rollover. - 636164288 + 636238720 MAIN.fMaxYRMSErrorM1K3 64 LREAL - 636551296 + 636625728 MAIN.fMinYRMSErrorM1K3 64 LREAL - 636551360 + 636625792 MAIN.fbXRMSErrorM1K3 @@ -50436,19 +69499,19 @@ Use this thing to have a simple indexer with rollover. - 636551424 + 636625856 MAIN.fMaxXRMSErrorM1K3 64 LREAL - 636938432 + 637012864 MAIN.fMinXRMSErrorM1K3 64 LREAL - 636938496 + 637012928 MAIN.fbPitchRMSErrorM1K3 @@ -50462,31 +69525,49 @@ Use this thing to have a simple indexer with rollover. - 636938560 + 637012992 MAIN.fMaxPitchRMSErrorM1K3 64 LREAL - 637325568 + 637400000 MAIN.fMinPitchRMSErrorM1K3 64 LREAL - 637325632 + 637400064 MAIN.fbM1K3PitchControl Pitch Control 366848 FB_PitchControl - 637325696 + 637400128 + + + MAIN.bM1K3PitchBusy + 8 + BOOL + 637766976 + + + MAIN.bM2K3PitchDone + 8 + BOOL + 637766992 + + + MAIN.bM2K3PitchBusy + 8 + BOOL + 637767000 MAIN.M6 M2K3 Yup - 25280 + 25984 DUT_MotionStage @@ -50497,12 +69578,17 @@ Use this thing to have a simple indexer with rollover. .nEnableMode E_StageEnableMode.ALWAYS + + .bPowerSelf + true + TcLinkTo .bLimitForwardEnable:=TIIB[EL7047_M2K3_Yup]^STM Status^Status^Digital input 1; - .bLimitBackwardEnable:=TIIB[EL7047_M2K3_Yup]^STM Status^Status^Digital input 2 + .bLimitBackwardEnable:=TIIB[EL7047_M2K3_Yup]^STM Status^Status^Digital input 2; + .nRawEncoderULINT:=TIIB[EL5042_M2K3_Yupdwn]^FB Inputs Channel 1^Position pytmc @@ -50511,18 +69597,18 @@ Use this thing to have a simple indexer with rollover. - 637692544 + 637767040 MAIN.fbMotionStage_m6 299392 FB_MotionStage - 637717824 + 637793024 MAIN.M7 M2K3 Ydwn - 25280 + 25984 DUT_MotionStage @@ -50533,6 +69619,10 @@ Use this thing to have a simple indexer with rollover. .nEnableMode E_StageEnableMode.ALWAYS + + .bPowerSelf + true + @@ -50547,18 +69637,18 @@ Use this thing to have a simple indexer with rollover. - 638017216 + 638092416 MAIN.fbMotionStage_m7 299392 FB_MotionStage - 638042496 + 638118400 MAIN.M8 M2K3 Xup - 25280 + 25984 DUT_MotionStage @@ -50569,12 +69659,17 @@ Use this thing to have a simple indexer with rollover. .nEnableMode E_StageEnableMode.ALWAYS + + .bPowerSelf + true + TcLinkTo .bLimitForwardEnable:=TIIB[EL7047_M2K3_Xup]^STM Status^Status^Digital input 1; - .bLimitBackwardEnable:=TIIB[EL7047_M2K3_Xup]^STM Status^Status^Digital input 2 + .bLimitBackwardEnable:=TIIB[EL7047_M2K3_Xup]^STM Status^Status^Digital input 2; + .nRawEncoderULINT:=TIIB[EL5042_M2K3_Xupdwn]^FB Inputs Channel 1^Position pytmc @@ -50583,18 +69678,18 @@ Use this thing to have a simple indexer with rollover. - 638341888 + 638417792 MAIN.fbMotionStage_m8 299392 FB_MotionStage - 638367168 + 638443776 MAIN.M9 M2K3 Xdwn - 25280 + 25984 DUT_MotionStage @@ -50605,6 +69700,10 @@ Use this thing to have a simple indexer with rollover. .nEnableMode E_StageEnableMode.ALWAYS + + .bPowerSelf + true + @@ -50619,18 +69718,18 @@ Use this thing to have a simple indexer with rollover. - 638666560 + 638743168 MAIN.fbMotionStage_m9 299392 FB_MotionStage - 638691840 + 638769152 MAIN.M10 M2K3 Pitch Stepper - 25280 + 25984 DUT_MotionStage @@ -50641,12 +69740,17 @@ Use this thing to have a simple indexer with rollover. .nEnableMode E_StageEnableMode.ALWAYS + + .bPowerSelf + true + TcLinkTo .bLimitForwardEnable:=TIIB[EL7047_M2K3_PitchCoarse]^STM Status^Status^Digital input 1; - .bLimitBackwardEnable:=TIIB[EL7047_M2K3_PitchCoarse]^STM Status^Status^Digital input 2 + .bLimitBackwardEnable:=TIIB[EL7047_M2K3_PitchCoarse]^STM Status^Status^Digital input 2; + .nRawEncoderULINT:=TIIB[EL5042_M2K3_Pitch]^FB Inputs Channel 1^Position pytmc @@ -50655,7 +69759,7 @@ Use this thing to have a simple indexer with rollover. - 638991232 + 639068544 MAIN.M2K3 @@ -50678,7 +69782,7 @@ Use this thing to have a simple indexer with rollover. - 639016512 + 639094528 MAIN.fbYRMSErrorM2K3 @@ -50693,19 +69797,19 @@ Use this thing to have a simple indexer with rollover. - 639037184 + 639115200 MAIN.fMaxYRMSErrorM2K3 64 LREAL - 639424192 + 639502208 MAIN.fMinYRMSErrorM2K3 64 LREAL - 639424256 + 639502272 MAIN.fbXRMSErrorM2K3 @@ -50719,19 +69823,19 @@ Use this thing to have a simple indexer with rollover. - 639424320 + 639502336 MAIN.fMaxXRMSErrorM2K3 64 LREAL - 639811328 + 639889344 MAIN.fMinXRMSErrorM2K3 64 LREAL - 639811392 + 639889408 MAIN.fbPitchRMSErrorM2K3 @@ -50745,33 +69849,33 @@ Use this thing to have a simple indexer with rollover. - 639811456 + 639889472 MAIN.fMaxPitchRMSErrorM2K3 64 LREAL - 640198464 + 640276480 MAIN.fMinPitchRMSErrorM2K3 64 LREAL - 640198528 + 640276544 MAIN.fbM2K3PitchControl Pitch Control 366848 FB_PitchControl - 640198592 + 640276608 MAIN.fbMotionStage_m10 Lost serial comm to E621 controller, unsure why... 299392 FB_MotionStage - 640565440 + 640643456 MAIN.fbCoolingPanelMR1K3 @@ -50793,7 +69897,7 @@ Use this thing to have a simple indexer with rollover. - 640864832 + 640942848 MAIN.fbCoolingPanelMR2K3 @@ -50815,7 +69919,19 @@ Use this thing to have a simple indexer with rollover. - 640866432 + 640944448 + + + PRG_2_PMPS_POST.fbArbiterIO + 138752 + FB_SubSysToArbiter_IO + 640968192 + + + PRG_2_PMPS_POST.fb_vetoArbiter + 27168 + FB_VetoArbiter + 641106944 Constants.bLittleEndian @@ -50830,7 +69946,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 640899616 + 641134128 Constants.bSimulationMode @@ -50845,22 +69961,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 640899624 - - - Constants.nRegisterSize - Does the target support multiple cores? - 16 - WORD - - 32 - - - - TcVarGlobal - - - 640899632 + 641134136 GVL_M1K3_Constants.nYUP_ENC_REF @@ -50876,7 +69977,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 640902144 + 641146816 GVL_M1K3_Constants.nYDWN_ENC_REF @@ -50890,7 +69991,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 640902208 + 641146880 GVL_M1K3_Constants.nXUP_ENC_REF @@ -50904,7 +70005,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 640902272 + 641146944 GVL_M1K3_Constants.nXDWN_ENC_REF @@ -50918,7 +70019,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 640902336 + 641147008 GVL_M2K3_Constants.nYUP_ENC_REF @@ -50934,7 +70035,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 640904896 + 641149568 GVL_M2K3_Constants.nYDWN_ENC_REF @@ -50948,7 +70049,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 640904960 + 641149632 GVL_M2K3_Constants.nXUP_ENC_REF @@ -50962,7 +70063,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 640905024 + 641149696 GVL_M2K3_Constants.nXDWN_ENC_REF @@ -50976,7 +70077,72 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 640905088 + 641149760 + + + GVL_PMPS.fbArbiter1 + 474624 + FB_Arbiter + + + pytmc + pv: PLC:TXI:KFE:OPTICS:ARB:01 + + + old_input_assignments + + + TcVarGlobal + + + 641150592 + + + GVL_PMPS.fbArbiter2 + 474624 + FB_Arbiter + + + pytmc + pv: PLC:TXI:KFE:OPTICS:ARB:02 + + + old_input_assignments + + + TcVarGlobal + + + 641625216 + + + GVL_PMPS.fbFastFaultOutput1 + 495296 + FB_HardwareFFOutput + + + .bAutoReset + true + + + .i_sNetID + 172.21.42.126.1.1 + + + + + pytmc + pv: PLC:TXI:KFE:OPTICS:FFO:01 + + + TcLinkTo + .q_xFastFaultOut:=TIIB[PMPS_PRE]^IO Outputs^FFO + + + TcVarGlobal + + + 642099840 Constants.RuntimeVersion @@ -51006,7 +70172,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 640905920 + 642595136 Constants.CompilerVersion @@ -51036,7 +70202,22 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 640905984 + 642595200 + + + Constants.nRegisterSize + Does the target support multiple cores? + 16 + WORD + + 32 + + + + TcVarGlobal + + + 642595264 Constants.nPackMode @@ -51051,7 +70232,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 640906048 + 642595280 Constants.bFPUSupport @@ -51066,7 +70247,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 640906064 + 642595296 Constants.bMulticoreSupport @@ -51080,7 +70261,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 640906072 + 642595304 Constants.RuntimeVersionNumeric @@ -51095,7 +70276,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 640906080 + 642595328 Constants.CompilerVersionNumeric @@ -51110,7 +70291,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 640906112 + 642595360 TwinCAT_LicenseInfoVarList._LicenseInfo @@ -51231,7 +70412,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 640906144 + 642595392 TwinCAT_SystemInfoVarList._TaskInfo @@ -51249,7 +70430,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 640910272 + 642599488 TwinCAT_SystemInfoVarList._TaskPouOid_PlcTask @@ -51263,7 +70444,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 640913440 + 642602688 TwinCAT_SystemInfoVarList._TaskOid_PlcTask @@ -51277,7 +70458,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 640913472 + 642602720 TwinCAT_SystemInfoVarList.__PlcTask @@ -51298,7 +70479,439 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 640914912 + 642604160 + + + TC_EVENT_CLASSES.TcSystemEventClass + BB2A9999-102E-421A-8D3D-B0660E07B1FE + 128 + GUID + + + .Data1 + 3140131225 + + + .Data2 + 4142 + + + .Data3 + 16922 + + + .Data4[0] + 141 + + + .Data4[1] + 61 + + + .Data4[2] + 176 + + + .Data4[3] + 102 + + + .Data4[4] + 14 + + + .Data4[5] + 7 + + + .Data4[6] + 177 + + + .Data4[7] + 254 + + + + + TcTypeSystem + + + tc_no_symbol + unused;ST_TcSystemEventClass + + + const_non_replaced + + + suppress_warning_0 + C0228 + + + TcVarGlobal + + + 642621888 + + + TC_EVENT_CLASSES.TcGeneralAdsEventClass + 7D760066-D373-4A0C-B0F1-328B1620B0F0 + 128 + GUID + + + .Data1 + 2104885350 + + + .Data2 + 54131 + + + .Data3 + 18956 + + + .Data4[0] + 176 + + + .Data4[1] + 241 + + + .Data4[2] + 50 + + + .Data4[3] + 139 + + + .Data4[4] + 22 + + + .Data4[5] + 32 + + + .Data4[6] + 176 + + + .Data4[7] + 240 + + + + + TcTypeSystem + + + tc_no_symbol + unused;ST_TcGeneralAdsEventClass + + + const_non_replaced + + + suppress_warning_0 + C0228 + + + TcVarGlobal + + + 642622016 + + + TC_EVENT_CLASSES.TcRouterEventClass + E759605A-2341-48FC-9F3F-C8FA405C4B24 + 128 + GUID + + + .Data1 + 3881394266 + + + .Data2 + 9025 + + + .Data3 + 18684 + + + .Data4[0] + 159 + + + .Data4[1] + 63 + + + .Data4[2] + 200 + + + .Data4[3] + 250 + + + .Data4[4] + 64 + + + .Data4[5] + 92 + + + .Data4[6] + 75 + + + .Data4[7] + 36 + + + + + TcTypeSystem + + + tc_no_symbol + unused;ST_TcRouterEventClass + + + const_non_replaced + + + suppress_warning_0 + C0228 + + + TcVarGlobal + + + 642622144 + + + TC_EVENT_CLASSES.Win32EventClass + 1D0C4BAC-ECF3-4F33-8F20-A12E77AB6387 + 128 + GUID + + + .Data1 + 487345068 + + + .Data2 + 60659 + + + .Data3 + 20275 + + + .Data4[0] + 143 + + + .Data4[1] + 32 + + + .Data4[2] + 161 + + + .Data4[3] + 46 + + + .Data4[4] + 119 + + + .Data4[5] + 171 + + + .Data4[6] + 99 + + + .Data4[7] + 135 + + + + + TcTypeSystem + + + tc_no_symbol + unused;ST_Win32EventClass + + + const_non_replaced + + + suppress_warning_0 + C0228 + + + TcVarGlobal + + + 642622400 + + + 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 + + + 642622528 + + + 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 + + + 642622656 TC_EVENTS.LCLSGeneralEventClass @@ -51324,14 +70937,54 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 640966432 + 642660160 + + + 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 + + + 648204864 36 PlcTask Retains 2 - 80805888 + 81199104 PMPS_GVL.SuccessfulPreemption Any time BPTM applies a new BP request which is confirmed @@ -51349,7 +71002,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 634528320 + 634591488 PMPS_GVL.AccumulatedFF @@ -51368,7 +71021,7 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 634528352 + 634591520 PMPS_GVL.BP_jsonDoc @@ -51379,12 +71032,30 @@ Use this thing to have a simple indexer with rollover. TcVarGlobal - 634528384 + 634591552 + + TcSystemEventClass + + + TcGeneralAdsEventClass + + + TcRouterEventClass + + + Win32EventClass + + + TcIPCDiagEventClass + + + TcIPCDiagPlcApiEventClass + LCLSGeneralEventClass @@ -51396,15 +71067,15 @@ Use this thing to have a simple indexer with rollover. ChangeDate - 2024-03-15T14:37:00 + 2024-06-20T10:40:48 GeneratedCodeSize - 606208 + 671744 GlobalDataSize - 79810560 + 80031744