F76_A2BIN

Redundant instruction

NOTE

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

Converts the ASCII codes that express the decimal digits, starting from the 16-bit area specified by s1 to 16-bit data as specified by s2. The converted result is stored in the area specified by d. s2 specifies the number of source data bytes to be converted using decimal number. (This specification cannot be made with BCD data.)

Input

s1_Start (WORD)

16-bit area for ASCII code (source)

s2_Number (INT)

specifies number of source data bytes to be converted

Output

d_Start (WORD, INT, UINT)

16-bit area for storing converted data (destination)

Remarks

Error flags

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

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

  • if the converted result exceeds the 16-bit area specified by d.

  • if ASCII code not corresponding to decimal numbers (0 to 9) or ASCII characters (+, -, and SPACE) is specified.

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

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

  • if the converted result exceeds the 16-bit area specified by d.

  • if ASCII code not corresponding to decimal numbers (0 to 9) or ASCII characters (+, -, and SPACE) is specified.

Related topics:

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