Details on the SECS Gateway Manager
This chapter describes the details and debug options of the SECS Gateway manager.
Handled E5 messages
Following table shows the E5 messages which are handled automatically by the gateway manager:
| Request | Response |
|---|---|
| S1F1R Are You There Request | S1F2 On Line Data |
| S1F13R Establish Communications Request | S1F14 Establish Communications Request Acknowledge |
| S1F15 Request OFF-LINE | S1F16 OFF-LINE Acknowledge |
| S1F17 Request ON-LINE | S1F18 ON-LINE Acknowledge |
| S2F17R Date and Time Request | S2F18 Date and Time Data |
| S1F3 Selected Equipment Status Request | S1F4 Selected Equipment Status Data |
| S2F13 Equipment Constant Request | S2F14 Equipment Constant Data |
| S2F15 New Equipment Constant Send | S2F16 New Equipment Constant Acknowledge |
Debug flags
The following table shows the implemented debug flags for the gateway manager:
| Debug Flag | Description |
|---|---|
| 24 | Connection handling and general manager debugs |
| 25 | Sent E5 messages |
| 26 | Received E5 messages |
| 27 | E5 Message details and hex-dump of message |
Error messages
E5 error messages from the host are written to the internal
<_SecsEquipment>.Error.FromHost DPE. Messages like S*F0 and S9F*
are written directly onto this DPE. Error messages generated from the gateway are written to
the internal <_SecsEquipment>.Error.ToHost DPE.
Gateway error messages
| Error code | Error message |
|---|---|
| 0 | Connection to %s closed |
| 54 | Connection Idle Timeout T7 %d sec(s) reached. Connection %s. |
| 54 | No response from equipment within T3 %d / T6 %d sec(s). Connection %s. |
| 54 | Reject req received. Connection %s. Tg %s. |
| 54 | Mandatory CNS Node %s.%s is not configured or linked. |
| 54 | ToHost answer S%dF%d header does not contain "sessionId" or "systemBytes". |
| 54 | Max request queue size %d reached. Request rejected. Connection %s. Tg %s. |
| 54 | AnnotateEventReports are enabled but no ID specified for NodeID %s.CEID_%d.RPTID_%d.%s. Using VID 0. |
| 0 | Reading CNS nodes ready. |
| 54 | Cannot add DP of other system + str |
| 54 | No CNS view is assigned to SECS Gateway _SecsGateway + managerNum + .Config.CnsView. |
