Socket Status Area - Omron SYSMAC C200HW-PCU01 Operation Manual

Pc card unit
Table of Contents

Advertisement

FINS Commands Requesting Socket Services

11-3-2 Socket Status Area

Bit Configuration
Bit
Flag
Bit 0
Opening Flag
Bit 1
Receiving Flag
Bit 2
Sending Flag
Bit 3
Closing Flag
Bit 4 to 12
Not used
Bit 13
Socket
Classification
Flag
Bit 14
Results Storage
Error Flag
Bit 15
Open Flag
186
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
The meaning of individual bits in each status word is shown in the following dia-
gram.
Socket Classification Flag
Results Storage Error Flag
Open Flag
Value
Status
1
Opening
0
Open complete
1
Receiving
0
Receive complete
1
Sending
0
Send complete
1
Closing
0
Close complete
1
TCP socket
0
UDP socket
1
Results storage
error
0
Results storage
normal
1
Open (connected)
0
Closed
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
Closing Flag
Sending Flag
ON when an open request is received.
OFF when opening has been completed.
ON when a receive request is received.
OFF when receive has been completed.
ON when a send request is received.
OFF when send has been completed.
ON when a close request is received.
OFF when close has been completed.
Indicates that the open socket is a TCP socket.
(This has no meaning if the Open Flag is "0.")
Indicates that the open socket is a UDP socket.
(This has no meaning if the Open Flag is "0.")
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.
OFF when the next service is requested at the
socket.
ON when opening has been completed. This flag
indicates the TCP socket is connected.
OFF when closing has been completed. Remains
OFF if an error occurs during opening.
Section 11-3
Byte
Bit
Receiving Flag
Opening Flag
Description

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac c200hw-pcs01-ev1

Table of Contents