Omron CS CJ1W-ETN21 Operation Manual page 140

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
Parameter Settings
UDP Socket Services
Parameter
Socket option
UDP/TCP socket No.
Local UDP/TCP port No.
Remote IP address
Remote UDP/TCP port No.
Number of bytes to send/receive
Send/Receive data address
Time out time
(Unit: 100 ms)
Response code
TCP Socket Services
Parameter
Socket option
UDP/TCP socket No.
Local UDP/TCP port No.
Remote IP address
Remote UDP/TCP port
No.
Number of bytes to send/
receive
Send/Receive data
address
Time out time
(Unit: 100 ms)
Response code
116
The following table shows the parameters that are required for each service
and the use of the parameters by the socket service.
No. of
words
(decimal values in
1
Specified bit
0001 to 0008 hexadecimal
(1 to 8)
1
0000 to FFFF hexadecimal
(0 to 65,535)
2
00000000 to FFFFFFFF
hexadecimal
(0.0.0.0 to 255.255.255.255)
1
0000 to FFFF hexadecimal
(0 to 65,535)
1
0000 to 07C0 hexadecimal
(0 to 1,984 bytes)
2
Memory area address
1
0000 to FFFF hexadecimal
(0 to 65,535)
(0: No limit, 0.1 to 6,553.5 s)
1
---
Note W:
Written by user
RW: Written by user at execution and then read for results at completion
R:
Read by user for results at completion
---:
Not used.
No. of
Range
words
(decimal values in
parentheses)
1
Specified bit
0001 to 0008 hexadecimal
(1 to 8)
1
0000 to FFFF hexadecimal
(0 to 65,535)
2
00000000 to FFFFFFFF
hexadecimal
(0.0.0.0 to 255.255.255.255
1
0000 to FFFF hexadecimal
(0 to 65,535)
1
0000 to 07C0 hexadecimal
(0 to 1,984 bytes)
2
Memory area address
1
0000 to FFFF hexadecimal
(0 to 65,535)
(0: No limit, 0.1 to 6,553.5 s)
1
---
Note W:
Written by user
RW: Written by user at execution and then read for results at completion
Range
UDP
parentheses)
open
---
W
W
---
---
---
---
---
R
TCP
passive
open
W
W
W
W
W
RW
RW
W
RW
W
---
---
---
---
W
---
R
R
Section 6-7
Socket service
UDP
UDP
receive
send
---
---
W
W
---
---
R
W
R
W
RW
RW
W
W
W
---
R
R
Socket service
TCP
TCP
TCP
active
receive
send
open
---
---
W
W
---
---
---
---
---
---
RW
RW
W
W
W
---
R
R
UDP
close
---
W
---
---
---
---
---
---
R
TCP
close
---
W
---
---
---
---
---
---
R

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cs cs1w-etn21Sysmac cs1w-etn21Sysmac cj1w-etn21

Table of Contents