UserManualMicroLogix 1000ProgrammableControllers(Bulletin 1761 Controllers)Allen-Bradley
PrefaceMicroLogix 1000 Programmable Controllers User Manualsoc–iiNotes:
PrefaceMicroLogix 1000 Programmable Controllers User Manual6–2Timer/Counter InstructionsInstructionPurposePageMnemonic NamePurposePageTON Timer On-Del
Using Basic Instructions6–3Bit Instructions OverviewThese instructions operate on a single bit of data. During operation, the controllermay set or re
PrefaceMicroLogix 1000 Programmable Controllers User Manual6–4Examine if Closed (XIC)Use the XIC instruction in your ladder program to determine if a
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
PrefaceMicroLogix 1000 Programmable Controllers User Manual6–6Using OTLWhen you assign an address to the OTL instruction that corresponds to the addre
Using Basic Instructions6–7One-Shot Rising (OSR)The OSR instruction is a retentive input instruction that triggers an event to occurone time. Use the
PrefaceMicroLogix 1000 Programmable Controllers User Manual6–8Timer Instructions OverviewEach timer address is made of a 3-word element. Word 0 is the
Using Basic Instructions6–9Timer AccuracyTimer accuracy refers to the length of time between the moment a timer instructionis enabled and the moment t
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
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
PrefaceP–1PrefaceRead this preface to familiarize yourself with the rest of the manual. It providesinformation concerning:•who should use this manual
PrefaceMicroLogix 1000 Programmable Controllers User Manual6–12Timer Off-Delay (TOF)Use the TOF instruction to delay turning on or off an output. The
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
PrefaceMicroLogix 1000 Programmable Controllers User Manual6–14Retentive Timer (RTO)Use the RTO instruction to turn an output on or off after its time
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
PrefaceMicroLogix 1000 Programmable Controllers User Manual6–16Entering ParametersAccumulator Value (ACC)This is the number of false-to-true transitio
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
PrefaceMicroLogix 1000 Programmable Controllers User Manual6–18Count Up (CTU)The CTU is an instruction that counts false-to-true rung transitions. Ru
Using Basic Instructions6–19Count Down (CTD)The CTD is a retentive output instruction that counts false-to-true rung transitions.Rung transitions can
PrefaceMicroLogix 1000 Programmable Controllers User Manual6–20Reset (RES)Use a RES instruction to reset a timer or counter. When the RES instruction
Using Basic Instructions6–21Basic Instructions in the Paper Drilling MachineApplication ExampleThis section provides ladder rungs to demonstrate the u
PrefaceMicroLogix 1000 Programmable Controllers User ManualP–2Who Should Use this ManualUse this manual if you are responsible for designing, installi
PrefaceMicroLogix 1000 Programmable Controllers User Manual6–22Rung 2:3➀Starts the conveyor in motion when the start button is pressed.However, anothe
Using Basic Instructions6–23Adding File 6This subroutine controls the up and down motion of the drill for the paper drillingmachine.Drill HomeI/5Drill
PrefaceMicroLogix 1000 Programmable Controllers User Manual6–24Rung 6:2When the drill is retracting (after drilling a hole), the body of thedrill actu
Using Comparison Instructions7–17Using Comparison InstructionsThis chapter contains general information about comparison instructions andexplains how
PrefaceMicroLogix 1000 Programmable Controllers User Manual7–2About the Comparison InstructionsComparison instructions are used to test pairs of value
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
PrefaceMicroLogix 1000 Programmable Controllers User Manual7–4Less Than or Equal (LEQ)Use the LEQ instruction to test whether one value (source A) is
Using Comparison Instructions7–5Masked Comparison for Equal (MEQ)Use the MEQ instruction to compare data of a source address with data of areference a
PrefaceMicroLogix 1000 Programmable Controllers User Manual7–6Limit Test (LIM)Use the LIM instruction to test for values within or outside a specified
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
PrefaceP–3Contents of this ManualTab Chapter Title ContentsPrefaceDescribes the purpose, background, and scopeof this manual. Also specifies the audi
PrefaceMicroLogix 1000 Programmable Controllers User Manual7–8Comparison Instructions in the Paper Drilling MachineApplication ExampleThis section pro
Using Comparison Instructions7–9Beginning a Subroutine in File 7This section of ladder keeps track of the total inches of paper the current drill bit
PrefaceMicroLogix 1000 Programmable Controllers User Manual7–10| | 1/4 in. 102,000 | || | Thousa
Using Math Instructions8–18Using Math InstructionsThis chapter contains general information about math instructions and explains howthey function in y
PrefaceMicroLogix 1000 Programmable Controllers User Manual8–2About the Math InstructionsThese instructions perform the familiar four function math op
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
PrefaceMicroLogix 1000 Programmable Controllers User Manual8–4Add (ADD)Use the ADD instruction to add one value (source A) to another value (source B)
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
PrefaceMicroLogix 1000 Programmable Controllers User Manual8–632-Bit Addition and SubtractionYou have the option of performing 16-bit or 32-bit signed
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
PrefaceMicroLogix 1000 Programmable Controllers User ManualP–4Tab ContentsTitleChapterAppendix A Hardware ReferenceProvides physical, electrical, envi
PrefaceMicroLogix 1000 Programmable Controllers User Manual8–8Multiply (MUL)Use the MUL instruction to multiply one value (source A) by another (sourc
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
PrefaceMicroLogix 1000 Programmable Controllers User Manual8–10Double Divide (DDV)The 32-bit content of the math register is divided by the 16-bit sou
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
PrefaceMicroLogix 1000 Programmable Controllers User Manual8–12Scale Data (SCL)When this instruction is true, the value at the source address is multi
Using Math Instructions8–13The following example takes a 0V to 10V analog input from a MicroLogix 1000analog controller and scales the raw input data
PrefaceMicroLogix 1000 Programmable Controllers User Manual8–14Math Instructions in the Paper Drilling MachineApplication ExampleThis section provides
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
PrefaceMicroLogix 1000 Programmable Controllers User Manual8–16Notes:
Using Data Handling Instructions9–19Using Data Handling InstructionsThis chapter contains general information about the data handling instructions and
PrefaceP–5Related DocumentationThe following documents contain additional information concerning Allen-Bradleyproducts. To obtain a copy, contact you
PrefaceMicroLogix 1000 Programmable Controllers User Manual9–2InstructionPurposePageMnemonic NamePurposePageMOV Move Moves the source value to the des
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
PrefaceMicroLogix 1000 Programmable Controllers User Manual9–4ExampleThe integer value 9760 stored at N7:3 is converted to BCD and the BCD equivalenti
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
PrefaceMicroLogix 1000 Programmable Controllers User Manual9–6Note To convert numbers larger than 9999 BCD, the source must be the Math Register(S:13
Using Data Handling Instructions9–7Clearing S:14 before executing the FRD instruction is shown below:CLRCLEARDest S:140FRDFROM BCDSource S:1300001234D
PrefaceMicroLogix 1000 Programmable Controllers User Manual9–8Decode 4 to 1 of 16 (DCD)When executed, this instruction sets one bit of the destination
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
PrefaceMicroLogix 1000 Programmable Controllers User Manual9–10Updates to Arithmetic Status BitsThe arithmetic status bits are found in Word 0, bits 0
Using Data Handling Instructions9–11Using COPThis instruction copies blocks of data from one location into another. It uses nostatus bits. If you ne
PrefaceMicroLogix 1000 Programmable Controllers User ManualP–6Common Techniques Used in this ManualThe following conventions are used throughout this
PrefaceMicroLogix 1000 Programmable Controllers User Manual9–12Using FLLThe following figure shows how file instruction data is manipulated. Theinstr
Using Data Handling Instructions9–13Move and Logical Instructions OverviewThe following general information applies to move and logical instructions.E
PrefaceMicroLogix 1000 Programmable Controllers User Manual9–14Overflow Trap Bit, S:5/0Minor error bit (S:5/0) is set upon detection of a mathematical
Using Data Handling Instructions9–15Move (MOV)This output instruction moves the source data to the destination location. As long asthe rung remains t
PrefaceMicroLogix 1000 Programmable Controllers User Manual9–16Masked Move (MVM)The MVM instruction is a word instruction that moves data from a sourc
Using Data Handling Instructions9–17OperationWhen the rung containing this instruction is true, data at the source address passesthrough the mask to t
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
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
PrefaceMicroLogix 1000 Programmable Controllers User Manual9–20Exclusive Or (XOR)The value at source A is Exclusive ORed bit by bit with the value at
Using Data Handling Instructions9–21Not (NOT)The source value is NOTed bit by bit and then stored in the destination (one’scomplement).Truth TableDest
HardwareInstalling Your Controller1–11Installing Your ControllerThis chapter shows you how to install your controller system. The only tools yourequi
PrefaceMicroLogix 1000 Programmable Controllers User Manual9–22Negate (NEG)Use the NEG instruction to change the sign of a value. If you negate a neg
Using Data Handling Instructions9–23FIFO and LIFO Instructions OverviewFIFO instructions load words into a file and unload them in the same order as t
PrefaceMicroLogix 1000 Programmable Controllers User Manual9–24• Control is the address of the control structure. The control structure stores thesta
Using Data Handling Instructions9–25FIFO Load (FFL) and FIFO Unload (FFU)FFL and FFU instructions are used in pairs. The FFL instruction loads words
PrefaceMicroLogix 1000 Programmable Controllers User Manual9–26FFU InstructionWhen rung conditions change from false-to-true, the controller sets the
Using Data Handling Instructions9–27LFL InstructionWhen rung conditions change from false-to-true, the controller sets the LFL enablebit (EN). This l
PrefaceMicroLogix 1000 Programmable Controllers User Manual9–28Data Handling Instructions in the Paper Drilling MachineApplication ExampleThis section
Using Data Handling Instructions9–29Rung 7:3Converts the BCD thumbwheel value from BCD to integer. This is donebecause the controller operates upon i
PrefaceMicroLogix 1000 Programmable Controllers User Manual9–30Rung 7:4Ensures that the operator cannot select a paper thickness of 0. Ifthis were all
Using Program Flow Control Instructions10–110Using Program Flow ControlInstructionsThis chapter contains general information about the program flow in
PrefaceMicroLogix 1000 Programmable Controllers User Manual1–2Compliance to European Union DirectivesIf this product has the CE mark it is approved fo
PrefaceMicroLogix 1000 Programmable Controllers User Manual10–2About the Program Flow Control InstructionsUse these instructions to control the sequen
Using Program Flow Control Instructions10–3Using LBLThis input instruction is the target of JMP instructions having the same labelnumber. You must pr
PrefaceMicroLogix 1000 Programmable Controllers User Manual10–4Jump to Subroutine (JSR), Subroutine (SBR), andReturn (RET)The JSR, SBR, and RET instru
Using Program Flow Control Instructions10–5Nesting Subroutine FilesNesting subroutines allows you to direct program flow from the main program to asub
PrefaceMicroLogix 1000 Programmable Controllers User Manual10–6Using SBRThe target subroutine is identified by the file number that you entered in the
Using Program Flow Control Instructions10–7Master Control Reset (MCR)Use MCR instructions in pairs to create program zones that turn off all thenon-re
PrefaceMicroLogix 1000 Programmable Controllers User Manual10–8Temporary End (TND)This instruction, when its rung is true, stops the controller from s
Using Program Flow Control Instructions10–9Immediate Input with Mask (IIM)This instruction allows you to update data prior to the normal input scan.
PrefaceMicroLogix 1000 Programmable Controllers User Manual10–10Program Flow Control Instructions in the Paper DrillingMachine Application ExampleThis
Using Application Specific Instructions11–111Using Application SpecificInstructionsThis chapter contains general information about the application spe
HardwareInstalling Your Controller1–3Hardware OverviewThe MicroLogix 1000 programmable controller is a packaged controller containinga power supply, i
PrefaceMicroLogix 1000 Programmable Controllers User Manual11–2InstructionPurposePageMnemonic NamePurposePageSTS Selectable TimerInterrupt StartInitia
Using Application Specific Instructions11–3Bit Shift Instructions OverviewThe following general information applies to bit shift instructions.Entering
PrefaceMicroLogix 1000 Programmable Controllers User Manual11–4• Bit Address is the address of the source bit. The status of this bit is inserted ine
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
PrefaceMicroLogix 1000 Programmable Controllers User Manual11–6Bit Shift Right (BSR)When the rung goes from false-to-true, the controller sets the ena
Using Application Specific Instructions11–7Sequencer Instructions OverviewThe following general information applies to sequencer instructions.Effects
PrefaceMicroLogix 1000 Programmable Controllers User Manual11–8Entering ParametersEnter the following parameters when programming these instructions:•
Using Application Specific Instructions11–9Status bits of the control structure include:– Found Bit FD (bit 08) – SQC only. When the status of all n
PrefaceMicroLogix 1000 Programmable Controllers User Manual11–10Using SQOThis output instruction steps through the sequencer file whose bits have been
Using Application Specific Instructions11–11The following figure indicates how the SQO instruction works.SQOSEQUENCER OUTPUTFile #B3:1Mask 0F0FDest O:
Important User InformationBecause of the variety of uses for the products described in this publication, thoseresponsible for the application and use
PrefaceMicroLogix 1000 Programmable Controllers User Manual1–4Master Control RelayA hard-wired master control relay (MCR) provides a reliable means fo
PrefaceMicroLogix 1000 Programmable Controllers User Manual11–12Applications of the SQC instruction include machine diagnostics. The followingfigure
Using Application Specific Instructions11–13Sequencer Load (SQL)The SQL instruction stores 16-bit data into a sequencer load file at each step ofseque
PrefaceMicroLogix 1000 Programmable Controllers User Manual11–14Status bits of the control structure include:– Error Bit ER (bit 11) is set when the
Using Application Specific Instructions11–15The instruction loads data into a new file element at each false-to-true transition ofthe rung. When step
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
Using Application Specific Instructions11–17Note that STI execution time adds directly to the overall scan time. During thelatency period, the contro
PrefaceMicroLogix 1000 Programmable Controllers User Manual11–18Selectable Timed Disable (STD) and Enable (STE)These instructions are generally used i
Using Application Specific Instructions11–19] [S:115( )STI interruptexecution willnot occurbetween STDand STE.END0STDSELECTABLE TIMED DISABLESTESELECT
PrefaceMicroLogix 1000 Programmable Controllers User Manual11–20Selectable Timed Start (STS)Use the STS instruction to condition the start of the STI
Using Application Specific Instructions11–21Application Specific Instructions in the Paper DrillingMachine Application ExampleThis section provides la
Installing Your Controller1–5Using Emergency-Stop SwitchesWhen using emergency-stop switches, adhere to the following points:• Do not program emergenc
PrefaceMicroLogix 1000 Programmable Controllers User Manual11–22Rung 4:0Resets the hole count sequencers each time that the low preset isreached. The
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
PrefaceMicroLogix 1000 Programmable Controllers User Manual11–24Rung 4:2Is identical to the previous rung except that it is only active whenthe ”hole
Using Application Specific Instructions11–25Rung 4:3➀➁Is identical to the 2 previous rungs except that it is only activewhen the ”hole selector switch
PrefaceMicroLogix 1000 Programmable Controllers User Manual11–26Notes:
Using High-Speed Counter Instructions12–112Using High-Speed CounterInstructionsThis chapter contains general information about the high-speed counter
PrefaceMicroLogix 1000 Programmable Controllers User Manual12–2About the High-Speed Counter InstructionsThe high-speed counter instructions used in yo
Using High-Speed Counter Instructions12–3High-Speed Counter Instructions OverviewUse the high-speed counter to detect and store narrow (fast) pulses,
PrefaceMicroLogix 1000 Programmable Controllers User Manual12–4• Counter Up Enable Bit CU (bit 15) is used with all of the high-speed countertypes.
Using High-Speed Counter Instructions12–5• Accumulator ≤ Low Preset Bit LP (bit 8) is a reserved bit for all UpCounters. For the Bidirectional Coun
PrefaceMicroLogix 1000 Programmable Controllers User Manual1–6The following illustrations show the Master Control Relay wired in a groundedsystem.Note
PrefaceMicroLogix 1000 Programmable Controllers User Manual12–6High-Speed Counter (HSC)Use this instruction to configure the high-speed counter. Only
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
PrefaceMicroLogix 1000 Programmable Controllers User Manual12–8Using the Up Counter and the Up Counter with Reset and HoldUp counters are used when th
Using High-Speed Counter Instructions12–9When a high preset is reached, no counts are lost.• Hardware and instruction accumulators are reset.• Instruc
PrefaceMicroLogix 1000 Programmable Controllers User Manual12–10Up Counter with Reset and HoldInput stateH g -SpeedInput Count(I/O)InputDirection(I/1)
Using High-Speed Counter Instructions12–11OperationWhen the HSC instruction is first executed true, the:• Instruction accumulator is loaded to the har
PrefaceMicroLogix 1000 Programmable Controllers User Manual12–12When the low preset is reached, the:• LP bit is set.• High-speed counter interrupt fil
Using High-Speed Counter Instructions12–13Bidirectional Counter with Reset and Hold (Pulse/direction)Input StateH g -SpeedInput Count(I/0)InputDirecti
PrefaceMicroLogix 1000 Programmable Controllers User Manual12–14Bidirectional Counter with Reset and Hold (Up/down count)Input StateH g -SpeedInput Up
Using High-Speed Counter Instructions12–15Input 0ABZ(Reset input)Quadrature Encoder1 2 3 2 1Forward Rotation Reverse RotationABCountInput 1Input 2Oper
HardwareInstalling Your Controller1–7Schematic (Using ANSI/CSA Symbols)115V ac230V acDisconnectL1 L2IsolationTransformerFuseOperation of either of the
PrefaceMicroLogix 1000 Programmable Controllers User Manual12–16When a high preset is reached, the:•HP bit is set.• High-speed counter interrupt file
Using High-Speed Counter Instructions12–17An underflow occurs when the hardware accumulator transitions from –32,768 to+32,767. When an underflow occ
PrefaceMicroLogix 1000 Programmable Controllers User Manual12–18High-Speed Counter Load (HSL)This instruction allows you to set the low and high prese
Using High-Speed Counter Instructions12–19ParameterImageLocationUp CounterOnlyBidirectionalCountersDescriptionN7:5 Output Mask Output MaskIdentifies w
PrefaceMicroLogix 1000 Programmable Controllers User Manual12–20The high-speed counter hardware is updated immediately when the HSL instructionis exec
Using High-Speed Counter Instructions12–21High-Speed Counter Reset (RES)The RES instruction allows you to write a zero to the hardware accumulator and
PrefaceMicroLogix 1000 Programmable Controllers User Manual12–22High-Speed Counter Reset Accumulator (RAC)This instruction allows you to write a speci
Using High-Speed Counter Instructions12–23High-Speed Counter Interrupt Enable (HSE) and Disable (HSD)These instructions enable or disable a high-speed
PrefaceMicroLogix 1000 Programmable Controllers User Manual12–24If the high-speed counter interrupt routine is executing and another high-speedcounter
Using High-Speed Counter Instructions12–25What Happens to the HSC When Going to REM RunModeOnce initialized, the HSC instruction retains its previous
PrefaceMicroLogix 1000 Programmable Controllers User Manual1–8Using Surge SuppressorsInductive load devices such as motor starters and solenoids requi
PrefaceMicroLogix 1000 Programmable Controllers User Manual12–26Example 1To enter the REM Run mode and have the HSC Outputs, ACC, and InterruptSubrout
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
PrefaceMicroLogix 1000 Programmable Controllers User Manual12–28Example 3To enter the REM Run mode and have the HSC ACC and Interrupt Subroutineresume
Using High-Speed Counter Instructions12–29High-Speed Counter Instructions in the Paper DrillingMachine Application ExampleThe ladder rungs in this sec
PrefaceMicroLogix 1000 Programmable Controllers User Manual12–30| | High Output Pattern | ||
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
PrefaceMicroLogix 1000 Programmable Controllers User Manual12–32The high-speed counter is used to control the conveyer position. The high-speedcounte
Using High-Speed Counter Instructions12–33Rung 4:5Interrupt occurred due to low preset reached.| C5:0 +RET––
PrefaceMicroLogix 1000 Programmable Controllers User Manual12–34Notes:
Using the Message Instruction13–113Using the Message InstructionThis chapter contains information about communications and the message (MSG)instructio
HardwareInstalling Your Controller1–9Suitable surge suppression methods for inductive ac load devices include a varistor,an RC network, or an Allen-Br
PrefaceMicroLogix 1000 Programmable Controller User Manual13–2Types of CommunicationCommunication is the ability of a device to send data or status to
(EN)(DN)(ER)MSGREAD/WRITE MESSAGERead/writeTarget DeviceControl BlockControl Block Length 7Using the Message Instruction13–3Message Instruction (MSG)T
PrefaceMicroLogix 1000 Programmable Controller User Manual13–4• Control Block Address – an integer file address that you select. It consists of 7inte
Using the Message Instruction13–5Control Block LayoutThe control block layouts shown below illustrate SLC500/ML1000 type messages.EN ST DN ER EW NR
PrefaceMicroLogix 1000 Programmable Controller User Manual13–6Using Status Bits Read/Write: READ ignore if timed out: 0 TO Target Device: SLC500/ML
Using the Message Instruction13–7• Start Bit ST (bit 14) is set when the processor receives acknowledgementfrom the target device. This identifies
PrefaceMicroLogix 1000 Programmable Controller User Manual13–8Timing Diagram for a Successful MSG InstructionThe following section illustrates a succe
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
PrefaceMicroLogix 1000 Programmable Controller User Manual13–10 Following the successful receipt of the packet, the Target Node sends a replypacket.
Using the Message Instruction13–11ErrorCodeDescription of Error Condition02H Target node is busy.03H Target node cannot respond because message is too
PrefaceMicroLogix 1000 Programmable Controllers User Manual1–10Recommended Surge SuppressorsWe recommend the Allen-Bradley surge suppressors shown in
PrefaceMicroLogix 1000 Programmable Controller User Manual13–12Application Examples that Use the MSG InstructionExample 1Application example 1 shows h
ProgrammingUsing the Message Instruction13–13Example 2Application example 2 involves a MicroLogix 1000 controller transmitting its firstinput word to
PrefaceMicroLogix 1000 Programmable Controller User Manual13–14Example 3Application example 3 involves a MicroLogix 1000 controller and an SLC 5/01pro
Using the Message Instruction13–15(U) B30(EN)(DN)(ER)MSGREAD/WRITE MESSAGERead/write WRITETarget Device SLC500/ML1000Control Block N7:10Control Block
PrefaceMicroLogix 1000 Programmable Controller User Manual13–16Program File 2 of SLC 5/01 Processor at Node 3Operation Notes, MicroLogix 1000 and SLC
ProgrammingUsing the Message Instruction13–17Example 4Application example 4 shows you how to use the timeout bit to disable an activemessage instructi
PrefaceMicroLogix 1000 Programmable Controller User Manual13–18Example 5Application example 5 shows you how to link message instructions together totr
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
PrefaceMicroLogix 1000 Programmable Controller User Manual13–20Notes:
Troubleshooting Your System14–114Troubleshooting Your SystemThis chapter describes how to troubleshoot your controller. Topics include:• understandin
HardwareInstalling Your Controller1–11Safety ConsiderationsSafety considerations are an important element of proper system installation.Actively think
PrefaceMicroLogix 1000 Programmable Controllers User Manual14–2Understanding the Controller LED StatusBetween the time you apply power to the controll
Troubleshooting Your System14–3When an Error ExistsIf an error exists within the controller, the controller LEDs operate as described inthe following
PrefaceMicroLogix 1000 Programmable Controllers User Manual14–4TheFollowingError ExistsProbable Cause Recommended ActionApplicationfaultHardware/Softw
Troubleshooting Your System14–5Controller Error Recovery ModelUse the following error recovery model to help you diagnose software and hardwareproblem
PrefaceMicroLogix 1000 Programmable Controllers User Manual14–6Identifying Controller FaultsWhile a program is executing, a fault may occur within the
Troubleshooting Your System14–7Fault MessagesThis section contains fault messages that can occur during operation of theMicroLogix 1000 programmable c
PrefaceMicroLogix 1000 Programmable Controllers User Manual14–8Error Code(Hex)Recommended ActionDescriptionAdvisoryMessage0009 FATAL INTERNALHARDWAREE
Troubleshooting Your System14–9Error Code(Hex)Recommended ActionDescriptionAdvisoryMessage002B TOO MANY JSRsIN HSCThere are more than 3 subroutines ne
PrefaceMicroLogix 1000 Programmable Controllers User Manual14–10Error Code(Hex)Recommended ActionDescriptionAdvisoryMessage0040 OUTPUT VERIFYWRITE FAI
ReferenceHardware ReferenceA–1AHardware ReferenceThis appendix lists the controller:• specifications• dimensions• replacement partsFor AIC+ specificat
PrefaceMicroLogix 1000 Programmable Controllers User Manual1–12Power DistributionThere are some points about power distribution that you should know:•
PrefaceMicroLogix 1000 Programmable Controllers User ManualA–2Controller SpecificationsController TypesCatalog Number Description1761-L16AWA 10 pt. ac
Hardware ReferenceA–3General SpecificationsDescription:Specification: 1761-Lescr p on:16AWA 20AWA-5A 32AWA 10BWA 16BWA 20BWA-5A 32BWA 32AAA 16BBB 10B
PrefaceMicroLogix 1000 Programmable Controllers User ManualA–4Input Specificationsescr p onSpecificationDescription100-120V ac Controllers 24V dc Cont
Hardware ReferenceA–5General Output SpecificationsType Relay MOSFET TriacVoltage See Wiring Diagrams, p. 2–7.MaximumLoadCurrentRefer to the RelayConta
PrefaceMicroLogix 1000 Programmable Controllers User ManualA–6Analog Input SpecificationsDescription SpecificationVoltage Input Range–10.5 to +10.5V d
Hardware ReferenceA–7Input Filter Response Times (Discrete)The input filter response time is the time from when the external input voltagereaches an o
PrefaceMicroLogix 1000 Programmable Controllers User ManualA–8Response Times for dc Inputs 4 and Above (applies to 1761-L10BWA, 1761-L16BWA,-L20BWA-5A
Hardware ReferenceA–9Controller DimensionsRefer to the following table for the controller dimensions.Controller: 1761- Length: mm (in.)Depth: mm (in.
PrefaceMicroLogix 1000 Programmable Controllers User ManualA–10Replacement PartsDescription Catalog Number10 pt. ac input, 6 pt. relay output, ac powe
Programming ReferenceB–1BProgramming ReferenceThis appendix lists the:• controller status file• instruction execution times and instruction memory usa
Installing Your Controller1–13Power ConsiderationsThe following explains power considerations for the micro controllers.Isolation TransformersYou may
PrefaceMicroLogix 1000 Programmable Controllers User ManualB–2The status file S: contains the following words:Word Function PageS:0 Arithmetic Flags
Programming ReferenceB–3Status File DescriptionsThe following tables describe the status file functions, beginning at address S:0 andending at address
PrefaceMicroLogix 1000 Programmable Controllers User ManualB–4Address DescriptionClassificationBitS:0/2 Zero Status This bit is set by the controller
Programming ReferenceB–5Address Bit Classification DescriptionS:1/0 toS:1/4ControllerMode Status/CStatus Bits 0–4 function as follows:0 0000 = (0)Remo
PrefaceMicroLogix 1000 Programmable Controllers User ManualB–6Address Bit Classification DescriptionS:1/9 StartupProtectionFaultStaticConfigurationWhe
Programming ReferenceB–7Address Bit Classification DescriptionS:1/13 Major ErrorHaltedDynamicConfigurationThis bit is set by the controller any time a
PrefaceMicroLogix 1000 Programmable Controllers User ManualB–8Address Bit Classification DescriptionS:1/14 OEM Lock StaticConfigurationUsing this bit
Programming ReferenceB–9Address DescriptionClassificationBitS:2/5➀IncomingCommandPending BitStatus This bit is set when the processor determinesthat a
PrefaceMicroLogix 1000 Programmable Controllers User ManualB–10Address Bit Classification DescriptionS:2/14 Math OverflowSelectionDynamicConfiguration
Programming ReferenceB–11Address DescriptionClassificationBitS:3L Current ScanTimeStatusThe value of this byte tells you how much timeelapses in a pro
Table of Contents toc–iTable of ContentsPreface P–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
HardwarePrefaceMicroLogix 1000 Programmable Controllers User Manual1–14Loss of Power SourceThe power supply is designed to withstand brief power losse
PrefaceMicroLogix 1000 Programmable Controllers User ManualB–12S:4 Timebase StatusAll 16 bits of this word are assessed by thecontroller. The value o
Programming ReferenceB–13S:5/1 Reserved NA NAS:5/2 ControlRegister ErrorDynamicConfigurationThe LFU, LFL, FFU, FFL, BSL, BSR, SQO,SQC, and SQL instruc
PrefaceMicroLogix 1000 Programmable Controllers User ManualB–14S:6 Major ErrorCodeStatusA hexadecimal code is entered in this word bythe controller wh
Programming ReferenceB–15Fault ClassificationUserAddressErrorCode(Hex)Powerup Errors Non-UserNon-RecoverableRecoverableS:6 0001The default program was
PrefaceMicroLogix 1000 Programmable Controllers User ManualB–16Fault ClassificationUserAddressErrorCode(Hex)Run Errors Non-UserNon-RecoverableRecovera
Programming ReferenceB–17Fault ClassificationUserAddressErrorCode(Hex)Run Errors Non-UserNon-RecoverableRecoverableS:60040An output verify writeoccurr
PrefaceMicroLogix 1000 Programmable Controllers User ManualB–18Address Bit Classification DescriptionS:7 SuspendCodeStatusWhen a non-zero value appear
ReferenceReferenceProgramming ReferenceB–19Address DescriptionClassificationBitS:15H DF1 BaudRateStatus This byte value contains a code used to select
PrefaceMicroLogix 1000 Programmable Controllers User ManualB–20Address DescriptionClassificationBitS:23 Reserved NA NAS:24 IndexRegisterStatusThis wor
ReferenceProgramming ReferenceB–21Instruction Execution Times and Memory UsageThe table below lists the execution times and memory usage for the contr
Installing Your Controller1–15Preventing Excessive HeatFor most applications, normal convective cooling keeps the controller within thespecified opera
PrefaceMicroLogix 1000 Programmable Controllers User ManualB–22Mnemonic Instruction TypeNameMemory Usage(user words)True ExecutionTime (approx.µsecond
ReferenceProgramming ReferenceB–23MnemonicFalse ExecutionTime (approx.µseconds)True ExecutionTime (approx.µseconds)Memory Usage(user words)Name Instru
PrefaceMicroLogix 1000 Programmable Controllers User ManualB–24MnemonicFalse ExecutionTime (approx.µseconds)True ExecutionTime (approx.µseconds)Memory
ReferenceProgramming ReferenceB–25Estimating Memory Usage for Your Control SystemUse the following to calculate memory usage for your control system.T
PrefaceMicroLogix 1000 Programmable Controllers User ManualB–26Execution Time WorksheetUse this worksheet to calculate your execution time for ladder
Valid Addressing Modes and File Types for Instruction ParametersC–1CValid Addressing Modes and FileTypes for Instruction ParametersThis appendix lists
PrefaceMicroLogix 1000 Programmable Controllers User ManualC–2Available File TypesThe following file types are available:• O Output• I Input• S Status
Valid Addressing Modes and File Types for Instruction ParametersC–3Available Addressing ModesThe following addressing modes are available:• immediate•
PrefaceMicroLogix 1000 Programmable Controllers User ManualC–4Instruction Description InstructionParametersValid AddressingMode(s)Valid File Types Val
Valid Addressing Modes and File Types for Instruction ParametersC–5Instruction Valid ValueRangesValid File TypesValid AddressingMode(s)InstructionPara
PrefaceMicroLogix 1000 Programmable Controllers User Manual1–16Controller SpacingThe following figure shows the recommended minimum spacing for the co
PrefaceMicroLogix 1000 Programmable Controllers User ManualC–6Instruction Valid ValueRangesValid File TypesValid AddressingMode(s)InstructionParameter
Valid Addressing Modes and File Types for Instruction ParametersC–7Instruction Description InstructionParameterValid AddressingMode(s)Valid File Types
PrefaceMicroLogix 1000 Programmable Controllers User ManualC–8Instruction Valid ValueRangesValid File TypesValid AddressingMode(s)InstructionParameter
Valid Addressing Modes and File Types for Instruction ParametersC–9Instruction Description InstructionParameterValid AddressingMode(s)Valid File Types
PrefaceMicroLogix 1000 Programmable Controllers User ManualC–10Instruction Valid ValueRangesValid File TypesValid AddressingMode(s)InstructionParamete
Valid Addressing Modes and File Types for Instruction ParametersC–11Instruction Valid ValueRangesValid File TypesValid AddressingMode(s)InstructionPar
PrefaceMicroLogix 1000 Programmable Controllers User ManualC–12Instruction Description InstructionParameterValid AddressingMode(s)Valid File Types Val
Valid Addressing Modes and File Types for Instruction ParametersC–13Instruction Description InstructionParameterValid AddressingMode(s)Valid File Type
PrefaceMicroLogix 1000 Programmable Controllers User ManualC–14Notes:
ReferenceUnderstanding the Communication ProtocolsD–1DUnderstanding the CommunicationProtocolsUse the information in this appendix to understand the d
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
PrefaceMicroLogix 1000 Programmable Controllers User ManualD–2RS-232 Communication InterfaceRS-232 is an Electronics Industries Association (EIA) stan
Understanding the Communication ProtocolsD–3DF1 Full-Duplex ProtocolDF1 Full-Duplex communication protocol combines data transparency (ANSI —American
ReferencePrefaceMicroLogix 1000 Programmable Controllers User ManualD–4Example DF1 Full-Duplex ConnectionsFor information about required network conne
Understanding the Communication ProtocolsD–5DF1 Half-Duplex Slave ProtocolDF1 half-duplex slave protocol provides a multi-drop single master/multiple
PrefaceMicroLogix 1000 Programmable Controllers User ManualD–6DF1 Half-Duplex Slave Configuration ParametersWhen the system mode driver is DF1 half-du
Understanding the Communication ProtocolsD–7ModemModem Modem ModemModemModemRS-232(DF1 Protocol)MicroLogix 1000ProgrammableController (Series D)SLC 5/
PrefaceMicroLogix 1000 Programmable Controllers User ManualD–8Ownership TimeoutWhen a program download sequence is started by a software package to do
Understanding the Communication ProtocolsD–9Using Modems with MicroLogix 1000 Programmable ControllersThe types of modems that you can use with MicroL
PrefaceMicroLogix 1000 Programmable Controllers User ManualD–10Radio ModemsRadio modems may be implemented in a point-to-point topology supporting eit
Understanding the Communication ProtocolsD–11DH-485 Communication ProtocolThe information in this section describes the DH-485 network functions, netw
PrefaceMicroLogix 1000 Programmable Controllers User Manual1–18Using Mounting ScrewsTo install your controller using mounting screws:2.Secure the temp
PrefaceMicroLogix 1000 Programmable Controllers User ManualD–12DH-485 Token RotationA node holding the token can send any valid packet onto the networ
ReferenceUnderstanding the Communication ProtocolsD–13DH-485 Network InitializationNetwork initialization begins when a period of inactivity exceeding
PrefaceMicroLogix 1000 Programmable Controllers User ManualD–14CatalogNumberDescriptionInstallationRequirementFunction Publication1747-L511,-L514,-L52
ReferenceUnderstanding the Communication ProtocolsD–15CatalogNumberPublicationFunctionInstallationRequirementDescription1747-PT1Hand-HeldTerminalNAPro
PrefaceMicroLogix 1000 Programmable Controllers User ManualD–16Important DH-485 Network Planning ConsiderationsCarefully plan your network configurati
ReferenceUnderstanding the Communication ProtocolsD–17Planning Cable RoutesFollow these guidelines to help protect the communication cable from electr
PrefaceMicroLogix 1000 Programmable Controllers User ManualD–18Software ConsiderationsSoftware considerations include the configuration of the network
ReferenceUnderstanding the Communication ProtocolsD–19Example DH-485 ConnectionsThe following network diagrams provide examples of how to connect Seri
PrefaceMicroLogix 1000 Programmable Controllers User ManualD–20Typical 3-Node Network3-Node Network(not expandable)1761-CBL-AS09or1761-CBL-AS031747-CP
ReferenceUnderstanding the Communication ProtocolsD–21Networked Operator Interface Device and MicroLogix Controller1761-CBL-AM00or1761-CBL-HM021747-CP
HardwareWiring Your Controller2–12Wiring Your ControllerThis chapter describes how to wire your controller. Topics include:• grounding guidelines•sin
PrefaceMicroLogix 1000 Programmable Controllers User ManualD–22MicroLogix Remote Packet Support Series D MicroLogix controllers and all MicroLogix ana
Application Example ProgramsE–1EApplication Example ProgramsThis appendix is designed to illustrate various instructions described previously inthis m
PrefaceMicroLogix 1000 Programmable Controllers User ManualE–2Paper Drilling Machine Application ExampleFor a detailed explanation of:• XIC, XIO, OTE,
Application Example ProgramsE–3This machine can drill 3 different hole patterns into bound manuals. The programtracks drill wear and signals the oper
PrefaceMicroLogix 1000 Programmable Controllers User ManualE–4Drill Mechanism OperationWhen the operator presses the start button, the drill motor tur
Application Example ProgramsE–5Paper Drilling Machine Ladder ProgramRung 2:0Initializes the high-speed counter each time the REM Run mode isentered.
PrefaceMicroLogix 1000 Programmable Controllers User ManualE–6| | Low preset value | ||
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
PrefaceMicroLogix 1000 Programmable Controllers User ManualE–8Rung 2:5Calls the drill sequence subroutine. This subroutine manages theoperation of a
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
PrefaceMicroLogix 1000 Programmable Controllers User Manual2–2Grounding GuidelinesIn solid-state control systems, grounding helps limit the effects of
PrefaceMicroLogix 1000 Programmable Controllers User ManualE–10Rung 4:3➀Is identical to the 2 previous rungs except that it is only active whenthe ”ho
Application Example ProgramsE–11Rung 4:6Signals the main program (file 2) to initiate a drilling sequence. Thehigh-speed counter has already stopped
PrefaceMicroLogix 1000 Programmable Controllers User ManualE–12Rung 6:2When the drill is retracting (after drilling a hole), the body of thedrill actu
Application Example ProgramsE–13| | 1/4 in. 102,000 | || | Thousands
PrefaceMicroLogix 1000 Programmable Controllers User ManualE–14Rung 7:1Resets the number of 1/4 in. increments and the 1/4 in. thousands whenthe ”dril
Application Example ProgramsE–15Rung 7:3Converts the BCD thumbwheel value from BCD to integer. This is donebecause the controller operates upon integ
PrefaceMicroLogix 1000 Programmable Controllers User ManualE–16Rung 7:5Keeps a running total of how many inches of paper have been drilledwith the cur
Application Example ProgramsE–17| | 1/4 in. | || |
PrefaceMicroLogix 1000 Programmable Controllers User ManualE–18Time Driven Sequencer Ladder ProgramRung 2:0The function of this rung is called a regen
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
Wiring Your Controller2–3Sinking and Sourcing CircuitsAny of the MicroLogix 1000 DC inputs can be configured as sinking or sourcingdepending on how th
PrefaceMicroLogix 1000 Programmable Controllers User ManualE–20Rung 2:1The SQC instruction and SQO instruction share the same ControlRegister. This is
Application Example ProgramsE–21Bottle Line ExampleThe following application example illustrates how the controller high-speed counteris configured fo
PrefaceMicroLogix 1000 Programmable Controllers User ManualE–22Bottle Line Ladder ProgramRung 2:0Loads the high-speed counter with the following param
Application Example ProgramsE–23Rung 2:4Filling machine running too fast for the packing machine. Slow downthe filling machine to allow the packer to
PrefaceMicroLogix 1000 Programmable Controllers User ManualE–24Pick and Place Machine ExampleThe following application example illustrates how the con
Application Example ProgramsE–25Pick and Place Machine Ladder ProgramRung 2:0The following 3 rungs take information from the other programmablecontrol
PrefaceMicroLogix 1000 Programmable Controllers User ManualE–26Rung 2:4Loads the high-speed counter with the following parameters:N7:0 – 0001h – Outpu
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
PrefaceMicroLogix 1000 Programmable Controllers User ManualE–28RPM Calculation Application ExampleThe following application example illustrates how to
Application Example ProgramsE–29Once you have entered these 2 values the following information is provided:•N7:1 – Counts per last Rate Measurement Pe
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
PrefaceMicroLogix 1000 Programmable Controllers User ManualE–30RPM Calculation Ladder ProgramRung 2:0Ensures that the measurement value is initialized
Application Example ProgramsE–31Rung 2:1Sets the rate measurement period. In this case we are calculating a newrate value once every 100ms. Value N7
PrefaceMicroLogix 1000 Programmable Controllers User ManualE–32| | Last timeout value | || |
Application Example ProgramsE–33| | Frequency | || | calculation |
PrefaceMicroLogix 1000 Programmable Controllers User ManualE–34On/Off Circuit Application ExampleThe following application example illustrates how to
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
PrefaceMicroLogix 1000 Programmable Controllers User ManualE–36Spray Booth Application ExampleThe following application example illustrates the use of
Application Example ProgramsE–37Spray Booth Operation OverviewAn overhead conveyor with part carriers (hooks) carries parts from a previousoperation t
PrefaceMicroLogix 1000 Programmable Controllers User ManualE–38Once the presence and color data is loaded into the shift register and FIFO, they aresh
Application Example ProgramsE–39Rung 2:3When the part carrier actuates the SHIFT LIMIT SWITCH, three thingshappen in this rung: (1) the color of the
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
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
Application Example ProgramsE–41Adjustable Timer Application ExampleThe following application example illustrates the use of timers to adjust the dril
PrefaceMicroLogix 1000 Programmable Controllers User ManualE–42Rung 2:1Subtracts 2.5 seconds from Timer delay each time the decrement pushbutton is de
Optional Analog Input Software CalibrationF–1FOptional Analog Input Software CalibrationThis appendix helps you calibrate an analog input channel usin
PrefaceMicroLogix 1000 Programmable Controllers User ManualF–2Calibrating an Analog Input ChannelThe following procedure can be adapted to all analog
Optional Analog Input Software CalibrationF–3Calculating the Software CalibrationUse the following equation to perform the software calibration:Scaled
PrefaceMicroLogix 1000 Programmable Controllers User ManualF–4Example Ladder DiagramThe following ladder diagram uses 3 internal bits to perform the c
Optional Analog Input Software CalibrationF–5Rung 2:0| CAL_LO_ENABLE || B3/5
PrefaceMicroLogix 1000 Programmable Controllers User ManualF–6| | +MUL––––––––––––––––––––+ | ||
GlossaryG–1GlossaryThe following terms are used throughout this manual. Refer to the Allen-BradleyIndustrial Automation Glossary, Publication Number
PrefaceMicroLogix 1000 Programmable Controllers User Manual toc–iiEstablishing Communication 3–17. . . . . . . . . . . . . . . . . . . . . . . . . . .
HardwarePrefaceMicroLogix 1000 Programmable Controllers User Manual2–6Remove the protective wrap before applying power to the controller.Failure to re
PrefaceMicroLogix 1000 Programmable Controllers User ManualG–2control profile: The means by which a controller determines which outputs turn onunder
GlossaryG–3input device: A device, such as a push button or a switch, that supplies signalsthrough input circuits to the controller.inrush current:
PrefaceMicroLogix 1000 Programmable Controllers User ManualG–4modem: Modulator/demodulator. Equipment that connects data terminalequipment to a comm
GlossaryG–5program file: The area within a processor file that contains the ladder logicprogram.program mode: When the controller is not executing t
PrefaceMicroLogix 1000 Programmable Controllers User ManualG–6save: To upload (transfer) a program stored in memory from a controller to apersonal co
IndexI–7Numbers1761L10BWAfeatures, 1-3grounding, 2-2input voltage range, 2-9mounting, 1-14output voltage range, 2-9preventing excessive heat, 1-13spa
PrefaceMicroLogix 1000 Programmable Controllers User ManualI–8wiring diagram, 2-191761L20BWB5Afeatures, 1-3input voltage range, 2-20mounting, 1-14ou
IndexI–9indexed, 4-12logical, 4-10using mnemonics, 4-12addressing modes, C-3direct addressing, C-3immediate addressing, C-3indexed addressing, C-3AIC+
PrefaceMicroLogix 1000 Programmable Controllers User ManualI–10DH-485, B-19limitations for autoswitching, 3-17bidirectional counteroperation, 12-11ove
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
Wiring Your Controller2–7Wiring Diagrams, Discrete Input and Output VoltageRangesThe following pages show the wiring diagrams, discrete input voltage
PrefaceMicroLogix 1000 Programmable Controllers User ManualI–12overview, 6-15addressing structure, 6-16entering parameters, 6-16how counters work, 6-1
IndexI–13valid file types, C-5EElectronics Industries Association (EIA),D-2EMC Directive, 1-2emergencystop switches, 1-5ENC, Encode 1 of 16 to 4, 9-9
PrefaceMicroLogix 1000 Programmable Controllers User ManualI–14entering parameters, 9-23FIFO Load (FFL), 9-25execution times, 9-25instruction paramete
IndexI–15HighSpeed Counter Interrupt Disable(HSD), 12-23execution times, 12-23instruction parameters, C-7using HSD, 12-24operation, 12-24valid addres
PrefaceMicroLogix 1000 Programmable Controllers User ManualI–16installing, the micro controller, 1-1instruction execution time, worksheet, B-26instruc
IndexI–17valid file types, C-8LIM, Limit Test, 7-6Limit Test (LIM), 7-6entering parameters, 7-6execution times, 7-6instruction parameters, C-9valid ad
PrefaceMicroLogix 1000 Programmable Controllers User ManualI–18motor starters (bulletin 709), surgesuppressors, 1-10mounting template, A-9mounting the
IndexI–19valid file types, C-10operating cycle, controller's, 4-3Or (OR), 9-19execution times, 9-19instruction parameters, C-10updates to arithme
PrefaceMicroLogix 1000 Programmable Controllers User ManualI–20storing and accessing, 4-6download, 4-7normal operation, 4-7power down, 4-8power up, 4-
IndexI–21overview, 1-11Periodic Tests of Master Control RelayCircuit, 1-12Power Distribution, 1-11Safety Circuits, 1-11SBR, Subroutine, 10-4Scale (SCL
PrefaceMicroLogix 1000 Programmable Controllers User Manual2–81761-L32AWA Wiring DiagramNOTUSEDNOTUSED79–132V acL2/NVACVDCO/0VACVDCO/1VACVDCO/2 O/3VAC
PrefaceMicroLogix 1000 Programmable Controllers User ManualI–22analog output, A-6general, A-3general output, A-5input, A-4input filter response times,
IndexI–23Timer OnDelay (TON), 6-11execution times, 6-11instruction parameters, C-13using status bits, 6-11valid addressing modes, C-13valid file type
Allen-Bradley, a Rockwell Automation Business, has been helping its customers improveproductivity and quality for more than 90 years. We design, manuf
HardwareHardwareWiring Your Controller2–91761-L10BWA Wiring Diagram (Sinking Input Configuration)Note: Refer to page 2–3 for additional configuration
HardwareHardwarePrefaceMicroLogix 1000 Programmable Controllers User Manual2–101761-L16BWA Wiring Diagrams (Sinking Input Configuration)Note: Refer t
HardwareHardwareWiring Your Controller2–111761-L32BWA Wiring Diagram (Sinking Input Configuration)Note: Refer to page 2–3 for additional configuratio
HardwarePrefaceMicroLogix 1000 Programmable Controllers User Manual2–121761-L10BWB Wiring Diagram (Sinking Input Configuration)Note: Refer to page 2–
HardwareWiring Your Controller2–131761-L16BWB Wiring Diagram (Sinking Input Configuration)Note: Refer to page 2–4 for additional configuration option
HardwarePrefaceMicroLogix 1000 Programmable Controllers User Manual2–141761-L32BWB Wiring Diagram (Sinking Input Configuration)Note: Refer to page 2–
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
Table of Contents toc–iiiEqual (EQU) 7–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
HardwarePrefaceMicroLogix 1000 Programmable Controllers User Manual2–161761-L16BBB Wiring Diagrams (Sinking Input Configuration)Note: Refer to page 2
Wiring Your Controller2–171761-L32BBB Wiring Diagram (Sinking Input Configuration)Note: Refer to page 2–4 for additional configuration options. NOT
PrefaceMicroLogix 1000 Programmable Controllers User Manual2–181761-L20AWA-5A Wiring DiagramNote: Refer to pages 2–21 through 2–23 for additional inf
Wiring Your Controller2–191761-L20BWA-5A Wiring Diagram (Sinking Input Configuration)Note: Refer to page 2–3 for additional discrete configuration op
PrefaceMicroLogix 1000 Programmable Controllers User Manual2–201761-L20BWB-5A Wiring Diagram (Sinking Input Configuration)Note: Refer to page 2–4 for
Wiring Your Controller2–21Minimizing Electrical Noise on Analog ControllersInputs on analog employ digital high frequency filters that significantly r
PrefaceMicroLogix 1000 Programmable Controllers User Manual2–22Wiring Your Analog ChannelsAnalog input circuits can monitor current and voltage signal
Wiring Your Controller2–23Analog Voltage and Current Input and Output RangesAnalog Voltage Input RangeOperating RangeOverrangeUnderrange–10.5V dc 10.5
HardwarePrefaceMicroLogix 1000 Programmable Controllers User Manual2–24Wiring Your Controller for High-Speed CounterApplicationsTo wire the controller
HardwareConnecting the System3–13Connecting the SystemThis chapter describes how to wire your controller system. The method you use andcabling requir
PrefaceMicroLogix 1000 Programmable Controllers User Manual toc–ivData Handling Instructions in the Paper Drilling Machine Application Example 9–28. .
PrefaceMicroLogix 1000 Programmable Controllers User Manual3–2Connecting the DF1 ProtocolThere are two ways to connect the MicroLogix 1000 programmabl
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
PrefaceMicroLogix 1000 Programmable Controllers User Manual3–4Personal ComputerModemModemModemCable1761-CBL-PM02Micro ControllerOptical Isolator➀(reco
HardwareConnecting the System3–5Connecting to a DH-485 NetworkNote Only Series C or later MicroLogix 1000 discrete controllers and all MicroLogix1000
PrefaceMicroLogix 1000 Programmable Controllers User Manual3–6DH-485 Communication CableThe suggested DH-485 communication cable is either Belden #310
HardwareConnecting the System3–7Connecting the Communication Cable to the DH-485 ConnectorNote A daisy-chained network is recommended. We do not reco
PrefaceMicroLogix 1000 Programmable Controllers User Manual3–8The table below shows connections for Belden #3106A.For this Wire/PairConnect this Wire
HardwareConnecting the System3–9Connecting the AIC+Note Only Series C or later MicroLogix 1000 discrete controllers and all MicroLogix1000 analog con
PrefaceMicroLogix 1000 Programmable Controllers User Manual3–10DF1 Isolated Point-to-Point Connection24V dc(Not needed in thisconfiguration since theM
Connecting the System3–11DF1 Isolated Modem Connection24V dc(Not needed in this configurationsince the MicroLogix 1000 providespower to the AIC+ via p
Table of Contents toc–v13 Using the Message Instruction 13–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Types of
HardwarePrefaceMicroLogix 1000 Programmable Controllers User Manual3–12Cable Selection Guide1747-CP31761-CBL-AC00Cable Length Connections fromto AIC+E
Connecting the System3–131761-CBL-PM02➁1761-CBL-AP00Cable Length Connections fromto AIC+ExternalPower SupplyRequiredPower SelectionSwitch Setting1761-
HardwarePrefaceMicroLogix 1000 Programmable Controllers User Manual3–14Recommended User-Supplied ComponentsThese components can be purchased from your
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
HardwarePrefaceMicroLogix 1000 Programmable Controllers User Manual3–16Power OptionsBelow are two options for powering the AIC+:• Use the 24V dc user
Connecting the System3–17Establishing CommunicationWhen you connect a MicroLogix 1000 controller to a network, it automaticallyfinds which protocol is
HardwarePrefaceMicroLogix 1000 Programmable Controllers User Manual3–18DeviceNet CommunicationsYou can also connect a MicroLogix to a DeviceNet networ
Programming Overview4–14Programming OverviewThis chapter explains how to program the MicroLogix 1000 programmablecontroller. Read this chapter for ba
PrefaceMicroLogix 1000 Programmable Controllers User Manual4–2Principles of Machine ControlThe controller consists of a built-in power supply, central
Programming Overview4–3With the logic program entered into the controller, placing the controller in theRun mode initiates an operating cycle. The co
PrefaceMicroLogix 1000 Programmable Controllers User Manual toc–viE Application Example Programs E–1. . . . . . . . . . . . . . . . . . . . . . . . .
PrefaceMicroLogix 1000 Programmable Controllers User Manual4–4Understanding File OrganizationThe processor provides control through the use of a progr
Programming Overview4–5Program FilesProgram files contain controller information, the main ladder program, interruptsubroutines, and any subroutine pr
PrefaceMicroLogix 1000 Programmable Controllers User Manual4–6• Counter (file 5) – This file stores the counter accumulator and preset valuesand the s
Programming Overview4–7DownloadWhen the processor file is downloaded to the micro controller, it is first stored in thevolatile RAM. It is then trans
PrefaceMicroLogix 1000 Programmable Controllers User Manual4–8Power DownWhen a power down occurs, only the retentive data is transferred from the RAM
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
PrefaceMicroLogix 1000 Programmable Controllers User Manual4–10Addressing Data FilesFor the purposes of addressing, each data file type is identified
Programming Overview4–11You assign logical addresses to instructions from the highest level (element) to thelowest level (bit). Addressing examples a
PrefaceMicroLogix 1000 Programmable Controllers User Manual4–12You can also address at the bit level using mnemonics for timer, counter, or controldat
Programming Overview4–13In this example, the processor uses the following addresses:Value: Base Address: Offset Value in S:24 Offset Address:Source N7
Summary of Changessoc–iSummary of ChangesThe information below summarizes the changes to this manual since the lastprinting as Publication 1761-6.3 —
PrefaceMicroLogix 1000 Programmable Controllers User Manual4–14When entering values into an instruction or data table element, you can specify theradi
Programming Overview4–15The programming device allows you to enter a ladder logic program into the microcontroller.In the following illustration, the
PrefaceMicroLogix 1000 Programmable Controllers User Manual4–16Design Functional SpecificationPerformDetailed AnalysisDetermine if Special Programming
Using Analog5–15Using AnalogThis chapter describes the operation of the MicroLogix 1000 analog controllers.Topics include:• I/O Image• I/O Configurati
PrefaceMicroLogix 1000 Programmable Controllers User Manual5–2I/O ImageThe input and output image files of the MicroLogix 1000 analog controllers have
Using Analog5–3I/O ConfigurationThe analog input channels are single-ended (unipolar) circuits and can beindividually enabled or disabled. The defaul
PrefaceMicroLogix 1000 Programmable Controllers User Manual5–4The total update time for each channel is a combination of the Update Time and theSettli
Using Analog5–5Converting Analog DataThe analog input circuits are able to monitor current and voltage signals and convertthem to digital data. There
PrefaceMicroLogix 1000 Programmable Controllers User Manual5–6 input value➀ = input voltage(V)10.5V32,767➀The Input Value is the decimal value of the
Using Basic Instructions6–16Using Basic InstructionsThis chapter contains general information about the basic instructions and explainshow they functi
Comentarios a estos manuales