36 model 3000 ADMAP-5M AN712 Module User’s Manual
Chapter 5 Application Interface
5
(2) UDP receive request
• Data is received from an opened UDP socket.
• Receive data word number: 501 words maximum (including those in the area where
received byte numbers are stored)
<Request command structure>
<Error status>
Error status details
Socket No.: Socket identifier (0 to 11) (Identifier obtained by opening UDP)
D-IP address: Specify a MAC address (0x01 to 0x7F) for the transmitting source ADMAP-
5M in class C IP address format. If 0 is specified, data can be received from
any transmitting source.
D-UDP Port No.: Specify the Destination UDP port No. (*1) of the transmitting destination.*1:
The AN712 uses no UDP port No., so specify 0.
TimeCnt. Receive wait timeout (1 to 65535: 0.1second units, 0: unlimited)
Error status No. Description of error
-11 To data to receive
-5002 Receive timeout
-5003 Socket in use for other processing
-5004 Socket No. of the ADMAP-5M module to which the request is made, or
Socket No., is not within the specified range.
-5005 Socket not opened yet
-5099 Other error
15
Slot No. of requested ADMAP-5M module (AN712)
Command (16#0033)
Socket No.
D-IP address
D-UDP Port No.
TimeCnt.
0
15
= 0: Normal completion, ≠ 0: Error status
0