2-13-01 Listing of PLC test program (blinks leds on dig. output card) File NONAMELS.INI

written by Step 5 system, read into WP as Ansi Windows text. (Note that Step 5 documentation is always appended to NONAMELS.INI, so it good to erase all of this file except, maybe one letter, before having Step 5 write to it again.

FB 0 C:JONPRGST.S5D LEN=43

Page 1

Segment 1

Name :SEKWENZ

:AN F 0.0

:L KT 100.0

:SD T 0

:A T 0

:= F 0.0

:AN F 0.0

:BEC

:AN Q 0.0

:AN Q 0.1

:AN Q 0.2

:AN Q 0.3

:S Q 0.3

:BEC

:

:A Q 0.3

:R Q 0.3

:S Q 0.2

:BEC

:

:A Q 0.2

:R Q 0.2

:S Q 0.1

:BEC

:

:A Q 0.1

:R Q 0.1

:S Q 0.0

:BEC

:

:A Q 0.0

:R Q 0.0

:BE

OB 1 C:JONPRGST.S5D LEN=8

Page 1

Segment 1 THIS IS OB1

:JU FB 0

Name :SEKWENZ

:BE

OB 20 C:JONPRGST.S5D LEN=10

Page 1

Segment 1 INITIALIZE

THIS SEGMENT IS CALLED BY SIMATIC SYSTEM AT RESET

:O F 10.0

:ON F 10.0

:= F 10.0

:JU OB 1

:BE

OB 21 C:JONPRGST.S5D LEN=10

Page 1

Segment 1

:O F 10.0 JUMP TO MAIN LOOP

:ON F 10.0 END OF BLOCK

:= F 10.0

:JU OB 1

:BE