186
11-3-2 Socket Status Area
Each PC Card Unit has four sockets that can be used for TCP or UDP. The status
of each of these sockets can be confirmed from the respective AR bits.
AR Words 08 to 15
Byte
Operating level #0, socket no. 1 status area
Operating level #0, socket no. 2 status area
Operating level #0, socket no. 3 status area
Operating level #0, socket no. 4 status area
Operating level #1, socket no. 1 status area
Operating level #1, socket no. 2 status area
Operating level #1, socket no. 3 status area
Operating level #1, socket no. 4 status area
Bit Configuration
The meaning of individual bits in each status word is shown in the following dia-
gram.
Bit
Open Flag
Results Storage Error Flag
Socket Classification Flag
Closing Flag
Sending Flag
Receiving Flag
Opening Flag
Bit
Flag
Value
Status
Description
Bit 0
Opening Flag
1
Opening
ON when an open request is received.
0
Open complete
OFF when opening has been completed.
Bit 1
Receiving Flag
1
Receiving
ON when a receive request is received.
0
Receive complete
OFF when receive has been completed.
Bit 2
Sending Flag
1
Sending
ON when a send request is received.
0
Send complete
OFF when send has been completed.
Bit 3
Closing Flag
1
Closing
ON when a close request is received.
0
Close complete
OFF when close has been completed.
Bit 4 to 12
Not used
Bit 13
Socket
Classification
1
TCP socket
Indicates that the open socket is a TCP socket.
(This has no meaning if the Open Flag is “0.”)
Flag
0
UDP socket
Indicates that the open socket is a UDP socket.
(This has no meaning if the Open Flag is “0.”)
Bit 14
Results Storage
Error Flag
1
Results storage
error
ON when the results storage area is incorrectly
defined for a FINS command sent to a PC Card
Unit. This flag will not turn ON until the Opening,
Receiving, Sending, and Closing Flags turn OFF.
0
Results storage
normal
OFF when the next service is requested at the
socket.
Bit 15
Open Flag
1
Open (connected)
ON when opening has been completed. This flag
indicates the TCP socket is connected.
0
Closed
OFF when closing has been completed. Remains
OFF if an error occurs during opening.
FINS Commands Requesting Socket Services
Section 11-3
Содержание SYSMAC C200HW-PCS01-EV1
Страница 1: ...Cat No W313 E1 3 PC Card Unit SYSMAC C200HW PCU01 C200HW PCS01 EV1 OPERATION MANUAL...
Страница 2: ......
Страница 3: ...SYSMAC C200HW PCU01 C200HW PCS01 EV1 PC Card Unit Operation Manual Revised January 2000...
Страница 4: ......
Страница 6: ......
Страница 10: ......
Страница 12: ......
Страница 18: ......
Страница 34: ......
Страница 38: ......
Страница 60: ......
Страница 80: ......
Страница 82: ......
Страница 88: ......
Страница 120: ......
Страница 148: ......
Страница 178: ......
Страница 214: ......
Страница 220: ......
Страница 232: ......
Страница 234: ......
Страница 236: ......
Страница 238: ......
Страница 240: ......