Internal Data Points of the SECS driver
This chapter describes the structure of the internal datapoints belonging to the SCES driver.
DPE Name | Type | Description |
---|---|---|
Config.ControllerID | String | Holds the ID of the device. |
Config.Address | String |
Holds the IP and Port information about the device. The address consists of <IP/Hostname>:<port>. The IP is only needed when an HSMS-active connection is configured but the “:<port>” is always needed. |
Config.EstablishmentMode | Uint |
1: the connection should be established automatically. 0: the connection should not be established automatically. |
Config.ReconnectTimeout | Uint | The name is a WinCC OA driver convention, but this DPE represents the SEMI E37 T5 Connection Separation Timeout. Holds the timeout in seconds until the reconnection is attempted. |
Config.LifebeatTimeout | Uint | Holds the timeout in seconds till the next lifebeat check is sent to the device. |
Config.T3 | Uint | SEMI E37 T3 Data Reply Timeout. Specifies maximum amount of time the host waits for an expected reply message. |
Config.T6 | Uint | SEMI E37 T6 Control Reply Timeout. Maximum Time waiting for Select.res, Linktest.res, etc. |
Config.T7 | Uint | SEMI E37 T7 Connection Idle Timeout. Time Remaining in "NOT SELECTED" connection-state until a communications failure is detected. |
Config.Flags | Bit32 |
This DPE holds further configuration flags as a bit32. Bit 0: In case of redundancy this bit controls if the passive host connection should connect to the equipment or not. 1: Both sides are connected and send identical messages to the equipment. 0: Only the active side is connected and sends messages to the equipment. Bit 1-31 are not used. |
Command.Enable | Boolean | Used to enable the connection. |
Command.Request | String | Can be used to send E5 requests from the host to the equipment. |
State.ConnState | Uint |
Describes the connection state: Undefined = 0 Disconnected = 1 Connecting = 2 Connected = 3 Disconnecting = 4 Failure = 5 |
State.DrvType | String | Describes the driver type of the connection. Here secs:<driverNum>. |
State.Disabled | Boolean | Describes the state if the connection is disabled or not. |
State.Response | String | Holds the E5 response from the equipment to the request sent from Command.Request. |
State.Error | String |
Holds E5 Error messages received from the equipment: S*F0, S9F* |
Common.Config.DrvNumber | Uint | Holds the driver number to which the connection should belong. This DPE also holds a default address configuration with the reference “__check__.0” to be able to connect without the need to specify address configurations before connecting to the equipment. |
Common.State.ConnState | Int |
Discribes the common connection state: Undefined = -1, UndefinedByDriver = 0 NotConnected = 1 Connecting = 2 NotActive = 3 Disconnecting = 4 Failure = 5 WaitForReconnect = 9 Connected = 256 |