ProSoft Technology MVI69-ADM User Manual

Page 112

Advertising
background image

Creating Ladder Logic

MVI-ADM ♦ 'C' Programmable

Developer's Guide

'C' Programmable Application Development Module

Page 112 of 342

ProSoft Technology, Inc.

February 20, 2013

The next rung in the ladder logic handles the BTW message blocks. An example
rung is displayed below. As with the BTR rung, execution of this rung alternates
between the BTR and BTW operation with the contacts in the rung guaranteeing
this mode. The topmost branch of the rung checks if the module is requesting the
configuration information (block 9000). The module requests this block each time
a module restart operation occurs. The branch will execute when the block is
requested and will copy the module configuration information into the BTW block.

The next two branches clear the cold-boot and warm-boot request bits in the
processor. The block numbers for these special functions are set in the BTR rung
above.

The next four branches transfer the write data from the processor to the module.
The branches determine the block to write (1 to 4) and copy the associated data
into the BTW block.

Advertising