F83_DBIN

Redundant instruction

NOTE

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

Converts the BCD code that expresses 8-digit decimals specified by s to 32-bit binary data if the trigger EN is in the ON-state. The converted result is stored in the area specified by d.

Example
  1.  (1) Source [s]: 16#72811730 (BCD)
  2.  (2) Bit position
  3.  (3) BCD code
  4.  (4) BCD Hex code
  5.  (5) 32-bit area
  6.  (6) Destination [d]: 72811730
  7.  (7) Binary data
  8.  (8) Decimal

Parameters

Input

s (DWORD)

area for 8-digit BCD data (source)

Output

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

32-bit area for storing 32-bit data (destination)

Error flags

sys_bIsOperationErrorHold (turns to TRUE and remains TRUE)
  • if the data specified by s is not BCD data.

sys_bIsOperationErrorNonHold (turns to TRUE for one scan)
  • if the data specified by s is not BCD data.

Related topics:

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