OEM BL2500 User Manual page 28

Embedded plc z-world single board computer
Table of Contents

Advertisement

PLC BL2500 User's Manual
EMBEDDED
11. Save the current dictionary by selecting File menu → Save. Close the Dictionary window.
12. On the B25TEST1 – Programs window double-click on FBtest1 program. Press Insert variable
button
on the toolbar and click on the working area. On the Select variable window select SW1
and press OK button. SW1 variable box is drawn on the working area. Place SW2 and LED1
variables following the same procedure.
13. Select on the Function blocks combo box
exclusive OR (=1) function block and click on the working area. The exclusive OR (=1) function block
is displayed.
14. Select button
also move the LED1 variable to the right of the function block.
15. Click on Draw connection line button
variable and drag the line towards the function block. A connection line will be drawn between SW1
and IN1 of the function block. Repeat the same procedure to connect SW2 with IN2 of the function
block and LED1 with Q of the function block (connection lines are dragged always from left to right).
16. Save the program by selecting File menu → Save. Press OK button on the Update diary window.
Close the FBtest1 – FBD/LD Program window.
17. On the B25TEST1 – Programs window click on I/O connection button
OEM Technology Solutions
on the toolbar and move SW1 and SW2 variables to the left of the function block;
on the toolbar and press left mouse button on the SW1
Running Sample Applications
on the toolbar.
Page 22
the

Advertisement

Table of Contents
loading

Table of Contents