daveNewConnection

Setup a new connection structure using an initialized daveInterface and PLC's MPI address.

extern (C)
daveConnection*
daveNewConnection
(
daveInterface* di
,
int MPI
,
int rack
,
int slot
)

Parameters

di

A daveInterface

MPI
Type: int

The address of the PLC (only meaningful for MPI and PPI).

rack
Type: int

The rack the CPU is mounted in (normally 0, only meaningful for ISO over TCP).

slot
Type: int

The slot number the CPU is mounted in (normally 2, only meaningful for ISO over TCP)

Meta