F311_FSUB

Redundant instruction

NOTE

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

Subtracts the real number data specified by s2 from the real number data specified by s1 when the trigger turns on. The subtracted result is stored in d.

Parameters

Input

s1 (REAL)

Real number data for minuend.

s2 (REAL)

Real number data for subtrahend.

Output

d (REAL)

32-bit area for result (destination).

Remarks

Error flags

sys_bIsOperationErrorHold (turns to TRUE and remains TRUE)

if data other than real number data is specified in s1 and s2.

sys_bIsOperationErrorNonHold (turns to TRUE for one scan)

if data other than real number data is specified in s1 and s2.

sys_bIsCarry (turns to TRUE for one scan)

if the result is overflowed.

Related topics:

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