Rockwell-automation 1761 MicroLogix 1000 Programmable Controllers Manual do Utilizador Página 1

Consulte online ou descarregue Manual do Utilizador para Equipamento Rockwell-automation 1761 MicroLogix 1000 Programmable Controllers. Rockwell Automation 1761 MicroLogix 1000 Programmable Controllers User Manual Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir

Resumo do Conteúdo

Página 1 - Allen-Bradley

UserManualMicroLogix 1000ProgrammableControllers(Bulletin 1761 Controllers)Allen-Bradley

Página 2 - Important User Information

PrefaceMicroLogix 1000 Programmable Controllers User Manualsoc–iiNotes:

Página 3 - Table of Contents

PrefaceMicroLogix 1000 Programmable Controllers User Manual6–2Timer/Counter InstructionsInstructionPurposePageMnemonic NamePurposePageTON Timer On-Del

Página 4

Using Basic Instructions6–3Bit Instructions OverviewThese instructions operate on a single bit of data. During operation, the controllermay set or re

Página 5 - toc–iii

PrefaceMicroLogix 1000 Programmable Controllers User Manual6–4Examine if Closed (XIC)Use the XIC instruction in your ladder program to determine if a

Página 6

Using Basic Instructions6–5Output Energize (OTE)Use an OTE instruction in your ladder program to turn On a bit when rungconditions are evaluated as tr

Página 7

PrefaceMicroLogix 1000 Programmable Controllers User Manual6–6Using OTLWhen you assign an address to the OTL instruction that corresponds to the addre

Página 8

Using Basic Instructions6–7One-Shot Rising (OSR)The OSR instruction is a retentive input instruction that triggers an event to occurone time. Use the

Página 9 - Summary of Changes

PrefaceMicroLogix 1000 Programmable Controllers User Manual6–8Timer Instructions OverviewEach timer address is made of a 3-word element. Word 0 is the

Página 10

Using Basic Instructions6–9Timer AccuracyTimer accuracy refers to the length of time between the moment a timer instructionis enabled and the moment t

Página 11 - • Allen-Bradley support

PrefaceMicroLogix 1000 Programmable Controllers User Manual6–10Addressing Examples• T4:0/15 or T4:0/EN Enable bit• T4:0/14 or T4:0/TT Timer timing bit

Página 12 - Purpose of this Manual

Using Basic Instructions6–11Timer On-Delay (TON)Use the TON instruction to delay the turning on or off of an output. The TONinstruction begins to cou

Página 13 - Contents of this Manual

PrefaceP–1PrefaceRead this preface to familiarize yourself with the rest of the manual. It providesinformation concerning:•who should use this manual

Página 14 - Glossary

PrefaceMicroLogix 1000 Programmable Controllers User Manual6–12Timer Off-Delay (TOF)Use the TOF instruction to delay turning on or off an output. The

Página 15 - Related Documentation

Using Basic Instructions6–13On returning to the REM Run or REM Test mode, the following can happen:Condition ResultIf the rung is true: TT bit is rese

Página 16 - Allen-Bradley Support

PrefaceMicroLogix 1000 Programmable Controllers User Manual6–14Retentive Timer (RTO)Use the RTO instruction to turn an output on or off after its time

Página 17 - Installing Your Controller

Using Basic Instructions6–15On returning to the REM Run or REM Test mode or when power is restored, thefollowing can happen:Condition ResultIf the run

Página 18 - • EN 50082-2

PrefaceMicroLogix 1000 Programmable Controllers User Manual6–16Entering ParametersAccumulator Value (ACC)This is the number of false-to-true transitio

Página 19 - Hardware Overview

Using Basic Instructions6–17Addressing Examples• C5:0/15 or C5:0/CU Count up enable bit• C5:0/14 or C5:0/CD Count down enable bit• C5:0/13 or C5:0/DN

Página 20 - Master Control Relay

PrefaceMicroLogix 1000 Programmable Controllers User Manual6–18Count Up (CTU)The CTU is an instruction that counts false-to-true rung transitions. Ru

Página 21

Using Basic Instructions6–19Count Down (CTD)The CTD is a retentive output instruction that counts false-to-true rung transitions.Rung transitions can

Página 22 - Schematic (Using IEC Symbols)

PrefaceMicroLogix 1000 Programmable Controllers User Manual6–20Reset (RES)Use a RES instruction to reset a timer or counter. When the RES instruction

Página 23

Using Basic Instructions6–21Basic Instructions in the Paper Drilling MachineApplication ExampleThis section provides ladder rungs to demonstrate the u

Página 24 - Using Surge Suppressors

PrefaceMicroLogix 1000 Programmable Controllers User ManualP–2Who Should Use this ManualUse this manual if you are responsible for designing, installi

Página 25

PrefaceMicroLogix 1000 Programmable Controllers User Manual6–22Rung 2:3➀Starts the conveyor in motion when the start button is pressed.However, anothe

Página 26 - Recommended Surge Suppressors

Using Basic Instructions6–23Adding File 6This subroutine controls the up and down motion of the drill for the paper drillingmachine.Drill HomeI/5Drill

Página 27 - Safety Considerations

PrefaceMicroLogix 1000 Programmable Controllers User Manual6–24Rung 6:2When the drill is retracting (after drilling a hole), the body of thedrill actu

Página 28 - Power Distribution

Using Comparison Instructions7–17Using Comparison InstructionsThis chapter contains general information about comparison instructions andexplains how

Página 29 - Power Considerations

PrefaceMicroLogix 1000 Programmable Controllers User Manual7–2About the Comparison InstructionsComparison instructions are used to test pairs of value

Página 30

Using Comparison Instructions7–3Equal (EQU)Use the EQU instruction to test whether two values are equal. If source A andsource B are equal, the instr

Página 31 - Preventing Excessive Heat

PrefaceMicroLogix 1000 Programmable Controllers User Manual7–4Less Than or Equal (LEQ)Use the LEQ instruction to test whether one value (source A) is

Página 32 - Mounting the Controller

Using Comparison Instructions7–5Masked Comparison for Equal (MEQ)Use the MEQ instruction to compare data of a source address with data of areference a

Página 33

PrefaceMicroLogix 1000 Programmable Controllers User Manual7–6Limit Test (LIM)Use the LIM instruction to test for values within or outside a specified

Página 34 - Using Mounting Screws

Using Comparison Instructions7–7If the Low Limit has a value greater than the High Limit, the instruction is falsewhen the Test value is between the l

Página 35 - Wiring Your Controller

PrefaceP–3Contents of this ManualTab Chapter Title ContentsPrefaceDescribes the purpose, background, and scopeof this manual. Also specifies the audi

Página 36 - Grounding Guidelines

PrefaceMicroLogix 1000 Programmable Controllers User Manual7–8Comparison Instructions in the Paper Drilling MachineApplication ExampleThis section pro

Página 37 - Sinking and Sourcing Circuits

Using Comparison Instructions7–9Beginning a Subroutine in File 7This section of ladder keeps track of the total inches of paper the current drill bit

Página 38 - Wiring Recommendations

PrefaceMicroLogix 1000 Programmable Controllers User Manual7–10| | 1/4 in. 102,000 | || | Thousa

Página 39

Using Math Instructions8–18Using Math InstructionsThis chapter contains general information about math instructions and explains howthey function in y

Página 40

PrefaceMicroLogix 1000 Programmable Controllers User Manual8–2About the Math InstructionsThese instructions perform the familiar four function math op

Página 41 - 1761-L16AWA Wiring Diagram

Using Math Instructions8–3Overflow Trap Bit, S:5/0Minor error bit (S:5/0) is set upon detection of a mathematical overflow or divisionby zero. If thi

Página 42 - 1761-L32AWA Wiring Diagram

PrefaceMicroLogix 1000 Programmable Controllers User Manual8–4Add (ADD)Use the ADD instruction to add one value (source A) to another value (source B)

Página 43 - HardwareHardware

Using Math Instructions8–5Subtract (SUB)Use the SUB instruction to subtract one value (Source B) from another (source A)and place the result in the de

Página 44

PrefaceMicroLogix 1000 Programmable Controllers User Manual8–632-Bit Addition and SubtractionYou have the option of performing 16-bit or 32-bit signed

Página 45

Using Math Instructions8–7(U) S:50END] [B3 0[OSR]B3 1When the rung goestrue for a single scan,B3:1 is added to B3:2.The result is placed inB3:2.SUBSUB

Página 46

PrefaceMicroLogix 1000 Programmable Controllers User ManualP–4Tab ContentsTitleChapterAppendix A Hardware ReferenceProvides physical, electrical, envi

Página 47

PrefaceMicroLogix 1000 Programmable Controllers User Manual8–8Multiply (MUL)Use the MUL instruction to multiply one value (source A) by another (sourc

Página 48

Using Math Instructions8–9Divide (DIV)Use the DIV instruction to divide one value (source A) by another (source B), andplace the rounded quotient in t

Página 49 - 1761-L32AAA Wiring Diagram

PrefaceMicroLogix 1000 Programmable Controllers User Manual8–10Double Divide (DDV)The 32-bit content of the math register is divided by the 16-bit sou

Página 50

Using Math Instructions8–11Clear (CLR)Use the CLR instruction to set the destination to zero. All of the bits reset.Updates to Arithmetic Status Bits

Página 51 - 0V dc 26.4V dc20.4V dc

PrefaceMicroLogix 1000 Programmable Controllers User Manual8–12Scale Data (SCL)When this instruction is true, the value at the source address is multi

Página 52 - 1761-L20AWA-5A Wiring Diagram

Using Math Instructions8–13The following example takes a 0V to 10V analog input from a MicroLogix 1000analog controller and scales the raw input data

Página 53 - 85–264 VAC

PrefaceMicroLogix 1000 Programmable Controllers User Manual8–14Math Instructions in the Paper Drilling MachineApplication ExampleThis section provides

Página 54 - 0V ac 264V ac5V ac

Using Math Instructions8–15Rung 7:6When the number of 1/4 in. increments surpasses 1000, finds out howmany increments are past 1000 and stores in N7:2

Página 55 - Grounding

PrefaceMicroLogix 1000 Programmable Controllers User Manual8–16Notes:

Página 56 - I/10 I/11

Using Data Handling Instructions9–19Using Data Handling InstructionsThis chapter contains general information about the data handling instructions and

Página 57 - Analog Current Output Range

PrefaceP–5Related DocumentationThe following documents contain additional information concerning Allen-Bradleyproducts. To obtain a copy, contact you

Página 58 - Applications

PrefaceMicroLogix 1000 Programmable Controllers User Manual9–2InstructionPurposePageMnemonic NamePurposePageMOV Move Moves the source value to the des

Página 59 - Connecting the System

Using Data Handling Instructions9–3Convert to BCD (TOD)Use this instruction to convert 16-bit integers into BCD values.The source must be a word addre

Página 60 - Connecting the DF1 Protocol

PrefaceMicroLogix 1000 Programmable Controllers User Manual9–4ExampleThe integer value 9760 stored at N7:3 is converted to BCD and the BCD equivalenti

Página 61

Using Data Handling Instructions9–5Convert from BCD (FRD)Use this instruction to convert BCD values to integer values.The source parameter can be a wo

Página 62 - Constructing

PrefaceMicroLogix 1000 Programmable Controllers User Manual9–6Note To convert numbers larger than 9999 BCD, the source must be the Math Register(S:13

Página 63

Using Data Handling Instructions9–7Clearing S:14 before executing the FRD instruction is shown below:CLRCLEARDest S:140FRDFROM BCDSource S:1300001234D

Página 64 - DH-485 Communication Cable

PrefaceMicroLogix 1000 Programmable Controllers User Manual9–8Decode 4 to 1 of 16 (DCD)When executed, this instruction sets one bit of the destination

Página 65

Using Data Handling Instructions9–9Encode 1 of 16 to 4 (ENC)When the rung is true, this output instruction searches the source from the lowest tothe h

Página 66

PrefaceMicroLogix 1000 Programmable Controllers User Manual9–10Updates to Arithmetic Status BitsThe arithmetic status bits are found in Word 0, bits 0

Página 67 - Connecting the AIC+

Using Data Handling Instructions9–11Using COPThis instruction copies blocks of data from one location into another. It uses nostatus bits. If you ne

Página 68 - DH-485 Network Connection

PrefaceMicroLogix 1000 Programmable Controllers User ManualP–6Common Techniques Used in this ManualThe following conventions are used throughout this

Página 69 - DF1 Isolated Modem Connection

PrefaceMicroLogix 1000 Programmable Controllers User Manual9–12Using FLLThe following figure shows how file instruction data is manipulated. Theinstr

Página 70

Using Data Handling Instructions9–13Move and Logical Instructions OverviewThe following general information applies to move and logical instructions.E

Página 71 - supplied cable

PrefaceMicroLogix 1000 Programmable Controllers User Manual9–14Overflow Trap Bit, S:5/0Minor error bit (S:5/0) is set upon detection of a mathematical

Página 72 - DB-9 RS-232 Port 1

Using Data Handling Instructions9–15Move (MOV)This output instruction moves the source data to the destination location. As long asthe rung remains t

Página 73 - Powering the AIC+

PrefaceMicroLogix 1000 Programmable Controllers User Manual9–16Masked Move (MVM)The MVM instruction is a word instruction that moves data from a sourc

Página 74

Using Data Handling Instructions9–17OperationWhen the rung containing this instruction is true, data at the source address passesthrough the mask to t

Página 75 - Establishing Communication

PrefaceMicroLogix 1000 Programmable Controllers User Manual9–18And (AND)The value at source A is ANDed bit by bit with the value at source B and thens

Página 76 - DeviceNet Communications

Using Data Handling Instructions9–19Or (OR)The value at source A is ORed bit by bit with the value at source B and then storedin the destination.Truth

Página 77 - Programming Overview

PrefaceMicroLogix 1000 Programmable Controllers User Manual9–20Exclusive Or (XOR)The value at source A is Exclusive ORed bit by bit with the value at

Página 78 - Principles of Machine Control

Using Data Handling Instructions9–21Not (NOT)The source value is NOTed bit by bit and then stored in the destination (one’scomplement).Truth TableDest

Página 79

HardwareInstalling Your Controller1–11Installing Your ControllerThis chapter shows you how to install your controller system. The only tools yourequi

Página 80 - (8 Maximum)

PrefaceMicroLogix 1000 Programmable Controllers User Manual9–22Negate (NEG)Use the NEG instruction to change the sign of a value. If you negate a neg

Página 81

Using Data Handling Instructions9–23FIFO and LIFO Instructions OverviewFIFO instructions load words into a file and unload them in the same order as t

Página 82 - Accessed

PrefaceMicroLogix 1000 Programmable Controllers User Manual9–24• Control is the address of the control structure. The control structure stores thesta

Página 83

Using Data Handling Instructions9–25FIFO Load (FFL) and FIFO Unload (FFU)FFL and FFU instructions are used in pairs. The FFL instruction loads words

Página 84 - Power Up

PrefaceMicroLogix 1000 Programmable Controllers User Manual9–26FFU InstructionWhen rung conditions change from false-to-true, the controller sets the

Página 85

Using Data Handling Instructions9–27LFL InstructionWhen rung conditions change from false-to-true, the controller sets the LFL enablebit (EN). This l

Página 86 - Addressing Data Files

PrefaceMicroLogix 1000 Programmable Controllers User Manual9–28Data Handling Instructions in the Paper Drilling MachineApplication ExampleThis section

Página 87

Using Data Handling Instructions9–29Rung 7:3Converts the BCD thumbwheel value from BCD to integer. This is donebecause the controller operates upon i

Página 88 - Specifying Indexed Addresses

PrefaceMicroLogix 1000 Programmable Controllers User Manual9–30Rung 7:4Ensures that the operator cannot select a paper thickness of 0. Ifthis were all

Página 89

Using Program Flow Control Instructions10–110Using Program Flow ControlInstructionsThis chapter contains general information about the program flow in

Página 90

PrefaceMicroLogix 1000 Programmable Controllers User Manual1–2Compliance to European Union DirectivesIf this product has the CE mark it is approved fo

Página 91 - Developing

PrefaceMicroLogix 1000 Programmable Controllers User Manual10–2About the Program Flow Control InstructionsUse these instructions to control the sequen

Página 92 - Checklist

Using Program Flow Control Instructions10–3Using LBLThis input instruction is the target of JMP instructions having the same labelnumber. You must pr

Página 93 - Using Analog

PrefaceMicroLogix 1000 Programmable Controllers User Manual10–4Jump to Subroutine (JSR), Subroutine (SBR), andReturn (RET)The JSR, SBR, and RET instru

Página 94 - I/O Image

Using Program Flow Control Instructions10–5Nesting Subroutine FilesNesting subroutines allows you to direct program flow from the main program to asub

Página 95 - Input Filter and Update Times

PrefaceMicroLogix 1000 Programmable Controllers User Manual10–6Using SBRThe target subroutine is identified by the file number that you entered in the

Página 96 - Input Channel Filtering

Using Program Flow Control Instructions10–7Master Control Reset (MCR)Use MCR instructions in pairs to create program zones that turn off all thenon-re

Página 97 - Converting Analog Data

PrefaceMicroLogix 1000 Programmable Controllers User Manual10–8Temporary End (TND)This instruction, when its rung is true, stops the controller from s

Página 98 - Converting Analog Output Data

Using Program Flow Control Instructions10–9Immediate Input with Mask (IIM)This instruction allows you to update data prior to the normal input scan.

Página 99 - Using Basic Instructions

PrefaceMicroLogix 1000 Programmable Controllers User Manual10–10Program Flow Control Instructions in the Paper DrillingMachine Application ExampleThis

Página 100 - About the Basic Instructions

Using Application Specific Instructions11–111Using Application SpecificInstructionsThis chapter contains general information about the application spe

Página 101 - Programming

HardwareInstalling Your Controller1–3Hardware OverviewThe MicroLogix 1000 programmable controller is a packaged controller containinga power supply, i

Página 102 - Examine if Open (XIO)

PrefaceMicroLogix 1000 Programmable Controllers User Manual11–2InstructionPurposePageMnemonic NamePurposePageSTS Selectable TimerInterrupt StartInitia

Página 103 - Output Energize (OTE)

Using Application Specific Instructions11–3Bit Shift Instructions OverviewThe following general information applies to bit shift instructions.Entering

Página 104 - Using OTU

PrefaceMicroLogix 1000 Programmable Controllers User Manual11–4• Bit Address is the address of the source bit. The status of this bit is inserted ine

Página 105 - One-Shot Rising (OSR)

Using Application Specific Instructions11–5Bit Shift Left (BSL)When the rung goes from false-to-true, the controller sets the enable bit (EN bit 15)an

Página 106 - Timer Instructions Overview

PrefaceMicroLogix 1000 Programmable Controllers User Manual11–6Bit Shift Right (BSR)When the rung goes from false-to-true, the controller sets the ena

Página 107

Using Application Specific Instructions11–7Sequencer Instructions OverviewThe following general information applies to sequencer instructions.Effects

Página 108

PrefaceMicroLogix 1000 Programmable Controllers User Manual11–8Entering ParametersEnter the following parameters when programming these instructions:•

Página 109 - Timer On-Delay (TON)

Using Application Specific Instructions11–9Status bits of the control structure include:– Found Bit FD (bit 08) – SQC only. When the status of all n

Página 110 - Timer Off-Delay (TOF)

PrefaceMicroLogix 1000 Programmable Controllers User Manual11–10Using SQOThis output instruction steps through the sequencer file whose bits have been

Página 111

Using Application Specific Instructions11–11The following figure indicates how the SQO instruction works.SQOSEQUENCER OUTPUTFile #B3:1Mask 0F0FDest O:

Página 112 - Retentive

Important User InformationBecause of the variety of uses for the products described in this publication, thoseresponsible for the application and use

Página 113 - Counter Instructions Overview

PrefaceMicroLogix 1000 Programmable Controllers User Manual1–4Master Control RelayA hard-wired master control relay (MCR) provides a reliable means fo

Página 114 - Addressing Structure

PrefaceMicroLogix 1000 Programmable Controllers User Manual11–12Applications of the SQC instruction include machine diagnostics. The followingfigure

Página 115

Using Application Specific Instructions11–13Sequencer Load (SQL)The SQL instruction stores 16-bit data into a sequencer load file at each step ofseque

Página 116 - Count Up (CTU)

PrefaceMicroLogix 1000 Programmable Controllers User Manual11–14Status bits of the control structure include:– Error Bit ER (bit 11) is set when the

Página 117 - Count Down (CTD)

Using Application Specific Instructions11–15The instruction loads data into a new file element at each false-to-true transition ofthe rung. When step

Página 118 - Reset (RES)

PrefaceMicroLogix 1000 Programmable Controllers User Manual11–164. If while an STI is pending, the STI timer expires, the STI lost bit (S:5/10) is set

Página 119 - Application Example

Using Application Specific Instructions11–17Note that STI execution time adds directly to the overall scan time. During thelatency period, the contro

Página 120

PrefaceMicroLogix 1000 Programmable Controllers User Manual11–18Selectable Timed Disable (STD) and Enable (STE)These instructions are generally used i

Página 121

Using Application Specific Instructions11–19] [S:115( )STI interruptexecution willnot occurbetween STDand STE.END0STDSELECTABLE TIMED DISABLESTESELECT

Página 122

PrefaceMicroLogix 1000 Programmable Controllers User Manual11–20Selectable Timed Start (STS)Use the STS instruction to condition the start of the STI

Página 123 - Using Comparison Instructions

Using Application Specific Instructions11–21Application Specific Instructions in the Paper DrillingMachine Application ExampleThis section provides la

Página 124 - Indexed Word Addresses

Installing Your Controller1–5Using Emergency-Stop SwitchesWhen using emergency-stop switches, adhere to the following points:• Do not program emergenc

Página 125 - Less Than (LES)

PrefaceMicroLogix 1000 Programmable Controllers User Manual11–22Rung 4:0Resets the hole count sequencers each time that the low preset isreached. The

Página 126 - Greater Than or Equal (GEQ)

Using Application Specific Instructions11–23Rung 4:1➀Keeps track of the hole number that is being drilled and loads thecorrect HSC preset based on the

Página 127

PrefaceMicroLogix 1000 Programmable Controllers User Manual11–24Rung 4:2Is identical to the previous rung except that it is only active whenthe ”hole

Página 128

Using Application Specific Instructions11–25Rung 4:3➀➁Is identical to the 2 previous rungs except that it is only activewhen the ”hole selector switch

Página 129

PrefaceMicroLogix 1000 Programmable Controllers User Manual11–26Notes:

Página 130

Using High-Speed Counter Instructions12–112Using High-Speed CounterInstructionsThis chapter contains general information about the high-speed counter

Página 131

PrefaceMicroLogix 1000 Programmable Controllers User Manual12–2About the High-Speed Counter InstructionsThe high-speed counter instructions used in yo

Página 132

Using High-Speed Counter Instructions12–3High-Speed Counter Instructions OverviewUse the high-speed counter to detect and store narrow (fast) pulses,

Página 133 - Using Math Instructions

PrefaceMicroLogix 1000 Programmable Controllers User Manual12–4• Counter Up Enable Bit CU (bit 15) is used with all of the high-speed countertypes.

Página 134 - Math Instructions Overview

Using High-Speed Counter Instructions12–5• Accumulator ≤ Low Preset Bit LP (bit 8) is a reserved bit for all UpCounters. For the Bidirectional Coun

Página 135

PrefaceMicroLogix 1000 Programmable Controllers User Manual1–6The following illustrations show the Master Control Relay wired in a groundedsystem.Note

Página 136 - Add (ADD)

PrefaceMicroLogix 1000 Programmable Controllers User Manual12–6High-Speed Counter (HSC)Use this instruction to configure the high-speed counter. Only

Página 137 - Subtract (SUB)

Using High-Speed Counter Instructions12–7The table below lists the function key you press to choose the type of high-speedcounter you want.High-Speed

Página 138

PrefaceMicroLogix 1000 Programmable Controllers User Manual12–8Using the Up Counter and the Up Counter with Reset and HoldUp counters are used when th

Página 139

Using High-Speed Counter Instructions12–9When a high preset is reached, no counts are lost.• Hardware and instruction accumulators are reset.• Instruc

Página 140 - Multiply (MUL)

PrefaceMicroLogix 1000 Programmable Controllers User Manual12–10Up Counter with Reset and HoldInput stateH g -SpeedInput Count(I/O)InputDirection(I/1)

Página 141 - Divide (DIV)

Using High-Speed Counter Instructions12–11OperationWhen the HSC instruction is first executed true, the:• Instruction accumulator is loaded to the har

Página 142 - Double Divide (DDV)

PrefaceMicroLogix 1000 Programmable Controllers User Manual12–12When the low preset is reached, the:• LP bit is set.• High-speed counter interrupt fil

Página 143 - Square Root (SQR)

Using High-Speed Counter Instructions12–13Bidirectional Counter with Reset and Hold (Pulse/direction)Input StateH g -SpeedInput Count(I/0)InputDirecti

Página 144 - Scale Data (SCL)

PrefaceMicroLogix 1000 Programmable Controllers User Manual12–14Bidirectional Counter with Reset and Hold (Up/down count)Input StateH g -SpeedInput Up

Página 145

Using High-Speed Counter Instructions12–15Input 0ABZ(Reset input)Quadrature Encoder1 2 3 2 1Forward Rotation Reverse RotationABCountInput 1Input 2Oper

Página 146

HardwareInstalling Your Controller1–7Schematic (Using ANSI/CSA Symbols)115V ac230V acDisconnectL1 L2IsolationTransformerFuseOperation of either of the

Página 147

PrefaceMicroLogix 1000 Programmable Controllers User Manual12–16When a high preset is reached, the:•HP bit is set.• High-speed counter interrupt file

Página 148

Using High-Speed Counter Instructions12–17An underflow occurs when the hardware accumulator transitions from –32,768 to+32,767. When an underflow occ

Página 149

PrefaceMicroLogix 1000 Programmable Controllers User Manual12–18High-Speed Counter Load (HSL)This instruction allows you to set the low and high prese

Página 150

Using High-Speed Counter Instructions12–19ParameterImageLocationUp CounterOnlyBidirectionalCountersDescriptionN7:5 Output Mask Output MaskIdentifies w

Página 151 - Convert to BCD (TOD)

PrefaceMicroLogix 1000 Programmable Controllers User Manual12–20The high-speed counter hardware is updated immediately when the HSL instructionis exec

Página 152

Using High-Speed Counter Instructions12–21High-Speed Counter Reset (RES)The RES instruction allows you to write a zero to the hardware accumulator and

Página 153 - Convert from BCD (FRD)

PrefaceMicroLogix 1000 Programmable Controllers User Manual12–22High-Speed Counter Reset Accumulator (RAC)This instruction allows you to write a speci

Página 154

Using High-Speed Counter Instructions12–23High-Speed Counter Interrupt Enable (HSE) and Disable (HSD)These instructions enable or disable a high-speed

Página 155

PrefaceMicroLogix 1000 Programmable Controllers User Manual12–24If the high-speed counter interrupt routine is executing and another high-speedcounter

Página 156 - Decode 4 to 1 of 16 (DCD)

Using High-Speed Counter Instructions12–25What Happens to the HSC When Going to REM RunModeOnce initialized, the HSC instruction retains its previous

Página 157 - Encode 1 of 16 to 4 (ENC)

PrefaceMicroLogix 1000 Programmable Controllers User Manual1–8Using Surge SuppressorsInductive load devices such as motor starters and solenoids requi

Página 158

PrefaceMicroLogix 1000 Programmable Controllers User Manual12–26Example 1To enter the REM Run mode and have the HSC Outputs, ACC, and InterruptSubrout

Página 159

Using High-Speed Counter Instructions12–27Example 2To enter the REM Run mode and retain the HSC ACC value while having the HSCOutputs and Interrupt Su

Página 160 - • Length is the number of wor

PrefaceMicroLogix 1000 Programmable Controllers User Manual12–28Example 3To enter the REM Run mode and have the HSC ACC and Interrupt Subroutineresume

Página 161

Using High-Speed Counter Instructions12–29High-Speed Counter Instructions in the Paper DrillingMachine Application ExampleThe ladder rungs in this sec

Página 162 - Overflow Trap Bit, S:5/0

PrefaceMicroLogix 1000 Programmable Controllers User Manual12–30| | High Output Pattern | ||

Página 163 - Move (MOV)

Using High-Speed Counter Instructions12–31Rungs 2.0 and 2.2 are required to write several parameters to the high-speed counterdata file area. These t

Página 164 - Masked Move (MVM)

PrefaceMicroLogix 1000 Programmable Controllers User Manual12–32The high-speed counter is used to control the conveyer position. The high-speedcounte

Página 165

Using High-Speed Counter Instructions12–33Rung 4:5Interrupt occurred due to low preset reached.| C5:0 +RET––

Página 166 - And (AND)

PrefaceMicroLogix 1000 Programmable Controllers User Manual12–34Notes:

Página 167

Using the Message Instruction13–113Using the Message InstructionThis chapter contains information about communications and the message (MSG)instructio

Página 168 - Exclusive Or (XOR)

HardwareInstalling Your Controller1–9Suitable surge suppression methods for inductive ac load devices include a varistor,an RC network, or an Allen-Br

Página 169 - Not (NOT)

PrefaceMicroLogix 1000 Programmable Controller User Manual13–2Types of CommunicationCommunication is the ability of a device to send data or status to

Página 170 - Negate (NEG)

(EN)(DN)(ER)MSGREAD/WRITE MESSAGERead/writeTarget DeviceControl BlockControl Block Length 7Using the Message Instruction13–3Message Instruction (MSG)T

Página 171

PrefaceMicroLogix 1000 Programmable Controller User Manual13–4• Control Block Address – an integer file address that you select. It consists of 7inte

Página 172

Using the Message Instruction13–5Control Block LayoutThe control block layouts shown below illustrate SLC500/ML1000 type messages.EN ST DN ER EW NR

Página 173

PrefaceMicroLogix 1000 Programmable Controller User Manual13–6Using Status Bits Read/Write: READ ignore if timed out: 0 TO Target Device: SLC500/ML

Página 174 - Operation

Using the Message Instruction13–7• Start Bit ST (bit 14) is set when the processor receives acknowledgementfrom the target device. This identifies

Página 175

PrefaceMicroLogix 1000 Programmable Controller User Manual13–8Timing Diagram for a Successful MSG InstructionThe following section illustrates a succe

Página 176

Using the Message Instruction13–9 If the Target Node successfully receives the MSG packet, it sends back an ACK(an acknowledge). The ACK causes the

Página 177

PrefaceMicroLogix 1000 Programmable Controller User Manual13–10 Following the successful receipt of the packet, the Target Node sends a replypacket.

Página 178

Using the Message Instruction13–11ErrorCodeDescription of Error Condition02H Target node is busy.03H Target node cannot respond because message is too

Página 179 - Instructions

PrefaceMicroLogix 1000 Programmable Controllers User Manual1–10Recommended Surge SuppressorsWe recommend the Allen-Bradley surge suppressors shown in

Página 180 - Jump (JMP) and Label (LBL)

PrefaceMicroLogix 1000 Programmable Controller User Manual13–12Application Examples that Use the MSG InstructionExample 1Application example 1 shows h

Página 181

ProgrammingUsing the Message Instruction13–13Example 2Application example 2 involves a MicroLogix 1000 controller transmitting its firstinput word to

Página 182 - Return (RET)

PrefaceMicroLogix 1000 Programmable Controller User Manual13–14Example 3Application example 3 involves a MicroLogix 1000 controller and an SLC 5/01pro

Página 183

Using the Message Instruction13–15(U) B30(EN)(DN)(ER)MSGREAD/WRITE MESSAGERead/write WRITETarget Device SLC500/ML1000Control Block N7:10Control Block

Página 184 - Using RET

PrefaceMicroLogix 1000 Programmable Controller User Manual13–16Program File 2 of SLC 5/01 Processor at Node 3Operation Notes, MicroLogix 1000 and SLC

Página 185 - Master Control Reset (MCR)

ProgrammingUsing the Message Instruction13–17Example 4Application example 4 shows you how to use the timeout bit to disable an activemessage instructi

Página 186 - Suspend (SUS)

PrefaceMicroLogix 1000 Programmable Controller User Manual13–18Example 5Application example 5 shows you how to link message instructions together totr

Página 187

Using the Message Instruction13–19END2.0]/[N7:012(EN)(DN)TONTIMER ON DELAYTimer T4:0Time Base 0.01Preset 600Accum 0(L)N7:0] [N7:015] [T4:0DN2.12.22.52

Página 188 - Machine Application Example

PrefaceMicroLogix 1000 Programmable Controller User Manual13–20Notes:

Página 189 - Using Application Specific

Troubleshooting Your System14–114Troubleshooting Your SystemThis chapter describes how to troubleshoot your controller. Topics include:• understandin

Página 190

HardwareInstalling Your Controller1–11Safety ConsiderationsSafety considerations are an important element of proper system installation.Actively think

Página 191

PrefaceMicroLogix 1000 Programmable Controllers User Manual14–2Understanding the Controller LED StatusBetween the time you apply power to the controll

Página 192 - • Bit Address

Troubleshooting Your System14–3When an Error ExistsIf an error exists within the controller, the controller LEDs operate as described inthe following

Página 193 - Bit Shift Left (BSL)

PrefaceMicroLogix 1000 Programmable Controllers User Manual14–4TheFollowingError ExistsProbable Cause Recommended ActionApplicationfaultHardware/Softw

Página 194 - Bit Shift Right (BSR)

Troubleshooting Your System14–5Controller Error Recovery ModelUse the following error recovery model to help you diagnose software and hardwareproblem

Página 195

PrefaceMicroLogix 1000 Programmable Controllers User Manual14–6Identifying Controller FaultsWhile a program is executing, a fault may occur within the

Página 196

Troubleshooting Your System14–7Fault MessagesThis section contains fault messages that can occur during operation of theMicroLogix 1000 programmable c

Página 197

PrefaceMicroLogix 1000 Programmable Controllers User Manual14–8Error Code(Hex)Recommended ActionDescriptionAdvisoryMessage0009 FATAL INTERNALHARDWAREE

Página 198 - Using SQO

Troubleshooting Your System14–9Error Code(Hex)Recommended ActionDescriptionAdvisoryMessage002B TOO MANY JSRsIN HSCThere are more than 3 subroutines ne

Página 199

PrefaceMicroLogix 1000 Programmable Controllers User Manual14–10Error Code(Hex)Recommended ActionDescriptionAdvisoryMessage0040 OUTPUT VERIFYWRITE FAI

Página 200

ReferenceHardware ReferenceA–1AHardware ReferenceThis appendix lists the controller:• specifications• dimensions• replacement partsFor AIC+ specificat

Página 201 - Sequencer Load (SQL)

PrefaceMicroLogix 1000 Programmable Controllers User Manual1–12Power DistributionThere are some points about power distribution that you should know:•

Página 202

PrefaceMicroLogix 1000 Programmable Controllers User ManualA–2Controller SpecificationsController TypesCatalog Number Description1761-L16AWA 10 pt. ac

Página 203 - Selectable

Hardware ReferenceA–3General SpecificationsDescription:Specification: 1761-Lescr p on:16AWA 20AWA-5A 32AWA 10BWA 16BWA 20BWA-5A 32BWA 32AAA 16BBB 10B

Página 204 - At start and end

PrefaceMicroLogix 1000 Programmable Controllers User ManualA–4Input Specificationsescr p onSpecificationDescription100-120V ac Controllers 24V dc Cont

Página 205

Hardware ReferenceA–5General Output SpecificationsType Relay MOSFET TriacVoltage See Wiring Diagrams, p. 2–7.MaximumLoadCurrentRefer to the RelayConta

Página 206

PrefaceMicroLogix 1000 Programmable Controllers User ManualA–6Analog Input SpecificationsDescription SpecificationVoltage Input Range–10.5 to +10.5V d

Página 207

Hardware ReferenceA–7Input Filter Response Times (Discrete)The input filter response time is the time from when the external input voltagereaches an o

Página 208 - Interrupt Subroutine (INT)

PrefaceMicroLogix 1000 Programmable Controllers User ManualA–8Response Times for dc Inputs 4 and Above (applies to 1761-L10BWA, 1761-L16BWA,-L20BWA-5A

Página 209

Hardware ReferenceA–9Controller DimensionsRefer to the following table for the controller dimensions.Controller: 1761- Length: mm (in.)Depth: mm (in.

Página 210

PrefaceMicroLogix 1000 Programmable Controllers User ManualA–10Replacement PartsDescription Catalog Number10 pt. ac input, 6 pt. relay output, ac powe

Página 211

Programming ReferenceB–1BProgramming ReferenceThis appendix lists the:• controller status file• instruction execution times and instruction memory usa

Página 212

Installing Your Controller1–13Power ConsiderationsThe following explains power considerations for the micro controllers.Isolation TransformersYou may

Página 213

PrefaceMicroLogix 1000 Programmable Controllers User ManualB–2The status file S: contains the following words:Word Function PageS:0 Arithmetic Flags

Página 214

Programming ReferenceB–3Status File DescriptionsThe following tables describe the status file functions, beginning at address S:0 andending at address

Página 215 - Using High-Speed Counter

PrefaceMicroLogix 1000 Programmable Controllers User ManualB–4Address DescriptionClassificationBitS:0/2 Zero Status This bit is set by the controller

Página 216

Programming ReferenceB–5Address Bit Classification DescriptionS:1/0 toS:1/4ControllerMode Status/CStatus Bits 0–4 function as follows:0 0000 = (0)Remo

Página 217

PrefaceMicroLogix 1000 Programmable Controllers User ManualB–6Address Bit Classification DescriptionS:1/9 StartupProtectionFaultStaticConfigurationWhe

Página 218

Programming ReferenceB–7Address Bit Classification DescriptionS:1/13 Major ErrorHaltedDynamicConfigurationThis bit is set by the controller any time a

Página 219

PrefaceMicroLogix 1000 Programmable Controllers User ManualB–8Address Bit Classification DescriptionS:1/14 OEM Lock StaticConfigurationUsing this bit

Página 220 - High-Speed Counter (HSC)

Programming ReferenceB–9Address DescriptionClassificationBitS:2/5➀IncomingCommandPending BitStatus This bit is set when the processor determinesthat a

Página 221

PrefaceMicroLogix 1000 Programmable Controllers User ManualB–10Address Bit Classification DescriptionS:2/14 Math OverflowSelectionDynamicConfiguration

Página 222

Programming ReferenceB–11Address DescriptionClassificationBitS:3L Current ScanTimeStatusThe value of this byte tells you how much timeelapses in a pro

Página 223

Table of Contents toc–iTable of ContentsPreface P–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Página 224

HardwarePrefaceMicroLogix 1000 Programmable Controllers User Manual1–14Loss of Power SourceThe power supply is designed to withstand brief power losse

Página 225

PrefaceMicroLogix 1000 Programmable Controllers User ManualB–12S:4 Timebase StatusAll 16 bits of this word are assessed by thecontroller. The value o

Página 226

Programming ReferenceB–13S:5/1 Reserved NA NAS:5/2 ControlRegister ErrorDynamicConfigurationThe LFU, LFL, FFU, FFL, BSL, BSR, SQO,SQC, and SQL instruc

Página 227

PrefaceMicroLogix 1000 Programmable Controllers User ManualB–14S:6 Major ErrorCodeStatusA hexadecimal code is entered in this word bythe controller wh

Página 228

Programming ReferenceB–15Fault ClassificationUserAddressErrorCode(Hex)Powerup Errors Non-UserNon-RecoverableRecoverableS:6 0001The default program was

Página 229

PrefaceMicroLogix 1000 Programmable Controllers User ManualB–16Fault ClassificationUserAddressErrorCode(Hex)Run Errors Non-UserNon-RecoverableRecovera

Página 230

Programming ReferenceB–17Fault ClassificationUserAddressErrorCode(Hex)Run Errors Non-UserNon-RecoverableRecoverableS:60040An output verify writeoccurr

Página 231

PrefaceMicroLogix 1000 Programmable Controllers User ManualB–18Address Bit Classification DescriptionS:7 SuspendCodeStatusWhen a non-zero value appear

Página 232 - High-Speed Counter Load (HSL)

ReferenceReferenceProgramming ReferenceB–19Address DescriptionClassificationBitS:15H DF1 BaudRateStatus This byte value contains a code used to select

Página 233

PrefaceMicroLogix 1000 Programmable Controllers User ManualB–20Address DescriptionClassificationBitS:23 Reserved NA NAS:24 IndexRegisterStatusThis wor

Página 234

ReferenceProgramming ReferenceB–21Instruction Execution Times and Memory UsageThe table below lists the execution times and memory usage for the contr

Página 235

Installing Your Controller1–15Preventing Excessive HeatFor most applications, normal convective cooling keeps the controller within thespecified opera

Página 236 - Execution Times

PrefaceMicroLogix 1000 Programmable Controllers User ManualB–22Mnemonic Instruction TypeNameMemory Usage(user words)True ExecutionTime (approx.µsecond

Página 237

ReferenceProgramming ReferenceB–23MnemonicFalse ExecutionTime (approx.µseconds)True ExecutionTime (approx.µseconds)Memory Usage(user words)Name Instru

Página 238 - Using HSD

PrefaceMicroLogix 1000 Programmable Controllers User ManualB–24MnemonicFalse ExecutionTime (approx.µseconds)True ExecutionTime (approx.µseconds)Memory

Página 239

ReferenceProgramming ReferenceB–25Estimating Memory Usage for Your Control SystemUse the following to calculate memory usage for your control system.T

Página 240 - Example 1

PrefaceMicroLogix 1000 Programmable Controllers User ManualB–26Execution Time WorksheetUse this worksheet to calculate your execution time for ladder

Página 241

Valid Addressing Modes and File Types for Instruction ParametersC–1CValid Addressing Modes and FileTypes for Instruction ParametersThis appendix lists

Página 242 - Example 3

PrefaceMicroLogix 1000 Programmable Controllers User ManualC–2Available File TypesThe following file types are available:• O Output• I Input• S Status

Página 243

Valid Addressing Modes and File Types for Instruction ParametersC–3Available Addressing ModesThe following addressing modes are available:• immediate•

Página 244

PrefaceMicroLogix 1000 Programmable Controllers User ManualC–4Instruction Description InstructionParametersValid AddressingMode(s)Valid File Types Val

Página 245

Valid Addressing Modes and File Types for Instruction ParametersC–5Instruction Valid ValueRangesValid File TypesValid AddressingMode(s)InstructionPara

Página 246

PrefaceMicroLogix 1000 Programmable Controllers User Manual1–16Controller SpacingThe following figure shows the recommended minimum spacing for the co

Página 247

PrefaceMicroLogix 1000 Programmable Controllers User ManualC–6Instruction Valid ValueRangesValid File TypesValid AddressingMode(s)InstructionParameter

Página 248

Valid Addressing Modes and File Types for Instruction ParametersC–7Instruction Description InstructionParameterValid AddressingMode(s)Valid File Types

Página 249 - Using the Message Instruction

PrefaceMicroLogix 1000 Programmable Controllers User ManualC–8Instruction Valid ValueRangesValid File TypesValid AddressingMode(s)InstructionParameter

Página 250 - Types of Communication

Valid Addressing Modes and File Types for Instruction ParametersC–9Instruction Description InstructionParameterValid AddressingMode(s)Valid File Types

Página 251 - Message Instruction (MSG)

PrefaceMicroLogix 1000 Programmable Controllers User ManualC–10Instruction Valid ValueRangesValid File TypesValid AddressingMode(s)InstructionParamete

Página 252 - • Control Block Address

Valid Addressing Modes and File Types for Instruction ParametersC–11Instruction Valid ValueRangesValid File TypesValid AddressingMode(s)InstructionPar

Página 253

PrefaceMicroLogix 1000 Programmable Controllers User ManualC–12Instruction Description InstructionParameterValid AddressingMode(s)Valid File Types Val

Página 254

Valid Addressing Modes and File Types for Instruction ParametersC–13Instruction Description InstructionParameterValid AddressingMode(s)Valid File Type

Página 255

PrefaceMicroLogix 1000 Programmable Controllers User ManualC–14Notes:

Página 256

ReferenceUnderstanding the Communication ProtocolsD–1DUnderstanding the CommunicationProtocolsUse the information in this appendix to understand the d

Página 257

HardwareInstalling Your Controller1–17Using a DIN RailUse 35 mm (1.38 in.) DIN rails, such as item number 199-DR1 or 1492-DR5 fromBulletin 1492.To ins

Página 258 - MSG Instruction Error Codes

PrefaceMicroLogix 1000 Programmable Controllers User ManualD–2RS-232 Communication InterfaceRS-232 is an Electronics Industries Association (EIA) stan

Página 259

Understanding the Communication ProtocolsD–3DF1 Full-Duplex ProtocolDF1 Full-Duplex communication protocol combines data transparency (ANSI —American

Página 260

ReferencePrefaceMicroLogix 1000 Programmable Controllers User ManualD–4Example DF1 Full-Duplex ConnectionsFor information about required network conne

Página 261

Understanding the Communication ProtocolsD–5DF1 Half-Duplex Slave ProtocolDF1 half-duplex slave protocol provides a multi-drop single master/multiple

Página 262

PrefaceMicroLogix 1000 Programmable Controllers User ManualD–6DF1 Half-Duplex Slave Configuration ParametersWhen the system mode driver is DF1 half-du

Página 263 - SLC500/ML1000

Understanding the Communication ProtocolsD–7ModemModem Modem ModemModemModemRS-232(DF1 Protocol)MicroLogix 1000ProgrammableController (Series D)SLC 5/

Página 264 - Preset 400

PrefaceMicroLogix 1000 Programmable Controllers User ManualD–8Ownership TimeoutWhen a program download sequence is started by a software package to do

Página 265

Understanding the Communication ProtocolsD–9Using Modems with MicroLogix 1000 Programmable ControllersThe types of modems that you can use with MicroL

Página 266 - Example 5

PrefaceMicroLogix 1000 Programmable Controllers User ManualD–10Radio ModemsRadio modems may be implemented in a point-to-point topology supporting eit

Página 267

Understanding the Communication ProtocolsD–11DH-485 Communication ProtocolThe information in this section describes the DH-485 network functions, netw

Página 268

PrefaceMicroLogix 1000 Programmable Controllers User Manual1–18Using Mounting ScrewsTo install your controller using mounting screws:2.Secure the temp

Página 269 - Troubleshooting Your System

PrefaceMicroLogix 1000 Programmable Controllers User ManualD–12DH-485 Token RotationA node holding the token can send any valid packet onto the networ

Página 270 - When Operating Normally

ReferenceUnderstanding the Communication ProtocolsD–13DH-485 Network InitializationNetwork initialization begins when a period of inactivity exceeding

Página 271 - Troubleshooting

PrefaceMicroLogix 1000 Programmable Controllers User ManualD–14CatalogNumberDescriptionInstallationRequirementFunction Publication1747-L511,-L514,-L52

Página 272

ReferenceUnderstanding the Communication ProtocolsD–15CatalogNumberPublicationFunctionInstallationRequirementDescription1747-PT1Hand-HeldTerminalNAPro

Página 273

PrefaceMicroLogix 1000 Programmable Controllers User ManualD–16Important DH-485 Network Planning ConsiderationsCarefully plan your network configurati

Página 274 - Identifying Controller Faults

ReferenceUnderstanding the Communication ProtocolsD–17Planning Cable RoutesFollow these guidelines to help protect the communication cable from electr

Página 275

PrefaceMicroLogix 1000 Programmable Controllers User ManualD–18Software ConsiderationsSoftware considerations include the configuration of the network

Página 276

ReferenceUnderstanding the Communication ProtocolsD–19Example DH-485 ConnectionsThe following network diagrams provide examples of how to connect Seri

Página 277

PrefaceMicroLogix 1000 Programmable Controllers User ManualD–20Typical 3-Node Network3-Node Network(not expandable)1761-CBL-AS09or1761-CBL-AS031747-CP

Página 278 - • controller LED status

ReferenceUnderstanding the Communication ProtocolsD–21Networked Operator Interface Device and MicroLogix Controller1761-CBL-AM00or1761-CBL-HM021747-CP

Página 279 - Hardware Reference

HardwareWiring Your Controller2–12Wiring Your ControllerThis chapter describes how to wire your controller. Topics include:• grounding guidelines•sin

Página 280 - Controller Specifications

PrefaceMicroLogix 1000 Programmable Controllers User ManualD–22MicroLogix Remote Packet Support Series D MicroLogix controllers and all MicroLogix ana

Página 281 - Reference

Application Example ProgramsE–1EApplication Example ProgramsThis appendix is designed to illustrate various instructions described previously inthis m

Página 282

PrefaceMicroLogix 1000 Programmable Controllers User ManualE–2Paper Drilling Machine Application ExampleFor a detailed explanation of:• XIC, XIO, OTE,

Página 283 - General Output Specifications

Application Example ProgramsE–3This machine can drill 3 different hole patterns into bound manuals. The programtracks drill wear and signals the oper

Página 284 - Analog Output Specifications

PrefaceMicroLogix 1000 Programmable Controllers User ManualE–4Drill Mechanism OperationWhen the operator presses the start button, the drill motor tur

Página 285

Application Example ProgramsE–5Paper Drilling Machine Ladder ProgramRung 2:0Initializes the high-speed counter each time the REM Run mode isentered.

Página 286 - -L32AAA controllers)

PrefaceMicroLogix 1000 Programmable Controllers User ManualE–6| | Low preset value | ||

Página 287 - Controller Dimensions

Application Example ProgramsE–7Rung 2:2Forces a high-speed counter low preset interrupt to occur each REM Runmode entry. An interrupt can only occur o

Página 288 - Replacement Parts

PrefaceMicroLogix 1000 Programmable Controllers User ManualE–8Rung 2:5Calls the drill sequence subroutine. This subroutine manages theoperation of a

Página 289 - Programming Reference

Application Example ProgramsE–9Rung 4:1➀Keeps track of the hole number that is being drilled and loads thecorrect high-speed counter preset based on t

Página 290

PrefaceMicroLogix 1000 Programmable Controllers User Manual2–2Grounding GuidelinesIn solid-state control systems, grounding helps limit the effects of

Página 291

PrefaceMicroLogix 1000 Programmable Controllers User ManualE–10Rung 4:3➀Is identical to the 2 previous rungs except that it is only active whenthe ”ho

Página 292

Application Example ProgramsE–11Rung 4:6Signals the main program (file 2) to initiate a drilling sequence. Thehigh-speed counter has already stopped

Página 293

PrefaceMicroLogix 1000 Programmable Controllers User ManualE–12Rung 6:2When the drill is retracting (after drilling a hole), the body of thedrill actu

Página 294

Application Example ProgramsE–13| | 1/4 in. 102,000 | || | Thousands

Página 295

PrefaceMicroLogix 1000 Programmable Controllers User ManualE–14Rung 7:1Resets the number of 1/4 in. increments and the 1/4 in. thousands whenthe ”dril

Página 296

Application Example ProgramsE–15Rung 7:3Converts the BCD thumbwheel value from BCD to integer. This is donebecause the controller operates upon integ

Página 297

PrefaceMicroLogix 1000 Programmable Controllers User ManualE–16Rung 7:5Keeps a running total of how many inches of paper have been drilledwith the cur

Página 298

Application Example ProgramsE–17| | 1/4 in. | || |

Página 299

PrefaceMicroLogix 1000 Programmable Controllers User ManualE–18Time Driven Sequencer Ladder ProgramRung 2:0The function of this rung is called a regen

Página 300

Application Example ProgramsE–19Data FilesAddress 15 Data 0N7:0 0000 0000 0000 0000N7:1 0000 0000 0000 0100N7:2 0000 0000 0000 0010N7:3 0000 0000 0000

Página 301

Wiring Your Controller2–3Sinking and Sourcing CircuitsAny of the MicroLogix 1000 DC inputs can be configured as sinking or sourcingdepending on how th

Página 302 - NA = Not Applicable

PrefaceMicroLogix 1000 Programmable Controllers User ManualE–20Rung 2:1The SQC instruction and SQO instruction share the same ControlRegister. This is

Página 303

Application Example ProgramsE–21Bottle Line ExampleThe following application example illustrates how the controller high-speed counteris configured fo

Página 304

PrefaceMicroLogix 1000 Programmable Controllers User ManualE–22Bottle Line Ladder ProgramRung 2:0Loads the high-speed counter with the following param

Página 305

Application Example ProgramsE–23Rung 2:4Filling machine running too fast for the packing machine. Slow downthe filling machine to allow the packer to

Página 306

PrefaceMicroLogix 1000 Programmable Controllers User ManualE–24Pick and Place Machine ExampleThe following application example illustrates how the con

Página 307 - ReferenceReference

Application Example ProgramsE–25Pick and Place Machine Ladder ProgramRung 2:0The following 3 rungs take information from the other programmablecontrol

Página 308

PrefaceMicroLogix 1000 Programmable Controllers User ManualE–26Rung 2:4Loads the high-speed counter with the following parameters:N7:0 – 0001h – Outpu

Página 309

Application Example ProgramsE–27Rung 2:7When the pick and place head is positioned over the proper bin, turnoff the forward motor. At the same time t

Página 310

PrefaceMicroLogix 1000 Programmable Controllers User ManualE–28RPM Calculation Application ExampleThe following application example illustrates how to

Página 311

Application Example ProgramsE–29Once you have entered these 2 values the following information is provided:•N7:1 – Counts per last Rate Measurement Pe

Página 312 - User Interrupt Latency

PrefaceMicroLogix 1000 Programmable Controllers User Manual2–4NOTUSEDNOTUSEDI/9 I/10DCCOMI/0 I/1 I/2 I/3 I/4 I/5 I/6 I/7 I/8 I/11 I/12 I/13 I/14 I/15

Página 313

PrefaceMicroLogix 1000 Programmable Controllers User ManualE–30RPM Calculation Ladder ProgramRung 2:0Ensures that the measurement value is initialized

Página 314 - Execution Time Worksheet

Application Example ProgramsE–31Rung 2:1Sets the rate measurement period. In this case we are calculating a newrate value once every 100ms. Value N7

Página 315

PrefaceMicroLogix 1000 Programmable Controllers User ManualE–32| | Last timeout value | || |

Página 316 - Available

Application Example ProgramsE–33| | Frequency | || | calculation |

Página 317 - Available Addressing Modes

PrefaceMicroLogix 1000 Programmable Controllers User ManualE–34On/Off Circuit Application ExampleThe following application example illustrates how to

Página 318

Application Example ProgramsE–35Rung 2:2If the push button input has gone from false-to-true and the output ispresently ON, turns the output OFF.|push

Página 319

PrefaceMicroLogix 1000 Programmable Controllers User ManualE–36Spray Booth Application ExampleThe following application example illustrates the use of

Página 320

Application Example ProgramsE–37Spray Booth Operation OverviewAn overhead conveyor with part carriers (hooks) carries parts from a previousoperation t

Página 321

PrefaceMicroLogix 1000 Programmable Controllers User ManualE–38Once the presence and color data is loaded into the shift register and FIFO, they aresh

Página 322 - , C, or R addresses

Application Example ProgramsE–39Rung 2:3When the part carrier actuates the SHIFT LIMIT SWITCH, three thingshappen in this rung: (1) the color of the

Página 323

HardwareWiring Your Controller2–5Note The diameter of the terminal screw heads is 5.5 mm (0.220 in.). The input andoutput terminals of the micro con

Página 324

PrefaceMicroLogix 1000 Programmable Controllers User ManualE–40Rung 2:5Decodes color select word. If N7:0=1 then energize the blue paint gun.Or if N7

Página 325

Application Example ProgramsE–41Adjustable Timer Application ExampleThe following application example illustrates the use of timers to adjust the dril

Página 326

PrefaceMicroLogix 1000 Programmable Controllers User ManualE–42Rung 2:1Subtracts 2.5 seconds from Timer delay each time the decrement pushbutton is de

Página 327

Optional Analog Input Software CalibrationF–1FOptional Analog Input Software CalibrationThis appendix helps you calibrate an analog input channel usin

Página 328

PrefaceMicroLogix 1000 Programmable Controllers User ManualF–2Calibrating an Analog Input ChannelThe following procedure can be adapted to all analog

Página 329 - Protocols

Optional Analog Input Software CalibrationF–3Calculating the Software CalibrationUse the following equation to perform the software calibration:Scaled

Página 330

PrefaceMicroLogix 1000 Programmable Controllers User ManualF–4Example Ladder DiagramThe following ladder diagram uses 3 internal bits to perform the c

Página 331 - DF1 Full-Duplex Protocol

Optional Analog Input Software CalibrationF–5Rung 2:0| CAL_LO_ENABLE || B3/5

Página 332

PrefaceMicroLogix 1000 Programmable Controllers User ManualF–6| | +MUL––––––––––––––––––––+ | ||

Página 333

GlossaryG–1GlossaryThe following terms are used throughout this manual. Refer to the Allen-BradleyIndustrial Automation Glossary, Publication Number

Página 334

PrefaceMicroLogix 1000 Programmable Controllers User Manual toc–iiEstablishing Communication 3–17. . . . . . . . . . . . . . . . . . . . . . . . . . .

Página 335 - Modem Modem Modem

HardwarePrefaceMicroLogix 1000 Programmable Controllers User Manual2–6Remove the protective wrap before applying power to the controller.Failure to re

Página 336 - Ownership Timeout

PrefaceMicroLogix 1000 Programmable Controllers User ManualG–2control profile: The means by which a controller determines which outputs turn onunder

Página 337

GlossaryG–3input device: A device, such as a push button or a switch, that supplies signalsthrough input circuits to the controller.inrush current:

Página 338

PrefaceMicroLogix 1000 Programmable Controllers User ManualG–4modem: Modulator/demodulator. Equipment that connects data terminalequipment to a comm

Página 339 - DH-485 Communication Protocol

GlossaryG–5program file: The area within a processor file that contains the ladder logicprogram.program mode: When the controller is not executing t

Página 340 - DH-485 Token Rotation

PrefaceMicroLogix 1000 Programmable Controllers User ManualG–6save: To upload (transfer) a program stored in memory from a controller to apersonal co

Página 341

IndexI–7Numbers1761L10BWAfeatures, 1-3grounding, 2-2input voltage range, 2-9mounting, 1-14output voltage range, 2-9preventing excessive heat, 1-13spa

Página 342

PrefaceMicroLogix 1000 Programmable Controllers User ManualI–8wiring diagram, 2-191761L20BWB5Afeatures, 1-3input voltage range, 2-20mounting, 1-14ou

Página 343

IndexI–9indexed, 4-12logical, 4-10using mnemonics, 4-12addressing modes, C-3direct addressing, C-3immediate addressing, C-3indexed addressing, C-3AIC+

Página 344

PrefaceMicroLogix 1000 Programmable Controllers User ManualI–10DH-485, B-19limitations for autoswitching, 3-17bidirectional counteroperation, 12-11ove

Página 345

IndexI–11Masked Comparison for Equal (MEQ),7-5Not Equal (NEQ), 7-3overview, 7-2indexed word addresses, 7-2connecting the system, 3-1AIC+, 3-9DF1 full

Página 346 - • baud rate

Wiring Your Controller2–7Wiring Diagrams, Discrete Input and Output VoltageRangesThe following pages show the wiring diagrams, discrete input voltage

Página 347

PrefaceMicroLogix 1000 Programmable Controllers User ManualI–12overview, 6-15addressing structure, 6-16entering parameters, 6-16how counters work, 6-1

Página 348 - (not expandable)

IndexI–13valid file types, C-5EElectronics Industries Association (EIA),D-2EMC Directive, 1-2emergencystop switches, 1-5ENC, Encode 1 of 16 to 4, 9-9

Página 349

PrefaceMicroLogix 1000 Programmable Controllers User ManualI–14entering parameters, 9-23FIFO Load (FFL), 9-25execution times, 9-25instruction paramete

Página 350

IndexI–15HighSpeed Counter Interrupt Disable(HSD), 12-23execution times, 12-23instruction parameters, C-7using HSD, 12-24operation, 12-24valid addres

Página 351 - Application Example Programs

PrefaceMicroLogix 1000 Programmable Controllers User ManualI–16installing, the micro controller, 1-1instruction execution time, worksheet, B-26instruc

Página 352

IndexI–17valid file types, C-8LIM, Limit Test, 7-6Limit Test (LIM), 7-6entering parameters, 7-6execution times, 7-6instruction parameters, C-9valid ad

Página 353

PrefaceMicroLogix 1000 Programmable Controllers User ManualI–18motor starters (bulletin 709), surgesuppressors, 1-10mounting template, A-9mounting the

Página 354 - Drill Calculation and Warning

IndexI–19valid file types, C-10operating cycle, controller's, 4-3Or (OR), 9-19execution times, 9-19instruction parameters, C-10updates to arithme

Página 355

PrefaceMicroLogix 1000 Programmable Controllers User ManualI–20storing and accessing, 4-6download, 4-7normal operation, 4-7power down, 4-8power up, 4-

Página 356

IndexI–21overview, 1-11Periodic Tests of Master Control RelayCircuit, 1-12Power Distribution, 1-11Safety Circuits, 1-11SBR, Subroutine, 10-4Scale (SCL

Página 357

PrefaceMicroLogix 1000 Programmable Controllers User Manual2–81761-L32AWA Wiring DiagramNOTUSEDNOTUSED79–132V acL2/NVACVDCO/0VACVDCO/1VACVDCO/2 O/3VAC

Página 358

PrefaceMicroLogix 1000 Programmable Controllers User ManualI–22analog output, A-6general, A-3general output, A-5input, A-4input filter response times,

Página 359

IndexI–23Timer OnDelay (TON), 6-11execution times, 6-11instruction parameters, C-13using status bits, 6-11valid addressing modes, C-13valid file type

Página 360

Allen-Bradley, a Rockwell Automation Business, has been helping its customers improveproductivity and quality for more than 90 years. We design, manuf

Página 361

HardwareHardwareWiring Your Controller2–91761-L10BWA Wiring Diagram (Sinking Input Configuration)Note: Refer to page 2–3 for additional configuration

Página 362

HardwareHardwarePrefaceMicroLogix 1000 Programmable Controllers User Manual2–101761-L16BWA Wiring Diagrams (Sinking Input Configuration)Note: Refer t

Página 363

HardwareHardwareWiring Your Controller2–111761-L32BWA Wiring Diagram (Sinking Input Configuration)Note: Refer to page 2–3 for additional configuratio

Página 364

HardwarePrefaceMicroLogix 1000 Programmable Controllers User Manual2–121761-L10BWB Wiring Diagram (Sinking Input Configuration)Note: Refer to page 2–

Página 365

HardwareWiring Your Controller2–131761-L16BWB Wiring Diagram (Sinking Input Configuration)Note: Refer to page 2–4 for additional configuration option

Página 366

HardwarePrefaceMicroLogix 1000 Programmable Controllers User Manual2–141761-L32BWB Wiring Diagram (Sinking Input Configuration)Note: Refer to page 2–

Página 367

Wiring Your Controller2–151761-L32AAA Wiring DiagramNOTUSEDNOTUSED79–132V acL2/NVACVDCO/0VACVDCO/1VACO/2 O/3VACO/4 O/5 O/6VACO/8O/7 O/9 O/10 O/11I/9 I

Página 368

Table of Contents toc–iiiEqual (EQU) 7–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Página 369

HardwarePrefaceMicroLogix 1000 Programmable Controllers User Manual2–161761-L16BBB Wiring Diagrams (Sinking Input Configuration)Note: Refer to page 2

Página 370

Wiring Your Controller2–171761-L32BBB Wiring Diagram (Sinking Input Configuration)Note: Refer to page 2–4 for additional configuration options. NOT

Página 371 - Bottle Line Example

PrefaceMicroLogix 1000 Programmable Controllers User Manual2–181761-L20AWA-5A Wiring DiagramNote: Refer to pages 2–21 through 2–23 for additional inf

Página 372 - Bottle Line Ladder Program

Wiring Your Controller2–191761-L20BWA-5A Wiring Diagram (Sinking Input Configuration)Note: Refer to page 2–3 for additional discrete configuration op

Página 373

PrefaceMicroLogix 1000 Programmable Controllers User Manual2–201761-L20BWB-5A Wiring Diagram (Sinking Input Configuration)Note: Refer to page 2–4 for

Página 374 - Conveyor

Wiring Your Controller2–21Minimizing Electrical Noise on Analog ControllersInputs on analog employ digital high frequency filters that significantly r

Página 375

PrefaceMicroLogix 1000 Programmable Controllers User Manual2–22Wiring Your Analog ChannelsAnalog input circuits can monitor current and voltage signal

Página 376

Wiring Your Controller2–23Analog Voltage and Current Input and Output RangesAnalog Voltage Input RangeOperating RangeOverrangeUnderrange–10.5V dc 10.5

Página 377

HardwarePrefaceMicroLogix 1000 Programmable Controllers User Manual2–24Wiring Your Controller for High-Speed CounterApplicationsTo wire the controller

Página 378

HardwareConnecting the System3–13Connecting the SystemThis chapter describes how to wire your controller system. The method you use andcabling requir

Página 379

PrefaceMicroLogix 1000 Programmable Controllers User Manual toc–ivData Handling Instructions in the Paper Drilling Machine Application Example 9–28. .

Página 380

PrefaceMicroLogix 1000 Programmable Controllers User Manual3–2Connecting the DF1 ProtocolThere are two ways to connect the MicroLogix 1000 programmabl

Página 381

HardwareConnecting the System3–3201878-pin Mini Din9-pin D-shell543219876123456781761-CBL-PM02 Series B Cable8-Pin9-Pin 9 7 6 5 4 3 2 1 8 RIDCDCTSRTSD

Página 382

PrefaceMicroLogix 1000 Programmable Controllers User Manual3–4Personal ComputerModemModemModemCable1761-CBL-PM02Micro ControllerOptical Isolator➀(reco

Página 383

HardwareConnecting the System3–5Connecting to a DH-485 NetworkNote Only Series C or later MicroLogix 1000 discrete controllers and all MicroLogix1000

Página 384 - On/Off Circuit Ladder Program

PrefaceMicroLogix 1000 Programmable Controllers User Manual3–6DH-485 Communication CableThe suggested DH-485 communication cable is either Belden #310

Página 385

HardwareConnecting the System3–7Connecting the Communication Cable to the DH-485 ConnectorNote A daisy-chained network is recommended. We do not reco

Página 386

PrefaceMicroLogix 1000 Programmable Controllers User Manual3–8The table below shows connections for Belden #3106A.For this Wire/PairConnect this Wire

Página 387

HardwareConnecting the System3–9Connecting the AIC+Note Only Series C or later MicroLogix 1000 discrete controllers and all MicroLogix1000 analog con

Página 388 - Spray Booth Ladder Program

PrefaceMicroLogix 1000 Programmable Controllers User Manual3–10DF1 Isolated Point-to-Point Connection24V dc(Not needed in thisconfiguration since theM

Página 389

Connecting the System3–11DF1 Isolated Modem Connection24V dc(Not needed in this configurationsince the MicroLogix 1000 providespower to the AIC+ via p

Página 390

Table of Contents toc–v13 Using the Message Instruction 13–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Types of

Página 391 - Adjustable

HardwarePrefaceMicroLogix 1000 Programmable Controllers User Manual3–12Cable Selection Guide1747-CP31761-CBL-AC00Cable Length Connections fromto AIC+E

Página 392

Connecting the System3–131761-CBL-PM02➁1761-CBL-AP00Cable Length Connections fromto AIC+ExternalPower SupplyRequiredPower SelectionSwitch Setting1761-

Página 393 - Calibration

HardwarePrefaceMicroLogix 1000 Programmable Controllers User Manual3–14Recommended User-Supplied ComponentsThese components can be purchased from your

Página 394

Connecting the System3–15Powering the AIC+If you use an external power supply, it must be 24V dc. Permanent damagewill result if miswired with the wr

Página 395 - Calibration Procedure

HardwarePrefaceMicroLogix 1000 Programmable Controllers User Manual3–16Power OptionsBelow are two options for powering the AIC+:• Use the 24V dc user

Página 396

Connecting the System3–17Establishing CommunicationWhen you connect a MicroLogix 1000 controller to a network, it automaticallyfinds which protocol is

Página 397

HardwarePrefaceMicroLogix 1000 Programmable Controllers User Manual3–18DeviceNet CommunicationsYou can also connect a MicroLogix to a DeviceNet networ

Página 398

Programming Overview4–14Programming OverviewThis chapter explains how to program the MicroLogix 1000 programmablecontroller. Read this chapter for ba

Página 399

PrefaceMicroLogix 1000 Programmable Controllers User Manual4–2Principles of Machine ControlThe controller consists of a built-in power supply, central

Página 400

Programming Overview4–3With the logic program entered into the controller, placing the controller in theRun mode initiates an operating cycle. The co

Página 401

PrefaceMicroLogix 1000 Programmable Controllers User Manual toc–viE Application Example Programs E–1. . . . . . . . . . . . . . . . . . . . . . . . .

Página 402

PrefaceMicroLogix 1000 Programmable Controllers User Manual4–4Understanding File OrganizationThe processor provides control through the use of a progr

Página 403

Programming Overview4–5Program FilesProgram files contain controller information, the main ladder program, interruptsubroutines, and any subroutine pr

Página 404

PrefaceMicroLogix 1000 Programmable Controllers User Manual4–6• Counter (file 5) – This file stores the counter accumulator and preset valuesand the s

Página 405

Programming Overview4–7DownloadWhen the processor file is downloaded to the micro controller, it is first stored in thevolatile RAM. It is then trans

Página 406

PrefaceMicroLogix 1000 Programmable Controllers User Manual4–8Power DownWhen a power down occurs, only the retentive data is transferred from the RAM

Página 407

Programming Overview4–9If retentive data was lost on power down, the backup data from the EEPROM istransferred to the RAM and used as the retentive da

Página 408

PrefaceMicroLogix 1000 Programmable Controllers User Manual4–10Addressing Data FilesFor the purposes of addressing, each data file type is identified

Página 409

Programming Overview4–11You assign logical addresses to instructions from the highest level (element) to thelowest level (bit). Addressing examples a

Página 410

PrefaceMicroLogix 1000 Programmable Controllers User Manual4–12You can also address at the bit level using mnemonics for timer, counter, or controldat

Página 411

Programming Overview4–13In this example, the processor uses the following addresses:Value: Base Address: Offset Value in S:24 Offset Address:Source N7

Página 412

Summary of Changessoc–iSummary of ChangesThe information below summarizes the changes to this manual since the lastprinting as Publication 1761-6.3 —

Página 413

PrefaceMicroLogix 1000 Programmable Controllers User Manual4–14When entering values into an instruction or data table element, you can specify theradi

Página 414

Programming Overview4–15The programming device allows you to enter a ladder logic program into the microcontroller.In the following illustration, the

Página 415

PrefaceMicroLogix 1000 Programmable Controllers User Manual4–16Design Functional SpecificationPerformDetailed AnalysisDetermine if Special Programming

Página 416

Using Analog5–15Using AnalogThis chapter describes the operation of the MicroLogix 1000 analog controllers.Topics include:• I/O Image• I/O Configurati

Página 417

PrefaceMicroLogix 1000 Programmable Controllers User Manual5–2I/O ImageThe input and output image files of the MicroLogix 1000 analog controllers have

Página 418

Using Analog5–3I/O ConfigurationThe analog input channels are single-ended (unipolar) circuits and can beindividually enabled or disabled. The defaul

Página 419

PrefaceMicroLogix 1000 Programmable Controllers User Manual5–4The total update time for each channel is a combination of the Update Time and theSettli

Página 420

Using Analog5–5Converting Analog DataThe analog input circuits are able to monitor current and voltage signals and convertthem to digital data. There

Página 421

PrefaceMicroLogix 1000 Programmable Controllers User Manual5–6 input value➀ = input voltage(V)10.5V32,767➀The Input Value is the decimal value of the

Página 422 - Worldwide

Using Basic Instructions6–16Using Basic InstructionsThis chapter contains general information about the basic instructions and explainshow they functi

Comentários a estes Manuais

Sem comentários