SECS GEM Manual - 第20页
GEM Manual for DEK Printers Capabilities Issue 1.6 January 22, 2018 Page 20 of 171 4.1 Establish Communication s This capability enables control of transitions betwe en the normal communications and inoperative communica…

GEM Manual for DEK Printers Capabilities
Issue 1.6 January 22, 2018 Page 19 of 171
4 Capabilities
Establishing Communications 5.1
Data Collection 5.2
Alarm Management 5.3
Remote Control 5.4
Equipment Constants 5.5
Process Program Management 5.6
Material Movement 5.7
Equipment Terminal Services 5.8
Error Messages 5.9
Clock 5.10
Limits Monitoring 5.11
Spooling 5.12
Verification and Traceability
5.13

GEM Manual for DEK Printers Capabilities
Issue 1.6 January 22, 2018 Page 20 of 171
4.1 Establish Communications
This capability enables control of transitions between the normal communications and
inoperative communication conditions. The current state of the communication link is
continuously displayed at the equipment operator console as shown in appendix B. Appendix B
also shows the operator controls provided for switching between communications enabled and
disabled.
4.1.1 Communications State Model
The following diagram illustrates the level of communication with the equipment with regard
to the host system.
State Diagram:
C
DISABLED
System
Initialisation.
COMMUNICATING
ENABLED
1
WAIT CRA
WAIT DELAY
WAIT TX.
COMPLETE
3
4
5
7
8
2
9
11
13
10
6
14
12
WAIT CR
FROM HOST
EQUIPMENT INITIATED CONNECT
HOST INITIATED CONNECT
NOT COMMUNICATING

GEM Manual for DEK Printers Capabilities
Issue 1.6 January 22, 2018 Page 21 of 171
State Definitions:
DISABLED - During the Disabled state, there are no communications between the equipment
and the Host system. The Disabled state is active until the operator enables communications, or
the equipment is powered down.
ENABLED - In the Enabled state, the Host is able to communicate with the equipment over
the SECS-II link. The Enabled state is active until either the operator disables communications,
the equipment is powered down or a fault occurs.
NOT COMMUNICATING - In the Not Communicating state the communications link is
waiting to communicate. There are two sub-states, each with a further two sub-states:
Equipment Initiated Connect:
Wait CRA
An Establish Communications Request has been sent.
The equipment waits for the Host to acknowledge the request.
Wait Delay
A connection transaction has occurred. The CommsDelay timer has been
initialised. The equipment waits for the timer to expire.
Host Initiated Connect:
Wait CR from Host
Equipment waits for a S1F13 from the host. If a S1F13 is received the
equipment attempts to send a S1F14 with COMMACK = 0.
Wait Tx Complete
Wait for successful completion of the transmission of S1F14. May receive the
S1F14 from the Host in response to a previously sent S1F13. This state is
active until a communications response is required.
COMMUNICATING - In the Communicating state, communications have been established,
to the level selected by the operator (see Control State Model). Any message received is
subsequently processed for the appropriate response. The equipment may receive any message
from the Host, including S1F13. The Communicating state remains until communications are
disabled or a communication failure occurs. If the equipment receives S1F13 from the Host
while in the Communicating sub-state, it should respond with S1F14 with COMMACK set to
zero. Should the equipment receive S1F14 from a previously sent S1F13, no action is required.