Side-connect api files – ProSoft Technology MVI69-ADM User Manual

Page 67

Advertising
background image

MVI-ADM ♦ 'C' Programmable

Understanding the MVI-ADM API

'C' Programmable Application Development Module

Developer's Guide

ProSoft Technology, Inc.

Page 67 of 342

February 20, 2013

3.9

Side-Connect API Files

The following table lists the supplied API file names. These files should be copied
to a convenient directory on the computer where the application is to be
developed. These files need not be present on the module when executing the
application.

File Name

Description

MVIscapi.h

Include file

MVIscapi.lib

Library (16-bit OMF format)

3.9.1 Side-Connect API Architecture

The side-connect API is an alternative communication path to the backplane
interface. This architecture is only used in the MVI71 module. Applications using
the MVI API must be linked with the MVI library, and the MVI must be directly
connected to the PLC-5 via the side-connect interface.

3.9.2 Data Transfer

The side-connect interface provides the fastest available communications path to
the PLC-5. With the API, applications may read and write to the PLC-5 data
tables, synchronize with the PLC-5 ladder scan, handle message instructions
from the PLC-5, set the PLC-5 mode, clear faults, perform block transfers
through the PLC-5, and perform other functions.

When the side-connect interface is used, no ladder logic is required for normal
data transfer. The module directly reads and writes information between the
module and the processor using the user data files defined. The SC_DATA.TXT
file contains the file number to be used for the configuration file. This file number
and the module configuration determine the set of user data files required in the
PLC. In order to perform special control of the module (for example, warm-boot
operation), ladder logic is required.

Advertising