F56_DBINC

Redundant instruction

NOTE

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

Adds "1" to the 8-digit BCD data specified by d if the trigger EN is in the ON-state. The result is stored in d.

Parameters

Output

d (DWORD)

32-bit area for 8-digit BCD data to be increased by 1

Example

  1.  (1) Example value 16#87654320 (BCD)
  2.  (2) Result value 16#87654321(BCD) if trigger is ON
  3.  (3) 32-bit area

Remarks

Instead of using this F instruction, we recommend using the corresponding FP7 instruction: FP_INC_BCDFP_INC_BCD

Error flags

sys_bIsEqual (turns to TRUE for one scan)

if the calculated result is 0.

sys_bIsCarry (turns to TRUE for one scan)

if the result exceeds the range of 8-digit BCD data (overflow).

Related topics:

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