background image

Mnemonics

Appendix C
Identifying HHT Function Keys & Instruction

C–4

Mnemonic:

Instruction:

GRT

greater than

HSC

high–speed counter

IID

I/O interrupt disable

IIE

I/O interrupt enable

IIM

immediate input with mask

INT

I/O Interrupt

IOM

immediate output with mask

JMP

jump to label

JSR

jump to subroutine

LBL

label

LEQ

less than or equal to

LES

less than

LFL

LIFO load

LFU

LIFO unload

LIM

limit  test

MCR

master control reset

MEQ

masked comparison for equal

MOV

move

MUL

multiply

MVM

masked move

NEG

negate

NEQ

not equal

NOT

not

OR

or

OSR

one shot rising

OTE

output energize

OTL

output latch

OTU

output unlatch

PID

proportional integral derivative

REF

I/O refresh

RES

reset

RET

return from subroutine

RPI

reset pending I/O interrupt

RTO

retentive on–delay timer

SBR

subroutine

Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Содержание Allen-Bradley 1747-PT1

Страница 1: ...rutilized and idle equipment along with credit for buybacks and trade ins Custom engineering so your equipment works exactly as you specify Critical and expedited services Leasing Rentals Demos In sto...

Страница 2: ...ALLEN BRADLEY The Getting Started Guide for HHT Catalog Number 1747 PTA1E 1747 PT1 User Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Страница 3: ...onsibility or liability for actual use based on the examples and diagrams No patent liability is assumed by Allen Bradley Company with respect to use of information circuits equipment or software desc...

Страница 4: ...and be able to interpret the ladder logic instructions required to control your application If you do not contact your local Allen Bradley representative for information on available training courses...

Страница 5: ...ocumentation The following documents contain additional information concerning Allen Bradley SLC and PLC products To obtain a copy contact your local Allen Bradley office or distributor For Read this...

Страница 6: ...rvices worldwide with 78 Sales Support offices 494 Authorized Distributors and 242 authorized Systems Integrators located throughout the United States plus Allen Bradley representatives in every major...

Страница 7: ...External I O 2 4 External I O Addressing Formats 2 5 HHT Display of Instructions Addresses 2 5 Ladder Logic Concepts 2 6 True False Status 2 6 Logical Continuity 2 7 Processor Operating Cycle 2 8 Cha...

Страница 8: ...he Program A 1 Adding an Input Branch A 2 Inserting an Instruction A 2 Adding an Output Branch A 2 Inserting an Instruction A 3 Saving the Program A 3 Downloading the Program A 3 Testing the Ladder Pr...

Страница 9: ...up your equipment in preparation for the exercises in later chapters Topics include Controller Styles Setting up a Demo Unit Setting up a Field Wired Controller Installing the Memory Pak Battery and C...

Страница 10: ...ed in a single unit You can add an expansion rack to the fixed controller SLC 500 Modular Controller Power Supply Processor Input Modules Output Module Output Terminals Input Terminals Processor CPU P...

Страница 11: ...o unit It is completely wired with 12 external inputs 6 push buttons and 6 selector switches and 8 external outputs pilot lights Note the On Off Power Switch and the Power Supply Receptacle on the dem...

Страница 12: ...he exercises in this guide The HHT with communication cable the memory pak and the battery are supplied separately Install the memory pak battery and communication cable as follows 1 Install the memor...

Страница 13: ...rt the memory pak in its compartment as indicated in the following figure Backside of HHT After the memory pak is in the compartment press down on handle to secure connector in socket Artisan Technolo...

Страница 14: ...ing leave the battery low defeat jumper inserted in the battery socket The HHT will be functional but your user program will be cleared form memory when you de energize the HHT If you do not download...

Страница 15: ...the 1747 C10 communication cable to the top of the HHT The other connector plugs into the communication port on the front of the fixed I O controller or into the communication port on the front of the...

Страница 16: ...storage and later use The HHT is menu driven The display area accommodates 8 lines x 40 characters You can display five rungs of a user program When monitoring the program in the RUN mode instructions...

Страница 17: ...directly accessible Menu function keys are selected with F1 to F5 keys When the symbol is present pressing ENTER will toggle additional menu functions File Name 101 Prog Name 1492 File Name Type Size...

Страница 18: ...F5 2 0 0 0 Indicates that the HHT is in SHIFT mode e g to enter the letter I you do not have to first select SHIFT Cursor Keys Use these four green arrow keys to Correct data entry errors either type...

Страница 19: ...ain the status of inputs outputs the processor timers counters and so on Notes on terminology The term program used in Hand Held Terminal HHT displays and documentation is equivalent to the term proce...

Страница 20: ...ies it for use in the program file For example an input point has an address that represents its location in the input data file Likewise a timer in the timer data file has an address associated with...

Страница 21: ...t module in slot 1 Pushbutton 0 is wired to terminal 0 Pressing pushbutton 0 will cause the corresponding status bit in the input data file to go from 0 to 1 Closing an external input circuit changes...

Страница 22: ...ave the form O e b where O Output data file Element or slot delimiter e Slot number of the output module Bit or terminal delimiter b Terminal number used with output device Examples I 1 0 Input slot 1...

Страница 23: ...es as shown below F1 F2 F3 F4 F5 2 0 0 0 2 INS_RNG MOD_RNG SEARCH DEL_RNG UND_RNG OFL NO FORCE OTE O0 3 0 0 END These numbers provide you with the follow ing ladder program information When you locate...

Страница 24: ...ote in the example below each instruction has a name Examine if Closed a mnemonic XIC and an address I 1 0 A simple rung using bit instructions XIC O 3 0 0 I 1 0 0 I 1 0 1 XIO OTE Input Instructions O...

Страница 25: ...tions in a rung the OTE output instruction will become or remain false We then say that rung conditions are false The figure below indicates the data file conditions under which the rung is true Input...

Страница 26: ...pdated with this information The ladder program is executed The input data file is evaluated the ladder rung is solved and the output data file is updated The output data file information is transferr...

Страница 27: ...if you are using the 1746 A2 expansion rack Use the HHT to create a program Clear the HHT memory Name the program 1000 Enter the controller configuration Enter a 1 rung ladder program Save the progra...

Страница 28: ...bers Note that slot numbers are indicated in the figure above In fixed controllers slot 0 applies to the processor and fixed I O points slots 1 and 2 apply to I O modules located in the expansion rack...

Страница 29: ...Processor CPU Modules Side View CAT SLC 500 1747 L _ _ _ Processor Catalog Number Label for Processor Catalog and Serial Number I O Modules Racks Side View CAT SLC 500 1746 _ _ _ Label for Rack Catal...

Страница 30: ...O addresses that are consistent with the configuration indicated above If you are using some other controller configuration keep in mind that these addresses may not be valid for your controller A pr...

Страница 31: ...F4 F5 CHG_NAM CRT_FIL EDT_FIL OFL MEM_MAP DEL_FIL 2345 or anything other than DEFAULT indicates that a program is in the HHT this display appears if a program is not in the HHT File Name Prog Name DE...

Страница 32: ...e Name Program Name DEFAULT ENTER NAME DEFAULT F1 F2 F3 F4 F5 OFL 4 Name your program 1000 Press 1 0 0 0 SPACE ENTER The program name is entered 5 Exit this menu level by pressing ESC The following di...

Страница 33: ...F1 F2 F3 F4 F5 TYPE SERIES 3 Press F1 TYPE The following display appears Type 1747 L511 CPU 1K USER MEMORY Series Memory Size 1 K INSTRUCTIONS F1 F2 F3 F4 F5 Type 1747 L511 CPU 1K USER MEMORY OTHER 4...

Страница 34: ...and 3 The next task is to assign the I O module slots For our example we use slots 1 2 and 3 2 Press F2 MOD_SLT The following display appears Rack 1 1746 A4 4 SLOT RACK Rack 2 NONE Rack 3 NONE Slot 0...

Страница 35: ...NONE appears on the prompt line 10 Assign 1746 OA8 in slot 3 press the seven times Then press ENTER The following display appears Rack 1 1746 A4 4 SLOT RACK Rack 2 NONE Rack 3 NONE Slot 0 1747 L511 C...

Страница 36: ...xternal I O in chapter 2 2 Press F2 NEXT_FL The following display appears I1 1 0 0 0 Address 15 data 0 I1 1 0 0000 I1 2 0 0000 0000 F1 F2 F3 F4 F5 ADDRESS NEXT_FL PREV_FL NEXT_PG PREV_PG OFL 8 bits 4...

Страница 37: ...Entering a Rung To enter the rung do the following 1 Begin where we ended on the previous page at the program directory display 2 Press F3 EDT_FIL The following display appears File Name Prog Name 10...

Страница 38: ...he following display appears ENTER BIT ADDR ZOOM on XIC NAME EXAMINE IF CLOSED BIT ADDR F1 F2 F3 F4 F5 2 0 0 0 Note that the HHT shifts for you 4 At the ENTER BIT ADDR prompt type the address I 1 0 th...

Страница 39: ...0 2 Type bit address O 3 0 then ENTER If you entered the wrong instruction by mistake just press ESC and try again 3 Press F5 ACCEPT then press ESC twice Then press F5 ACP_ RNG The following display a...

Страница 40: ...T OFL Future Access Yes MODIFY OPTIONS ACCEPT TO COMPILE FUTACC Future Access This option lets you protect proprietary program data and algorithms The protection becomes operational only after the pro...

Страница 41: ...perations In this chapter you will complete the following tasks Download program 1000 created in chapter 3 Test the program Monitor the input and output data files Artisan Technology Group Quality Ins...

Страница 42: ...ACH Either the following display appears if a program is not in processor memory or Program Directory Programmer Processor F1 F2 F3 F4 F5 PRG MEM_PRC Prog 1000 Prog DEFAULT File File Exec Files 3 Exec...

Страница 43: ...DING FILE The following display appears File Name Prog Name 1000 File Name Type Size Instr 0 System 76 1 Reserved 0 2 Ladder 3 F1 F2 F3 F4 F5 PRG CLR_PRC MODE DWNLOAD UPLOAD OFFLINE Changing Program M...

Страница 44: ...e Prog Name 1000 File Name Type Size Instr 0 System 76 1 Reserved 0 2 Ladder 3 F1 F2 F3 F4 F5 RUN MONITOR EDT_DAT XFERMEM PASSWRD 2 Press F5 MONITOR The following display appears File Name Prog Name 1...

Страница 45: ...a path of true input instructions in the rung causing the output instruction to go from false to true Now release the pushbutton Pilot light 0 should go off Neither instruction in the rung should be h...

Страница 46: ...ata changes resulting from input device operation Press pushbutton 0 Note that the status bit corresponding to input I 1 0 goes from 0 to 1 as the instruction goes from false to true I1 1 0 0 0 Addres...

Страница 47: ...ing screen appears File Name Prog Name 1000 File Name Type Size Instr 0 System 76 1 Reserved 0 2 Ladder 3 F1 F2 F3 F4 F5 OFL CLR_MEM WHO PASSWRD ONLINE 8 Press ESC This brings up the main display Arti...

Страница 48: ...Chapter 4 Online Operations 4 8 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Страница 49: ...eated in chapter 3 to look like the one shown in the display below It will consist of one input branch and one output branch END F1 F2 F3 F4 F5 I 1 1 I 1 0 O 3 1 O 3 0 Creating the Program 1 Start fro...

Страница 50: ...ESC then F1 INS_INST then F1 BIT then F1 7 Type the bit address I 1 1 then ENTER 8 Then press F5 ACCEPT The following display appears F1 F2 F3 F4 F5 2 0 1 1 L OFL U END Adding an Output Branch 9 Press...

Страница 51: ...File Name Prog Name 1000 File Name Type Size Instr 0 System 76 1 Reserved 0 2 Ladder 4 F1 F2 F3 F4 F5 CHG_NAM CRT_FIL EDT_FIL OFL DEL_FIL MEM_MAP 15 Press ESC once Downloading the Program Start with t...

Страница 52: ...CH These output instructions become bold This input instruction becomes bold EDT_DAT 2 Release pushbutton 0 Outputs 0 and 1 turn OFF 3 Press pushbutton 1 Outputs 0 and 1 turn ON The following display...

Страница 53: ...0 14 O 3 0 O 3 1 T4 0 13 Start with the main display below SLC 500 PROGRAMMING SOFTWARE Rel 2 03 1747 PTA1E Allen Bradley Company Copyright 1990 All Rights Reserved F1 F2 F3 F4 F5 PRESS A FUNCTION KEY...

Страница 54: ...his is the Timer Address D ENTER E 1000 This is the Timer Preset Value in hundredths of a second F ENTER G 0 This is the Timer Accumulated Value H ENTER I F5 ACCEPT J ESC K ESC L F5 ACP_RNG 5 Enter a...

Страница 55: ...er the following A F1 INS_RNG B F1 INS_INST C F1 BIT D F1 E T4 0 13 13 represents the done bit F ENTER G F5 ACCEPT 8 Enter an OTE instruction Press or enter the following A F3 B O 3 1 C ENTER D F5 ACC...

Страница 56: ...the following A F5 UTILITY B F2 WHO C F3 ATTACH D F4 MODE E F5 PROGRAM F F2 YES G ESC H DWNLOAD I F2 YES 11 Monitor the ladder program Press or enter the following A ENTER B F5 MONITOR C 2 D ENTER 12...

Страница 57: ...F1 F2 F3 F4 F5 2 3 0 0 TON These bit instructions become bold RUN MODE FORCE SEARCH EDT_DAT C Release pushbutton 0 the timer resets and both outputs 0 and 1 turn OFF D Place the cursor on the TON ins...

Страница 58: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Страница 59: ...er refer to chapter 3 for extra help Important You can SAVE the program with errors to correct at a later time but you cannot download the program to the processor Error Undefined I O Address A mismat...

Страница 60: ...node address by pressing F2 MAX_ADR Try different combinations The processor defaults at node address 1 and baud rate 19200 Program Files Differ The ladder program in the processor memory does not mat...

Страница 61: ...s posi tioned correctly and that the power supply has been sized properly for loading in the rack CPU FAULT Steady Bad CPU or firmware improperly installed Verify that position of notch in proces sor...

Страница 62: ...r or battery back up Check wiring layout grounding If using a 4K CPU verify that a battery is installed to retain RAM memory when power is removed See CPU FAULT flashing under system LED status Down l...

Страница 63: ...anch B battery CAN_ED cancel edit CAN_RNG cancel rung CHG_NAM change name CLR_MEM clear memory CLR_PRC clear processor CONT continuous CPT MTH compute math CRT_DT create data CRT_FIL create file CSN c...

Страница 64: ...cessor MEM_SIZ memory size MOD_INS modify instruction MOD_RCK modify rack MOD_RNG modify rung MOD_SLT modify slot MOR_CPT more compute MOV LOG move logic NEW_INS new instruction NEW_PRG new program NE...

Страница 65: ...truction UND_RNG undelete rung WTCHDOG watchdog XFERMEM transfer memory The table below provides a complete list of instruction mnemonics Mnemonic Instruction ADD add AND and BSL bit shift left BSR bi...

Страница 66: ...to LES less than LFL LIFO load LFU LIFO unload LIM limit test MCR master control reset MEQ masked comparison for equal MOV move MUL multiply MVM masked move NEG negate NEQ not equal NOT not OR or OSR...

Страница 67: ...ad SQO sequencer output SQR square root STD STI disable STE STI enable STS STI start immediately SUB subtract SUS suspend SVC service communications TND temporary end TOD convert to BCD TOF timer off...

Страница 68: ...Mnemonics Appendix C Identifying HHT Function Keys Instruction C 6 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Страница 69: ...channel under a metal electrode called a gate CPU Central Processing Unit The decision making and data storage section of a programmable controller data file An area within a processor file that conta...

Страница 70: ...ation medium offline Describes devices not under direct communication For example when programming with an HHT online Describes devices under direct communication For example when the HHT is monitorin...

Страница 71: ...rue logic exists the outputs are made true If all paths are false the outputs are made false SLC Small Logic Controller A controller that comes in one of two styles fixed or modular slot The area in a...

Страница 72: ...Glossary G 4 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Страница 73: ...nt 1 10 D data file bits logic 0 2 6 logic 1 2 6 data files 2 1 2 2 default types 2 2 input 2 2 output 2 2 timer 2 2 monitoring 3 10 4 5 DEFAULT program 3 5 demonstration unit components 3 4 setting u...

Страница 74: ...n mnemonics C 3 instruction status 2 6 false 2 6 true 2 6 instructions inserting A 2 A 3 K keyboard operation 1 9 auto shift 1 10 cursor keys 1 10 data entry keys 1 10 menu function keys 1 9 ZOOM and...

Страница 75: ...e 2 8 program files differ error B 2 Program mode changing to Run mode 4 3 programming a simple ladder rung 3 11 entering a rung 3 11 Examine if Closed instruction 3 12 Output Energize instruction 3 1...

Страница 76: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Страница 77: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Страница 78: ...ccess to vital plant floor data that can be used to support decision making throughout the enterprise EUROPE MIDDLE EAST AFRICA HEADQUARTERS Allen Bradley Europe B V Amsterdamseweg 15 1422 AC Uithoorn...

Страница 79: ...uipment Have surplus equipment taking up shelf space We ll give it a new home Learn more Visit us at artisantg com for more info on price quotes drivers technical specifications manuals and documentat...

Отзывы: