Toshiba V Series User Manual page 49

Admap-5m an712 module
Hide thumbs Also See for V Series:
Table of Contents

Advertisement

[Socket service command]
Compared with the case of Ethernet communication requests in general, only two
commands, that is, AN712 module management socket identifier acquire (16#0016) and
UDP receive request (16#0033), can be used. If other commands are requested, the
return value (-54) is sent back.
[Request commands]
(1) AN712 module management socket identifier acquire
• This command is used to refer to detailed information on each socket of the AN712
module.
• From the socket numbers of an open controller, a socket number inside the
communication module is acquired.
<Request command structure>
15
Slot No. of requested ADMAP-5M module (AN712)
Command (16#0016)
Socket No.
Socket No.: Socket identifier (0 to 11) (Identifier obtained by opening UDP)
<Socket No. or error status>
15
Socket No. (0 to 11), error status
Error status details
Error status No.
-54
-5001
-5004
-5005
Note: Relationship between a socket number obtained by the open command and a
socket number obtained by this request command: A socket number obtained by
the UDP open command is managed by the communication function block
instruction, and is different from a real socket number obtained by the AN712
module. Transmission, reception, and close can be effected using a socket num-
ber obtained by the open command, but it cannot be used to refer to the detailed
information on each socket managed by the AN712 module. Therefore, a socket
number managed in the AN712 module is acquired and is used as an offset to
obtain socket information. The information on each socket of the AN712 module
depends on station global. To refer to it by a user application, register station glo-
bal variables or by direct representation of instructions (%MW13. offset address).
See figure 7-3 for the structure of the detailed information on each socket acquired by
this command.
6F8C1048
Protocol unsupported
Command identification error (including cases unsupported)
Communication instruction driver number is not within the specified range.
Socket not opened yet
5.4Communication FB Interface
0
0
Description of error
5
35

Advertisement

Table of Contents
loading

This manual is also suitable for:

3000

Table of Contents