ENVIRONMENT

Light (DO_0)
Door (DI_1)
Close
State (DI_2)
OK

Step 1 (DO_1)

Step 2
(DO_2)

 Step 3
(DO_3)

Step 4
(DO_4)

Step 5 (DO_5)

ICP DAS ISaGRAF FAQ-124 :
http://www.icpdas.com/faq/isagraf.htm