Rockwell Automation 1785-Lxxx Enhanced and Ethernet PLC-5 Programmable Controllers User Manual

Page 308

Advertising
background image

Publication 1785-UM012D-EN-P - July 2005

D-8 Instruction Set Quick Reference

Arc sine
ASN

Arc tangent
ATN

Average
AVE

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

Instruction

Description

ASN

ARCSINE

Source

Dest

F8:17

F8:18

0.7853982

0.9033391

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

always resets

sets if overflow is generated;

sets if the result is zero;

Status

C

V

Z

S

Description

Bit

otherwise resets

otherwise resets

always resets

ATN

ARCTANGENT

Source

Dest

F8:21

F8:22

0.7853982

0.6657737

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

always resets

sets if overflow is generated;

sets if the result is zero;

Status

C

V

Z

S

Description

Bit

otherwise resets

otherwise resets

sets if the result is negative;

otherwise resets

AVE

AVERAGE FILE

File

Control

#N7:1

R6:0

N7:0

4

Dest

Length
Position

0

sets if overflow is generated;

sets if the result is zero;

sets if the result is negative;

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

C

V

Z

S

Description

always resets

Bit

otherwise resets

otherwise resets

otherwise resets

Advertising