ProSoft Technology MVI69-ADM User Manual

Page 111

Advertising
background image

MVI-ADM ♦ 'C' Programmable

Creating Ladder Logic

'C' Programmable Application Development Module

Developer's Guide

ProSoft Technology, Inc.

Page 111 of 342

February 20, 2013

The first branch examines the block identification code to see if the data
contained in the block is status data. If the block code is set to -1, the status data
is copied N10:200, the status data area. With the block code -2, the module
returns an error code for module configuration and port configuration to the PLC.

The next four branches check to see if the block identification code corresponds
to a read data block (1 to 4). If the block contains a valid code, the 60-word data
set is copied to the user data file.

The next branch is very important, as it copies the BTW block identification code
received from the module into the BTW block. This code requests data from the
processor for the module.

The last two branches in the rung override the BTW block identification code
requested. These branches request the module to perform the cold-boot or
warm-boot operation. If you want to perform any other special functions, add
branches to the rung at this location.

Advertising