
EMBEDDED
PLC BL2500 User’s Manual
Running Sample Applications
OEM Technology Solutions
Page 24
23. Select
Make
menu
→
Make application
to compile the PLC application. The
Code generator
window is displayed. Press
Exit
button.
24. Select
Debug
→
Link setup
(or press
Link Setup
) and configure the Target PLC
↔
PC link. Follow
the guidelines on Step 2 of Section 3.2.
25. Select
Debug
→
Debug
(or press
Debug
) to open the
Debugger
window. If an application is
running, stop it (press
Stop
button
on the toolbar). On the
Debugger
window select
File
→
Download
to download the b25test1 application to the Target PLC. A progress bar on the
Debugger
window shows the progress of the download process. Once the downloading is completed the
B25TEST1 – Debug
programs window is displayed (On the
Debugger
window the application state
will be
RUN
).
26. Double-click on
FBtest1
program. The
FBTEST1 – FBD/LD Programs
window is displayed with the
variables in BLUE or RED colour depending on its current state, FALSE or TRUE respectively. If the
digital input IN00 of the BL2500 is short circuited, SW1 is FALSE and LED DS3 will be turned ON as
well as the state of LED1 in the Programs window will change. The PLC program implements a
Boolean XOR operation on SW1 and SW2 with the result set on the LED1.