n The DONE output shows "order ready without error". If there was an ERROR, the cor-responding event number is displayed in the STATUS. If no error occurs the value ofSTATUS is "0".n DONE, 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 DONE, ERROR and STATUS are only available at oneblock call. For further evaluation these should be copied to a free data area.10.2.3 FB 61 - RECEIVE - Receive from System SLIO CP 040This FB serves for the data reception from the System SLIO CP 040. Here you set thereception range via the identifiers DB_NO and DBB_NO. The length of the telegram isstored in LEN.ParametersParameter Declaration Data type DescriptionEN_R IN BOOL Release RECEIVE data.R IN BOOL Release synchronous reset.LADDR /HW_IDIN INT /HW_IOn LADDR– Logical base address of the CP.– When used in CPUs from VIPA or S7-300 CPUs from Sie-mens.n HW_ID– HW identifier to address the CP.– When used in S7-1500 CPUs from Siemens.DB_NO IN INT Number of DB containing received data.DBB_NO IN INT Data byte number - receive data starting from data byte.IO_SIZE IN WORD Configured IO size of the module.LEN OUT INT Length of received telegram in byteNDR* OUT BOOL Receive order finished without errors.ERROR* OUT BOOL Receive order finished with errors. Parameter STATUS contains theerror information.STATUS* OUT WORD Specification of the error with ERROR = 1.CONTROL IN_OUT BYTE Divided byte with RECEIVE handling block:SEND (bit 0 … 3), RECEIVE (bit 4 … 7).*) Parameter is available until the FB is called.Enable Receive - Release to read:n With signal status "1" at EN_R the examination, whether data from the CP are read,is released. Depending upon the number of data, a data transfer can run over severalprogram cycles.n At any time a current order may be cancelled with signal state "0" of EN_R. Here thecancelled receipt order is finished with an error message (STATUS).n The Receive function is deactivated as long as EN_R is statically set to "0".Error indicationDescriptionEN_RVIPA SPEED7 Serial CommunicationCP040 > FB 61 - RECEIVE - Receive from System SLIO CP 040HB00 | OPL_SP7 | Operation list | en | 18-30 223