Omron CS CJ1W-ETN21 Operation Manual page 156

Sysmac cs and cj series ethernet units construction of applications
Hide thumbs Also See for CS CJ1W-ETN21:
Table of Contents

Advertisement

Using Socket Services by Manipulating Dedicated Control Bits
Basic Operations
Program Memory Map
132
• 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.
The data is sent (100 bytes) beginning from word D00000.
• 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 to 6-7-5 Socket Service Request Switches for informa-
tion on errors.
The send and receive data and bits (flags) used by the program are shown in
the following diagram.
DM Area
CIO Area
15 to 8
CIO 0000
CIO 0001
CIO 0002
Send data, 100 bytes (100 = 0064 Hex)
Receive data, 100 bytes (100 = 0064 Hex)
7
6
5
4
Section 6-7
3
2
1
0
UDP
UDP
UDP
UDP
Send
Close
Open
Receive
Bit
Bit
Bit
Bit
UDP
UDP
UDP
UDP
Send
Close
Open
Receive
Error
Error
Error
Error
Flag
Flag
Flag
Flag
UDP
UDP
UDP
UDP
Opening
Receiving
Sending
Closing
Flag
Flag
Flag
Flag

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cs cs1w-etn21Sysmac cs1w-etn21Sysmac cj1w-etn21

Table of Contents