semi合集-English.pdf - 第1602页

SEMI E37.1-0702 © SEMI 1995, 2002 3 # Old State New State Trigger Actions 5 HSMS SELECTED TCP/IP NOT CONNECTED HSMS Connection Terminates: 1. Decide to terminate and send Separate.req; or 2. Receive Separ ate.req; or 3. …

100%1 / 7923
SEMI E37.1-0702 © SEMI 1995, 2002 2
5.4 The HSMS-SS state machine is illustrated in the diagram below.
Figure 1
5.5 State Transition Table for Passive Mode Connect
Table 1 HSMS-SS Passive Mode Connect State Transitions
# Old State New State Trigger Actions
1
TCP/IP NOT
CONNECTED
Initialization
2 TCP/IP NOT
CONNECTED
HSMS NOT
SELECTED
TCP/IP Connect Succeeds:
1. TCP/IP “accept” succeeds.
Start T7 timeout.
3 HSMS NOT
SELECTED
HSMS
SELECTED
HSMS Select Succeeds:
1. Receive Select.req and decide to
allow it.
1. Cancel T7 timeout; and
2. Send Select.rsp with zero
SelectStatus.
4 HSMS NOT
SELECTED
TCP/IP NOT
CONNECTED
HSMS Select Fails:
1. T7 Timeout waiting for Select.req;
or
2. Receive Select.req and decide to
reject it and send Select.rsp with non-
zero SelectStatus; or
3. Receive any HSMS message other
than Select.req; or
4. Receive HSMS message length not
equal to 10; or
5. Receive bad HSMS message header;
or
6. T8 timeout waiting for TCP/IP; or
7. Other unrecoverable TCP/IP Error
(entity-specific).
1. Close TCP/IP connection.
SEMI E37.1-0702 © SEMI 1995, 2002 3
# Old State New State Trigger Actions
5 HSMS
SELECTED
TCP/IP NOT
CONNECTED
HSMS Connection Terminates:
1. Decide to terminate and send
Separate.req; or
2. Receive Separate.req; or
3. T6 timeout waiting for Linktest.rsp;
or
4. Receive HSMS message <10; or
5. Receive HSMS message length >
maximum supported by entity; or
6. Receive bad HSMS message header;
or
7. T8 timeout waiting for TCP/IP; or
8. Other uncorrectable TCP/IP Error
(entity-specific).
1. Close TCP/IP connection.
6 HSMS
SELECTED
HSMS
SELECTED
T3 Timeout waiting for Data Reply
Message.
1. Cancel the Data Transaction as
appropriate (entity-specific) but do not
terminate the TCP/IP connection; and
2. If entity is EQUIPMENT send
SECS-II S9F9.
5.6 State Transition Table for Active Mode Connect
Table 2 HSMS-SS Active Mode Connect State Transitions
# Old State New State Trigger Actions
1 – TCP/IP NOT
CONNECTED
Initialization
2 TCP/IP NOT
CONNECTED
HSMS NOT
SELECTED
TCP/IP Connect Succeeds:
1. Decide to connect.
1. TCP/IP Connect; and
2. Send Select.req; and
3. Start T6 timeout.
3 HSMS NOT
SELECTED
HSMS
SELECTED
HSMS Select Succeeds:
1. Receive Select.rsp with zero
SelectStatus.
1. Cancel T6 timeout.
4 HSMS NOT
SELECTED
TCP/IP NOT
CONNECTED
HSMS Select Fails:
1. T6 Timeout waiting for
Select.rsp; or
2. Receive Select.rsp with non-zero
Select.Status; or
3. Receive any HSMS message
other than Select.rsp; or
4. Receive HSMS message length
not equal to 10; or
5. Receive bad HSMS message
header; or
6. T8 timeout waiting for TCP/IP; or
7. Other unrecoverable TCP/IP
Error (entity-specific).
1. Close TCP/IP connection; and
2. Start T5 Timeout.
SEMI E37.1-0702 © SEMI 1995, 2002 4
# Old State New State Trigger Actions
5 HSMS
SELECTED
TCP/IP NOT
CONNECTED
HSMS Connection Terminates:
1. Decide to terminate and send
Separate.req; or
2. Receive Separate.req; or
3. T6 timeout waiting for
Linktest.rsp; or
4. Receive HSMS message length <
10; or
5. Receive HSMS message length >
maximum supported by entity; or
6. Receive bad HSMS message
header; or
7. T8 timeout waiting for TCP/IP; or
8. Other uncorrectable TCP/IP Error
(entity-specific).
1. Close TCP/IP connection.
6 HSMS
SELECTED
HSMS
SELECTED
T3 Timeout waiting for Data Reply
Message.
1. Cancel the Data Transaction as
appropriate (entry-specific) but do
not terminate the TCP/IP
connection; and
2. If entity is EQUIPMENT, send
SECS-II S9F9.
Table 3 When HSMS Transactions are Allowed
HSMS Transition
Allowed in State(s)
Who Initiates
Transaction?
Select HSMS Not
Selected
Active Entity
Link Test HSMS Selected Either Entity
Data HSMS Selected Either Entity
Separate HSMS Selected Either Entity
6 HSMS-SS Use of TCP/IP
6.1 As defined in HSMS.
7 HSMS-SS Procedures
7.1 Select Procedure — The Select Procedure shall only be initiated by the entity establishing the TCP/IP
connection in active mode. The Passive Mode Entity shall not initiate the Select Procedure.
7.1.1 The Select Procedure is only permitted in the NOT SELECTED state. It uses a SessionID value of 0xFFFF
and implies that all device IDs are available for communication. Immediately following any Select Procedure which
fails to complete successfully with a zero Select Status, each Entity must close the TCP/IP connection and transit to
the NOT CONNECTED state.
7.2 Data Procedure — The Data Procedure is as defined in HSMS Generic Services. Note that any SessionID value
that corresponds with a DeviceID supported by the Local Entity is valid as long as the Local Entity is in the
SELECTED state.
7.3 Deselect Procedure — Deselect shall not be used in an HSMS-SS implementation. Communication is ended
using the Separate Procedure.
7.4 Linktest Procedure — As defined by HSMS. Under HSMS-SS, the use of Linktest is strictly limited to the
SELECTED state.