Cio Area Allocations - Omron CS1W-ETN11 Operation Manual

10base-5, 10base-t ethernet units
Hide thumbs Also See for CS1W-ETN11:
Table of Contents

Advertisement

CIO Area Allocations

4-3

CIO Area Allocations

Offset
Bit
15
n
n+1
UDP Socket No. 1 Status
n+2
UDP Socket No. 2 Status
n+3
UDP Socket No. 3 Status
n+4
UDP Socket No. 4 Status
n+5
UDP Socket No. 5 Status
n+6
UDP Socket No. 6 Status
n+7
UDP Socket No. 7 Status
n+8
UDP Socket No. 8 Status
nn+9
TCP Socket No. 1 Status
n+10
TCP Socket No. 2 Status
n+11
TCP Socket No. 3 Status
n+12
TCP Socket No. 4 Status
n+13
TCP Socket No. 5 Status
n+14
TCP Socket No. 6 Status
n+15
TCP Socket No. 7 Status
n+16
TCP Socket No. 8 Status
n+17
n+18
n+19
Socket Service Re-
quest Switches 2
n+20
Socket Service Re-
quest Switches 4
n+21
Socket Service Re-
quest Switches 6
n+22
Socket Service Re-
quest Switches 8
n+23
n+24+
The various kinds of data are stored in the offset positions shown in the fol-
lowing diagram, from the beginning word in the area for each Unit.
The beginning word n is calculated by the following equation:
Beginning word n = CIO 1500 + (25 x unit number)
8
7
Unit Control Switch
Service Status
Error Status
Socket Service Re-
quest Switches 1
Socket Service Re-
quest Switches 3
Socket Service Re-
quest Switches 5
Socket Service Re-
quest Switches 7
(Not used.)
(Not used.)
The following items in the diagram can also be checked using software switch
settings on the CX-Programmer.
• The status of UDP/TCP sockets 1 to 8 (Opening Flag, Receiving Flag,
Sending Flag, Closing Flag, Results Storage Error Flag, Socket Open
Flag)
• Service status (FTP status)
For explanations of how to use the related communications services listed in
the above diagram, refer to the indicated sections.
0
Data direction
CPU Unit to Ethernet Unit
Ethernet Unit to CPU Unit
CPU Unit to Ethernet Unit
Section 4-3
Related communications services
Socket Services
(Refer to Section 6
Socket Services.)
Mail Function
(Refer to Section 8 Mail.)
Socket Services
(Refer to Section 6
Socket Services.)
FTP Service, etc.
All error conditions
Socket Services
(Refer to Section 6
Socket Services.)
67

Advertisement

Table of Contents
loading

Table of Contents