Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Programmable logic controller
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Process of a scan cycle== A PLC works in a program scan cycle, where it executes its program repeatedly. The simplest scan cycle consists of 3 steps: # Read inputs. # Execute the program. # Write outputs.<ref name=":3">{{Harvnb|Parr|1998|p=446}}</ref> The program follows the sequence of instructions. It typically takes a time span of tens of milliseconds for the processor to evaluate all the instructions and update the status of all outputs.<ref>Maher, Michael J. ''Real-Time Control and Communications''. 18th Annual ESD/SMI International Programmable Controllers Conference Proceedings, 1989, p. 431-436.</ref> If the system contains remote I/O—for example, an external rack with I/O modules—then that introduces additional uncertainty in the response time of the PLC system.<ref name=":3" /> As PLCs became more advanced, methods were developed to change the sequence of ladder execution, and subroutines were implemented.<ref>Kinner, Russell H., P.E. ''Designing Programmable Controller Application Programs Using More than One Designer''. 14th Annual International Programmable Controllers Conference Proceedings, 1985, p. 97-110.</ref> Special-purpose I/O modules may be used where the scan time of the PLC is too long to allow predictable performance. Precision timing modules, or counter modules for use with [[shaft encoder]]s, are used where the scan time would be too long to reliably count pulses or detect the sense of rotation of an encoder. This allows even a relatively slow PLC to still interpret the counted values to control a machine, as the accumulation of pulses is done by a dedicated module that is unaffected by the speed of program execution.<ref>{{Harvnb|Laughton|Warne|2002|loc=section 16.4.8}}</ref>
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Programmable logic controller
(section)
Add topic