32 model 3000 ADMAP-5M AN712 Module User’s Manual
Chapter 5 Application Interface
5
(2) UDP transmission request
• Local station data is sent using an opened UDP.
• Transfer data word No.: 10 to 500 words
<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
destination ADMAP-5M in class C IP address format (set 1 in the two
highest of the 32 bits). In this case, network ID must be 0.
Example: In case of 0x14, 0xC000014 (192.0.0.20)
In specifying a multicast address, specify class D (set 1 in the three
highest of the 32 bits), and a multicast group address in the lower 8
bits.
Example: In case of 0x40, 0xE0000040 (224.0.0.64)
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.
Error status No. Description of error
-11 Unable to transmit to destination address
-14 Disconnected in local system
-15 Unable to secure resource
-18 Transmission request unaccepted
-32 Request to send to disconnected socket
-50 Wrong transmission destination address specified
-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#0032)
Socket No.
D-IP address
D-UDP Port No.
0
15
= 0: Normal completion, ≠ 0: Error status
0