content.gif menu.gif basics.gif

Internal data points of the Applicom driver

For the Applicom driver a data point is required for each peripheral device. The internal data point type is _Apc_Equ and the single data points are indicated with _<device name>. The device name has to be unique in the system (the internal data point is created when creating and configuring the devices). See also Configuration of the Applicom driver.

The following table shows the elements of the data point type:

_Apc_Equ

Data point element

Type

Description

Protocol

unsigned

Defines the valid protocol for the device. The configuration panel (see Configuration of the Applicom driver)  reads automatically the available protocols from the apc_config  file and you can select them from the corresponding combo box.

GeneralQuery

bool

Specifies if a general query should be made on the device.

Active

bool

The device can be switched either to active (TRUE) or to inactive (FALSE). If the state is FALSE the memory on the Applicom card is available for other peripheral devices. The device is however not deleted from the list and can be activated if needed.

InternalPollList

bool

Specifies if the internal polling function of the Applicom card should be used.

DrvNumber

int

Contains the driver number of the driver, which is responsible for the device.

EqId

int

Contains a unique number of the device, assigned from the driver. This "Equipment Id" can be used for a general query on a specific device. Therefore you have to write the value of the "EqId" on the internal data point element for the driver e.g. "_Driver<DrvNumber>.GQ" (data point type is "_DriverCommon").

Board

unsigned

Specifies the number of the installed Applicom card.

Channel

unsigned

Specifies the port on the Applicom card that is used for the communication with the device.

ChannelEqNum

unsigned

Specifies the number for the device. The number is used to connect to the device via a port.

ConnState

int

Status information for the device. There are five states: Fifo full (-1), Not connected (0), Connected (1), General query (2), Not active (3). Furthermore, this data point shows if the device is connected or not.

ReduConn.Board

unsigned

The data of the redundant connection is saved here. See also DPE "Board".

ReduConn.Channel

unsigned

The data of the redundant connection is saved here. See also DPE "Channel".

ReduConn.ChannelEqNum

unsigned

The data of the redundant connection is saved here. See also DPE "ChannelEqNum".

ReduConn.ConnState

int

The data of the redundant connection is saved here. See also DPE "ConnState".

ReduConn.Active

bool

The data of the redundant connection is saved here. See also DPE "Active".

ReduEqu.Board

unsigned

The data of the redundant device is saved here. See also DPE "Board".

ReduEqu.Channel

unsigned

The data of the redundant device is saved here. See also DPE "Channel".

ReduEqu.ChannelEqNum

unsigned

The data of the redundant device is saved here. See also DPE "ChannelEqNum".

ReduEqu.ConnState

int

The data of the redundant device is saved here. See also DPE "ConnState".

ReduEqu.Active

bool

The data of the redundant device is saved here. See also DPE "Active".

ReduEqu.ReduConn.Board

unsigned

The data of the redundant connection of the redundant device is saved here. See also DPE "Board".

ReduEqu.ReduConn.Channel

unsigned

The data of the redundant connection of the redundant device is saved here. See also DPE "Channel".

ReduEqu.ReduConn.ChannelEqNum

unsigned

The data of the redundant connection of the redundant device is saved here. See also DPE "ChannelEqNum".

ReduEqu.ReduConn.ConnState

int

The data of the redundant connection of the redundant device is saved here. See also DPE "ConnState".

ReduEqu.ReduConn.Active

bool

The data of the redundant connection of the redundant device is saved here. See also DPE "Active".

ReduControl.Equ.SpsTag

string

Address in the PLC, which causes a switching of the device (while the value is 1, the driver does not switch to the other PLC; if the value changes to 0, the driver switches to the redundant PLC).

ReduControl.Equ.MonMode

int

Currently not used.

ReduControl.Equ.CmdMode

int

Properties of the command direction in case of an existing redundant device:

 

0 ... Command to active device

1 ... Command to both devices

ReduControl.Equ.Switch

int

Setting for the device switching:

 

0 ... Automatic

1 ... Device 1 (fix)

2 ... Device 2 (fix)

ReduControl.Conn.SpsTag

string

Address in the PLC, which causes a switching of the connection.

ReduControl.Conn.MonMode

int

Currently not used.

ReduControl.Conn.CmdMode

int

Properties of the command direction in case of an existing redundant connection:

 

0 ... Command via active connection

1 ... Command via both connections

ReduControl.Conn.Switch

int

Setting for the connection switching:

 

0 ... Automatic

1 ... Connection 1 (fix)

2 ... Connection 2 (fix)

ActiveConn

int

This DPE is for displaying the active connection for the driver:

 

0 ... First device nominal connection

1 ... First device redundant connection

256 ... Redundant device nominal connection

257 ... Redundant device redundant connection

 

page_top.gif

V 3.11 SP1

Copyright ETM professional control GmbH 2013 All Rights Reserved