
EMBEDDED
PLC BL2500 User’s Manual
Running Sample Applications
OEM Technology Solutions
Page 21
7. Select
Tools
menu
→
Quick declaration
. Enter Numbering from 1 to 2, Symbol name SW and
Attributes = Input as shown in figure below. Press
OK
button.
8. On
the
Dictionary
window, the SW1 to SW2 variables are listed.
9. On the B25TEST1 Dictionary double-click on the empty row. Enter the name LED1 and select it as
output.
10. On the
Dictionary
window, select
Integers/Reals
tab. Press
Insert objects
button
or select
Edit
menu
→
New
. Enter the following information on the
Integer/Real Variable
window: Name = AD0,
Comment = Analog Input AD0, Unit = V, Attributes = Input and Format = Real. Press
Store
button.
Repeat this step to create the analog output variable (Name = DA1, Comment = Analog Output DA1,
Unit = V, Attributes = Output and Format = Real). Press
Cancel
to close the
Integer/Real Variable
window.