Rockwell-automation 1761 MicroLogix 1000 Programmable Controllers Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Ausrüstung Rockwell-automation 1761 MicroLogix 1000 Programmable Controllers herunter. Rockwell Automation 1761 MicroLogix 1000 Programmable Controllers User Manual Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 422
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen

Inhaltsverzeichnis

Seite 1 - Allen-Bradley

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

Seite 2 - Important User Information

PrefaceMicroLogix 1000 Programmable Controllers User Manualsoc–iiNotes:

Seite 3 - Table of Contents

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

Seite 4

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

Seite 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

Seite 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

Seite 7

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

Seite 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

Seite 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

Seite 10

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 18 - • EN 50082-2

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

Seite 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

Seite 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

Seite 21

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

Seite 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

Seite 23

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

Seite 24 - Using Surge Suppressors

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

Seite 25

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

Seite 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

Seite 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

Seite 28 - Power Distribution

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

Seite 29 - Power Considerations

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

Seite 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

Seite 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

Seite 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

Seite 33

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

Seite 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

Seite 35 - Wiring Your Controller

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

Seite 36 - Grounding Guidelines

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

Seite 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

Seite 38 - Wiring Recommendations

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

Seite 39

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

Seite 40

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

Seite 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

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

Seite 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

Seite 44

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

Seite 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

Seite 46

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

Seite 47

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 53 - 85–264 VAC

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

Seite 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

Seite 55 - Grounding

PrefaceMicroLogix 1000 Programmable Controllers User Manual8–16Notes:

Seite 56 - I/10 I/11

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

Seite 57 - Analog Current Output Range

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

Seite 58 - Applications

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 63

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

Seite 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

Seite 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

Seite 66

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

Seite 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

Seite 68 - DH-485 Network Connection

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

Seite 69 - DF1 Isolated Modem Connection

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

Seite 70

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

Seite 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

Seite 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

Seite 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

Seite 74

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 79

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

Seite 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

Seite 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

Seite 82 - Accessed

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

Seite 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

Seite 84 - Power Up

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

Seite 85

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

Seite 86 - Addressing Data Files

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

Seite 87

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

Seite 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

Seite 89

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

Seite 90

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

Seite 91 - Developing

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

Seite 92 - Checklist

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

Seite 93 - Using Analog

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

Seite 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

Seite 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

Seite 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

Seite 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

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

Seite 99 - Using Basic Instructions

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

Seite 100 - About the Basic Instructions

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

Seite 101 - Programming

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

Seite 102 - Examine if Open (XIO)

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

Seite 103 - Output Energize (OTE)

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

Seite 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

Seite 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

Seite 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

Seite 107

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

Seite 108

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

Seite 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

Seite 110 - Timer Off-Delay (TOF)

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

Seite 111

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

Seite 112 - Retentive

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

Seite 113 - Counter Instructions Overview

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

Seite 114 - Addressing Structure

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

Seite 115

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

Seite 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

Seite 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

Seite 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

Seite 119 - Application Example

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

Seite 120

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

Seite 121

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

Seite 122

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

Seite 123 - Using Comparison Instructions

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

Seite 124 - Indexed Word Addresses

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

Seite 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

Seite 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

Seite 127

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

Seite 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

Seite 129

PrefaceMicroLogix 1000 Programmable Controllers User Manual11–26Notes:

Seite 130

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

Seite 131

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

Seite 132

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

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

Seite 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

Seite 135

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

Seite 136 - Add (ADD)

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

Seite 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

Seite 138

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

Seite 139

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

Seite 140 - Multiply (MUL)

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

Seite 141 - Divide (DIV)

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

Seite 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

Seite 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

Seite 144 - Scale Data (SCL)

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

Seite 145

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

Seite 146

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

Seite 147

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

Seite 148

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

Seite 149

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

Seite 150

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

Seite 151 - Convert to BCD (TOD)

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

Seite 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

Seite 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

Seite 154

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

Seite 155

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

Seite 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

Seite 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

Seite 158

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

Seite 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

Seite 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

Seite 161

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

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

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

Seite 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

Seite 164 - Masked Move (MVM)

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

Seite 165

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

Seite 166 - And (AND)

PrefaceMicroLogix 1000 Programmable Controllers User Manual12–34Notes:

Seite 167

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

Seite 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

Seite 169 - Not (NOT)

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

Seite 170 - Negate (NEG)

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

Seite 171

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

Seite 172

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

Seite 173

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

Seite 174 - Operation

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

Seite 175

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

Seite 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

Seite 177

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

Seite 178

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

Seite 179 - Instructions

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

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

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

Seite 181

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

Seite 182 - Return (RET)

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

Seite 183

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

Seite 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

Seite 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

Seite 186 - Suspend (SUS)

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

Seite 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

Seite 188 - Machine Application Example

PrefaceMicroLogix 1000 Programmable Controller User Manual13–20Notes:

Seite 189 - Using Application Specific

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

Seite 190

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

Seite 191

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

Seite 192 - • Bit Address

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

Seite 193 - Bit Shift Left (BSL)

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

Seite 194 - Bit Shift Right (BSR)

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

Seite 195

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

Seite 196

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

Seite 197

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

Seite 198 - Using SQO

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

Seite 199

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

Seite 200

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

Seite 201 - Sequencer Load (SQL)

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

Seite 202

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

Seite 203 - Selectable

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

Seite 204 - At start and end

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

Seite 205

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

Seite 206

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

Seite 207

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

Seite 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

Seite 209

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

Seite 210

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

Seite 211

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

Seite 212

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

Seite 213

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

Seite 214

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

Seite 215 - Using High-Speed Counter

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

Seite 216

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

Seite 217

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

Seite 218

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

Seite 219

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

Seite 220 - High-Speed Counter (HSC)

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

Seite 221

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

Seite 222

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

Seite 223

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

Seite 224

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

Seite 225

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

Seite 226

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

Seite 227

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

Seite 228

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

Seite 229

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

Seite 230

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

Seite 231

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

Seite 232 - High-Speed Counter Load (HSL)

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

Seite 233

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

Seite 234

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

Seite 235

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

Seite 236 - Execution Times

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

Seite 237

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

Seite 238 - Using HSD

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

Seite 239

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

Seite 240 - Example 1

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

Seite 241

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

Seite 242 - Example 3

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

Seite 243

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

Seite 244

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

Seite 245

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

Seite 246

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

Seite 247

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

Seite 248

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

Seite 249 - Using the Message Instruction

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

Seite 250 - Types of Communication

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

Seite 251 - Message Instruction (MSG)

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

Seite 252 - • Control Block Address

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

Seite 253

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

Seite 254

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

Seite 255

PrefaceMicroLogix 1000 Programmable Controllers User ManualC–14Notes:

Seite 256

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

Seite 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

Seite 258 - MSG Instruction Error Codes

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

Seite 259

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

Seite 260

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

Seite 261

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

Seite 262

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

Seite 263 - SLC500/ML1000

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

Seite 264 - Preset 400

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

Seite 265

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

Seite 266 - Example 5

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

Seite 267

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

Seite 268

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

Seite 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

Seite 270 - When Operating Normally

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

Seite 271 - Troubleshooting

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

Seite 272

ReferenceUnderstanding the Communication ProtocolsD–15CatalogNumberPublicationFunctionInstallationRequirementDescription1747-PT1Hand-HeldTerminalNAPro

Seite 273

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

Seite 274 - Identifying Controller Faults

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

Seite 275

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

Seite 276

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

Seite 277

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

Seite 278 - • controller LED status

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

Seite 279 - Hardware Reference

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

Seite 280 - Controller Specifications

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

Seite 281 - Reference

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

Seite 282

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

Seite 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

Seite 284 - Analog Output Specifications

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

Seite 285

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

Seite 286 - -L32AAA controllers)

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

Seite 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

Seite 288 - Replacement Parts

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

Seite 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

Seite 290

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

Seite 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

Seite 292

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

Seite 293

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

Seite 294

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

Seite 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

Seite 296

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

Seite 297

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

Seite 298

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

Seite 299

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

Seite 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

Seite 301

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

Seite 302 - NA = Not Applicable

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

Seite 303

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

Seite 304

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

Seite 305

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

Seite 306

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

Seite 307 - ReferenceReference

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

Seite 308

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

Seite 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

Seite 310

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

Seite 311

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

Seite 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

Seite 313

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

Seite 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

Seite 315

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

Seite 316 - Available

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

Seite 317 - Available Addressing Modes

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

Seite 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

Seite 319

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

Seite 320

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

Seite 321

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

Seite 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

Seite 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

Seite 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

Seite 325

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

Seite 326

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

Seite 327

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

Seite 328

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

Seite 329 - Protocols

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

Seite 330

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

Seite 331 - DF1 Full-Duplex Protocol

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

Seite 332

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

Seite 333

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

Seite 334

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

Seite 335 - Modem Modem Modem

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

Seite 336 - Ownership Timeout

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

Seite 337

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

Seite 338

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

Seite 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

Seite 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

Seite 341

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

Seite 342

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

Seite 343

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

Seite 344

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

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

Seite 346 - • baud rate

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

Seite 347

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

Seite 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

Seite 349

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

Seite 350

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

Seite 351 - Application Example Programs

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

Seite 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

Seite 353

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

Seite 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

Seite 355

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

Seite 356

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

Seite 357

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

Seite 358

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

Seite 359

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

Seite 360

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

Seite 361

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

Seite 362

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

Seite 363

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

Seite 364

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

Seite 365

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

Seite 366

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

Seite 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

Seite 368

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

Seite 369

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

Seite 370

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

Seite 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

Seite 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

Seite 373

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

Seite 374 - Conveyor

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

Seite 375

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

Seite 376

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

Seite 377

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

Seite 378

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

Seite 379

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

Seite 380

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

Seite 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

Seite 382

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

Seite 383

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

Seite 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

Seite 385

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

Seite 386

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

Seite 387

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

Seite 388 - Spray Booth Ladder Program

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

Seite 389

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

Seite 390

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

Seite 391 - Adjustable

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

Seite 392

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

Seite 393 - Calibration

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

Seite 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

Seite 395 - Calibration Procedure

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

Seite 396

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

Seite 397

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

Seite 398

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

Seite 399

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

Seite 400

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

Seite 401

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

Seite 402

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

Seite 403

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

Seite 404

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

Seite 405

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

Seite 406

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

Seite 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

Seite 408

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

Seite 409

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

Seite 410

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

Seite 411

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

Seite 412

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

Seite 413

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

Seite 414

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

Seite 415

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

Seite 416

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

Seite 417

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

Seite 418

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

Seite 419

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

Seite 420

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

Seite 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

Seite 422 - Worldwide

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

Kommentare zu diesen Handbüchern

Keine Kommentare