PLC Modeling the Scan Cycle


The first criterion is to extent the scan cycles are modeled. Usually, a program on a PLC is executed cyclically. However when doing only static program analysis the cyclical execution is not interest: models have to take only a single execution of program into account. The most realistic way of modeling PLC is to build the cyclical execution into the model equipped with some real-time information about the duration of each cycle. In some cases, the precise duration of a scan cycle is not of interest, but the cyclic behavior is. Finally when the environment is much slower than the scan cycle length we can use models where program execution is instantaneously. PLCs are embedded systems, and correctness of such system concerns the interaction between a controller and its environment. Therefore, a composition of two models has to be analyzed: one models the PLC with its program and one models the environment. The different ways of modeling scan cycles characterize the abstraction levels on which environment and PLC are composed.

Models without scan cycle
Program models that do not consider the scan cycle are intended mainly for static program analysis. They are not composed together with an environmental model. The models typically do not include real time. The properties that can be investigated based on such models are e.g. data independence between parallel components, unreachable code, safe structure of programs, etc. it can be checked whether a program conforms to some programming guidelines. It is reasonable to restrict formal analysis only to well constructed program, e.g. not every syntactically correct program, but programs using a certain programming discipline.

Models with explicit scan cycle
Generally, for each program execution there are a lower and an upper time bound. The lower time bound results from the time needed for update an output and input and the self checks of the operation system. The upper time bound depends on the longest execution path in the program. Under the assumptions it is important that we don’t consider interrupts, they make it difficult to predict a scan cycle duration.

Hopefully this article can add your insights.
Please follow me:

ShareTo
Share on Facebook Tweet this Share to Google Plus Stumble this article
CLOSE

Enter Your Email Address




All Labels

  1. ABB PLC
  2. Allen Bradley PLC
  3. Analog Input
  4. Android
  5. Android and PLC
  6. Android Bluetooth
  7. Automatic Gates using PLC
  8. Baldor PLC
  9. Battery Level Indicator using PLC Analog
  10. BMS
  11. Building Management System
  12. Car Ticketing Machine using PLC
  13. CIMON PLC
  14. Click Series PLC
  15. Computer Vision
  16. Computer Vision and PLC
  17. Control Seven Segment Display with PLC
  18. Conveyor Control Using PLC
  19. CPU PLC
  20. CV and PLC
  21. CX-One
  22. DCS
  23. DDC
  24. DELMIA V5
  25. DeltaV
  26. Digital Input
  27. DirectLogic PLC
  28. DirectSOFT PLC
  29. Eaton PLC
  30. Elevator with PLC Program
  31. EPICS PLC
  32. Fatek PLC
  33. Festo PLC
  34. Fieldbus
  35. Forex Trading and PLC
  36. FPGA PLC
  37. GE Fanuc PLC
  38. GP proface
  39. GX Developer
  40. Heater Controller with PLC
  41. Hitachi PLC
  42. HMI
  43. Honeywell PLC
  44. IDEC PLC
  45. Keyence PLC
  46. Koyo PLC
  47. LG PLC
  48. Lock Unlock Door Using PLC
  49. Logixpro PLC
  50. Maple OIT
  51. Matsushita PLC
  52. MELSEC A
  53. MELSEC Q
  54. Memory PLC
  55. Micro PLC
  56. MicroSmart PLC
  57. Mitsubishi PLC
  58. Mobile Application
  59. Modbus
  60. Modicon PLC
  61. Momentum PLC
  62. Motion Control
  63. National Instruments PLC
  64. Omron PLC
  65. OPC
  66. PAC
  67. Panasonic PLC
  68. Parking Information using PLC
  69. Password Using PLC
  70. PLC
  71. PLC and CNC
  72. PLC and Computer
  73. PLC and Facebook
  74. PLC and PC
  75. PLC and Servo
  76. PLC Battery
  77. PLC Beginner Guide
  78. PLC Book
  79. PLC Cable
  80. PLC Codesys
  81. PLC Companies List
  82. PLC Computers
  83. PLC Design
  84. PLC for 3 Movement
  85. PLC for Assembly Line
  86. PLC for Automatic Welding
  87. PLC for Binding Machine
  88. PLC for Cutting Machine
  89. PLC for Filling Machine
  90. PLC for Fountain Application
  91. PLC for Injection Molding
  92. PLC for Marking
  93. PLC for Packing
  94. PLC for Rotary Bottle Washing
  95. PLC for Snack Vending Machine
  96. PLC for Sorter Machine
  97. PLC for Water Treatment
  98. PLC Hardware
  99. PLC Hybrid
  100. PLC Information
  101. PLC Knowledge
  102. PLC Language
  103. PLC Link Model
  104. PLC Mitsubishi Download
  105. PLC Model
  106. PLC Modules
  107. PLC Simulator
  108. PLC Software
  109. PLC Supplier
  110. PLC Types
  111. PLC Wiring
  112. PLC WorkShop
  113. PLC-ANALYZER
  114. PLCSIM
  115. Power Supply for PLC
  116. Profibus
  117. ProSafe PLC
  118. Push ON Push OFF with PLC
  119. Quickpanel Operator Interfaces
  120. RTU
  121. RTU and PLC
  122. SAS
  123. SCADA
  124. Schneider PLC
  125. SHARP PLC
  126. Siemens PLC
  127. SINUMERIK CNC
  128. Small Modular PLC
  129. Standard Sequence Programming for PLC
  130. Substation Automation System
  131. Teco PLC
  132. Telemetry
  133. TEP PLC
  134. Texas Instruments PLC
  135. Timer Countdown with PLC
  136. Toshiba PLC
  137. Touch Screen PLC
  138. Traffic Light with PLC
  139. TWIDO PLC
  140. Types of PLC
  141. Unitary PLC
  142. Unitronics PLC
  143. VIPA PLC
  144. Vision PLC
  145. Weighing Machine Using PLC
  146. Yokogawa PLC
  147. Zelio PLC

Search This Blog

Loading...
Copyright © 2009- All Rights Reserved