Home

Modicon Hand-held Programmer User`s Manual

image

Contents

1. Editing the Target I O Map after a Data Transfer Transferring Data Created on another Panel to the HHP A PLC to HHP Data Transfer 0 0 cece cece eens Accessing the PLC to HHP Transfer Screens Initiating the Data Transfer 0 cee eee ee eee An HHP to PLC Data Transfer 2 00 cece eee ees Accessing the PLC to HHP Transfer Screens Initiating the Data Transfer 0 0 cece eee ee Comparing HHP and PLC Data cece eee eee Accessing the HHP PLC Verify Screens Initiating the Program Verification 0 eee What to Do if You Find an Unexpected Miscompare Saving a Logic Program to PLC Flash 000005 Accessing the Save to Flash Screens 00005 Selecting a Start up State forthe PLC Initiating the Save 0 0 cee eee Hardware Requirements for Slave Mode Operations Uploading and Downloading Logic with an HHP in Slave Mode 0c cece eee eee Powering Up the HHP 0 e cece eee eee eee Accessing Computer Transfer Mode 00005 Selecting a PLC Model Number for the Slave Uploading a Program to the Computer 04 Downloading a Program to the HHP Slave Changing HHP Executive Firmware 000eeeeeee Updating the Executive with a Loader Utility Program
2. 88 Legal Entry Locations 0 0 cece rendte tanita a 88 Placing an Instruction ina Network 2 0005 89 Overwriting an Old Instruction with an New One 91 GM MICR HHP Contents vil How the HHP Displays Ladder Logic Instructions 92 A One high Instruction 0 0 0 c cece eee eee 92 A Two high Instruction 0 cece eee 92 A Three high Instruction 00 cc eee eee 93 Errors of Range and Type 0 eects 95 Range Errors ac ceo a a a a a Gree Ee eee 95 Data Type Errors sendier a a E A EAE E 95 Special Commands for Editing Logic 04 96 Command Descriptions 000 cece eee ee 96 How to LMARK a Discrete 0 c eee eee eee 96 Opening and Closing Rows in a Network 97 Opening and Closing Columns in a Network 98 Deleting a Network from the Ladder Logic Program 99 Checking for Available User Logic Memory 100 Escaping from the Command List 000000 101 Searching Nodes for Program Data 0002 2 eee 102 Starting a Search 0 0 0 ete 102 Ending a Search 0 0 cee o eee ees 102 Searching for a Reference Number 2 0005 102 Special Search Capabilities for Discrete References 104 Tracing a Collaea ated earache 107 Finding a Subroutine 0 0 eee 107 Chapter 6 Monitoring and Editing Data Referen
3. push If you attempt to clear user logic while the PLC is running an error message appears on the bottom line of the screen Stop OPERATIONS Start SINGLE Clear ul RUNNING Controller running In this case follow the instructions above for stopping the PLC then try Clear ul again With the PLC stopped the following confirmation screen appears OPERATIONS Clear user logic Reqest Confirm GM MICR HHP command enter Push to erase all ladder logic from the PLC s user program memory The HHP returns to the top level screen with the following system message on the bottom line Operations Rev 1 00 Map I O SINGLE Xfer save STOPPED User logic cleared Getting Started 25 Chapter 3 Configuring a Micro PLC o The PLC Config Options o How to Autoconfigure a Micro PLC o Customizing a PLC Configuration o Viewing Configuration Parameters GM MICR HHP Configuring aMicroPLC 27 The PLC Config Options If the PLC starts up in an unconfigured state a top level screen similar to the one below appears in the LCD of the Hand held Programmer RTU 01 NO CONFIG Plc Config Slave hhp CPU31100 If the PLC already has been configured previously the following top level screen appears on the HHP Logic Edit RTU 1 Logic Data SINGLE Ple Config STOPPED Next Menu cpu31100 From either of these two the top level HHP
4. Confirm write config Step 7 To write the new messaging route and port parameter to the command PLC push __ Configuring aMicroPLC 39 Example 2 Setting Up a Child mode PLC In this second example we look at a 110CPU51200 PLC previously confi gured as child 4 The messaging route is set up so that messages gener ated in the parent PLC will be sent to the child s comm 2 port In the following eight step procedure we change its I D number to child 2 and change the messaging route so that the child will use it comm 2 mes saging port instead of the parent Step 1 Starting at the top level config screen place the cursor under Set config and push command enter Result The following screen appears Set comm 1 Set comm 2 CHILD 4 Set exp MSG STOPPED cPu51200 The status information on the right side of the screen indi cates that the PLC is child 4 Step 2 Place the cursor under Set command enter exp MSsG and push Result The following screen appears Configure CHILD gt CHILD no 4 PARENT msg to Comm 2 Step 3 With the cursor under 4 push INI command 2 _ then enter Result The child I D number shown on the screen changes to 2 Configure CHILD E CHILD no 2 PARENT msg to Comm 2 40 Configuring a Micro PLC foff Step 4 Push Y Result The cu
5. 70 Accessing A120 I O LOCS 00 c cece cece eens 70 How the I O Map Editor Displays an A120 I O LOC 70 Checking the Number of Points Used for A120 I O 71 Monitoring the Communications Health Status of the PLC 72 Accessing the Comms Health Displays 72 Monitoring Health Status of the I O Locations 72 Monitoring the Comm Error Counters 0000005 74 Chapter 5 Ladder Logic Programming 75 Logic Edit Mode 0 cece ects 76 Accessing Logic Edit Mode 00 e cece eee 76 Cursor Movement in Logic Edit Mode 76 Moving within a Network 0 0 cee eee eee 77 Moving between Networks and Segments in Logic 77 Creating a New Network 00 c eee ee eee eee eee 78 Toggling between Logic Edit and Logic Data Modes 79 The Logic and Zoom Displays 0 cece eee eee 80 Node Symbols in the Logic Display 80 Entering Coils Contacts and Shorts with an HHP 82 Legal Entry Locations 0 0 cece eens 82 Entering a Logic Element in a Network 83 Entering a Vertical Short 0 0 cece eee eee eee 84 How the HHP Displays Contacts Coils and Shorts 85 Displaying Null Nodes 00 c eee eee ees 86 An Example Network 00 eee eee eee eee 86 Entering Ladder Logic Instructions with an HHP
6. LE EFs NOO1 R1 1 e700 gt 1 0001 28 gt 0 N lt If the PLC Does Not Contain a Logic Program The following screen appears in the LCD 12s4se7eeu0n NOO1 R1 Empty network The cursor appears in the top left cor ner of the screen its position indicates that your current location in a ladder logic network is in column 1 The sta tus information on the top right of the screen tell you that the cursor is posi tioned in network 1 No01 on row 1 R1 Cursor Movement in Logic Edit Mode The cursor can be moved through the network display the first 11 columns on the LCD screen and can be used to select individual nodes on that screen The cursor will never appear in the zoom display on the right side of the LCD screen columns 12 20 The cursor can be moved up down left and right using the arrow keys lo cated in the top right corner of the HHP keypad You can move the cursor up and down a column in a network display using the where the symbols on the left represent the node content in the logic network and the status information on the right describes the individual node at the cur sor position in the network 78 Ladder Logic Programming fon foff A and Y keys fon If you push when you are in row foff 1 or Y when you are in row 7 no cursor action will be effected i e GM MICR HHP PRE fon foff an
7. use Both keys will wrap to the first or last operational field GM MICR HHP PRE In the following example screen the cursor is initially located in field 2 under LOC02 s L 04 MOD MIC141 gt IN 30006 30010 BIN OUT 40001 40002 BIN 0 10V 12BIT 41 02 foft If you push Y the cursor move to foff field 3 under mrc141 Pushing Y a second time moves the cursor down to field 4 under 30006 30010 Pushing foff Y a third time causes the cursor move down to field 5 and so on until the cursor reaches field 7 Brn on the third line The information in field 8 on the fourth line is status data and you can not move the cursor into it If you push foff Y_ while the cursor is in field 7 the cursor wraps back to field 2 on the top line Moving from One LOC Screen to Another With the cursor positioned in field 1 you can change the LOC screen in either of two ways O Type in a new location number then command enter push Oo botm top Push t or PY In the example screen above the cur sor is located under Loco2 If you want to move forward to Loco3 simply push botm oes Alternatively if you want to top move backward to Loco1 push PS If the cursor is positioned in Loco1 top when you push Pf the HHP wraps to Loc20 Likewise if the cursor is posi GM MIC
8. 000 cece eee eee 160 Disabling Keyswitch Security 0 0c cece eee 161 Assigning Passwords ecen een doa Te eee nee eee 162 Password Hierarchy 0c eee eee eee ees 162 Creating a Level 3 Password 0 cece eee eens 162 Creating a Level 2 Password 0c cece eee eee 163 Customizing the Admin Password 0 00eeeee 163 Deleting a Password 0 anaana aaa 164 Appendix HHP System Messages 165 x GM MICR HHP Contents Spiny 19S A9WWebOlg Ppjoy PpueyH UODJIPOW p n 190S F AsWWwesbOig PjoyU PpueH UODIPO W Chapter 1 Introduction to the Hand held Programmer o About this Book o A Panel Hardware Overview o Screen Navigation and Keystroke Dynamics o Providing Power to the HHP o Hardware Specifications GM MICR HHP Introduction 3 About this Book Organization This book provides the necessary in structions for understanding the various operating modes of the 520VPU19200 English Language Hand held Programmer HHP o Chapter 1 describes the mechanical and electrical characteristics of the HHP panel and the ways to provide the HHP with operating power oO Chapter 2 describes power up and start stop procedures for the Micro PLCs o Chapter 3 describes how to establish a valid configuration for a Micro PLC o Chapter 4 describes how to address physical inputs and outputs I O in your application to locations in the PLC s memory o
9. cir exit Step 4 Push then follow the in structions for saving the I O map changes Addressing the Inputs to a 3x Register The sample six step procedure that fol lows re addresses the discrete inputs in LOC02 to a 3x register and changes the bit format for the register s content to BCD Step 1 Make sure that field 3 is set to foff mrc140 then push Y to move the cursor to field 4 Result The cursor appears under the leftmost digit in the low number of the input reference range s L 02 MOD MIC140 gt IN 10081 10088 OUT 8 INTPT CNTR INP Step 2 Type in the 3x reference num ber you want to store the eight high speed inputs in e g 30010 command Step 3 Push e Result Since a single register is all that is required to store eight bits the screen looks like this 60 Addressing I O Locations s L 02 MOD MIC140 gt IN 30010 30010 BIN OUT 8 INTPT CNTR INP Step 4 To change the bit format in reg foff ister 30010 push Y Result The cursor move to field 5 under the bit format indicator the default is BIN s L 02 MOD MIC140 gt IN 30010 30010 BIN OUT 8 INTPT CNTR INP cir Step 5 Push eit to toggle the format from BIN to BCD cir exit Step 6 Push then follow the in structions for saving the I O map changes Editing LOCO3 If you are using a singl
10. H Vertical short passing power If for instance you select a normally open contact that is passing power and that outputs to a vertical short the zoom screen would display that element as follows Certain combinations of the above in puts and outputs cannot occur together LS Note Elements have vertical connectivity in the downward sense only Since power flow through the network is only allowed in the forward direction an element cannot pass power out if it does not receive power from the input e g a display such as GM MICR HHP is impossible and will never be seen Displaying Null Nodes When the cursor is moved onto an un populated node in the network display the zoom display simply shows the node and row locations on its top line and an arrow on the third line pointing to no data 12345678689800 x ag OL oO N007 R3 If the null node has vertical connectivity that status information is shown on the second line of the zoom display Ladder Logic Programming 87 3 e78 90n 45 N007 R 3 OO l o Oooo 2 ai l a An Example Network Let s take a look at a ladder logic net work that comprises contacts coils ver tical shorts and horizontal shorts The network is four rows deep so that its entire depth can be seen in a single network display and it is four columns long The network shown below shows how it looks wh
11. IN OUT 16 230v I O 8TR foff Push L_Y_ to move the cursor into field 4 on the second line Type in the first 1x reference number say 10001 and command enter push s L 01 EMOD MIC135 IN 10001 10016 OUT 16 230V 1 0 8TR Addressing I O Locations 67 fofi Then push Y to move the cursor into field 6 on the third line type the first Ox reference number and push command enter again s L 01 EMOD MIC135 gt IN 10001 10016 OUT 00001 00008 16 0230V 1 0 8TR cir exit Now push and save the new I O map parameters When these parame ters are saved the 16 fixed discrete in puts and the eight fixed triac outputs of child 1 will be placed under the child s control Now start the child PLC disconnect the HHP from the child and connect it to the parent In this example the parent is a 110CPU51203 PLC Access the I O map editor of child 1 through the par ent by selecting child 1 4 on the first I O map screen Self Map I 0 Child 1 4 PARENT Comms hilth S TOPPED cPu51203 command enter i a O MOD UNCNFG IN OUT Note The c status information in field 1 on the top left of the screen indicates that you have accessed child 1 through the par ent s I O map editor foft Push LY to move the cursor to field disa 3 under Mop uncnFre th
12. Accessing Modfax 0 0 00 aa Cra eee Accessing the Customer Service Bulletin Board HHP Executive Download Procedures GM MICR HHP Contents ix Chapter 8 Using an HHP as a Simple Messaging Display 145 The HHP s Simple Messaging Mode 00005 146 Accessing the Simple Messaging Screen 146 ASCII Characters Supported by the HHP 147 Using an HHP as a Message Display 0 5 148 A Ladder Logic Example Displaying the ASCII Character Set on the HHP 0002 eee 149 Using an HHP as an Message Response Tool 151 A Ladder Logic Example Responding to the PLC 151 Chapter 9 The HHP s Optional Password Security System c cece aes 155 The Four Levels of Password Security 000000 156 Accessing a Security Level without a Password 156 Level 1 Security Privileges 0c cece eee 156 Level 2 Security Privileges ccc eee eee ee 156 Level 3 Security Privileges 0c cece eee eee ee 157 Admin Security Privileges 0c cece eee eee 157 Password Construction 000 cece eee ee ees 157 Accessing the Security Scheme 00020 ceeeeee 158 Monitoring Security Status without Admin Privileges 158 Becoming Admi 5 sses vo tail a San hoe aus Spee 158 Enabling Password Security
13. CR or LF 40131 0000 N A A message can con 40132 0082 tain up to 82 ASCII characters 40133 0000 Stores the actual number of characters received 40134 0000 N A Local port used for 40135 0001 messaging 40136 0000 N A 40137 0000 N A 40138 0000 N A 40139 0000 N A 154 Simple Messaging The received string of ASCII characters is completed when 82 characters have been sent or when the operator pushes command enter The received message characters are stored in register 40150 in the middle node destination buffer in the second COMM instruction The third COMM instruction in column 8 in network 3 then echoes the re ceived characters back to the HHP screen The number of characters re ceived by the second COMM instruc tion i e the value stored in the fourth register of its control block 40133 is block moved into the third register of the third COMM instruction s control block to define the send message length Register 40150 the destination buffer of the second COMM instruction becomes the source buffer for the third COMM instruction GM MICR HHP PRE The control block for the third COMM instruction is set up like this The three character message the car riage return is transparent is sent to the second COMM instruction and the val The other logic circuit implemented with the two contacts and the first COMM in
14. View confg Screen 3 Here s an example of view confg screen 3 Ox S aa G ase SG Hay 3x 48 4X 1872 2 SEGMENTS MAX LOGIC 2085 This status screen shows you the PLC resources available to you for ladder logic programming o The number of discrete and register references available Discrete out puts or coils are ox references dis crete outputs are 1x references reg ister inputs are 3x references and register outputs are 4x references o The number of segments available This number is generally 2 but may be any integer in the range 1 32 o The total amount of user program memory This number is the sum of the usED and AvAIL numbers shown in View Config screen 1 GM MICR HHP L5 Note For 311 and 411 models of the Micro the total amount of user program memory is about 1K words a little more than 1K if you are not using a maximum configu ration and I O map less than 1K if you have installed loadable instructions cir exit Push if you want to return to the top first config screen Push REM if you want to return to View confg screen 2 botm next Push if you want to move for ward to view confg screen 4 View confg Screen 4 Here s an example of view confg screen 4 TIMER REG 40011 I O MAP SIZE 189 BATT COIL 00081 TOD REG 40012 40019 This status screen shows you Oo The reference for the holding regis ter reserved
15. 1 E OC Ci E If you place the cursor in row 1 column 1 you select the one high instruction LAB The HHP screen display will look like this 12s3486e 78 S0N o NO006 R1 ag oO LAB oO gt 0001 The top line of the zoom display tells you that the node is in network 6 Noo6 and in row 1 R1 of that network The third and fourth lines give you the name and integer content of this one high node The arrow in the zoom dis play points to the value in the selected node A Two high Instruction Suppose you are using an HHP to look at the following control network Network 6 10027 00077 00077 GM MICR HHP PRE It would appear like this on the HHP s network display 12345678901 oop oon If you place the cursor in row 2 column 2 you select the bottom node of the two high instruction UCTR The HHP screen display will look like this 1234se7e9u0n oog N00 6 R 2 oon 0100 UCTR gt 40007 The top line of the zoom display tells you that the node is in network 6 Noo06 and in row 2 R2 of that network The second line in the zoom display shows the value in the top node of the UCTR instruction block Even though this node is not the one selected in the network display the zoom display shows its contents The third and fourth lines give you the name and content of the bottom node of the UCTR instruction The arrow on the
16. 70 degrees C 95 noncondensing 3800 m 15 000 ft 30 g for 11 ms 3 pulses axis for up to 18 pulses 10 62 Hz 075 mm displacement amplitude 62 500 Hz 1g 165 mm 6 5 in with no key inserted 196 75 mm 7 75 in with key inserted 107 mm 4 21 in 41 07 mm 1 62 in including mounting clips 27 kg 6 Ib Designed to meet UL CSA and VDE requirements for industrial and process control equipment 150 mA IEC 801 2 level 3 IEC 801 3 level 3 IEC 801 4 level 2 Introduction 13 Chapter 2 Getting Started o Powering Up the HHP o Configured and Unconfigured Micro PLCs o Modes of Communication with a Configured PLC o Operating the PLC GM MICR HHP Getting Started 15 Powering Up the HHP As soon as power is applied to the o If the PLC is unconfigured Hand held Programmer the LED flashes and then liquid crystal display shows two checker board patterns RTU 1 NO CONFIG Plc Slave Config Hhp cpu31100 o If the PLC cannot be configured followed by PLC IN KERNEL MODE In the first two cases notice that the LCD divides into two display areas The display on the left lists a set of It is while these two screens are flash ing that you may select your cursor dis play style see page 19 The screen clears briefly while the HHP performs its power up diagnostics Then the HHP tries to establish commu nications with the device conne
17. Continue 128 Data Transfer The model number of the PLC to which you are connected should always ap pear on the second line of the screen For example the screen directly above indicates that the HHP is connected to a 110CPU51201 PLC Initiating the Data Transfer If you do not want to continue the PLC to HHP data transfer at this point you cir exit can push The HHP returns you to the previous transfer save mode menu screen To proceed with the data transfer push command enter The following confirma tion screen appears TRANSFER PLC TO HHP ADDRESS 00000 DATA 00000 Start The address and data fields on the sec ond and third lines of the screen are al ways set to 00000 prior to initiating the transfer You may still cancel the transfer at this cir exit point by pushing To start the command enter transfer push __ _ ___ the data transfer proceeds from this point until all the current PLC data is transferred to the HHP LS Note There is no cancel capabili ty for the transfer process once it has started As the data transfer is occurring ad dress locations in PLC memory that are being transferred to the HHP appear in the address field on the second line of GM MICR HHP PRE the screen The data contained in the displayed address locations appears in the data field on the third line of
18. GM MICR HHP PRE Appendix HHP System Messages This appendix provides an alphabetical listing of the system messages generated by the HHP along with an explanation of the messages and where appropriate the user response to the condition indicated by the message GM MICR HHP System Messages 167 Message Auto config first Bad ref nbr Close col disallowed Close row disallowed Disabled not used E 00017 coils used E coil 00555 used 168 System Messages Meaning User Action User trying to customize Autoconfig the PLC before the configuration of an customizing its configuration unconfigured PLC Reference number requested in logic data screen is out of range or not valid e g 09999 49999 19999 39999 20001 etc results from using botm next or direct number entry to exceed the configured number of a given reference type Cursor is in a column that Move cursor to an empty row is not empty and re issue Close col via Fa command the enir menu Cursor is in a row that is Move cursor to a column that not empty has no logic elements in it and re issue Close row via command the onser menu Search for disabled discrete finds one that is disabled but not used directly in the logic it may have been dis abled via logic data screen operations Example of a message that appears when a user tries to imply coils in a node when those coils are used directly or implied
19. Logic edit RTU 1 E Logic data SINGLE Ple config STOPPED Next menu CPU31100 command OR botm enter next Operations Rev 1 00 Map I O SINGLE Xfer save STOPPED Slave hhp CPU31100 command enter Y Xfer plc to hhp Xfer hhp to plc Verify with hhp Save within plc Selecting xfer Save sends you to a se ries of screens where you can GM MICR HHP oO Transfer the contents of the PLC to the HHP O Transfer the contents of the HHP to the PLC o Save the current contents of the PLC to its Flash RAM See Chapter 7 for a detailed discussion of how to use the HHP for Computer Transfer Mode and Save to Flash oper ations HHP Slave Mode Capabilities Selecting Slave hhp sends you to a se ries of screens where you can commu nicate with a non PLC device or make the HHP a slave to the PLC Logic edit RTU 1 Logic data SINGLE Ple config STOPPED Next menu cCcPU31100 command OR botm enter next Operations Rev 1 00 Map 1 0 SINGLE Xfer save STOPPED Slave hhp cpu31100 command enter Simpl message HHP Computer xfer SLAVE Security Rev 1 0 HHP slave mode can be invoked to load new HHP executive firmware to the HHP s Flash RAM to copy user logic to the HHP from an MMI device or to im plement simple messaging To return to the first top level HHP screen without selecting any o
20. PLC must be in single operating mode CHILD MSG TO COMM1 The child PLC is using its own comm 1 port for messaging PLC must be in child operating mode CHILD MSG TO COMM2 The child PLC using its own comm 2 port for messaging PLC must be in child operating mode and must be a 110CPU512 or 110CPU612 model PARENT MSG TO COMM1 The parent is accessing comm 1 on the child PLC and is using it for messaging PLC must be in child operating mode PARENT MSG TO COMM2 The parent is accessing comm 2 on the child PLC and is using it for messaging PLC must be in child operating mode and must be a 110CPU512 or 110CPU612 model MSG GOES TO NONE Messaging is not being used on any of None the PLC s comm ports If messaging is activated on one of the COMM 1 COMM 2 gt PLC ports the third line of view confg screen 1 gives the communication pa rameters of the messaging port Mes saging always uses the asc1I commu nications protocol Any one of four bauds is valid 1200 2400 4800 or 9600 One stop bit and an even parity check must be used If messaging is deactivated then the third line is empty The fourth line on view confg screen 1 lists the amount of user program memory available and the amount al ready used The sum of the two equals the total amount of user program memory in your PLC cir Push 2 if you want to return to the botm r next previous
21. You can select one discrete input 1x reference or coil Ox reference to have its state monitored by the HHP When ever the state of the selected discrete is detected as ON the status LED on the HHP goes ON 98 Ladder Logic Programming No more than one discrete reference in the logic program can be LMARKed at any given time C Note The HHP monitors the lad der logic program several times per second However if the LMARKed discrete is changing states more frequently than the HHP is monitoring it then all of its state changes will not be detected To LMARK a Discrete Reference command Step 1 Push DA Result The text string LMARK should appear on the bottom line of the zoom display on the HHP Ifa different command name ap pears there scroll through the disa 4 list of commands with enab gt or until LMARK appears oooogoooooO09 gt 400360 oooog 400350 nooo BLKM goood LMARK command Step 2 Push __ Result If no discrete reference is cur rently LMARKED the following message appears on the screen with the cursor in the last position in the bottom line OOOOOOOoOoOOg gt 400360 nooog 400350 oooo LMARK OFF oood LMARK If a discrete currently is LMARKed the message at the bottom of the screen shows its GM MICR HHP PRE reference number For example if coil 00004 is LMARKed the me
22. amp 8 triac ou 4 relay out x 16 115VAC in MIC131 4 relay ou MIC133 16 230VAC in 16 230VAC in MIC135 8 triac out amp 8 triac ou 4 relay out 3 16 230VAC in MIC134 4 relay ou MICLIG 1624vDCin JERIDO in MIC138 12 FET out MIC137 16 24VDC in 4 FET out MICS Self Map I O CHILD 1 Comms hi1lth S TOPPED CPU31102 command enter S L 01 IN OUT MOD UNCNFG gt LS Note The s self status informa tion in field 1 on the top left of the screen indicates that you have accessed child 1 through its own I O map editor foff Push LY to move the cursor to field disa 3 under Mop uncnFre then use lt or enab x to scroll to the mrc135 selection MIc135 defines the I O mix as 16 230 VAC inputs and eight triac outputs As you can see from the table the in puts can actually be shared by the par ent and child the outputs must be split An Example Let s suppose that child 1 on the ex panded I O link is a 110CPU31102 with eight fixed triac outputs and four fixed relay outputs We want edit the I O maps of the two PLCs to put the relays under the control of the parent PLC and we want to keep the triacs under the control of child 1 Let s begin by connecting the HHP to the child and accessing LOCO1 in the I O map editor by selecting Se1f on the first O map screen GM MICR HHP s L 01 EMOD MIC135
23. e 7 8 bits e 1 2 stop bits e even odd no parity This error prevents the HHP from entering simple messaging mode PLC comms have timed Check for an open cable a out very weak or intermittent con nection a very noisy environ ment or other hardware problems PLC program is too large to fit in the HHP or HHP program too large to put in the PLC System Messages 175 Message Empty network End of user logic Enter segment xx Enter subrtine area Field not empty Hhp in monitor mode Hunting for comms Please wait Hunting for comms Please wait 123 Illegal child nbr Locations 1 5 only Need Security lvl x Network not found 176 System Messages Meaning botm top User entered an empty network via t LP or back get or after inserting or deleting a network via EA command enter botm User pushed in logic edit screen when the cursor is in the last logic network botm top User pushed or LP and crossed a segment boun dary xx is a number from 1 32 A different message is seen when the user crosses into the last segment which is reserved for subroutine logic Equivalent to Enter segment xx where xx is the last seg ment in the logic program back get User has pushed has a reference on a logic data field that already Keyswitch in the monitor mode position with its functionality
24. fourth line points to the value in the cursor selected node If you move the cursor up to row 1 col umn 2 of the network display i e if you select the top node of the UCTR block the following screen appears 2s34ase7esu0Nn Laat z o o o a 1 oo oo I v In the zoom display the arrow has moved to the second line indicating that a new node value has been se lected and the row number changes to R1 to indicate the new cursor position GM MICR HHP A Three high Instruction Suppose we look again at the subrou tine network shown on the previous page and this time we move the cursor down to row 3 of column 1 The HHP screen would then look like this 12345678 9800N o gt 40501 ag 0100 a ADD o 40501 All four lines of the zoom display are used to show the name and node con tents of a three high instruction The arrow points to the register value of the top node which is the node selected in the network display Notice that all the instruction s node contents are shown in the zoom display even though the bottom node is not shown in the network display Notice also that because a three high instruc tion requires all four lines in the zoom display the network and row numbers are not given If you move the cursor down to row 4 column 1 the following screen appears with the cursor in the network display on the selected middle node of the ADD instruct
25. ning from the AC to DC converter plugs into the power adapter connector on the bottom of the HHP Connecting an HHP to an Independent DC Power Source 115 VAC 136 Data Transfer GM MICR HHP PRE The D shell connectors provided in the 110VIA19200 kit have an RJ45 jack that allows them to clip directly onto the cable assembly The illustrations below show the detail of the two D shell con nectors provided in the kit O O pin 1 O o2 oO ping aes 4 40 screw threads RJ45 jack HHP PC AT Pinouts RJ45 Connector 9 pin D shell aa AAT O C Soldered to D subframe buuu im ees eee eee 40 1 mm ba 1 58 in pin 1 L HHP PC XT Pinouts 26 pag RJ45 Connector 25 pin D shell fe o 26 26 oS 1 26 o5 2 S oS 3 oO pin 25 j 5 6 4 40 screw threads 7 RJ45 jack 8 5 5 J l WU NI J 40 1 mm i 1 58 in pin 1 GM MICR HHP Data Transfer 137 Uploading and Downloading Logic with an HHP in Slave Mode With the HHP powered up in slave mode and connected to a computer run ning a panel software such as Modsoft Lite you can load and
26. 0 ce eee e eee I O Map Editor Conventions 0000 cee eee eee Default I O Map Parameters 00 cece eee e eee eee Default Parameters for Single and Parent PLCs Default Parameters for A120 I O LOCS Default Parameters fora Child PLC 00 Default Parameters for a Child PLC Addressed through its Parent nenene eee eee Editing and Saving I O Addresses 0 cece eee neeee Accessing the LOC Screens 00 cee een eee eee Editing References In an I O Map Screen An Overview vi GM MICR HHP 19 19 22 22 22 22 23 25 26 26 26 27 28 28 28 29 30 31 33 33 33 33 36 39 39 39 43 44 44 45 48 48 49 50 50 51 51 51 Contents Saving Changes in the I O Map Editor 52 Addressing a PLC s Fixed I O Locations 54 Editing LOCOT ieoa at a T E S 54 Editing LOCZ iaasa a a a a E tenes 57 Editing LOCOS asoca aea ai a aa e a eee ees 58 Editing LOC04 oninia EE A T EA E 60 Sharing a Child s Fixed I O Resources with the Parent 63 Addressing a Child s I O in the Parent 05 63 Splitting a Child s Fixed I O Resources 0005 65 Addressing Generalized Data Transfer Registers in a Parent and Child os cesses irera ccc cence nets 67 A GDT Examples osaiee eee tau hks suledieaay ay Dea aae 67 Addressing A120 I O Expansion Modules
27. 151 Network 1 Each time that positive transitional con tact 00002 in network 1 is fired it incre ments the value stored in register 40110 by one The combination of the two SUB instructions in the fourth and fifth rows of network 1 assures that the val ue in register 40110 clears back to zero when the ADD block increments reach 255 The values 0 255 00 FF hex in register 40110 correspond to the decimal values of the ASCII characters shown on the previous pages Meanwhile the MUL instruction in net work 1 performs a straightforward multi plication of 256 x 33 The result which is stored in the two register 40006 and 40007 is 8448 decimal or 2100 hex The hex value is the one of interest be cause the high byte hex value 21 which will be stored in register 40007 repre sents the ASCII character The last ADD instruction in network 1 adds the value in register 40007 the hex representation of to the current value in register 40110 and stores the sum in register 40111 As a result the high byte of register 40111 always con tains the hex value 21 and the low byte contains an incrementing value in the range 00 FF hex Network 2 Network 2 contains a timer that deter mines the frequency at which contact 00002 in both networks 1 and 2 will be fired It is set here to fire the contact every 1 4 second Register 40111 is the source register for the COMM instruction in network 2 and register 40100 i
28. 2 and level 3 security the user needs to know those passwords in or der to access level 2 and level 3 securi ty privileges If you exit the security screens as ad min and level 2 and level 3 passwords have not been assigned then you will exit with level 3 security privileges If you exit the security screens as a lev el 2 user you will have level 2 privi leges throughout the HHP system If you exit the security screens as a level 3 user you have full access to all non admin capabilities of the HHP GM MICR HHP PRE Disabling Keyswitch Security A user with admin privileges can over ride the monitor mode setting of the HHP s security keyswitch i e enable program mode capability while the key is in monitor mode position This func tion can be accomplished while the password security scheme is either en abled or disabled To override the keyswitch follow this three step procedure Step 1 Move the cursor under status pw DISABLED ENABLED ON the first security screen and command enter push Result The following screen appears KEYSWITCH ENABLED PASSWORDS DISABLED Step 2 Move the cursor under KEYSWITCH ENABLED and push disa enab t orl J to toggle to KEYSWITCH DISABLED KEYSWITCH DISABLED PASSWORDS DISABLED cir Step 3 Push Result The HHP will operate in pro gram mode now regardless of the position of the security k
29. 6 54 36 93 5D 7 55 37 A 94 5E 8 56 38 _ 95 5F 9 57 39 a 97 61 58 3A b 98 62 59 3B c 99 63 GM MICR HHP Simple Messaging 149 ASCII Character Dec Value Hex Value d 100 64 e 101 65 Hh 102 66 103 67 5 eQ 104 68 H 105 69 106 6A 107 6B 108 6C 109 6D 110 6E 111 6F 112 70 113 71 114 72 115 73 116 74 117 75 118 76 119 77 120 78 121 79 122 7A 123 7B 124 7G 125 7D ele a 129 81 w 132 84 oO 148 94 O 155 9B m 156 9C 164 A4 219 DB 224 E0 225 E1 228 E4 229 E5 230 E6 234 EA 236 EC m 8 Ol Ela Mo m 238 EE 246 F6 The full set contains 256 ASCII charac ters Any of the 256 not shown in this 150 Simple Messaging list are not available for display on the HHP The Bell Character Whenever the HHP receives the ASCII bell character 7 decimal 07 hex while the unit is in simple messaging mode the status LED is illuminated A bell triggered LED remains ON until you push a key on the HHP keypad cir exit Any key except can be pushed to cir turn OFF the LED pushing tak
30. Chapter 5 describes how ladder logic programs can be created monitored and displayed on an HHP o Chapter 6 describes the data refer ence editing and monitoring capabili ties of the HHP Oo Chapter 7 describes how to transfer logic programs between devices us ing the HHP it also describes how to upgrade the executive firmware in an HHP o Chapter 8 describes how to use the HHP as a simple messaging display panel for text strings generated by the PLC logic program co Chapter 9 describes the optional password security available in an HHP g An appendix listing HHP system messages is also included 4 Introduction Product Capabilities The HHP is designed as a low cost pro gramming panel for the Modicon Micro PLCs It supports all CPU311 CPU411 CPU512 and CPU612 Micro PLC mod els operating under standard ladder log ic firmware The HHP can be used to oO Start and stop the PLC oO Monitor the PLC s status o Configure the PLC Oo Address the PLC s fixed and ex panded 1 O points to locations in its memory Oo Transfer programs to and from other Micro PLCs and other programming panels e g Modsoft Lite oO Program and edit ladder logic o View power flow in ladder logic while the PLC is running o Edit and monitor PLC data references O Initiate memory saving operations in the PLC o Act as a simple messaging display device showing ASCII character strings generated by the Micro PLC GM MIC
31. HHP Computer xfer SLAVE Security Rev TESO command enter COMPUTER XFER MODE Computer xfer lt gt HHP a CPU31100 Program Continue GM MICR HHP Data Transfer 125 Some Important Cross transfer Considerations When you are using an HHP to transfer ladder logic programs from one PLC to another or from to another panel soft ware such as Modsoft Lite several compatibility issues need to be kept in mind Compatibility between Micro PLC Models Because of the way the HHP reads and writes the PLC memory structure it can support data transfers logic program I O map table and config table be tween all CPU512 and CPU 612 models and between all CPU311 and CPU411 models However it does not support data trans fers between CPU311 and CPU512 models CPU311 and CPU612 models CPU411 and CPU512 models or CPU411 and CPU612 models Editing the Target I O Map after a Data Transfer When you complete a legal data trans fer from a source Micro PLC of one model type to a target Micro PLC of another model type you may need to edit the I O map in the target PLC For example if you download a pro gram to a 110CPU31100 which has 24 VDC inputs and 12 relay outputs to a 110CPU31101 which has 115 VAC inputs eight triac outputs and four relay outputs you will need to edit the mic number that appears in LOCO1 of the target PLC s I O map Similarly if you download a program create
32. MICR HHP Chapter 4 Addressing I O Locations with the I O Map Editor o Invoking the I O Map Editor o Default I O Map Parameters o Editing and Saving I O Addresses o Addressing a PLC s Fixed I O Locations o Sharing a Child s Fixed I O Resources with the Parent o Addressing Generalized Data Transfer Registers o Addressing A120 I O Expansion Modules o Monitoring the Communications Health Status of the PLC GM MICR HHP Addressing I O Locations 45 Invoking the I O Map Editor The primary purpose of the I O map editor is to let you associate the input and output signals used in the applica tion to addresses in the PLC s memory These addresses are reference Ox 1x 3x and 4x numbers Secondary functions of the I O map pro vide you with health status information always a read only function and allow you to edit the PLC s holdup time Four conditions must be true to support I O map editing oO The PLC must be stopped oO The HHP keyswitch must be posi tioned in program mode if you are locked in monitor mode and the key is not available contact your systems administrator for assistance o If password security is enabled you must have level 3 security access contact your systems administrator if you need more information about se curity access o The HHP must be logged in to the PLC i e an HHP that is logged in can execute all HHP functions with respect to the PLC LS Note Two HHPs may be
33. NO CONFIGURATION PRESENT To return to the previous screen push cir exit Viewing a Configured PLC If the PLC is configured when you se lect view confg four configuration sta tus screens become available GM MICR HHP View confg Screen 1 Here s an example of view confg screen 1 SINGLE re MSG GOES TO COMM 1 2400 7 BIT 1 STOP EV AVAIL 805 USED 1280 This first status screen tells you Oo The operating mode of the PLC single parent or child o The PLC port on which messaging communications will occur o The communication parameters of the messaging port o How much user program memory has already been used and how much is still available The message on the second line which describes the PLC port that handles the system s messaging capability can vary depending on the PLC type and its op erating mode CS Note Remember that no more than one port on the PLC can be used to support the messaging capability The possible situations are shown in the following table Configuring aMicroPLC 41 Messages on Line 2 of View Config Screen 1 Message Meaning Mode Model Restrictions MSG GOES TO COMM 1 The comm 1 RS 232 port is being used for messaging None MSG GOES TO COMM 2 The comm 2 RS 232 port is being used for messaging PLC must be a 110CPU512 or 110CPU612 model MSG TO EXP LINK The RS 485 port is being used for messaging
34. No bit con version is available Re addressing Discretes to Registers The HHP allows you to re address your discrete inputs in field 4 to a 3x input register and your discrete outputs in field 6 to a 4x holding register For ex ample if you want to I O map the de fault outputs in 110CPU51201 PLC to register 40027 follow this procedure fofi Step 1 Push Y_ to move the cursor to field 6 on line 3 of the screen Result The cursor appears under the leftmost digit in the low number of the output reference range s L 01 MOD MIC131 gt IN 10001 10016 OUT 00001 00 016 16 0115V I O STR 4RY Step 2 Type in the register reference number you want associated with these outputs 40027 command enter Step 3 Push GM MICR HHP Result The HHP fills in the output range as follows s L 01 MOD MIC131 IN 10001 10016 OUT 40027 40027 16 115v I O STR 4RY fon A Step 4 Push to move up to the second line on the screen and change the input reference to a 3x register say 30027 so that the inputs and outputs are compatible Then push command enter Result The HHP fills in the input range as follows s L 01 MOD MIC131 gt IN 30027 30027 OUT 40027 40027 16 115v I O STR 4RY cir botm Step 5 Push or t screen CS Note Ifthe outputs are ad dressed to a register then the in puts must also be address
35. PLC Data a Saving a Logic Program to PLC Flash o Hardware Requirements for Slave Mode Operations o Uploading and Downloading Logic with an HHP in Slave Mode o Changing HHP Executive Firmware GM MICR HHP Data Transfer 123 Modes Of Data Transfer There are several situations in which a Hand held programmer can be used as a data transfer device These situations fall into two broad categories oO The HHP and the Micro PLC to which it is connected transfer and or compare data o The HHP is used as a slave device to a non PLC master device e g to a personal computer running Modsoft Lite The operations available under the first of these two categories are known as transfer save mode operations The op erations available under the second category are called slave HHP mode operations The operations available under these two modes will be dis cussed in detail in this and the next chapter Transfer Save Mode Options Four types of HHP PLC data exchanges can be initiated by selecting menu op tions available in transfer save mode These options are o Transferring a controller environment i e ladder logic program PLC configuration I O map etc from the PLC to the HHP oO Transferring a controller environment from the HHP to a PLC Oo Verifying an actual PLC environment with one stored in the HHP and dis playing the differences o Initiating a save to PLC flash opera tion in the PLC These fo
36. PRE Sharing a Child s Fixed I O Resources with the Parent The I O map parameters for the fixed I O resources of a child PLC LOC01 LOCO05 are left unconfigured in the de fault condition When you are address ing the child s I O in an expanded I O link there are three ways you can set them up o Leave the fixed I O unconfigured in the child itself and address it all through the parent o Split the child s fixed I O resources between it and the parent o Address all the child s fixed I O re sources in its own I O map then use generalized data transfer to send data to and receive data from the parent over the expansion link more on GDT later in this chapter Addressing a Child s I O in the Parent The Micro PLCs allow you to run your ladder logic program exclusively in the parent when multiple PLCs are used to gether via the expanded I O link The parent is able to use the fixed I O re sources of its child PLCs like drops of remote I O To set up your system this way leave the I O map screens in the child PLCs defaulted to uncnre states and address all I O points through the parent To ac cess the I O map of a child through the parent go to the first screen in the par ent s I O map editor select the second menu option on the left of the screen and type the number of the child you want to access For example if your control system uses four child PLCs and you want to GM MICR HHP
37. Screen References and data in fields 1 and 2 of a line on the logic data screen can be edited by placing the cursor in the de sired field then entering values and or issuing commands via the HHP key board The ways in which the cursor moves within and between fields is de termined by the format in which the ref erence data is displayed You cannot place the cursor in field 3 Changes to field 3 are implemented while the cursor is in field 1 or 2 of that entry as described in the last section Moving between Line Entries fon foff Use and LY to move the cursor up and down between lines in a logic data screen For example if the cursor is on line 1 fon and you push Z5 the cursor will wrap to line 4 02047 ON 00120 OFF DISABLE 40100 2354 HEX 40200 1255 DECIMAL fon A 02047 ON 00120 OFF DISABLE 40100 2354 HEX 40200 1255 DECIMAL If the cursor is on line 4 and you push foff Y the cursor will wrap to line 1 GM MICR HHP 02047 ON 00120 OFF DISABLE 40100 2354 HEX 40200 1255 DECIMAL foff 02047 ON 00120 OFF DISABLE 40100 2354 HEX 40200 12 55 DE CI MAL or 40100 2354 HEX 40200 1255 DECIMAL foff an 40100 2354 HEX 40200 1255 DECIMAL The lt next gt and lt prev gt Keys botm next P
38. and Y do not wrap cursor around the column and they do not move the cursor across network boundaries You can move the cursor left and right across a row in the network display with disa enab and enab If you push gt when you are in col umn 11 the cursor will wrap to column disa 1 in that row If you push when you are in column 1 the cursor will wrap from to column 11 in that row CS Note The HHP allows you to move the cursor to the right of a coil in the same row where it is displayed but it does not allow you to enter logic elements in the row to the right of the coil Moving within a Network Remember that the network display can show only four rows of a seven row net top rev work You can push Ea R and xt next to anchor the cursor at the top or bottom row of the network top prev botm next Moving between Networks and Segments in Logic Moves the cursor to row 1 of the network and posi tionss row 1 of the network in row 1 of the display Moves the cursor to row 7 of the network and posi tions row 7 of the network in row 4 of the display You can move between networks in the logic program with the following keys GM MICR HHP Takes you to botm he next next network in he program Takes you to top he previous prev netwo
39. disabled User trying to force a discrete ON or OFF while it is enabled E net not found Network requested by get is not in the PLC E PAB inputs gt 256 User attempting to address more than 256 input points for A120 I O expansion in the I O map editor E PAB outputs gt 256 User attempting to address more than 256 output points for A120 I O expansion in the I O map editor LS Note The five fixed locations are immune from over programming the I O points E PLC memory full No more networks or nodes may be added to the PLC 174 System Messages GM MICR HHP PRE Message E PLC running E ref 10017 type E ref 49999 range E ref out of range E Simpl mesage param E Timeout comm down E Trans failed GM MICR HHP Meaning User Action Modbus report PLC run If necessary stop the PLC and ning and cannot accom repeat the function plish the requested task Example of a bad reference number by virtue of type a 1x is not allowed in an I O map output field Example of a bad reference Use an in bounds reference number by virtue of range not enough 4x registers configured to cover the ref erence number requested Modbus report user try ing to read or write a reference number that is beyond configured range PLC s simple message Change the simple message parameters outside of the parameters in the set config range supported by the screens to a value that the HHP HHP supports e 1200 2400 4800 9600 baud
40. either field 1 or 2 of the entry and push enab d Result Field 3 of the entry is empty in dicating that the discrete has been enabled Reference Data 119 Editing Register Reference Data The way in which reference data in a 3x or 4x register can be edited depends upon the format in which it is displayed The content of a 3x or 4x register can be displayed in any one of four for mats decimal hexadecimal ASCII or binary Selecting a Format As we have already seen you can change the display format of register trac frmt data with the key When the for mat changes the data representation in field 2 and the format label in field 3 change to suit the selected format Editing Decimal and Hexadecimal Data When register data is displayed in deci mal or hexadecimal format it appears on the screen like this field 1 field2 _ field 3 40100 2354 HEX 40200 1255 DECIMAL where the register number is shown in field 1 the data in field 2 and the for mat labels in field 3 To edit the data in field 2 of the desired enab entry push gt to move the cursor into field 2 The cursor will appear un der the leftmost character in field 2 If fon fof necessary use A or _ _ to move the cursor to the desired line in field 2 As soon as you begin to enter new data in field 2 three things happen oO The cursor moves to the rightmost posi
41. enabled HHP currently attempting to communicate with the PLC by using preassigned addresses and baud rates and modes HHP is currently attempting to communicate with the PLC by using all legal addresses 1 247 this could take on the order of 11 minutes worst case the reported number after the Please wait message indicates the address being tried User trying to select a child in a parent I O map when the child number given is unconfigured or zero User trying to change to an I O location outside the range 1 20 in a PLC that supports A120 I O expansion or outside the range 1 5 in a PLC that does not support A120 I O When password security is enabled your current security level is too low for access or for unlimited access to a function x is the required level for unlimited access Network being searched for is not in user logic program GM MICR HHP PRE Message Net Unsolvd No more No ref to get No trace None Not found Open col disallowed GM MICR HHP Meaning Network on screen is unsolved by virtue of being skipped or in the case of a subroutine not being exe cuted at this time Search for subsequent dis botm next abled discretes using finds no more disabled 0x or 1x references back get User has pressed in logic data when there is no node at the cursor po sition in the current net work also results from top prev pushing on a
42. enter All information in the entry will be cleared and only the sign will remain back get on the line Then simply push to display the desired reference data item Reference Data 113 Reference Formats and Entry Fields Each entry in a logic data screen is di vided into three fields that describe the data in various user selectable formats As you can see by the examples pres ented so far the data formats displayed in the logic data screen depend upon whether the specified reference is a dis crete Ox or 1x or a register 8x or 4x Discrete Formats Discrete references can be displayed in state formats or in some cases in matrix formats State Formats Any discrete reference can be displayed in a format that indicates its current state ON OFF If the discrete is en abled only two fields appear in that en try the reference number and its ON OFF state If the discrete is disabled a third data field appears to indicate that condition LS Note Ifthe third field in a dis crete entry is empty then the ref erence is enabled Two discrete references are shown in their state formats in the example be low The entry on line 3 is enabled it uses two fields The entry on line 4 is disabled it uses three fields Field 1 Field 2 Field 3 02047 ON 00001 OFF DISABLE Matrix Formats for Discrete Data There are three additional formats in which a discrete may
43. field 2 then pushing If you enter a number larger than 20 in field 2 the HHP keeps the current LOC and displays an error message on the bottom line of the screen E locs 1 20 only To clear the message type in another number How the I O Map Editor Displays an A120 I O LOC The HHP displays A120 I O data differ ently depending on whether the module is physically present or not at the time you are editing the I O map Addressing an Installed A120 Module If you are addressing an A120 module that is already installed and powered up in the LOC you have selected the HHP 72 Addressing I O Locations will sense the identity of that module and display that information in the LOC screen For example if you go to LOCO6 in the I O map and there is DEP210 input module installed and under power in the slot 1 of an A120 I O rack the screen would look like this sS L 06 MOD DEP210 gt IN OUT 115VAC 8 IN You simply need to move the cursor to field 4 on the second line of the screen type the first discrete input reference 1x in a group of eight and push command enter For example if you type command enter 10033 and push the screen looks like this s L 06 MOD DEP210 gt IN 10033 10040 OUT 115VAC 8 IN The HHP does not let you move the cursor to the third line because the DEP210 module is strictly an input module Continue with other I O
44. for control logic Number of ladder logic and the second for 2 the first for control logic and the second for 1 STOP bit segments A i subroutines subroutines Dedicated Modbus mode Dedicated Modbus mode RS 232 port 8 bit RTU communications 8 bit RTU communications comm 1 9600 baud even parity 9600 baud even parity 1 STOP bit Modbus address 1 1 STOP bit Modbus address 1 Dedicated Modbus mode RS 232 port N A 8 bit RTU communications comm 2 9600 baud even parity 1 STOP bit Modbus address 1 Dedicated ASCII Dedicated ASCII RS 485 port 8 bit ASCII communications 8 bit ASCII communications exp link 9600 baud even parity 9600 baud even parity 1 STOP bit GM MICR HHP Configuring a Micro PLC 31 Autoconfiguring a PLC in Child Mode If you want your PLC to function as a child on an I O expansion link with the default configuration parameters of a child PLC use the following screen command sequence View confg Set config SINGLE STOPPED Auto confg CPU 31100 command enter Autoconfigure as Single ple gt caution lt Child ple Parent ple command enter Configure as CHILD Child no 1 lt exit gt to cancel Begin to configure clears ul i o map Initially the cursor appears on the sec ond line of the screen under the number 1 This number indicates the default child I D number You may leave
45. for the free running tim er the default is 40011 o The size i e the number of words in the PLC s I O map Oo The reference for the battery coil the default is 00081 oO The references for the eight holding registers where the time of day clock information is maintained the de faults are 40012 40019 cir Push on if you want to return to the top first config screen Push BISA if you want to return to view confg screen 3 Configuring aMicroPLC 43 Here is an example of the view confg screen command sequence Viewing the Configuration Status of a Single mode 110CPU51201 PLC Top level config screen View confg See con fio gr Ne ie STOPPED Auto confg cpu5s1201 command enter F cir exit view Confg Screen 1 SINGLE T MSG GOES TO COMM 1 9600 88BIT 1 STP EVE AVAIL 805 USED 1280 botm next top cir 6 prev OR exit View Confg Screen 2 i COMM 1 COMM 2 ee ADDR 001 ADDR 002 9600 RTU 9600 RTU 1 STP EVE 1 STP EVEN botm next top cit View Confg Screen 3 pray ot ox 1536 1X 51 2 3x 48 4X 1872 2 SEGMENTS MAX LOGIC 2085 WDS botm next 7 to cir 6 aes OR exit View Confg Screen 4 TIMER REG 40011 I O MAP SIZE 189 BATT COIL 00081 TOD REG 40012 40019 44 Configuring a Micro PLC GM
46. in the zoom display is re 12345678 90N m o0 7 2 g gt 0 5 20 fon Step 4 Use to move the cursor under the top node of the new ADD instruction then follow steps 4 9 of the previous pro cedure to enter the reference data into the nodes on the zoom screen Ladder Logic Programming 93 How the HHP Displays Ladder Logic Instructions The symbols in the HHP s network dis play do not distinguish between nodes in a single node element and nodes in a two or three high ladder logic instruc tion To determine the context and con tent of a selected node you need to view it in the zoom display The zoom display handles ladder logic instructions differently than contact coil and short elements The name of the instruction is usually shown in the third line of the zoom display and the refer ence number or integer constant stored in that node is shown in the fourth line If the instruction is two or three high the references values associated with the unselected node s are also shown in the zoom display A One high Instruction Suppose you are using an HHP to look at the following subroutine network LAB 0001 t O 00001 00001 Network 6 40501 0001 ADD 40501 The first four rows of this network with out power would appear like this in the HHP s network display 94 Ladder Logic Programming 234s6e678 901
47. in this screen The fourth line prompts you to either confirm or ignore the changes you have made in the I O map editor and to the holdup time on the line above By de fault the cursor appears under the Confirm selection on the bottom line To ignore the changes you have made cir exit push Modifying the Holdup Time When a parent and child PLC operate together on an I O expansion link the child constantly monitors the link to make sure that communications are on going If the child senses that commu nications have failed it waits for a cer tain period of time before it declares a comm error and sets all its outputs to 0 This period is the holdup time Generally users like to keep the holdup time to a short duration around GM MICR HHP PRE 300 ms However there may be occa sions where you want to increase the holdup time for example if you want the child to hold onto its current I O val ues while you change a cable The holdup time value can be changed in the save screen of the I O map editor To change the holdup time move the cursor to the third line of the screen by fon foff pushing bs or Y The cursor appears under the third digit from the right in the holdup time number Save S INGLE Map I O Changes for Self Holdup 0000300 msec Confirm or lt exit gt The default holdup time is 300 ms Type in the number you want the field fills from right t
48. ing that the specified reference has been found Oo The cursor appears in the logic dis play under the found reference oO The arrow in the zoom display points to the reference number on the third line When a search finds an explicit register reference a display similar to this appears ooog gt 400200 oo 00240 ra DIV FOUND 40020 400220 where o A message appears on the left side of the bottom line in the display stat ing that the specified reference has been found o The cursor appears in the logic dis play under the found reference oO The arrow in the zoom display points to the reference number in this case on the first line to indicate that it is the top node of the DIV instruc tion If the HHP cannot find any occurrences of the specified reference it returns a Not found message at the end of the search Ladder Logic Programming 105 noon N002 R3 SEARCH 00003 Not found Finding Implied References An implied reference is one that exists and can be used in the program but is not directly shown in the ladder logic display Both register and discrete ref erences can be implied in ladder logic For example 16 discrete references can be stored in a 4x source register in a matrix instruction such as BLKM The 4x reference may appear in the logic display but the 16 discretes stored in the register are not shown they are implied Say for instance you are sea
49. line When you have cursored to the desired foff model number push V_ to move the cursor under the Continue selection on the bottom line of the screen then push command enter A slave status screen such as this one appears GM MICR HHP where the model number that the mas ter perceives the slave to be appears on the third line and the slave s comm port parameters appear on the fourth line This status screen does not have a cursor and it cannot be edited e the model number and comm parame ters cannot be changed at this point If you want to continue with the upload or download process issue the appro priate command from the master de vice If you want to exit this computer transfer mode screen push command enter Uploading a Program to the Computer If the HHP is currently holding a logic program in its flash you can upload that program to the computer master de vice To support this upload at the HHP end you must select the model number that has an asterisk next to it in the slave status screen C Note An HHP with a valid logic program in its flash always shows that model number followed by an asterisk No more than one model in the list of available model numbers can have an asterisk next to it since the HHP can store no more than one logic program in its flash at any given time If none of the model numbers shows an asterisk next to
50. menu selection Set comm 2 does not appear on the screen These models have only one RS 232 communications port Editing Comm Parameters on an RS 232 Port If you place the cursor under either Set comm 1 Of Set comm 2 and then push command enter anew screen appears displaying the current port parameters assigned to the selected RS 232 port Set comm 1 Set comm 2 Set exp MSG S INGLE RUNNING CPpu311 00 command enter COMM 1 ADDRESS 001 RTU BAUD 9600 STOP 1 PARITY EVEN Confirm comm The process of editing RS 232 port pa rameters is the same regardless of the operating mode of the PLC You can edit the communication param eters for the selected port in the follow ing order oO The Modbus address of the RS 232 port s The Modbus address is an integer value in the range 1 247 Oo The communication protocol used by the port 7 bit ascrz or 8 bit RTU oO The baud used on the RS 232 port s The baud may be set to 50 75 110 134 150 300 600 1200 Configuring aMicroPLC 35 1800 2000 2400 3600 4800 7200 9600 Or 19200 The number of stop bits used the comm2 port may be set to 1 or 2 the stop bit must be set to 1 on comm1 The parity check scheme on comm2 may be set to EVEN ODD Or NONE the parity scheme on comm 1 must be EVEN parity check scheme is even The other parameter choices are avail able so that the port may be set f
51. net work itself Even if you delete all logic from the network nodes with del sreh the empty network will remain in ladder logic The only way to delete the entire network is with the DEL NET command Ladder Logic Programming 101 With DEL NET you can delete the net work and all of its nodal content in a single command To delete a network follow this procedure Step 1 Bring up the network you want to delete on the LCD of the Hand held Programmer You can page to the desired net work in logic edit mode with botm top next or Prev or you can go directly to the desired network back get via command Step 2 Push engr Result A text string probably LMARK appear on the bottom line of the zoom display on the HHP Step 3 Scroll through the list of com disa enab mands with S or gt until DEL NET appears then command enter push Step 4 A confirmation message Confirm del net n appears on the third line of the screen where n is the number of the network you want to delete command Push __ nter again to ex ecute the del net operation Result The network and all its logic content are deleted from the ladder logic program All net works that previously followed the deleted network in the logic flow are renumbered e g if network 3 of a five network pro gram is d
52. next screen by pushing or move from one screen in a series to the previous screen by pushing top prev o Move to the top of a series of screens or exit from an editor mode cir exit in the HHP by pushing When a screen that is one in a series appears on the screen a right pointing arrow appears in the top right cor ner of the screen This arrow indicates that there are more screens that you botm next can page through by pushing GM MICR HHP The arrow does not appear in the last screen in the series The top level entry screens for exam ple comprise a two screen series where the first screen has an arrow in the upper right corner and the second screen does not Logic edit RTU 1 Logic data SINGLE Ple config STOPPED Next menu CPU31100 botm next Operations Rev 1 00 Map 1 0 SINGLE Xfer save STOPPED Slave hhp CPU31100 botm next If you push when you reach the last screen in the series it wraps back to the first screen in the series In top prev some multi screen series the key can be used to move sequentially back ward through the series Introduction 9 The Look of the Cursor The cursor can be displayed in any one of three possible ways o As a single character underline that can be placed under the first letter of a text selection or under a ladder logic node symbol
53. node of a three node instruction cannot be placed in row 6 of a network be cause it requires two additional rows below it and the network provides only one Likewise the top node of a three node instruction cannot be placed in row 1 of a network column if there is a contact in row 2 or 3 of that column If you attempt to insert an instruction in a network location where it will not fit the system returns an Illegal opera tion message on the bottom line of the LCD It is also legal to overwrite one instruc tion with another one with an equal number of nodes For example if the network contains a three node instruc tion such as an ADD block it can be overwritten by any other valid three node instruction a SUB a BLKM an EMTH instruction etc However the three node ADD instruction cannot be GM MICR HHP PRE overwritten by any two node instruction UCTR T1 0 JSR etc or on node in structions SKP RET etc L5 Note The system does not allow you to overwrite a one node in struction e g SKP with a one node element such as a contact or coil Placing an Instruction in a Network To enter a logic instruction follow this nine step procedure Step 1 Step 2 Result Move the cursor to a legal top node location in the logic display area of the LCD with ar foff disa oe ee and enab la gt Push the desired key sequence see the table on the previous page t
54. not active at this screen Admin s attempt to change a password creates a hole in the levels scheme e g trying to create a level 2 password without a pre existing level 3 password User Action Change or delete the node Look for inconsistent use of references in certain types of instructions e g a 3x in the top node of an EMTH instruc tion with the bottom node set to a subfunction that does not support integer input see the Modicon Micro Ladder Logic Manual GM MICR LDR for details Depending on where and when it happens may re quire fix up to a logic network or to the I O map Check the current network or I O map af ter such an error May be caused if you try to use a non numeric key when data entry is started push exit or to clear the message command enter System Messages 171 Message E Modbus error xxxx 172 System Messages Meaning Modbus report nonverbose messages for unexpected Modbus errors where xxxx has the following meanings XXXX Meaning 0001 A parameter to modcom had illegal value HHP firmware bug 0003 Modcom does not support function HHP firmware bug 0004 An expected response was not obtained 0005 User initiated communications abort 0010 An invalid communications mode 0011 An invalid communications mode 0012 Bad comm port the requested number is out of range 0030 Invalid Modbus address must be in the range 1 247 0031 I
55. number of a child PLC 28 Configuring a Micro PLC step in the configuration process when you use the HHP to configure the PLC Within the Auto config option resides the ability to Oo Specify an operating mode for the PLC Oo Define the number of child PLCs on an I O expansion link oO Define all the baseline parameters for your PLC configuration The only other way to provide the PLC with these key configuration elements via the HHP is to download a valid PLC environment to the PLC from another source controller see Chapter 7 for details GM MICR HHP ac Configuration Options for a Previously Configured PLC Once the PLC has been provided with a valid configuration the config parame ters can be monitored with the view confg option and edited with the set config option You can also run the Auto confg option on a PLC that has a valid configuration You may want to do this to change the operating mode of the PLC e g from a single to a parent Caution When the HHP writes A new autoconfiguration param eters to a PLC that is already configured and programmed it clears all previous I O map and ladder logic data from system memory This is true even if the new autoconfig pa rameters are the same as the old ones GM MICR HHP Configuring aMicroPLC 29 How to Autoconfigure a Micro PLC When you autoconfigure a Micro PLC Logic edit RTU 1 gt you automatically assig
56. or if the process completes itself without detecting any miscompares the follow ing screen appears VERIFY ADDRESS 00067 PLC DATA 08000 HHP DATA 00000 Start cont FINISHED GM MICR HHP cir exit At this point push to leave the verification screen What to Do if You Find an Unexpected Miscompare Miscompares can occur normally if the PLC has been running at any point dur ing or after the data transfer prior to ini tiating a verification process dynamic events in logic program will change the content of some memory addresses as the program is scanned in run mode If the PLC has been stopped constantly between the time the program was transferred and the verification process initiated the data in the addresses of both the PLC and the HHP should be identical If a miscompare is detected under this circumstance you should proceed as follows Step 1 Exit from the current verification process and re initiate a new verification process Step 2a lf another miscompare occurs at the same location exit from the verification screens and redo the data transfer between the PLC and HHP Step 2bIf a miscompare occurs at a different location check the physical connection between the HHP and PLC the comm ports and the cable for a con dition that could cause a comm error If the source of the miscompares still cannot be identified there may be a hardware problem in the PLC or in the H
57. output channels s L 04 MOD MIC141 gt IN 30006 30010 BIN OUT 40001 40002 BIN 0 10V 12BIT 41 02 This screen can be edited in several ways o Change the mic number and thereby change the voltage range and resolu tion of the analog input channels Oo Change the four 3x registers to which the analog input channels are addressed oq Change the two 4x registers to which the analog output channels are addressed o Change the data format of the input registers by toggling the entry in field 5 and or the output registers by toggling the entry in field 7 Editing MIC Numbers and Register Ranges To edit the mrc number move the cur sor into field 3 on the top line of the screen and scroll through your list of disa enab choices with the 4 or gt key Notice that each time the mirc number changes in field 3 the information in field 8 on the bottom line also changes to reflect the input voltage range and bit resolution associated with that mrc num ber The choices available as you scroll through this menu include all legal com GM MICR HHP Pie binations of discrete I O for all models of Micro PLC Analog In Input Voltage Channel Identifiers Range Resolution MIC141 0 10V 12 bit in 12 bit out 12 bit in MIC142 1 5V 42 bit out 12 bit in MIC143 10V Jobo MIC144 0 10V 15 bit in 12 bit out MIC145 1 5V 14 bit in 12 bit out 16 bit in MIC146 10V ib
58. physical I O present in the location but it has been incorrectly identified in the PLC s I O map e g the first slot in the A120 I O rack contains a powered up DAP212 module but the module I O ad dressed to LOCO6 in the I O map is a DAP220 A quick glance at the screen above shows that fixed locations LOCO1 LOCO3 are addressed in the PLC s I O map and that A120 I O is either not be ing used or has been installed but is not been powered up If A120 I O is in stalled and under power then the PLC s I O map and the physical modules in place do not match When the PLC you are monitoring is a parent a second I O health screen can botm be accessed by pushing This screen shows the health status of the fixed I O resources of the child PLCs on the I O expansion link as they are viewed from the perspective of the parent GM MICR HHP PARENT L0O1 05 111 7 I 0 L06 10 HEALTH L11 15 L16 20 botm vo 4 EXPNDS Childl 1 1 I 0 Child2 beane HEALTH Child3 1 In the example screen directly above the parent has been configured with three child PLCs The parent is access ing some or all of the fixed discrete I O resources of all three child PLCs i e LOC01 in all three is configured Also child 1 has been set up to conduct generalized data transfer with the pa rent i e LOCO5 in child 1 is configured Note Both the parent and
59. previous contiguous reference coil 02046 now appears on line 1 The reference that appeared on line 4 of the previous screen has scrolled off the bottom of the display and now can not be recov ered 118 Reference Data GM MICR HHP PRE Editing Discrete Reference Data The state of a discrete reference can be forced ON or OFF only when the discrete is disabled If you try to change the state of an enabled discrete reference the HHP will ignore the attempt Disabling an Enabled Discrete Step 1 Display the desired reference in the logic data screen Step 2 Place the cursor in either field 1 or 2 of the entry and push disa 4 Result The text string DISABLE ap pears in field 3 of the entry indicating that the discrete has been disabled Changing the State of a Disabled Discrete Step 1 Display the desired reference in the logic data screen Step 2 Place the cursor in either field 1 or 2 of the entry Step 3a To force a currently ON refer E ence to OFF push v Step 3b To force a currently OFF refer E ence to ON push A Result The previous ON OFF status of the selected reference dis played in field 2 is changed the text string DISABLE remains in field 3 of the entry indicating that the discrete is still dis abled GM MICR HHP Enabling a Disabled Discrete Step 1 Display the desired reference in the logic data screen Step 2 Place the cursor in
60. ref erence at its lowest range Fails to trace to a coil in user logic no coil corres ponding to the contact is explicitly used in the logic program Search for disabled discretes back get using Ox or 1x references Object of a search is not in the user logic e Column 11 has one or more coils e Column 10 has one or more nodes other than coils finds no disabled User Action Clear the message by pushing a key it does not get cleared by a subsequent solving of the network subr data Push to toggle back and forth between logic edit and logic data Move cursor in the logic network to a valid reference Object of the search should still be visible on the screen System Messages 177 Message Open row disallowed Other comm attached PASSWORDS DISABLED PLC in kernel mode PLC in optimize mode PLC NOT CONFIGURED PLC NOT KNOWN 178 System Messages Meaning User Action e Row seven not empty e Row six has one or more vertical shorts e Cursor is on a row that intersects an instruction s middle or bottom node Login to the PLC fails be cause another panel is logged into the other comm port Admin must enable pass word security before trying to install or modify pass word characters also re sults from entry of non admin password when password protection is disabled PLC has no valid exec Download a new configuration utive program and ladder
61. return to the transfer save screens to initiate the save to flash operation Selecting a Start up State for the PLC The first item you are asked to specify on the SAVE WITHIN PLC screen is the power up state of the program you are saving to flash This condition is de fined on the third line of the screen The default start up state is Stopped If the PLC adopts this ladder logic pro gram in its power up sequence the PLC will come up in a stopped state You will then need to go to the opera tions menu and select start to put the PLC in run mode You may toggle the start up state of the disa PLC to Running by pushing the enab or gt key In this case the PLC will come up running when it adopts the program in flash during its power up sequence Note The stopped condition is generally considered the safer start up condition but you may consider powering up the PLC ina GM MICR HHP PRE Running condition in applications where the PLC is in a remote or inaccessible location You can still cancel the save to flash cir exit operation at this time by pushing The HHP returns you to the first transfer save screen GM MICR HHP Initiating the Save When you have specified the desired start up state for the program to be foff stored in the PLC s flash push Vv to move the cursor under the Start sav ing selection on the bottom line of the screen To save the logic pr
62. screen of the HHP by pushing command emer on the HHP key pad The following screen appears on the HHP display SAVE TO HHP FLASH lt Yes gt yes lt No gt lt Exit gt exit clear flash Step 5 gram the HHP flash by pushing Result Save the newly transferred pro IPI 1 yes The HHP posts this message on the bottom line of the screen Please wait while the pro gram is saved to flash When the operation finishes it posts another message Request completed momentarily be fore returning you to the top level screen Note If you do not save the new program to flash at this point in the process it will be lost when you exit slave mode 142 Data Transfer GM MICR HHP PRE Changing HHP Executive Firmware The executive firmware for your Hand held Programmer has been factory installed in the unit s flash Updates to the executive may be made to increase functionality and fix bugs An executive download procedure is handled in the HHP in much the same way as a logic program download The key difference between the two proce dures is the software being run on the master computer in this case a loader utility program rather than a logic pro gramming software Updating the Executive with a Loader Utility Program You can update the executive revision by connecting the HHP in slave mode to a computer that contains a special binary executive sof
63. screens where you can choose to auto matically configure or customize the current configuration of your Micro PLC Getting Started 21 Here is the screen command sequence for autoconfiguring the PLC Logic edit RTU ik tase Logic data SINGLE Ple config STOPPED Next menu CPu311 00 command enter Moving to the Next Top level Menu There is a second top level menu screen as indicated by the in the top right corner of the screen To reach this botm next menu either push _ or move the cursor under Next Menu and push command enter View confg Set config sr IEE STOPPED Auto confg CPU 31100 command enter Autoconfigure as Single ple gt caution lt Child ple clears ul Parent plc i o map See pages 30 33 for a detailed dis cussion of how to autoconfigure a Micro PLC with the HHP Here is the screen command sequence for customizing the configuration of the PLC Logic edit RTU I Logic data SINGLE Ple config STOPPED Next menu CPU311 00 command enter View confg Set config SINGLE STOPPED Auto confg first command enter Set comm 1 Set comm 2 S INGLE Set exp MSG RUNNING CPUZ11 00 See pages 34 39 for a detailed dis cussion of how to customize a config 22 Getting Started Operations Rev 1 00 Map 1 0 SINGLE Xfer sa
64. states of references 00001 00016 GM MICR HHP PRE tan Push _ again to produce 02047 00001 eO N 0011011 HIB where the high byte 1B binary value indicates the following states Reference State 00001 ON 00002 OFF 00003 OFF 00004 ON 00005 ON 00006 OFF 00007 ON 00008 ON E Push _ again to produce 02047 00001 oo N 0110101 LOB where the low byte Los binary value indicates the following states Reference State 00009 OFF 00010 OFF 00011 ON 00012 ON 00013 OFF 00014 ON 00015 OFF 00016 ON trac Push _ one more time to cycle the display back to state format If you are displaying a discrete refer ence on the logic data screen that does GM MICR HHP not fall on a word boundary then push z ing _ has no effect Register Formats A register reference entry on a logic data screen is always presented in three fields Field 1 Field 2 Field 3 Reference number Reference value Format type Register values may be displayed in any one of four format types o Decimal o Hexadecimal o ASCII o Binary high byte then low byte To sequence through these reference formats place the cursor on the desired line in either field 1 or field 2 and push trac trac fmt Each sequences the
65. the number set to 1 or change it to another number between 2 4 by typing in the desired number from the HHP keypad 32 Configuring a Micro PLC LS Note Each child PLC on the I O expansion link must have a unique I D If another child has already been assigned D number 1 then you must change the assignment to another integer Once the desired child I D number is foff set under the cursor push Y The cursor moves to the bottom line under Begin to configure If you want to escape this autoconfig screen without writing a new config cir exit push If you want to write the default autocon fig parameters of a child to the PLC command enter push The HHP writes the child autoconfigura tion parameters to the PLC and re displays the top level HHP screen The newly autoconfigured PLC s operating mode is shown in the second status line on the right side of the screen Logic Edit RTU ibe Logic Data CHILD Ple Config STOPPED Next Menu cPpu31100 GM MICR HHP PRE Autoconfig Parameters for a Child PLC 110CPU Models Parameter 311 411 512 612 Number of 0x references 1024 1536 Number of 1x references 256 512 Number of 3x references 32 48 Number of 4x references 400 1872 Child ID must be user specified must be user specified Number of ladder logic 2 the first for control logic 2 the first for contr
66. the screen When the transfer is completed a screen similar to this appears with a completion message on the bottom line TRANSFER PLC TO HHP ADDRESS F1380 DATA 00499 Xfer to hhp complete L5 Note If you start the data trans command enter fer you should push only once Pushing the key more than once will exit you from the screen as soon as the transfer process finished whether the transfer is successful or not When you push the key only once a message will appear at the bottom of the screen at the end of the transfer telling you whether or not it has completed successfully After the transfer is complete push cir exit to return to the previous transfer save mode menu screen GM MICR HHP Data Transfer 129 An HHP to PLC Data Transfer A logic program that is stored in the HHP s flash can be transferred to a Mi cro PLC To properly transfer data from the HHP to a PLC these conditions must be true oO The PLC must be stopped Oo If the program in the HHP was writ ten for a 311 411 model PLC then the target PLC must be any type of 311 411 PLC o If the program in the HHP was writ ten for a 512 612 model PLC then the target PLC must be a 512 612 PLC CS Note If the HHP contains a 612 program with fixed analog I O pro grammed the program can be transferred to a 512 PLC but it cannot be run on that PLC unless you go into the I O map editor of th
67. the Modbus ad move the cursor into the Address field and enter the de sired value above the cursor the current number will be over written To confirm the value command enter push to cancel the value and return to the pre cir vious one push foff Push _ _ to move the cursor to the communication mode field the leftmost field on the second line of screen 2 You can toggle between asc1iI and disa enab RTU with lt or i foff Push _ _ to move the cursor to the Baun field on the same disa enab line Use 4 or as to scroll to the desired baud val foff Push _ _ to move the cursor to the stop bit field on the third disa line of screen 2 Use or enab gt to scroll to the desired stop bit value GM MICR HHP Step 5 Step 6 Result Step 7 foff Push _ to move the cursor under the partrty field on the disa 4 same line Use or enab gt to toggle to the desired parity value When all the communication parameters for this port are set to the desired values push cir exit You return to the first Set config screen where you may either edit other comm port parameters or exit out of the editor by proceeding to step 7 cir exit Push again A screen appears prompting you t
68. the current location in ladder logic is in row 3 of network 2 Step 2 Type the reference number you want to search for For example if you want to search for occurrences of coil 3 in ladder logic type ooog N002 R3 SEARCH 00003 Step 3 If you want to initiate the search at the current logic location botm next N002 R3 push If you want to initiate the search at the beginning of ladder logic back push oS Result The HHP initiates the search from the indicated starting point Step 4 When the HHP finds the next sequential occurrence of the reference it is searching for it displays it on the LCD Result The way in which the HHP dis plays the reference is deter mined by the kind of reference that has been found The display will differ depending on whether the reference is explicit or implied and whether it is a discrete or a register Finding Explicit References An explicit reference is one that ap pears directly in the ladder logic display It could be the discrete reference as GM MICR HHP signed to a contact or coil or it could be a register that appears in a node in one of the instructions When a search finds an explicit discrete reference a display similar to this appears ooog NOO1 R4 Cae a ne ra gt 00003 FOUND 00003 OFF lt where o A message appears on the left side of the bottom line in the display stat
69. the in structions for saving the I O map changes Changing the Register Reference There may be times in an application where you want to use the counter timer values but you need to store them in an input register other than 30001 GM MICR HHP Here is a four step procedure for chang ing the reference number in the LOCO2 screen Step 1 Make sure that field 3 is set to foff mrc147 then push Y to move the cursor to field 4 Result a screen like this appear s L 03 MOD MIC147 gt IN 30001 30001 BIN OUT 16BIT TMR CNTR VAL Step 2 Type in the reference number you want associated with this first fixed input The number can be any 3x register in the range 30001 30048 command enter Step 3 Push Result The HHP fills in field 4 as shown below for example if you type 30045 then push command enter s L 03 MOD MIC147 gt IN 30045 30045 BIN OUT 16BIT TMR CNTR VAL Step 4 To change the bit format in reg foff ister 30045 push Y Result The cursor move to field 5 under the bit format indicator the default is BIN s L 03 MOD MIC147 IN 30045 30045 BIN OUT 16BIT TMR CNTR VAL cir exit Step 5 Push to toggle to the desired format the two choices are BIN and BCD Addressing I O Locations 61 cir exit Step 6 Push then follow the in structions for saving the I O map c
70. three lines in the zoom display give you information about the selected node The second line shows that the node is a normally open contact pass ing power the third line tells you that its data reference is 10001 and the bottom line tells you that it is ON If you move the cursor to row 3 column 2 the node is displayed this way 12348678901 Boe NO001 R3 E beee Erin L gt af The zoom display tells you that you are now in row 3 R3 of network 1 and that GM MICR HHP Pie you are looking at a horizontal short that is passing power to a vertical short No further status information is neces sary for this logic element When showing coils that have been dis abled the zoom display provides that information in two places For example if coil 00129 is disabled and the cursor is placed in row 3 column 4 the node is displayed this way 1234567890 k r A NOO1 R9 E 7Ct Jj eso0 gt 00129 go gt OFF DI lt The backslash symbol preceding the parentheses in the second line of the zoom display indicates that the coil is disabled Also the orr pz status in formation on the fourth line tells you that coil 00129 is OFF and disabled GM MICR HHP Ladder Logic Programming 89 Entering Ladder Logic Instructions with an HHP The ladder logic instruction set can be accessed by scrolling through a series of six functional categories Counter instructions Timer instructions Math in
71. to indicate the pres ing on whether or not the node is pass ence of logic node elements in the logic ing power Fourteen symbols are used display The symbols change depend oy ce Node without power 3 Vertical short without power eccee Node with power flow Vertical short with power flow Node with vertical short s Horizontal and vertical shorts ee flow through without power Node with vertical short power flow through both Horizontal and vertical shorts with power flow in both Horizontal and vertical shorts with power flow in the vertical but not the horizontal Node with vertical short power flow through the short but not the node Horizontal short S Coil without power without power coocoo Horizontal short with Coil with power flow coocoo power flow GM MICR HHP Ladder Logic Programming 81 The symbols do not discriminate be tween single node elements and individ ual nodes within two high or three high instructions For instance if column 1 of the logic display shows the three nodes could represent three contacts or three one high instructions one three high instruction or some combination of a contact or one high in struction with a two high instruction To view the content of any individual node move the cursor under the sym bol in the logic display and look in the zoom screen on the right side of the LCD 82 Ladder
72. to op timize your ladder logic execution When the program is running under Modsoft or Modsoft Lite in optimize mode the logic is solved as efficiently as possible but certain operations e g editing logic are not permitted while the PLC is running The HHP does not support optimize mode functionality If a program in opti mize mode is transferred to the HHP the HHP is unable to take the program out of optimize mode Thus you are unable to edit your logic while the PLC is running GM MICR HHP Data Transfer 127 A PLC to HHP Data Transfer The HHP is a handy tool for transport ing a ladder logic program from one Mi cro PLC to another You can easily transfer a program running in a PLC to the HHP s flash then use the HHP to load the program to other PLCs The PLC to HHP transfer can take place whether the the PLC is running or stopped Accessing the PLC to HHP Transfer Screens To transfer a ladder logic program to the HHP from the PLC to which it is con nected go into the the transfer save mode from the top level HHP menu then place the cursor under the first of the four menu selections on that screen xfer plc to hhp Then push command enter Here is that screen command se quence Operations Map I O SINGLE Xfer save STOPPED Slave hhp cPpu31100 command enter Xfer ple to hhp Xfer hhp to ple Verify with hhp Save within plc command enter XFER TO HHP THE cPpu51201 PROG
73. under the control of the parent PLC You can re enter the I O map editor again by selecting the child 2 4 menu pick and view the newly saved parame ters for child 2 If you were previously editing a screen with a filled box W there should now be no box next to field 3 since the new parameters are now known by the parent PLC c2 L Ol MOD MIC131 gt IN 10017 10032 OUT 00017 00032 16 115vV I O STR 4RY If you were previously editing a screen with an unfilled box 0 the unfilled box should still be there after you save the parameters The parent PLC still does not recognize the presence of any I O at the location because the child is not powered up c2 L 01 MOD MIC131 IN 10017 10032 OUT 00017 00032 16 0115V I O STR 4RY GM MICR HHP Pie Splitting a Child s Fixed I O Resources The Micro PLCs also allow you to split the fixed I O resources of child PLCs with the parent over the expanded I O link In this way ladder logic programs can be run in both the parent and the child PLCs The following table shows the mic num bers that can be used in the I O map editors of the parent and child to split the I O properly A child with the Can split its re With these fixed resources sources to MIC numbers 16 24VDC in pean in MIC129 12 relay out MIC128 16 24VDC in MIC130 4 relay ou 16 115VAC in 16 115VAC in MIC132 8 triac out
74. want to restore it push cir ee ext _ The previous password will be restored If you want to exit the password screen at this point and save the new pass cir exit word as you exit push If you want to save the password and edit oth er passwords in the screen push command enter then move the cursor into the field of another password you want cir command to edit Once e or enter has been pushed the previous password cannot be restored Creating a Level 2 Password Before you begin to create a level 2 password make sure that a level 3 password has already been created Then move the cursor to the top line of the screen the field on the right side of the screen may be empty if no level 2 password currently exists or it may contain a character string if there is al ready an existing level 2 password To create a new password or overwrite the old one type in a character string that consists of 1 8 alphanumeric characters from the HHP keypad If GM MICR HHP you type less than eight characters the HHP will fill all leading characters in the field with zeros If you are overwriting an old password the old character string will disappear as soon as you start typing the new one For example if you want the level 2 password to be DEF002 type in the string LEVEL2 PSWD OODEFO02 LEVEL3 PSWD OODEFOO3 ADMIN PSWD 0001234
75. will not accept that password when you try to enter it An error mes sage appears on the bottom line of the screen LEVEL2 PSWD LEVEL3 PSWD ADMIN PSWD v LEVEL2 PSWD LEVEL3 PSWD ADMIN PSWD 00012345 E Lowr lvl paswd set OODEFO02 00012345 command enter You must move the cursor down to the second line and enter a level 3 pass word before the level 2 password can be accepted Creating a Level 3 Password Before you begin to create a level 3 password make sure that an admin password has already been created Then move the cursor to the second line of the screen the field on the right side of the screen may be empty if no level 3 password currently exists or it may contain a character string if there is already an existing level 3 password To create a new password or overwrite the old one type in a character string that consists of 1 8 alphanumeric characters from the HHP keypad If you type less than eight characters the HHP will fill all leading characters in the field with zeros If you are overwriting an old password the old character GM MICR HHP PRE string will disappear as soon as you start typing the new one For example if you want level 3 pass word to read DEFOO3 type in the string LEVEL2 PSWD LEVEL3 PSWD OODEFO03 ADMIN PSWD 00012345 If you have just overwritten an old pass command word before pushing __ and decide you
76. x a he ory HE Of course vertical shorts can also be entered by themselves in logic nodes similarly to other logic elements Again power flow is always downward through a vertical short The following illustration shows how the HHP will and will not display certain ar rangements of contacts and vertical shorts GM MICR HHP Ladder Logic HHP Display Ladder Logic Programming 85 How the HHP Displays Contacts Coils and Shorts If you place the cursor under a contact coil or short that appears in the net work display the zoom screen will dis play o The number of the network dis played i e your current location with respect to the first network in the controller o The row number of the selected node i e its location in the net work for example if the cursor is under a node in the top row of the logic network display and the zoom screen tells you that it is in row 4 you know that you are viewing rows 4 7 in the network o The type of the selected element its input and its output see the table below 86 Ladder Logic Programming Oo The reference number of the se lected node g The ON OFF state of the selected node g In the case of a coil whether it is enabled or disabled The table below shows how a selected contact coil or short is displayed on the second line of the zoom screen The display shows a combination of the element typ
77. 0000 Start The address and data fields on the sec ond and third lines of the screen are al ways set to 00000 prior to initiating the transfer You may still cancel the transfer at this cir exit point by pushing To start the command enter transfer push the data transfer proceeds from this point until all the current data in the HHP s flash is transferred to the target PLC Note There is no cancel capabili ty for the transfer process once it has started As the data transfer is occurring ad dress locations in HHP flash that are being transferred to the PLC appear in the address field on the second line of the screen The data contained in the displayed address locations appears in the data field on the third line of the screen When the transfer is completed a screen similar to this appears with a completion message on the bottom line TRANSFER PLC TO HHP ADDRESS F1380 DATA 00499 Xfer to ple complete After the transfer is complete push cir exit to return to the previous transfer save mode menu screen GM MICR HHP Data Transfer 131 Comparing HHP and PLC Data After you have transferred a logic pro gram from a PLC to the HHP s flash or from the HHP to a PLC you can com pare or verify the two programs and see whether there are any differences between them If the PLC involved in the transfer is not running at the time o
78. 10CPU61200 ae This I O type identifier addresses the OCR US1101 Miera 16 TIVAR I high speed inputs to discrete references 110CPU41101 8 triac out 10081 10088 110CPU51201 4 relay out n 3 110CPU31102 mIc134 peas On 311 model PLCs LOCO2 should 110CPU41102 riac out D UNCNFG 110CPU51202 4 relay out always MoD U G 110CPU31103 MIC137 16 24VDC in S L 02 MOD UNCNFG 110CPU41103 12 FET out IN 110CPU51203 OUT 110CPU61203 50 Addressing I O Locations GM MICR HHP The cursor does not move beyond field 3 no references should be addressed there LOCO3 Default Parameters LOCO3 on 411 512 and 612 model PLCs is MIC147 s L 03 MOD MIC147 IN 30001 30001 BIN OUT 16BIT TMR CNTR VAL This I O type identifier addresses the counter timer values to register 30001 The values can be displayed by default in binary format On the 311 model PLCs LOCO3 should always MOD UNCNFG gt S L 03 IN OUT MOD UNCNFG The cursor does not move beyond field 3 no references should be addressed there LOC04 Default Parameters LOC04 on a 612 model PLC is mtc141 s L 04 MOD MIC141 gt IN 30006 30010 BIN OUT 40001 40002 BIN 0 10V 12BIT 41 02 This I O type identifier defines the four analog inputs at 0 10 V with 12 bit resolution Input values from O 4095 correspond to 0 10 V and voltages greater than 10 V result in over range on
79. 11 HIB 40100 00110110 LOB Result The cursor moves under the leftmost 1B character in field 2 Step 3 You must overstrike the left most character even if you do not want to change it In this case simply type a o0 Result The leftmost value remains o and the cursor moves right one 122 Reference Data position 40100 00010111 HIB 40100 00110110 LOB enab Step 4 Now use the key to move Result Step 5 Result the cursor under the first char acter you want to change in this case the third o from the left and type in the desired value The old value in the selected position will be overwritten by the new one Repeat step 4 for each bit val ue that you want to change in the rB display When all the changes have been made on command enter this line push The PLC writes the new values to the high byte of register 40100 40100 00101111 HIB 40100 00110110 LOB foff Step 6 Push _ to move the cursor Result down to the Los display and re peat steps 3 5 The PLC writes the new values to the low byte of register 40100 40100 00101111 HIB 40100 00110100 LOB GM MICR HHP PRE Chapter 7 Using the HHP as a Data Transfer Device o Modes of Data Transfer a Some Important Cross transfer Considerations o A PLC to HHP Data Transfer o An HHP to PLC Data Transfer o Comparing HHP and
80. 5 If you have just overwritten an old pass word and decide you want to restore it cir push Ea ext The previous pass word will be restored If you want to exit the password screen at this point and save the new pass cir exit word as you exit push If you want to save this password and edit other passwords in the screen push enar then move into the field of another password you want to edit cir command Once L or Ee has been pushed the previous password cannot be restored Customizing the Admin Password As the system administrator you may want to change the admin password to a string that only you know To over write the default admin password sim fof ply push Y to move the cursor to the third line then type in the desired character string again an alphanumeric string of 1 8 characters available on the HHP keypad For example if you Password Security 165 want the admin password to be DEFoaD type in the string LEVEL2 PSWD OODEFOO02 LEVEL3 PSWD OODEFOO03 ADMIN PSWD OODEFOAD If you have just overwritten an old pass word and decide you want to restore it cir push E ext The previous pass word will be restored If you want to exit the password screen at this point and save the new pass cir exit word as you exit push If you want to save this password and edit other
81. 61 Enabling Password Security A use with admin privileges can enable the security password scheme via this three step procedure Step 1 Move the cursor under status pw DISABLED on the first security screen and push command enter Result The following screen appears KEYSWITCH ENABLED PASSWORDS DISABLED Step 2 Move the cursor under PASSWORDS DISABLED push disa enab tJ or to toggle to PASSWORDS ENABLED KEYSWITCH ENABLED PASSWORDS ENABLED cir exit Step 3 Push Result You have enabled the pass word security scheme and your level of security access will be noted in various screens throughout the HHP system The first se curity screen shows the en abled status on the bottom line EN ES ECUR TTY lar lan lala Enter Password Install Passwords Status pw ENABLED When you exit the security screens the next screen that appears tells you your current security access level Itis noted in parentheses beside the Security entry on the third line 162 Password Security Simple msging HHP Computer xfer SLAVE Security 1 Rev 1 0 When you exit the security screens as admin you are always assigned the highest unprotected security access In the sample screen above the user has level 1 security privileges upon exit ing the security screens This indicates that passwords have been assigned to level
82. C s fixed resources as follows oO LOCO1 is reserved for the PLC s fixed discrete I O points oO LOCO2 is reserved for the fixed high speed counter interrupt inputs avail able on all model 411 512 and 612 PLCs if you are addressing I O ona 311 model PLC LOC02 should not be used a LOCO3 is reserved for the fixed counter timer input register available on all 411 512 and 612 model PLCs if you are addressing I O ona 311 model PLC LOCO03 should not be used a LOC04 is reserved for fixed analog I O channels available in the 612 model PLCs if you are addressing I O on a 311 411 or 512 model PLC LOC04 should not be used a LOCOS is reserved for registers used in a generalized data transfer opera tion between parent and child PLCs the child as addressed through the parent s I O map should be given the same settings as the child addressed through its own I O map On the 512 and 612 model PLCs an additional 15 locations LOCO6 LOC20 are provided to support A120 I O modules driven by the PLC over the parallel I O expansion link LOC Screen Layout LOC screens can display data in as many as eight fields Field 3 Ss LO4 MOD MIC141 Field 4 IN 30006 30010 BIN Feds Field6 F guT 40001 40002 BIN Field7 0 10vV 12BIT 41 02 Field 8 GM MICR HHP Addressing I O Locations 47 The top line of the LOC screen contains three data fields Field 1 on the top left shows a letter or a
83. G holdup time period No rsp Framing errors Framng Lost communications Lost Parity errors Prty command enter COMM W CHILD 1 T Retrys 023 Lost 005 No rsp 016 Prty 000 Framng 000 Ovrun 000 botm next COMM W CHILD 2 Sa Retrys 000 Lost 000 No rsp 000 Prty 000 Framng 000 Ovrun 000 botm next COMM W CHILD 3 an Retrys 000 Lost 000 No rsp 000 Prty 000 Framng 000 Ovrun 000 botm next COMM W CHILD 4 Retrys 000 Lost 000 No rsp 000 Prty 000 Framng 000 Ovrun 000 Notice that you can page through the various COMM W CHILD screens with the botm botm next key If you push _ on the last screen COMM W CHILD 4 the HHP 76 Addressing I O Locations QO OQ 0 Communication overruns ovrun Each counter can of log up to 255 oc currences of the condition it is monitor ing While the PLCs are running the counters dynamically accumulate the occurrences of the following conditions between the parent and the specified child You can access these screens while the parent PLC is in a stopped state but the counter values will either be frozen with the values that were current when the PLC was stopped or all set to 000 LS Note Under ideal conditions all counters read 000 Changing numbers in the counter indicate that either the child PLC is not running or there are problems in the pa
84. HP Data Transfer 133 Saving a Logic Program to PLC Flash The HHP can be used to issue a save to flash command in the Micro PLC to which it is connected This command saves the program currently in the PLC to the PLC s flash memory Once the program is stored in the PLC s flash it cannot be lost during a power failure even if the PLC does not use the bat tery or battery capacitor options Accessing the Save to Flash Screens To initiate a save to flash command in the PLC from an HHP go into the the transfer save mode from the top level HHP menu then place the cursor under the third of the four menu selections on that screen Save within plc Then command enter push Here is that screen command se quence Operations Map 1 0 Xfer save Slave hhp command enter Xfer plc to hhp Xfer hhp to ple Verify with hhp Save within plc command enter SAVE WITHIN PLC POWER UP RUN STATE Will be Stopped Start saving SINGLE STOPPED cpu31100 134 Data Transfer To initiate the save the PLC you are communicating with must be stopped If the PLC is running when you attempt the save a message appears on the bottom of the screen SAVE WITHIN PLC POWER UP RUN STATE Will be Stopped Controller running To stop the PLC exit out of the transfer save screens select Operations on the top level menu and stop the PLC You can then
85. Introduction The Security Keyswitch The keyswitch is one of two security systems available on the HHP The other system a four level password se curity scheme is described in detail in Chapter 9 The HHP can be put in program PROG mode or monitor MON mode via this two position key switch located on the bottom right of the panel Program Mode In program mode the HHP allows you to auto login to a Micro PLC and gives you access to all the functions available in the HHP including editing logic and data in the PLC The keyswitch position for program mode is with the flat face of the key fac ing perpendicular to the front of the HHP see the illustration above Monitor Mode In monitor mode the HHP cannot stop start a PLC or make any changes to the PLC s state memory or user logic pow er flow in the logic networks is not dis played Only the transfer of user logic into the HHP including verification is allowed you cannot load user logic to a PLC or save to flash with an HHP in monitor mode The keyswitch position for monitor mode is with the flat face of the key parallel to the front of the HHP as shown in the following illustration GM MICR HHP PRE Front of the HHP Keyswitch in Monitor mode position The Keypad The keypad layout comprises 29 keys 28 of which have dual functions The red command enter key in the bottom left corner of the keypad is used to shift the sense of t
86. LOSE CoL command moves as a block maintaining consis tent topological relationships The OPEN coL command shifts all the nodal logic in the column where the cur sor is placed and all the nodal logic to the right of that column further to the right by one column This leaves the column where the cursor was placed open i e no logic is programmed into any nodes in that column The cLosE coL command shifts left all the nodal logic to the right of an empty column Limits Remember that no nodal information can be deleted or moved to new net works using the OPEN CLOSE COL com mands Therefore the HHP disallows the opening or closing of columns under certain circumstances GM MICR HHP Pie oO If column 11 of a network contains any logic coils oPEN coL is not al lowed in that network o If column 10 contains any non coil logic nodes including shorts OPEN coL is not allowed in that network g If the column in which the cursor is placed contains any nodal logic CLOSE COL is not allowed in that network How to Open a Column Step 1 Place the cursor in a node of the column you want to open command Step 2 Push oner Result A text string probably LMARK appear on the bottom line of the zoom display on the HHP Step 3 Scroll through the list of com disa enab mands with or gt until OPEN coL appears then command push enter Result All the ladder log
87. Logic Programming Entering Coils Contacts and Shorts with an HHP Coils contacts and shorts can be en tered in a ladder logic network directly from explicit keys in the lower left cor ner of the HHP keypad Notice that each entry is preceded by P Appearance in Key Sequence Meaning PP Can Replace Zoom Display Q A normal coil M M A memory retentive i A normally open N O _ E A P A contact yt P A normally closed A N C contact 4 Ix IPI A positive transitional P A 1 yes contact N JH INI A negaitive transitional In Lo 2 contact E r EES D A horizontal short A null node l F Avertical Shor A vertical open brunt A vertical open A vertical short Legal Entry Locations A coil can be placed in an open node on any row and in any column in the logic display no more than one coil can be placed in an individual row The coil is the only logic element allowed in column 11 of a network Contacts and horizontal shorts can be placed in open nodes in any row and in any column except column 11 They GM MICR HHP cannot be placed in a row to the right of a coil Vertical shorts can be placed in open nodes on any row except row 7 and in any column except column 11 They cannot be placed to the rig
88. Modicon Hand held Programmer User s Manual GM MICR HHP 043502912 Version 1 00 August 1993 MODICON Inc Industrial Automation Systems One High Street North Andover Massachusetts 01845 Preface The data and illustrations in this book are not binding We reserve the right to modify our products in line with our policy of continuous product improve ment Information in this document is subject to change without notice and should not be construed as a commit ment by Modicon Industrial Automation Systems Modicon Inc assumes no responsibility for any errors that may appear in this document No part of this document may be re produced in any form or by any means electronic or mechanical without the express written permission of Modicon Inc Industrial Automation Systems All rights reserved Modbus is a trademark of Modicon Inc MODSOFT and MODSOFT Lite are registered trademarks of Modicon Inc Copyright 1993 by Modicon Inc All rights reserved GM MICR HHP Preface Contents Chapter 1 Introduction to the Hand held Programmer 1 About this BOOK sss dada araneae a tds nai eed wots ates 2 Organization apai a a ea ee ee ek ee a A A aS 2 Product Capabilities 0 0 cece eee 2 A Panel Hardware Overview 000 cee eee ee eee ees 3 The Liquid Crystal Display 0 0 cee eee eee 3 The Multipurpose LED 0 cece eee 3 Com
89. N OUT GM MICR HHP and the cursor cannot be moved into any of these fields i e disa enab pushing 1 or only toggles between fields 2 and 3 Notice also that the black square appears to the left of field 3 indicating that the cur rent selection is available but has not been saved cir exit Step 3 Push then follow the in structions for saving the I O map changes Changing the Range of Discrete References There may be times in an application where you want to use the high speed inputs but you do not want them ad dressed to references 10081 10088 Here is a sample four step procedure that changes the discrete input range to 10025 10032 Step 1 Make sure that field 3 is set to foff mrc14o then push Y to move the cursor to field 4 Result The cursor appears under the leftmost digit in the low number of the input reference range s L 02 MOD MIC140 gt IN 10081 10088 OUT 8 INTPT CNTR INP Step 2 Type in the reference number you want associated with this first fixed input The number must be a multiple of 8 1 command enter Step 3 Push Addressing I O Locations 59 Result The HHP fills in the high refer ence number in the range For example if you type 10025 command then a the range in field 4 reads sS L 02 MOD MIC140 gt IN 10025 10032 OUT 8 INTPT CNTR INP
90. PLCs foff is set push v The cursor moves to the bottom line under Begin to configure If you want to escape this autoconfig screen without writing a new config cir exit push If you want to write the default autocon fig parameters of a child to the PLC command enter push Configuring aMicroPLC 33 The HHP writes the parent autoconfig parameters to the PLC and redisplays the top level HHP screen The newly Ple Config Logic Edit RTU Logic Data PARENT STOPPED 1 e autoconfigured PLC s operating mode is Next Menu cPu31100 shown in the second status line on the right side of the screen Autoconfig Parameters for a Parent PLC 110CPU Models Parameter 311 411 512 612 Number of Ox references 1024 1536 Number of 1x references 256 512 Number of 3x references 32 48 Number of 4x references 400 1872 ee O SS as Ra must be user specified must be user specified Number of ladder logic 2 the first for control logic 2 the first for control logic segments and the second for and the second for subroutines subroutines bisa at mode Dedicated Modbus mode RS 232 port Tete 8 bit RTU communications communications 9600 baud A comm 1 9600 baud even parity even parity 1 STOP bit 1 STOP bit Modb dd Modbus address 1 It Modbus adress Modbus ASCIl toggling mode RS 232 port N A 8 bit RTU 8 bit ASCII comm 2 communic
91. R HHP botm tioned at Loc20 when you push the HHP wraps to Loco1 If you want to move to a noncontiguous location in either direction say Loc12 you can type in the number 12 above command enter the cursor then push If you type a number larger than the number of LOCs available in the PLC configuration say 25 and push command enter the HHP displays the original LOC number on the top line and the following message on the bottom line S L 04 MOD MIC140 gt IN 10081 10088 OUT E locns 1 20 only L Note Whenever the HHP allows you to move forward to another LOC an arrow appears in the up per right of the screen When you have reached the last available LOC for you PLC LOC05 for CPU311 and CPU411 models LOC20 for CPU512 and CPU612 models the arrow disappears Addressing I O Locations 49 Default I O Map Parameters When you specify the operating mode of the PLC single parent or child in the configuration process the PLC is automatically assigned a set of default I O map parameters You may use these parameters to run your application or modify them in the I O map editor to suit your application requirements The default parameter assignment is determined by the type of PLC and its operating mode Default Parameters for Single and Parent PLCs If you have configured the PLC as a parent or a single the default I O map addresse
92. R HHP Pie A Panel Hardware Overview First let s take a look at the physical aspects of the HHP panel It contains a LCD screen that displays character data 20 columns across by four rows down a multipurpose LED indicator and a keypad with 29 dual function keys The Liquid Crystal Display The first 11 columns of the LCD are la beled above the screen and the four rows are marked to the left of the screen these markings are provided to help clarify ladder logic displays when they are on the screen The Multipurpose LED Below the LCD is a red light emitting diode LED It may go ON or flash for a variety of reasons depending on how the HHP is being used o It flashes when the HHP is receiving power but has failed its start up diag nostics For a discussion of start up procedures see Chapter 2 o It is ON when the HHP is being downloaded with a user logic pro gram or with new executive firmware for a discussion of downloading pro cedures see Chapter 7 Modicon HHP 1234567891011 4 X 20 Character AEG LCD Screen status Multipurpose del back top fon botm LED srch get prev A next cir trac disa foff enab exit frmt Vv gt Keypad with 28 dual entry keys gt vp 7 f mge ms m plus the red key r F _ centr timr math Pushing this red key implements c D 4 5 6 the upper level fu
93. Updates o 3727 Available Flash Revisions Oo 1113 Bulletin Board Help Accessing the Customer Service Bulletin Board The Modicon Customer Service BBS provides several features and benefits see Modfax Document 1113 BBS members may use the procedure given below or may proceed directly to the Flash Lib Downloading a new HHP executive from the BBS does not cost any credits Non BBS members can use the follow ing procedure to retrieve a binary ex Ocutive file and the loader utility from the BBS Data Transfer 143 Step 1 Using your modem and com munication package dial 508 975 9779 Dial at your modem s maximum baud we support up to 14 400 baud no parity 8 data and 1 stop Step 2 If it is your first time calling you need to create an account to do this answer the five ques tions you will be asked at this time Step 3 When you reach the main menu type M lt enter gt You will be welcomed to the flash RAM download service Step 4 Select the number from this menu that corresponds to the HHP You will get a list of eight files select the number with the latest HHP rev Step 5 Select the download protocol that matches your communica tion package protocol CS Note ZMODENM is the preferred protocol KERMIT and XMODEM are also good Step 6 If your package has ZMODEM the download commences auto matically With the other proto cols you may need to tell your communications software t
94. When you enter the I O map editor by selecting self the first five LOC screens you see LOC01 05 refer to the fixed I O locations of the PLC to which your HHP is connected If you are using a parent PLC and you enter the I O map editor by selecting one of the following O Child 1 4 O Child 2 4 O Child 3 4 O Child 4 4 the five screens you see refer to the fixed I O location of the selected child that will be accessed and controlled by the parent Editing LOCO1 In the case of a parent or single PLC you might want to change that PLC s LOCO01 screen for a couple of reasons oO To change the range of 1x input ref erences and or the range of Ox out put references oO To re address the discrete inputs to a 3x register or the discrete outputs to a 4x register Oo To change the current mic number which defines the type of I O that re side in that LOC In the case of a child PLC if you want to allow the parent to have access to all the LOCO1 I O resources leave LOCO1 unconfigured On the other hand if you want to split some of the LOCO01 I O re sources with the parent or place all those resources under the child s own control you must edit the I O map ac cordingly 56 Addressing I O Locations Editing a Range of Discrete References There may be times in an application when you want to address the fixed dis crete inputs in your PLC to references other than 10001 10016 or the fixed discrete
95. ad cir exit dress entry then to leave the screen and hunt for comms The HHP systematically tries all combi nations of addresses 1 247 with both the a and B type port parameters The hunt for comms could take on the order of ten minutes worst case When the HHP establishes communications with the PLC at the specified Modbus ad dress with the correct comm port pa rameters it returns the standard top level HHP menu screen The Slave Hhp Menu Slave Hhp can be selected if you are connected to Micro PLC and you want to advance through the security pass words or if you are connected to a com puter and you want to download new HHP executive firmware from it If the HHP Fails its Start up Diagnostics The HHP will fail its start up diagnostics if its executive firmware is determined to be invalid In this case the HHP goes into its kernel mode and the LCD re mains blank or displays some meaning less pattern such as checks or bars GM MICR HHP ac Selecting a Cursor Display You can select any one of three possi ble cursors on the HHP liquid crystal display o Option 1 a blackened rectangle that flashes on the first character in a se lected text entry or on a ladder logic node symbol on the HHP screen Bogic Edit RTU ho Logic Data SINGLE Ple Config STOPPED Next Menu cPu31100 o Option 2 the same blackened rect angle flashing alternating with an un derline
96. ations 9600 baud even parity 1 STOP bit Modbus address 1 I O expansion network I O expansion network RS 485 port 9 bit data communications 9 bit data communications exp net 125 000 baud 1 STOP bit 125 000 baud 1 STOP bit 34 Configuring a Micro PLC GM MICR HHP PRE Customizing a PLC Configuration There may be times when you want to modify some existing configuration pa rameters to suit your application needs In this case you need to select the set config option Set config can be en tered only when the PLC has a valid configuration LS Note If your PLC is currently un configured you must must first au toconfigure the PLC in the desired operating mode before you can make the Set config selection Config Parameters that Can Be Edited The Set config screens allow you to Oo Change the communication parame ters for all the ports on your PLC oO Change a port on the PLC that may be used for simple messaging o Change the I D number of a child PLC Accessing the Set config Screens The first Set config screen is accessed as follows View confg Set config SINGLE STOPPED Auto confg first command enter Set comm 1 Set comm 2 Set exp MSG S INGLE RUNNING CPpu311 00 GM MICR HHP The cursor can be moved only through the menu selections on the left side of the screen Note Ifthe PLC is a CPU311 or CPU411 model the second
97. ave discrete references 00009 00016 available for other ad dressing requirements Discrete references are addressed in sequences of multiples of 16 1 10001 10016 10017 10033 10049 10064 or multiples of 8 1 00001 00008 00009 00016 00017 00024 00025 00032 If you try to address discrete I O to a block of references that is out of se quence e g 00018 00034 an error appears on the screen E ref 00018 range Out of range reference numbers are de termined by the way your PLC is confi gured If you are using the HHP default configuration values to address discrete I O to references in a 311 or 411 model Addressing I O Locations 53 PLC the highest range of reference numbers you can specify is O 10241 10256 for discrete inputs O 01009 01024 for discrete outputs If you are using the HHP default confi guration values to address discrete I O to references in a 512 or 612 model PLC the highest range of discrete refer ence numbers you can specify is O 10497 10512 for discrete inputs O 01521 01536 for discrete outputs If you try to address discrete I O to a range of reference numbers that ex ceeds the maximum e g 10513 10529 an error appears on the screen E ref 10513 range Mapping I O to Registers Register references 3x registers for in puts 4x registers for outputs always contain 16 bits The bits may be used to store representational data e g count accum
98. be displayed if and only if the discrete reference num ber falls on a 16 word boundary e g 00001 10017 These formats are called matrix formats 114 Reference Data By default any discrete reference is dis played in its state format initially If the discrete reference number falls on a word boundary you can cycle through the following series of format displays trac frmt using the key o A hex matrix representing the states of the selected reference and the next 15 contiguous references o A high byte binary matrix represent ing the states 0 OFF 1 ON of the selected reference and the next seven contiguous references e g if the selected discrete is 00017 then the high byte matrix will show the states of references 00017 00024 o A low byte binary matrix representing the states 0 OFF 1 ON of the eight references that immediately fol low the low byte matrix e g if the selected discrete is 00017 then the low byte matrix will show the states of references 00025 00032 When a matrix format is displayed for a discrete reference the enabled disabled condition of the reference states is not displayed Suppose we take the logic data screen just shown and move the cursor under coil reference 00001 trac Push _ The screen changes to something like 02047 00001 ON 9B35 HEX where the number 9835 is the hexadeci mal representation of the bit
99. be used to search the logic program for disabled Ox or 1x references You can search sequential ly through the program for all instances of a disabled Ox or 1x references To initiate such a search del srch Step 1 Push then type the ref erence number you want to start with If you want to start the search at a specific disabled Ox or 1x reference type it in if you want to search sequentially for all disabled Ox coil references type 00000 if you want to search sequentially for all dis abled 1x references type 10000 disa Step 2 Push Pe Result The display of the discrete ref erence you are searching for contains the delimiter DIS indicating that the search is re stricted to instances of the disabled reference For example if you want to search for all disabled coils in the logic program the LCD would look like this ooog NO002 R3 SEARCH 00000 DIS back get Step 3 Push Result The HHP starts searching the program at 10005 for the disabled discrete you have specified If one is found a screen similar to this appears nooo NOO1 R1 oo a gt 00003 FOUND 00003 DIS lt The message on the bottom left of the screen tells you that the disabled discrete you searched for has been found The cursor in the logic display appears un der the found coil 00003 and the information in the zoom dis play tells you that it
100. bit ASCII Step 1 Starting at the first config screen place the cursor under Set config and push command enter Result The following screen appears Set comm 1 Set comm 2 SINGLE Set exp MSG STOPPED cpu51201 The operating mode status in formation on the right side of the screen indicates that the PLC is in single mode Step 2 Place the cursor under Set command enter exp MSG and push Result The following screen appears Configure SINGLE md msg goes to Explnk The information shows the default single mode parameter for messaging i e the PLC port set for messaging is the exp link port Step 3 Place the cursor under Exp1nk enab gt and push Result This keystroke scrolls the mes saging port selection to Comm 1 GM MICR HHP Configure SINGLE P msg goes to Comm 1 botm next Step 4 Push Result This following screen appears SET SIMPLE MSG PARAM 8 BIT BAUD 9600 STOP 1 PARITY EVEN Step 5 With the cursor under 8 BIT enab push 1 to toggle to 7 Bit Then Bi ext push Result This previous screen appears Set comm 1 Set comm 2 SINGLE Set exp MSG STOPPED CPUS 120 1 cir exit Step 6 Push again Result A screen appears prompting you to write the new messag ing route to the PLC WRITE CONFIGU RATION TO CONTROLLER
101. cata the HHP will position you in the first network in the subroutine segment If no networks exist in the subroutine segment the HHP displays the follow ing screen Segment Boundary Crossed Enter subrtine area To return to the original network and H cursor position push we Ladder Logic Programming 109 Chapter 6 Monitoring and Editing Data Reference Values Logic Data Mode Reference Formats and Entry Fields Moving through the Logic Data Screen Editing Discrete Reference Data Editing Register Reference Data GM MICR HHP Reference Data 111 Logic Data Mode In logic data mode the HHP can moni tor and edit the discrete and register reference data in the ladder logic pro gram To be able to get to logic data mode the HHP must be connected to a PLC that is powered up and correctly configured Accessing Logic Data Mode Logic data mode can be accessed from the top level HHP screen or from a logic edit screen see Chapter 5 Use this screen command sequence to access logic data mode from the main LCD screen Logic edit RTU 1 Logic data SINGLE Ple config STOPPED Next menu CPU311 00 command enter To access the logic data mode from any subr data screen in logic edit mode push Entering Reference Data When you enter logic data mode for the first time the following screen appears To get the cur
102. ce Values 000 eee eee 109 Logic Data Mode cndiet et hea a oon tae ek tea a ak he 110 Accessing Logic Data Mode eee eee eee 110 Entering Reference Data 0 cece eee 110 How to Get Reference Data from the Logic Edit Screen 111 Reference Formats and Entry Fields 112 Discrete Formats 06 06 chee escent ee ee eee beats 112 Register Formats ss ro era e aoe aa Se ae A 113 Moving through the Logic Data Screen 4 115 Moving between Line Entries 0 c cece eee 115 The lt next gt and lt prev gt KeyS cee eee eee 115 Editing Discrete Reference Data eee eee 117 Editing Register Reference Data cee eae eee 118 Selecting a Format 0 0 0 cece ene ene 118 Editing Decimal and Hexadecimal Data 118 Editing ASCII Data 2 0 0 2 eee eee 119 Editing Binary Data 00 eee eee 120 viii GM MICR HHP Chapter 7 Using the HHP as a Data Transfer Device 0 0 ccc eee Modes Of Data Transfer 0 000 c cece cence Transfer Save Mode Options 00e eee eens Slave HHP Mode Options 0 cece eee eee es How to Access Transfer Save Mode 00005 How to Access Slave HHP Mode 000e eee Some Important Cross transfer Considerations Compatibility between Micro PLC Models
103. child PLC must be running in order for the HHP to properly display I O health Also the parent s I O map must be correctly configured to match the child s I O map when child I O is shared To toggle back to the previous I O botm next health screen push again If the PLC you are monitoring is not in parent operating mode the second I O health screen cannot be accessed If the PLC you are monitoring is a 311 or 411 model A120 I O modules are not supported and only the fixed I O loca tions are displayed on the first I O health screen PARENT L0O1 05 111 7 I 0 HEALTH Addressing I O Locations 75 Monitoring the Comm Error Counters You can monitor a series of screens each showing six counters that record comm errors between the parent and each child on an expanded 1 O link that is running To access these screens connect the HHP to the parent and ac cess its I O map editor foff Push Y to move the cursor under command enter Err cntrs then wraps back to the comM W CHILD 1 screen Six three position counters are shown in each screen Two counters are shown per line on the second third and fourth lines of the screen These counters log occurrences of the following communi cation errors between the parent and child o Communication retries retrys o No responses within about the last Comms Health Place hilth PARENT Err cntrs RUNNIN
104. con nected to the comm ports on a Mi cro PLC but only one of the two can be logged in at any one time If any of these conditions is not true the I O map editor becomes read only you can view the current parameters in the I O map but you cannot change them Accessing the I O Map The I O map editor can be invoked from the top level menu of the HHP if the PLC has a valid configuration The Map r o selection is on the second top level menu screen 46 Addressing I O Locations Operations Rev 1 00 Map 1 0 SINGLE Xfer Save S TOPPED Slave Hhp cpu31100 fofi Use the Y key to move onto this se command enter lection then push You are now in the I O map editor The menu choices on the next screen de pend on the configuration of the PLC Single and Child I O Map Choices If the PLC you are using has been con figured as a single or child unit a screen similar to this appears upon entry into the I O map editor Self Map I O SINGLE Comms hlth STO PPED cpus1201 The entries on the right of the screen are read only status information You cannot move the cursor into the right side of this screen The two entries on the left of the screen are menu picks o Selecting seit indicates that you want to monitor or edit the fixed or A120 I O locations associated with the PLC with which the HHP is com municating fixed resources include the various discrete and a
105. contains the ASCII characters 7 and you want to change those characters to er follow these three steps Step 1 Place the cursor on the 40100 trac frmt in field 1 and push until the format changes to HEX Result The data in field 2 changes from 1 to 2354 the hex equi valent of the ASCII characters GM MICR HHP Step 2 Edit the hex value changing it from 2354 to 4752 the hex equivalent of the ASCII charac ters GR trac frmt Step 3 Using the key change the reference display format back to ASCII Result The data content in field 2 changes from 4752 to GR Reference Data 121 Editing Binary Data The binary representation of data in a 3x or 4x register can be shown in two format displays one for the high byte HIB and one for the low byte Los The hexadecimal value 2354 for exam ple can be shown as Hexadecimal Binary 23 00010111 HIB 54 00110110 LOB Here is a procedural example that shows how you can edit the values in the HIB and Los of register 40100 changing the the register value from 00010111 00110110 2354 hex to 00101111 00110100 4752 hex Step 1 Set up your LCD screen so that the HIB and Los displays for register 40100 are positioned one above the other 40100 00010111 HIB 40100 00110110 LOB enab Step 2 Push to move the cur sor from field 1 to field 2 of the HIB display 40100 000101
106. copy user logic programs into and out of the HHP s flash In these operations the computer run ning the panel software i e the mas ter device issues the upload or down load command The HHP is semi passive throughout the computer transfer it simply accepts or transfers the data defined by the master The master treats the HHP as a Micro PLC in a computer transfer operation Powering Up the HHP When the HHP is powered up from an independent power supply as it must be when it operates in computer trans fer mode it will fail its start up attempt to establish communications with a PLC This situation is discussed in more detail in Chapter 2 The following top level HHP screen appears when the communication attempt fails NO COMMS NO CONFIG Hhp port Slave hhp UNKN PLC Accessing Computer Transfer Mode To access computer transfer mode make the HHP a Modbus slave by mov ing the cursor under Slave hhp and command enter push 138 Data Transfer Here is that screen command se quence NO COMMS NO CONFIG Hhp port Slave hhp command enter Simpl message HHP Computer xfer SLAVE Security Rev 1 0 command enter COMPUTER Computer xfer a CPU31100 Continue UNKN PLC XFER MODE lt gt HHP Program The PLC model number that appears on the third line of the computer transfer screen tells the master devic
107. cted to its RS 232 port displaying the following message for Comms wait Hunting Please Communicating with a PLC If the HHP is powered by a Modicon Mi cro PLC one of three possible screens will appear on the LCD as soon as communication is established o If the PLC is already configured Logic Edit RTU ears Logic Data SINGLE Ple Config STOPPED Next Menu cPu31100 16 Getting Started menu picks and the display on the right provides status information about the PLC Menu Displays The cursor operates only in the menu display on left side of the display Us ing the menu picks you can navigate through the levels of HHP operation The various paths that may be followed using the menu selections are dis cussed in detail throughout this book To make a menu selection move the cursor under the first character of a command enter menu pick then push The cursor can be moved up or down through the menu selections with the foff and Y keys Both keys will perform a wrap around on the menu list e g if the cursor is ON Next Menu in the first screen and you push the down arrow key the cursor will appear on the Logic Edit menu pick fon Status Displays The PLC status display on the right of the LCD is for information purposes only it cannot be edited GM MICR HHP PRE The top line of the status display tells you about the comm port of
108. d 2 the child may not yet be installed or it may not yet be powered up and running A filled box E indicates that the HHP detects I O available at LOCO1 in child 2 but it has not been saved to the I O map as a MIC131 mix foff Push L_Y_ to move the cursor to field 4 on the second line of the screen Type the first discrete reference in the range of 1x references that will be the addresses for the 115 VAC inputs For example if you want to address the in puts to references 10017 10032 type command enter 10017 Then push c2 L 01 BMOD MIC131 IN 10017 10032 OUT 2 16 115v I O STR 4RY The cursor moves to field 6 on the third line of the screen Here you type in the first of the discrete output references command enter and again push If you type 00017 the screen looks like this c2 L 01 E MOD MIC131 gt IN 10017 10032 OUT 00017 00032 16 115v I O STR 4RY 66 Addressing I O Locations c2 L ol MOD MIC131 To save the new I O map parameters IN push either oe ee I O STR 4RY I ar eit to exit the LOC screens when or the new information is saved O botm top aa 01 E MOD MIC131 next I Prev to move to another out LOC screen when the new informa 16 115V I O STR 4RY tion in this LOC screen is saved When the parameters are saved all the fixed discrete I O resources of child 2 will be placed
109. d if the outputs are stored in a 4x register If the references in field 6 are discretes field 7 is blank 48 Addressing I O Locations Field 8 on the fourth line of the LOC screen contains descriptive information regarding the mrc number selected in field 2 Field 1 is set in the configuration pro cess and cannot be edited in the I O map editor The cursor cannot be placed in field 1 in any LOC screen Fields 2 and 3 can be edited in any LOC screen Fields 4 7 may or may not be edited depending on the nature of the I O type For example if the LOC is only able to address high speed inputs then only field 4 can be edited field 5 is unavailable if the inputs are mapped to discretes and fields 6 and 7 are unavailable because the LOC does not address outputs In LOCs where both inputs and outputs can be addressed fields 4 and 6 can be edited In LOCs where the inputs are addressed to 3x registers field 5 can be edited in LOCs where the out puts are addressed to 4x registers field 6 can be edited Field 8 is a read only field It changes automatically based on edits made in fields 2 or 3 but the cursor cannot be placed there and it cannot be edited directly Moving between Fields in a LOC Screen You can move the cursor between fields fon foff with the and Y keys o To move forward through the fields foff use Y o To move backward through the fields fon A
110. d LAB in the logic Logic successfully cleared via the operations menu User Action Check PLC hardware and cable system System Messages 179 Message Meaning Xfer to hhp complete PLC s user logic has been successfully transferred and stored in HHP flash Xfer to PLC complete The logic program stored in the HHP flash has been successfully transferred to the PLC 180 System Messages GM MICR HHP PRE
111. d character on a character or node symbol on the HHP screen o Option 3 a single character under line that appears constantly under a character or node symbol on the HHP screen Logic Edit RTU Le Logic Data SINGLE Ple Config STOPPED Next Menu cPu31100 To establish option 1 as your cursor IPI 1 yes style hold down the key while the HHP displays the checker patterns at power up To establish the option 2 as your cursor INI 2 style hold down the key while the HHP displays the checker patterns at power up To establish the option 3 as your cursor M 3 style hold down the key while the HHP displays the checker patterns at power up Once a cursor style has been selected it is written to the HHP flash and re mains in effect each time you power up the HHP with the PLC You do not GM MICR HHP need to re select it each time you power up the HHP If you never select a cursor style during the HHP power up option 3 the un derline becomes the default cursor style The underline cursor is shown in screen examples throughout this book Getting Started 19 Configured and Unconfigured Micro PLCs If the HHP receives power from a Modi con Micro PLC that is unconfigured a set up screen similar to the one below appears in the LCD RTU O1 NO CONFIG ple Config Slave hhp cPpu31100 The PLC is unconfigured when it is be ing pow
112. d for a CPU612 PLC which sup ports fixed analog I O to a CPU512 126 Data Transfer you may need to clear the mic number that appears in LOC04 of the target PLC s I O map Transferring Data Created on another Panel to the HHP If you create a PLC environment with another panel software such as Modsoft or Modsoft Lite you can do a couple of things that cannot be managed if that data is transferred to an HHP Limiting the Number Modules in a PLC Configuration Software packages such as Modsoft and Modsoft Lite allow you to customize the number of locations in the PLC s I O map the default in Modsoft and Mod soft Lite is one LOC The HHP on the other hand cannot ad just the size of the PLC s I O map table If you are using an HHP the only way you can set the I O map size is by the autoconfig process in which default val ues are used see pages 30 34 The I O map size cannot be changed otherwise via the HHP If a PLC configuration with a restricted number of I O LOCs less than five in a CPU311 or CPU411 less than 20 ina CPU512 or CPU612 is transferred to an HHP the HHP does not have the ability to increase the number of LOCs When you are creating a program with another software package you should always configure the maximum number of I O LOCs before you download to the HHP GM MICR HHP PRE Creating an Optimized Program Software packages such as Modsoft and Modsoft Lite also permit you
113. der logic node sym bols on and below the selected row in the logic display shift down by one row The cursor remains positioned in the newly opened row C Note The open row command is executed as soon as you push command enter no confirmation message is issued If you want to undo an OPEN ROW command is sue a CLOSE ROW command with the cursor positioned in the same location How to Close a Row Step 1 Place the cursor in any column of an empty row that you want to close command Step 2 Push Suer Result A text string probably LMARK appear on the bottom line of the zoom display on the HHP Step 3 Scroll through the list of com disa enab r E mands with 100 Ladder Logic Programming until cLos Row appears then command enter push Result All the ladder logic node sym bols below the selected row in the logic display shift up by one row The cursor remains posi tioned in the newly closed row CS Note The chose row command is executed as soon as you push command enter no confirmation message is issued If you want to undo a CLOSE ROW command is sue an OPEN ROW Command with the cursor positioned in the same location Opening and Closing Columns in a Network The HHP allows you to shift columns of logic nodes left or right within a network in logic edit mode The logic that is shifted in an OPEN C
114. download operation must be initi ated by the master device For exam ple if you are using Modsoft Lite on your computer master and you want to download a 110CPU51200 program to the HHP follow this procedure Step 1 Make sure that the PLC model number displayed on the third line of the HHP s slave status screen matches the model number for which the program in Modsoft Lite has been designed Step 2 Make sure that the comm port parameters on the serial port of the computer master match those of the HHP slave i e Modbus address 01 9600 baud RTU communications 1 stop bit and even parity Step 3 Select the PLC to File com mand from the Transfer menu on the Modsoft Lite main menu Result The computer master device initiates a download of the logic program to the HHP CS Note The download from master to HHP is not direct to the HHP s flash The master which is treat ing the HHP as a programmable controller sends the program to what it believes is the PLC s user data memory state RAM While the download is running the red status LED on the HHP goes ON to indicate com munications in process When the download is com plete the LED goes OFF and an asterisk appears beside the PLC model number on the third Data Transfer 141 Step 4 line of the HHP s slave status screen The asterisk indicates that there is now a program in the HHP for the specified PLC model Exit the slave status
115. e HHP s flash may be clear i e there is no asterisk next to any model number that you select or it may al GM MICR HHP PRE ready have a program in it If it does have a program in it when a download is initiated that program will be over written by the download when you eventually save the program to HHP flash You may want to clear the HHP s flash prior to initiating the download to eliminate any possible confusion How to Clear a Program from the HHP s Flash To clear a program from the HHP s flash prior to a download exit the slave command status screen by pushing _ __ net Ono then push in the next screen to clear the flash COMPUTER XFER MODE lt Enter gt to leave Panel xfer CPU51201 ADD 01 9600 RTU 1 EV command enter SAVE TO HHP FLASH lt Yes gt yes lt No gt clear flash lt Exit gt exit net Ono p 4 HUNTING FOR COMMS Please wait After the flash is cleared the HHP re turns to the top level screen If you then re enter computer transfer mode the default PLC model number cPU31100 appears on the third line of the screen COMPUTER Computer xfer a CPU31100 Continue XFER MODE lt gt HHP Program GM MICR HHP This default model number without a cursor indicates that the HHP now has no program in its flash How to Download a Program to the HHP s Flash The
116. e along with its input and its output where appropriate The input shows whether the element is receiving logic power flow The output show when the element is passing pow er and the state of any vertical short that might follow it GM MICR HHP PRE Symbols Displaying Contacts Coils and Shorts in the Zoom Screen with power 7C J Disabled normal coil M Enabled memory retentive coil Enabled memory retentive coil c M without power 7 M Disabled memory retentive coil Input Logic Element Output heey C J Enabled normal coil with power C J Enabled normal coil without power N A on amp Passing power Power in Normally open contact EF Not passing power No power in 7 Normally closed contact Passing power with a P _ Positive transitional contact powered vertical short i Not passing power with a INI Negative transitional contact powered vertical short fl Not passing power with an unpowered vertical short _ Passing power with no ose ess een sta ees Horizontal short vertical short passing power 2 Passing power with a vertical short Not passing power no vertical short Horizontal short i i onina oio ce ee without power Not passing power with a powered vertical short e Not passing power with an unpowered vertical short N A N A Vertical short without power
117. e or parent PLC that supports the fixed counter timer in puts associated with LOCOS then by default the values are accumulated in register 30001 s L 03 MOD MIC147 gt IN 30001 30001 BIN OUT 16BIT TMR CNTR VAL Similarly to the LOCO02 screen the LOCO3 screen can be edited in four ways o Unconfiguring the counter timer reg ister for your application o Changing the 3x input reference o Changing the data format of the reg ister by toggling the entry in field 5 GM MICR HHP Pie Re addressing the counter timer in puts to a series of 16 contiguous dis crete 1x references Unconfiguring the Counter timer Register If you do not want to address the coun ter timer values in the I O map you can unconfigure them via the following procedure fon foff Step 1 Push or _ to move the cursor into field 3 on the top line under MIC147 disa enab Step 2 Push tjo to scroll to the optional choice UNCNFG Result The data in fields 4 8 are cleared as shown here s L 03 MMOD UNCNFG gt IN OUT and the cursor cannot be moved into any of these fields disa enab i e pushing 4 ior gt only toggles between fields 2 and 3 Notice also that the black square appears to the left of field 3 indicating that the cur rent selection is available but has not been saved cir exit Step 3 Push then follow
118. e target PLC and change LOC04 see Chapter 4 Accessing the PLC to HHP Transfer Screens To transfer a ladder logic program from the HHP to a PLC go into the the transfer save mode from the top level HHP menu then place the cursor under the second of the four menu selections on that screen xfer hhp to plc command enter Then push Here is that screen command se quence 130 Data Transfer Operations Map 1 0 Xfer save Slave hhp command enter Xfer plc to hhp Xfer hhp to ple Verify with hhp Save within plc command enter XFER TO CPU51200 THE CPpu51201 PROG IN HHP Continue SINGLE STOPPED cpu31100 The model number of the target PLC appears on the first line of the screen and the type of PLC on which the pro gram in the HHP was created appears on the second line For example the screen directly above indicates that the HHP contains a program written created with a 110CPU51201 PLC and that this program will be transferred to a 110CPU51200 PLC Initiating the Data Transfer If you do not want to continue the HHP to PLC data transfer at this point you cir exit can push The HHP returns you to the previous transfer save mode menu screen To proceed with the data transfer push command enter The following confirma tion screen appears GM MICR HHP PRE TRANSFER HHP TO PLC ADDRESS 00000 DATA 0
119. e that the HHP holds a logic program obtained from a specific type of PLC If the HHP does not currently have a logic program stored in its flash the default PLC mod el number cpu31100 appears as shown in the sample screen directly above If the HHP s flash does currently contain a logic program then the PLC model number for which that program was written appears by default on the third line with an asterisk next to it The asterisk indicates that the HHP does contain a valid logic program For example if you access computer transfer mode with an HHP that has a logic program for a model 110CPU51201 PLC in its flash the computer transfer screen looks like this GM MICR HHP COMPUTER Computer xfer a CPU51201 Continue XFER MODE lt gt HHP Program COMPUTER XFER MODE lt Enter gt to leave Panel xfer CPU51201 ADD 01 9600 RTU 1 EV Selecting a PLC Model Number for the Slave If you want the master device to down load a program to what it thinks is a PLC other than the default you can se lect any one of the 14 possible Micro PLC model numbers CPU31100 m CPU31101 CPU31102 CPU31103 CPU41100 CPU41101 CPU41102 CPU41103 CPU51200 CPU51201 CPU51202 CPU51203 CPU61200 aou auauua og od Oog OD Oo CPU61203 To select any one of these model num bers scroll through the list by pushing disa enab or with the cursor under the displayed model number on the third
120. ed to a register Otherwise an error mes sage will appear when you try to exit the screen For example to exit the s L 01 MOD MIC131 gt IN 10001 10016 OUT 40027 40027 16 0115V I O STR 4RY cir exit s L 01 MOD MIC131 gt IN 10001 10016 OUT 40027 40027 E Inp amp Out Incompat Addressing I O Locations 57 Changing an MIC Number It is possible for an inappropriate mic number to appear in field 3 of the LOCO1 I O map screen For example if you are using a 110CPU51201 PLC which has 115 VAC inputs and triac and relay outputs the appropriate mic num ber would be MIC131 MIC132 Or MIC133 However the I O map could have been edited or downloaded so that m1c137 appears defining fixed 24 VDC inputs and FET outputs in the PLC To edit the mrc number move the cur sor into field 3 on the top line of the screen and scroll through your list of disa enab choices with the 4 or gt key Notice that each time the mrc number changes in field 3 the information in field 8 on the bottom line also changes to reflect the I O description for that mrc number The choices include all legal combinations of discrete I O for all Mi cros PLC Legal I O Discrete I O Type Identifiers Resources 16 24VDC in 110CPU31100 maces 12 relay out 110CPU41100 16 24VDC in 110CPU51200 MEC129 8 relay out 110CPU61200 MIC130 16 24VDC in 4 rela
121. een in the I O map edi tor or initiate an exit from the editor by cir exit pushing When you exit the I O map editor you will be asked to confirm or ignore all the changes you have made while you were in the editor GM MICR HHP PRE Editing LOC02 If you are using a single or parent PLC that supports the fixed high speed inter rupt inputs associated with LOCO2 these inputs are addressed by default to references 10081 10088 s L 02 MOD MIC140 gt IN 10081 10088 OUT 8 INTPT CNTR INP There are four kinds of changes that can be made at LOC02 o Unconfiguring the high speed inputs Oo Changing the range of the discrete 1x references o Addressing the inputs to a 3x input register instead of eight discrete 1x references qo Changing the data format of the reg ister by toggling the entry in field 5 Unconfiguring the High speed Inputs In all single and parent Micro PLCs that support fixed high speed inputs the de fault I O type identifier for LOCO2 is MIC140 If you do not want to address the inputs in the I O map you can un configure them via the following procedure fon foff Step 1 Push or _ to move the cursor into field 3 on the top line under MIC140 disa enab Step 2 Push lt 4 or _ to scroll to the optional choice UNCNFG Result The data in fields 4 8 are cleared as shown here s L 02 MoD uNCNFG gt I
122. egister reference Tracing a Coil The HHP also allows you to search for the specific coil that will fire a selected contact in ladder logic This type of a search operation is known as tracing To trace a coil place the cursor under a trac contact and usn ME fmt Since there can be no more than one coil botm back traced in the logic the nox and get keys are not used in a trace operation A trace always begins in the first net work of the logic program When the coil associated with the se lected contact is found the cursor ap pears under the traced coil in the logic screen and the arrow in the zoom GM MICR HHP screen points to the coil reference num ber on the third line For example if the trace operation gives you this screen ooo NO003 R2 ooog sot ay gt 00003 oooog lt we see that the traced coil is coil 00003 and that it is located in row 2 of network 3 To return the HHP display to the original back contact push get Finding a Subroutine ata The key sequence can be used in two ways o If you place the cursor on a JSR node in ladder logic and push subr caa the HHP will search for the LAB instruction associated with that JSR and position the cursor in that LAB node in the subroutine segment o If you place the cursor on any node other than a JSR node in ladder log ic and push
123. eleted networks 4 and 5 become networks 3 and 4 respectively 102 Ladder Logic Programming A Caution Once you have is sued and confirmed a DEL NET command it cannot be undone The logic in the deleted network can not be recovered Checking for Available User Logic Memory You can check the number of words of user logic memory while you are in logic edit mode with the AVAIL command To access this information follow this procedure Step 1 From any network in logic edit mode push command enter Result A text string probably LMARK appear on the bottom line of the zoom display on the HHP Step 3 Scroll through the list of com disa enab mands with or until AVAIL appears then command enter push Result A message appears on the bot tom line of the zoom display indicating the number of words of user logic that have already been used and the number of words still available GM MICR HHP Pie For example the message oooog oo00009 gt 0400360 oooog 0400350 onai BLKM avail 1949 used 136 indicates that of a total 2085 words of user program memory 136 words have been used to date and 1949 words are still available for logic programming or for storing loadable ladder logic instructions GM MICR HHP Escaping from the Command List If you get into the command list and want to get back out without executing any of
124. en it is laid out on paper with the network power flow indicated by darkened lines Network 1 H mm 10001 10002 10003 00128 00128 P 10001 00129 00130 00129 In the first and second rows of the net work power is passed through contacts 10001 and 10002 down the vertical to contact 00128 and back up to turn ON coil 00128 In the third and fourth rows power is passed through contacts 00128 and 00130 Contact 10001 receives power but does not pass it so coil 00129 is turned OFF Here is how the network is shown in the network display of the HHP 88 Ladder Logic Programming s6 78901 CI BE iiO ah EE Ho Cid AEN Power flow through the nodes is shown by the darkened node boxes and the double lined shorts Notice that coils are always displayed in the column where they are solved on the HHP not expanded to column 11 as they may be in some panel software displays If we move the cursor under the top left node in the network the LCD screen shows the following 12s4se7e9u0Nn Seo N001 R1 E 22 I 0 00 gt 10001 ao gt ON lt The top line of the zoom display gives you some navigational information about the location of the network and the selected node It tells you that the node is in network 1 Noo1 and in row 1 R1 of that network You therefore know that you are at the top of the net work and at the beginning of the logic segment The next
125. en use lt or 68 Addressing I O Locations enab to scroll to the m1c136 selection MIC136 defines the I O mix as 16 230 VAC inputs and four relay outputs C1 L 01 BMOD MIC136 gt IN OUT 16 230vV 1 0 4RY foff Push L_Y_ to move the cursor into field 4 on the second line Type in the first 1x reference number say 10001 and command enter push C1 L 01 HMOD MIC135 IN 10001 10016 OUT 16 230Vv I O 4RY The cursor moves into field 6 on the third line type the first Ox reference command enter number and push again Because the output range requires only four references you can use multiples of 8 1 for this example type 00009 C1 L 01 HBMOD MIC135 gt IN 10001 10016 OUT 00009 00016 16 0230V 1 0 4RY cir exit Now push and save the new I O map parameters When these parame ters are saved the full complement of discrete I O points will be split between child 1 and its parent Both PLCs will share the 16 inputs child 1 will control the eight triac outputs and the parent will control the four relay outputs GM MICR HHP PRE Addressing Generalized Data Transfer Registers in a Parent and Child Generalized data transfer GDT func tionality requires that you do register setup in LOCO5 of the child s I O map editors accessed through itself and through the parent PLC GDT sho
126. er the editor by selecting Chila 3 4 on the first I O map screen Self Map I O Child 3 4 PARENT Comms hlth S TOPPED CPU51201 Then advance to the LOCO5 screen By default this screen is initially unconfigured c3 L 05 MOD UNCNFG gt IN OUT 70 Addressing I O Locations Note The c3 status information in field 1 on the top left of the screen indicates that you have accessed child 3 through the par ent s I O map editor We now need to set up the parent with four words of input and four words of output similar to child 3 To define the number of words regis foft ters to be used push Y to move the cursor to field 3 under Mop UNCNFG disa enab then use s or MIC150 selection to scroll to the c3 L 05 MOD MIC150 gt IN OUT 4 WORD I O 4 WORD L Note The PLCs at both ends of the GDT connection must be set up with the same number of regis ters reserved for the transfers foff Push LY to move the cursor to field 4 on the second line of the screen and type 30011 followed by The HHP fills in the range of four con tiguous 3x registers c3 L 05 MOD MIC150 gt IN 30011 30014 BIN OUT 4 WORD I O 4 WORD foff Push _ _ again to move the cursor to field 6 on the third line of the screen command enter and type 40021 then GM MICR HHP PRE The HHP fi
127. ered up for the first time or when it has had all its previous memory contents cleared Configuration Modes The PLC must be configured before you can program or operate it A configura tion is a table of parameter values that define the PLC s operating parameters and conditions You can set up this parameter table with an HHP using the Auto config mode and customize the table using the Set config mode Autoconfig Mode The PLC can automatically establish a configuration table for itself based on the model of Micro PLC you are using and on its operating mode single par ent or child The autoconfiguration pro cess sets up valid configuration param eters for the fixed I O and communication resources of the unit and reserves memory space for handl ing additional resources e g A120 1 O child I O resources to be accessed by a parent Autoconfig mode is a quick and efficient way to set up a single PLC that does not use A120 I O expansion or a child PLC whose fixed resources are to be accessed by the parent In both these 20 Getting Started cases the autoconfiguration parameters see Chapter 3 give you everything you need to operate the PLC Autoconfig mode gives you only a pre liminary configuration for a parent PLC a single PLC that uses A120 I O or a child that uses A120 I O or any of its own fixed resources In these cases you will need to edit the autoconfig pa rameters in order to finalize the con
128. es you out of the simple message cir it mode anc ll a clears the screen of all characters as well as turn ing OFF the LED The Linefeed Character The linefeed LF character 10 decimal OA hex moves the cursor from its cur rent row position to the same position in the row directly below it The Formfeed Character The formfeed character 12 decimal OC hex clears message information from the four lines currently displayed on the HHP screen The Carriage Return Character The carriage return CR character 13 decimal OD hex moves the cursor to the leftmost position in the current row GM MICR HHP Pie Using an HHP as a Message Display A Ladder Logic Example Displaying the ASCII Character Set on the HHP Here is a pair of logic networks that will generate a continuous display of all the available ASCII characters Each char acter is preceded by an exclamation point n and consequently each ASCII character that is not available on the HHP is shown as two exclamation points next to one another Network 1 tL 0001 40110 00002 Horie 0256 40110 40007 ADD SUB 40110 40110 40110 40004 0256 SUB ADD 40110 40111 0033 MUL 40006 Network 2 0025 00002 T 01 40002 00002 1 40110 00002 00001 40111 COMM 00002 GM MICR HHP Simple Messaging
129. eyswitch GM MICR HHP Password Security 163 Assigning Passwords There are two prerequisites for assign ing security level passwords in the HHP Oo The user must have admin privileges Oo The password security scheme must be enabled To assign passwords or simply to enter a display to see the current password assignments follow this sequence US lat Pies Pest SECURITY Enter Password Install Passwords Pass stat ENABLED command enter Y LEVEL2 PSWD LEVEL3 PSWD EA ADMIN PSWD 00012345 The screen directly above shows the initial default password assignments the admin password is 12345 and the level 2 and level 3 password are null At this point all users have access to all HHP functionality except admin privileges As admin you have the ability to create passwords for level 2 and level 3 and you may also change or delete the admin password Password Hierarchy The password security scheme imposes a set of priorities on the creation of level 2 and level 3 passwords o A level 2 password cannot be created unless a level 3 password already exists o A level 3 password cannot be created unless an admin password already exists 164 Password Security For example if you start out with the default admin password and no level 2 or level 3 passwords installed and im mediately move the cursor up to the top line to enter a level 2 password the HHP
130. f the menu picks on the second screen cir exit push Getting Started 23 Operating the PLC Once the PLC has been configured it can be started i e put in run mode and stopped using the HHP s Opera tions screens In HHP Operations mode you can also clear existing lad der logic from the PLC memory Accessing the Operations Screens The Operations screens can be ac cessed from the second top level HHP screen using a screen command se quence similar to this The following confirmation screen appears OPERATIONS start Reqest Confirm Logic edit RTU 1 caer Logic data SINGLE Ple config STOPPED Next menu cCcPU31100 command OR botm enter next Operations Rev 1 00 Map 1 0 SINGLE Xfer save STOPPED Slave hhp cpu31100 command enter Ty Stop OPERATIONS Start SINGLE Clear ul STOPPED cPu31100 Starting a Stopped PLC In the example above we see that the PLC is currently stopped when opera tions mode is entered The cursor is initially positioned under the top left menu choice Sstop fot To start the PLC simply push _ once to move the cursor under start command enter and push 24 Getting Started command enter Push to put the PLC in run mode The PLC starts running and the HHP returns to the top level screen The third line of the status information on
131. f the transfer and is not run before the comparison verifica tion is made then the two programs should match completely If you have loaded a program to an HHP from a running PLC or if you put the PLC in run mode at any time after transfer and before the comparison is made then miscompares will occur normally in the comparison process Accessing the HHP PLC Verify Screens To compare the ladder logic program in an HHP to the one in a PLC go into the the transfer save mode from the top lev el HHP menu then place the cursor un der the third of the four menu selections on that screen verify with hhp command enter Then push Here is that screen command se quence 132 Data Transfer Operations Map I O Xfer save Slave hhp command enter Xfer plc to hhp Xfer hhp to ple Verify with hhp Save within plc command enter VERIFY CPU51200 WITH CPu51201 IN HHP Continue SINGLE STOPPED cpu31100 The model number of the PLC appears on the first line of the screen and the type of PLC for which the program in the HHP was created appears on the second line For example the screen directly above indicates that the pro gram in the HHP was created for a 110CPU51201 PLC and the PLC in which the program resides is a model 110CPU51200 Initiating the Program Verification If you do not want to initiate the pro gram verification at this point you ca
132. f you are addressing a child PLC s fixed I O resources through its parent the default parameters displayed by the HHP will vary depending on whether the child PLC is running or stopped If the child PLC is stopped while you are editing the I O map the default lo cations all show mop uncnFc You must edit the I O map to indicate the fixed I O resources of the child PLCs to be ac cessed by the parent If the child PLC is running while you are editing the I O map the default loca tions display useful information about the resources available to the parent see pages 65 68 for more detail GM MICR HHP PRE Editing and Saving I O Addresses If you are using a PLC configured in parent or single operating mode the de fault parameters of LOCO1 04 are usually good enough to use without any further editing If you want to use the generalized data transfer capability of your PLC you must set up the desired transfer register in fixed LOCO5 of the I O map editor if not simply leave LOCOS in its default uncnre condition If the PLC is configured in child operat ing mode and you want to place some or all of its fixed I O resources under lo cal control you must edit the I O map screens to suit your application require ments By default the child I O map leaves all its fixed I O initially unconfi gured and accessible to the parent You will need to edit both the parent and child if the two PLCs split any of the ch
133. figuration Set Config Mode Whenever you need to set up operating parameters for I O or communication re sources apart from those fixed on your PLC you need to use set config mode With an HHP in set config mode you can modify o The communication parameters of the RS 232 port s on the PLC comm 1 and in the 110CPU512 and 110CPU 612 models comm 2 o The parameters and destination of the designated simple ASCII port on the PLC View Config Mode In view config mode you can view o Your data reference assignments o The number of segments in the logic program o The amount of user logic available and already used o The time of day clock registers o The free running timer register For a detailed description of how to work in the set config and autoconfig modes refer to Chapter 3 of this book GM MICR HHP PRE Modes of Communication with a Configured PLC Let s look more closely at the screen that appears in the LCD when you es tablish communications with a confi gured PLC Logic edit RTU Lee ais Logic data SINGLE Ple config STOPPED Next menu cpu31100 From this top level screen you can get to virtually all the other PLC related op erations available in the HHP Top level PLC Operating Modes Selecting one of the first three menu picks listed on the left side of the screen takes you into one of the follow ing operating modes Logic Edit Capabilities Selecting Logic ed
134. foff access child 2 push __Y_ to move the cursor under the second menu se lection and type 2 Self Map I 0 Child 2 4 PARENT Comms hilth S TOPPED cPpuvu51201 command Then pushl The LOCO1 I O map screen of child 2 appears with the indicator c2 in field 1 in the upper left corner of the screen This indicator is always seen as a Cn alphanumeric when you are accessing a child through its parent s I O map editor For example if child 2 is a 110CPU31101 model and you are ac cessing it through its parent the LOCO1 screen would look like this initially c2 L O21 MOD UNCNFG gt IN OUT The PLC model you are using has 16 fixed discrete 115 VAC inputs eight fixed triac outputs and four fixed relay outputs The I O type identifier that specifies this mix of discretes is MIC131 To put all the fixed discrete resources of child 2 under the control of the parent fofi push _ _ to move the cursor to field 3 disa lt under mop uncnre then use or enab to scroll to the m1c131 selection in the list of mrc numbers One of the following two screens appears Addressing I O Locations 65 The difference between the two screens is the color of the box to the left of field 3 on the top line An unfilled box 0 indicates that the HHP does not detect any I O at LOCO01 in chil
135. for mat type displayed in field 3 and changes the way the reference value is displayed in field 2 In the following example the register reference on line 3 is in decimal format 40100 40200 9044 DECIMAL 1255 DECIMAL where the 16 bit value stored in register 40100 is displayed as 9044 DECIMAL To change the display format of this val ue to ASCII position the cursor as trac frmt shown above and push until the word ascii appears in field 3 The screen entry will look like this Reference Data 115 Field 1 Field 2 Field 3 40100 40200 T ASCII 1255 DECIMAL trac The key can be used similarly to change the format to hexadecimal 40100 40200 2354 HEX 1255 DECIMAL where the value of the 16 bit value in register 40100 is displayed in hexa decimal format as 2354 HEX The key also changes the format to high byte and low byte displays of the binary representation of the register value First the high byte 40100 40200 00100011 HIB 1255 DECIMAL where the high byte of the 16 bit value in register 40100 is displayed in binary format as 00100011 HIB Then the low byte 40100 40200 01010100 LOB 1255 DECIMAL where the low byte of the 16 bit value in register 40100 is displayed in binary for mat aS 01010100 Los 116 Reference Data GM MICR HHP PRE Moving through the Logic Data
136. fthe current network is noo1 the following screen will appear when you push net Ono N0OO2 R1 Empty network If other networks previously followed Noo1 before this new noo2 was created they will now be positioned as one net work further down in the segment i e the former noo2 now becomes noo3 the former noo3 becomes noo4 etc These messages will be cleared by the next keystroke Toggling between Logic Edit and Logic Data Modes Whenever you are in logic edit mode you can switch to logic data mode by subr data simply pushing GM MICR HHP PRE The Logic and Zoom Displays Let s look closer at the way logic infor LCD these correspond to the 11 col mation is displayed on the LCD umns in a ladder logic network To the screens When you are in logic edit left of the LCD is a ladder logic power mode the screen is divided into two rail with indicators for four rows within displays a logic display on the left and the network Because a network can a zoom display on the right The two contain as many as seven rows of logic displays are separated by a vertical line the LCD can give you only a partial drawn down through column 12 view of the network s depth The columns in the logic display are numbered 1 11 above the top of the 123456789100 Logic Zoom Display Area Display Area Node Symbols in the Logic Display Symbols are used
137. ge S L 06 MOD DAP212 gt IN 10017 10024 OUT 00017 00024 24VDC 4 oOUT 8 IN When you are satisfied with the new pa rameters you have entered in the I O cir exit map push then follow the in GM MICR HHP structions for saving the I O map changes Checking the Number of Points Used for A120 I O The amount of I O that can be ad dressed to A120 modules in a PLC is limited to 256 input points and 256 out put points or 16 registers in 16 regis ters out To assure proper operations it is important that you not exceed these limits in your I O map To check the amount of I O resources currently addressed to A120 I O push subr data the key a message appears on the bottom line of the screen telling you how many input points and how many output points have already been used from the 256 maximum For example sS L 13 MOD DAP212 gt IN 10025 10033 OUT 00025 00033 A1l20 in 144 out 128 the message on the bottom line tells you that your I O map has used 144 in put points and 128 output points for ad dressing A120 I O You still have the ability to address A120 I O to another 128 output points and 112 input points with this PLC Addressing I O Locations 73 Monitoring the Communications Health Status of the PLC On the first screen of the I O map editor is a menu option that sends you to a set of comprehensive screens where you can mo
138. hanges Addressing the LOCO3 Values to Discrete References The sample four step sample procedure that follows re addresses the LOC03 values from register 30001 to discrete references 10049 10064 Step 1 Make sure that field 3 is set to fofi mIc147 then push _ _ to move the cursor to field 4 Step 2 Type in the reference number you want associated with this first fixed input in this case 10049 This number must al ways be a multiple of 8 1 i e 10009 10017 10025 etc command enter Step 3 Push Result The HHP fills in the high refer ence number in the range s L 02 MOD MIC147 gt IN 10049 10064 OUT 16BIT TMR CNTR VAL cir exit Step 4 Push then follow the in structions for saving the I O map changes Editing LOC04 LOC04 is reserved for addressing the fixed analog I O resources offered only on the 612 model PLCs This location should be left unconfigured if you are using any other model PLC or if you are mapping a child PLC whose analog I O will be totally accessed by the parent 62 Addressing I O Locations If you are addressing fixed I O in LOC04 the four input channels are ad dressed by default to register 30006 30010 and the two output channels to registers 40001 and 40002 The default I O type identifier mrc141 defines the range of the input channels as 0 10 V with 12 bit resolution in both the input and
139. hat you wish to download a file lt page down gt in PROCOMM for example then select the protocol to match the one pre viously selected on the BBS Step 7 You should now have the ap propriate file in your download path determined by your com munications package Step 8 Let s assume that the first file you take is the binary executive file To get the loader utility push lt enter gt once and select 144 Data Transfer L from the menu Then restart this procedure at step 5 above Step 9 The downloaded files are com pressed and will self extract when executed Step 10 Follow the instructions given in the README 1ST file to update the HHP executive HHP Executive Download Procedures Because the HHP must be connected to a computer to execute the download it must get its power from an external power supply such as the one provided in the 110VIA19200 Computer Transfer Kit Connect the power supply to the HHP s power connection on the bottom of the panel Connect the RS 232 communications cable first to the HHP and then to the computer using one of the special 9 or 25 pin adapters available from Modicon When the HHP receives power from the external power supply a No comms screen appears when it starts up NO COMMS SINGLE Hhp port Slave Hhp UNKN PLC Move the cursor under Slave hhp and command enter push The HHP goes into slave HHP mode and the following
140. he current line to an empty line The cur sor will always move to column 5 40200 1255 DECIMAL Then enter the desired reference number for that entry then push command enter Fields 2 and 3 will be filled in appropriately 2354 HEX 1255 DECIMAL 40100 40200 How to Get Reference Data from the Logic Edit Screen If you are accessing the logic data screen from a logic edit screen and you are interested in seeing the data related to a specific logic node you can do this subr data with a combination of the and back get keys GM MICR HHP For example say your cursor in logic edit screen is under coil 00120 1 70 0 aon ony N gt gt 0 lt Toggle to data reference mode by push subr data ing _ and the data screen appears as follows 40100 2354 HEX 40200 1255 DECIMAL To display the coil 00120 reference data simply move the cursor to line 2 fon back with A then push 81 The fol lowing data entry appears 00120 OFF DISABLE 40100 2354 HEX 40200 1255 DECIMAL If all four lines are full in the logic data screen when you want to get reference data you must delete one of the entries back get before executing To delete an entry place the cursor on the reference number field 1 type 0 then push command
141. he next key to be entered When a key is pushed by itself the command or character inscribed on the lower portion of the key will be ex ecuted When you push the red key before pushing one of the other keys the command or character inscribed in red on the upper portion of the key will be executed UI A For example pushing the key in serts the lower level instruction the al phabetical character or hexidecimal number a on the screen Pushing the me key sequence inserts the upper level instruction a normal contact in a logic network display The commands and characters asso ciated with each key will be described throughout the book in the context of the various HHP operating modes del back top fon botm srch get prev A next cir trac disa foff enab exit frmt i gt vopn l move mtrx othr E F 7 8 9 centr timr math Cc D 4 5 6 I VA IPI INI M A B 1 yes 2 3 subr net command data Ono enter GM MICR HHP Introduction 7 Screen Navigation and Keystroke Dynamics Moving through Data Fields in an HHP Screen You can navigate through various fields in an individual screen by moving the fon foff cursor with the ana Y arrow keys The HHP allows you to move only into those fields where you can take a user action the cursor cannot be moved into a field that displays only status informat
142. hen need to enter the desired input and or output reference numbers on the sec ond and or third lines of the screen If you have not installed the A120 I O modules or have not powered them up at the time that you are writing your I O map the LOCO6 LOC20 screens come up showing mop unenre in field 3 If you are using a 311 or 411 model PLC A120 I O cannot be addressed The I O map editor does not allow you to access any LOCs beyond LOCO5 Default Parameters for a Child PLC If you have configured the PLC as a child the default I O map shows MOD UNCNFG in all locations If you want all the fixed I O resources of the child to be controlled by the parent you do not need to edit the first five locations in the child s I O map Instead these parame ters can be edited in the parent s I O map If you want to access some or all of the fixed I O resources in the child you are viewing you must edit the child I O map to indicate the resources that will be ac cessed there We will discuss the pro cess of splitting I O between the parent and child later in this chapter If you want to drive A120 I O with any of the child PLCs in your system you must edit the A120 information in the child I O map i e resources asso ciated with a child PLC that cannot be accessed by the parent over the serial I O expansion link 52 Addressing I O Locations Default Parameters for a Child PLC Addressed through its Parent I
143. ht of a coil in the same row or in the row directly above the one in which the coil resides They also cannot be placed in a column Ladder Logic Programming 83 directly above the node in which a coil resides It is also legal to overwrite one type of coil or contact with another type of coil or contact For example you can over write a normal coil with a memory reten tive coil or an N O contact with an N C contact Column 4 of the table on the previous page lists the elements that can be replaced by the corresponding element type Entering a Logic Element in a Network To enter a logic element follow this four step procedure Step 1 Move the cursor to a legal node location in the logic dis play area of the LCD with fon foff disa A ee ee sand enab gt Step 2 Push the desired key sequence see the table on the previous page For example if you want to enter an N O contact E push A Result As soon as you push a symbol appears in column 12 of the top line of the zoom screen indicating that the next character entered from the key pad will be the superior red character Once that character is entered disappears The symbol for the element you want to create appears on the second line of the zoom dis play and an arrow on the third line of the zoom display points to a 84 Ladder Logic Programming 00000 reference number For exam
144. ic node sym bols in and to the right of the selected column shift to the right by one column The cur sor remains positioned in the newly opened column LS Note The open con command is executed as soon as you push command enter no confirmation message is issued If you want to undo an OPEN coL command is sue a CLOSE COL command with the cursor positioned in the same location How to Close a Column Step 1 Place the cursor in a node of an empty column that you want GM MICR HHP to close command Step 2 Push omer Result A text string probably LMARK appear on the bottom line of the zoom display on the HHP Step 3 Scroll through the list of com disa enab mands with or gt until cLos coL appears then command push enter Result All the ladder logic node sym bols to the right of the selected column shift left by one column The cursor remains positioned in the newly closed column LS Note The crose cot command is executed as soon as you push command enter no confirmation message is issued If you want to undo a CLOSE coL command is sue an OPEN COL command with the cursor positioned in the same location Deleting a Network from the Ladder Logic Program del The srch key sequence allows you to delete individual logic instructions and logic elements from a network but it does not allow you to delete the
145. icro Ladder Logic Manual GM MICR LDR for more details For example the bottom node of a SUB instruction must be a 4x holding regis ter If you attempt to enter a different reference type a Ox 1x or 3x refer ence a type error message appears on the bottom line of the screen 0 0 40020f Ei 0225 pa SUB E ref 10020 type Ladder Logic Programming 97 Special Commands for Editing Logic A set of seven special logic editing commands can be accessed by pushing command enter Command Descriptions These commands do the following O LMARk Ties the ON OFF state of one discrete input or output point to the LED on the HHP O OPEN Row Shifts all node data cur rently on and below the selected row in a ladder logic network down by one row o opeN coL Shifts all node data on and to the right of a selected column in ladder logic to the right by one column CLOSE row Forces all node data currently on and below an empty row in a ladder logic network up by one row o cLosE cot Forces all node data currently on and to the right of an empty column in a ladder logic net work left by one column O DEL neEt Deletes the current net work and all of its nodal contents from the ladder logic program O AVAIL Tells you how many words are still available for use in user pro gram memory and how much has al ready been used o canceL None of the above How to LMARK a Discrete
146. icro PLC As soon as the HHP receives power it begins running its power up diagnostics and attempts to establish communica tions with the PLC An HHP PLC Connection PRR RRR RERRRRRRR RRR 2BBBHH H IIIIIIIIIIIIIII_ Modicon Micro AEG i ea E A120 1 0 exp analog XQOQTIIITEIIIIIIIIIEIIIIRD e 150 mA power draw lt RS 232 communications cable GM MICR HHP Introduction 11 Using an Independent Power Supply There may be times when you need to When the HHP is connected to a non connect the HHP to a device other than PLC device it must draw its power from a PLC For example to download new an independent DC source executive firmware or upload a logic program to the HHP you may need to Modicon offers an 115 VAC to 5 VDC connect the HHP to a personal power converter for this purpose as part computer of an optional HHP Computer Transfer Mode Kit 110VIA19200 Connecting an HHP to an Independent DC Power Source 12 Introduction GM MICR HHP PRE Hardware Specifications Environmental Operating temperature Storage temperature Relative humidity Altitude Shock Vibration Dimensions Height Width Depth Weight Agency approvals Electrical Maximum power draw Electrical immunity ESD Radiated EMI Fast transient GM MICR HHP 0 50 degrees C 20
147. ild s fixed I O resources Accessing the LOC Screens To edit the fixed I O locations of any Mi cro PLC single parent or child se lect the Self menu selection on the first I O map editor screen then push command enter Editing References In an I O Map Screen An Overview The reference numbers which address the inputs and outputs in your physical system to memory locations in the PLC appear in fields 4 and 6 on the sec ond and third lines respectively of an I O map screen Input references are shown in field 4 and output references in field 6 The HHP allows you to address physi cal inputs to either discrete 1x refer ences or 3x input registers and physical GM MICR HHP outputs to either discrete Ox coil refer ences or 4x output holding registers Mapping I O to Discrete References Discretes are mapped to contiguous ref erences in blocks of 8 or 16 For exam ple if your PLC has 16 fixed discrete in puts and 12 fixed discrete outputs the I O map editor would show the inputs in LOCO1 addressed to references 10001 10016 and the outputs to 00001 00016 Notice that although only 12 real outputs are used 16 Ox ref erences are consumed in the mapping If on the other hand you have split your I O so that only four fixed outputs are being used by the PLC you are ad dressing the I O map editor would show the outputs addressed to refer ences 00001 00008 In this case you still h
148. in another node Example of message that Look for implied coils in the appears when a user tries instruction nodes to use a coil that is already used GM MICR HHP PRE Message E coil not disab E coil s used E CRC error era E disab not allwd E illegal config E Illegal operation GM MICR HHP Meaning Modbus report trying to force ON or force OFF a coil or input discrete while it is enabled Modbus error report one or more requested coils al ready programmed in another place Noisy comms causing loss of one or more bits of data in the packet User attempting to disable a coil when not logged in Modbus report PLC has detected an illegal config uration value Message occurs when user tries to program a node or instruction when that oper ation cannot be allowed Examples e Putting an element other than a coil in column 11 e Putting any node to right of a coil e Replacing a contact with a coil e Replacing a contact or coil with an instruction e Replacing dissimilar sized instructions e Placing a vertical short in column 11 e Placing a vertical short in row 7 User Action May require retrying the op tion or program step depend ing on nature of comms Reconfigure and repeat Check the configuration with the views may require soft ware like Modsoft Lite to reconfigure System Messages 169 Message E illeagl value E Incompat programs E Inp amp O
149. ing of the next line Places the cursor at the beginning of the enter next line nothing command cir Clears the display nothing exit goes out on the wire Ei goes out on the wire disa Returns the cursor to the beginning 4 of the current display line nothing goes out on the wire foff Places the cursor on the next line v nothing goes out on the wire GM MICR HHP A Ladder Logic Example Responding to the PLC On the following page is a ladder logic network that allows you to send a mes sage to the PLC from the HHP keypad The message is then echoed back to you on the screen to indicate that it has been received Simple Messaging 153 Network 3 1 2 3 4 5 6 7 8 9 VA Y V 00001 00003 40130 40140 A N 00903 00003 N 40120 40150 40150 00001 COMM 40133 COMM 40150 B2 32 COMM 40142 82 BLKM 00001 ow Network 3 Normally closed contact 00001 stops the activity of networks 1 and 2 page 151 when it is OFF Normally closed contact 00003 starts the second COMM instruction in col umn 5 in network 3 As can be seen by the values set up in the control block below this COMM instruction is de signed to receive messages entered onto the HHP keypad Register Value Meaning 40130 1020 Read ASCII character
150. ion For example the screen below shows a top level HHP screen with four menu items on the left and several status items on the right Operations Rev 1 00 Map 1 0 SINGLE Xfer save STOPPED Slave hhp cpu31100 fon foff By pushing or Y _ you can move up or down through the list of four menu choices Operations Map I O Xfer save and Slave hhp You can not move the cursor into the fields on the right side of the screen Selecting Items from a Scrolled List in a Field Often you need to select a setting from a list of possible choices as you confi gure and program your PLC or as you set up a cross transfer of programs from one model to another Only one of the possible entries appears in a field on the screen at a time so you need to disa scroll through the list using the enab gt and arrow keys 8 Introduction For example if you are writing a ladder logic program with the HHP and you want to create a DIV divide instruction in a logic network you do so by push E math ing the 6_ keys while the HHP is in the logic editor This key sequence accesses the math instructions There are six possible selections that you can make the ADD SUB MUL DIV Or EMTH instruction or CANCEL to exit from the math menu without inserting an instruction enab Using an you can scroll forward through the list of
151. ion and the arrow in the zoom display pointing to the value of that node 123s34s8s8e7esun a 40501 og gt 0100 0 ADD m 40501 If you move the cursor down one more row in the network display the following screen appears 12345678 sun ag 40501 a 0100 oO ADD a gt 40501 Ladder Logic Programming 95 The arrow in the zoom display shows that you have selected the bottom node of the ADD instruction Notice that the network display symbols on the left have changed dynamically they have shifted up by one row At this point the network display is show ing rows 2 5 of the logic network in stead of rows 1 4 shown previously 96 Ladder Logic Programming GM MICR HHP PRE Errors of Range and Type As you enter register references or con stants into the zoom display in logic edit mode the HHP will notify you if you en ter an illegal reference number A node reference can be illegal if it is of the wrong reference type or if its magnitude is out of range If one of these errors occurs in logic editing a generic message appears on line 4 of the LCD Range Errors Both register numbers and constant val ues can be illegal because of range er rors A register is out of range when its magnitude i e the value of its four trailing digits exceeds the maximum value allowed for that reference type The default maximum limit is a function of reference type and PLC
152. is a normal coil located in row 1 of network 1 If the HHP does not find any disabled discretes of the kind you are searching for a screen similar to this appears ooog NO002 R3 SEARCH 00001 DIS Not found Canceling a Limited Search When you place a delimiter in the search command line that delimiter will remain in place every time you push del srch until it is removed from the com If you want to start a search at a specific disabled discrete say contact 10005 in the logic pro gram the LCD would look like this ooog No02 R3 SEARCH 10005 DIS 108 Ladder Logic Programming mand line To remove a delimiter from the search command line push del srch For example suppose you want to search for register 40005 and when del srch you push a screen like this ap pears GM MICR HHP ooon N2 R3 SEARCH 10008 II This screen indicates that the previous search issued on the HHP was limited to N O contact 10008 You must remove the N O contact deli miter from the command line be fore you can search for a register refer del ence To do this push pall the delimiter is cleared from the com mand line ooo N2 R3 SEARCH 10008 Now you can key in the new reference number you want to search for in this case 40005 then push 9 The HHP now begins to search for the new r
153. it then the HHP does not currently store a logic program In this case an upload to the master can not be supported i e panel softwares such as Modsoft Lite do not allow you Data Transfer 139 to upload unconfigured null PLC environments The upload operation must be initiated by the master device For example if you are using Modsoft Lite on your computer master and you want to upload a 110CPU51201 program from the HHP to the panel software follow this procedure Step 1 Make sure that the comm port parameters on the serial port of the computer master match those of the HHP slave i e Modbus address 01 9600 baud RTU communications 1 stop bit and even parity Step 2 Select the File to PLC com mand from the Transfer menu on the Modsoft Lite main menu Result The computer master device initiates an upload of the logic program from the HHP to Mod soft Lite While the upload is running the red status LED on the HHP goes ON to indicate communications in process When the upload is complete the LED goes OFF and a mes sage appears on the master display telling you that a new program has been copied The slave status screen on the HHP does not change Step 3 To exit the slave status screen command of the HHP push __ on the HHP keypad The fol lowing screen appears on the HHP display SAVE TO HHP FLASH lt Yes gt yes lt No gt clear flash l
154. it from the top level menu sends you to a series of screens where you can create edit and or mon itor a ladder logic program Here is the screen command sequence for access ing the logic edit mode Logic edit RTU TZ Logic data SINGLE Ple config STOPPED Next menu CPU31100 command enter LE Erin NOO1 R1 a 1 8 Ein gt 1 0001 PE gt 0 N lt You enter a display of the first network of ladder logic See Chapter 5 for all GM MICR HHP operational details regarding logic edit mode Logic Data Capabilities Selecting Logic data from the top level menu sends you to a screen where you can edit and or monitor reference data Here is the screen command sequence for accessing the logic data mode edit RT U 1 e SINGLE STOPPED CPu311 00 Logic Logic data Plc config Next menu command enter When you enter a Ox 1x 3x or 4x ref erence number in a data field to the left of an the current state or content of that reference is displayed in the field to the right of the L Note You can also access logic data mode from the logic edit mode and toggle back and forth between the two modes by push subr data ing See Chapter 6 for a detailed discussion of HHP operations in logic data mode Config and Autoconfig Capabilities Selecting Plc config from the top level menu of the HHP sends you to a series
155. it out You also have the option of scrolling to a selection called uncnre which makes the analog channels unaddressable When you begin to scroll through the MIC choices you will notice three things o The input and output reference ranges in fields 4 and 6 become empty oO The range and resolution descrip tions in field 8 on the bottom line change to describe what is available with each mrc choice o A black square appears to the left of the mtc number this black square indicates that you have scrolled to a selection that is available for this LOC but is not currently programmed Here is a sample procedure to change the mic number in LOC04 from m1c141 to Mrc144 and re address the I O chan nels to 30006 30010 and 40001 40002 respectively fon foff Step 1 Push A or _ _ to move the cursor into field 3 on the top line under MIC141 GM MICR HHP s L 04 MOD MIC141 gt IN 30006 30010 BIN OUT 40001 40002 BIN 0 10V 12BIT 41 02 disa enab Step 2 Push tjo to scroll to the desired mirc number e g MIC144 s L 01 E MOD MIC144 gt IN BIN OUT BIN 1 5V 14BIT 41 02 Notice the black square to the left of field 3 indicating that MIc144 is not currently residing in this LOC Notice also that the register data in fields 4 7 has been cleared but that the range and reso
156. le PLC use the fol lowing screen command sequence View confg Set config SINGLE STOPPED cPu 31100 Auto confg command enter Autoconfigure as Single plc gt caution lt Child ple clears ul Parent plc i o map command enter Configure as SINGLE cancel configure lt exit gt to Begin to Notice the caution on the right side of the middle screen above If you want to escape this autoconfig screen without writing a new config especially if you want to preserve an existing logic pro cir gram in the PLC push L The HHP returns you to the first of the three screens shown above where you may select another option or escape out of the config mode To autoconfig the PLC as a single unit command enter push with the cursor under Begin to configure The HHP writes the single autoconfiguration parameters to the PLC and redisplays the top level HHP screen The newly autoconfigured PLC s operating mode is shown in the second status line on the right side of the screen Logic Edit RTU DIS Logic Data SINGLE Ple Config STOPPED Next Menu CPU31100 Autoconfig Parameters for a Single PLC 110CPU Models Parameter 311 411 512 612 Number of Ox references 1024 1536 Number of 1x references 256 512 Number of 3x references 32 48 Number of 4x references 400 1872 2 the first
157. line of the HHP screen directly above GM MICR HHP As the HHP executive download pro ceeds the following five messages ap pear on the computer terminal screen sequentially O Waiting for NODE to rejoin link in Kernal mode O Erasing Executive storage area O Programming executive storage area O Waiting for NODE to rejoin link in Normal mode O Download operation successful While the computer is downloading the executive to the HHP the LED on the HHP flashes at three pulse intervals LS Note Ifyou get an error during the executive download you will need to restart the download procedure Once the download has been success fully completed after about 15 minutes the HHP automatically restarts itself and comes up with the No comms screen Remove the AC power from the exter nal power supply adapter then discon nect the adapter from the HHP You can then disconnect the RS 232 com munication cable from the computer and connect it to a Micro PLC to resume normal usage Data Transfer 145 Chapter 8 Using an HHP as a Simple ASCII Messaging Display o The HHP s Simple Messaging Mode o ASCII Characters Supported by the HHP o Using an HHP as a Display Terminal for Simple ASCII Messages o Using an HHP as an Message Response Tool GM MICR HHP Simple Messaging 147 The HHP s Simple Messaging Mode Simple messaging mode is a special case of HHP slave mode where the HHP remains connected to a Micr
158. ll the nodal logic on the row where the cursor is placed and all the nodal logic below it in that network down by one row This leaves the row where the cursor was placed open i e no logic is pro grammed into any nodes on that row The CLOSE Row command shifts all the nodal logic below the empty row where the cursor is place up by one row to fill the empty row Limits Remember that no nodal information can be deleted or moved to new net works using the OPEN CLOSE ROW com mands Therefore the HHP disallows the opening or closing of rows under certain circumstances o If row 6 contains a vertical short OPEN Row is not allowed Oo If row 7 of a network contains any logic nodes oPEN Row is not allowed in that network o If the row where the cursor is placed contains any node of a multi node in struction other than the top node OPEN Row is not allowed o If the row in which the cursor is placed contains any nodal logic in cluding shorts CLosE Row is not al lowed in that network Ladder Logic Programming 99 How to Open a Row Step 1 Place the cursor in any column of the row you want to open command Step 2 Push egr Result A text string probably LMARK appear on the bottom line of the zoom display on the HHP Step 3 Scroll through the list of com disa enab mands with or gt until OPEN Row appears then command enter push Result All the lad
159. lls in the range of four con tiguous 4x registers c3 L 05 MOD MIC150 IN 30011 30014 BIN OUT 40025 40028 BIN 4 WORD I O 4 WORD The illustration below shows the gener alized data transfer link you have set up between the parent and child 3 PLCs Parent PLC I O Map its own fixed resources LOC01 e e e LOC05 not used for Child 3 resources LOC01 e e LOC05 Input words 30011 30014 MIC150 Output words 40025 40028 Child 3 PLC 1 O Map LOCO1 Input words 30021 30024 LOCO5 MIC150 Output words 40015 40018 GM MICR HHP Addressing I O Locations 71 Addressing A120 I O Expansion Modules If you are using 512 or 612 models of the Micro PLC you have the ability to address up to 15 additional A120 mod ules in your I O map editor Locations for A120 I O are in LOCO6 LOC20 To be able to address A120 I O you must enter the I O map editor via the Self menu selection The HHP does not allow you to access locations be yond LOC05 when you access the I O map of a child through its parent Accessing A120 I O LOCs Once you enter the I O map editor by selecting Self the HHP automatically displays the LOCO1 screen You can get to LOCO6 and beyond quickly by simply typing the number of the LOC you want with the cursor placed in command enter
160. logic program if you still cannot start the Micro load a new PLC executive to the PLC flash if the problem still persists you have a hard ware problem in the PLC Another programming panel e g Modsoft Lite has left the PLC in optimized mode logic editing is not allowed and power flow cannot be viewed Attempting to transfer an unconfigured PLC environ ment to an HHP User trying to transfer a PLC program to an HHP that is not on the list of supported models GM MICR HHP PRE Message PLC running PLC stopped Ref 10001 used S 01 Ref 30001 used C1 1 SAVING FAILED SAVING SUCCESSFUL Strt of user logic Subroutine not found User logic cleared GM MICR HHP Meaning Start is selected from the Operations menu when the PLC is already running this message may also appear at other places as a reminder that full programming capa bility is not available because the PLC is running Stop is selected from the Operations menu when the PLC is already stopped Sample warning message for duplicate use of reference 10001 in the self group LOCO1 Sample warning message for duplicate use of reference 30001 in the child 1 group LOCO1 Save within PLC operation not successful Save within PLC operation was successful top prev User pushed in logic edit screen when the cursor is in logic network 1 Subroutine search initiated with the cursor on a JSR finds no associate
161. lphanumeric that indi cates whether the I O map you are viewing is for the PLC to which you are connected or for a child addressed through the parent o s indicates self it appears whenever you are viewing the I O map editor of a single or child PLC or the editor of a parent that addresses its own fixed and expanded I O resources o ci c4 indicate child 1 child 4 when the child s fixed I O resources are being accessed through the par ent the alphanumeric can only ap pear when you are using a parent PLC Field 2 in the center shows the I O loca tion number L xx This number identi fies the LOCnn resource number being addressed in this screen Field 3 on the right shows an mic num ber for fixed I O or A120 I O model number for expanded I O that indi cates the type of I O used in that loca tion The second and third lines of the screen can each contain two additional data fields field 4 on the left side of the second line lists the range of refer ences to which the inputs are ad dressed and field 5 on the right side of the second line lists the format in which the bits can be displayed if the inputs are stored in a 3x register If the refer ences in field 4 are discretes field 5 is blank Field 6 on the left side of the third line lists the range of references to which the outputs are addressed and field 7 on the right side of the third line lists the format in which the bits can be dis playe
162. lution data in field 8 on the bottom line has changed to reflect the m1c144 identity foff Step 2 Push Y_ to move the cursor to field 4 on the second line of the screen Step 3 Type the first 3x register refer ence in the desired range e g 30006 in field 4 then command push enter Result The HHP fills in field 4 as follows s L 04 MOD MIC144 gt IN 30006 30010 BIN OUT BIN 1 5Vv 14BIT 41 02 fofi Step 4 Push _Y _ once more to move the cursor to field 6 on the third line of the screen Step 5 Type the first 4x register refer ence in the desired range Addressing I O Locations 63 e g 40001 in field 6 then command enter push Result The HHP fills in field 6 as follows sS L 04 MOD MIC144 gt IN 30006 30010 BIN OUT 40001 40002 BIN 1 5V 14BIT 41 02 cir exit Step 6 Push then follow the in structions for saving the I O map changes Changing Register Formats The format in which the register bits in fields 4 and 6 can be displayed is signi fied by the entries in fields 5 and 7 re spectively By default the format is binary Brn All the registers in the range four 3x registers two 4x regis ters have the same format If you move the cursor into field 5 or foff field 7 with the Y key you can toggle between BIN and scp formats disa enab with E or gt 64 Addressing I O Locations GM MICR HHP
163. math instructions disa Using n you can scroll backward through the list Each time you push one of these arrow keys the name of the instruction changes in the zoom dis play Keep pushing an arrow key until DIV appears Entering Numeric Data in a Field When numerical data is required in a data field on an HHP screen you need to enter that data by pushing number keys or the alphabetical keys for some hex numbers on the keypad For ex ample if you are configuring a parent PLC you need to enter the number of child PLCs that the parent can access on the I O expansion link That number can range from 1 4 GM MICR HHP PRE L5 Note An exception is entry of baud rates when you set a custom configuration Baud choices can differ depending on the comm port you are using and are not intuitive entries They can be selected by disa enab scrolling with the lt 4 and arrow keys When you enter a string of multiple nu meric characters into a field e g in editing in logic data mode the field is always filled from the right as you enter characters Moving between HHP Screens You can move from one screen to another in several ways o Select a menu item on the current screen by placing the cursor on it command enter and pushing o Confirm a data setting displayed on a ti screen by pushing __ co Move from one screen in a series to botm the
164. mod ules in other LOCs When you are satisfied with the new pa rameters you have entered in the I O cir exit map push then follow the in structions for saving the I O map changes Addressing an Unpowered A120 Module If you are addressing an A120 module that is either not yet installed or is in GM MICR HHP Pie stalled but is not powered up the HHP will not recognize the module and will display an uncnre LOC screen gt S L 06 IN OUT MOD UNCNFG To specify the A120 I O module that you want to use move the cursor in to field disa lt 3 under Mop UNCNFG and push or enab to scroll to the module you want to address in this LOC The full range of A120 I O modules is available to you For example if you scroll to pap212 in LOCO6 the screen looks like this S L 06 IN OUT 24VDC 4 OUT MOD DAP212 gt 8 IN LS Note The unfilled square to the left of field 3 on the top line indi cates that this module is unknown to the PLC It will remain on the screen until the DAP212 module is installed in the proper location and powered up even after the I O map has been edited and the changes have been saved to the PLC The DAP212 module supports both in puts and outputs Move the cursor to field 4 on the second line of the screen to enter your input range then field 6 on the third line to enter your output ran
165. model Reference Default Range Type 311 411 512 612 Ox 00001 01024 00001 01536 1x 10001 10256 10001 10512 3x 30001 30032 30001 30048 4x 40001 40400 40001 41872 In the sample screen below the cursor is under the top node of a BLKM in struction The 4x reference number we attempt to type into that top node is an out of range register reference of 49999 The HHP has posted an E RANGE error message on the bottom line to indicate this error Ooooooonooog gt 222220 oooog 402000 Oooo BLKM E ref 49999 5 range Many instructions allow or require the use of a constant value in one or more GM MICR HHP of their nodes The legal range for con stants varies in different instructions Refer to the instruction descriptions in the Modicon Micro Ladder Logic Manual GM MICR LDR for more details In the sample screen below the cursor is under the middle node of a SUB in struction If we attempt to enter a con stant value of 6500 into the middle node the following message appears on the bottom line of the screen a a 4002 o fal gt 2 2 at SUB E ref 06500 range The maximum value you can assign to a constant in the middle node of a SUB instruction is 999 Data Type Errors The nodes in many instructions are lim ited to certain types of register refer ences Refer to the instruction descrip tions in the Modicon M
166. mp1 message from the slave HHP menu the screen goes under the control of the PLC logic pro gram ASCII character strings can then be sent to the screen from COMM in structions executing in ladder logic The complete list of ASCII characters that can be written to the HHP is shown on pages 149 150 COMM instructions can also be set up to receive messages from the HHP The responses from the HHP are re stricted to certain keystrokes on the keypad see page 153 GM MICR HHP ASCII Characters Supported by the HHP The HHP can display any of the follow ASCII Dec Hex ing ASCII characters when they are re Character Value Value ceived from the Micro PLC p a m 61 3D ASCII Dec Hex gt 62 3E Character Value Value 63 3F Bell 7 07 e 64 40 Linefeed 10 0A A 65 At Formfeed 12 0c B 66 42 Carriage return 13 oD c 67 43 A 20 ie D 68 44 os 2r 1B E 69 45 Space 32 20 P 70 46 a a G 71 47 34 ee H 72 48 93 2g I 73 49 28 2i J 74 4A 37 25 K 75 4B amp 38 26 E 76 4C 39 2r M 77 4D 40 28 N 78 4E a 29 o 79 4F x a2 2A P 80 50 43 2B Q 81 51 ee R 82 52 29 2b s 83 53 46 2E m a4 47 2F U 85 55 0 48 30 v 86 56 1 49 31 w 87 57 2 50 32 x 88 58 3 51 33 X a9 59 4 52 34 z 90 5A 5 53 35 I 91 5B
167. munication and Power Connections 4 The Security Keyswitch 00 0 cece eee eee 4 The Keypad tsa ae Aes Be a eke oe EEE kes 5 Screen Navigation and Keystroke Dynamics 6 Moving through Data Fields in an HHP Screen 6 Selecting Items from a Scrolled List in a Field 6 Entering Numeric Data ina Field 00000 6 Moving between HHP Screens 0000eeeeeeeee 7 The Look of the Cursor 0 00 c cece eee 8 Providing Power to the HHP 0 cece eee eee eee 9 Connecting to a Micro PLC 0 cece eee 9 Using an Independent Power Supply 05 10 Hardware Specifications 0 000 c cece eee eee 11 Environmental 000 0c eee eee eee eee 11 Electrical js csi k ye pe hac Aes EATA E EAEE 11 Chapter 2 Getting Started 13 Powering Up the HHP a cece eee eee 14 Communicating with a PLO 0 cece eee 14 If the HHP Cannot Establish Communication 15 If the HHP Fails its Start up Diagnostics 17 Selecting a Cursor Display 00 cece eee eee 17 Configured and Unconfigured Micro PLCs 18 Configuration Modes 00 cece eects 18 GM MICR HHP Contents v Modes of Communication with a Configured PLC Top level PLC Operating Modes 0 ee eeeeee Operating the PLC 1 cece en
168. munications port but some communications error occurs in the connection Potential HHP PLC communication errors could be caused by Oo Comm port parameters in the PLC that do not match the comm port parameters of the HHP oc A Modbus network address in the PLC that is not recognized by the HHP o A possible hardware problem in one of the two devices Establishing Comms when a PLC s Modbus Address Is Not 1 The Modbus address of the PLC may range from 1 247 1 is the most com monly used address but it is not always the correct address As it attempts to establish communications with a PLC the HHP looks for a Modbus address of 1 on the PLC If the PLC has a Mod bus address other than 1 the no comms screen appears Proceed as follows NO COMMS SINGLE Hhp port Slave Hhp command enter UNKN PLC Cpu address 001 Comm parms A BAUD MOD STP PAR 9600 RTU 1 EV Fpter the correct PLC address under the cursor on the top line If the comm port parameters are the same as those shown on the bottom line of the screen e g 9600 baud RTU with 1 Getting Started 17 stop bit and even parity push command enter to confirm the address cir exit entry then push to leave the screen and hunt for comms When the HHP establishes communications with the PLC at the specified Modbus ad dress it returns the standard top level HHP menu screen If
169. n cir exit push The HHP returns you to the previous transfer save mode menu screen To proceed with the program verifica command enter tion push The following confirmation screen appears GM MICR HHP VERIFY ADDRESS 00000 PLC DATA 00000 HHP DATA 00000 Start cont The memory address on the top line and PLC and HHP data fields on the second and third lines of the screen are set to 00000 prior to initiating the verification operation You may still cancel the verification at cir exit To initiate command the verification push bali The data verification begins The data content of each address location in the PLC is compared to the same address location in the HHP program The pro cess proceeds uninterrupted unless or until a miscompare occurs this point by pushing The verification process stops if it finds a miscompare in any address location A screen similar to this appears VERIFY ADDRESS 00067 PLC DATA 08000 HHP DATA 00000 Start cont STOP In the sample screen above we see that address 67 in the PLC contains a value of 08000 while address 67 in the HHP contains 00000 If you want to continue with the verification process command enter push if you want to stop the process and return to the first trans cir exit fer save screen push If you continue the verification process
170. n a set of default Logic data SINGLE configuration values to the PLC The Plc config STOPPED default assignments are based on the Next menu cPU311 00 model type of the PLC and on the oper ARS ating mode you specify single parent enter Tay or child If the PLC is not currently configured View con 3 g you must autoconfigure it before you Set config SINGLE can operate it STOPPED Auto confg CPU 31100 Accessing Autoconfig when Then depending on the operating mode the PLC Is Unconfigured you want to apply to your PLC follow one of the three autoconfig procedures To access the autoconfig screens when given on pages 31 34 the HHP is connected to an unconfi gured PLC move the cursor under Pic command enter config and push Plc Config RTU 01 OK Slave hhp NO CONFIG command enter View confg CPU31100 Set config SINGLE STOPPED Auto confg CPU 31100 Then depending on the operating mode you want to apply to your PLC follow one of the three autoconfig procedures given on pages 31 34 Accessing Autoconfig when the PLC Is Configured To access the autoconfig screens on the HHP move the cursor under Pic command enter config and push 30 Configuring a Micro PLC GM MICR HHP PRE Autoconfiguring a PLC in Single Mode If you want your PLC to operate as a single unit with the default configuration parameters of a sing
171. nalog I O points high speed counter timer in terrupt inputs and generalized data transfer capability built into the Micro PLCs o Selecting comms hith indicates that you want to display information that monitors and logs the health and communication status of the PLC GM MICR HHP PRE Parent I O Map Choices If the PLC you are using is configured as a parent unit a third menu selection item child n 4 appears on the left of the screen where n may be 1 2 3 or 4 Self Map I 0 Child 1 4 PARENT Comms hl1lth S TOPPED CPU51201 o Selecting Chila and then specifying the number 1 4 indicates that you want to monitor or edit the fixed I O locations of the specified child PLC that are under the control of the parent Menu Selection Process Any one of these menu picks can be selected by moving the cursor under it fon foff with the _ and Y keys then command pushing onio I O Map Editor Conventions When you select Self Or Child 1 4 the HHP displays the first in a series of I O location LOC screens A LOC may represent Oo A fixed I O resource of the PLC your HHP is connected to o A fixed I O resource of a child PLC being accessed by the parent o An A120 I O module driven by the PLC over the parallel I O expansion link Field1 Field 2 Each LOC is presented on an individual screen in the I O map editor The first five LOCs are reserved for the PL
172. nce of the specific reference you are searching for is found a screen similar to this appears N00 3 R1 sal pel gt 10008 j lt ooog FOUND 10008 GM MICR HHP The message on the bottom left of the screen tells you that the discrete you searched for has been found The cur sor in the logic display appears under the found contact and the information in the zoom display tells you that it is an N O contact located in row 1 of net work 3 If the HHP does not find any instances of the kind of discrete you are searching for a screen similar to this appears ooog NOO3 R1 SEARCH 10008 Not found If the HHP finds an instance of the dis crete you are searching for you can continue to search for more instances of del that discrete by pushing SeN then botm next You can continue to search for del h instances of the discrete using SEN next then until you receive a Not found message At this point you know that there are no more instances of this particular discrete in the program after the currently found one L5 Note The ability to limit the search to a specific discrete ref erence type is available only for explicit discrete references in the logic program It cannot be used in a register reference search or in a search for implied references Ladder Logic Programming 107 Finding Disabled Discretes The HHP can
173. nction of the next key pushed vA IPI INI M A B 1 yos 2 3 subr net command data Ono enter ene Security Communications Option 5 VDC Keyswitch connector power input GM MICR HHP Introduction 5 A Bottom View of the HHP Front of the HHP Power adapter An RS 232 serial j connection communications port Keyswitch in Program mode position a It is ON when the HHP senses an LMARKed coil in the ON state run ning under the PLC s control see pages 94 95 for LMARK details o Itis ON when the HHP in ASCII display mode receives an incoming ASCII message that contains the ASCII bell character 007 the LED can be turned OFF by pressing any key see page 144 for a discussion of the bell character Communication and Power Connections The RS 232 serial port on the HHP al lows the panel to make a communica tions connection with a Micro PLC or with a computer When connected to a Micro PLC the HHP receives its power from the PLC via the interconnecting communications cable The HHP draws 150 mA from the PLC When connected to a personal comput er the HHP must draw its power from an external power supply An optional AC to DC converter kit is available from Modicon for this purpose The wire from the AC converter plugs into the power adapter connection shown above on the bottom of the HHP More details on the HHP power connec tions are given on pages 11 and 12 6
174. ning To initiate a search starting at the cur rent cursor position in logic push in the top right corner of the HHP key pad To initiate a search starting at the row 1 column 1 position in ladder logic 104 Ladder Logic Programming Program Data back get network 1 push on the top left side of the HHP keypad Once the search has been initiated it will proceed forward through the logic program in the direction of the logic scan until it encounters either the ele ment being searched for or the end of logic To continue the search after an instance of the reference has been aeli bom srel _ then ne found push Ending a Search Each time a search is successfully com pleted it is effectively ended To return E to the starting point push SSi To cancel out of search mode enter the cir value 00000 and push _ _ The SEARCH message disappears and the HHP returns you to the cursor position you were at before you initiated the search process Searching for a Reference Number You can search for a specific node ref erence in logic edit mode with the fol lowing procedure del srch Step 1 Push Result A message appears on the third line of the LCD noon N2 R3 SEARCH 00000 GM MICR HHP PRE The cursor appears under the rightmost 0 in the reference number Notice in this example screen that
175. nitor the health and commu nication status of the PLC s in your system Health status is displayed as an array of symbols indicating whether or not the PLC you are connected to recognizes the presence of I O in all its available locations Communication status is dis played as a series of counters that up date the frequency of comm errors in your system when it is running C Note The health status of I O lo cations can be monitored in PLCs in any operating mode single parent or child The comm error counters which monitor the rela tionship between parent and child PLCs on an expanded O link can be accessed only through a PLC in parent mode Accessing the Comms Health Displays To access the comms health screens select Comms h1th the last menu pick on the left side of the first I O map edi tor screen Self Map I 0 Child 1 4 PARENT Comms hlth RUNNING cpuvu51201 command enter Comms Health Place hilth PARENT Err cntrs RUNNING 74 Addressing I O Locations The two entries on the left of the screen directly above allow you to access ei ther the I O location health status screens Place hlth or the error counter screens Err cntrs Monitoring Health Status of the I O Locations You can monitor the health status of the parent child or single PLC to which your HHP is connected and if you are connected to a parent you can monitor the health and statu
176. nvalid channel i e not a valid port address 0032 Invalid PLC type specified 0033 Illegal broadcast 0034 Attempt to read packed coils across a 257 boundary 0040 Illegal reference start or size specification 0041 Illegal subfunction code an HHP firmware bug 0101 Function code not supported by PLC an HHP firmware bug 0102 PLC has rejected start address as illegal 0103 PLC has rejected transferred data as illegal 0104 PLC has failed to respond or abortive error 0105 PLC has returned an ACK exception request to POLL 0106 PLC busy unable to service request 0107 PLC has returned an NAK cannot understand request 0108 PLC has returned a memory parity error 0109 PLC returning an undefined exception error May be hardware problem in PLC 0110 Host has received an invalid response buffer 0111 No start of response 0112 Invalid ASCII character in response 0114 Bad address or function code used an HHP firmware bug 0116 Unexpected response length received an HHP firmware bug 0129 No start of text on program response 0144 Invalid NAK response 0145 Bad program command checksum 0146 Length has been truncated GM MICR HHP PRE Message GM MICR HHP Meaning XXXX 0160 0161 0162 0163 0164 0165 0166 0167 0168 0169 0170 0171 0172 0173 0174 0175 0176 0177 0178 0190 0191 0195 0196 0199 0499 0501 0504 0506 0511 0512 0513 0514 0515 0516 Meaning Invalid command Invalid address o
177. o PLC but becomes a slave to its ladder logic program Upon entering simple messaging mode the HHP adjusts its port parameters to those of the Micro PLC simple ASCII port and de asserts the DSR line on the port connection LS Note See Chapter 2 of Modicon Micro Ladder logic Manual GM MICR LDR for more details on the PLC comm port settings When you put the HHP in simple mes saging mode it displays ASCII charac ters being sent to it from ladder logic in the PLC on its LCD screen The ASCII characters are generated by one or more COMM instructions executing in ladder logic In addition keys 1 9 andA F on the HHP keypad can be pushed to send ASCII characters back to a COMM in struction in the PLC logic program i e COMM instructions can be set up to re ceive as well as to send messages LS Note For more details concern ing the COMM instruction refer to Chapter 8 of the Modicon Micro Ladder logic Manual GM MICR LDR Accessing the Simple Messaging Screen The slave HHP mode can be accessed in an HHP via the following menu path 148 Simple Messaging Logic edit RTU 1 R Logic data SINGLE Ple config STOPPED Next menu CPU31100 command enter Operations Rev 1 00 Map I O SINGLE Xfer save RUNNING Slave hhp CPU31100 command enter Simpl message HHP Computer xfer SLAVE Security Rev 1 0 command enter When you select Si
178. o left from the cursor po command enter sition Push foff Y_ to move the cursor to the Confirm selection on the bottom line then push The resolution of the holdup time is in hundreds of milliseconds e g 1500 ms is a legal holdup time value but 350 ms is illegal The minimum holdup time you can specify is 300 ms and the maximum is 6 553 500 ms Saving I O Map Changes To save all the changes you have made in the I O map editor place the cursor command under confirm and push omien The HHP then returns you to the initial I O map editor screen Self Map I 0 SINGLE S TOPPED cpus1201 Comms hlth where you can choose continue to edit or monitor I O map parameters or exit GM MICR HHP the editor To continue inside the editor select either Self Of Comms hl1th To cir exit exit the editor push Ignoring I O Map Changes To clear the changes you have made in cir exit the I O map editor push The HHP then returns you to the initial I O map editor screen Self Map I 0 SINGLE S TOPPED cpu51201 Comms hlth where you can choose continue to edit or monitor I O map parameters or exit the editor To continue inside the editor select either Se1f child Or Comms h1th cir exit To exit the editor push a second time Addressing I O Locations 55 Addressing a PLC s Fixed I O Locations
179. o reach the functional category for the desired instruc tion For example if you want to enter an SUB instruction which is a math function push As soon as you push a symbol appears in column 12 of the top line of the zoom screen indicating that the next character entered from the key pad will be the superior red character Once that character math 6 is entered disappears The first in the list of available math instructions appears on the fourth line of the zoom display with the cursor under it GM MICR HHP 12345678 9080N Q NOO1 R1 SUB Step 3 Result enab disa Usel gt or 4 to scroll to the desired instruction In this example scroll until sus ap command enter pears then push The node symbols appear in the appropriate columns of the logic display area with the cur sor under the top node symbol The reference data for the new instruction needs to be entered and appears in the zoom dis For example 1234ss7ssun 0 0 pa pa gt S 2 V V OO VO V w VO vv of CS Note Notice that the arrow in the zoom display on the right half the screen points to the top node This corresponds to the cursor location in the logic dis play on the left half of the screen If you decide that you do not want to enter an instruction from this functional category in these node l
180. o write the new configuration parame ters to the PLC To confirm the new parameters push command enter to cancel the new parameters and leave the previous parameters intact cir exit push again Configuring a Micro PLC 37 Setting Messaging Parameters When you select Set exp mse from the Set config screen a series of two screens appears For example To change the messaging port scroll Set comm 1 Set comm 2 PARENT Set exp msg STOPPED cpu51201 command enter Configure SINGLE TE msg goes to Comm 1 disa through the port choices with lt or enab gt botm Then push The next screen shows the comm port parameters to be used on the selected PLC port for sim ple messaging The HHP allows you to specify a wide range of comm parame ters for the simple messaging port botm next SET SIMPLE MSG PARAM 8 BIT BAUD 9600 STOP 1 PARITY EVEN The first screen shows the current oper ating mode of the PLC and the port on the PLC that is set for simple messag ing Notice the arrow in the upper right corner of this screen telling you that another screen follows in the series LS Note The operating mode of the PLC single parent or child is determined by the previous confi guration and cannot be changed in a Set config operation Only one port on the PLC can be u
181. ocations scroll to CANCEL and push Step 4 command enter Type the reference number you want in the top node then push command enter For example if you enter the constant value 165 in the top node of the ADD block the screen looks like this Ladder Logic Programming 91 123s34ss7ssun 123s34ss7essun n p gt 01650 0 0 01650 a 0 fl 40012 SUB z E ET gt 4001 33 command command Step 5 Push C then push Step 9 Push __ or Result The cursor effectivity returns to the logic display on the left side Result The value in the top node is of the screen set the cursor in the logic dis You have completed the setup play moves to he lower node of the new instruction In this and the arrow in the zoom dis example you have defined a play moves down pi line three high instruction that will ee TOE IONGI subtract the contents of register node value 40012 from the constant 165 Step 6 Type the reference number you and will store the difference in want to appear in the lower node of the instruction For ex ample if you enter 40012 in the example above the screen looks like this 12345678 980N O 0 ti a 65 12 V V Step 7 Result Step 8 92 command enter Push foff A then push The value in the lower node is set the cursor in the l
182. ogic dis play moves to the lowest node and the arrow in the zoom dis play moves down to the line corresponding to the lowest node value Type the reference number you want to appear in the bot tom node of the instruction For example if you enter 40013 in the example above the screen looks like this Ladder Logic Programming register 40013 GM MICR HHP PRE Overwriting an Old Instruction with an New One You can overwrite an existing instruction in a ladder logic network with a new in struction if the new instruction has the same number of nodes as the old one For example if you want to insert an ADD instruction in the network locations where a SUB instruction currently re sides follow this procedure fon foff disa Step 1 Using 1 L4 enab and gt move the cursor under any one of the three SUB instruction nodes in the logic display For example 12345678980 O n 01656 Cl gt 4001 2 oi SUB 40013f7 E Step 2 Push 6_ to access the math instructions scroll to enab disa gt or ADD with LS Note Ifyou decide that you want to overwrite the SUB instruction at this point in the procedure scroll command enter to CANCEL and push GM MICR HHP Step 3 To overwrite the current SUB command enter instruction push Result The previous SUB reference data
183. ogram to command enter flash push If the PLC is stopped when you initiate the save the message Please wait flashes on the bottom line of the screen until the operations completes When the operation is completed the following message appears on the bottom line of the screen SAVE WITHIN PLC POWER UP RUN STATE Will be Stopped SAVING SUCCESSFUL cir exit Push to return to the first trans fer save screen Data Transfer 135 Hardware Requirements for Slave Mode Operations The HHP needs 150 mA from an exter nal power source in order to operate In slave mode operations where it is not connected to a Micro PLC the HHP must draw its power from an indepen dent external power source All com puter transfer operations require addi tional hardware to support the HHP in slave mode Modicon offers an HHP Computer Transfer Mode Kit 110VIA19200 to satisfy these special hardware require ments This kit includes three items o A 115 VAC to DC power converter o A 9 pin D shell connector for using the HHP with an AT type computer o A 25 pin connector for using the HHP with an XT type computer The illustration below shows an HHP computer connection Plug one of the RJ45 connectors on the RS 232 cable into the HHP s communications port and the other one into the D shell connector appropriate appropriate for your com puter The 2 m 78 in power cord run
184. ol logic segments and the second for and the second for subroutines subroutines A modes Dedicated Modbus mode RS 232 por communications 9600 baud 8 bit RTU communications comm 1 even parity 1 STOP bit t 9600 baud even parity Modbus address 1 1 STOP bit Modbus address 1 Modbus ASCII toggling mode RS 232 port N A 8 bit RTU 8 bit ASCII comm 2 communications 9600 baud even parity 1 STOP bit Modbus address 1 I O expansion network I O expansion network RS 485 port 9 bit data communications 9 bit data communications exp net 125 000 baud 1 STOP bit 125 000 baud 1 STOP bit Autoconfiguring a PLC in Parent Mode If you want your PLC to function as a parent on an I O expansion link with the default configuration parameters of a parent PLC use the following screen command sequence View confg Set config SINGLE STOPPED Auto confg CPU 31100 command enter Autoconfigure as Single plec gt caution lt Child plc Parent plc command enter Configure as PARENT W nbr child ples l1 lt exit gt to cancel Begin to configure clears ul i o map GM MICR HHP Initially the cursor appears on the sec ond line of the screen under the number 1 This number indicates how many child PLCs may be supported on the link You may leave the number set to 1 or change it to another number be tween 2 4 Once the desired number of child
185. on the HHP screen o As a blackened rectangle flashes over a selected character or node symbol on the HHP screen A combination of the above two where the cursor alternates between the flashing blackened rectangle and the underline The style of cursor you want to use with your display can be selected as you start up the PLC with the Hand held Programmer For details see page 17 10 Introduction GM MICR HHP PRE Providing Power to the HHP The HHP needs 150 mA from an exter nal power source in order to operate If the HHP is connected to a Micro PLC it draws its power directly from the PLC If it connected to another device e g a personal computer it must draw its power from an independent external power source Connecting to a Micro PLC When a communication connection is made between the HHP and a PLC the HHP automatically receives power from the PLC Power is transmitted over the RS 232 communications cable that con nects the two devices Use one of the following RS 232 cables to connect the HHP to the PLC RS 232 Communications Cables Length Part Number im ft 110XCA28201 3m 10 ft 110XCA28202 6m 20 ft 110XCA28203 Each of these three cables is an eight position foil shielded flat telephone cable with male 8 pin RJ45 connectors on each end Plug one RJ45 connector into the HHP s communications port and the other one into an RS 232 serial port on a Modicon M
186. or use with other devices Whenever you change any of the comm parameters to settings that are not legal for the HHP a small open square ap pears on the right side of the second line For example if you set the baud to 7200 LS Note Ifthe comm port you are COMM 1 ADDRESS 001 parameterizing is to be used with RTU BAUD 7200 the HHP the only valid bauds are STOP 1 PARITY EVEN 2400 when the ascrr protocol is Confirm comm used and 9600 when the RTU pro tocol is used the only valid stop bit setting is 1 and the only valid Below is an illustration showing how to navigate through the screen sequence Setting the Communication Parameters for a comm 7 Port Top level config screen View Set confg config WRITE PARENT TO STOPPED CONFIGU RATION CONTROLLER Auto confg cpu51201 Confirm write config command command OR cir enter enter exit 7 cir exit Set comm screen 1 Set comm 1 Set comm 2 PARENT Set exp MSG STOPPED C PU512 01 command enter top prev Set comm screen 2 COMM 1 Address 001 ASCII BAUD 9600 STOP 1 PARITY EVEN Confirm comm 36 Configuring a Micro PLC GM MICR HHP Here is a seven step procedure for specifying communication parameters for the selected RS 232 port in this screen Step 1 dress Step 2 Step 3 ue Step 4 To change
187. outputs to references other than 00001 00016 Here is a sample five step procedure for changing the range of inputs and out puts in the LOCO1 screen fofi Step 1 Push Y_ to move the cursor to field 4 on line 2 of the screen Result The cursor appears under the leftmost digit in the low number of the input reference range Here is an example using a 110CPU51201 PLC s L 01 MOD MIC131 gt IN 10001 10016 OUT 00001 00 016 16 0115V I O STR 4RY Step 2 Type in the reference number you want associated with this first fixed input Remember that this number must be the first reference number in a valid sequence e g 10017 10033 10049 command Step 3 Push Result The HHP fills in the high refer ence number in the range For example if you type 10033 the range in field 4 reads s L 01 MOD MIC131 IN 10033 10048 OUT 00001 00 016 16 115v I O STR 4RY GM MICR HHP Pie Step 4 To change range of output foff references push Y to move the cursor to field 6 then re peat step 2 this time using a Ox reference e g 00017 command Step 5 Push __ Result The new range of discrete out puts appears s L 01 MOD MIC131 gt IN 10033 10048 OUT 00017 00 032 16 0115V I O STR 4RY LS Note Fields 5 and 7 on the sec ond and third lines respectively are left empty when the refer ences are discretes
188. passwords in the screen push command enter then move into the field of another password you want to edit cir command Once L or MEISE has been pushed the previous password cannot be restored LS Note As the system administra tor you are responsible for know ing the current admin password at all times You can reference the above screen to see the other cur rent password listings but you must know the admin password in order to access this screen Deleting a Password The HHP also imposes a set of priori ties on the deletion of admin and level 3 passwords o A level 3 password cannot be de leted while a level 2 password exists o An admin password cannot be de leted while a level 3 password exists For example if you have installed all three passwords and you attempt to de lete the level 3 or admin password the 166 Password Security HHP will not accept that deletion when you try to execute it The same error message appears on the bottom line of the screen LEVEL2 PSWD OODEFOO02 LEVEL3 PSWD OODEFO03 ADMIN PSWD 00012345 del srch LEVEL2 PSWD OODEFO02 LEVEL3 PSWD OODEFO03 ADMIN PSWD 00012345 E Lowr lvl paswd set To delete a password move the cursor under the rightmost character of the password you want to delete and push del E srch Once a password has been deleted it cannot be restored un less you rekey it
189. ple if you enter an N O contact in the first node of row 1 network 1 the screen will look like this 12s34sse7essunt NOO1 R1 gt 00000 Step 3 Type the reference number you want associated with the new logic element Result The reference number will ap pear after the arrow in line 3 of the zoom screen If you type 10005 as the reference for an N O contact for example the screen looks like this 12345678980 NOO1 R1 gt 10005 command enter Step 4 Push Result A node symbol appears above the cursor in the logic display area indicating that the ele ment has been inserted in the net work The state of the new ele ment appears in line 4 of the zoom display 12345367898080 NOO1 R1 a E gt 10005 gt 0 FF lt GM MICR HHP PRE Entering a Vertical Short The vertical short is a special case in terms of how it is entered in the logic screen Unlike all other logic elements the vertical short can share a node space with another element or instruc tion node Therefore it can be entered by moving the cursor back onto a node that already has logic in it and pushing l F Power flow in a vertical short is always from the output of the element whose node it shares never to the input For example contacts with associated verti cal shorts would look something like this in the HHP display Ladder Logic HHP Display 4h
190. plied reference itself is not necessarily contained in the bottom node of the instruction Special Search Capabilities for Discrete References There are several ways in which you can limit a search to specific types of discrete references You can limit the search to a specific type of coil or con tact or you can limit the search to dis abled logic elements associated with discrete references in the logic program Finding Specific Discrete Logic Elements When you type in the reference number of a discrete that you want to search for you can further delimit the search by pushing one of the following keys GM MICR HHP PRE Key Sequence Discrete Element Type lI N O contact A 4 N C contact B IPI Positive transitional 1 yes contact INI Negative transitional contact M Memory retentive coil Normal coil Cc For example if you want to search for normally open N O contact 10008 you can invoke a search and type 10008 followed wy LE A The following appears on the screen ooog N2 R3 SEARCH 10008 II bom back When you push net j of LO the HHP searches for the next explicit oc currence of N O contact 10008 The search ignores any implied references to 10008 and any explicit occurrences of 10008 that are assigned to logic ele ments other than an N O contact If an insta
191. r exit screen push If you move the cursor under Install command enter Passwords and push while password security is disabled the HHP returns an error message on the bottom line of the screen TT ScE CURET Y aE Enter Password Install Passwords E PASSWORDS DISABLED fon foff Push the or _ _ key to clear the error message from the screen Becoming Admin You need admin privileges before you can edit any parameters inside the password security scheme To become admin place the cursor under Enter command Password and push emer The following screen appears gt lt If this is the first time the security scheme is being accessed a default admin password 12345 s in effect Enter the following sequence GM MICR HHP PRE Enter Password gt 00012345 lt command enter You now have ADMIN Security Access Cte S ECUR ETY EE Enter Password Install Passwords Status pw DISABLED You are now back at the first security screen but this time you have admin privileges These privileges allow you to Enable the password security o scheme Disable the security keyswitch when m it is set in monitor mode thereby en abling program mode on the HHP re gardless of the keyswitch position View and edit the current password o scheme GM MICR HHP Password Security 1
192. r address range Memory protect ON Memory is full Invalid node type Coil is used Invalid reference number range Invalid parameter PLC running Not logged in a user logged in on another port Coil not disabled Search has failed Illegal configuration Illegal message Illegal sequence of insertion Time base for constant sweep missing Coil disable not allowed Cannot modify flash memory Coprocessor failure No ASCII message with this number ASCII message number previously used Unable to allocate enough space Executive failure Slave did not respond before time out Invalid parameters to command Link status illegal function or orphan poll Link status PLC has failed to respond or an abortive error received Link status PLC busy function cannot be performed at this time Link status Message size too big for the PLC Link status new message started before previous message has completed Link status Packet out of sequence command aborted Link status Major sequencing error detected iink reset required Link status response is too large for PLC command aborted Link status PLC has returned a reserved response unrecognized response from PLC System Messages 173 Message Meaning E Must be ADMIN Unauthorized user trying to perform a password security function that requires admin access E No hhp program HHP has no valid program in flash when the user tries to initiate a transfer from HHP to PLC E not
193. rching for coil 00011 and the search reaches a BLKM where discrete references 00001 00016 are being moved into holding register 40021 The result of the search would show a screen some thing like this oooo 000010 oo 400210 l BLKM FOUND 00011 gt 00018 The message on the bottom left of the screen tells you that an instance of dis crete reference has been found A register reference can also be implied in ladder logic In the DIV instruction for example the explicit 4x holding reg ister that appears in the bottom node stores the quotient of the division opera tion while implied register 4x 1 stores the remainder of the division Say for instance you are searching for register 40021 and the search reaches 106 Ladder Logic Programming a DIV where register 40020 is displayed in the bottom node The result of the search would show a screen something like this nooo 400170 on 00250 o DIV FOUND 40021 gt 40 0200 The message on the bottom left of the screen tells you that an instance of reg ister reference 40021 has been found and the arrow in the zoom display indi cates that its position is implied behind register 40020 LS Note Whenever an implied dis crete or register reference is found the cursor in the logic dis play appears under the bottom node symbol of the instruction and the arrow in the zoom screen points to the bottom node of the instruction The im
194. rent child communications To exit the comms health screen push cir exit GM MICR HHP PRE Chapter 5 Ladder Logic Programming o Logic Edit Mode o The Logic and Zoom Displays o Entering Coils Contacts and Shorts with an HHP o How the HHP Displays Contacts Coils and Shorts o Entering Ladder Logic Instructions with an HHP o How the HHP Displays Ladder Logic Instructions o Errors of Range and Type o Special Commands for Editing Logic o Searching Nodes for Program Data GM MICR HHP Ladder Logic Programming 77 Logic Edit Mode A ladder logic program can be moni tored and edited with a Hand held Pro grammer in logic edit mode The HHP must be connected to a PLC that is powered up and configured before it can be put into logic edit mode Accessing Logic Edit Mode Logic edit mode can be accessed from the main LCD screen or from a logic data screen see Chapter 6 To access logic edit mode from the main LCD screen place the cursor un der the first menu pick Logic edit on the left of that screen Logic edit RTU beens Logic data SINGLE Ple config STOPPED Next menu CPU311 00 command enter then push To access the logic edit mode from a subr data logic data screen push the key If the PLC Contains a Logic Program The LCD screen will display the top four rows of the first logic network in the pro gram e g 12345678089890
195. rent state in the case of a Ox or 1x discrete or value in the case of a 3x or 4x register for any reference in PLC state RAM enter the five digit reference number with the cursor posi tioned in field 1 For example if you enter the holding register reference number 40100 into field 1 Field 1 40100 command enter then push the current value stored in that reference and the format in which it is displayed on the screen appear in fields 2 and 3 Field 1 Field 2 Field 3 40100 9044 DEC In this example we see that the current decimal value stored in holding register 40100 is 9044 Similarly if you enter a discrete refer ence number 00001 command enter and then push the cur rent state of that reference is displayed The cursor is positioned in column 5 on line 4 Column 5 is always the field 1 cursor position for the data entries in the logic data screen 112 Reference Data 00001 OFF DISABLE GM MICR HHP PRE Here we see that coil 00001 is OFF and disabled Whenever a coil is disabled the condition is noted in field 3 C Note If field 3 of a specified dis crete reference is empty then that reference is enabled In this screen 00001 OFF coil 00001 is understood to be enabled Four reference data entries may be dis played per screen To create an entry fon foff push A or Y _ to move from t
196. rk in the program Takes you to back network he specified number network in the program Takes you to he first network in the subroutine segment subr cursor specified sub data undera routine in the last get subr data ie with the Takes you to the JSR segment Paging Sequentially through the Networks You can advance forward sequentially through the networks in a logic program botm next by pushing To return backward sequentially through the networks in a top prev logic program push As you page backward or forward through the networks the network number appears in the top line of the zoom display If you enter a network that does not contain any logic the message Empty network appears on the bottom line of the screen When you pass through a segment boundary a screen like this appears Segment Boundary Crossed Enter segment 02 where the message on the bottom line tells you which segment is being en tered If you are entering the last seg ment in logic i e the subroutine seg ment the following screen appears Ladder Logic Programming 79 Segment Boundary Crossed Enter subrtine area botm next If you push while you are in the last network in logic the current screen display remains with the message End of user logic on the bottom line For example ood N006 R1 oon g
197. rsor moves under PARENT On the third line of the screen enab Step 5 Push I Result The selection toggles CHILD indicating that messaging on the comm 2 port will now be implemented by the child Configure CHILD CHILD no 2 CHILD msg to Comm 2 cir exit Step 6 Push Result The original screen re appears Note that the status still shows the child I D as 4 Set comm 1 Set comm 2 CHILD 4 Set exp MSG STOPPED cPpu51200 cir exit Step 7 Push again Result A screen appears prompting you to write the new messag ing route to the PLC WRITE CONFIGU RATION TO CONTROLLER Confirm write config Step 8 To write the new child I D num ber and messaging route to the command PLC push GM MICR HHP PRE Viewing Configuration Parameters If you place the cursor under view confg in the first config screen and then command enter push a set of status screens is displayed These screens show the current parameters in the PLC configuration table LS Note The view confg screens are all passive i e you cannot edit any of the data in these screens Viewing an Unconfigured PLC If the PLC is unconfigured when you se lect view confg a screen appears with the following message View confg Set config SINGLE Write cnfg STOPPED Auto confg first command enter
198. s Accessing the Operations Screens 00eeeeeee Starting a Stopped PLC 0c eee eee Stopping a Running PLC 0 0 cee eee ee eee Clearing User Logic from PLC Memory 05 Chapter 3 Configuring a Micro PLC The PLC Config Options 0 e eee eee The Three Config Options 0 00 c cee eee Configuration Options for an Unconfigured PLC Configuration Options for a Previously Configured PLC How to Autoconfigure a Micro PLC 0 c cece eee Accessing Autoconfig when the PLC Is Unconfigured Accessing Autoconfig when the PLC Is Configured Autoconfiguring a PLC in Single Mode Autoconfiguring a PLC in Child Mode 005 Autoconfiguring a PLC in Parent Mode Customizing a PLC Configuration 002 0000e Config Parameters that Can Be Edited Accessing the Set config Screens 0000 Editing Comm Parameters on an RS 232 Port Setting Messaging Parameters 000 cee eens Viewing Configuration Parameters 0 2 00eeeee Viewing an Unconfigured PLC 0000 eee eee Viewing a Configured PLC 0 ec eee Chapter 4 Addressing I O Locations with the I O Map Editor Invoking the I O Map Editor 00 cee eee eee eee Accessing the I O Map
199. s of all child re sources being accessed by the parent fofi To access these screens push Y to move the cursor under Place hlth command enter then Comms Health Place hlth PARENT Err cntrs RUNNING command enter PARENT 10112005 ele tele tg I 0 L06 10 HEALTH Hie toy oone GIGSeQOQ sacos The screen example directly above shows the health status of the fixed I O locations Lco1 05 of a parent PLC and the status of the locations that can support A120 I O modules Lc06 20 The number 1 indicates that the PLC recognizes healthy I O at the given lo cation and the symbol indicates that an unhealthy or unconfigured location has been detected GM MICR HHP Pie A location will be shown as unhealthy if o The location is unconfigurable e g LOC04 which addresses analog I O channels is unconfigurable on a 512 model PLC and LOC05 which is re served for generalized data transfer cannot be used in the fixed I O loca tion of a parent or single PLC oO There is no I O present in the given location e g if A120 I O is not be ing used in the application LOCO6 LOC20 have no modules present o There is physical I O present in the location but it has not been ad dressed in the PLC s I O map o There is physical I O present in the location and it has been addressed in the PLC s I O map but it is not currently powered up o There is
200. s the I O locations as follows LOCO01 Default Parameters LOCO1 maps all the fixed discrete in puts to sequential references starting at 10001 and all the fixed discrete outputs to sequential references starting at 00001 Here are the default I O type identifiers and discrete I O resources for the vari ous Micro PLCs Here is a sample LOCO1 screen s L 01 MOD MIC131 gt IN 10001 10016 OUT 00001 00016 16 115v I O 8TR 4RY The s in field 1 on the top left of the screen indicates that the LOCO1 I O be ing addressed is for the PLC s se f i e its own discrete I O points and not those of a child on the I O expansion link The default I O type identifier MIC131 is in field 3 on the top right of the screen The reference addresses are shown in fields 4 and 6 on the sec ond and third lines respectively and the description of the fixed I O resources is shown in field 8 on the bottom line of the screen CS Note In this example references 00013 00016 are expended in the addressing process These references cannot be used as mapped to external coils or dis crete outputs They are however available for internal program use LOCO2 Default Parameters LOCO02 on 411 512 and 612 model PLCs is MIC140 PLC 1 0 Type Discrete I O z p Type Identifier Resources s oe E S 5 fe o X 5 F 140 110CPU31100 MIC128 16 24VDC in OuT 110CPU41100 ae Sc 8 INTPT CNTR INP 110CPU51200 1
201. s the first register in the COMM control block The control block is set up in this way 152 Simple Messaging Register Value Meaning 40100 4110 Write ASCII character no CR LF 40101 0000 N A 40102 0002 Transmit two ASCII characters 40103 0000 N A 40104 0000 N A 40105 wet ee 40106 0000 N A 40107 0000 N A 40108 0000 N A 40109 0000 N A You can enter these networks into lad der logic with your HHP to demonstrate the message display capabilities of the device As these two networks execute in the logic scan each available ASCII character will be displayed sequentially on the HHP screen Each supported character will be preceded by an excla mation point When disabled coil 00001 is ON it en ables the transmission of ASCII charac ters To stop the flow of characters turn coil 00001 OFF GM MICR HHP PRE Using an HHP as an Message Response Tool The following 15 keys a F 1 9 on the HHP keypad can be used to create message responses back to a COMM instruction in the PLC logic Data Entry Keys vopn l move mtrx othr F 7 8 9 _ centr timr math Cc D 4 5 6 11 Nn aim mN M B 3 Five other keystroke sequences can be used as control keys in an ASCII mes sage response Message Control Keys command Sends a CR on the wire and enter places the cursor at the be ginn
202. screen Push if you want to move forward to view confg screen 2 View confg Screen 2 Here s an example of view confg screen 2 42 Configuring a Micro PLC ADDRESS 01 ADDRES 02 2400 ASCII 9600 RTU 1 STP EVEN 1 STP EVE This status screen shows the communi cation parameters of the comm RS 232 port s on your PLC Those parameters include o The Modbus address of the RS 232 port s The Modbus address is an integer value in the range 1 247 Each address must be unique with respect to all other Modbus ad dresses on the same network o The baud and communication proto col used on the RS 232 port s Two protocols are valid rrtu and ascrI The baud on comm 1 must be 9600 for RTU and 2400 for ASCII Any one of four bauds is valid for comm 2 with either protocol 1200 2400 4800 and 9600 o The number of stop bits and the par ity check scheme used on communi cations to or from the RS 232 port s 1 stop bit and even parity must be used on comm 1 1 or 2 stop bits GM MICR HHP PRE and EVEN ODD Or NONE parity may be used on comm 2 LS Note For 311 or 411 models of the Micro which do not have a comm 2 port the right side of the display is empty cir Push oe if you want to return to the top first config screen Push BISA if you want to return to view confg screen 1 botm next Push if you want to move for ward to view confg screen 3
203. screen appears Simpl message HHP Computer xfer SLAVE Security Rev 1 0 Move the cursor under Computer xfer command enter and push screen appears The following GM MICR HHP PRE COMPUTER Computer xfer a CPU31100 Continue XFER MODE lt gt HHP Program With the cursor under the PLC model number on the third line of the screen disa lt push to select FLSHEXEC Then foff push _ _ to move the cursor under Continue on the bottom line of the command screen and push oms The following screen appears COMPUTER XFER MODE lt Enter gt to leave Panel xfer FLSHEXEC ADD 01 9600 RTU 1 EV All the information in this screen is sta tus information the cursor does not ap pear and it cannot be edited From this point on all the transfer procedures are handled from the computer that has called up the BBS Caution When a new execu tive is loaded to the HHP all ladder logic configuration and I O map data existing in the HHP will be wiped out If you want to save this informa tion you should download it to the PLC before you start the executive download then upload it from the PLC after the new executive is installed At the prompt on your computer termi nal type LOADER then push the lt RETURN gt Then make sure that your computer s communication parameters correspond with those shown on the bottom
204. screens you can access your PLC configuration options by selecting command enter Plc config then pushing The following screen then appears with three possible config options View confg Set config SINGLE STOPPED Cpu 31100 Auto confg You can also write the changes to the PLC with the Set config selection Set config Capabilities are described on pages 35 40 With the auto confg option you can assign a set of default configuration val ues to the PLC auto confg capabili ties are described in detail on pages 30 n 34 Configuration Options for an Unconfigured PLC If the PLC is not currently configured you must Auto config t before you can execute Set config Or View confg operations If you attempt to select Set config or View confg on a PLC that is unconfi gured the following message appears on the bottom line of the HHP screen View confg Set config SINGLE STOPPED Auto confg first Auto config is an extremely important The Three Config Options With the view confg selection you can monitor the current PLC configuration parameters You can only monitor the config parameters at this level you can not edit them view confg capabilities are described on pages 41 44 With the Set config selection you can edit some of the current PLC configura tion parameters o PLC comm port parameters o The PLC port used for simple messaging Oo The I D
205. sed for messaging You can set the mes saging port assignment to any one of the following O Comm 1 Comm 2 mi O Explink mi None 38 Configuring a Micro PLC Available Simple Messaging Port Parameters 7 BIT ASCII Comm Protocol 8 BIT ASCII 50 1800 2000 110 2400 Baud 134 3600 150 4800 300 7200 600 is 9600 1200 19200 75 o OF Stop bits 1 2 EVEN Parity Check ODD NONE The open square appears on the screen next to baud values that cannot be supported when the HHP is used as the display panel in a simple messaging operation When the HHP is the display panel only bauds of 1200 2400 4800 and 9600 can be used The look of the Set exp MSG screens differs depending on the PLC s operat ing mode Two examples follow the first example shows an autoconfigured single PLC whose messaging port will be changed the second example on page 40 shows an autoconfigured child whose D number will be changed GM MICR HHP PRE Example 1 Changing the Messaging Port and Comm Parameter on a PLC In this first example we look at a 110CPU51201 PLC in single mode with its messaging capability on the exp link port and its communications protocol 8 bit ASCII Using the following seven step procedure the messaging route is changed to the PLC s comm 1 port and the protocol to 7
206. ssage reads QOOOOOOOOoOOg gt 400360 nooog 400350 omong LMARK 00004 oood LMARK Step 3 Type the reference number of the discrete you want to moni command enter tor then push Result The ON OFF states of new ref erence will be monitored by the HHP If another reference was previously LMARKed it will no longer be monitored If you attempt to type in a Ox or 1x ref erence number whose magnitude is too big i e Ox gt 1024 in a 311 411 gt 1536 in a 512 612 1x gt 256 ina 311 411 gt 512 in a 512 612 the HHP will display a range error message at the bottom of the screen QOOOOOOoOOOO nooi R1 onmia g kz oooo E ref out of range If you attempt to type in a non discrete reference type i e any leading digit other that 0 or 1 the HHP will display a reference type error message at the bottom of the screen QOOOOOOOOO0 noo1 R1 onon onan E wrong ref type In order to return to an LMARK OFF con dition type 00000 as the reference number LMARK remains in effect when you switch back and forth between logic edit and logic data modes GM MICR HHP Opening and Closing Rows in a Network The HHP allows you to shift rows of logic nodes up or down within a network in logic edit mode The logic that is shifted in an OPEN CLOSE Row command moves as a block maintaining consis tent topological relationships The OPEN Row command shifts a
207. ssword is less than eight char acters long the HHP automatically fills in the leading characters with zeros You do not need to enter leading zeros when you type your password Only a user with level 4 admin access can create a password Password Security 159 Accessing the Security Scheme From the top level screens in the HHP the access path to the security screens is as follows Logic edit RTU Le Logic data SINGLE Ple config STOPPED Next menu CPU31100 command enter Operations Map 1 0 SINGLE Xfer save RUNNING Slave hhp cpu31100 command enter Simple msging HHP Computer xfer SLAVE Security Rev 1 0 command enter Ty LS EC URET Y ele lerlunt Enter Password Install Passwords Status pw DISABLED Monitoring Security Status without Admin Privileges The HHP gives a user limited access to status inside the security screens if that user does not enter the admin pass word If you move the cursor down to Stat pw DISABLED and push command enter the following screen appears KEYSWITCH ENABLED PASSWORDS DISABLED 160 Password Security The cursor appears in the upper left corner of this screen and it cannot be moved onto either of the two line en tries i e the current state of the key switch and the password security schemes can be viewed but not changed To return to the first security ci
208. struction in column 3 in network 3 is used for housekeeping When coil 00003 transitions from ON to OFF this logic clears out the message receive buffer in the Micro PLC just in case there has been a comm error logged there If for example you have a logic net work such as network 3 in your pro gram you can enter 984 followed by command enter from your HHP keypad while you are in the simple messaging editor 984 GM MICR HHP Register ENA Meaning ues are stored in destination register 40140 1120 Write ASCII character 40150 The received message is then 40141 0000 N A moved to the third COMM instruction The number of characters which sends the message back to the 40142 00nn aaea HHP display register 40150 now be 10143 o0 ai comes the source register 40144 0000 N A 984 40145 0001 hoe for 984 40146 0000 N A 40147 0000 N A 40148 0000 N A Here are the values for the control block 40149 0000 N A of this COMM instruction Register Value Meaning 40120 1000 Flush input buffer 40121 0000 N A 40122 0000 N A 40123 0000 N A 40124 0000 N A 40125 0000 N A 40126 0000 N A 40127 0000 N A 40128 0000 N A 40129 0000 N A Simple Messaging 155 Chapter 9 The HHP s Optional Password Security System The Four Levels of Password Security Accessing the Security Scheme Enabling Password Security Disabling Keyswitch Security Assigning Pas
209. structions DX move instructions DX matrix instructions aaua gd Other instructions Each functional category can be ac cessed by pushing one of the following key sequences Notice that each entry is preceded by EA Key Functional Sequence Category Instructions UCTR centr counters 4 DCTR T1 0 T 01 timr timers 5 T0 1 TiIMS ADD DIV math math SUB EMTH MUL R T FIN move Be T gt R FOUT move 4 T gt T SRCH BLKM STAT AND SENS mx DX matrix OR MBIT XOR COMP CMPR BROT SKP TBLK COMM CKSM othr others PID2 BLKT 9 LAB CTIF JSR SCIF RET 90 Ladder Logic Programming Legal Entry Locations A single or multi node instruction can be placed in open nodes on any rows or in any column except column 11 as long as there are no coils to the left on any of the rows used by that instruction In most cases the network in which the instruction is placed can be in any seg ment of ladder logic Two exceptions are the LAB and RET instructions which must be placed in the last seg ment the subroutine segment of ladder logic LAB instructions must be placed in row 1 column 1 of the applicable net works in the subroutine segment A multi node two node or three node instruction must be place in vertically contiguous nodes and all the nodes of an individual instruction must fit in the same network For example the top
210. swords GM MICR HHP Password Security 157 The Four Levels of Password Security If your application requires that you limit access to certain editing capabilities of the HHP an optional password security scheme is provided The password scheme needs to be set up by an ad ministrator who can limit HHP PLC access to four levels of user Accessing a Security Level without a Password When password security is enabled the password fields are tested whenever the PLC is powering up The PLC com es up accessible to users at the highest level that has a null password For ex ample if the administrator has set a password for level 3 security but has not set a password for level 2 security a user will be able to access level 2 privileges without knowing a password If both level 2 and level 3 are password protected then the user can access only level 1 privileges without using a password level 1 security is always unprotected Level 1 Security Privileges When password security is enabled all users have level 1 security privileges Level 1 gives a user access to a limited set of capabilities in the HHP and these capabilities cannot be password protected Level 1 Privileges o Can view the current configuration parameters o Can view the current I O map param eters including comm health and comm error statistics qo Can view the ladder logic program and monitor power flow in logic edit mode 158 Password Securit
211. t 0010 UCTR END OF USER LOGIC top prev If you push while you are in the first network in logic the current screen display remains with the message strt of user logic on the bottom line For example Bequ N00 6 R1 E I E g2o0 gt 10001 STRT OF USER LOGIC Going Directly to the Desired Network You can advance directly to a desired network in ladder logic from any other back get network by pushing the key For example if you are currently positioned in network 1 and you want to go to net work 34 the following screen message back get appears when you push Sage NOOl R1 E E a700 gt 1 0001 Get net work 5 Simply type the desired network num ber in this example 34 at the cursor location on the bottom line LE EE NO01 R1 E I 0 e700 gt 1 0001 Get net work 34 80 Ladder Logic Programming command and then pushl The HHP immediately displays network 34 in the logic display with the cursor in row 1 column 1 If network 34 does not exist in the lad der logic program the current screen remains displayed with an error mes sage on the bottom line Be E E E00 gt 1 0001 network not found N0001 R1 Creating a New Network To create a new network positioned im mediately after the one you are current Ea net ly located in push One I
212. t Exit gt exit Step 4a If you want to get out of com puter transfer mode simply cir exit push 140 Data Transfer Result The HHP returns you to the top level screen Step 4bIf you want to clear a stored program out of the HHP s flash net Ono push Result The HHP posts this message on the bottom line of the screen Please wait while the pro gram is being cleared When the operation finishes it posts another message Request completed momentarily be fore returning you to the top level screen LS Note Initiating a save to HHP flash at the end of an upload is meaningless since the program is IPI 1 yes already there Thus the option on the second line of the screen above does not apply to an upload operation Downloading a Program to the HHP Slave In a master to slave download proce dure the computer master device treats the HHP slave as if it was the Micro PLC identified by the model number dis played on the third line of the HHP s slave status screen The model number you select in the HHP must correspond to the PLC model for which the program in the master has been created For example if you have created a logic program for a 110CPU51200 environ ment with Modsoft Lite and you want to write that program to HHP flash then you must select cpu51200 in the HHP before initiating the download When you are downloading to the HHP th
213. the PLC the communications protocol it is using RTU Or ASCII and its Modbus address 1 247 The second status line tells you the op erating mode in which the PLC is confi gured SINGLE PARENT CHILD Or NO CONFIG The third status line tells you the PLC s current operating state RUNNING or STOPPED The fourth status line tells you the model number of the Micro PLC Note In the case of the third screen when your PLC is in ker nel mode no further interaction is possible between the HHP and the PLC New executive firmware must be downloaded to the PLC If the HHP Cannot Establish Communication The HHP is able to establish valid com munications only with a Modicon Micro PLC Upon power up the HHP always attempts to establish that communica tion even when a PLC is not connected to it If communications fail to be established the following No comms screen appears NO COMMS SINGLE Hhp port Slave Hhp UNKN PLC Why Communications Cannot Be Established The No comms screen appears on the LCD if You plug a DC power supply into the HHP s power adapter connection but do not connect another device to the HHP s RS 232 communications port GM MICR HHP o You plug a DC power supply into the HHP s power adapter connection and connect a non PLC device e g a personal computer to the HHP s RS 232 communications port o You connect a Micro PLC to the HHP s RS 232 com
214. the channel The analog channels are addressed as follows GM MICR HHP Analog Input Register Inputs Register Content 30006 Input channel 1 30007 Input channel 2 30008 Input channel 3 30009 Input channel 4 30010 status Analog Output Register Outputs Register Content 40001 Output channel 1 40002 Output channel 2 On 311 411 and 512 model PLCs LOC04 should be Mop UNCNFG S L 04 MOD UNCNFG gt IN OUT The cursor does not move beyond field 3 no references should be addressed there LOCO5 Default Parameters LOC05 in all Micro PLCs defaults to MOD UNCNFG because the use of gener alized data transfer is an option be tween parent and child PLCs When LOCO05 is set up for GDT it must be edited into the I O maps of the child and of the parent LOCO5 must be set in the appropriate cn screen of the par ent s I O map where n is the number of the child PLC See pages 69 71 for details Default Parameters for A120 1 0 LOCs The model 512 and 612 PLCs are equipped with a parallel port that sup ports A120 I O modules These mod ules are addressed in LOCO6 LOC20 of the PLC s I O map Addressing I O Locations 51 If you have installed the A120 modules in their appropriate slots and powered them up the LOCO6 LOC20 screens in the I O map editor will display the as sociated module identifier in field 3 on the top right of the screen You t
215. the comm port parameters are differ ent from those shown on the bottom line of the screen enter the the desired Modbus address on the top line and command enter to confirm the num foff ber Then push Y to move the cur enab sor under the a or B then push gt to toggle the a to B or the Btoa push LS Note Only two sets of comm pa rameters can be set by the HHP for its comm1 port An a on the second line indicates 9600 baud RTU with 1 stop bit and even par ity and a B on the second line in dicates 2400 baud ASCII with 1 stop bit and even parity When you have specified the desired Modbus address for the PLC and the correct comm parameters for communi cir cating with the HHP port push J to leave the screen and hunt for comms When the HHP establishes communica tions with the PLC at the specified Mod bus address with the correct comm port parameters it returns the standard top level HHP menu screen Establishing Comms when a PLC s Modbus Address Is Unknown There may be times when the HHP fails to establish communications with a PLC whose Modbus address is unknown to you In this case make sure that the 18 Getting Started HHP is connected to the comm1 port of the PLC Using the No comms screen enter an address value of 000 Cpu address 000 Comm parms A BAUD MOD STP PAR 9600 RTU 1 EV command Push ___ tet to confirm the
216. the commands described here use the canceL selection Simply use disa enab 4 or to scroll to CANCEL command then push ___ The list of commands will disappear and the screen will return to the logic edit display Ladder Logic Programming 103 Searching Nodes for srci mt The and key se quences provide you with several node search capabilities in logic edit mode You can search oO Sequentially for all occurrences of a reference number both explicit and implied in ladder logic o Specifically for a discrete Ox or 1x reference number assigned to a logic element e g normal coil 00001 N O contact 10004 negative transi tional contact 10005 Oo Sequentially for all disabled coils in ladder logic Oo Specifically for the individual coil tied to a selected contact in ladder logic Oo Specifically for the subroutine LAB instruction associated with a selected JSR instruction in ladder logic L5 Note You must search for an en tity with a reference number as signed to it You cannot search for a constant value or for an un specified logic element type Starting a Search All search operations must proceed in a forward direction from the starting point in the ladder logic program You cannot search backward for previous occur rences of an element or reference and you cannot wrap the search process from the end of logic back to the begin
217. the right side of the screen shows that the PLC is now RUNNING Operations Rev 1 00 Map I O SINGLE Xfer save RUNNING Slave hhp CPU31100 If you decide that you want to cancel the command and leave the PLC stopped when you reach the confirma cir tion screen push exit The PLC re mains stopped and the HHP returns you to the first Operations screen Stopping a Running PLC To stop a PLC that is in run mode go to the first Operations screen and with the cursor positioned under Stop push command enter The following confirmation screen appears OPERATIONS stop Reqest Confirm command enter Push to stop the PLC The PLC stops running and the HHP re turns to the top level screen The third GM MICR HHP ac line of the status information on the right side of the screen shows that the PLC is now STOPPED Operations Rev 1 00 Map I O SINGLE Xfer save STOPPED Slave hhp CPU31100 If you decide that you want to cancel the command and leave the PLC run ning when you reach the confirmation cir screen push L The PLC remains stopped and the HHP returns you to the first Operations screen Clearing User Logic from PLC Memory To clear user logic program from the PLC memory the PLC must be stopped With the PLC stopped go to the first Operations screen and posi tion the cursor under Clear ul then command enter
218. tion in field 2 with the newly en tered character above it o All other values on this line in field 2 are cleared to 0 in hex format or blank in decimal format o All data throughout the screen is frozen Decimal format allows an entry of five digits in the range 0 65 535 Num 120 Reference Data bers greater than 65 535 are converted to n 65 535 with no leading zeros The new data is entered into the field from right to left For example if you want to replace an old hexadecimal val ue of 2354 with a new hex value of 4752 the line entry would look like this as you type in the new values Keystroke LCD Display hey 40100 2354 HEX che 40100 0004 HEX hess 40100 0047 HEX umi 40100 0475 HEX ml 40100 4752 HEX To confirm the new value and unfreeze command the data screen push __ The PLC writes the changed data con tent to register 40100 and immediately begins to monitor and update all screen references GM MICR HHP PRE Editing ASCII Data The HHP keypad does not support the direct entry of new ASCII characters into the display because of the charac ter limits on the keypad You can how ever indirectly edit ASCII characters by using another format e g hexadeci mal to represent the desired charac ters then toggle the format to ascrrI For example if register 40100
219. tus informa tion in field 1 on the top left of the screen indicates that you have accessed child 3 through its own I O map editor In this example we use four words of input and four words of output over the GDT connection To define the number of words registers to be used push foff V_ to move the cursor to field 3 un disa der Mop uNcNnFG then use lt 4 or enab gt to scroll to the MIC150 selection s L 05 MOD MIC150 gt IN OUT 4 WORD I O 4 WORD The status line on the bottom of the screen tells you that you have selected four input word and four output words for GDT Addressing I O Locations 69 foff Push LY to move the cursor to field 4 on the second line of the screen and command enter type 30021 followed by The HHP fills in the range of four con tiguous 3x registers s L 05 MOD MIC150 gt IN 30021 30024 BIN OUT 4 WORD I O 4 WORD foff Push Y again to move the cursor to field 6 on the third line of the screen command enter and type 40011 then The HHP fills in the range of four con tiguous 4x registers s L 05 MOD MIC150 gt IN 30021 30024 BIN OUT 40015 40018 BIN 4 WORD I O 4 WORD The child PLC is now set up to handle GDT Now connect the HHP to the parent Setting Up the Parent for GDT With the HHP connected to the parent access its I O map editor Ent
220. tware file and a loader utility program You download the binary executive file from the com puter to the HHP utilizing the loader util ity The loader utility contains five files o LOADER EXE an executable file that performs the loading function o LOADER HLP a help text file o LOADER NDX an index file for help screens o MCMIII MSG the Modcom III error message file oO README 1ST a file that explains ex actly how to perform the update The loader utility and the latest execu tive software can be obtained o Via the Customer Service Bulletin Board 24 hours a day 365 days a year at no charge From your local Modicon Sales Representative GM MICR HHP o As part of a Modicon Micro Flash RAM Subscription Service Modicon part number SR FLCH MCR The latest revisions of the HHP and oth er Modicon executive firmwares are al ways listed on the Customer Service BBS and on Modfax Accessing Modfax Modfax is an automatic document re trieval system available to Modicon cus tomers located in the U S and Canada The system is self prompting To ac cess Modfax call 800 468 5342 and select option 3 Have your FAX number available when you call For additional hardware or software technical assistance call the Modicon Field Support Center at 800 468 5342 or 508 794 0800 outside U S and Canada and select option 1 The relevant Modfax bulletins regarding the HHP include Oo 3726 Executive
221. ulation timing or to store groups of discrete I O points so that they can be moved or manipulated as blocks in the logic program Whenever field 4 in an I O map LOC screen addresses that LOC s inputs to a 3x register field 5 beside it displays the kind of format the bits can be displayed in Whenever field 5 in an I O map LOC screen addresses that LOC s outputs to a 4x register field 6 beside it displays the bit conversion format The bit for mat may be either a binary BIN or binary coded decimal Bcp format By placing the cursor in field 5 or field 6 of a register mapped location you can toggle between BIN and scp formats disa enab with the 4 or gt key 54 Addressing I O Locations Saving Changes in the I O Map Editor After you have made changes to one or more LOC screens in the I O map edi tor you can save the changes by push cir exit ing A screen similar to this appears Save S INGLE Map I O Changes for Self Holdup 0000300 msec Confirm or lt exit gt The top two lines of this screen display status information about the operating mode of the PLC you are I O mapping and whether you have addressed I O lo cations for your own PLC or for a child on the expansion link The third line shows the current holdup time in hundreds of milliseconds The default holdup time if no other has been explicitly specified is 300 ms This number may be edited
222. uld not be implemented if the PLC is in single mode To set up a GDT in the parent you must access the I O map LOC screens via the Child 1 4 menu selection To do GDT setup in a child you must ac cess the I O map of the same child spe cified in the parent I O map In both LOCO5 screens the number of I O words reserved for GDT must be the same The HHP allows you to set up the following numbers of GDT words via the mrc number selection GDT Word Number of Identifiers Words of I O MIC148 1in 1 out 2in MIC149 Sout MIC150 4in 4 out 8in MIC151 8 aut A word may be a 3x input register a 4x output register a group of 16 contigu ous 1x discrete references or a group of 16 contiguous Ox discrete output references A GDT Example Let s say that we want to implement four input registers 30021 30024 in child 3 to receive generalized data from holding registers 40025 40028 in its parent PLC Likewise we want to set up input register 30011 30014 in the parent to receive generalized data GM MICR HHP from holding registers 40015 40018 in child 3 Setting Up the Child for GDT First connect the HHP to child 3 and access its I O map editor Enter the editor by selecting Seif on the first I O map screen Then advance to the LOCO5 screen By default this screen is initially unconfigured s L 05 MOD UNCNFG gt IN OUT LS Note The s self sta
223. ur transfer options are de scribed in this chapter 124 Data Transfer Slave HHP Mode Options When the HP is a slave to a computer master device the computer can use the HHP to o Download a ladder logic program from the computer to the HHP s flash o Upload a ladder logic program from the HHP s flash to the computer o Download a new HHP executive from the computer into the HHP s flash These three HHP slave operations are described in this chapter A fourth slave operation the use of the HHP as a message entry display panel is de scribed in Chapter 8 How to Access Transfer Save Mode The transfer save mode can be ac cessed in an HHP via the following menu path Logic edit RTU 1 Logic data SINGLE STOPPED cPpu31100 Plc config Next menu command OR botm enter next Operations Rev 1 00 Map I O SINGLE Xfer Save STOPPED Slave hhp CPU31100 command enter Y Xfer plc to hhp Xfer hhp to plc Verify with hhp Save within plc GM MICR HHP PRE How to Access Slave HHP Mode The slave HHP mode can be accessed in an HHP via the following menu path Logic edit RTU 1 EA Logic data SINGLE Ple config STOPPED Next menu CPU31100 command OR botm enter next Operations Rev 1 00 Map I O SINGLE Xfer Save STOPPED Slave hhp CPU31100 command enter Simpl message
224. ura tion including the inability to execute a new autoconfig o Cannot write any new parameters to the PLC s I O map qo Cannot clear user logic in operations mode o Cannot transfer user logic from the HHP to a PLC o Cannot save user logic to the PLC s flash memory qo Cannot edit the ladder logic program Level 3 Security Privileges Level 3 security access is to all HHP and PLC functions except the ability to change the security system i e to all HHP capabilities except admin Level 3 privileges can be password pro tected by the admin so that users with out knowledge of the password are locked out If a level 3 password is not assigned then all users can access these capabilities GM MICR HHP Admin Security Privileges Access to the admin security level re quires knowledge of the admin pass word The HHP is shipped with a de fault admin password 12345 which may be customized by the admin user Level Admin security access allows a user to o Install and edit security passwords o Enable disable password security oO Enable disable keyswitch security To use other HHP and PLC functions you need to exit the admin level and access level 3 security by entering the level 3 password Password Construction A password comprises any combination of one eight alphanumeric characters available on the HHP keyboard e the letters a B c D E and F and the numbers 0 9 If your pa
225. ushing with the cursor placed in field 1 of an entry in the logic data screen scrolls the current entry up one line and replaces the vacated line with the next contiguous reference number its value or state and its format For example if the cursor is on line 3 02047 ON 00120 OFF DISABLE 40100 2354 HEX 40200 1255 DECIMAL the display changes as follows when botm next is pushed Reference Data 117 00120 OFF DISABLE 40100 2354 HEX 40101 2355 HEX 40200 1255 DECIMAL The entries previously on lines 2 and 3 are now moved up to lines 1 and 2 re spectively and the next contiguous re ference register 40101 now appears on line 3 The reference that previously appeared on line 1 has scrolled off the top of the display and now cannot be recovered top prev Pushing with the cursor placed in field 1 or field 2 of an entry scrolls the current entry down one line and re places the vacated line with the pre vious contiguous reference number its value or state and its format For example if the cursor is on line 1 02047 ON 00120 OFF DISABLE 40100 2354 HEX 40200 1255 DECIMAL the display changes as follows when top BISI is pushed 02046 OFF 02047 ON 00120 OFF DISABLE 40100 2354 HEX The entries previously on lines 1 2 and 3 are now moved down to lines 2 3 and 4 respectively and the
226. ut Incompat E invalid addr E invalid cmd E invalid insert 170 System Messages Meaning System communication error User trying to transfer a program for a PLC that is incompatible with the tar get PLC e g 311 411 to 512 612 512 612 to 311 411 Trying to configure a bidirectional I O location with combined register and discrete references System communication error System communication error System communication error User Action Depending on where and when it happens may re quire fix up to a logic network or to the I O map Check the current network or I O map af ter such an error Configure the location with register in out references 3x and 4x or discrete in out references 1x and Ox Depending on where and when it happens may re quire fix up to a logic network or to the I O map Check the current network or I O map af ter such an error Depending on where and when it happens may re quire fix up to a logic network or to the I O map Check the current network or I O map af ter such an error Depending on where and when it happens may re quire fix up to a logic network Check the current network af ter such an error GM MICR HHP PRE Message E invalid node type E invalid param E key not active E Lowr lvl paswd set GM MICR HHP Meaning An attempt to insert a node type not supported by the Micro System communication error The key pressed is
227. ve STOPPED Slave hhp cPpu31100 The second top level screen shows the current revision level of the PLC execu tive on the top right side of the screen PLC Operations Selecting operations from the second top level menu sends you to a screen where you can stop and start the PLC and you can clear the current user logic program from the PLC s user memory Logic edit RTU 1 TA Logic data SINGLE Ple config STOPPED Next menu cPu31100 command OR botm enter next Operations Rev 1 00 Map I O SINGLE Xfer save STOPPED Slave hhp cPpu31100 command enter Ty Stop OPERATIONS Start SINGLE Clear ul STOPPED cPu31100 See page 24 for a discussion of Operations functions GM MICR HHP PRE I O Map Capabilities Selecting Map 1 0 from the menu on the second top level HHP screen sends you to the HHP s I O map editor Logic edit RTU 1 aa Logic data SINGLE Ple config STOPPED Next menu cCcPU31100 command OR botm enter next Operations Rev 1 00 Map I O SINGLE Xfer save STOPPED Slave hhp cpu31100 command enter Y Self Map I O Child 1 4 PARENT Comms hi1lth S TOPPED CPU51201 See Chapter 3 for a detailed discussion of how to I O map a Micro PLC with the HHP Program Transfer Mode The xfer save mode can be accessed in an HHP via the following menu path
228. y o Can view data displayed in the refer ence data screen o Can transfer user logic from the PLC or from another panel e g Modsoft Lite to the HHP and verify the transfer o Can transfer user logic to another panel e g Modsoft Lite from the HHP oO Can transfer a new HHP executive to the Hand held Programmer o Can operate in messaging and com puter slave modes Level 1 Restrictions o Cannot change the PLC s configura tion including the inability to execute a new autoconfig o Cannot write any new parameters to the PLC s I O map o Cannot start or stop the PLC in oper ations mode g Cannot clear user logic in operations mode o Cannot transfer user logic from the HHP to a PLC og Cannot save user logic to the PLC s flash memory g Cannot edit any discrete or register reference values o Cannot edit the ladder logic program Level 2 Security Privileges Additional HHP capabilities can be ac cessed by a user with level 2 security privileges Level 2 privileges can be password protected by the admin so that users without knowledge of the password are locked out If a level 2 password is not assigned then all users can access these capabilities GM MICR HHP Level 2 Privileges oO Can access all level 1 privileges o Can start and stop the PLC in opera tions mode o Can edit discrete and register refer ence values Level 2 Restrictions g Cannot change the PLC s config
229. y out 16 115VAC in MIC131 8 triac out 110CPU31101 4 relay ou 110CPU41101 16 115VAC in 110CPU51201 MIC132 8 triac out mois 16 115VAC in 4 relay ou 16 230VAC in MIC134 8 triac out 110CPU31102 4 relay ou 110CPU41102 mahise 16 230VAC in 110CPU51202 8 triac out MIC136 16 230VAC in 4 relay ou MIC137 16 24VDC in 110CPU31103 12 FET out 110CPU41103 MIC138 16 24VDC in 110CPU51203 8 FET out 110CPU61203 MIC139 16 24VDC in 4 FET out 58 Addressing I O Locations You also have the option of scrolling to a selection called uncnre which puts the fixed discrete I O points in an unad dressable state When you begin to scroll through the mic choices you will notice two things o The input and output reference ranges in fields 4 and 6 become empty o A black square appears to the left of the mtc number this black square indicates that you have scrolled to a selection that is available for this LOC but is not currently programmed s L 01 M MOD MIC131 IN OUT 16 115vV I O 8TR 4RY To change the mic number in LOCO1 follow this three step procedure Step 1 Cursor to the desired mic num ber it will have a black square to its left because it is currently unprogrammed Step 2 Change in the I O ranges in fields 4 and 6 of the screen us ing the previous procedure command Step 3 Push __ _ At this point you may either go to another LOC scr

Download Pdf Manuals

image

Related Search

Related Contents

ASSACRIL LATEX  (参考資料1)(12~14ページ)(PDF:682KB)  2706-6.2, DL40 Software User Manual  RFID READER RFID-IDR-232N USER`S MANUAL  

Copyright © All rights reserved.
Failed to retrieve file