Bradley Smoker PLC-5 user manual Asn, Atn, Ave

Models: PLC-5

1 388
Download 388 pages 13.97 Kb
Page 308
Image 308

D-8Instruction Set Quick Reference

Instruction

Description

 

 

ASN

ARCSINE

Source F8:17 0.7853982

DestF8:18 0.9033391

Arc sine

ASN

When input conditions go true, take the arc sine of the value in F8:17 and store the result in F8:18.

Status

Description

Bit

 

C

always resets

Vsets if overflow is generated; otherwise resets

Zsets if the result is zero; otherwise resets

S

always resets

ATN

ARCTANGENT

Source F8:21 0.7853982

DestF8:22 0.6657737

Arc tangent

ATN

When input conditions go true, take the arc tangent of the value in F8:21 and store the result in F8:22.

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

 

AVE

 

 

 

 

 

 

AVERAGE FILE

 

 

File

#N7:1

 

Dest

N7:0

 

Control

R6:0

 

Length

4

 

Position

0

Average

AVE

Status Bits: EN - Enable DN - Done bit ER - Error Bit

When the input conditions go from false-to-true, take the average of the file #N7:1 and store the result in N7:0.

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 308
Image 308
Bradley Smoker PLC-5 user manual Asn, Atn, Ave