n In this case, when calling the sending block you have to specify the address parame-ters of the receiver (IP address and port number). During data transmission, informa-tion on the length and the end of the message is also transmitted.n Analog after finishing the receive block you get a reference to the address parameterof the sender (IP address and port no.)n In order to be able to use the sending and receiving blocks first you have to configurethe local communications access point at both sides.n With each new call of the sending block, you re-reference the remote partner by spec-ifying its IP address and its port number.n If you have specified the length of the data to be received greater than the length ofthe data to be sent, the receive block will copy the received data completely into thereceive range. After this, it will set NDR to TRUE and write RCVD_LEN with thelength of the sent data.n If you have specified the length of the data to be received less than the length of thesent data, the receive block will not copy any data into the receive range but insteadwill supply the following error information: ERROR = 1, STATUS = 8088h.8.1.3 FB 63 - TSEND - Sending data - TCP native and ISO on TCPn FB 63 TSEND Sends data over an editing communications connection. FB 63TSEND is an asynchronously functioning FB, which means that its processingextends over several FB calls.n To start sending data, call FB 63 with REQ = 1.n The job status is indicated at the output parameters BUSY and STATUS. STATUScorresponds to the RET_VAL output parameter of asynchronously functioning SFCs(see also Meaning of the Parameters REQ, RET_VAL and BUSY with AsynchronousSFCs).n The following table shows the relationships between BUSY, DONE and ERROR.Using this table, you can determine the current status of FB 63 or when the establish-ment of the connection is complete.BUSY DONE ERROR DescriptionTRUE irrelevant irrelevant The job is being processed.FALSE TRUE FALSE The job was completed successfully.FALSE FALSE TRUE The job was ended with an error.The cause of the error can be found in the STATUS parameter.FALSE FALSE FALSE The FB was not assigned a (new) job.Due to the asynchronous function of FB 63 TSEND, you must keep thedata in the sender area consistent until the DONE parameter or theERROR parameter assumes the value TRUE.UDPDescriptionVIPA SPEED7 Network CommunicationOpen Communication > FB 63 - TSEND - Sending data - TCP native and ISO on TCPHB00 | OPL_SP7 | Operation list | en | 18-30 115