Chapter 7. Cogent Driver Specifications

Table of Contents

7.1. Cogent Driver Functions
7.2. Hilscher Fieldbus CIF Card
7.2.1. I/O Block Functions
7.2.2. Control Block Functions
7.2.3. Status Block Functions

The Cogent Driver API functions can be grouped according to their purpose, as shown below. All these functions are described in detail in the Reference. They are intended to be quite generic, to provide a consistent interface for different types of cards. However each specific driver has its own protocol-specific parameters, which are detailed in this chapter.

7.1. Cogent Driver Functions

Connection and Command Functions

DR_ApInitIPC
DR_ApConnectIPC
DR_ApCloseIPC
DR_ApCommand

Point Interface

DR_ApReadPoint
DR_ApWritePoint
DR_ApListPoints
DR_ApDescribePnt
DR_ApPointBufAddress

Block Interface

The number, type and length of the blocks accessed by this interface depends on the specific driver.

DR_ApReadBlock
DR_ApWriteBlock
DR_ApListBuffers
DR_ApDescribeBuffer
DR_ApUpdateBuffers
DR_ApReadStatus
DR_ApReadControl
DR_ApWriteControl