Cio Area Allocations - Omron CJ1W-ETN21 - 04-2009 Operation Manual

Ethernet units construction of networks
Table of Contents

Advertisement

CIO Area Allocations

4-1
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
n+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
FINS/TCP Connection Status
n+23
n+24
78
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 × unit number)
08 07
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.)
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)
• FINS/TCP Connection Status
For explanations of how to use the related communications services listed in
the above diagram, refer to the indicated sections.
00
Data direction
CPU Unit to Ethernet Unit
Ethernet Unit to CPU Unit
CPU Unit to Ethernet Unit
Ethernet Unit to CPU Unit
(Refer to SECTION 6 FINS Communications.)
Section 4-1
Related communications services
Socket Services
(Refer to Operation Manual,
Construction of Applications,
SECTION 6.)
Mail Function
(Refer to Operation Manual,
Construction of Applications,
SECTION 2.)
Socket Services
(Refer to Operation Manual,
Construction of Applications,
SECTION 6.)
FTP Service, etc.
All error conditions
Socket Services
(Refer to Operation Manual,
Construction of Applications,
SECTION 6.)
FINS Communications

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents