Rockwell-automation 1761 MicroLogix 1000 Programmable Controllers Uživatelský manuál

Procházejte online nebo si stáhněte Uživatelský manuál pro Zařízení Rockwell-automation 1761 MicroLogix 1000 Programmable Controllers. Rockwell Automation 1761 MicroLogix 1000 Programmable Controllers User Manual Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 422
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků

Shrnutí obsahu

Strany 1 - Allen-Bradley

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

Strany 2 - Important User Information

PrefaceMicroLogix 1000 Programmable Controllers User Manualsoc–iiNotes:

Strany 3 - Table of Contents

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

Strany 4

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

Strany 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

Strany 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

Strany 7

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

Strany 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

Strany 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

Strany 10

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 18 - • EN 50082-2

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

Strany 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

Strany 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

Strany 21

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

Strany 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

Strany 23

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

Strany 24 - Using Surge Suppressors

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

Strany 25

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

Strany 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

Strany 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

Strany 28 - Power Distribution

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

Strany 29 - Power Considerations

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

Strany 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

Strany 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

Strany 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

Strany 33

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

Strany 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

Strany 35 - Wiring Your Controller

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

Strany 36 - Grounding Guidelines

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

Strany 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

Strany 38 - Wiring Recommendations

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

Strany 39

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

Strany 40

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

Strany 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

Strany 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)

Strany 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

Strany 44

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

Strany 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

Strany 46

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

Strany 47

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 53 - 85–264 VAC

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

Strany 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

Strany 55 - Grounding

PrefaceMicroLogix 1000 Programmable Controllers User Manual8–16Notes:

Strany 56 - I/10 I/11

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

Strany 57 - Analog Current Output Range

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

Strany 58 - Applications

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 63

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

Strany 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

Strany 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

Strany 66

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

Strany 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

Strany 68 - DH-485 Network Connection

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

Strany 69 - DF1 Isolated Modem Connection

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

Strany 70

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

Strany 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

Strany 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

Strany 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

Strany 74

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 79

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

Strany 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

Strany 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

Strany 82 - Accessed

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

Strany 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

Strany 84 - Power Up

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

Strany 85

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

Strany 86 - Addressing Data Files

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

Strany 87

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

Strany 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

Strany 89

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

Strany 90

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

Strany 91 - Developing

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

Strany 92 - Checklist

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

Strany 93 - Using Analog

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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.

Strany 99 - Using Basic Instructions

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

Strany 100 - About the Basic Instructions

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

Strany 101 - Programming

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

Strany 102 - Examine if Open (XIO)

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

Strany 103 - Output Energize (OTE)

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

Strany 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

Strany 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

Strany 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

Strany 107

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

Strany 108

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

Strany 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

Strany 110 - Timer Off-Delay (TOF)

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

Strany 111

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

Strany 112 - Retentive

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

Strany 113 - Counter Instructions Overview

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

Strany 114 - Addressing Structure

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

Strany 115

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

Strany 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

Strany 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

Strany 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

Strany 119 - Application Example

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

Strany 120

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

Strany 121

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

Strany 122

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

Strany 123 - Using Comparison Instructions

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

Strany 124 - Indexed Word Addresses

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

Strany 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

Strany 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

Strany 127

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

Strany 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

Strany 129

PrefaceMicroLogix 1000 Programmable Controllers User Manual11–26Notes:

Strany 130

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

Strany 131

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

Strany 132

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

Strany 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.

Strany 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

Strany 135

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

Strany 136 - Add (ADD)

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

Strany 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

Strany 138

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

Strany 139

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

Strany 140 - Multiply (MUL)

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

Strany 141 - Divide (DIV)

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

Strany 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

Strany 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

Strany 144 - Scale Data (SCL)

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

Strany 145

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

Strany 146

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

Strany 147

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

Strany 148

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

Strany 149

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

Strany 150

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

Strany 151 - Convert to BCD (TOD)

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

Strany 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

Strany 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

Strany 154

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

Strany 155

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

Strany 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

Strany 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

Strany 158

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

Strany 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

Strany 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

Strany 161

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

Strany 162 - Overflow Trap Bit, S:5/0

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

Strany 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

Strany 164 - Masked Move (MVM)

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

Strany 165

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

Strany 166 - And (AND)

PrefaceMicroLogix 1000 Programmable Controllers User Manual12–34Notes:

Strany 167

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

Strany 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

Strany 169 - Not (NOT)

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

Strany 170 - Negate (NEG)

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

Strany 171

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

Strany 172

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

Strany 173

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

Strany 174 - Operation

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

Strany 175

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

Strany 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

Strany 177

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

Strany 178

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

Strany 179 - Instructions

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

Strany 180 - Jump (JMP) and Label (LBL)

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

Strany 181

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

Strany 182 - Return (RET)

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

Strany 183

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

Strany 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

Strany 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

Strany 186 - Suspend (SUS)

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

Strany 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

Strany 188 - Machine Application Example

PrefaceMicroLogix 1000 Programmable Controller User Manual13–20Notes:

Strany 189 - Using Application Specific

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

Strany 190

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

Strany 191

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

Strany 192 - • Bit Address

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

Strany 193 - Bit Shift Left (BSL)

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

Strany 194 - Bit Shift Right (BSR)

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

Strany 195

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

Strany 196

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

Strany 197

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

Strany 198 - Using SQO

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

Strany 199

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

Strany 200

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

Strany 201 - Sequencer Load (SQL)

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

Strany 202

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

Strany 203 - Selectable

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

Strany 204 - At start and end

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

Strany 205

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

Strany 206

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

Strany 207

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

Strany 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

Strany 209

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

Strany 210

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

Strany 211

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

Strany 212

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

Strany 213

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

Strany 214

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

Strany 215 - Using High-Speed Counter

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

Strany 216

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

Strany 217

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

Strany 218

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

Strany 219

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

Strany 220 - High-Speed Counter (HSC)

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

Strany 221

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

Strany 222

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

Strany 223

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

Strany 224

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

Strany 225

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

Strany 226

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

Strany 227

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

Strany 228

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

Strany 229

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

Strany 230

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

Strany 231

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

Strany 232 - High-Speed Counter Load (HSL)

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

Strany 233

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

Strany 234

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

Strany 235

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

Strany 236 - Execution Times

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

Strany 237

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

Strany 238 - Using HSD

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

Strany 239

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

Strany 240 - Example 1

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

Strany 241

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

Strany 242 - Example 3

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

Strany 243

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

Strany 244

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

Strany 245

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

Strany 246

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

Strany 247

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

Strany 248

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

Strany 249 - Using the Message Instruction

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

Strany 250 - Types of Communication

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

Strany 251 - Message Instruction (MSG)

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

Strany 252 - • Control Block Address

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

Strany 253

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

Strany 254

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

Strany 255

PrefaceMicroLogix 1000 Programmable Controllers User ManualC–14Notes:

Strany 256

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

Strany 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

Strany 258 - MSG Instruction Error Codes

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

Strany 259

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

Strany 260

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

Strany 261

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

Strany 262

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

Strany 263 - SLC500/ML1000

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

Strany 264 - Preset 400

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

Strany 265

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

Strany 266 - Example 5

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

Strany 267

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

Strany 268

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

Strany 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

Strany 270 - When Operating Normally

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

Strany 271 - Troubleshooting

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

Strany 272

ReferenceUnderstanding the Communication ProtocolsD–15CatalogNumberPublicationFunctionInstallationRequirementDescription1747-PT1Hand-HeldTerminalNAPro

Strany 273

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

Strany 274 - Identifying Controller Faults

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

Strany 275

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

Strany 276

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

Strany 277

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

Strany 278 - • controller LED status

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

Strany 279 - Hardware Reference

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

Strany 280 - Controller Specifications

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

Strany 281 - Reference

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

Strany 282

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

Strany 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

Strany 284 - Analog Output Specifications

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

Strany 285

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

Strany 286 - -L32AAA controllers)

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

Strany 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

Strany 288 - Replacement Parts

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

Strany 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

Strany 290

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

Strany 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

Strany 292

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

Strany 293

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

Strany 294

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

Strany 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

Strany 296

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

Strany 297

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

Strany 298

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

Strany 299

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

Strany 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

Strany 301

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

Strany 302 - NA = Not Applicable

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

Strany 303

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

Strany 304

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

Strany 305

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

Strany 306

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

Strany 307 - ReferenceReference

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

Strany 308

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

Strany 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

Strany 310

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

Strany 311

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

Strany 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

Strany 313

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

Strany 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

Strany 315

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

Strany 316 - Available

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

Strany 317 - Available Addressing Modes

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

Strany 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

Strany 319

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

Strany 320

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

Strany 321

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

Strany 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

Strany 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

Strany 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

Strany 325

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

Strany 326

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

Strany 327

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

Strany 328

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

Strany 329 - Protocols

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

Strany 330

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

Strany 331 - DF1 Full-Duplex Protocol

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

Strany 332

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

Strany 333

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

Strany 334

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

Strany 335 - Modem Modem Modem

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

Strany 336 - Ownership Timeout

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

Strany 337

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

Strany 338

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

Strany 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

Strany 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

Strany 341

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

Strany 342

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

Strany 343

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

Strany 344

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

Strany 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

Strany 346 - • baud rate

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

Strany 347

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

Strany 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

Strany 349

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

Strany 350

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

Strany 351 - Application Example Programs

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

Strany 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

Strany 353

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

Strany 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

Strany 355

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

Strany 356

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

Strany 357

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

Strany 358

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

Strany 359

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

Strany 360

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

Strany 361

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

Strany 362

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

Strany 363

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

Strany 364

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

Strany 365

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

Strany 366

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

Strany 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

Strany 368

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

Strany 369

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

Strany 370

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

Strany 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

Strany 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

Strany 373

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

Strany 374 - Conveyor

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

Strany 375

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

Strany 376

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

Strany 377

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

Strany 378

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

Strany 379

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

Strany 380

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

Strany 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

Strany 382

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

Strany 383

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

Strany 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

Strany 385

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

Strany 386

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

Strany 387

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

Strany 388 - Spray Booth Ladder Program

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

Strany 389

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

Strany 390

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

Strany 391 - Adjustable

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

Strany 392

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

Strany 393 - Calibration

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

Strany 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

Strany 395 - Calibration Procedure

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

Strany 396

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

Strany 397

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

Strany 398

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

Strany 399

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

Strany 400

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

Strany 401

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

Strany 402

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

Strany 403

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

Strany 404

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

Strany 405

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

Strany 406

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

Strany 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

Strany 408

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

Strany 409

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

Strany 410

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

Strany 411

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

Strany 412

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

Strany 413

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

Strany 414

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

Strany 415

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

Strany 416

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

Strany 417

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

Strany 418

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

Strany 419

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

Strany 420

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

Strany 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

Strany 422 - Worldwide

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

Komentáře k této Příručce

Žádné komentáře