Skip to content

Appendix B - Error Codes Reference

Overview

This appendix provides a comprehensive reference for all error and acknowledge codes used in SECS/GEM communication.


HSMS Control Codes

Select Status (Select.rsp)

Code Description
0 Communication established
1 Communication already active
2 Communication not ready
3 Connection exhaust

Deselect Status (Deselect.rsp)

Code Description
0 Communication ended
1 Communication not established
2 Communication busy

Reject Reason (Reject.req)

Code Description
1 SType not supported
2 PType not supported
3 Transaction not open
4 Entity not selected

Stream 1 - Equipment Status

COMMACK (S1F14)

Code Description
0x00 Accepted
0x01 Denied, try again

OFLACK (S1F16)

Code Description
0x00 Acknowledge

ONLACK (S1F18)

Code Description
0x00 Accepted
0x01 Not accepted, already online
0x02 Not accepted, equipment offline

Stream 2 - Equipment Control

EAC - Equipment Acknowledge Code (S2F16)

Code Description
0x00 Accepted
0x01 Denied, at least one constant invalid
0x02 Denied, busy
0x03 Denied, at least one ECID invalid
0x04 Denied, at least one ECV out of range

TIACK - Time Acknowledge (S2F32)

Code Description
0x00 Accepted
0x01 Error, not done

DRACK - Define Report Acknowledge (S2F34)

Code Description
0x00 Accepted
0x01 Denied, insufficient space
0x02 Denied, invalid format
0x03 Denied, at least one RPTID already defined
0x04 Denied, at least one VID invalid
Code Description
0x00 Accepted
0x01 Denied, insufficient space
0x02 Denied, invalid format
0x03 Denied, at least one CEID not defined
0x04 Denied, at least one RPTID not defined

ERACK - Enable Report Acknowledge (S2F38)

Code Description
0x00 Accepted
0x01 Denied, at least one CEID invalid

HCACK - Host Command Acknowledge (S2F42)

Code Description
0x00 Acknowledge, command accepted
0x01 Denied, invalid command
0x02 Denied, cannot perform now
0x03 Denied, parameter error
0x04 Acknowledge, will complete later
0x05 Rejected, already in desired state
0x06 Denied, no such object

CPACK - Command Parameter Acknowledge (S2F42)

Code Description
0x01 CPNAME not valid
0x02 CPVAL illegal value
0x03 CPVAL out of range

STSPACK - Spool Stream Acknowledge (S2F44)

Code Description
0x00 OK
0x01 Stream not valid
0x02 Stream not supported for spooling

Stream 5 - Alarm Management

ACKC5 - Alarm Acknowledge (S5F2, S5F4)

Code Description
0x00 Accepted

Stream 6 - Data Collection

ACKC6 - Event Report Acknowledge (S6F12)

Code Description
0x00 Accepted
0x01-0x3F Error codes (application specific)

RSDA - Request Spooled Data Answer (S6F24)

Code Description
0x00 Transmit spooled data
0x01 Do not transmit
0x02 Purge spooled data

Stream 7 - Process Program

PPGNT - Process Program Grant (S7F2)

Code Description
0x00 OK, ready to receive
0x01 Already have
0x02 No space
0x03 Invalid PPID
0x04 Busy, try later
0x05 Will not accept

ACKC7 - Process Program Acknowledge (S7F4, S7F18, S7F24)

Code Description
0x00 Accepted
0x01 Permission not granted
0x02 Length error
0x03 Matrix overflow
0x04 PPID not found
0x05 Mode unsupported
0x06 Async completion

Stream 9 - System Errors

Error Messages

Message Description
S9F1 Unrecognized device ID
S9F3 Unrecognized stream
S9F5 Unrecognized function
S9F7 Illegal data
S9F9 Transaction timer timeout
S9F11 Data too long
S9F13 Conversation timeout

Stream 10 - Terminal Services

ACKC10 - Terminal Acknowledge (S10F4, S10F6, S10F10)

Code Description
0x00 Accepted, displayed
0x01 Terminal not available
0x02 Not displayed
0x03 Unknown TID

GEM 300 Error Codes

OBJACK - Object Acknowledge (S14Fx)

Code Description
0x00 Successful completion
0x01 Invalid object type
0x02 Object not found
0x03 Invalid attribute name
0x04 Read-only attribute
0x05 Invalid format

ACKA - General Acknowledge (S14F10, S16F12)

Code Description
0x00 Success
0x01 Failure

Carrier Action Results (S3F18)

Code Description
0 Success
1 Carrier ID not found
2 Port not available
3 Invalid carrier action
4 Carrier in use

Port Action Results (S3F24)

Code Description
0 Success
1 Port not found
2 Port out of service
3 Invalid port action
4 Carrier present

Error Resolution Guide

Error Code Common Cause Resolution
COMMACK=1 Equipment not ready Wait and retry
ONLACK=2 Operator has equipment offline Request operator action
HCACK=2 Wrong equipment state Check control/process state
HCACK=3 Invalid parameter Verify CPNAME and CPVAL
PPGNT=2 Storage full Delete old recipes
PPGNT=4 Recipe transfer in progress Wait and retry
ACKC7=2 Recipe size mismatch Verify LENGTH in S7F1
DRACK=1 Too many reports Delete unused reports