Omron CS1W-ETN11 Operation Manual page 156

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

Advertisement

Using Socket Services with Socket Service Request Switches
Basic Operations
Program Memory Map
CIO 0000
CIO 0001
CIO 0002
• CIO 000000 is turned ON to request opening a UDP socket from the
Ethernet Unit.
• CIO 000001 is turned ON to request closing the UDP socket from the
Ethernet Unit.
• CIO 000002 is turned ON to request sending data from the Ethernet Unit.
• CIO 000003 is turned ON to request receiving data from the Ethernet
Unit. The data that is received (100 bytes) is stored beginning at D01000.
• One of the bits between CIO 000100 and CIO 000103 will turn ON if an
error occurs. Refer to6-2-2 Response Codes for information on errors.
The send and receive data and bits (flags) used by the program are shown in
the following diagram.
DM Area
CIO Area
The following bits and flags are used to control CMND(490) execution. The
bits in CIO 0000 are used to signal execution, the bits in CIO 0001 are used to
signal errors, and the bits in CIO 0002 are used to control the program so that
the instruction is executed only once.
15 to 8
7
6
Send data, 100 bytes (100 = 0064 Hex)
Receive data, 100 bytes (100 = 0064 Hex)
5
4
3
2
TCP
TCP
Send
Receive
Bit
Bit
TCP
TCP
Send
Receive
Error
Error
Flag
Flag
TCP
TCP
Receiving
Sending
Flag
Flag
Section 6-2
1
0
TCP
TCP
Close
Open
Bit
Bit
TCP
TCP
Close
Open
Error
Error
Flag
Flag
TCP
TCP
Opening
Closing
Flag
Flag
135

Advertisement

Table of Contents
loading

Table of Contents