
EMBEDDED
PLC BL2500 User’s Manual
Running Sample Applications
OEM Technology Solutions
Page 31
5. Select
File
menu
→
New
. On the
New program
window
enter the name of the program (for example, SFCtest1); a
brief comment; select the Language to
SFC
; select
Begin
Style and press
OK
button. The SFCtest1 program is
displayed in the
B25TEST5 – Programs
window.
6. Follow Steps 6 to 11 in Section 3.4.1 to create and populate application’s Dictionary with three
Boolean variables (SW1, SW2 and LED1).
7. On
the
B25TEST5 – Programs
window double-click on
SFCtest1
program.
8. Click on below Step 1. Click on
OR divergence
to add a single divergence. Click on below
single divergence and then on
Transition
to add a transition after the single divergence. Click
on below the transition and add Step 2 by pressing
Step
button. Repeat the same procedure
to add Transitions 3, 4 and 5, Step 3, a single divergence and a Jump to Step 1. The final program
screen should be as shown below.
9. Double-click on Transition 1 and write the expression
SW1 XOR SW2;
on the
Transition GT1 ST/LD
editor that is displayed.