VAT_IN.TcDUT 4.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <TcPlcObject Version="1.1.0.1" ProductVersion="3.1.4024.12">
  3. <DUT Name="VAT_IN" Id="{d83f3728-12cc-43ef-bb31-ae6ecbf5d2e1}">
  4. <Declaration><![CDATA[TYPE VAT_IN :
  5. STRUCT
  6. Actual_Pressure : REAL ;
  7. Pressure_Sensor_1 : REAL ;
  8. Pressure_Sensor_2 : REAL ;
  9. Actual_Position : REAL ;
  10. Control_Mode : SINT ; (*
  11. CONTROL MODE:
  12. 1=HOMING
  13. 2=POSITION
  14. 3=CLOSE
  15. 4=OPEN
  16. 5=PRESSURE
  17. 6=HOLD:KEEP IN CURRENT POSITION
  18. 7=LEARN:INTERNAL LEARN PROCEDURE
  19. *)
  20. Error_Number : UINT ;
  21. General_Status : UINT ; (*
  22. BIT 0 FIELDBUS DATA VALID
  23. 0 = Valve is not in the EtherCAT state OPERATIONAL or the process data output
  24. watchdog
  25. (SyncManager2) is disabled
  26. 1 = Valve is in the EtherCAT state OPERATIONAL and the process data output
  27. watchdog
  28. (SyncManager2) is enabled
  29. BIT 1 ZERO ADJUST EXECUTED
  30. ZERO ADJUST successful executed, active for 2 seconds
  31. BIT 2 PING PONG RX-BIT
  32. PING PONG RX BIT, is inverted and transmitted back to the fieldbus master (PLC)
  33. BIT 3 PRESSURE SIMULATION
  34. 0 = off
  35. 1 = on
  36. BIT 4 TARGET PRESSURE REACHED
  37. 0 = The actual pressure is not within 2% of the pressure setpoint
  38. 1 = The actual pressure is within 2% of the pressure setpoint
  39. BIT 5-6 NOT USED (reserved) -
  40. BIT 7-8 ACCESS MODE
  41. bit 8 bit 7
  42. 0 0 = LOCAL
  43. 0 1 = REMOTE
  44. 1 0 = LOCKED
  45. BIT 9 WARNINGS ACTIVE
  46. 0 = No WARNINGS
  47. 1 = At least one WARNING of the warning bitmaps is active (GENERAL
  48. WARNING bitmap and EXTENDED WARNING bitmap)
  49. BIT 10 SEALING STATE
  50. Only valid if a sealing functionality is available.
  51. 0 = valve is not sealed
  52. 1 = valve is sealed
  53. BIT 11 INTERLOCK ACTIVE
  54. Is set if an interlock input is active
  55. BIT 12-15 NOT USED (reserved) -
  56. *)
  57. General_Warnings : UINT ; (*
  58. BIT 0 NOT USED (reserved) -
  59. BIT 1 LEARN DATA SET
  60. Learn data not present. Learn required for adaptive pressure control.
  61. Just active if adaptive pressure control algorithm is choosen.
  62. BIT 2 NOT USED (reserved) -
  63. BIT 3 POWER FAILURE BATTERY
  64. Not ready, voltage too low.
  65. Just active if power failure is available.
  66. 4-15 NOT USED (reserved) -
  67. *)
  68. Extended_Warnings : UINT ; (*
  69. BIT 0 REMOTE CONTROL NOT POSSIBLE
  70. Remote control not possible, access mode local is active, change to acces mode
  71. remote or access mode locked
  72. BIT 1 ACTUAL CONTROL MODE SETPOINT NOT ALLOWED
  73. Not possible to switch the actual control mode to CONTROL MODE SETPOINT
  74. • Control mode is interlock or fatal error
  75. • CONTROL MODE SETPOINT is 5 (pressure) or 7 (learn) and no sensor
  76. is selected (sensor mode configuration)
  77. BIT 2 ZERO DISABLED
  78. Using zero function not possible
  79. BIT 3 PFO DEACTIVATED
  80. Power Failure Option is deactivated
  81. BIT 4 NOT USED (reserved) -
  82. BIT 5 OUT OF RANGE: PRESSURE SETPOINT
  83. Value of PRESSURE SETPOINT is out of range
  84. BIT 6 OUT OF RANGE: POSITION SETPOINT
  85. Value of POSITION SETPOINT is out of range
  86. BIT 7-9 NOT USED (reserved) -
  87. BIT 10 OUT OF RANGE: CONTROL MODE SETPOINT
  88. Value of CONTROL MODE SETPOINT is out of range
  89. BIT 11 OUT OF RANGE: GENERAL CONTROL SETPOINT
  90. Value of GENERAL CONTROL SETPOINT is out of range
  91. BIT 12-15 NOT USED (reserved) -
  92. *)
  93. END_STRUCT
  94. END_TYPE
  95. ]]></Declaration>
  96. </DUT>
  97. </TcPlcObject>