n The DONE output shows ”request completed without errors”. If there was an ERROR,the corresponding event number is displayed in the STATUS. If no error occurs thevalue of STATUS is "0".n DONE and ERROR/STATUS are also output in response to a RESET of the FB. Inthe event of an error, the binary result BR is reset. If the block is terminated withouterrors, the binary result has the status "1".n Please regard the parameter DONE, ERROR and STATUS are only available at oneblock call. For further evaluation these should be copied to a free data area.With LADDR the address of the corresponding CP is specified. This is the address, whichwas specified by the hardware configuration of the CP. Please regard that the baseaddress for input and output of the CP are identical.The FB 8 - P_SND_RK deals with an Instance DB I_SND_RK. This has a length from62byte. The DB no. is transmitted with the call. It is not allowed to access the data of aninstance DB.10.2 CP04010.2.1 Overviewn By a cyclic call of FB 60 SEND and FB 61 RECEIVE or FB 65 CP040_COM data maybe cyclically sent and received by the CP.n On the CP the transmission of the communication protocols to the communicationpartner takes place, which may be configured by the hardware configuration.n A telegram to be sent is divided into blocks in the CPU depending on the IO size andtransferred via the data channel to the CP In the CP these blocks are assembled inthe send buffer, and when the telegram is complete, the telegram is sent by the serialinterface.n The exchange of received telegrams via the backplane bus is asynchronous.n If a complete telegram was received via the serial interface, it is stored in a 1024bytering buffer. From the length of the still free ring buffer the maximum length of a tele-gram results.n Depending upon the parametrization up to 250 telegrams can be buffered, wherebytheir overall length may not exceed 1024.n If the buffer is full, arriving telegrams are rejected.n A complete telegram is divided into blocks, depending on the parametrized IO size,and transferred to the backplane bus.n The data blocks must be assembled in the CPU.n Since the data exchange via the backplane bus runs asynchronously, a softwarehandshake is used between the CP and the CPU. For this, both handling blocks havethe common CONTROL parameter. The same flag byte is to be used for this param-eter.Error indicationAddressingData areaCommunication principleVIPA SPEED7 Serial CommunicationCP040 > OverviewHB00 | OPL_SP7 | Operation list | en | 18-30 219