15.07.2013 Views

Automatic control function programming manual ladder language

Automatic control function programming manual ladder language

Automatic control function programming manual ladder language

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5.1 Elements Common to All Types of Sequence<br />

5.1.1 Sequence Header<br />

Programming in Ladder Language<br />

Sequences such as tables of constants, character strings and networks have a common header including:<br />

- an optional sequence identifier called a label (see Sec. 4.2),<br />

- an optional comment (see Sec. 4.2),<br />

- an optional grafcet step (see Sec. 4.3).<br />

5.1.2 Grafcet Step<br />

Grafcet steps increase the speed of execution of a programme because inactive sequences are not executed. Grafcet<br />

steps are used to specify the software using a grafcet methodology.<br />

If it not possible to programme all the actions of a grafcet step in the same sequence, the programmer can write as<br />

many sequences as he desires with the same step number.<br />

5.1.2.1 General<br />

A sequence with a grafcet step has two possible states:<br />

- active when == ,<br />

- inactive when != .<br />

5.1.2.2 How the System Processes Grafcet Steps<br />

When a sequence with a grafcet step is active, the system executes it like a sequence without a step.<br />

When a sequence with a grafcet step is inactive, it is not executed.<br />

Label comment<br />

%M2.W == 5 ?<br />

(System test)<br />

YES<br />

NO<br />

%M2.W 5<br />

en-938846/3 5 - 3<br />

5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!