PlcAppConnection.Initialize (METH)ΒΆ

METHOD Initialize : UDINT

InOut:

Scope

Name

Type

Comment

Return

Initialize

UDINT

Input

stPlcAddr

STRING

The address of the plc we shall connect to, in the form <123.123.123> where all components are hex numbers in the range of a UINT

udiCommBufferSize

UDINT

The requested size of the communication buffer

initFlags

PlcAppConnectionInitFlags

These flags give some parameters on how the connection has to be made

credentials

PlcCredentials

These credentials provide access to a password protected plc.

application

PlcAppIdentification

The application where the connection should go to

udiServiceBufferSize

UDINT

The size of the buffer used for sending services.

pServiceBuffer

POINTER TO BYTE

The buffer that will be used to write into the services that shall be sent to the connected node.