F39_DMULD

Redundant instruction

NOTE

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

The function multiplies the value specified at input s1 by the value specified at input s2. The result of the function is returned at output d. The result at output d lies between -2147483648 and 2147483647 (i.e. between 16#0 and 16#FFFFFFFF). All 32-bit values are treated as double integer values.

Parameters

Input

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

Multiplicand

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

Multiplier

Output

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

Result

Error flags

sys_bIsOperationErrorHold (turns to TRUE and remains TRUE)

if the result calculated exceeds the 32-bit area specified at output d.

sys_bIsOperationErrorNonHold (turns to TRUE for one scan)

if the result calculated exceeds the 32-bit area specified at output d.

sys_bIsEqual (turns to TRUE and remains TRUE)

if the result calculated is 0.

Related topics:

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