EasyManuals Logo
Home>Allen-Bradley>Controller>MicroLogix 1100

Allen-Bradley MicroLogix 1100 Instruction Set Reference Manual

Allen-Bradley MicroLogix 1100
616 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 #210 background imageLoading...
Page #210 background image
Publication 1763-RM001C-EN-P - October 2009
210 Conversion Instructions
GCD - Gray Code
Instruction Type: output
The GCD instruction converts Gray code data (Source) to an integer value
(Destination). If the Gray code input is negative (high bit set), the
Destination is set to 32767 and the overflow flag is set.
Addressing Modes and File Types are shown in the following table:
Updates to Math Status Bits
GCD
Gray Code
Source I1:2.0
225<
Dest N7:1
190<
GCD
Execution Time for the GCD Instructions
Controller When Rung Is:
True False
MicroLogix 1100 29.06 μs 0.87 μs
GCD Instruction Valid Addressing Modes and File Types
For definitions of the terms used in this table see Using the Instruction Descriptions on page 4-2.
Parameter
Data Files Function Files
CS - Comms
IOS - I/O
DLS - Data Log
Address
Mode
Address Level
O
I
S
B
T, C, R
N
F
ST
L
MG, PD
RI/RIX
PLS
RTC
HSC
PTO, PWM
STI
EII
BHI
MMI
LCD
Immediate
Direct
Indirect
Bit
Word
Long Word
Element
Source •• ••• • • ••
Destination • • • • • •
• ••
Math Status Bits
With this Bit: The Controller:
S:0/0 Carry always reset
S:0/1 Overflow set if the Gray code input is negative, otherwise is reset
S:0/2 Zero Bit set if the destination is zero, otherwise reset
S:0/3 Sign Bit always reset
S:5/0 Overflow Trap set if the Overflow Bit is set, otherwise reset
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive

Table of Contents

Other manuals for Allen-Bradley MicroLogix 1100

Questions and Answers:

Question and Answer IconNeed help?

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

Allen-Bradley MicroLogix 1100 Specifications

General IconGeneral
BrandAllen-Bradley
ModelMicroLogix 1100
CategoryController
LanguageEnglish

Related product manuals