User manual
Toolbox 32 User Manual 1.47d www.cse-semaphore.com/mykingfisher
Page
140
Downloading Ladder Logic
Ladder logic must be compiled before it can be downloaded into the RTU. This is performed from the
Ladder/Logic, Compile menu. After a successful compilation, the window below will be displayed. Note: if
using RTU firmware prior to V1.30A, the firmware version will need to be changed for the ladder compiler
from the menu Ladder/Logic, Target Firmware Version.
Figure: Window displayed when ladder logic is compiled.
If compilation is not successful, then the errors and the rung number of the error will be listed in the window.
After the ladder has been successfully compiled, select Ladder, Download To RTU. If downloading is
successful, the message Download Complete! will be displayed otherwise Comms Failure will be displayed.
Note: the SDB site configuration file must be downloaded first.
Download Changes to RTU
This option allows the user to only download changes since the last download. It is faster than performing a
full download and is very useful when dealing with a large amount of logic or a slow communications link.
Note: whenever an RTU is cold started or its memory configuration is changed, ladder logic is erased. It is
then necessary to perform a complete download of ladder logic.
When ladder logic is compiled, an LLO file is created (ie. Filename.LLO). When the complete ladder logic
configuration is successfully downloaded, Toolbox copies the LLO file and makes an LLX file
(Filename.LLX). The LLX file is used to denote the ladder logic that is in the RTU. When downloading
changes, Toolbox compares data blocks between the new LLO file and the last LLX file. Any new data
blocks are then downloaded and then the LLO file is copied over the LLX file again.
Whenever ladder changes are downloaded to the RTU, a CRC is also downloaded. The RTU calculates its
own CRC and compares it with the downloaded CRC. If they do not match, a Ladder Error flag is triggered
and the ladder logic will be disabled. The success of the download changes can be checked by viewing the
RTU Status. If an error has occurred, Ladder Error will be displayed and ladder logic will be disabled. To fix a
Ladder Error flag, download the complete ladder.