L-force | plc designer – Lenze PLC Designer PLC Designer (R3-1) User Manual

Page 150

Advertising
background image

L-force | PLC Designer

Quickstart

148

DMS 4.1 EN 03/2011 TD29

Run and watch the application on the PLC
(9) Compile and load application to the PLC
If you just want to check your "active" application program for syntactic errors,
perform command 'Build Application' (Context menu, Build menu) or use <F11>. Note:
No code will be generated in this case. Information, warnings and error messages will
be displayed in the Messages window which is placed at the lower part of the user
interface by default.
Even if this syntactical check has not be done before, you can log into the PLC.
(Therefore make sure, that the PLC is running, that is the symbol in the system bar is
colored).
Use command Login to ‘Application’ (Online menu).
If the communication settings have been configured as described in (8) the following
message box will appear (otherwise you will be asked to correct the communication
settings): "There is no device application on target PLCWInNT. Do you want to create it
and proceed with download?" Confirm with Yes to start the compilation and download
of the application.
The compile messages will be displayed in the Messages window. If the project has
been created correctly, no compilation errors are to be expected, so that the
application can now be started, see (10).

(10) Start and monitor application
Having created a 'standardproject' and downloaded the application 'Application' as
described in the previous steps, this application can now be started on the device L-
force Controller 3200 (‘PLCWinNT').
Starting the application on the PLC:
Perform command 'Start Application', which is in the context menu by default, when
the application object is selected. In consequence the program starts running. A green
RUN will be displayed in the status bar at the bottom of the user interface.
Monitoring the application:
There are three possibilities for watching the variables of the application program:
1. Watch views with defined watch lists
2. Writing and forcing variables
3. Online views of the particular POUs

Advertising