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 #250 background imageLoading...
Page #250 background image
Publication 1766-RM001A-EN-P - October 2008
248 Conversion Instructions
Example
The BCD value 32,760 in the math register is converted and stored in
N7:0. The maximum source value is 32767 (BCD).
You should convert BCD values to integer before you manipulate them in
your ladder program. If you do not convert the values, the controller
manipulates them as integers and their value may be lost.
TIP
To convert numbers larger than 9999 BCD, the source must be the Math
Register (S:13). You must reset the Minor Error Bit (S:5.0) to prevent an
error.
FRD
From BCD
Source S:13
00032760<
Dest N7:0
32760<
FRD
S:14 S:13
0000 0000 0000 0011 0010 0111 0110 0000
15 0 15 0 5-digit BCD
0003 2760
3 2760N7:0 Decimal 0111 1111 1111 1000
TIP
If the math register (S:13 and S:14) is used as the source for the FRD
instruction and the BCD value does not exceed four digits, be sure to clear
word S:14 before executing the FRD instruction. If S:14 is not cleared and a
value is contained in this word from another math instruction located
elsewhere in the program, an incorrect decimal value is placed in the
destination word.
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