SECS GEM Manual.pdf - 第23页
GEM Manual for DEK Printers Capabilities Issue 1.6 January 22, 2018 Page 23 of 171 Transition Table (continued): # Current State Trigger New State Actio n C omment 10 Any entry to Host Initiated Connect Any entry to Not …

GEM Manual for DEK Printers Capabilities
Issue 1.6 January 22, 2018 Page 22 of 171
Transition Table:
The following table shows the transitions that may occur within the communications state
model.
# Current State Trigger New State Action Comment
1 Powered
Down
Software and hardware
initialisation. Final
configuration determined
by config.cfg file.
System Default None The system
default may be set
to Disabled or
Enabled.
2 Disabled Operator action to select
Enabled.
Enabled None SECS-II comms
are enabled.
3 Enabled (any sub-
state)
Operator action to select
Disabled.
Disabled None SECS-II comms
are prohibited.
4 (Entry to Enabled) Any entry to Enabled
state.
Not Communicating None May enter from
system
initialisation or by
operator switch to
Enabled.
5 Any entry to
Equipment Initiated
Connect
Any entry to Not
Communicating.
Wait CRA. Initialise comms.
Set CommsDelay
timer to ‘expired’.
Send S1F13.
Begin to attempt
to establish
comms.
6 Wait CRA Connection transaction
failure.
Wait Delay Initialise
CommsDelay timer
Wait for timer to
expire.
7 Wait Delay CommsDelay timer
expired.
Wait CRA Send S1F13. Wait for S1F14.
May receive
S1F13 from host.
8 Wait Delay Receive a message other
than S1F13.
Wait CRA Drop msg. Set
CommsDelay timer
to ‘expired’. Send
S1F13.
Indicates
opportunity to
establish comms.
9 Wait CRA Received expected
S1F14 with
COMMACK = 0.
Communicating None Communications
established.

GEM Manual for DEK Printers Capabilities
Issue 1.6 January 22, 2018 Page 23 of 171
Transition Table (continued):
# Current State Trigger New State Action Comment
10 Any entry to Host
Initiated Connect
Any entry to Not
Communicating.
Wait CR from Host. None Wait for S1F13
from Host.
11 Wait CR from Host Received S1F13. Wait Tx Complete. Send S1F14 with
COMMACK = 0.
Host seeks to
establish comms.
12 Wait Tx Complete S1F14 transmission
failed.
Wait CR from Host. None Wait for S1F13
from Host.
13 Wait Tx Complete S1F14 transmission
completely successful.
Communicating. None Communications
are established.
14 Communicating Communications failure. Not Communicating. Dequeue all
messages queued to
send.
Dequeued
messages may be
placed in spool
buffer as
appropriate.
Scenarios:
The following scenarios describe the SECS II activity associated with the Establish
Communication capability.
Host attempts to establish communications:
Comments Host Equipment Comments
Establish Communications Request
S1F13 -->
<-- S1F14
Communications state is enabled.
(any sub-state)
Reply COMMACK = Accept and
Communications state = COMMUNICATING.
Equipment attempts to establish communications:
Comments Host Equipment Comments
Reply COMMACK = Accept
S1F14 -->
<-- S1F13
Communications state is enabled
(any sub-state).
Communications state = COMMUNICATING.
Establish Communications Request.
Communications state = COMMUNICATING.

GEM Manual for DEK Printers Capabilities
Issue 1.6 January 22, 2018 Page 24 of 171
Scenarios (continued):
Simultaneous attempts to establish communications:
Comments Host Equipment Comments
Host tries to establish
communications at same time.
S1F13 -->
S1F14 -->
<-- S1F13
<-- S1F14
[while] CRA not received send and wait.
[exit while]
Communicating state.
Host should reply anyway to avoid timeout.
State is still communicating.
4.1.2 GEM communication Status
Printer module displays ‘Host Comms’ status on main screen. When GEM connection status
changed on printer, new status updated on main screen. Current status options are Disabled/
Enabled-No Comm/ Enabled-Comm.
When COMMS PROTOCOL preference value is set to NO COMMS.
Host Comms status will be “Disabled”.
When COMMS PROTOCOL preference value is set to GEM:
When No GEM enabled on printer:
Host Comms status will be “Disabled”.
When GEM enabled on printer:
When no communication established
Host Comms status will be “Enabled No Comm”
When Communication established with EQUIPMENT CONTROL “Equip Off-Line”.
Host Comms status will be “Enabled Off-Line”
When Communication established with EQUIPMENT CONTROL “Equip On-Line”.
When ON-LINE CONTROL set to LOCAL
Host Comms status will be “Enabled On-line Local”
When ON-LINE CONTROL set to REMOTE
Host Comms status will be “Enabled On-line Remote”