Output DescriptionΒΆ

../_images/50e7c24143c0b2980a331390000165bf

DONE

Data type: BOOL

Output DONE indicates the processing state of the Function Block. After completion or abortion of processing (due to an error), DONE is set to TRUE, for one cycle, as long as input EN = TRUE.

This output always has to be considered together with output ERR. If ERR is TRUE, then the corresponding error code is displayed by output ERNO.

ERR (error)

Data type: BOOL

Output ERR indicates, whether an error occurred during control processing. In case of error, the error number can be read at output ERNO.

ERNO (error number)

Data type: WORD

Output ERNO provides an error identifier, if an invalid value was applied to an input, or if an error occurred during request processing. Then the error number is displayed at the output (see, error messages: Error Messages of the Function Block Libraries

Output ERNO always has to be considered together with output ERR. The value output at ERNO is only valid, if output ERR is TRUE.

BUSY

Data type: BOOL

Output BUSY stays TRUE, till the processing of the Function Block is in progress. Once the processing is done, output BUSY becomes FALSE and output DONE becomes TRUE. In the course of output ERR=TRUE, or the input EN=FALSE, output BUSY becomes FALSE.

SAMPLING_FREQ (sampling frequency)

Data type: UDINT

Output SAMLING_FREQ captures the sampling frequency of the WAV file. The sampling frequency is the number of samples of data, stored in one second.

BLOCK_ALIGN

Data type: UDINT

Output BLOCK_ALIGN captures the respective value of the WAV file. The value gives the number of bytes present in one sample of data recorded in the WAV file.

The BLOCK_ALIGN value is a function of bits per sample, number of channels and sampling frequency System Technology.

BITS_PER_SAMPLE

Data type: UINT

Output BITS_PER_SAMPLE stores the number of bits present in one sample of the data.

DATA_SIZE

Data type: UDINT

Output DATA_SIZE stores the value of number of bytes from the measured data which is present in the WAV file.

LABEL_INFO

Data type: STRING[255]

Output LABEL_INFO captures the label information, which stores the channel and encoder information.