Using Socket Services With Cmnd(490) - Omron CJ1W-ETN11 Operation Manual

Sysmac cs/cj series ethernet units
Hide thumbs Also See for CJ1W-ETN11:
Table of Contents

Advertisement

Using Socket Services with CMND(490)

6-3

Using Socket Services with CMND(490)

Basic FINS Command
Format
0
1
Command
code
Service request commands can be sent to the Ethernet Unit by executing the
CMND(490) instruction in the ladder diagram. CS/CJ Ethernet Units support
the same functionality as the CV-series Ethernet Unit, so heritage programs
can be easily corrected and reused.
Up to 16 sockets can be connected using CMND(490): 8 UDP sockets and
8 TCP sockets.
The socket service request commands that can be used are listed in the fol-
lowing table. Refer to Section 11 FINS Commands Addressed to Ethernet
Units for details on these commands.
Command code
MRC
SRC
27
01
02
03
04
10
11
12
13
14
Requests sent to the Ethernet Unit by sending commands through execution
of CMND(40), and when the Unit receives a command, it will return a
response. The response does not, however, indicate that processing has
been completed, and the status of the flags in the Socket Status Words allo-
cated to the Unit must be used to determine when processing has been com-
pleted.
The results of processing will be stored in the words specified when
CMND(490) was executed once the requested processing has been com-
pleted.
The basic format for FINS commands used for socket services is shown in the
following diagram.
2
3
4
5
6
Socket
Results storage area
number
Command Code:
Specifies the process code requested from the socket.
Socket Number
Specifies the socket number for the process, between 1 and 8.
Results Storage Area
Specifies the area to store the results of the requested process.
Parameters
Specifies the parameters defined for the command code.
UDP OPEN REQUEST
UDP RECEIVE REQUEST
UDP SEND REQUEST
UDP CLOSE REQUEST
TCP PASSIVE OPEN REQUEST
TCP ACTIVE OPEN REQUEST
TCP RECEIVE REQUEST
TCP SEND REQUEST
TCP CLOSE REQUEST
7
8
9
10
11
Parameters
Section 6-3
Name
12
Byte order from
the beginning of
the frame
139

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cs1w-etn11Cs/cj seriesCs1w-etn01W343-e1-07

Table of Contents