EasyManuals Logo

Allen-Bradley MicroLogix 1400 User Manual

Allen-Bradley MicroLogix 1400
694 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #225 background imageLoading...
Page #225 background image
Publication 1766-RM001A-EN-P - October 2008
Math Instructions 223
DEG - Radians to
Degrees
Instruction Type: output
The DEG instruction converts the Source(in radians) to degrees and store
the result in the Destination.
The following formula applies:
Source * 180/Π
where Π = 3.141592
ATN Instruction Operation
Inputs Conditions Output
Source Type Destination
Type
S:2/14 S:0/3-0
S, Z, V, C
S:5/0 Destination
W,DW, F F X Source >= 0 0,0,0,0 L Atan(Source)
(1)
DNRM F X X 0,1,0,0 L 0
W,DW, F F X Source < 0 1,0,0,0 L Atan(Source)
W,DW, F W, DW X Atan(Source) >= 0.5 0,0,0,0 L Rnd(Atan(Source))
W,DW, F W, DW X -0.5 < Atan(Source) < 0.5 0,1,0,0 L 0
W,DW, F W, DW X Atan(Source) < -0.5 1,0,0,0 L Rnd(Atan(Source))
X F X Source = +INF 0,0,0,0 1
Ï€/2
X F X Source = -INF 1,0,0,0 1
-
Ï€/2
(2)
X F X Source is NAN 0,0,1,0 1 0x7FFFFFFF
(3)
X W X Source is NAN 0,0,1,0 1 32767
(3)
X DW X Source is NAN 0,0,1,0 1 2147483647
(1) All denormalized inputs shall be treated as plus zero. Any underflow result shall produce plus zero.
(2) If the Destination is floating point, all overflows shall produce NAN(0x7FFFFFFF).
(3) If the Destination is word or double-word, and an overflow occurs, destination shall be 32767 for Word and 2147483647 for Double Word.
ABS
Radians to Degrees
Source N7:0
0<
Dest N7:1
0<
DEG
Execution Time for the DEG Instruction
Controller Data Size When Rung Is:
True False
MicroLogix 1400 word 27.7310 µs 0.4106 µs
long word 31.2470 µs 0.4098 µs
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive

Table of Contents

Other manuals for Allen-Bradley MicroLogix 1400

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Allen-Bradley MicroLogix 1400 and is the answer not in the manual?

Allen-Bradley MicroLogix 1400 Specifications

General IconGeneral
Processor32-bit
Expansion ModulesUp to 7 expansion I/O modules
Power Supply24V DC or 120/240V AC
Programming SoftwareRSLogix 500
Communication PortsEthernet, RS-232/RS-485 combo port
Controller TypeProgrammable Logic Controller (PLC)
SeriesMicroLogix
Digital Outputs12
Analog Inputs6 (embedded)
Analog Outputs2 (embedded)
High-Speed Counter6 high-speed counters
Pulse Output2 (embedded)
Ethernet PortYes

Related product manuals