How Does A PLC Operate?
There are four basic steps in the operation of all PLCs; Input Scan, Program Scan, Output Scan, and Housekeeping. These steps continually take place in a repeating loop.Four Steps In The PLC Operations
|
|
What Programming Language Is Used To Program A PLC?
While Ladder Logic is the most commonly used PLC programming language, it is not the only one. The following table lists of some of languages that are used to program a PLC.Ladder Diagram (LD) Traditional ladder logic is graphical programming language. Initially programmed with simple contacts that simulated the opening and closing of relays, Ladder Logic programming has been expanded to include such functions as counters, timers, shift registers, and math operations.
Function Block Diagram (FBD) - A graphical language for depicting signal and data flows through re-usable function blocks. FBD is very useful for expressing the interconnection of control system algorithms and logic.
Structured Text (ST) – A high level text language that encourages structured programming. It has a language structure (syntax) that strongly resembles PASCAL and supports a wide range of standard functions and operators. For example;
If Speed1 > 100.0 then Flow_Rate: = 50.0 + Offset_A1; Else Flow_Rate: = 100.0; Steam: = ON End_If; |
LD
MPC LD ST RESET: ST | R1 RESET PRESS_1 MAX_PRESS LD 0 A_X43 |
No comments:
Post a Comment