If there is no error, STATUS = 0000h or 8181h. With an error here the corresponding errorcode may be found. As long as ERROR is set, the value of STATUS is available. The fol-lowing status messages are possible:STATUS Description0000h There is no error.0202h Possible sources of error:n Handling block and CP are not synchronous (remedy: Triggersynchronous reset)n IO_SIZE is not valid (IO_SIZE = 0 or IO_SIZE > 60).0301h DB is not valid.070Ah Transfer failed, there is no response of the partner or the job wasnegative acknowledged.8090h HW_ID is unknown.80A0h When accessing the periphery, an access error was detected.80A1h8181h Job is running (status and no error message).8323h Receive DB available, but too short.833Ah Receive DB not readable (DB not available or DB in optimizedblock access).Ä Chap. 2.3 ‘No optimized block access’ page 16n The handling blocks SEND and RECEIVE use the common parameter CONTROL forthe handshake.n Assign to this parameter a common flag byte.n The NDR output shows "order ready without error / data kept". If there was anERROR, the corresponding event number is displayed in the STATUS. If no erroroccurs the value of STATUS is "0".n NDR, ERROR and STATUS are also output in response to a reset of the FB. In theevent 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 NDR, ERROR and STATUS are only available at oneblock call. For further evaluation these should be copied to a free data area.10.2.4 FB 65 - CP040_COM - Communication SLIO CP 040The FB 65 serves the data in-/output from the System SLIO CPU to the CP 040. Hereyou define the send/receive range via the identifiers DB_NO_SEND and DB_NO_RECV.A rising edge at REQ_SEND a transmission is initiated and the data are sent. ViaEN_RECV the received data are enabled.Parameters when used in VIPA CPUs or S7-300 CPUs from SiemensName Declaration Type DescriptionREQ_SEND IN BOOL Release SEND with positive edge.EN_RECV IN BOOL Enable receive data.STATUSCONTROLError indicationDescriptionVIPA SPEED7 Serial CommunicationCP040 > FB 65 - CP040_COM - Communication SLIO CP 040HB00 | OPL_SP7 | Operation list | en | 18-30 225