Logical controllers' programming
-
Upload
stuart-carver -
Category
Documents
-
view
15 -
download
2
description
Transcript of Logical controllers' programming
Logical controllers' programming
2- Programming
To program means to order with clarity a group of instructions that step by step they execute operations. .
That group will have to be a send to the controller in a language structured by form to be interpreted by the Central Unit without ambiguities.
Everything it should pass as if we taught to a human being the acting of the same tasks.
2-Introduction to the programming
Logical controllers' programmingLogical controllers' programming
LOAD - LD-LOAD - LD-
2.1- Basic instructions
It begins a line or logical block with open contact.
Logical controllers' programmingLogical controllers' programming
2.1- Basic instructions
LOAD NOT -LD NOT-LOAD NOT -LD NOT-
It begins a line or logical block with closed contact.
Logical controllers' programmingLogical controllers' programming
2.1- Basic instructions
AND -AND- AND -AND-
It accomplishes one AND logical with the specified operator.
Logical controllers' programmingLogical controllers' programming
2.1- Basic instructions
AND NOT -AND NOT-AND NOT -AND NOT-
It accomplishes one AND logical with the inverse state of the specified bit.
Logical controllers' programmingLogical controllers' programming
2.1- Basic instructions
OR -OR- OR -OR-
It accomplishes a OR logical with the specified bit.
Logical controllers' programmingLogical controllers' programming
2.1- Basic instructions
OR NOT - OR NOT – OR NOT - OR NOT –
It accomplishes a OR logical with the inverse of the state of the specified bit
Logical controllers' programmingLogical controllers' programming
2.1- Basic instructions
OUT -OUT- OUT -OUT-
It makes the exit for the specified bit.
Logical controllers' programmingLogical controllers' programming
2.1- Basic instructions
OUT NOT -OUT NOT- OUT NOT -OUT NOT-
It makes the inverse of the exit of the specified bit.
Logical controllers' programmingLogical controllers' programming
2.1- Basic instructions
END -FUN (01)-END -FUN (01)-
It is obligatory the use of this instruction in the end of the program.It is Without this instruction the program it will never be executed.
Logical controllers' programmingLogical controllers' programming
Introduction of simple programs Introduction of simple programs
Example 1Example 1
Ladder DiagramLadder Diagram Statement ListStatement List
2.2- Simple Diagrams
Logical controllers' programmingLogical controllers' programming
2.2- Simple diagrams
Introduction of simple programsIntroduction of simple programs
Example 2Example 2
Ladder DiagramLadder Diagram Statement ListStatement List
Logical controllers' programmingLogical controllers' programming
2.2- Simple diagrams
Introduction of simple programsIntroduction of simple programs
Example 3Example 3
Ladder DiagramLadder Diagram Statement ListStatement List
Logical controllers' programmingLogical controllers' programming
AND LOAD AND LOAD
It accomplishes one AND logical among 2 blocks.
Ladder DiagramLadder Diagram Statement ListStatement List
2.3- Complex Diagrams
Logical controllers' programmingLogical controllers' programming
2.3- Complex diagrams
OR LOAD OR LOAD
It accomplishes a OR logical among 2 blocks.
Ladder DiagramLadder Diagram Statement ListStatement List
Logical controllers' programmingLogical controllers' programming
It retains the logical information (0 ou 1), during the treatment of the mesh where he was generated.
Ladder DiagramLadder Diagram Statement ListStatement List
2.4- Temporary memory