Programming in LD

1. Example in ST

Let’s considering the logical equation:

%M0 = %I0.%I1+%I2. /%I3

2. Example of Grafcet in ST

Let’s considering the elementary Grafcet

a. Programming Transition/Transition

Initialization

Test on Receptivity and Transition Crossing

Output declaration

b. Programming Transition/Transition with Crossing bits

Initialization

Test on Receptivity

Transition Crossing

Output declaration

c. Programming Step/Step

d. Programming Step/Step with Crossing Bits

Step Equations with Crossing Bits

Step Activation

Output Declaration