
EMBEDDED
PLC BL2500 User’s Manual
Running Sample Applications
OEM Technology Solutions
Page 16
2. Double-click on the sample application (for example,
rfdemo
) to open the
Programs Manager
window.
3. On
the
Programs Manager
window, select
Debug
→
Simulate
(or press
Simulate
button
on
the toolbar). The
Debugger
,
I/O simulation
and
Debug program
windows are displayed.
4. The
I/O simulation
window shows the I/O boards used by the application (Boards 0 to 4). Board 0
(column 0) has 8 digital inputs; Board 1 (column 1) has 8 analog inputs; Board 2 (column 2) has 8
message (strings) outputs; Board 3 (column 3) has 8 digital outputs and Board 4 (column 4) has 8
analog outputs. On Board 0 (column 0) click on Input 1 and Input 4, a message
start
and
Lead
are
displayed in message outputs 4 and 5 respectively; and Board 3 will show the LED outputs being
turned ON in sequence. On the
Debug programs
window the
Drive
and
Lead
programs change to
active state. Unset the digital input 4 and set any of the digital inputs 5 (Flash) or 6 (Random).
5. To close the simulation of the application, close the
Debugger
window. Close the
Programs
window.
6. Try with other sample applications such as the one listed in the introduction of this chapter. All the
sample applications can run in simulation mode.