User Manual Chapter 10
GFK-1742F Jan 2020
Introduction to Local Logic Programming 264
Figure 130: Reference View Table
10.8 Executing Your 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 you must set the Q
bit offset 1 from the host controller, while the host controller 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, you can see that 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 interface between the DSM and the host controller are contained
in chapter 5. You should save the folder once the program has been verified to work correctly.