background image

Installing Your

Programmable Controller

Chapter 4

4-2

A well-planned layout is essential for the installation of your processor.
You should consider the following factors:

 location
 environment
 mechanical 

protection

 conductor 

categories

 raceway 

layout

 power 

distribution

 surge 

suppression

Location

Determining the proper location should be your primary concern.
We specify:

This Characteristic:

Should Meet this Specification:

Operating temperature

0 to 60

o

C (32 to 140

o

F)

Storage temperature

40 to 85

o

C (40 to 185

o

F)

Relative humidity

5 to 95% (without condensation)

Environment

Separate the processor system from other equipment and plant walls to
allow for convection cooling.  Convection cooling draws a vertical column
of air upward over the processor.  Cooling air must not exceed 60

o

C

(140

o

F) at any point immediately below the processor.  If the air

temperature does exceed 60

o

C,  install:

  fans inside the enclosure to bring in filtered air or recirculate internal

air, or

  air conditioning/heat exchangers

Follow these guidelines when installing your processor system:

  Allow six vertical inches above and below all processor components,

including other processors.

  Allow four horizontal inches on the sides of each processor component.

When you use more than one processor in the same area, allow six
horizontal inches between each processor.

  Allow two inches (vertical and horizontal) between the processor and

the wiring duct or terminal strips.

  Mount the I/O chassis horizontally to allow convection cooling.

Planning Your

Processor System

Summary of Contents for Mini-PLC Mini-PLC-2/16

Page 1: ...Mini PLC 2 02 2 16 2 17 Processor cat no 1772 LZ LZP LX LXP LW LWP User Manual...

Page 2: ...assume responsibility or liability for actual use based upon the illustrative uses and applications No patent liability is assumed by Allen Bradley Company with respect to use of information circuits...

Page 3: ...address information for counter instructions chapter 11 minor corrections to Limit Test examples chapter 12 added more information about output alarms and output limits chapter 16 minor correction to...

Page 4: ...Changes 3 2 Special Features 3 3 Processors 3 3 Optional Equipment 3 7 Installing Your Programmable Controller 4 1 Chapter Objectives 4 1 Related Hardware 4 1 Planning Your Processor System 4 2 How to...

Page 5: ...ing and Troubleshooting Your Processor 6 1 Chapter Objectives 6 1 General 6 1 Preventive Maintenance 6 1 Memory Organization 7 1 Chapter Objectives 7 1 Introduction 7 1 Memory Areas 7 2 Adjusting the...

Page 6: ...ntive Timer Reset 11 5 Counter Instructions 11 7 Up Counter 11 7 Down Counter 11 8 Counter Reset 11 9 Data Manipulation and Comparison Instructions 12 1 Chapter Objectives 12 1 Get 12 1 Put 12 2 Compa...

Page 7: ...e 15 6 FIFO Load and FIFO Unload 15 7 EAF Process Control Instructions 16 1 Chapter Objectives 16 1 PID Control 16 1 Loop Considerations 16 5 Programming 16 5 Entry and Display of a Selectable Timed I...

Page 8: ...1 File to File Move Instruction 19 2 Word to File Move Instruction 19 13 File to Word Move Instruction 19 14 Data Monitor Display 19 16 Adjusting the Data Table Size 19 18 Bit Shift Registers 20 1 Ch...

Page 9: ...e Data Change 24 6 Search Functions 24 7 Clearing Memory 24 11 Special Programming Aids 24 13 Online Programming 24 15 Data Initialization Key 24 16 Programming Techniques 25 1 Chapter Objectives 25 1...

Page 10: ...k Transfer Instructions E 4 Clearing Memory E 6 Counter Instructions E 7 Data Monitor Functions E 8 Data Transfer File Instructions E 9 EAF Function Numbers E 10 Editing Functions E 11 Execution Times...

Page 11: ...16 Mini PLC 2 17 Size of memory words 2K 4K 7 75K Size of EEPROM backup words 4K 4K 8K Data table expansion words 1920 3968 7808 EAF instructions up to 12 digits Add Subtract Multiply Divide Add Subt...

Page 12: ...rison chart number systems and glossary specifications PLC 2 family comparison chart explanation of number systems and list of processor terms used in this manual Appendices A D Quick reference select...

Page 13: ...Word values are displayed in decimal 0 9 for timers counters and mathematics CTU 010 00 030 PR 555 AC 123 Decimal hexadecimal values 0 9 A F for Get and Put instructions 010 00 030 Hexadecimal 010 00...

Page 14: ...MASK ADDR 070 071 DATA 00000000 00000000 00000000 00000000 STEP WORD 1 WORD 2 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000...

Page 15: ...on the machine detect changes in the machine s condition For instance a part arriving at a work station contacts and closes a limit switch the sensing device As a result an electrical circuit is comp...

Page 16: ...s electrical paths from the sensing devices to the controller and from the controller to the output devices However instead of wiring relays together to produce a desired response you simply tell your...

Page 17: ...c BCD Analog Input Output Processor The first section of a programmable controller is the processor The processor might be called the brains of the programmable controller It is divided into halves ce...

Page 18: ...ices wired to the output module s terminals If an output image table bit is ON 1 its corresponding output device is ON energized If a bit is OFF 0 its corresponding output device is OFF de energized O...

Page 19: ...to the on or off status of an I O terminal When people who work with personal computers talk about turning a bit on they use the term set For example The processor sets the bit means turns it on On th...

Page 20: ...ose the programmable controller does not energize the motor starter Thus when limit switch number two opens the programmable controller de energizes the motor starter because that action is implied in...

Page 21: ...D indicators The indicator is on when there is a voltage applied to it terminal The indicator is off when there is no voltage applied to its terminal Since the indicator reveals the status of its term...

Page 22: ...the output terminals the status indicators are ON In high density modules power may not be present at the output terminals for the status indicator to be ON Conditioning The output conditions the pro...

Page 23: ...the program statement controlling the conveyor motor must read If there is voltage at input terminal 02 limit switch then energize output terminal 02 conveyer motor The conveyor motor is wired to outp...

Page 24: ...om input modules is transferred to the input image table Data from output image table is transferred to the output modules Figure 2 2 Scan Sequence 11597 Output Image Table Input Terminals Input Image...

Page 25: ...il it reached the end of the program Statement by statement the processor would write a 0 or a 1 into an output bit as directed by the program Then the processor would read specific image table bits t...

Page 26: ...bit 02 is on turn on output 02 If input bit 02 is off then output bit 02 is off Since the alter condition is not true the processor turns off output bit 02 When the processor next scans the output im...

Page 27: ...2 17 Unless stated otherwise assume that the features or instructions are common to all processors memory and data table memory protection above word address 1778 self contained 120 220V AC power supp...

Page 28: ...sequencer instructions bit shift register instructions bit shifts EAF functions 6 digit add subtract multiply and divide square root Binary BCD conversions FIFO Load and Unload log10 sine cosine 10x T...

Page 29: ...X X X X X X X X X 6K 6K 6K 6K 7 75K on line data change on line programming selectable timed interrupt enables recurring subroutine self contained lithium battery for memory full I O forcing when usin...

Page 30: ...ou are in Program Mode or a possible run time error You reset this LED by cycling power BATT Red lights when battery should be replaced Key Switch selects one of four positions PROG Program R P Run Pr...

Page 31: ...s you to connect information sources such as a 1770 T3 terminal hand held terminal Data Highway or Report Generation module 10295 I W POWER SUPPLY POWER ON OFF 1A 250V SLOW BLOW 120 220 V A C L1 L2 N...

Page 32: ...e your key switch from PROG to RP or using a 1770 T3 terminal press the key sequence SEARCH 592 In this mode you can enter and edit a program the processor stops scanning and executing its stored prog...

Page 33: ...cations interface module Processor Module and Through Catalog Number Industrial Terminal cat no 1770 T3 PLC 2 Program Panel Interconnect Cable 1772 TC Industrial Terminal cat no 1784 T50 PLC 2 Program...

Page 34: ...to equipment and injury to personnel When using 1 slot or 1 2 slot addressing use a series C 1770 T3 terminal to obtain full compatibility with the processor With this series terminal you can perform...

Page 35: ...ATA INIT EXPAND ADDR SBR T END RET JSR LBL JMP EAF SCT CONVERT FILE SEQ SHIFT REG BLOCK X FER RECORD RUNG SEARCH G I CTU TON L A 7 B 8 C 9 DISPLAY INSERT REMOVE X L CTD TOF U D 4 E 5 F 6 HELP SHIFT CL...

Page 36: ...1770 KAA 1770 KCB 9 Select the PLC 2 mode by pressing 1 1 on the 1771 T3 terminal Industrial Terminal Keyboard The detachable keyboard houses PROMs a sealed touchpad and a keytop overlay There are th...

Page 37: ...tridge Recorder User Manual publication 1770 6 5 4 for details ATTENTION You must ensure that the addressing mode stored on the data cartridge and the current addressing mode selected for the rack are...

Page 38: ...rovides 8K backup the 1772 MJ EEPROM provides 4K backup Both EEPROMs are non volatile and are physically interchangeable You can use the 1772 MJ with the PLC 2 02 and 2 16 processors You can also use...

Page 39: ...orary communications problems and must be re initialized to the PLC 2 programming mode Press 1 1 to re initialize the terminal after the EEPROM burn is complete Important Do not leave the keyswitch in...

Page 40: ...Power supplies 1771 P3 P4 P5 P7 Emergency stop 800 product line switches Master control relay 700 product line Disconnects 1494 product line Suppression devices 599 K04 700 N24 1401 N10 The quantity...

Page 41: ...cooling Convection cooling draws a vertical column of air upward over the processor Cooling air must not exceed 60oC 140oF at any point immediately below the processor If the air temperature does exce...

Page 42: ...processor requires a minimum of eight inches of space from the rear of the chassis to the innermost front surface of the enclosure Conductor Categories When planning your raceway layout classify into...

Page 43: ...odules Category 3 Conductors Category 3 conductors interconnect the processor components within an enclosure Processor cables include processor power cables provide backplane power to processor compon...

Page 44: ...upply directly to the secondary of a transformer Figure 4 1 and Figure 4 2 The transformer can provide dc isolation from other equipment not connected to that transformer secondary Connect the transfo...

Page 45: ...lated requirements For example the external transformer rating of a 1771 P4S power supply is 150VA A 150VA transformer could be used if a 1771 P4S power supply were the only load A 500VA transformer s...

Page 46: ...a groundable chassis this represents connection to the chassis only For a power supply without a groundable chassis this represents connection to both the chassis and the GND terminal In many applicat...

Page 47: ...ly with a groundable chassis this represents connection to the chassis only For a power supply without a groundable chassis this represents connection to both the chassis and the GND terminal In many...

Page 48: ...same ac source as the isolation transformer but not from the secondary of the isolation transformer Figure 4 3 Constant Voltage Transformer In applications where the ac power source is especially soft...

Page 49: ...I to motor starters step down transformer incoming ac disc to power supplies and input circuits isolation constant voltage transformer to output circuits Ground Connection When bringing ac power into...

Page 50: ...starters or motors are operated by hard contacts such as pushbutton or selector switches The wiring and grounding practices described previously guard the processor system against the effects of EMI...

Page 51: ...3 phase apparatus Suppressor for small apparatus Suppressor for large apparatus Suppressor for dc relays Table 4 B Allen Bradley Suppressors Allen Bradley Equipment Suppressor Catalog Number Motor Sta...

Page 52: ...pieces of hardware Figure 4 5 The Locations of the Major Pieces of Hardware 13491 or I O module field wiring arm I O Chassis Assembly Cat No 1771 A1B A2B A3B A4B Mini PLC 2 02 processor cat no 1772 LZ...

Page 53: ...4 37 12 Connecting the industrial terminal page 4 42 Electrostatic Discharge Electrostatic discharge can damage integrated circuits or semiconductors in this processor if you touch backplane connector...

Page 54: ...or mounting bracket scrape paint and use a star washer back wall of enclosure use a wire brush to remove paint from threads to allow ground connection welded stud Bolt Mounting of a Ground Bus or a C...

Page 55: ...Processor 152 4mm 6 Figure 4 8 You Need These Dimensions to Mount an I O Chassis cat no 1771 A1B A2B A3B A4B 16 slot 12 slot 8 slot 4 slot 16 slot 1771 A4B 12 slot 1771 A3B1 8 slot 1771 A2B 4 slot 177...

Page 56: ...ical installations With solid state controls proper grounding including elimination of ground loops has an added value of helping reduce the effects of electrostatic and electromagnetic interference P...

Page 57: ...act is made at each bolt or stud Equipment Ground Conductor In addition to the connection through each bolt or stud use either 1 inch copper braid or 8 AWG copper wire to connect between each chassis...

Page 58: ...s of Ground Connection at Enclosure Wall 10310 I enclosure wall inside ground lug scrape paint on both sides nut star washer equipment grounding conductor enclosure wall outside star washer bolt Conne...

Page 59: ...e conductor The grounding electrode system is at earth ground potential and is the central ground for all electrical equipment and ac power within any facility Use 8 AWG copper wire minimum for the gr...

Page 60: ...15317 grounding electrode conductor to grounding electrode system equipment grounding conductor 8 AWG I O chassis wall star washer ground lug nut ground lug 14 AWG mini processor with built in power s...

Page 61: ...of an I O Chassis Switch Group Assembly Table 4 C and Table 4 D explain how each switch is used by the processor Switches 2 and 3 are not used Use a ball point pen to set each switch Do not use a pen...

Page 62: ...witch 8 OFF Switch 8 ON Last state switch only on PLC 2 16 and 2 17 series C or later and PLC 2 02 series A or later 1 2 3 4 5 When using 2 slot addressing and 8 pt I O modules a 16 slot chassis equal...

Page 63: ...s valid If switch 6 is OFF your processor powers up in the mode selected by the keyswitch 2 Switch 6 is ON Switch 7 is ON Contents of the EEPROM memory module are not transferred to RAM memory is RAM...

Page 64: ...g bands See the installation instructions for the keying position of each I O module Do not place any I O modules in the left most slot Your processor goes there ATTENTION If keying bands in general a...

Page 65: ...ng Arm onto the I O Chassis horizontal bar C shaped bracket remove install wiring arm Insert each I O module into its properly keyed slot by sliding it onto the plastic tracks of the I O chassis Figur...

Page 66: ...plane connector or the I O module Calculate the total current requirement for all installed modules to ensure that the sum does not exceed the limit of the I O chassis power supply The 1772 LWP LXP an...

Page 67: ...eries modules are available for the 1771 OD series A or B 1771 OR series A and 1771 OY series A The 1771 OZ series A or B must be replaced by the 1771 OYL 177 OZL or 1771 OW We recommend that you repl...

Page 68: ...ct U S Department of Transportation Research and Special Programs Administration 400 Seventh Street S W Washington D C 20590 Although the United States Environmental Protection Agency at this time has...

Page 69: ...17 Inserting the EEPROM Memory Module into the Processor 10316 I 8 Slide the processor into the I O chassis 9 Secure the I O chassis latches 10 Connect the power cable 11 Apply power to the processor...

Page 70: ...ing bands Short circuits can result from misalignment Skip this step if you have a processor with a power supply and do not need additional current for your I O modules If you need additional current...

Page 71: ...on for connection diagrams We recommend using copper wire for these connections 1 Grasp the lug and open the terminal cover to the right lug 2 Measure the wire distance from your I O devices to the fi...

Page 72: ...conductor shielded cable proceed to the next section page 4 34 Single Conductor Wire or Multi Conductor Cable 1 Strip about 3 8 inch insulation to expose the end of the wire Strip about 3 8 inch insu...

Page 73: ...voltage dc discrete I O modules require shielded cables that help to reduce the effects of electrical noise coupling Ground a shield at one end only as specified in the appropriate publication for the...

Page 74: ...ows one pair of conductor wires The required number of I O terminals determines the number of conductor wires needed within the cable for your application Figure 4 19 shows each component making up th...

Page 75: ...uctor wires 4 Fold the drain wire back to separate it from the conductor wire conductor wires drain wire 5 Strip about 3 8 inch insulation to expose the end of the wire drain wire exposed wire insulat...

Page 76: ...rovide a ground bus to connect the shielded wires solder several drain wires together at a field wiring arm so you route only one drain When ac power is supplied as a separately derived system through...

Page 77: ...s to its terminal strip A processor without a power supply receives its power from the backplane of the I O chassis To connect the wires to the processor power plug or power supply terminal strip do t...

Page 78: ...ting a Power Supply To connect the wires to the 1771 P3 P4 or P5 power supplies do the following 1 Strip 3 8 inch insulation from the end of the wire Figure 4 21 shows an ac powered 1771 P3 or P4 powe...

Page 79: ...nects to N ground bus connects to GND Figure 4 22 Connect Your Power Cable to the dc Power Supply s Terminal Strip 5A 32V NORM BLO 24V DC 24V DC DC COM GND 10322 I equipment grounding conductor negati...

Page 80: ...g a 1771 P3 module connect GND to the ground stud No 14 AWG is recommended 13496 120V ac power supply paralleling cable cat no 1771 CT line neutral equipment grounding conductor To easily remove your...

Page 81: ...ssor is shipped set for 120V operation Figure 4 24 Location of the Input Voltage Selector Switch 20216 input voltage selector switch To connect your 1770 T3 terminal to the processor refer to Figure 4...

Page 82: ...ion could damage equipment or injure personnel you should provide a hard wired master control relay for emergency power shutdown Allen Bradley suggests you include several emergency stop switches in t...

Page 83: ...e processor check the operation of your processor before supplying power understand hardware addressing start the processor system test the input and output devices Verify your I O devices and field w...

Page 84: ...rting Your Processor Chapter 5 5 2 Figure 5 1 Connection Diagram Addressing Worksheet PROJECT NAME PAGE OF DATE DESIGNER Bulletin 1771 I O chassis CONNECTION DIAGRAM ADDRESSING WORKSHEET 16 point modu...

Page 85: ...32 point output modules light logic to turn on the indicator is true this does not mean that power is present at the output terminals Figure 5 2 Status Indicators 12081 status indicators corresponds t...

Page 86: ...o a data table location input and links a data table location to a terminal output Figure 5 3 Hardware Data Table Addressing Relationships 10146 I Concept Example Hardware Terminology Hardware Termino...

Page 87: ...ugh 17 for the lower half of each module another group 2 Slot Addressing The processor addresses two I O module slots as one I O group Each physical 2 slot I O group is represented by a word in the in...

Page 88: ...I O group concept with an 8 point input and an 8 point output module Figure 5 4 Illustration of 2 Slot Addressing with Two 8 Point Input Modules 00 01 02 03 04 05 06 07 10 11 12 13 14 15 16 17 17 16 1...

Page 89: ...ponding to the I O group Input image table word corresponding to the I O group output bits used input terminals 2 slot I O group output terminals Using 16 Point I O Modules High density 16 point I O m...

Page 90: ...ding to the I O group all bits used Input image table word corresponding to the I O group all bits used input terminals 2 slot I O group output terminals Because these modules use a full word in the i...

Page 91: ...assign one I O rack number to eight I O groups Figure 5 7 Figure 5 7 I O Image Table and Corresponding Hardware for One Assigned Rack Number for 2 Slot Addressing 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 I O...

Page 92: ...A or later 1770 T3 industrial terminal You select 1 slot addressing by setting switches 4 and 5 of the I O chassis backplane switch assembly Switch 4 to the OFF position Switch 5 to the ON position Th...

Page 93: ...16 17 17 16 15 1 03 02 01 00 17 16 15 1 03 02 01 00 4 4 15245 1 slot Output image table word corresponding to the I O group Input image table word corresponding to the I O group Output image table wor...

Page 94: ...essing 01 23 45 67 01 23 45 67 13077 I O group number 1771 A4B I O chassis using 1 slot addressing assigned I O rack number 1 assigned I O rack number 2 In Figure 5 3 we showed how the 5 digit input o...

Page 95: ...ssing mode 32 point modules must be placed in a complimentary fashion a 32 point input module must be next to any output module and vice versa If 32 point modules are not placed in a complimentary fas...

Page 96: ...you may use any mix of I O modules 8 16 or 32 point in the I O chassis You select 1 2 slot addressing by setting switches 4 and 5 of the I O chassis backplane switch assembly Switch 4 to the ON posit...

Page 97: ...03 05 07 11 13 15 17 32 point Input Module Input Word 0 17 10 7 0 Output Word 0 17 10 7 0 Unused Image Table Words Allocated for I O Group 0 Input Word 1 17 10 7 0 Output Word 1 17 10 7 0 Unused Image...

Page 98: ...s however with 1 2 slot addressing this requires only four slots Thus in a 16 slot chassis you now can have four I O racks Figure 5 12 Figure 5 12 Assigning I O Rack Numbers with 1 2 Slot Addressing 0...

Page 99: ...r Rack 1 Rack 2 Rack 3 Rack 4 I O group 1 address 1 1 1 input rack I O group I O group 1 address 1 2 1 I O group 1 address 1 3 1 I O group 1 address 1 4 1 Important When addressing a block transfer mo...

Page 100: ...curely held in their sockets 4 Check the location and chassis positioning of each I O module All I O chassis latches must be snapped down All field wiring arms must be connected with their correspondi...

Page 101: ...ess corresponding to the output device being tested For example enter a rung similar to this one 111 14 014 00 ATTENTION Test only one rung at a time Do not program multiple rungs unpredictable machin...

Page 102: ...ch into a machine to actuate a switch since unexpected machine motion can occur Use a wooden stick or other nonconductive device to guard against electrical shock Failure to observe this warning may i...

Page 103: ...rce for the input device wiring from the input device connection to the field wiring arm s terminal input device verify the address of the input device input terminal Using The 1771 SIM The Switch Ind...

Page 104: ...printed circuit boards that are vulnerable to dirt and dust We make every effort to limit processor exposure to dust dirt and soot You should periodically inspect terminal strip connections plugs soc...

Page 105: ...ATTENTION When cycling or removing line power always use the main disconnect switch Never use the ac line fuse to cycle or remove line power contact with ac can injure personnel Troubleshooting with...

Page 106: ...ed to ground Cycle power If the problem still persists call your A B representative Off is operating normally in Program or Remote Test mode is operating in Run mode it has a memory or program error C...

Page 107: ...lain memory organization and its structure read the following definitions Bit the smallest unit of information that memory is capable of retaining Byte a group of 8 consecutive bits 00 0708 or 10 1708...

Page 108: ...Data Table The first part of memory is the data table Figure 7 1 The processors are factory configured for 128 words Figure 7 2 shows memory structure with a factory configured data table The specific...

Page 109: ...17 00 17 00 17 00 17 00 17 00 17 00 17 00 17 00 May not be used for accumulated values Not available for bit word storage Bits in this word are used by the processor Unused timer counter memory words...

Page 110: ...C 2 02 Mini PLC 2 16 Mini PLC 2 17 3577 17 3777 17 7577 17177 17 17 7777 17377 17 17 Mini PLC 2 02 Mini PLC 2 16 Mini PLC 2 17 Mini PLC 2 02 Mini PLC 2 16 Mini PLC 2 17 6 6 Output Image Table Rack 2 1...

Page 111: ...duce data table size and increase user program area Do not use word 127 for block transfer data storage 1 2 3 4 5 1 2 3 5 4 User Program 2048 128 Configured for Can be decreased to 48 words 6 6 Output...

Page 112: ...nnot address these data table words Bit Word Storage There are two bit word storage areas providing you are not using 1 slot addressing They are located at addresses 020 026 and 120 127 Diagnostic Wor...

Page 113: ...t the data table size in two word increments to 256 words Then you can increase the data table size in blocks of 128 words When the data table is set to 256 words you can program up to 104 timer count...

Page 114: ...140 0142 0144 0146 0148 081 082 0873 084 085 0210 0212 0214 0216 0218 016 017 018 019 020 0080 0082 0084 0086 0088 051 052 053 054 055 0150 0152 0154 0156 0158 086 087 088 089 090 0220 0222 0224 0026...

Page 115: ...o 104 Data table size becomes 256 Enter the number of timer counters equivalent to the desired size of the data table Table 7 A 065 DATA TABLE CONFIGURATION NUMBER OF 128 WORD D T BLOCKS 021 NUMBER OF...

Page 116: ...16 has this additional number of data table blocks 16 17 18 19 20 21 22 23 2048 2176 2304 2432 2560 2688 2816 2944 24 25 26 27 28 29 30 31 3072 3200 3328 3456 3584 3712 3840 3968 32 33 34 35 36 37 38...

Page 117: ...that are periodically accessed The subroutine area is not scanned unless you program the processor to jump to this area which is located in the memory between the main program and the message store ar...

Page 118: ...vailable 3967 words Data Table Size 128 words User Program Area 0001 words User Message Area 0000 words Unused Memory Available 7807 words Mini PLC 2 02 Data Table Size 128 words User Program Area 000...

Page 119: ...s in accordance with program logic Every instruction in your program requires execution time These times vary greatly depending upon the instruction the amount of data to be operated on and whether th...

Page 120: ...inal status into input image table Program Statement Execute each program rung in sequence writing into bits in the data table including the output image table I O Scan Program Scan Upon power up the...

Page 121: ...outputs are held off When your processor is in the Run Program mode all outputs are controlled by the user program Average scan time is the average amount of time it takes the processor to monitor and...

Page 122: ...10 10 10 10 6 5 8 6 6 10 10 10 10 10 1 1 1 1 1 1 1 1 1 1 Get Put Equal Less Than Get Byte Limit Test G PUT B L 15 12 12 14 11 13 10 10 10 10 10 10 7 13 13 14 10 10 10 1 1 1 1 1 1 1 1 1 1 1 1 Counter...

Page 123: ...377 8051 222 534 234 482 10 10 11 9 3 4 3 4 5 6 5 6 9 8 18 20 30 30 30 30 30 31 31 116 116 117 117 55 55 56 55 10 10 11 11 1 1 2 2 3 3 3 3 3 3 3 3 3 5 5 1 1 2 2 Examine Off Bit Shift Examine On Bit Sh...

Page 124: ...n Jump to Subroutine Jump Block Transfer Read Block Transfer Write Sequencer Output Sequence input Sequencer Load File To File Move Word To File Move File To Word Move LBL RET JSR JMP SEQ 0 SEQ 1 SEQ...

Page 125: ...ation 6 digit EAF 10 EAF 11 EAF 12 EAF 15 EAF 16 EAF 17 EAF 27 EAF 31 EAF 32 EAF 33 EAF 34 EAF 06 EAF 06 EAF 07 EAF 07 217 225 167 203 205 138 2450 typical 3500 max 1727 2071 1500 1620 2463 6787 2784...

Page 126: ...increment only on false to true transitions Rung 3 The timer times in tenths of seconds when we are counting This value is displayed on the industrial terminal screen Rung 4 The average scan time is...

Page 127: ...the conditions that must be met before those things are done For example if you want a solenoid energized when a limit switch is closed you specify Condition if limit switch is closed Action energize...

Page 128: ...d C3 are true then a continuous path is made to a particular action In this case the continuous path causes the part to be drilled When the path of conditions is continuous we say that the rung is tru...

Page 129: ...bit has a five digit address If you need a bit address with more than 5 digits use the EXPAND ADDR key Press this key and then enter the address Word addresses unlike bit address do not require the E...

Page 130: ...it Is EXAMINE ON true set false reset EXAMINE OFF true reset false set Keystrokes Enter an Examine On or Examine Off instruction by performing the following steps 1 Press either or as required 2 Enter...

Page 131: ...preceding it are true These instructions are used to set memory bits ON or OFF in any area of the data table excluding processor work areas They should not be assigned input image table addresses beca...

Page 132: ...h The Output Unlatch U instruction tells the processor to unlatch and reset a specific data table bit It is usually paired with a latch instruction 113 05 U 010 00 Bit Controlling Output Unlatch Impor...

Page 133: ...steps 1 Position the cursor over the Output Latch or Unlatch instruction you want to change 2 Press either L or U or any other output instruction type as required 3 Enter address Important If power is...

Page 134: ...e Here two conditions are parallel As long as one of the conditions C1 or C2 is true a continuous path to the action exists Therefore the action is performed True True C3 C1 A False True C4 C2 Here ar...

Page 135: ...ing the following steps 1 Position the cursor over either the Branch Start or Branch End instruction 2 Press Remove or Inserting a Branch Instruction in a Completed Rung Insert a Branch Start or Branc...

Page 136: ...and complete the rung To avoid this condition do the following 1 Immediately below the rung to be changed create a new rung with the same input logic duplicate the rung but do not put the output in ye...

Page 137: ...truction completes a branch group But the above rung shows a single branch group with two branch end instruction Above the Examine On instruction with the address 11012 is actually a branch group with...

Page 138: ...wn The following table illustrates specific instructions for these categories Output Override Immediate Update I O Master Control Reset Immediate Input Update Zone Control Last State Immediate Output...

Page 139: ...the devices is to guard against damage to equipment and or injury to personnel A Zone Control Last State ZCL instruction allows control of one or a group of outputs in more than one manner in the sam...

Page 140: ...l Instructions Chapter 10 10 3 Figure 10 1 Master Control Reset 010 00 016 00 MCR 011 00 012 00 010 00 010 00 015 00 011 00 017 00 020 00 021 00 012 00 022 00 023 00 013 00 024 00 025 00 026 00 014 00...

Page 141: ...ch rung condition controls their output instruction False All output instructions within the zone are left in their last state ATTENTION MCR or ZCL zones must not overlap or nest Each zone must be sep...

Page 142: ...se instructions where I O modules interface with I O devices that operate in a shorter time period than the processor scan Important You can have as many as 8 Immediate Input and 8 Immediate Output in...

Page 143: ...word module group input 2 slot I O group An Immediate Output Update instruction interrupts the program scan to update the module group with data from corresponding output image table word address Figu...

Page 144: ...6 bits from one output image table word to one module group control bits of word 014 here in program returns to program scan word 014 Immediate Output instruction interrupts program scan 2 slot I O gr...

Page 145: ...mediate Input Update instruction you want to remove 2 Press REMOVE I Editing a Partially Completed Rung or a Completed Rung Edit an Immediate Input or Immediate Output instruction by performing the fo...

Page 146: ...imited only by the processor s memory The last counter address for each is listed below This Processor Has This Last Timer Counter Address Mini PLC 2 02 3477 Mini PLC 2 16 7477 Mini PLC 2 17 17077 Eac...

Page 147: ...it from the right in the address must be an even number Timer instructions have three time bases 1 0 second 0 1 second or 0 01 second Two bits in the accumulated value word are status bits Bit 15 is t...

Page 148: ...turned from the PROG position to RUN PROGRAM or RUN The Timer Off Delay instruction is programmed as an output instruction 010 00 TOF 030 1 0 PR 150 AC 000 When the timer off delay rung condition bec...

Page 149: ...value The Retentive Timer On accumulates the amount of time that the preconditions of its rung are true It controls one or more outputs by means of other rungs after the total accumulated time is equ...

Page 150: ...rogram mode Power outage occurs and memory backup is maintained The Retentive Timer Reset instruction resets the accumulated value and timed bit of the retentive timer to zero This instruction is give...

Page 151: ...ter preset value 5 Enter accumulated value Editing in a Completed Rung Edit a Retentive Timer On or a Retentive Timer Reset instruction by performing the following steps 1 Position the cursor over the...

Page 152: ...falls below 000 15 Count complete bit it is set when the AC value PR value 16 Enable bit for CTD instruction It is set when the rung condition is true 17 Enable bit for CTU instruction It is set when...

Page 153: ...ts one from its accumulated value for each false to true transition of its rung conditions A count is only added on a false to true transition so rung conditions must go from true to false and back to...

Page 154: ...ulated value may need to be reset in the program to its original value usually a value other than 000 010 00 CTR 030 PR 150 AC 000 When the rung condition becomes True Accumulated value of the specifi...

Page 155: ...erforming the following steps 1 Position the cursor over the Up Counter Down Counter or Counter Reset you want to change 2 Press either CTU CTD CTR or any other appropriate instruction type 3 Enter ad...

Page 156: ...word The Get instruction is programmed in the condition area of the ladder diagram rung and it can be located at the beginning of a rung or with one or more conditions preceding it A Get instruction a...

Page 157: ...truction transfers data to the Put instruction The lower 12 bits are displayed in hexadecimal beneath the Put instruction Bits 14 17 are transferred but not displayed False Because the Put instruction...

Page 158: ...a PUT instruction 4 Enter data if appropriate There are four compare instructions Equal To Less Than Get Byte Limit Test An Equal To comparison is made with the Get and Equal To instructions The Get...

Page 159: ...ress Remove Editing a Completed Rung Edit an Equal To instruction by performing the following steps 1 Position the cursor over the Equal To instruction 2 Press or any other appropriate instruction typ...

Page 160: ...eps 1 Press 2 Enter address 3 Enter reference value Removing the Less Than Instruction Remove a Less Than instruction by performing the following steps 1 Position the cursor over the Less Than instruc...

Page 161: ...Test instructions work only with octal values ranging from 000 to 377 There are two cases for comparison Case 1 Lower Limit YYY Upper Limit 120 06 0451 010 05 B 050 L 200 YYY8 170 YYY8 3778 2008 1708...

Page 162: ...ity is not established If YYY8 is greater than 200 or less than 170 the comparison is true and logic continuity is established Keystrokes Enter a Limit Test instruction by performing the following ste...

Page 163: ...alue at Less Than and Equal To instructions the comparison is true and logic continuity is established 120 04 030 YYY 010 02 G 037 237 037 237 If YYY is equal to or less than 237 the Get Less Than or...

Page 164: ...CD value is the reference and the Less Than instruction BCD value is the changing value The Less Than value is compared with to the Get value for a greater than condition When the Less Than value is g...

Page 165: ...are greater than or equal to the Get value the comparison is true and logic continuity is established 120 05 030 440 010 02 G 042 YYY 042 YYY reference value If YYY is equal to or greater than 440 th...

Page 166: ...een the Get Byte and Limit Test instructions Use with a Put instruction to transfer either the upper or lower byte to the upper or lower byte of the Put instruction address Keystrokes Enter a Get Byte...

Page 167: ...of the word address of the Put instruction Case 2 Two Get Bytes XXXD 040 BCC B WWW8 PUT BBCCC 16 only these three letters are displayed XXXD B YYY8 XXX word address WWW YYY octal values upper or lowe...

Page 168: ...nter address Editing the Operation Edit a Get Byte Put instruction by performing the following steps 1 Position the cursor over B 2 Press B 3 Enter address 4 Enter byte designation Important Repeat st...

Page 169: ...med in the output position of the ladder diagram rung The sum is stored in the add instruction word address 032 700 G 030 320 G 031 380 When the sum exceeds 999 the overflow bit bit 14 in the add inst...

Page 170: ...on the industrial terminal screen preceding the difference 072 034 G 070 100 G 071 134 Important Use only positive values If you use a negative BCD value for subsequent operation inaccurate results c...

Page 171: ...de instruction Quotient is expressed as a decimal accurate to 3 decimal places Any remaining data is rounded Division by zero including 0 0 gives the result of 999 999 This result differs from the PLC...

Page 172: ...ompleted Rung Edit a three digit math operation by performing the following steps 1 See chapter 12 and follow the editing procedure for a Get instruction 2 Position the cursor over the math function 3...

Page 173: ...LC 2 02 Mini PLC 2 16 and Mini PLC 2 17 can perform these functions Addition Subtraction Multiplication Division Square Root BCD to Binary Binary to BCD 10x 01 02 03 04 05 13 14 37 The Mini PLC 2 17 c...

Page 174: ...348 I 13 X S 0 O U Address The Operands and the Result words have the format xxx xxx xxx xxx Only the Addition and Subtraction EAFs use all 12 digits All other EAFs use 6 digits maximum located anywhe...

Page 175: ...f the decimal point G xxx ABC xxx xxx ABC To enter the number ABC DEF use two Gets or two data table words G G ABC DEF xxx xxx ABC DEF To enter the number ABC DEF GHI use three GETs or three data tabl...

Page 176: ...17 not used Data Table Format After Address Entry If you select a data address of 040 for operand A the EAF establishes a data table format with four consecutive words as shown in Figure 14 2 You can...

Page 177: ...11 Digit 6 Digit 9 Digit 12 MSD LSD Address Entry and Display of Input and Result Values You can monitor the values in the Operands and Result words by entering the instructions shown in Figure 14 3...

Page 178: ...our 1770 T3 terminal or through ladder diagram functions 4 Complete the parallel branches 5 Press Shift EAF 6 Enter the appropriate function number Table 14 A 7 Enter the data and result addresses for...

Page 179: ...uces the Result 359130 for addition Figure 14 4 or 153638 for subtraction Figure 14 5 shows how the words are stored in the data table Figure 14 5 EAF Addition Format in the Data Table After Execution...

Page 180: ...ngs 060 080 EXECUTE AUX FUNCTION FUNCTION NUMBER DATAADDR RESULT ADDR 03 040 060 G 061 300 G 062 000 G 063 000 G 040 G 041 400 G 042 000 G 043 000 G 050 000 G 051 G 200 052 000 G 053 000 G 000 Enter t...

Page 181: ...043 050 051 052 Result Address 060 061 062 063 053 0 0 0 0 0 0 Address Operand A Operand B Result This EAF instruction is a feature of the Mini PLC 2 17 processor only and finds the value of the equat...

Page 182: ...esult 32 Figure 14 9 shows how the words are stored in the data table If a result has numbers beyond 12 digits the result is truncated Figure 14 9 EAF Power of Y Format in the Data Table After Executi...

Page 183: ...anywhere in your data table However you must select four consecutive data table addresses Figure 14 11 If you choose to use the default address 010 as the data address of the EAF instruction the proc...

Page 184: ...t four consecutive locations Its word format is similar to the operand except that there are three status bits Bits 14 to 16 of the Result word are reserved for status bits These bits have the followi...

Page 185: ...esult Address Result 10354 I 13 X S 0 O U 040 041 042 043 060 061 062 063 Address Entry and Display of Input and Result Values Figure 14 12 shows one method for displaying input values and the result...

Page 186: ...ailure to observe this warning could cause unwanted machine motion and may injure personnel The Exponential EAF instruction is a feature of the Mini PLC 2 17 processor only Word formats for Exponentia...

Page 187: ...000 Enter values for the operand You can enter these values from the keyboard of your 1770 T3 terminal or through ladder diagram functions Entry of an operand exponent of e of 9 42 yields an exponenti...

Page 188: ...mber Enter an EAF square root function like that shown in Figure 14 15 Figure 14 15 EAF Square Root Function Input and Display Rung 060 EXECUTE AUX FUNCTION FUNCTION NUMBER DATAADDR RESULT ADDR 05 040...

Page 189: ...nt number maximum of 6 digits 10 x xxx xxx yyy yyy yyy yyy Enter an EAF rung like that shown in Figure 14 17 Figure 14 17 EAF Power of 10 Function Input and Display Rung 060 EXECUTE AUX FUNCTION FUNCT...

Page 190: ...y This EAF function finds the reciprocal of a number The Operand and Result words have the format 1 xxx xxx xxx xxx yyy yyy yyy yyy Enter an EAF rung like that shown in Figure 14 19 Figure 14 19 EAF R...

Page 191: ...function converts a BCD Conversion number into a binary number Its function number is 13 and the conversion takes the form 0xx xxx y yyy Important When the result is displayed using a Get instruction...

Page 192: ...at in the Data Table After Execution 17 16 15 14 10 7 4 3 Data Address 0 Result Address 10359 I 13 040 041 060 0 4 F 0 5 0 9 X 0 0 0 F F Operand A Result Bit 16 of the first data address word is the s...

Page 193: ...d All negative values are stored as two s complement Figure 14 24 shows how the result is stored in the data table Bit 16 of the first Result Address word is the sign bit of the BCD number Figure 14 2...

Page 194: ...rm an operation of this type Use this function number The Mini PLC 2 02 Mini PLC 2 16 and Mini PLC 2 17 can perform these functions FIFO Load FIFO Unload Log10 Sin x Cos x 28 29 30 35 36 The Mini PLC...

Page 195: ...u must select four consecutive data table addresses Figure 15 2 If you choose to enter the default address 010 as the Data Address inside the EAF instruction the processor seeks its data from the Get...

Page 196: ...ord can be placed in any legal location in the data table However you must select four consecutive address locations The Result word format is similar to the Operand format except that there are three...

Page 197: ...060 061 062 063 10364 I 13 X S 0 O U Address Entry and Display of Input and Result Values Figure 15 3 shows one method for displaying operand data values and the result values of an EAF not using the...

Page 198: ...all data in BCD Failure to observe this warning could cause unwanted machine motion and may injure personnel The EAF log instruction is a feature of the Mini PLC 2 17 processor only Word formats for l...

Page 199: ...The angle operand data is in degrees Word formats for sine and cosine are the same The only difference between the two EAFs is their function numbers sine is 35 and cosine is 36 Both functions operate...

Page 200: ...ructions that can be used together to construct an asynchronous word shift register Length of the FIFO can be a maximum 999 words long Upon a false to true transition of the FIFO Load rung the content...

Page 201: ...s bit to condition a FIFO Load Data transfers with a false to true 0 to 1 transition of the EAF rung You can monitor this transition with bits 16 or 17 16 unload enabled 1 FIFO is enabled 0 FIFO is no...

Page 202: ...a Being Unloaded Output Word Address FIle Enpty Bit 033 G 034 035 061 G 040 005 G File Length 070 00 Output Word Address File Address Input Word Address Important Read chapter 19 and become familiar w...

Page 203: ...XECUTE AUX FUNCTION FUNCTION NUMBER DATAADDR RESULT ADDR 28 030 050 050 060 000 G 040 000 G 041 000 G 042 000 G 043 000 G 01 15 030 G 031 032 060 G 040 005 G 070 00 050 000 G 070 00 044 000 G 070 00 1...

Page 204: ...he first data is stored in the data table before the FIFO Load is energized Figure 15 10 First Data Stored in the Data Table 032 033 034 035 040 041 042 043 044 050 060 061 130 0 0 0 0 0 0 0 0 0 0 0 0...

Page 205: ...if the FIFO Load rung is true Bit 17 is reset 0 if the rung is false Figure 15 11 This Is a Full File of Five Words 130 EXECUTE AUX FUNCTION FUNCTION NUMBER DATAADDR RESULT ADDR 28 030 050 050 060 000...

Page 206: ...1 0 0 4 0 6 4 0 6 0 0 0 5 0 0 5 1 5 0 0 1 17 031 030 10 07 00 10368 I 1 0 1 0 1 0 5 4 3 2 1 5 4 3 2 1 The full file 5 5 5 If you want to load zero as valid FIFO data insert zeros in the Input Word Do...

Page 207: ...X FUNCTION FUNCTION NUMBER DATAADDR RESULT ADDR 28 030 050 050 060 000 G 040 000 G 041 000 G 042 000 G 043 000 G 01 15 030 G 031 032 060 G 040 005 G 070 00 050 000 G 070 00 044 000 G 070 00 130 EXECUT...

Page 208: ...e file as valid FIFO data Figure 15 14 Zero Stored in the Data Table 032 033 034 035 040 041 042 043 044 050 060 061 130 0 0 0 0 0 0 4 3 2 1 0 0 4 0 6 4 0 6 0 0 0 5 0 0 5 1 5 0 0 1 17 031 030 10 07 00...

Page 209: ...UX FUNCTION FUNCTION NUMBER DATAADDR RESULT ADDR 28 030 050 050 060 000 G 040 000 G 041 000 G 042 000 G 043 000 G 01 15 030 G 031 032 060 G 040 005 G 070 00 050 000 G 070 00 044 000 G 070 00 130 EXECU...

Page 210: ...AUX FUNCTION FUNCTION NUMBER DATAADDR RESULT ADDR 28 030 050 050 060 000 G 040 000 G 041 000 G 042 000 G 043 000 G 01 15 030 G 031 032 060 G 040 005 G 070 00 050 000 G 070 00 044 000 G 070 00 130 EXE...

Page 211: ...w the first unloaded data is stored in the data table Figure 15 17 Unloaded Data Stored in the Data Table 032 033 034 035 040 041 042 043 044 050 060 061 130 0 0 0 0 0 0 4 3 2 0 1 4 0 6 4 0 6 0 1 0 5...

Page 212: ...raging Standard Deviation Set Clock Set Date Set Leap Year and Day of the Week Read Clock Read Date Read Leap Year and Day of the Week 06 07 27 10 11 12 15 16 17 The PID EAF instruction lets the Mini...

Page 213: ...setpoint scaled to engineering units Output alarms Output limiting with anti reset windup Zero crossing dead band Feedforward or output biasing Direct or reverse control action Concepts PID Closed Loo...

Page 214: ...mparable control with either equation In the Dependent Gains equation a change in the proportional term affects the integral and derivative terms In the Independent Gains equation you adjust the propo...

Page 215: ...egral gain constant 1 sec KD derivative gain constant sec dt time between samples Bias feedforward or output bias E error equal to PV SP or SP PV E n 1 error from last sample PV process variable PV n...

Page 216: ...rung is toggled The rung will be toggled at the timing value of the timer preset x time base or each time value of the STI Deviation in toggle rate from the update time will degrade the accuracy of P...

Page 217: ...s their signs and selected features Use a File to File Move File 10 and then a Hexadecimal Data Monitor Display 1 to display and enter data into the control block We recommend displaying only the firs...

Page 218: ...e to auto mode for loops that have no integral term KI 0 When this bit is set a Bias value is calculated and stored in the PID control file to account for the difference between the Proportional Term...

Page 219: ...Error set by User PV 0 E 1 3 07 Input Format for Series C or later Binary 0 BCD 1 10 Dead Band set by Instruction Out of DB 0 Within DB 1 1 11 Maximum Output Alarm set by Instruction Within limit 0 A...

Page 220: ...eg 1 06 Process Variable Sign Set by Instruction Pos 0 Neg 1 1 07 Error Sign Set by Instruction Pos 0 Neg 1 1 10 Resume Control From Last State Disabled on first scan a new CO is calculated Enabled on...

Page 221: ...99 Units rep sec Word 05 Integral Gain Term 1 TI Range 00 00 99 99 Units rep min Term KD Range Bit set 00 01 99 99 Bit reset 000 1 999 9 Units sec Word 06 Derivative Gain Term TD Range 00 00 99 99 Uni...

Page 222: ...t Range 0000 100 Units Percent Range 0000 100 Units Percent Word 13 Minimum Control Output Range 0000 100 Units Percent Range 0000 99 99 Units sec Word 14 Loop Update Time Range 00 00 99 99 Units sec...

Page 223: ...shows how you can enter a ladder diagram in the main program and execute a PID function Figure 16 3 PID Ladder Diagram for Loops with a Minimum Update Time of 200ms EN BLOCK XFER READ DATAADDR MODULE...

Page 224: ...ID rung Rung 3 are mandatory and must not be separated from the EAF by any other instruction The first Get contains data to be used as the tieback TB input The second Get contains the process variable...

Page 225: ...oops The Immediate Output Update IOT instructions are required Place them after each block transfer instruction The IOT instructions cause the block transfer to be requested and completed immediately...

Page 226: ...0 G 0204 000 G FUNCTION RUNG 3 0051 050 G 052 00 077 00 010 IOT 077 RUNG 4 EXECUTE AUX FUNCTION NUMBER DATAADDR RESULT ADDR 27 0500 0231 00 0050 000 G 0205 000 G FUNCTION 077 RUNG 5 EXECUTE AUX FUNCTI...

Page 227: ...UTE AUX FUNCTION NUMBER DATAADDR RESULT ADDR 27 1200 0242 00 0050 000 G 0212 000 G FUNCTION 077 RUNG 12 EXECUTE AUX FUNCTION NUMBER DATAADDR RESULT ADDR 27 1300 0243 00 0050 000 G 0213 000 G FUNCTION...

Page 228: ...00 EXECUTE AUX FUNCTION NUMBER DATAADDR RESULT ADDR 27 1500 0251 0050 000 G 0215 000 G FUNCTION RUNG 17 077 00 EXECUTE AUX FUNCTION NUMBER DATAADDR RESULT ADDR 27 1600 0252 0050 000 G 0216 000 G FUNCT...

Page 229: ...EXECUTE AUX FUNCTION NUMBER DATAADDR RESULT ADDR 27 2100 0261 0050 000 G 0221 000 G FUNCTION RUNG 23 077 00 EXECUTE AUX FUNCTION NUMBER DATAADDR RESULT ADDR 27 2200 0262 0050 000 G 0222 000 G FUNCTION...

Page 230: ...n of the first rung to indicate that this is a selectable timed interrupt The time base is specified by the value in the Get instruction in this case 50 ms Bit 077 00 enables the alternate Scan PID ro...

Page 231: ...e rungs in the main program This program will be used when the functionality of a hardware manual control station is desired but manual control separate from the controlling processor is not needed It...

Page 232: ...Figure 16 7 shows how you can cascade two loops by assigning the control output CO of one loop as the set point SP of the next loop Locate these rungs in the main program Set the cascade bit word 01 b...

Page 233: ...ON 110 EN FILE TO FILE MOVE COUNTER ADDR POSITION FILE LENGTH 0050 001 009 FILE A FILE R RATE PER SCAN 0400 0410 0411 0421 009 DN 0050 17 0050 15 0350 000 G PUT 0434 000 EXECUTE AUX FUNCTION NUMBER DA...

Page 234: ...erience 25 to 550 C then use the latter range in the de scaling equation This improves the resolution for the PID instruction and results in better system control Figure 16 8 De Scaling Inputs Process...

Page 235: ...5 K 7 8 So K 7 8 is For this example the constant for de scaling this termperature range Store 2 525 EXECUTE AUX FUNCTION NUMBER DATAADDR RESULT ADDR 03 Store 1 Store 5 004 Store 6 095 G 000 G FUNCTIO...

Page 236: ...11 You must include this branch The first two branches are for display only and can be omitted Note that 12 words must be allocated to use this instruction Rung 3 BCD to Binary conversion The 2 word...

Page 237: ...ws a bumpless transfer between Manual and Auto modes This is accomplished by feeding the output of the manual control station into the tieback TB input The instruction sets the calculated CO equal to...

Page 238: ...et 1 For a faster response to set point changes set this bit to act on the change in Error Done Bit Word 01 Bit 15 This bit is set reset by the EAF instruction when new values have been calculated Res...

Page 239: ...into the control output using this word to bring the process variable to the set point The feedforward value Figure 16 9 represents a measured feed system disturbance fed into the PID equation Its eff...

Page 240: ...s improves the resolution of this term Reset 0 decimal point not moved Set 1 decimal moved one place to the left Manual Control Station A manual control station is a hardware device used to control th...

Page 241: ...ximum Scaling Value see Scaling Reset 0 positive Set 1 negative Minimum Control Output Word 13 This is the minimum allowable value of the Control Output Enter the value as 0 100 of the 0 4095 Control...

Page 242: ...is only enabled when word 01 bit 03 is set Both output alarms and output limiting use the Maximum Control Output word 12 and the Minimum Control Output word 13 values to determine when action should b...

Page 243: ...4095 Enter the Set Point word 03 and Dead Band word 10 in the same scaled engineering units Read process variable and error in these units as well The control output word 17 is scaled to a percentage...

Page 244: ...eset by the EAF instruction when the Set Point SP has been set out of the Maximum or Minimum Scaling Value ranges Reset 0 SP is in range Set 1 SP is out of range Set Point Sign Word 02 Bit 05 Set Rese...

Page 245: ...operand is reserved for the sign bit See chapter 14 for the word format used when a processor executes an EAF We provide two forms of these instructions 3 digit and 6 digit for two types of users one...

Page 246: ...es The maximum number of values you can average is 999 or is limited by the data table area available The Averaging instruction uses the formula y i 1 Xi n n where Xi three digit signed BCD values y t...

Page 247: ...values need to be reset to zero in between calculations THREE DIGIT AVERAGE 1 1 1 1 1 Entry and Display of Input and Result Values Here is a description of the ladder diagram This programming example...

Page 248: ...sum per scan which must always be 001 The instruction will not be completed in one scan but must be executed once per value to be averaged Word 0036 is the result word of the File to Word move It will...

Page 249: ...he data in the data address word rung 5 047 in this example 3 The results in the result words 041 and 042 in this example Standard Deviation The Standard Deviation instruction determines the standard...

Page 250: ...G RES ULT Intermediate Results Indicates that these values need to be reset to zero in between calculations 1 1 1 1 1 1 1 1 1 15 Here is a description of the ladder diagram This programming example ca...

Page 251: ...ve in this example Word 0035 the rate per scan must be 001 Word 0036 the Output WORD ADDR ess of the File to Word Move instruction It will contain a different value each time the instruction is enable...

Page 252: ...culate the standard deviation for a new set of values you must reset to zero 1 The accumulated value of the timer 2 The data in the data address word rung 5 047 in this example 3 The results in the re...

Page 253: ...d you can use to enter values and display results of the six digit averaging Although there are several techniques for accomplishing this we chose Get instructions Be careful not to select data and re...

Page 254: ...lations in the first word 160 and the final result in words 161 163 Rung 2 This rung is conditioned with a branch end to keep the File to File Move from becoming true The data values to be averaged ar...

Page 255: ...dard deviation Although there are several techniques for accomplishing this we chose Get instructions Figure 16 13 6 Digit Standard Deviation Ladder Diagram EXECUTE AUX FUNCTION NUMBER DATAADDR RESULT...

Page 256: ...they overlap The first rung is the set rung It contains Get instructions and an EAF block You must use an Examine On for conditioning Three addressed Gets contain set data These Gets need not be cons...

Page 257: ...he Examine On and Get instructions 2 Press Shift EAF 3 Enter the appropriate function number Table 16 A 4 Enter the data and result addresses 5 Enter the set values The clock stops when you are settin...

Page 258: ...For example November is displayed as 011 The year 1994 is displayed as 094 Word format for Set and Read Date functions are the same The only difference between the two EAFs is their function number Se...

Page 259: ...fter it increments to 7 it starts over again at 1 Word format for set and read leap year and the day of the week functions are the same The only difference between the two EAFs is their function numbe...

Page 260: ...ogram to the Label instruction having the same identification number The main program executes from that point JMP 01 010 00 You can reduce scan time by selectively jumping over a portion of the progr...

Page 261: ...identification number can only appear in one location However a Label instruction can be the target of jumps from more than one location The Label instruction is always logically true Programmed as t...

Page 262: ...IFT RET Important Do not perform step 2 for a Return instruction 2 Enter octal identification number Removing a Label Instruction Remove the Label instruction by performing the following steps 1 Posit...

Page 263: ...C 2 16 Mini PLC 2 17 1920 3968 7808 2048 4096 7936 User Program Message Storage Area if used Subroutine Area Subroutines Main Program Timer Counter Preset Values PR or Bit Word Storage Total Decimal W...

Page 264: ...efines the beginning of the subroutine area Figure 17 2 Figure 17 2 Subroutine Programming Example JSR 01 112 00 10 013 112 02 U 012 114 06 116 02 116 02 116 13 012 11 01 LBL 114 06 116 11 12 13 EN FI...

Page 265: ...rogram The Subroutine Area instruction cannot be inserted between rungs in the main program It requires 1 word of memory it can be programmed only once and it cannot be removed except by clearing the...

Page 266: ...tion data is written to the output module from the data table The processor uses two I O image table bytes to communicate with block transfer modules The byte corresponding to the module s address in...

Page 267: ...ated in the program scan and completed in the I O scan as follows Program scan When the rung goes true the instruction is enabled The number of words to be transferred and the read or write bit that c...

Page 268: ...the preset value of a timer counter in a word address 1008 above the accumulated value address The analogy between block transfer and timer counter data and addresses is shown in Table 18 A Table 18...

Page 269: ...displayed 3 or 4 depends on the size of the data table Here is an explanation of each value This Value Stores the Data Address First possible address in the timer counter accumulated value area of th...

Page 270: ...hen the processor sees this boundary word it will not search further for block transfer data In addition the processor is prevented from finding other BCD values that could by chance be in the same co...

Page 271: ...default value of the module useful when programming bi directional block transfers For some modules the default value allows the module to decide the number of words to be transferred See the document...

Page 272: ...address of the instruction When the file address is entered into the instruction block the industrial terminal computes and displays the ending address based on the block length When reserving an are...

Page 273: ...transfer reads data from an I O module into the processor s input image table in one I O scan Programmed as an output instruction Block length depends on the type of module you are using Request for t...

Page 274: ...Address contains Storage location of file Block Transfer Read Data Addr 030 Module Addr Block Lengrth File 121 08 060 067 112 17 EN DN R 1 0 0 6 017 027 110 112 contains read enable bit and block len...

Page 275: ...following values The cursor moves automatically through the block transfer read instruction The values are DATA ADDRESS 030 MODULE ADDRESS 130 BLOCK LENGTH 05 FILE 070 074 where the Data Address is th...

Page 276: ...following steps Block Transfer 0 appears in the lower left corner of the screen above the processor s current programming mode BLOCK XFER 0 EN BLOCK X FER WRITE DATAADDR MODULE ADDR BLOCK LENGTH FILE...

Page 277: ...peration in 031 bit 17 for a Read operation in 030 Important These bits are automatically set by the Block Transfer Read and Write instructions When the processor searches the data addresses in the ti...

Page 278: ...starting from word 5 words of data are to be read from the module and loaded into the data table starting at word Input Image Table Low Byte 07 10229 I Data Table Block Length Code 010 Output Image T...

Page 279: ...LOCK LENGTH FILE 030 100 01 110 110 DN 110 07 010 07 The Block Transfer enable bit is 01007 the done bit is 11007 Note that the words BLOCK TRANSFER READ are flashing Insert the following values The c...

Page 280: ...he words BLOCK TRANSFER WRITE are flashing Insert the following values The cursor will move automatically through the block transfer read instruction The values are DATA ADDRESS 031 MODULE ADDRESS 142...

Page 281: ...k length can be changed according to the block lengths of the enabled instructions The block length of the last enabled block transfer instruction having a common module address governs the number of...

Page 282: ...be buffered because block transfer modules perform this function internally Buffer transferred data to ensure that both the transfer and the data are valid As an example readings from an open circuit...

Page 283: ...n these rungs Data can be moved from the buffer word by word using Get Put transfers or the entire file can be moved at once using a File to File Move instruction The choice depends on the kinds of di...

Page 284: ...10 02 151 222 Rung 3 111 11 Rung 1 014 07 050 114 07 050 G 111 051 G 222 052 G 333 Diagnostic Bit 10228 I Data in the buffer file 050 052 will be moved to 150 152 when A Done Bit 114 07 is set Valid t...

Page 285: ...ant to perform block transfer you must use the two Get method The Block Transfer rung must be programmed in a certain format Figure 18 9 It consists of condition instructions that are optional two Get...

Page 286: ...et instruction Figure 18 9 must be assigned an address in the timer counter preset area of the data table 1008 words above the first Get address As its data the second Get instruction stores a data ta...

Page 287: ...tput byte even though an input or output block transfer module can be used The next three digits identify the module location by rack group and slot The last digit is either a 6 to enable a write or a...

Page 288: ...ed addresses 1008 words above the first Get instructions As data they will store the starting address for block transfer data such as 050 and 060 The Output Energize instruction is addressed for a wri...

Page 289: ...different times special programming techniques must be used Loading Zeros One rung that can be programmed is a Get Put transfer Figure 18 12 It loads zeros into the timer counter accumulated word imm...

Page 290: ...1 0 0 5 Block Transfer Data Read 011 030 050 060 111 130 131 031 070 032 031 G 120 G 000 000 R W 2 0 Block Transfer Data Write 0 0 6 030 011 130 G 060 G 110 07 012 06 1 1 0 0 0 1 1 112 Bit 6 of 7 if a...

Page 291: ...mber of words is stored in the upper or lower Output Image Table byte that corresponds to the module s location in the I O rack The appropriate bits must be set On to specify a binary value that equal...

Page 292: ...ansfer Chapter 18 18 27 For example 5 words can be transferred by setting bits 00 and 02 high unconditionally in output image table word 014 The binary equivalent of 5 as stated in the look up table i...

Page 293: ...er program FILE 11 DN WORD TO FILE MOVE COUNTER ADDR POSITION FILE LENGTH FILE A FILE R 001 001 110 110 110 030 030 15 Output Instruction Counter must be externally indexed by user program Data is tra...

Page 294: ...nally Indexed Counter An internally indexed counter is incremented by the instruction itself No outside control is required You assign an address to the counter An internally indexed file instruction...

Page 295: ...ILE LENGTH FILE R FILE A 001 007 400 406 500 506 202 202 17 RATE PER SCAN 007 DN 202 15 Internally indexed file instruction Complete Mode of Operation In the complete mode the rate per scan is equal t...

Page 296: ...ransferred Once the file instruction is enabled it remains enabled for the number of scans necessary to complete the operation regardless of the rung condition At the time of completion if the rung is...

Page 297: ...to these values could result in unexpected machine operation with damage to equipment and or injury to personnel When the rung becomes True The data is transferred from the source file to the destinat...

Page 298: ...in the lower left corner of the Industrial Terminal Screen 10 EN FILE TO FILE MOVE COUNTER ADDR POSITION FILE LENGTH FILE R FILE A 001 001 110 110 110 110 030 030 17 RATE PER SCAN 001 DN 030 15 FILE...

Page 299: ...E R FILE A 001 001 110 116 110 116 200 200 17 RATE PER SCAN 007 DN 200 15 The cursor moved to the first digit of file A 400 EN FILE TO FILE MOVE COUNTER ADDR POSITION FILE LENGTH FILE R FILE A 001 007...

Page 300: ...HEXDECIMAL DATA MONITOR FILE TO FILE MOVE POSITION 001 COUNTER ADDR FILE A 200 400 406 FILE LENGTH FILE R 007 500 506 POSITION FILE A DATA FILE R DATA 001 002 003 004 005 006 007 0000 0000 0000 0000...

Page 301: ...ears in position 001 of file A The command buffer at the bottom of the screen still displays 1257 Cursor down one line We will now add information to position 002 HEXDECIMAL DATA MONITOR FILE TO FILE...

Page 302: ...displayed The word SEARCH appears in the lower left corner of the industrial terminal screen Puts the processor in the run program mode The word DISPLAY appears in the lower left corner of the indust...

Page 303: ...en Puts the processor in the run program mode The word DISPLAY appears in the lower left corner of the industrial terminal screen 1 HEXDECIMAL DATA MONITOR FILE TO FILE MOVE POSITION 001 COUNTER ADDR...

Page 304: ...2 1982 9715 5761 DATA 0281 HEXDECIMAL DATA MONITOR FILE TO FILE MOVE POSITION 001 COUNTER ADDR FILE A 200 400 406 FILE LENGTH FILE R 007 500 506 POSITION FILE A DATA FILE R DATA 001 002 003 004 005 00...

Page 305: ...alue represents the maximum number of words length in the file File A is the starting address of the source file for a File to Word Move instruction The word address is the source input word of a Word...

Page 306: ...value area of the data table Position Current word being operated upon accumulated value of the counter File Length Number of words in file preset value of the counter File R Starting address of the...

Page 307: ...ulate the accumulated value Do not inadvertently manipulate the preset or accumulated word Changes to these values could result in unexpected machine operation with damage to equipment and or injury t...

Page 308: ...address of the source file Word Address Address of the destination output word outside of the file Once you establish your file data you ll want to edit load or monitor your file data To perform these...

Page 309: ...01 Data 0010010 01010111 Header File Section Command Buffer HEXADECIMAL DATA MONITOR FILE TO FILE MOVE POSITION 001 Counter Addr 200 File A 400 406 File Length 007 File R 500 506 POSITION FILE A DATA...

Page 310: ...y They are identified in Figure 19 3 Header located at the top of the screen and contains information pertaining to its corresponding file instruction For example counter file and word addresses also...

Page 311: ...Examine On Bit Shift instructions are condition instructions that examine bits in a shift register You can specify the bit number to be examined and the starting address of the shift register Bit Shi...

Page 312: ...400 401 402 403 404 405 406 407 10386 I L L L L L L L L Upon false true rung transition input bit A from a particular input word shifts into the first bit of the bit shift register Bit 1 moves to the...

Page 313: ...hift Left instruction Programmed as an output instruction Key sequence Shift Reg 1 2 The counter is internally indexed and externally controlled by the ladder diagram logic in your program Operates in...

Page 314: ...table It represents the accumulated value of the instruction Number of Bits Number of bits in the file File Starting address of the file Input Address of the input bit Output Address of the output bi...

Page 315: ...ending at words 400 and 407 Figure 20 4 How the Processor Shifts a Bit to the Right 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 R R 32 17 R R 48 33 R R 64 49 R R 80 65 R R 96 81 R R 112 97 R R 128 113 R 1...

Page 316: ...ift the on or off status of input bit B directly into bit 123 as shown by the dotted line The instruction operates in the complete mode The status of the input bit is shifted into the last bit in the...

Page 317: ...ht The instruction should look like Figure 20 5 Figure 20 5 Bit Shift Right Example Rung EN BIT SHIFT LEFT COUNTER ADDR NUMBER OF BITS FILE INPUT OUTPUT 001 110 110 010 00 010 00 DN 020 10 030 17 030...

Page 318: ...OFF FILE BIT NO 001 070 00 110 SHIFT BIT 18 A display represented by Figure 20 6 shows the format of an Examine Off Bit Shift Figure 20 6 Examine Off Bit Shift Format EXAMINE OFF FILE BIT NO 001 110 S...

Page 319: ...067 070 00 400 SHIFT BIT This condition instruction examines a user specified bit in a bit shift register such as shown in Figure 20 1 or Figure 20 4 for an On 1 condition The instruction can be used...

Page 320: ...20 8 Examine On Bit Shift Format EXAMINE ON FILE BIT NO 001 110 SHIFT BIT Numbers shown are default values The number of default address digits initially displayed 3 4 or 5 will depend on the size of...

Page 321: ...instruction executes upon a true rung condition Important If file is shifted and the Set Bit Shift rung is still true new data in the same bit position will be set Here are some characteristics of th...

Page 322: ...e size of the data table Initially displayed default values are governed by the I O rack configuration This Value Stores This File Starting address of the file file of bit shift instruction Bit number...

Page 323: ...s shifted new data in the same bit position will be reset if the Reset Shift Bit rung is still true Here are some characteristics of a reset shift bit instruction Programmed as an output instruction R...

Page 324: ...ze of the data table Initially displayed default values are governed by the I O rack configuration This Value Stores This File Starting address of the file file of bit shift instruction Bit number Dec...

Page 325: ...bits wide In contrast sequencer instructions operate on files that are as many as 4 words 64 bits wide with as many as 999 rows A sequencer file can be represented graphically by a sequencer table Fig...

Page 326: ...indexed sequencer instructions increment to the next step and then the operation is performed A special programming technique called a mask is used with the sequencer instructions A mask is a means of...

Page 327: ...mask could cause unpredictable machine operation This could cause damage to your equipment and or injury to your personnel Only one step is executed at a time for each instruction The Sequencer Input...

Page 328: ...ADDR CURRENT STEP SEQ LENGTH WORDS PER STEP FILE 1 DN LOAD WORDS 1 2 3 4 030 17 030 15 110 110 010 001 030 000 Output instruction Increments then loads data Counter is indexed by the instruction Does...

Page 329: ...s the input word s to current step for equality False No action is taken ATTENTION The counter address for the Sequencer Output instruction should be reserved for that instruction Do not manipulate th...

Page 330: ...R OUTPUT COUNTER ADDR CURRENT STEP SEQ LENGTH WORDS PER STEP FILE 006 2 613 MASK 076 OUTPUT WORDS 2 3 4 200 001 600 075 1 012 013 EN DN 200 17 200 15 SEQUENCER INPUT COUNTER ADDR CURRENT STEP SEQ LENG...

Page 331: ...EP SEQ LENGTH WORDS PER STEP FILE 006 2 413 MASK 071 INPUT WORDS 2 3 4 200 001 400 070 1 110 201 To continue enter your data using the binary data monitor mode You will get your data from the workshee...

Page 332: ...PC MASK STEP FROM ADDR TO ADDR D E V I C E N A M E 1 2 3 4 5 6 17 10 07 00 WORD 2 17 10 07 00 WORD 3 17 10 07 00 WORD 4 Timer Note A filled in box means that each device is actuated Engineer 1 2 COUN...

Page 333: ...000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 001 002 003 004 005 006 DATA 00000000 00000000 The cursor is located on the last digit of the first word of DATA in the C...

Page 334: ...000000 INSERT Data is inserted into Step 001 of Word 1 Cursor down one line The cursor is on the last digit of the second word of DATA in the command buffer The digits in step 2 for word 2 are intensi...

Page 335: ...0 00000001 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 001 002 003 004 005 006 DATA 00000010 00000001 INSERT Cursor down one line The cursor is on the last digit of the thi...

Page 336: ...0010 00000000 The cursor is on the first digit of DATA in the command buffer The digits for INPUT ADDR 110 DATA are intensified Cursor down one line The display for MASK ADDR 070 DATA are intensified...

Page 337: ...display your rung DATA 00000010 01010001 CANCEL COMMAND The Sequencer Output instruction transfers the values of the current sequencer step to a specified output word Here are some characteristics of...

Page 338: ...screen SEQUENCER INPUT COUNTER ADDR CURRENT STEP SEQ LENGTH WORDS PER STEP FILE 001 1 110 MASK 010 INPUT WORDS 2 3 4 030 001 110 010 1 010 SEQUENCER INPUT COUNTER ADDR CURRENT STEP SEQ LENGTH WORDS PE...

Page 339: ...4 200 001 400 070 1 110 201 SEQUENCER INPUT COUNTER ADDR CURRENT STEP SEQ LENGTH WORDS PER STEP FILE 006 2 613 MASK 076 INPUT WORDS 2 3 4 200 001 600 075 1 012 013 EN DN 17 15 200 200 To continue ent...

Page 340: ...JECT NAME DESIGNER PROCESSOR DATA TABLE ADDR PAGE OF TO Mini PLC 2 16 FTS FTF SOL FTR MASK STEP FROM ADDR TO ADDR D E V I C E N A M E 1 2 3 4 5 6 17 10 07 00 WORD 2 17 10 07 00 WORD 3 17 10 07 00 WORD...

Page 341: ...00 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 001 002 003 004 005 006 DATA 00000000 00000000 The cursor is on the last digit of DATA of the first word in the comm...

Page 342: ...200 STEP 001 SEQUENCER LENGTH 006 FILE 600 613 OUTPUT ADDR 012 013 DATA 00000000 00000000 00000000 00000000 MASK ADDR 075 076 DATA 00000000 00000000 00000000 00000000 STEP WORD 1 WORD 2 00000000 0000...

Page 343: ...OR SEQUENCER OUTPUT COUNTER ADDR 200 STEP 001 SEQUENCER LENGTH 006 FILE 600 613 OUTPUT ADDR 012 013 DATA 00000000 00000000 00000000 00000000 MASK ADDR 075 076 DATA 00000000 00000000 00000000 00000000...

Page 344: ...me characteristics of the sequencer load instruction This instruction is programmed as an output instruction You cannot mask any unused bits The counter is internally indexed by the instruction extern...

Page 345: ...the lower left corner of the screen SEQUENCER INPUT COUNTER ADDR CURRENT STEP SEQ LENGTH WORDS PER STEP FILE 001 1 110 INPUT WORDS 2 3 4 030 001 110 1 010 EN DN 17 15 030 030 2 Insert the following v...

Page 346: ...F TO Bottle Filling Applications Mini PLC 2 16 MASK STEP FROM ADDR TO ADDR D E V I C E N A M E 1 2 3 4 5 6 17 10 07 00 WORD 2 17 10 07 00 WORD 3 17 10 07 00 WORD 4 Engineer COUNTER ADDR WORD ADDR MASK...

Page 347: ...s BINARY DATA MONITOR SEQUENCER OUTPUT COUNTER ADDR 056 STEP 008 SEQUENCER LENGTH 012 FILE 510 567 LOAD ADDR 110 DATA 00000000 00000000 STEP WORD 1 001 002 003 004 005 006 007 008 009 010 011 012 0000...

Page 348: ...area must be a Get instruction This identifies it as an STI The Get instruction must be used solely for the purpose of designating the time period of the STI The STI subroutine execution time should n...

Page 349: ...000 110 00 U 027 02 1 2 3 4 5 6 User Program Sample Program RUNG 1 RUNG 2 RUNG 3 RUNG 4 RUNG 5 RUNG 6 110 001 G 047 010 15 00 110 01 00 010 CTU 057 PR 999 AC 000 RUNG 8 RUNG 7 110 01 047 15 CTU 057 PR...

Page 350: ...lectable timed interrupt The STI subroutine must end with an unconditional Return instruction rung 10 of Figure 22 1 The function is disabled if you enter zero as the time base in the Get instruction...

Page 351: ...ution Time Less Than Service Time Subroutine Execution Time Greater Than Service Time Subroutine Execution Time Greater Than STI Period Figure 15 2b Figure 15 2c Figure 15 2d Figure 15 2e Figure 15 2a...

Page 352: ...2 02 Mini PLC 2 16 or Mini PLC 2 17 mode Messages are stored in the processor s memory after the END of program statement The 1770 T3 industrial terminal report generation features include as many as...

Page 353: ...values or bit status Message delete M D Message Number RETURN Removes message from processor memory Message index M I RETURN Lists messages used and the number of words in each message Automatic repor...

Page 354: ...SSAGE CONTROL WORDS ENTER 3 DIGIT WORD ADDRESS ADDRESS Enter the beginning word address of the message control word file The industrial terminal calculates and displays the words in the message contro...

Page 355: ...ars on the screen nnn message number A prompt READY FOR INPUT message is displayed Any subsequent keys pressed then become part of the message If you try to use a message number that already exists th...

Page 356: ...ower byte between delimiters Displays the 3 digit octal value at the assigned byte address XXXXX Enter 5 6 or 7 digit bit address between delimiters Displays the On or Off status of the assigned bit a...

Page 357: ...message number Message n appears on the screen Returns the display to the ladder diagram The message print command is valid for message 0 It prints out message control word addresses in a form similar...

Page 358: ...number SR6 IS OFF IN CYCLE 000 Returns the display to the ladder diagram Message Delete MD Accessible only in the Program or Remote Program mode the message delete command is used to delete messages f...

Page 359: ...tion MI appears on the screen This command cannot be terminated before completion It self terminates after the list is completed The display returns to the ladder diagram Enter messages into memory fr...

Page 360: ...K L Z X C V B N M LINE FEED RETURN RUB OUT REPT LOCK MODE SELECT ESC CTR SHIFT SHIFT 1 2 3 4 5 6 7 8 9 0 _ LOCK Q W E R T Y U I O P A S D F G H J K L Z X C V B N M LINE FEED RETURN RUB OUT REPT LOCK 1...

Page 361: ...REA CONFIGURATION COMPLETE PLEASE CONTINUE At this point change to the Alphanumeric Overlay cat no 1770 KAA MS n appears on a line underneath the previous message The letter n represents the number of...

Page 362: ...AY CONFIGURING MESSAGE AREA CONFIGURATION COMPLETE PLEASE CONTINUE At this point change to the Alphanumeric Overlay cat no 1770 KAA MR n appears on the screen The message n appears on the screen You h...

Page 363: ...EST MODE Change modes and continue Press Cancel Command to exit report generation You can enter automatic report generation by another method if you have the Alphanumeric Key top overlay cat no 1770 K...

Page 364: ...u can terminate automatic report generation by pressing Esc The display returns to the ladder diagram if automatic report generation was entered by a command from a peripheral device Messages 1 6 Bits...

Page 365: ...23 4 Example Program For Displaying Messages 1 6 265 04 L 027 10 027 16 Event Bit Busy Request Bit Message 1 Bit Storage U 027 10 Request Bit Message 1 Bit Storage 027 Bit Done 17 RUNG 1 RUNG 2 RUNG 3...

Page 366: ...Table 23 A If the location of the message control file is to be changed or you no longer need message 0 it can be deleted with the message delete command and re entered at any time Unlike messages 1...

Page 367: ...aced in corresponding slots Failure to observe this warning could result in hazardous or unexpected machine operation This could damage equipment and injure personnel The message control word file can...

Page 368: ...he screen SWITCH TO ALPHANUMERIC OVERLAY CONFIGURING MESSAGE AREA CONFIGURATION COMPLETE PLEASE CONTINUE If your message will contain graphics change to the Alphanumeric Graphics Overlay cat no 1770 K...

Page 369: ...character that is pressed to be repeated continuously until REPT LOCK is pressed again SHIFT Allows the next key pressed to be a shift character SHIFT LOCK Allows all subsequent keys pressed to be sh...

Page 370: ...P Turns Channel C outputs off CTRL I Horizontal tab that moves the cursor to the next preset 8th position CTRL K Clears the screen from cursor position to end of screen and moves the cursor to the to...

Page 371: ...IN CTRL P DL DLE DATA LINK ESCAPE CTRL Q D1 DC1 DEVICE CONTROL 1 CTRL R D2 DC2 DEVICE CONTROL 2 CRTL S D3 DC3 DEVICE CONTROL 3 CTRL T D4 DC4 DEVICE CONTROL 4 CTRL U NK NAK NEGATIVE ACKNOWLEDGE CTRL V...

Page 372: ...8 9 1 0 1 1 1 2 1 3 1 4 1 5 1 6 1 7 1 8 1 9 2 0 2 1 2 2 2 3 2 4 2 5 2 6 2 7 2 8 2 9 3 0 3 1 3 2 3 3 3 4 3 5 3 6 3 7 3 8 3 9 4 0 4 1 4 2 4 3 4 4 4 5 4 6 4 7 4 8 4 9 5 0 5 1 5 2 5 3 5 4 5 5 5 6 5 7 5 8...

Page 373: ...example CTRL P 3 9 9 A uses 3 words of memory storing CRTL P in one byte and remaining characters in one byte each If the cursor had been at column 0 and line 0 and normal space and line feed commands...

Page 374: ...ns editing other instructions Changes to an existing program can be made through a variety of editing functions Table 24 A Instructions and rungs can be added or deleted addresses data and bits can be...

Page 375: ...first digit Address Program Position the cursor on a word or block instruction with data and press Insert Enter the first digit of the first data value of the instruction Then use the and key as neede...

Page 376: ...st Instruction at the Beginning of Another Rung 1 Position the cursor on the previous rung s output instruction 2 Press Insert 3 Insert instruction 4 Insert address If the cursor is on the END stateme...

Page 377: ...and INSTRUCTIONS DO NOT MATCH message is displayed Inserting a Rung A rung can be inserted anywhere within a program The cursor can be positioned on any instruction of a rung The new rung is inserted...

Page 378: ...instruction except Mathematics and Put instructions in the program mode without removing and re entering the instruction Change the data of any word or block instruction by performing the following s...

Page 379: ...un Program mode by performing the following steps 1 Position the cursor on the appropriate instruction 2 Press Search 51 The key sequence displays the message ON LINE DATA CHANGE ENTER DIGITS FOR Requ...

Page 380: ...the industrial terminal displays the error message MEMORY PROTECT ENABLED You can use the 1770 T3 terminal to search your program for specific instruction and specific word addresses first condition...

Page 381: ...n searched for Press SEARCH to locate the next occurrence of instruction Locate specific word address SEARCH address Any Locates this address in the program excluding and instructions and addresses in...

Page 382: ...d address except for and Once either key sequence is pressed this information and an EXECUTING SEARCH message is displayed near the bottom of the screen The industrial terminal begins to search for th...

Page 383: ...reen 2 Press When the processor is operating in any mode you can access the output instruction by performing the following step 1 Press Search Searching for a Single Rung Single Rung Display Upon powe...

Page 384: ...directly to the first rung from anywhere in the program When you press Search the display goes to the next boundary in the direction indicated By pressing the SEARCH key sequence again a subsequent bo...

Page 385: ...LEAR MEMORY 9 9 Remote Prog Position the cursor on the first instruction of the program Clears user program and messages Does not clear data table unless the cursor is on the first program instruction...

Page 386: ...the bits in the data table are cleared Total Memory Clear You can clear the complete memory Perform the following steps 1 Position the cursor on the first instruction of the program 2 Press Clear Memo...

Page 387: ...H HELP Any Provides a list of all control functions that use the SEARCH key Record function directory RECORD HELP Any Provides a list of functions that use the RECORD KEY Clear memory directory CLEAR...

Page 388: ...el in the machine area before changing machine operation online To minimize the chances of error maintain accurate data table assignments sheets and use the data initialization key described in this s...

Page 389: ...Init key performs two functions in the online programming mode It allows entry of BCD data values stored at the instruction address It resets status bits Use the Data Init key when programming a data...

Page 390: ...struction address is divided into two sections BCD values bits 00 13 status bits bits 14 17 During program execution these bits are constantly changing to reflect current states and values of program...

Page 391: ...ogram scan only There are two types of one shots leading edge trailing edge Leading Edge One Shot A leading edge one shot sets a bit for one scan when its input condition has made a false to true tran...

Page 392: ...lse and then a false to true transition Trailing Edge One Shot A trailing edge one shot sets a bit for one scan when its input condition has made a true to false transition The true to false transitio...

Page 393: ...rred along with the ladder diagram You can use either one of two methods to inhibit operation MCR method the processor is disabled for one scan before I O update Figure 25 3 Figure 25 3 Automatic Rest...

Page 394: ...d Cascading is a programming technique that extends the ranges of timer and or counter instructions beyond the maximum values that may be accumulated A 24 hour clock program Figure 25 5 is an example...

Page 395: ...PR of counter 031 counter 032 increments This rung counts the hours in a day Rung 4 When AC PR of counter 031 031 15 resets counter 031 s accumulated value Rung 5 When AC PR of counter 032 032 15 res...

Page 396: ...nput module that measures Celsius temperature A block transfer read transfers the temperature into the processor s data table For your ease you would like to convert the recorded Celsius temperature i...

Page 397: ...he timer initiates timing for three seconds Rung 5 If three seconds have elapsed an output at address 011 15 will energize a heating device which will bring the temperature back into the desired range...

Page 398: ...to the subroutine area label instruction when the timer s accumulated value reaches 5 seconds Rungs 3 5 Converts Celsius temperature to Fahrenheit temperature exactly as in application one Rung 6 The...

Page 399: ...instruction rung logic shows If bit 110 17 is false then bit 011 15 is energized if 110 16 is set This is normal operation If bit 110 17 is true then bit 011 15 is reset regardless of the state of 11...

Page 400: ...f instructions that the processor cannot properly perform Or it is possible to program paired instructions such as a Jump Label with improper syntax If a run time error occurs and your processor is in...

Page 401: ...mitting the label instruction corresponding to the jump instruction Jumping over a temporary end instruction Label Multiple placement of the same label identification number Removing a label instructi...

Page 402: ...ulation can function when the processor is operating in the Program or Remote Program mode When in Remote Test or Run Program mode the program can override the bit status in the next scan Use or to cu...

Page 403: ...t Address DISPLAY Any Provides a continuous display of the on off history of the addressed bit in hours minutes and seconds Can obtain a hardcopy printout of contact histogram by connecting a peripher...

Page 404: ...of data stored in the buffer is displayed To terminate the contact histogram press Cancel Command You can use the force functions to selectively force an input bit or output bit on or off The process...

Page 405: ...tion You can remove all force on or all force off functions at once in ladder diagram display by pressing either of the following key sequences Force On Clear Memory Force Off Clear Memory The on off...

Page 406: ...instruction acts as a program boundary because instructions below it in user program are not scanned or operated upon Instead the processor immediately scans the I O image table then scans the user p...

Page 407: ...ress Remove T End Entering a Rung After a Temporary End Instruction Enter a rung after a Temporary End instruction by performing the following steps 1 Place the cursor on the Temporary End instruction...

Page 408: ...at no output device energizes unconditionally 6 Connect an output module to a single device that causes machine motion 7 Check the behavior of the connected output device To do this simulate the input...

Page 409: ...hese industrial terminal ERR messages do not contain the 4 digit hexadecimal value and will not cause the processor to fault If an illegal opcode occurs compare the rung containing it to the equivalen...

Page 410: ...ords 48 3968 Floating words 48 7808 Floating words Memory Size 16 bit words RAM 2K 4K 7 75K I O Scan 0 82 ms 2 slot addressing 2 00 ms 1 slot addressing 2 15 ms 1 2 slot addressing Program Scan 7 5 ms...

Page 411: ...with a power supply 1772 LWP These processors have the same features as above and they also have a self contained power supply Input Voltage 120 220 V ac switch selectable Input Voltage Range 97 to 13...

Page 412: ...O Power 2A 4A 4A 4A Clock Calendar Relay TImer Counter 1 40 488 488 488 488 488 488 488 488 488 Data Manipulation Block Transfer 3 Digit Math Program Control Jump Subroutine File Sequencer 6 Digit Mat...

Page 413: ...PLC 2 05 LS LSP Mini PLC 2 02 LZ LZP Mini PLC 2 16 LX LXP Mini PLC 2 17 LW LWP Natural Log Base 10 Log AF4 Log 10 Log 10 Log 10 Log 10 Reciprocal Sin Cos Square Root AF4 Sq Rt Sq Rt no no recip recip...

Page 414: ...pends on the digits used and the place value of each digit Table C A Numbering System Conversion Chart Hexadecimal Binary Decimal Octal 0 1 2 3 4 5 6 7 8 9 A B C D E F 0000 0001 0010 0011 0100 0101 01...

Page 415: ...es digits The value of an octal number depends on the digits used and the place value of each digit Each place value in an octal number represents a power of eight starting with eight raised to the ze...

Page 416: ...numbers together Figure C 3 Binary Numbering System 1 1 1 1 1 1 1 0 1 x 27 128 1 x 26 64 1 x 25 32 0 x 24 0 1 x 23 8 1 x 22 4 1 x 21 2 1 x 20 1 128 64 32 8 4 2 1___ 23910 111011112 23910 10406 I Bina...

Page 417: ...stems Appendix C C 4 Figure C 4 Binary Coded Decimal 10407 I 0 0 1 0 0 0 1 1 1 0 0 1 0 x 23 0 0 x 22 0 1 x 21 21 0 0 x 20 0 0 x 23 0 0 x 22 0 1 x 21 2 1 x 20 1 1 x 23 8 0 x 22 0 0 x 21 0 1 x 20 1 2 3...

Page 418: ...these numbers together Figure C 5 Binary Coded Octal 1 1 1 1 1 1 1 0 21 21 21 20 20 20 22 22 3 5 78 10408 I Get and Put word values use the hexadecimal numbering system This is a numbering system made...

Page 419: ...Number Systems Appendix C C 6 Figure C 6 Hexadecimal to Decimal Conversion 0 1 7 A 0 x 163 0 1 x 162 256 10 x 161 160 7 x 160 7 256 160 __7___ 42310 01A716 10409 I...

Page 420: ...tricity AC Input Module An I O module that converts various ac signals originating at user devices to the appropriate logic level signal for use within the processor AC Output Module An I O module tha...

Page 421: ...based on external conditions and or timing function Attribute A means of flashing underlining and or blinking data on a display device Backplane A printed circuit board located in the back of a chassi...

Page 422: ...d data table area in which bits can be set or reset without directly affecting or controlling output devices However any storage bit can be monitored as necessary in the user program Block A group of...

Page 423: ...circuits in a processor that control the interpretation and execution of the user program stored in processor memory Channel Timeout The time a device allows between operations before terminating comm...

Page 424: ...e A device designed for data communication between a processor and a computer Contact Histogram A feature which allows a display or printout of the On and Off times for any selected data table bit Con...

Page 425: ...by the user program as required by the application Data Table The part of processor memory that contains I O values and files where data is monitored manipulated and changed for control purposes Data...

Page 426: ...and software data such as tables listings and diagrams to provide reference information for processor application operation and maintenance Download The process of transferring data from a bulk stora...

Page 427: ...cific operation that is accomplished through processing one instruction a series of instructions or a complete program Execution Time The total time required for the execution of one specific operatio...

Page 428: ...to improve access to records or to change the storage space required File Management 1 A term that defines the functions of creation insertion deletion or updating of stored files and records in file...

Page 429: ...every I O scan each discrete input controls a bit in the input image table each discrete output is controlled by a bit in the output image table Information The meaning assigned to data by known conv...

Page 430: ...time required for the processor to monitor inputs and control outputs I O Terminal A terminal on the I O module One I O terminal has a corresponding bit address in the data table Isolated I O Module...

Page 431: ...edge of the input pulse Least Significant Bit LSB The bit that represents the smallest value in a nibble byte or word Least Significant Digit LSD The digit that represents the smallest value in a byte...

Page 432: ...on A storage position in memory Uniquely specified in Allen Bradley processors by 5 6 7 8 or 9 digit address Logic A systematic means of solving complex problems through the repeated use of the AND OR...

Page 433: ...A diagram showing a system s memory addresses and what programs and data are assigned to each section of memory Message 1 A meaningful combination of alphanumeric characters which establishes the cont...

Page 434: ...alert the operator of possible application malfunctions Most Significant Bit MSB The bit representing the greatest value of a nibble byte or word Most Significant Digit MSD The digit representing the...

Page 435: ...l Bureau of Standards NEC See National Electrical Code NEMA Standards Consensus standards for electrical equipment approved by the members of the National Electrical Manufacturers Association NEMA NEM...

Page 436: ...a peripheral device while the application is operating normally One Shot A programming technique which sets a storage bit or output bit for only one program scan See Leading Edge One Shot and Trailing...

Page 437: ...en or odd Parity Check A check in which the parity bit is compared with a previously computed parity bit Peripheral Equipment Units which communicate with the programmable controller but are not part...

Page 438: ...control system Programming Plug A user accessible connection that establishes the operating parameters of a module PROM Programmable Read Only Memory A type of ROM that requires an electrical operati...

Page 439: ...em Each device in the system votes on every control decision If one device makes a decision that does not agree with the decision made by the other devices it drops out of the loop and the others cont...

Page 440: ...mand but not changed RS 232 C An EIA electrical connection standard Most often used as a standard interface for serial binary communication between data terminal equipment and data communications equi...

Page 441: ...s of a system in its own right 2 A system within another system Suppression Device A unit that attenuates the magnitude of electrical noise Surge A transient current or power Synchronous A type of ser...

Page 442: ...processes or transmits data Toggle Switch A panel mounted switch with an extended lever normally used for On Off switching Trailing Edge One Shot A programming technique that sets a bit for a scan whe...

Page 443: ...without respect to what tasks the system is performing Watchdog Timer A timer that monitors logic circuits controlling the processor If the watchdog timer is not in its programmed time period it will...

Page 444: ...e for ZCL zones ZCL Zones Assigned program areas which may control the same outputs through separate rungs at different times Each ZCL zone is bound and controlled by ZCL instructions If all ZCL zones...

Page 445: ...rs E 10 Editing Functions E 11 Execution Timer and Words Per Instruction E 12 FIFO Load and FIFO Unload E 16 Graphic Programming E 17 Help E 19 Memory Layout E 20 Memory Structure E 211 PID Control Bl...

Page 446: ...011 012 013 014 015 0070 0072 0074 0076 0078 046 047 048 049 050 0140 0142 0144 0146 0148 081 082 083 084 085 0210 0212 0214 0216 0218 016 017 018 019 020 0080 0082 0084 0086 0088 051 052 053 054 055...

Page 447: ...16 has this additional number of data table blocks 16 17 18 19 20 21 22 23 20488 2176 2304 2432 2560 2688 2816 2944 24 25 26 27 28 29 30 31 3072 3200 3328 3456 3584 3712 3840 3968 The Mini PLC 2 17 ha...

Page 448: ...04 DN 011 06 111 06 EN BLOCK XFER READ DATAADDR MODULE ADDR BLOCK LENGTH FILE 031 110 05 300 304 DN 011 07 111 07 Set block lengths equal or to default value for module Enter both instruction blocks f...

Page 449: ...entered from the module address Remains on for 1 program scan following successful transfer Two GET Method WYZ RGS G 0RGST Conditions G XYZ ABC optional 10410 I Here is an explanation of the optional...

Page 450: ...user program from the position of the cursor to the first boundary i e temporary end subroutine area or end statement Does not clear data table or messages Partial memory clear CLEAR MEMORY 99 Progra...

Page 451: ...he counter continues counting after the preset value is reached The accumulated value can be reset by the CTR instruction When the rung is true If AC 999 bit 14 is set When AC PR bits 15 and 17 are se...

Page 452: ...S Any Prints the first 20 lines of binary data monitor Display DISPLAY 1 Any Displays the hexadecimal data monitor Print DISPLAY 1 RECORD Any Prints the first 20 lines of hexadecimal data monitor Disp...

Page 453: ...LE 12 DN FILE TO WORD MOVE COUNTER ADDR POSITION FILE LENGTH FILE A WORD ADDR 001 003 200 202 010 030 030 15 Same as Word To File Important Numbers shown are default values The number of default addre...

Page 454: ...uare Root BCD to Binary Binary to BCD FIFO Load FIFO Unload Log10 Sin x Cos x 10x 01 02 03 04 05 13 14 28 29 30 35 36 37 The Mini PLC 2 17 can perform these additional functions Loge Y to the X y x Po...

Page 455: ...ram Position the cursor on a word or block instruction with data and press Insert Enter the first digit of the first data value of the instruction Then use the and key as needed to cursor up to the wo...

Page 456: ...4 11 13 10 10 10 10 10 10 7 13 13 14 10 10 10 1 1 1 1 1 1 1 1 1 1 1 1 Counter Reset Retentive Timer Reset Timer On Delay Retentive Timer On Delay Timer Off Delay Up Counter Down Counter CTR RTR TON RT...

Page 457: ...10 11 9 3 4 3 4 5 6 5 6 9 8 18 20 30 30 30 30 30 31 31 116 116 117 117 55 55 56 55 10 10 11 11 1 1 2 2 3 3 3 3 3 3 3 3 3 5 5 1 1 2 2 Examine Off Bit Shift Examine On Bit Shift Set Bit Shift Reset Bit...

Page 458: ...Transfer Read Block Transfer Write Sequencer Output Sequence input Sequencer Load File To File Move Word To File Move File To Word Move LBL RET JSR JMP SEQ 0 SEQ 1 SEQ 2 FILE 10 FILE 11 FILE 12 17 34...

Page 459: ...EAF 12 EAF 15 EAF 16 EAF 17 EAF 27 EAF 31 EAF 32 EAF 33 EAF 34 EAF 06 EAF 06 EAF 07 EAF 07 217 225 167 203 205 138 2450 typical 3500 max 1727 2071 1500 1620 2463 6787 2784 2103 3374 10038 4260 34430 1...

Page 460: ...ile Address Result Word Address Number of Words Currently in File Input Word Address File Length G 070 00 050 000 G 070 00 044 000 G 070 00 The File 130 EXECUTE AUX FUNCTION FUNCTION NUMBER DATAADDR R...

Page 461: ...Control Code Key Sequence Function CTRL P Column Line A Positions the cursor at the specified column and line number CTRL P A positions the cursor at the top left corner of the screen CTRL P F Moves t...

Page 462: ...L P DL DLE DATA LINK ESCAPE CTRL Q D1 DC1 DEVICE CONTROL 1 CTRL R D2 DC2 DEVICE CONTROL 2 CRTL S D3 DC3 DEVICE CONTROL 3 CTRL T D4 DC4 DEVICE CONTROL 4 CTRL U NK NAK NEGATIVE ACKNOWLEDGE CTRL V SY SYN...

Page 463: ...RD KEY Clear memory directory CLEAR MEMORY HELP Remote Prog Provides a list of all functions that use the CLEAR MEMORY key Data monitor directory DISPLAY HELP Any Provides the choice of data monitor d...

Page 464: ...rogram Area 0001 words User Message Area 0000 words Unused Memory Available 7807 words Mini PLC 2 02 Data Table Size 128 words User Program Area 0001 words User Message Area 0000 words Unused Memory A...

Page 465: ...00 17 00 17 00 17 00 17 00 17 00 May not be used for accumulated values Not available for bit word storage Bits in this word are used by the processor Unused timer counter memory words can reduce data...

Page 466: ...Mini PLC 2 16 Mini PLC 2 17 3577 17 3777 17 7577 17177 17 17 7777 17377 17 17 Mini PLC 2 02 Mini PLC 2 16 Mini PLC 2 17 Mini PLC 2 02 Mini PLC 2 16 Mini PLC 2 17 6 6 Output Image Table Rack 2 1 7 Inp...

Page 467: ...ta table size and increase user program area Do not use word 127 for block transfer data storage 1 2 3 4 5 1 2 3 5 4 User Program 2048 128 Configured for Can be decreased to 48 words 6 6 Output Image...

Page 468: ...E 1 3 07 Input Format for Series C or later Binary 0 BCD 1 10 Dead Band set by Instruction Out of DB 0 Within DB 1 1 11 Maximum Output Alarm set by Instruction Within limit 0 Above limit 1 1 12 Minim...

Page 469: ...ss Variable Sign Set by Instruction Pos 0 Neg 1 1 07 Error Sign Set by Instruction Pos 0 Neg 1 1 10 Resume Control From Last State Disabled on first scan a new CO is calculated Enabled on first scan t...

Page 470: ...ec Word 05 Integral Gain Term 1 TI Range 00 00 99 99 Units rep min Term KD Range Bit set 00 01 99 99 Bit reset 000 1 999 9 Units sec Word 06 Derivative Gain Term TD Range 00 00 99 99 Unites min Range...

Page 471: ...00 100 Units Percent Range 0000 100 Units Percent Word 13 Minimum Control Output Range 0000 100 Units Percent Range 0000 99 99 Units sec Word 14 Loop Update Time Range 00 00 99 99 Units sec Range 0000...

Page 472: ...N switch 5 is OFF the I O is not in complementary fashion 32 pt I O only Check the switch settings and module placement Red has a possible hardware failure program is not executing if switch 1 of the...

Page 473: ...or Off status of the assigned bit address Report Generation Commands Command Key Sequence Description Enter report generation function RECORD DISPLAY Set baud rate Message Code Keys Puts industrial t...

Page 474: ...d for Press SEARCH to locate the next occurrence of instruction Locate specific word address SEARCH address Any Locates this address in the program excluding and instructions and addresses in files Pr...

Page 475: ...H WORDS PER STEP FILE 1 DN LOAD WORDS 1 2 3 4 030 17 030 15 110 110 010 001 030 000 Output instruction Increments then loads data Counter is indexed by the instruction Does not mask Requires 4 7 words...

Page 476: ...te switch only on PLC 2 16 and 2 17 series C or later and PLC 2 02 series A or later 1 2 3 4 5 When using 2 slot addressing and 8 pt I O modules a 16 slot chassis equals one rack which can address 128...

Page 477: ...is OFF Switch 7 may be either ON or OFF Contents of the EEPROM memory module area transferred to RAM memory whether or not RAM memory is valid If switch 6 is OFF your processor powers up in the mode s...

Page 478: ...lue to 000 When the rung is true and AC PR bits 15 and 17 set When the rung is false bits 15 and 17 reset TOF Timer Off Delay XXX TOF TB PR YYY AC ZZZ When the rung is true the timer resets the accumu...

Page 479: ...set indicates subroutine execution time plus program transition time exceed service time 03 Reserved 04 05 06 07 Reserved for Data Highway set when the processor is connected to the line and actively...

Page 480: ...3 B backpanel grounding 4 15 mounting 4 14 4 15 batteries disposing 4 29 battery backup 3 6 4 28 BCD numbering C 3 BCD to Binary 14 19 BCO numbering C 5 bi directional block transfer 18 12 binary code...

Page 481: ...19 3 conditioning 2 7 2 8 conductor categories 4 3 connecting industrial terminal 4 42 more than one power supply 4 40 power to power supplies 4 37 connection diagram addressing worksheet 5 2 contact...

Page 482: ...utput Latch Unlatch 9 7 programs 24 1 Put 12 3 quick reference E 11 Retentive Timer On Reset 11 6 Timer On Timer Off 11 4 Up Down Counter 11 10 ZCL 10 5 EEPROM 1 2 3 12 4 29 electrostatic discharge 4...

Page 483: ...3 1 optional equipment 3 7 series changes 3 2 special 3 3 help directories 24 14 E 19 help reference E 19 hexadecimal numbering C 5 hexadecimal values 1 3 I I O image table 2 5 I O modules installing...

Page 484: ...o Base e 15 5 Master Control Reset 10 1 Multiplication 14 8 Output Energize 9 5 Output Latch 9 6 output override 10 1 Output Unlatch 9 6 PID 16 1 programming 9 3 Put 12 2 Reciprocal 14 18 relay like 9...

Page 485: ...ey switch 3 5 mounting backpanel 4 14 components on the backpanel 4 15 processor components 4 17 Multiplication 13 2 14 8 N nesting branches 9 11 number systems BCD C 3 BCO C 5 binary C 3 decimal C 1...

Page 486: ...garithmic instructions 15 1 maintaining 6 1 master control relay 4 43 math instructions 14 1 memory 2 4 memory organization 7 1 message storage 2 7 output 2 8 planning system 4 2 power supply 2 8 proc...

Page 487: ...ift 20 13 restart 25 3 Retentive Timer On 11 4 Retentive Timer Reset 11 5 Return 17 3 run time errors 6 3 26 1 S scan average time 8 3 function 8 1 sequence 2 10 8 2 theory 8 1 search functions 24 7 2...

Page 488: ...e E 34 Retentive Timer On 11 4 Retentive Timer Reset 11 5 status bits 11 2 Timer Off Delay 11 3 Timer On Delay 11 2 Timer Off Delay 11 3 Timer On Delay 11 2 timer counter storage 2 4 total memory clea...

Page 489: ...Index I 10 wiring arms 4 24 4 32 word 7 1 Word to File Move 19 13 words per instruction E 12 Y Y to the X 14 9 Z ZCL 10 1 Zone Control Last State See ZCL...

Page 490: ...d The Netherlands Turkey United Arab Emirates United Kingdom United States Uruguay Venezuela Yugoslavia World Headquarters Allen Bradley 1201 South Second Street Milwaukee WI 53204 USA Tel 1 414 382 2...

Reviews: