Parameter Declaration Data type Memory area Description
LEN INPUT INT I, Q, M, D, L Number of bytes to be sent with the job:
Range of values: 1 ... 1460
DONE OUTPUT BOOL I, Q, M, D, L DONE status parameter:
n 0: Job not yet started or still running
n 1: Job executed without error.
BUSY OUTPUT BOOL I, Q, M, D, L
n BUSY = 1: Job is not yet completed. A new job
cannot be triggered.
n BUSY = 0: Job is completed.
ERROR OUTPUT BOOL I, Q, M, D, L ERROR status parameter:
n ERROR = 1: Error occurred during processing.
STATUS provides detailed information on the type of
error
STATUS OUTPUT WORD M, D STATUS parameter:
Error information
DATA IN_OUT ANY I, Q, M, D Sender area, contains address and length
The address refers to:
n The process image input table
n The process image output table
n A bit memory
n A data block
Allowed referenced data types: BOOL, BYTE, CHAR,
WORD, INT, DWORD, DINT, REAL, DATE,
TIME_OF_DAY, TIME, S5TIME, DATE_AND_TIME,
STRING
ADDR IN_OUT ANY D Pointer to the address of the receiver (e.g. P#DB100.
DBX0.0 byte 8), see Structure of the Address Information
for the Remote Partner with UDP.
Error information
ERROR STATUS Description
0 0000h Send job completed without error.
0 7000h First call with REQ = 1, sending not initiated.
0 7001h First call with REQ = 1, sending initiated.
0 7002h Follow-on call (REQ irrelevant), job being processed
Note: during this processing the operating system accesses the data in the DATA send
buffer.
1 8085h LEN parameter has the value 0 or is greater than the largest permitted value.
1 8086h The ID parameter is not in the permitted address range.
0 8088h LEN parameter is larger than the memory area specified in DATA.
1 8089h Parameter ADDR does not point to a data block.
VIPA SPEED7
Network Communication
Open Communication > FB 67 - TUSEND - Sending data - UDP
HB00 | OPL_SP7 | Operation list | en | 18-30 132