Omron CS1W-ETN21 Status of UDP/TCP Sockets 1 to 8 Ethernet Unit to CPU Unit, Opening Flag Bit

Models: CS1W-ETN21

1 285
Download 285 pages 16.7 Kb
Page 105
Image 105

CIO Area Allocations

Section 4-1

Status of UDP/TCP Sockets 1 to 8 (Ethernet Unit to CPU Unit)

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

n+1 to n+16

Data Received Flag

Results Storage Error Flag

TCP/UDP Open Flag

Opening Flag

Receiving Flag

Sending Flag

Closing Flag

Bit

Flag

Status

Manipulated

Unit operation

Reference

 

 

 

by

 

 

 

 

 

 

 

 

0

Opening Flag

ON

Unit

ON during open processing. (Turns

Operation Manual, Con-

 

 

 

 

ON when open request is received.)

struction of Applica-

 

 

 

 

 

tions, SECTION 6

 

 

OFF

Unit

OFF when open processing has

 

 

 

 

 

 

 

been completed.

 

 

 

 

 

 

 

1

Receiving Flag

ON

Unit

ON during receive processing.

 

 

 

 

 

(Turns ON when receive request is

 

 

 

 

 

received.)

 

 

 

 

 

 

 

 

 

OFF

Unit

OFF when receive processing has

 

 

 

 

 

been completed.

 

 

 

 

 

 

 

2

Sending Flag

ON

Unit

ON during send processing. (Turns

 

 

 

 

 

ON when send request is received.)

 

 

 

 

 

 

 

 

 

OFF

Unit

OFF when send processing has

 

 

 

 

 

been completed.

 

 

 

 

 

 

 

3

Closing Flag

ON

Unit

ON during close processing. (Turns

 

 

 

 

 

ON when close request is received.)

 

 

 

 

 

 

 

 

 

OFF

Unit

OFF when close processing has

 

 

 

 

 

been completed.

 

 

 

 

 

 

 

4 to 12

(Not used.)

---

---

---

---

 

 

 

 

 

 

13

Data Received Flag

ON

Unit

ON when data from a remote node

Operation Manual, Con-

 

 

 

 

has been received at an open TCP

struction of Applica-

 

 

 

 

socket.

tions, SECTION 6

 

 

 

 

 

 

 

 

OFF

Unit

OFF when receive processing has

 

 

 

 

 

been requested for an open TCP

 

 

 

 

 

socket.

 

 

 

 

 

 

 

14

Results Storage

ON

Unit

ON if there is an error in storing the

 

 

Error Flag

 

 

results when socket services are

 

 

 

 

 

used by means of the CMND(490)

 

 

 

 

 

instruction.

 

 

 

 

 

 

 

 

 

OFF

Unit

Turns OFF when the next request is

 

 

 

 

 

received. (Connected by TCP.)

 

 

 

 

 

 

 

15

TCP/UDP Open

ON

Unit

ON when open processing has been

 

 

Flag

 

 

completed.

 

 

 

 

 

 

 

 

 

OFF

Unit

OFF when close processing has

 

 

 

 

 

been completed. (Stays OFF for

 

 

 

 

 

abnormal open processing comple-

 

 

 

 

 

tion.)

 

Note The status of these flags can also be checked using the software switch set- tings on the CX-Programmer.

Opening Flag (Bit 0)

Turns ON when an open request is received either by control bit manipulation or the CMND(490) instruction, and turns OFF again when the open process- ing has been completed. When CMND(490) is used, the Results Storage Error Flag (bit 14) will turn ON at the same time as the Opening Flag turns OFF if there is an error in the Results Storage Area designation.

80

Page 105
Image 105
Omron CS1W-ETN21 operation manual Status of UDP/TCP Sockets 1 to 8 Ethernet Unit to CPU Unit, Opening Flag Bit