How Optimize Works - Black & Decker d984 Installation Manual

Table of Contents

Advertisement

How Optimize Works
When you run the controller in Optimize mode, the compiler constructs inline code
in the execution buffer that executes more efficiently than Normal-mode
opera-
tions. The controller uses an algorithm to automatically calculate a higher level of
optimization that does not exceed the execution buffer' s capacity and that always
reserves buffer space for 2k of logic editing while the controller is running in Opti-
mize mode. Optimization is fully managed by the controller and is transparent to
you during scanning.
The compiler places related contacts and coils in each network into node groups
and then solves each group as an entity. Each node group consists of a set of
connected contacts-with or without a coil-related to a common logic path that can
be solved simultaneously. The compiler:
1. Searches each network
2. Locates connected nodes and paths in each network and solves them as a
group
3. Skips the evaluation of nodes and paths that are known to be irrelevant
within each group. That is, if input power for a series of contacts is not on,
the executive will skip the logic solving of these contacts in a network.
By considering each node group as an entity, the compiler is able to reduce the
scan time in ladder logic programs.
When you start to run the controller in Optimize mode, the compiler automatically
reserves enough space in the execution buffer to support 2k of edits while the pro-
gram is running. If your edits use up all the reserved buffer space, you may either
continue to run the program in Optimize mode with no further editing permitted or
stop and restart the controller with newly generated buffer space for another 2k
edits.
03
Note
System performance may be slowed when the compiler adjusts
the buffer for on-line edits and creates the new buffer space for further
edits.
8
Introducing
your Controller
GM0984-EDK

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

E984K984-x8x controllers

Table of Contents