Delta AH500 Programming Manual page 682

Hide thumbs Also See for AH500:
Table of Contents

Advertisement

AH 5 00 Pr ogr am m ing Ma n ua l
UDP socket number
8
6. Generally, the pulse instruction SRCVDP is used.
Example:
Please refer to the example of the execution of SOPEN.
Additional remark:
1.
If S
, or S
exceeds the range, the instruction is not executed, SM0 is ON, and the error code
1
2
in SR0 is 16#2003.
2.
If the data is received through the TCP socket, and the device into which the data is written is
not the device permitted by the socket, the error occurs, the corresponding error flag is ON, the
error code is 16#6206, and the instruction is not executed. If the number of data received is
larger than 1000, the error occurs, the corresponding error flag is ON, the error code is
16#6207, and the instruction is not executed. If the devices into which the data is written
exceed the device range, the error occurs, the corresponding error flag is ON, the error code is
16#6208, and the instruction is not executed.
3.
If the data is received through the UDP socket, and the device into which the data is written is
not the device permitted by the socket, the error occurs, the corresponding error flag is ON, the
error code is 16#620F, and the instruction is not executed. If the number of data received is
larger than 1000, the error occurs, the corresponding error flag is ON, the error code is
16#6210, and the instruction is not executed. If the devices into which the data is written
exceed the device range, the error occurs, the corresponding error flag is ON, the error code is
16#6211, and the instruction is not executed.
4.
If the length of the data actually received is larger than the length of data which is needed, only
the data which is needed is stored, the redundant data is ignored, the error occurs, the
corresponding error flag is ON, and the error code is 16#6213.
5.
During the reception, if the computer as the client abandons the connection, the error occurs,
the corresponding error flag is ON, and the error code is 16#6214. During the transmission, if
there is a response timeout, the error occurs, the corresponding error flag is ON, and the error
code is 16#6212.
6.
When executing this instruction, if the network cable is not connected, SM1100 will be ON and
the error code is 16#600D.
6 - 5 1 4
Being receiving the
Having received the
data
SM1372
Error flag
data
SM1370
SM1373

Advertisement

Table of Contents
loading

Table of Contents