Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

titleTable Of Contents

...

Table of Contents
maxLevel3
minLevel3
typeflat
printablefalse
separatorpipe

Overview

Connection related OPC items have several items that are common to all types of connections and several that are unique to the connection type.

Items Common To All Connections

Item NameData Type Description
ClosePortBOOLWriting a 1 to this item will make ACM close the port after the current transaction has finished. This may take some time if the current transaction is an archive history collection.
DescriptionString

This item displays the string entered into the Description textbox of the object.

Serial Connection Items

Item NameData Type Description
COMM_SYSTEMERRORI4Displays the current state of the channel. Read Only.
ConnectStateI2Displays the current state of the channel. Read Only.
CurrentUserStringDisplays the name of the device that is currently communicating on the port. Read Only.
HangupBoolWriting a 1 to this item will make ACM hang up if utilizing a modem for communications.

Serial, TCP/IP and TCP/IP SSL Connection Items

Item NameData Type Description
COMM_SYSTEMERRORI4Indicates if the system is in error.
ConnectStateI2Displays the current state of the channel. Read Only.
CurrentHostI2Indicates the current Host Address that is in use by the port. A value of 1 means the port is using Host Address 1 for polling. A value of 2 means the port is using Host Address 2 for polling.
CurrentUserStringDisplays the name of the device that is currently communicating on the port. Read Only.
HangupBoolWriting a 1 to this item will make ACM hang up if utilizing a modem for communications.

TCP Listen Connection Items

Item NameData Type Description
LogStateBOOLLogs port state information.

TCP Pool Connection Items

Item NameData TypeDescription
COMM_SYSTEMERROR/nI4This item contains the Win32 API system error code for the last error that occurred during communication to this device. n is to be replaced with the port number 1-16. Example: Comm_SystemError /1.
ConnectState/nI2Displays the connection status of the connection. n is to be replaced with the port number 1-16. Example: ConnectState /1.
CurrentUser/nStringThis item will hold the name of the device currently communicating on the port. n is to be replaced with the port number 1-16. Example: CurrentUser /1.
Hangup/nBoolHangs up the connection. n is to be replaced with the port number 1-16. Example: Hangup /1.
ModemHealth/nBoolThis item is True if the modem is responding to the initialization string. n is to be replaced with the port  number 1-16. Example: ModemHealth /1.

UDP BSAP Connection Items

Item NameData Type Description
COMM_SYSTEMERRORI4Indicates if the system is in error.
ConnectStateI2Displays the current state of the channel. Read Only.

...