Creating A New Plc Application; Using Function Blocks Diagrams - OEM BL2500 User Manual

Embedded plc z-world single board computer
Table of Contents

Advertisement

PLC BL2500 User's Manual
EMBEDDED
Follow the same procedure to run the b25rota application. This application will turn ON the BL2500 on-
board LEDs (DS3 and DS4) in sequence.

3.4 CREATING A NEW PLC APPLICATION

The following Section describes how to use the ISaGRAF Workbench to create simple PLC applications
using the 5 IEC 611131-3 PLC programming languages (FBD, LD, ST, IL and SFC) and Flow Chart that
later you will download to the BL2500 Target PLC. The Target PLC must be connected to physical I/Os. It
also assumes that the Target is connected to the PC either via Ethernet or serial port. To create (or
modify) PLC applications the ISaGRAF Workbench must be licensed.
The PLC application that is written using 6 different languages, implements a simple Boolean operation
(XOR) between digital input IN00 and IN01 (SW1 and SW2 Boolean variables respectively). The DS3
LED (LED1 Boolean output variable) is used as the output.

3.4.1 Using Function Blocks Diagrams

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 b25test1) and
press OK button. The name of project should no
exceed 8 characters. The b25test1 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 b25test1 project. An empty B25TEST1 – Programs window is displayed.
6. On the B25TEST1 – Programs window select File menu → Dictionary to open the Dictionary
window.
OEM Technology Solutions
5. Select File menu → New. On the New program
window enter the name of the program (for example,
FBtest1); a brief comment; select the Language to
FBD; select Begin Style and press OK button. The
FBtest1 program is displayed in the B25TEST1 –
Programs window.
Running Sample Applications
Page 20

Advertisement

Table of Contents
loading

Table of Contents