User`s manual

Introduction to Local Logic Programming
GFK-1742A Chapter 10 Introduction to Local Logic Programming 10-41
10
Figure 10-44. New Reference View Table Dialog Box
The user can then insert variables, determine variable display formats, toggle data points, and send
AQ commands, among other actions. Consult the VersaPro documentation for details on RVT
construction. One example RVT that is useful for this program is shown in Figure 10-45.
Figure 10-45. Reference View Table
Executing Your First Local Logic Program
Once the download operation is complete, the module is ready to execute the local logic program.
To cause the DSM module to execute the local logic program the user must set the Q bit offset 1
from the PLC, while the PLC is in RUN mode. At this point, the local logic program is active and
running within the DSM.
Note
: The
LLExample
sample program is a simple counter application.
The user can use the RVT to look at the passed parameters to verify that the program is active and
functioning correctly. From the RVT (Figure 10-45), we can see 1 Minute 8 Seconds have passed
since Local Logic was started (see %AI0043 and %AI0041, respectively). Additionally, 68370
milliseconds have passed as shown in %AI0021. Additional details concerning the PLC interface
between the DSM and the PLC are contained in chapter 5. The user should save the folder once the
program has been verified to work correctly.