User manual
Toolbox 32 User Manual 1.47d www.cse-semaphore.com/mykingfisher
Page
63
Ladder Logic - Editing
A ladder block can be edited by double-clicking on it or by pressing Enter when the block is highlighted.
Double-clicking or pressing Enter on an empty ladder position will display a list of new blocks that can be
added. Ladder logic can be copied, cut and pasted using the same standard key commands as a word
processor as detailed below. Ladder logic can also be copied from one ladder to another if two or more sites
are open in Toolbox.
Before creating ladder logic, it is useful to plan how the local registers will be used. The register plan can
then be used for each RTU in the telemetry system. It can also be used to create the variables list (optional).
The register plan should allow for the maximum amount of equipment that is used at all the sites (eg. pumps,
valves, tanks) and should also allow for expansion. Eg. if the largest site has 4 pumps, the register map
could be designed to allow for 5 pumps.
Selecting blocks: Hold the right mouse button and then drag the highlight over the required blocks.
Alternatively, hold the Shift key down and then use the arrow keys.
Copying ladder blocks: Press CTRL+C or Insert. This copies the selected blocks into the memory buffer
and causes the highlight to disappear. The blocks can then be pasted into ladder logic by pressing CTRL+V
or Insert.
Moving ladder blocks: Press CTRL+X or delete. This copies the selected blocks into the memory buffer
and deletes them from the ladder page. The blocks can then be pasted into ladder logic by pressing CTRL+V
or Insert.
Changing the block type: First delete the block (by pressing Delete or CTRL+X with the highlight on the
block) and then create a new block (by pressing Enter and selecting a new block type). The old block's
comment and parameter settings are automatically copied into the new block.
Moving to the start or end of a rung: The Home key moves the highlight to the first block and the End key
moves the highlight to the last block of the rung.
Moving to the start or end of ladder: CTRL+Home moves the highlight to the first block and CTRL+END
moves the highlight to the last block of ladder logic.
Ladder Logic Search: (CTRL+S) Searches for comment (label) or parameter in a ladder logic block.
Searching is restricted to the currently displayed ladder page if the Search This Page Only box is ticked.
Note: Search can only find direct references to registers. It cannot find the actual registers that are used by
indirect addressing.
Repeat Search: (CTRL+R) Searches for the next occurrence of the block comment or parameter as entered
in Ladder Logic Search.
Ladder Logic Translate (Search and Replace): (CTRL+T) Searches for a block comment or parameter
and replaces it with the new block comment or parameter.
Register Report
Provides a list of all the register parameters used in ladder logic. Note: registers used by indirect addressing
must be manually determined from the ladder logic itself.
With the Ladder Logic as the active window (in front):
Select File, Report File
Select No to obtain a comprehensive report of all the register
parameters that have been used in ladder logic
(including
indirect register addresses). Select Yes to obtain a report of
registers used in single-parameter blocks only (eg. contacts,
coils, single copy, increment).
Filename.RPT will be created in the same folder as the RTU
Configuration file. This file can be viewed using a text editor or
Microsoft Excel (as a text file).