TRS GEM Manual for Intel Ver 1.1 - 第58页
GEM Manual for DEK P rinters SECS II Implementation Issue 1.1 March 20th, 2014 Page 58 of 152 Page 58 of 152 Data Item Description Values Format COMMACK Establish comm unications request acknow ledge code. 0 = Accepted. …

GEM Manual for DEK Printers SECS II Implementation
Issue 1.1 March 20th, 2014 Page 57 of 152 Page 57 of 152
6.2 SECS II VARIABLE DATA DEFINITIONS
This section gives definitions of the data items required in the SECS II streams and functions
implemented by the DEK Printer. The definitions are in alphabetical order of symbol name.
Data Item
Description
Values
Format
ABS
Any binary string.
binary*1
ACKC5
Acknowledge code, responding to alarm
enable / disable or notification.
0 = Accepted.
>0 = Denied.
binary*1
ACKC6
Acknowledge code, responding to trace or
event report send.
0 = Accepted and done.
>0 = Error.
binary*1
ACKC7
Acknowledge code, responding to process
program transfer, or delete.
0 = Done.
1 = Permission denied.
2 = Length error.
4 = PPID not found.
6 = File Format error
7-63 = Reserved.
64 = Process program
parameter error.
65 = Format Error
binary*1
ACKC10
Acknowledge code, responding to text
message.
0 = Accepted for display.
1 = Will not display.
unsigned int*1
ACKC13
Return code for secondary messages
used by S13F4.
0 = Data set opened
successfully.
1 = 265 is not ready.
2 = Unknown data set.
3 = Invalid check point.
4 = Invalid length.
5 = File error.
6 = Processing error.
7 = Cannot continue.
8 = End of file.
binary*1
ALCD
Alarm code.
Bit 8 = 1 is alarm set.
Bit 8 = 0 is alarm clear.
binary*1
ALED
Alarm enable / disable code.
Bit 8 = 1 to enable alarm
Bit 8 = 0 to disable alarm
binary*1
ALID
Alarm identification.
See chapter 6 for a list.
unsigned int*1
ALTX
Alarm text.
See chapter 6.
ASCII 40
ATTRDATA
Attribute Data, the value of a requested
attribute for a particular object id
Any text string
ASCII 80
ATTRID
Attribute Identifier, specifies which attribute
to return for an object
0 = Name
1 = Current Value
unsigned int*4
ATTRRELN
Attribute relationship qualifier
Used by S14F1 - Not currently implemented
CEED
Collection event enable / disable code.
>0 = Enable.
0 = Disable.
boolean
CEID
Collection event identity.
See chapter 7 for list.
unsigned int*4
CKPNT
Check Point, (data block number)
used by S13,F3 F6.
unsigned int*4

GEM Manual for DEK Printers SECS II Implementation
Issue 1.1 March 20th, 2014 Page 58 of 152 Page 58 of 152
Data Item
Description
Values
Format
COMMACK
Establish communications request
acknowledge code.
0 = Accepted.
1 = Denied, try again.
binary*1
CPACK
Command parameter acknowledge.
1 = CPNAME unknown.
2 = CPVAL bad value.
3 = CPVAL bad format.
4 = No screen in chase.
5 = No autochanger.
6 = Screen loaded.
7 = Screen unloaded.
8 = No Clean Screens.
9 = No Screens in Autochanger.
10 = Autochanger is full.
11 = No screen change
mechanism.
binary*1
CPNAME
Command parameter name.
See appendix A.
ASCII *20
CPVAL
Command parameter value.
See appendix A.
ASCII*20
DATAID
Unique identification of transferred data set.
Incremented for each transfer transaction.
Any 4 byte integer value.
Except in S6F7 where it is 2
bytes.
unsigned int*4
DATALENGTH
Number of bytes to be sent. Ignored.
unsigned int
DRACK
Define report acknowledge code.
0 = Accepted.
1 = Denied, no space.
2 = Denied, bad format.
3 = Denied, RPTID exists
already.
4 = Denied, unknown VID.
binary*1
DSID
Data Set Identifier
Used by S6F8
0 = Management data.
1 = Event Data.
2 = System Data.
signed int*2
DSNAME
Data set name.
“EVENT LOG”
ASCII*10
DSPER
Trace data sampling period.
Hhmmss
ASCII*6
DVNAME
Data value name.
0 = Current process program.
1 = Operator name.
2 = Counts.
3 = Batch start time.
4 = Session start time.
5 = Waiting times.
6 = Running times.
7 = Setup times.
8 = Down times.
9 = Recovery times.
10 = Maintenance times.
signed int*2
DVVAL
Data value.
Depends on the
data type of
DVNAME.
EAC
Equipment acknowledge code.
0 = Accepted.
1 = Unknown constant.
2 = Busy.
3 = Constant out of range.
64 = Wrong control state.
binary

GEM Manual for DEK Printers SECS II Implementation
Issue 1.1 March 20th, 2014 Page 59 of 152 Page 59 of 152
Data Item
Description
Values
Format
ECDEF
Equipment constant default value.
See section 5.2.
int*1, int*2,
ASCII
ECID
Equipment constant identity.
See section 5.2.
unsigned int*4
ECMAX
Equipment constant maximum value.
See section 5.2.
int*1
ECMIN
Equipment constant minimum value.
See section 5.2.
int*1
ECNAME
Equipment constant name.
See section 5.2.
ASCII*
ECV
Equipment constant value.
See section 5.2.
int*1, int*2,
ASCII
EDID
Expected data identifier. Used by S9F13
ASCII*
ERACK
Enable/disable event report acknowledge
code.
0 = Accepted.
1 = Denied, unknown CEID.
binary*1
ERRCODE
Code identifying an Error
Full list of error codes is
defined in the SEMI standard
Following specific error codes
are currently used
3 – unknown object
4 – unknown attribute
6 – unknown object type
Unsigned int*4
ERRTEXT
Text string describing the corresponding
ERRCODE
ASCII *80
FCNID
Function identification
Any SECS II function number.
unsigned int*1
FILDAT
Data from the data set.
ASCII*60
GRANT
Grant code.
0 = Permission granted.
binary*1
GRANT6
Permission to send report data.
0 = Permission granted.
binary*1
HANDLE
Logical unit or channel.
int*1
HCACK
Host command acknowledge code.
0 = Command will be done.
1 = Unknown command.
2 = Cannot do now.
3 = Invalid parameter.
4 = Acknowledge, command
will be performed with
completion signalled by an
event.
64 = Wrong control state.
65 = Wrong process state.
66 = Consumable not verified
binary*1
LENGTH
Length of process program in bytes.
LENGTH < 400kb
unsigned int*