252301 Issue 2.0 - 第64页

GEM Manual for DEK Printers SECS II Implementation I ssue 2.0 June 9th, 2011 page 64 of 156 Data Item Description Values Format STRACK S pool stream acknowledge. 1 = Sp ooling illegal for stream. e.g. stream 1 2 = Unknow…

100%1 / 156
GEM Manual for DEK Printers SECS II Implementation
Issue 2.0 June 9th, 2011 page 63 of 156
Data Item Description Values Format
OBJSPEC A text string that has an internal format that is
used to point to a specific object instance.
This may be zero length
Not implemented in this release
ASCII
OBJTYPE Identifier for a group or class of objects PROCESS PROGRAM”
ASCII *40
OFLACK
Acknowledge code for Off-Line request.
0 = Acknowledge binary*1
ONLACK
Acknowledge code for On-Line request.
0 = Accepted.
1 = Not allowed.
2 = Already On-Line.
binary*1
PPBODY Process program body. Unformatted data. binary
PPGNT Process program grant code. 0 = Permission granted.
1 = Already have.
2 = No space.
3 = Invalid PPID.
4 = Busy, try later.
5 = Will not accept.
6-63 Reserved
int*1
PPID Process program identity.
Any characters valid in a
windows file name.
ASCII* 68
RCMD Remote command string. See appendix A.
ASCII* ≤20
READLN Maximum length to read. int*2
RECLEN Maximum length of discrete record. int*2
REPGSZ Report group size. Limit = (no of groups * no of
SVID’s) < 16384 bytes
0-16384 bytes are buffered.
TIAACK = 1 if exceeded.
unsigned int*4
RPTID Report identity. Any 4 byte integer no. unsigned int*4
RSDA Request spooled data acknowledge. 0 = OK will transmit.
1 = Denied, busy try later.
2 = Denied, spooled data
unknown.
binary
RSDC Request spooled data code. 0 = Transmit spooled messages.
1 = Purge spooled messages.
unsigned int*1
RSPACK Reset spooling acknowledge. 0 = Spooling setup accepted.
1 = Spooling setup rejected.
binary*1
RTYPE Type of record. 1 = Discrete type. int*1
SHEAD Stored header associated with transaction
timeout.
See SECSI specification for
format of header block.
binary*10
SMPLN Sample number. When REPGSZ > 1 then it
is the sample number of the first sample in
the report.
0-4294967295 unsigned int*4
SOFTREV Software revision code. V” MM ”R” mm
MM = Major version level.
mm = Minor version level.
ASCII*6
STIME Sample time. Yymmddhhmmss or
Yyyymmddhhmmsscc
ASCII*12 or
ASCII*16
Depends on
variable
TimeFormat
GEM Manual for DEK Printers SECS II Implementation
Issue 2.0 June 9th, 2011 page 64 of 156
Data Item Description Values Format
STRACK Spool stream acknowledge. 1 = Spooling illegal for stream.
e.g. stream 1
2 = Unknown stream.
3 = Unknown function for this
stream.
4 = Secondary function
specified for this stream.
binary*1
STRID Stream identity. Any supported stream number.
unsigned int*1
SV Status variable value. See chapter 7, Machine
Variables.
Depends upon
variable id.
SVID Status variable identity. See chapter 7. unsigned int*4.
SVNAME Status variable name. See chapter 7.
ASCII* ≤0
TEXT Character string for terminal display.
Any printable characters.
ASCII* ≤160
TIAACK Trace request acknowledge code. 0 = Acknowledge, OK.
1 = Too many SVID’s.
2 = No more traces allowed.
3 = Invalid period.
binary*1
TIACK Time send acknowledge code. 0 = Accepted
1 = Error
binary*1
TID Terminal number. 0 = Single terminal. binary*1
TIME Time of day. Yymmddhhmmss or
Yyyymmddhhmmsscc
7
ASCII*12 or
ASCII*16
Depends on
variable
TimeFormat
TOTSMP Total number of samples to be taken. 0-4294967295 unsigned int*4
TRID Trace requests identity. 0-4294967295 unsigned int*4
UNITS Units identifier. ‘s’ = seconds
‘cs’ = centiseconds
‘ms’ = milliseconds
ASCII* ≤6
UPPERDB A variable limit attribute that defines the
upper boundary of the deadband of a limit.
The value applies to a single limit (LIMITID)
for a specified VID.
Thus, UPPERDB and LOWERDB as a pair
define a limit.
See Variable limits section 5.5 Depends on the
type of the
variable.
V Variable data. See chapter 5, Machine
Variables.
Depends upon
variable id.
VID Variable identity. See chapter 5, Machine
Variables.
unsigned int*4.
VLAACK Variable limit attribute acknowledge code. 0 = Command will be done.
1 = Attribute definition error.
2 = Cannot do now.
binary*1
7
If yy is less than 96 then yy is assumed to be 2000 + yy
GEM Manual for DEK Printers SECS II Implementation
Issue 2.0 June 9th, 2011 page 65 of 156
6.3 STREAM 1: EQUIPMENT STATUS
S1F1 Are You There Request (R)
S1F2 On-Line Data (D)
Description: This transaction determines whether the receiver is alive and able to
respond. It can also trigger transition to the ON-LINE control state.
A. Host Initiated
Host to equipment: S1F1
Structure: Header only
Equipment to host: S1F2
Structure: L,2
1. <MODLN>
2. <SOFTREV>
B. Equipment Initiated
Equipment to host: S1F1
Structure: Header only
Host to equipment: S1F2
Structure: L,0