
EMBEDDED
PLC BL2500 User’s Manual
Running Sample Applications
OEM Technology Solutions
Page 29
3.4.4 Using Instruction List
1. Open the ISaGRAF Project Management by double-clicking on the ISaGRAF Projects icon on your
Desktop or selecting
Start
menu
→
Programs
→
ISaGRAF 3.5
→
Projects
. On the
Projects
Management
window, select
File
menu
→
New
.
2. On
the
Create new project
window, enter the
name of the project (for example b25test4) and
press
OK
button. The name of project should not
exceed 8 characters. The b25test4 project is then
listed in the
Projects Management
window.
3. Select
Edit
menu
→
Set comment text
. Enter a brief description of this project and press
OK
button.
This description will be displayed next to the project name in the
Projects Management
window.
4. Double-click
on
b25test4
project. An empty
B25TEST4 – Programs
window is displayed.
5. Select
File
menu
→
New
. On the
New program
window
enter the name of the program (for example, ILtest1); a
brief comment; select the Language to
Quick IL
; select
Begin
Style and press
OK
button. The ILtest1 program is
displayed in the
B25TEST4 – Programs
window.
6. Follow Steps 6 to 11 in 3.4.1 to create and populate the application’s Dictionary with SW1 and SW2
Boolean input variables, and LED1 Boolean output variable.
7. On
the
B25TEST4 – Programs
window double-click on
ILtest1
program.
8. Type in a comment
in
comment parentheses
(* *) such as (* Exclusive OR logic for switching on
LED *). When entered correctly comments are highlighted green.
9. Press
Enter
to move to the next command line in the
IL program
editor.
10. To enter
Keyword commands
, either click the desired button in the Keywords
tool box or type it,
such as for an ‘AND’ statement, either click
AND
in the Keyword tool box or type AND on the
command line. When correctly entered Keyword commands are highlighted pink.
11. To enter
inputs, outputs, or variables
, for example input switch SW1, either select Edit
→
Insert
variable
→
SW1 or type SW1 on the command line.
12. Type the following command lines under the entered comment:
LD SW1
XOR SW2
ST LED1
13. The
ILtest1 program
should now appear as follows: