Bradley Smoker PLC-5 user manual Multiply, 10Instruction Set Quick Reference, SourceN70

Models: PLC-5

1 388
Download 388 pages 13.97 Kb
Page 310
Image 310

D-10Instruction Set Quick Reference

Instruction

Description

 

 

LN

NATURAL LOG

SourceN7:0

Natural log

LN

When input conditions go true, take the natural log of the va in N7:0 and store the result in F8:20.

Status

5

Bit

Description

DestF8:20 1.609438

C

always resets

Vsets if overflow is generated; otherwise resets

Zsets if the result is zero; otherwise resets

Ssets if the result is negative; otherwise resets

LOG

LOG BASE 10

SourceN7:2 5

When input conditions go true, take the log base 10 of the value in N7:2 and store the result in F8:3.

Status

DestF8:3

Bit

Description

0.6989700

C

always resets

Vsets if overflow is generated; otherwise resets

Zsets if the result is zero; otherwise resets

Ssets if the result is negative; otherwise resets

 

MUL

 

 

 

 

 

 

MULTIPLY

 

 

Source A

N7:3

 

 

 

3

 

Source B

N7:4

 

 

 

1

 

Dest

N7:12

 

 

 

3

Multiply

MUL

When the input conditions are true, multiply the value in Source A (N7:3) by the value in Source B (N7:4) store the result in the Destination (N7:12).

Status

Description

Bit

 

 

 

C

always resets

Vsets if overflow is generated; otherwise resets

Zsets if the result is zero; otherwise resets

Ssets if the result is negative; otherwise resets

Publication 1785-UM012D-EN-P - July 2005

Page 310
Image 310
Bradley Smoker PLC-5 user manual Multiply, 10Instruction Set Quick Reference, SourceN70, Status Bit Description