Omron CJ Series Connection Manual page 40

General-purpose ethernet connection guide (tcp/ip) for yamaha motor rcx robot controller
Hide thumbs Also See for CJ Series:
Table of Contents

Advertisement

(3)[m+20, m+21] Destination IP Address
•Specify the IP address of the destination device.
[m+20] stores the first and second octets of the destination IP address, and [m+21]
stores the third and fourth octets.
(m+20)
**
**
Destination
Destination
IP address 1
IP address 2
IP address 3
(4)[m+22] Destination TCP port No.
•Specify the TCP port number of the destination device.
(5)[m+23] Number of bytes to send/receive
•Specify the number of bytes to send/receive when issuing a send or receive request.
(6)[m+24, m+25] Send/receive data address
•Specify the start address of the send data when issuing a send request. Or specify the
start address where the receive data is stored when issuing a receive request.
(m+24)
**
Area
designation
(7)[m+26] Timeout value
•Specify the time limit in increments of 0.1 second from when the Socket Service
Request Switch is turned ON to when the switch is turned OFF (receive processing is
completed) when issuing a receive request.
If 0 is specified, timeout monitoring is not performed when a receive request is issued.
(8)[m+27] Response code
•A response code for each execution result of the open request, send request, receive
request and close request is stored.
[Socket Service Request Switches (Allocated CIO areas)
Dedicated control bits can be manipulated to request socket services. These bits are called
Socket Service Request Switches, and are turned ON in the CPU Unit to request socket
services through the Ethernet Unit. The Socket Service Request Switches are allocated to
CIO area words by each socket number as follows:
(m+21)
**
**
Destination
Destination
IP address 4
(m+25)
**
**
00
Word address Bit number
(Always 00 Hex)
(The start word n is calculated using the following formula: n=1500 + (25×Unit No))
9.Program
37

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cj2h-cpu6 eip seriesCj2h-cpu6 seriesCj2m-cpu seriesCj1w-etn21Cj2m-cpu12W4s1-05c ... Show all

Table of Contents