The return value contains an error code if an error is detected when the function is beingprocessed.If no error did occur, then RET_VAL contains the length of the data that was transferred.The amount of read data for a DP slave depends on the diagnosticstatus.More detailed information about general error information is to be found at the beginningof this chapter.The SFC 13 specific error information consists of a subset of the error information forSFC 59 RD_REC.More detailed information is available from the help for SFC 59.14.1.12 SFC 14 - DPRD_DAT - Read consistent dataThe SFC 14 DPRD_DAT (read consistent data of a DP norm slave) reads consistent datafrom a DP norm slave. The length of the consistent data must be three or more than fourbytes, while the maximum length is 128Byte. Please refer to the manual of your specificCPU for details. Input parameter RECORD defines the target area where the read data issaved when the data transfer has been completed without errors. The length of therespective target area must be the same as the length that you have configured for theselected module.If the module consists of a DP-norm slave of modular construction or with multiple DP-identifiers, then a single SFC 14 call can only access the data of a single module / DP-identifier at the configured start address.SFC 14 is used because a load command accessing the periphery or the process imageof the inputs can read a maximum of four contiguous bytes.Consistent dataConsistent data is data, where the contents belongs to the same category and that maynot be separated. It is, for instance, important that data returned by analog modules isalways processed consistently, i.e. the value returned by analog modules must not bemodified incorrectly when it is read at two different times.ParametersParameter Declaration Data type Memory block DescriptionLADDR INPUT WORD I, Q, M, D, L,constantConfigured start address of the receive data bufferof the module from which the data must be readRET_VAL OUTPUT INT I, Q, M, D, L The return value contains an error code if an erroris detected when the function is being processedRECORD OUTPUT ANY I, Q, M, D, L Target area for the user data that was read. Thelength must be exactly the same as the length thatwas configured for the selected module. Only datatype BYTE is permitted.RET_VAL (Return value)Error informationDescriptionDefinitionRET_VAL (Return value)VIPA SPEED7 Integrated StandardSystem Functions > SFC 14 - DPRD_DAT - Read consistent dataHB00 | OPL_SP7 | Operation list | en | 18-30 659