Omron CJ1W-ETN21 operation manual 140

Models: CJ1W-ETN21

1 242
Download 242 pages 30.9 Kb
Page 164
Image 164

Using Socket Services with CMND(490)

Section 6-8

CLOSE REQUEST

Port Enabled Flag

CMND(490) response code

Close Flag

Closing Flag

1

0

1

0

1

0

RunningRunning

Error response code

Normal response code

Results storage area

 

 

 

 

 

 

 

 

 

 

Store normal response code

 

 

 

 

 

 

CLOSE REQUEST

 

CLOSE REQUEST

Close complete

command received

Error

command received Normal

(normal end)

 

end

end

 

 

 

SEND REQUEST

Port Enabled Flag

1

0

CMND(490) response code

 

Send Flag

1

0

Opening Flag

1

0

Results storage area

 

Running

 

Running

 

 

 

Error response code

Normal response code

 

 

 

Store normal response code

SEND REQUEST

 

SEND REQUEST

Send complete (normal end)

command received

Error

command received

 

 

 

 

 

end

 

 

RECEIVE REQUEST

Port Enabled Flag

1

0

 

CMND(490) response code

 

 

1

Receive Flag

0

 

1

Opening Flag

0

 

Data Received/Requested Flag

1

0

 

 

Running

 

Running

 

 

 

 

 

 

 

 

Error response code

Normal response code

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Number of Bytes Received at TCP Socket

0001 to 07CD Hex

0000 Hex

Results storage area

Store normal response code

RECEIVE REQUEST

 

RECEIVE REQUEST

Receive complete

command received

Error

command received

(normal end)

 

 

 

 

end

 

 

140

Page 164
Image 164
Omron CJ1W-ETN21 operation manual 140