Internal Datapoints of the SECS Gateway

This chapter describes the internal datapoints of the SECS Gateway.

_SecsGateway

DPE Name Type Description
Config.CnsView string Holds the ID of the CNS view which corresponds to the correct gateway.
Config.EquipmentList dyn_string Holds a list of the SECS equipment DPs which are assigned to the gateway.

_SecsEquipment

DPE Name Type Description
Config.DeviceId string Holds the ID of the equipment.
Config.Address string Holds the IP and Port information about the host. 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.SendLinktestPeriod uint Time interval for sending a TCP/IP linktest request to check the connection between host and equipment.
Config.GatewayDp string Holds the _SecsGateway DP name to which the equipment is assigned.
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.
Command.Enable boolean Used to enable the connection.
Common.State.ConnState int

Describes the common connection state:

  • Undefined = -1
  • UndefinedByDriver = 0
  • NotConnected = 1
  • Connecting = 2
  • NotActive = 3
  • Disconnecting = 4
  • Failure = 5
  • WaitForReconnect = 9
  • Connected = 256
HostInterface.ToHost string Is used to send E5 messages to the host.
HostInterface.FromHost string Is used to receive messages from the host.
Error.FromHost string Holds any S9Fx message received from the host.
Error.ToHost string S9Fx error messages generated by the gateway manager get written and sent automatically to the host.