ProSoft Technology MVI69-ADM User Manual

Page 110

Advertising
background image

Creating Ladder Logic

MVI-ADM ♦ 'C' Programmable

Developer's Guide

'C' Programmable Application Development Module

Page 110 of 342

ProSoft Technology, Inc.

February 20, 2013

Block Transfer Routine

The Block Transfer Routine handles the BTR and BTW operations to transfer
data between the processor and the module. Each block to be interfaced
between the processor and the module must be addressed in this logic. The
example ladder logic displays the minimum application of the module and does
not use any of the special features offered by the module. The first rung of the
routine handles the BTR operation (data read from the module). The rung is
shown in the following example:

This rung will only execute when a BTR or BTW message is not enabled. This
logic is required to alternate between the BTR and BTW messages. When it is
time to perform a BTR operation, the 64-word data block will be transferred to
N7:410. The remaining branches of the rung then process this data.

Advertising