Response Codes - Omron CS1W-ETN11 Operation Manual

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
Remote UDP/TCP Port No.
Time Out Time
Number of Bytes to Send/Receive
Send/Receive Data Address
6-2-2

Response Codes

Specify the UDP or TCP port number used by the remote device.
• This parameter is not used when making a receive request for a UDP
socket. The remote UDP/TCP port number will be stored with the
response data and will be written as the Remote UDP/TCP Port No. in the
Socket Service Parameter Area.
• When opening a passive TCP socket, the combination of the remote IP
address and the remote TCP port number can be used to affect process-
ing as shown in the table for the Remote IP Address, above. If the Remote
UDP/TCP Port No. is set to 0, the UDP/TCP port number of the remote
device will be written as the Remote UDP/TCP Port No. in the Socket Ser-
vice Parameter Area.
Set the time limit in units of 0.1 s for completion of communications from the
time that the Receive Request Switch (TCP or UDP) or the TCP Passive
Open Request Switch is turned ON. A response code of 0080 Hex (timeout)
will be stored if communications time out. If 0 is set, the requested service will
not be timed.
Send the number of bytes to be sent or the number of bytes to receive. When
the transfer has been completed, the actual number of bytes that have been
sent or received will be written here.
Specify the address of the first word to send or the address of the first word
where data is to be received. Always set the bit number to 00 Hex.
Offset
15
+6
Area
designation
Rightmost 2 digits
+7
of word address
The following specifications can be used.
Area
CIO, HR,
CIO
and AR
HR
Areas
AR
DM Area
DM
EM Area
Bank 0
:
Bank C
When processing of a request has been completed for socket services exe-
cuted using Socket Service Request Switches, a response code will be stored
in the Response Code word in the Socket Service Parameter Area. The fol-
8 7
Leftmost 2 digits
of word address
Bit number
(always 00 Hex)
Word address
0000 to 6143
H000 to H511
A448 to A959
D00000 to D32767
E0_00000 to E0_32767
:
EC_00000 to EC_32767 AC
Section 6-2
0
Area
Word address
designation
(Hex)
(Hex)
B0
0000 to 17FF
B2
0000 to 01FF
B3
01C0 to 03BF
82
0000 to 7FFF
A0
0000 to 7FFF
:
:
0000 to 7FFF
117

Advertisement

Table of Contents
loading

Table of Contents