beautypg.com

3-8 error log clear, 3-9 udp open request, Error log clear – Omron W343-E1-07 User Manual

Page 244: Udp open request, Command block response block response codes

background image

223

Command/Response Reference

Section 11-3

Response Codes

11-3-8 ERROR LOG CLEAR

Clears the number of records stored in the Ethernet Unit error log.

Command Block

Response Block

Response Codes

11-3-9 UDP OPEN REQUEST

Requests processing to open a socket.

Command Block

Response Block

Results Storage
Format

Parameters

UDP Socket Number
(Command)

The UDP socket number to be opened specified as 2 bytes between 1 and 8.

Results Storage Area
(Command)

The area in which the results of the command execution are stored. The first
byte specifies the memory area and data type (variable type). The 2nd to 4th
bytes specify the beginning address of the results storage area. Refer to
page 216 for details about the variable types and addresses that can be spec-
ified.

Local UDP Port Number
(Command)

The UDP port number for communications with the socket is specified as 2
bytes (0 cannot be specified). Packets received at this port are distributed to

Response code

Description

0000

Normal

1001

Command too large

1002

Command too small

1103

Beginning record number is out of range

110C

The number of read records is 0.

03

21

Command
code

03

21

Command
code

Response
code

Response code

Description

0000

Normal

1001

Command too large

Command
code

01

27

UDP
socket
number

Results storage area

Local UDP
port number

01

27

Command
code

Response
code

Results storage
response code

This manual is related to the following products: