
EMBEDDED
PLC BL2500 User’s Manual
Running Sample Applications
OEM Technology Solutions
Page 17
3.2 RUNNING APPLICATIONS THAT USE INTERNAL VARIABLES ONLY
The Target PLC and your PC must be connected through Ethernet, RS232 or RS485. Use the following
procedure to run any sample application that uses only internal variables:
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, double-click on the
bottlef
project.
2. On
the
BOTTLEF - Programs
window select
Debug
menu
→
Link setup
. On the
PC-PLC link
parameters
window enter the
Target Slave Number
(corresponds to the Modbus Slave number of
the Target PLC) and the Communication port (
ETHERNET
for Modbus TCP or
COM
for Modbus RTU
over RS232/RS485):
a) If
ETHERNET
is selected press
Setup
button and enter the IP address of the target (default is
192.168.1.100). Press
OK
button. Press
OK
button to close the
PC-PLC link parameters
window
,
Caution:
Do not change the port number from 1100 otherwise the Ethernet communication
with the ISaGRAF Workbench will not work. This port is used exclusively by the
communication between ISaGRAF Workbench and the
EMBEDDED
PLC target.
b) If
serial
COM
port is selected (COM1 – COM4) press
Setup
button and select either 19200,
9600, 4800, 2400, 1200 or 600 baud rate depending on the current configuration of your
EMBEDDED
PLC target.
"
Note:
The
EMBEDDED
PLC Kernel supports baud rates from 19200 to 600. The other
parameters are fixed: no parity, 8 data bits, 1 stop bit and no flow control.
Note also that ISaGRAF supports serial ports COM1 to COM4. If you are using a
USB-to-serial converter cable check that the com port assigned is between COM1
and COM4. If not, change the serial port settings on your Windows Operating
System (see Section 7.2). Many USB-to-serial converters are assigned to COM5
port or higher after its installation.
3. Select
Debug
menu
→
Debug
to open the
Debugger
window. If
Debugger
window displays
“<application name> active” message, stop the current application that is running by pressing the
Stop button
on the toolbar or select
File
menu
→
Stop application
. A “No application” message
is displayed.
4. Download the bottlef application by selecting
File
menu
→
Download
. Select “RABBIT: TIC code for
Rabbit-based controllers” on the
Download
window and press
Download
button. A progress bar on
the
Debugger
window will show the progress of the downloading process. Once the downloading is
completed the application runs immediately and the
SpotLight
window is displayed. In the
SpotLight
, double-click on the
START
button and press
TRUE
button. The bottle production will
start.