Timing charts, 7-7 timing charts – Omron CS CJ1W-ETN21 User Manual

Page 149

Advertising
background image

125

Using Socket Services by Manipulating Dedicated Control Bits

Section 6-7

TCP Socket Close Request

6-7-7

Timing Charts

The timing of flags for socket services (Opening, Receiving, Sending, or Clos-
ing Flag) when the Request Switches are used and the changes in the
response code are shown in the following chart.

Closing during Other
Processes

The Close Request Switch or Force-close Switch can be used to close a
socket even when open, receive, or send processing is being executed. Clos-
ing is the only other process that is possible during other processes.

Response

code

Meaning

0000

Normal end

0302

CPU Unit error; cannot execute.

2210

The specified socket is not been connected.

2211

Unit is busy; cannot execute.

2607

Specified Socket Service Parameter Area is already being used for
another socket.

Request
Switch

Response
code

Flag

Response code stored

Request Switch
turned ON.

Request
accepted.

Not synced with
Request Switch.

Advertising