Omron SYSMAC C200HW-PCU01 Operation Manual page 157

Pc card unit
Table of Contents

Advertisement

Using Socket Services
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
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
Closing Flag
Sending Flag
Receiving Flag
Description
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 10-2
Bit
Opening Flag
141

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac c200hw-pcs01-ev1

Table of Contents