252301 Issue 2.0.pdf - 第143页

GEM Manual for DEK Printers Additional Capabilities I ssue 2.0 June 9th, 2011 page 143 of 156 Host requests that the equipment transfers the eve nt log file to the host: Comm ents Host Equipment Comments Host requests up…

100%1 / 156
GEM Manual for DEK Printers Additional Capabilities
Issue 2.0 June 9th, 2011 page 142 of 156
10.3 Upload Event Log
The equipment will receive an Open Data Set Request Message Stream 13 Function 3, containing the
following:
<HANDLE> Logical unit or handle.
<DSNAME> Data set name. 'EVENT LOG'
<CKPNT> Check point.
The equipment will respond with an Open Data Set Message Stream 13 Function 4, containing the
following:
<HANDLE> Logical unit or handle.
<DSNAME> Data set name. 'EVENT LOG'
<ACKC13> Acknowledge code.
<RTYPE> Record type.
<RECLEN> Maximum length of discrete record.
The command will only be accepted if the equipment is in the Ready state.
If the equipment is able to accept the command it will wait for a Read Data Set Request Message
Stream 13 Function 5, containing the following:
<HANDLE> Logical unit or handle
<READLN> Maximum length to read.
The equipment will respond with a Read Data Set Message, Stream 13 Function 6, containing the
following:
<HANDLE> Logical unit or handle.
<ACKC13> Acknowledge code.
<CKPNT> Check point.
<RTYPE> Record type.
<FILDAT> File data.
The equipment will wait for further Read Data Set Request messages until a Stream 13 Function 0
'abort message' is received or a Close Data Set Send message is received containing the current Handle
value.
The Data Set will be closed by the host sending a Close Data Set SendMessage, Stream 13 Function 7,
containing the following:
<HANDLE> Logical unit or handle
If a Close Data Set message is received the equipment will respond with a Close Data Set
Acknowledge message Stream 13 Function 8, containing the following:
<HANDLE> Logical unit or handle.
<ACKC13> Acknowledge code.
GEM Manual for DEK Printers Additional Capabilities
Issue 2.0 June 9th, 2011 page 143 of 156
Host requests that the equipment transfers the event log file to the host:
Comments Host Equipment Comments
Host requests upload of Event Log.
If equipment ready Host requests
read data set
Host requests further data sets
Host sends Close data set message
S13F3 -->
S13F5 -->
S13F5 -->
S13F7 -->
<-- S13F4
<-- S13F6
<-- S13F6
<-- S13F8
[IF] equipment System Status = READY
<ACKC13> = data set open
[ELSE] not ready
<ACKC13> = not ready
[END_IF]
equipment sends data blocks.
<ACKC13> = success
equipment sends data blocks.
<ACKC13> = success
equipment closes data set.
<ACKC13> = success
Host to Equipment Message Structure:
Stream 13 Function 3
L,3
1. <HANDLE>
2. <DSNAME>
3. <CKPNT>
Equipment to Host Message Structure:
Stream 13 Function 4
L,5
1. <HANDLE>
2. <DSNAME>
3. <ACKC13>
4. <RTYPE>
5. <RECLEN>
Host to Equipment Message Structure:
Stream 13 Function 5
L,2
1. <HANDLE>
2. <READLN>
GEM Manual for DEK Printers Additional Capabilities
Issue 2.0 June 9th, 2011 page 144 of 156
Equipment to Host Message Structure:
Stream 13 Function 6
L,4
1. <HANDLE>
2. <ACKC13>
3. <CKPNT>
4. <FILDAT>
Host to Equipment Message Structure:
Stream 13 Function 7
L,1
1. <HANDLE>
Equipment to Host Message Structure:
Stream 13 Function 8
L,2
1. <HANDLE>
2. <ACKC13>