daveNewConnection

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

version(BindNodave_Static)
extern (C) @nogc nothrow
daveNewConnection
(,
int MPI
,
int rack
,
int slot
)

Parameters

di daveInterface*

A daveInterface

MPI int

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

rack int

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

slot int

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

Meta