TRS GEM Manual for Intel Ver 1.1.pdf - 第57页
GEM Manual for DEK P rinters SECS II Implementation Issue 1.1 March 20th, 2014 Page 57 of 152 Page 57 of 152 6.2 SECS II VA RIA BLE DA TA DEFINITIONS This section gives definitions of the data items required in the SECS …

GEM Manual for DEK Printers SECS II Implementation
Issue 1.1 March 20th, 2014 Page 56 of 152 Page 56 of 152
Primary
Description
Reply
Description
S1F13
Establish Communications Request
S1F14
ECR Acknowledge
S2F17
Date & Time Request
S2F18
Date & Time Data
S5F1
Alarm Report Send
S5F2
Alarm Report Acknowledge
S6F1
Trace Data Send
S6F2
Trace Data Acknowledge
S6F5
Multi-block Data Send Inquire
S6F6
Multi-block Grant
S6F11
Event Report Send
S6F12
Event Report Acknowledge
S7F1
Process Program Load Inquire
S7F2
Process Program Load Grant
S7F3
Process Program Send
S7F4
Process Program Acknowledge
S7F5
Process Program Request
S7F6
Process Program Data
S9F1
Unrecognised Device ID
S9F3
Unrecognised Stream Type
S9F5
Unrecognised Function Type
S9F7
Unrecognised Illegal Data
S9F9
Transaction Timer Timeout
S9F11
Data Too Long
S9F13
Conversation Timeout
S10F1
Terminal Request
S10F2
Terminal Request Acknowledge

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