F77_DBIN2A

Redundant instruction

NOTE

This is a redundant instruction. It is replaced by: FP_DEC_TO_ASCII

Converts the 32-bit data specified by s1 to ASCII code that expresses the equivalent decimals. The converted result is stored in the area starting from the 16-bit area specified by d_Start as specified by s2_Number. s2_Number specifies the number of bytes used to express the destination data using decimal.

Parameters

Input

s1 (DWORD, DINT, UDINT, DATE, TOD, DT)

32-bit data area to be converted (source)

s2_Number (INT)

specifies number of bytes to express destination data (ASCII codes)

Output

d_Start (WORD)

16-bit area for storing ASCII codes (destination)

Remarks

Error flags

sys_bIsOperationErrorHold (turns to TRUE and remains TRUE)
  • if the number of bytes specified by s2_Number exceeds the area specified by d_Start.

  • if the data specified by s2_Number is recognized as "0".

  • if the converted result exceeds the area specified by d_Start.

  • if the number of bytes of converted result exceeds the number of bytes specified by s2_Number.

sys_bIsOperationErrorNonHold (turns to TRUE for one scan)
  • if the number of bytes specified by s2_Number exceeds the area specified by d_Start.

  • if the data specified by s2_Number is recognized as "0".

  • if the converted result exceeds the area specified by d_Start.

  • if the number of bytes of converted result exceeds the number of bytes specified by s2_Number.

Related topics:

Modified on: 2019-01-24Feedback on this pagePanasonic hotline