runtime.typ 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. TYPE
  2. SFCActionType : STRUCT (*internal use*)
  3. x : BOOL;
  4. _x : BOOL;
  5. t : TIME;
  6. _t : TIME;
  7. AC : SFCActionControl;
  8. END_STRUCT;
  9. SFCActionType2 : STRUCT (*internal use*)
  10. x : BOOL;
  11. _x : BOOL;
  12. AC : SFCAC2;
  13. END_STRUCT;
  14. SFCActionCType : STRUCT (*internal use*)
  15. x : BOOL;
  16. _x : BOOL;
  17. force : BOOL;
  18. _force : BOOL;
  19. active : BOOL;
  20. _active : BOOL;
  21. error : BOOL;
  22. AC : SFCActionControl;
  23. END_STRUCT;
  24. SFCActionCType2 : STRUCT (*internal use*)
  25. x : BOOL;
  26. _x : BOOL;
  27. force : BOOL;
  28. _force : BOOL;
  29. active : BOOL;
  30. _active : BOOL;
  31. error : BOOL;
  32. AC : SFCAC2;
  33. END_STRUCT;
  34. SFCActionCType3 : STRUCT (*internal use*)
  35. t : LREAL;
  36. _t : LREAL;
  37. tp : LREAL;
  38. x : BOOL;
  39. _x : BOOL;
  40. force : BOOL;
  41. _force : BOOL;
  42. active : BOOL;
  43. _active : BOOL;
  44. error : BOOL;
  45. AC : SFCAC3;
  46. END_STRUCT;
  47. SFCStepType : STRUCT (*internal use*)
  48. x : BOOL;
  49. t : TIME;
  50. _x : BOOL;
  51. _t : TIME;
  52. END_STRUCT;
  53. SFCStepCType : STRUCT (*internal use*)
  54. t : TIME;
  55. _t : TIME;
  56. inactive_actions : UDINT;
  57. _inactive_actions : UDINT;
  58. error_actions : UDINT;
  59. x : BOOL;
  60. _x : BOOL;
  61. x_activate : BOOL;
  62. force : BOOL;
  63. _force : BOOL;
  64. active : BOOL;
  65. _active : BOOL;
  66. error : BOOL;
  67. tip : BOOL;
  68. tip_disable_duration: BOOL;
  69. tip_disable_action : BOOL;
  70. END_STRUCT;
  71. SFCStepCType3 : STRUCT (*internal use*)
  72. t : LREAL;
  73. _t : LREAL;
  74. tp : LREAL;
  75. inactive_actions : UDINT;
  76. _inactive_actions : UDINT;
  77. error_actions : UDINT;
  78. x : BOOL;
  79. _x : BOOL;
  80. x_activate : {REDUND_UNREPLICABLE} BOOL;
  81. force : BOOL;
  82. _force : BOOL;
  83. active : BOOL;
  84. _active : BOOL;
  85. error : BOOL;
  86. tip : BOOL;
  87. tip_disable_duration : BOOL;
  88. tip_disable_action : BOOL;
  89. END_STRUCT;
  90. SFCSimpleStepCType : STRUCT (*internal use*)
  91. t : TIME;
  92. _t : TIME;
  93. x : BOOL;
  94. _x : BOOL;
  95. x_activate : BOOL;
  96. force : BOOL;
  97. _force : BOOL;
  98. active : BOOL;
  99. _active : BOOL;
  100. error : BOOL;
  101. tip : BOOL;
  102. tip_disable_duration : BOOL;
  103. tip_disable_action : BOOL;
  104. END_STRUCT;
  105. SFCSimpleStepCType3 : STRUCT (*internal use*)
  106. t : LREAL;
  107. _t : LREAL;
  108. tp : LREAL;
  109. x : BOOL;
  110. _x : BOOL;
  111. x_activate : {REDUND_UNREPLICABLE} BOOL;
  112. force : BOOL;
  113. _force : BOOL;
  114. active : BOOL;
  115. _active : BOOL;
  116. error : BOOL;
  117. tip : BOOL;
  118. tip_disable_duration : BOOL;
  119. tip_disable_action : BOOL;
  120. END_STRUCT;
  121. SFCTransitionCType : STRUCT (*internal use*)
  122. force : BOOL;
  123. _force : BOOL;
  124. active : BOOL;
  125. _active : BOOL;
  126. END_STRUCT;
  127. TimerType : STRUCT (*internal use*)
  128. ptime : LREAL;
  129. etime : LREAL;
  130. start : LREAL;
  131. in : USINT;
  132. q : USINT;
  133. END_STRUCT;
  134. ArFBStateInternalType : STRUCT (*fb state machine internal context*)
  135. ExecuteRef : UDINT;
  136. BusyRef : UDINT;
  137. DoneRef : UDINT;
  138. ErrorRef : UDINT;
  139. ActiveRef : UDINT;
  140. StatusRef : UDINT;
  141. FBCyclic : UDINT;
  142. AsyfumaState : UDINT;
  143. FBResetOut : UDINT;
  144. Argument : UDINT;
  145. State : UDINT;
  146. ExecutePrev : BOOL;
  147. END_STRUCT;
  148. ArFBAsyFuMaInternalType : STRUCT (*asynchronous function manager internal context*)
  149. State : UINT;
  150. Result : DINT;
  151. END_STRUCT;
  152. END_TYPE