Logical controllers' programming

16
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

description

2-Introduction to the programming. Logical controllers' programming. To program means to order with clarity a group of instructions that step by step they execute operations. . - PowerPoint PPT Presentation

Transcript of Logical controllers' programming

Page 1: 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

Page 2: Logical controllers' programming

Logical controllers' programmingLogical controllers' programming

LOAD - LD-LOAD - LD-

2.1- Basic instructions

It begins a line or logical block with open contact.

Page 3: Logical controllers' programming

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.

Page 4: Logical controllers' programming

Logical controllers' programmingLogical controllers' programming

2.1- Basic instructions

AND -AND- AND -AND-

It accomplishes one AND logical with the specified operator.

Page 5: Logical controllers' programming

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.

Page 6: Logical controllers' programming

Logical controllers' programmingLogical controllers' programming

2.1- Basic instructions

OR -OR- OR -OR-

It accomplishes a OR logical with the specified bit.

Page 7: Logical controllers' programming

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

Page 8: Logical controllers' programming

Logical controllers' programmingLogical controllers' programming

2.1- Basic instructions

OUT -OUT- OUT -OUT-

It makes the exit for the specified bit.

Page 9: Logical controllers' programming

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.

Page 10: Logical controllers' programming

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.

Page 11: Logical controllers' programming

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

Page 12: Logical controllers' programming

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

Page 13: Logical controllers' programming

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

Page 14: Logical controllers' programming

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

Page 15: Logical controllers' programming

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

Page 16: Logical controllers' programming

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