Home
HE200 PLC Ladder Editor User`s Manual
Contents
1. an RS232 to RS485 adapter Before using the BIOS menu as described above it must first be activated as follows 1 Connect a PC AT to board s main serial port via an RS232 to RS485 adapter HE693SNP232 2 Run the TERM EXE program set for 9600 Baud no parity 1 stop bit XON XOFF handshaking and ANSI display mode 3 While holding down the PC s spacebar power up the HE200 PLC BIOS Ver 1 53 and above is compatible with the stan dard IBM keyboard repeat rate 10 cps or faster 4 The following menu should now be displayed on the PC HE200xxxxxx BIOS Menu V 1 53 P Show menu on PC R Receive messages W Show menu on WY 30 S Send messag Load new software M Multiple transmit V Verify software T Test I O points E Erase Flash EPROM X Exit BIOS menu 22 USING THE BIOS MENU As the menu shows the BIOS supports 10 commands which may be se lected by the operator The BIOS commands fall into the following three categories CATEGORY COMMANDS Utility P W Hardware Testing By Sy My T PLC Engine Maintenance Eje Vyr Ey X UTILITY COMMANDS P or W is pressed on the keyboard to repaint the BIOS menu using ANSI PC or WYSE WY 30 screen control codes respectively Note that if a WYSE terminal is used instead of a PC all menu items except L and V are available HARDWARE TESTING In addition to hardware testing th
2. 7 TUE OT Lad a hie Aes eth ees eae ania AS ee Ee Sees SP eee NE 18 APPENDIX A The HE200 Network o o oooooooooooooooooo nooo 19 APPENDIX B HE200 PLC BIOS Firmware Ver 1 53 o o ooooo 21 APPENDIX C HE200 PLC BIOS Firmware Ver 3 00 24 INTRODUCTION The HE200 PLC Ladder Editor Programming Software HEPLC EXE allows offline creating editing saving and loading of ladder logic programs for Horner APG LLC HE200 PLCs When connected to an HE200 PLC s programming port or to an HE200 Network Gateway HEPLC EXE can download upload run and monitor ladder programs HARDWARE REQUIREMENTS IBM AT 386SX or better recommended 640K memory with at least 512K available EGA graphics with minimum 16 colors and 80 by 25 text support MS DOS Version 3 3 or greater Hard disk drive Microsoft compatible mouse highly recommended Hardwar o quirements needed to program an HE200 PLC RS232 cable free serial port COM1 or COM2 RS485 to RS232 converter HE693SNP232 if connecting to a PLC with an RS485 programming port PR IK HE200 PLC OVERVIEW rach HE200 PLC node incorporates the following features 128 rungs of ladder logic 8 physical inputs contacts I1 to 18 8 physical output coils Q1 to Q8 48 internal output coils T1 to T48 16 global input
3. EDI Menu The pop up menu system has been enhanced by adding an EDIT menu to provide a faster more logical arrangement of command functions The EDIT menu contains all the edit features previously found under the TOOLS menu The copy rung function is now available from the EDIT menu selection CONFIG Menu The PLC Info menu selection no longer brings up a secondary menu Selecting PLC Info now displays information about the currently attached PLC The Net Assignments former secondary menu item is now available as a separate menu item under Config Force Outputs has been moved to the Tools menu RELATIVE NETWORK ADDRESSING This feature allows a single ladder program to be used on multiple PLC network nodes Specifically when assigning an IG network input to another PLC s QG network output the user can optionally specify the other PLC s Network ID as a relative offset from the current PLC s Network ID T GLOBAL OUTPUTS QG outputs may now be used as normally closed or open inputs in ladder code This is done simply by using an input object and entering QG as the type of input OBJECT NAMES The alias name searching has been improved to allow objects of different types to be assigned the same nam NOISE FILTERING HE200 PLC Engine firmware version 1 90 and later have two adjustable parameters to help when the PLC is used in noisy
4. r a while the PLC s programmable network timer ini the der HI E200 Network is k and a PC based Editor HE200 Network Protocol Encoding and Host Supervisory Tool which in turn causes a global data broadcast tialization seque roadcast its global data nce used to or an Ol document for detail accomplish HE200 Network communication 20 Protocol Final another PLC exchange Host Supervisory EM specific cell ls on the used to PHYSICAL CONNECTIONS Wire type gauge and terminators should comply with current speci fications for CAN inter connections based on length and required noise immunity The HE200 PLC connector has four screw terminal connections la beled 1 through 4 as follows Terminal Description 1 Ground return for terminals 2 and 3 2 CAN DATA 3 CAN DATA 4 Cable shield The following diagram shows how to properly wire multiple nodes together on an HE200 Network SCANNER Shield Earth Ground CAN High CAN_ Low WIRING RULES 1 An HE200 Network should be wired in a daisy chained fashion such that there are exactly two physical endpoints on the network 2 The two nodes at the physical endpoints should have 120Q terminating resistors connected across terminals 2 and 3 3 The data conductors terminals 2 and 3 should be a 24 AWG shielded twisted pair with 120Q characteristic impedance 4 Notice that for
5. Additional checking was also added to prevent off line disconnected or faulty printers from causing errors W Pp hen a problem with the printer is found an error is shown and rinting is discontinued SEARCH NETWORK added utility under the TOOLS menu This utility will use the PLC physically connected to the PC to check every PLC on the HE200 Network Nodes that are found to be connected to the network are polled to find their current state Scanning a network with few connected nodes may take as long as two minutes Pressing the ESC key will halt the scanning Pressing the lt S gt key after a scan will rescan all nodes The display shows nodes 1 to 253 with a status to the right XXX Represents a node number from 1 to 253 XXX 7 Node xxx doesn t exist or is not communicating XXXR Node xxx is in RUN mode and is communicating xxx M Node xxx is in MONITOR mode and is communicating xxx I Node xxx is in IDLE mode and is communicating This node will be flashing WHAT S NEW IN HEPLC VERSION 2 0 FILE Menu VERIFY Command Allows comparing Ladder code in the 30 PLC memory to that in the HEPLC editor FILE Menu PRINT Command Enhancements have been made to the printing interface to allow more selective printing of ladder code and its associated network and name information Now a single PRINT selection exist under the FILE menu
6. its BIOS firmware ts the HE200 Gateway execution engine owever the BIOS firmware displays a menu which can be used to perform basic te hardware and which can load the latest execution engine into non The operator interface to the BIO running the HE200 BIOS Access Utility HEBIOS EXE ACTIVATING THE BIOS MENU Before using the activated as follo 1 Physically BIOS menu ws sts of the PLC or Gateway s S menu consists of a PC AT as de scribed below it must first be attach the PC AT to an HE200 Network in one of the following ways a Connect the PC s COM1 or COM2 RS232 port to an HE200 PLC s programming port This allows HEBIOS EXE to access the PLC s BIOS menu or the BIOS menu of any node attached to the PLC s CAN port If the PLC s programming port is a 15 pin RS485 connector use an RS232 to RS485 adapter HE693SNP232 b Connect the PC s COM1 or COM2 RS232 port to an HE200 Network Serial Gateway HE200CGM200 This allows HEBIOS EXE to access the BIOS menu of any node at tached to the Serial Gateway s CAN port B cC Install an HE200CGM301 single or HE200CGM302 dual HE200 Network Gateway Interface Board into the PC s ISA bus This allows HEBIOS EXE to access the Gat not av 2 Run the H DOS prompt HEBIOS ailable o EBIOS EXE port way s BIOS menu
7. lt down gt lt F2 gt lt cr gt Q lt tab gt 1 lt tab gt MOTOR lt tab gt lt cr gt lt down gt lt down gt lt down gt lt F2 gt lt cr gt I lt tab gt 4 lt tab gt LSW_1 lt tab gt lt cr gt Lis START BRANCH lt right gt lt right gt lt right gt lt F4 gt lt cr gt 3 START Switch Input lt right gt lt F2 gt lt cr gt I lt tab gt 2 lt tab gt START lt tab gt lt cr gt 4 MOTOR Contact 5 CLOSE BRANCH lt right gt lt right gt lt F5 gt lt cr gt 6 START BRANCH lt up gt lt up gt lt up gt lt right gt lt right gt lt F4 gt lt cr gt 7 SENSOR 1 Switch Input lt F2 gt lt cr gt I lt tab gt 3 lt tab gt SEN_1 lt tab gt lt cr gt CREATING THE LADDER PROGRAM cont d 8 LIMIT SWITCH 1 Switch Input 9 CLOSE BRANCH lt right gt lt right gt F5 lt cr gt 10 MOTOR Output lt up gt lt up gt lt up gt lt right gt lt right gt lt F6 gt lt cr gt 1 lt tab gt MOTOR lt tab gt lt cr gt After creating a ladder program it may be inspected by placing the or and choosing VIEW Alternatively select I O NAMES under CONFIG in or the right mouse button SAVING THE LADD cursor on each function individually and then pressing Enter the left mouse button to bring up the Object Modification Menu the MAIN MENU which can be brought up by pressing the ALT key T i1R PROGRAM E M ne progr
8. EDITING AND CREATING After selecting DI the TOOLS menu SPLAY FILT nter the TYE option from and NUMBER of U FI the output object Now the word F object the filter at the top of the is remo option aga Starting rogram will ring Filtering FILTER option new p filte When gram filtering is is checked t and QG objects w tacts also appea is not the case the objects andr curs An example as an input somewh is never used as a will always be OFF the rung s output This function wil to filter t display for iltered and the output is based upon will appear ladder program window PLAY ncel ng a display ved by in and a new also choosing the DIS selecting the ca program or loadi remove the pro performed the ladder all T Q o make sure that hich appear as input con r as output coils If this a warning screen will list ung numbers where this oc of this is when Tl is used ere in the ladder code but n output In this case Tl and therefore cannot cause to toggle 1 display the Target PLC s power on self test Allows saving description for th Assigns a desc current rung The the lower right si and will appear be Comments can be ad results viewing and printing a simple e current program comment to the nt will appear in de of the editing window low the rung when printing ded or modifie
9. Names New FILE menu option which loads just the user I O Names from a saved ladder program file Verify on Download By default ladder downloading now performs an automatic verify Number of Rungs Maximum number of rungs was increased from 64 to 128 Find New EDIT menu option which finds the first occurrence of a selectable object in the ladder program Find Next New EDIT menu option which finds the next occurrence of the object previously selected by Find Display Filter New TOOLS menu option which allows a programmer to view or print only those rungs that would affect a chosen output Timer Display When in monitor mode the current count of the displayed timer s is shown above the gray set point I O Names Screen Now distinguishes between internal coils T1 T48 which are used as outputs and internal coils which are only used aS an inputs or timer resets Also a 2nd page was added containing timer information Printing I O Names Distinguishes internal coils in the same way as I O Names Screen described above Printing Timer Info When printing ladder code a new option is available to print the timer usage information Printing Filtered Ladder Code If the editor s Display Filter tool is active when print is selected the printout will only contain the viewable filtered rungs WHAT S NEW IN HEPLC VERSION 2 30 Setting Local PLC Node Now cli
10. Object Objects are now inserted to the left of a branch on the UPPER level Open and Short Display An error when displaying OPEN or SHORT objects after a redraw or reload was corrected IG Monitoring A display problem when monitoring normally closed IG objects was corrected Branching An error was corrected relating to the display of branches that have been extended by placing a branch inside the ELESE Logic Generation An error when generating OR terms in logic was corrected WHAT S NEW IN HEPLC VERSION 2 31 Timers 10 mS timers have been added to version 2 31 of Ladder Editor and will only work in engine versions 2 04 and later Older engines will not be affected The timer dialogue box has changed slightly When first entering a timer no resolution will be indicated When the time is entered in the correct field the resolution will be based on the fractions of a second entered For example 1 20 seconds will be assigned a 10 millisecond timer and 1 2 seconds will be assigned a 100 millisecond timer Dialogue box entering and editing now closer to common graphical user interface conventions lt TAB gt will move to the next field lt ENTER gt will confirm entry and move to the next field if appropriate lt SPACE gt will toggle or selection options 35 When editing a longer field such as a file or I O name pressing the lt RIGHT
11. See ea eS Pings Wo eae ee 4 Start BraTIChY seo aos 4 CLOS BRANCH ini IS edhe we Ne Gout wrens AS A 4 Physical QUEPUE 3 ished heh eel Soa See hao at Sind do eee Be E a ee aaa 4 internal QUE PUuUE almas a Wloka ro Ree ey ree wR eo are we tee She 80 4 Short Cirous ESSE a ee SAWS BANS Dy E AGNES Dees Be 5 Opeth Circuit SWE GI jax doe Saree Se wuss eo terete cays wee oa egies A ode esate eas wae 5 GLOBAL MNPC at A A A ae wean E eee S 5 Global QUtputS sas aaa ete e nia A Ls A REA ee E EW 6 ON Dell ayy TIME a a a wey eS ete Wie EM eke oe As Seeks as 6 OFF Delay Timet ai iets ee hile aie thee edie ge dats ae Seale Sta a Boa ne ROS ete lel es 6 UESCOGUNESO didas taa alta ERES hand ERE eae id 7 Starting ths HEPEC Ladder EdIEDE a A ae i MENUS cing a die ae Goblets enti E ae Else hoe ee Se e AA ee AD eee See YE o 8 Object Modification Men cts iia Bare sae eA dosed Gace 8 Marn Ment A 4 6 OUR ie el A ghee oer era le ere cee wwii ake esis airs 8 Basle SUDSMERU sie dcp alan be a wad idad LO Edit SUBDSMENO Cuarta a EO ETE A A else tee eee a EA LO Mode Sub Menu aana E ee A A Soe r 11 Contigs SUDSMENUy A a iia pele eb eee 11 TOOLS Sub Men 2040 died sis A A e A a wee ele 12 Editing and Creating Ladder Logic Programs 14 Using the Keyboa Tdi da E Sat ANG PO ee A ae Das 14 Using ENE MOUSE eee aa ee A A E ROR 15 Edentittcalttor FISAS ii A A EE ave es 6 Error Messages Limits and Restrictions c c ooooooooo
12. Tl to T48 S1 to S16 IG1 to IG16 or QG1 to QG16 Places a normally closed switch Start Branch F Starts a vertical branch in the ladder logic Close Branch Finishes the last branch started by connecting the lower horizontal branch to the correct upper horizontal branch Physical Output Ox Identified Q1 thru Q8 Some HE200 PLCs are specialized for motor control as follows When an odd output 01 03 05 07 is ON the connected motor runs when OFF the motor stops with dynamic braking The even outputs 02 04 06 08 determine motor direction intemal Output Tx F gt Identified T1 thru T48 These outputs can be turned ON or OFF by logic and are typically used to stor intermediat or temporary logic port This function has no identifier This function has no identifier states LADDER LOGIC FUNCTIONS cont d Short Circuit Switch Ixx I This function is not identified specifically but adds informa tion to the selected function This operation forces the selected input object I Q T IG QG S to always be in an ON state and is useful for debugging Open Circuit Switch Ixx J el This function is not identified specifically but adds informa o o tion to the selected function This operation forces the selected input object I Q T IG QG S to always be in an OFF state and is useful for debugging Global Input IG
13. WHAT S NEW IN HEPLC VERSION 1 9 MODIFY When modifying a non global input object the object can now be changed between normally open and normally closed This is done by pressing the lt F1 gt key any time a field is not being edited cursor is small _ not big U The object is updated upon exit of the modify window INSERT in the object modification menu insert now allows inserting inputs and timers into existing ladder code When inserting the user will be prompted to select the object to be inserted The object s familiar entry fields are displayed Selecting cancel exits the insert process and returns to the edit screen If an unwanted object is inserted undo returns the ladder code to its previous state Note timers can t be inserted as the leftmost object and or in a position which is Red around DELETE RUNG Now moves all rungs below the current rung up one This function also stores the deleted rung ina buffer to allow pasting into other locations INSERT RUNG Inserts a blank rung if the ladder is not full before the current rung The previous current rung and all other rungs below move down one rung PASTE RUNG Places a previously deleted rung from the paste buffer onto a unused rung A rung may be pasted multiple times to allow easy paste modify editing PRINTING When printing the network map is now printed as well as the ladder code
14. a section of cable between two nodes the cable shield is connected to terminal 4 at one end only 5 An HE200 Network without repeaters should be limited to 64 nodes with a maximum cable length of 1500 ft 6 Up to four HE200 Network segments which adhere to the above five rules may be connected together using three CAN repeaters HE200CGM100 In this manner a CAN network may be extended to 253 nodes with a total cable distance of 6000 ft 7 Each HE200 PLC unit is assigned a unique Network ID by the HEPLC programming software via the RS485 port 21 APPENDIX B HE200 PLC BIOS Firmware Ver 1 53 INTRODUCTION This document describes th normally invisible BIOS firmware programmed into EPROM in HE200 PLCs Normally when the controller powers up the BIOS firmware just starts the HE200 PLC ladder execution engine which in turn executes ladder code if the engine is not in IDLE mode When activated the BIOS firmware displays a menu which can be used to perform basic tests of the and can load the latest PLC ladder volatile memory on the control Cc The operator interface to the BIOS me ller board ontroller board s hardware execution engine into non nu consists of a PC AT running a dumb terminal program TERM EXE while connected to the controller board s main serial port via ACTIVATING THE BIOS MENU
15. as the HE200PLC188 and the HE200UCNx14 have software controlled non volatile memory write protection For these models the UNLOCK HEX file must be downloaded to the PLC via the L command before a new ngine can be down loaded APPENDIX C HE200 PLC BIOS Firmware Ver 3 00 INTRODUCTION H This document describes th normally nvisible BIOS firmware programmed into EPROM in HE200 PLCs and HE200CGM301 302 Gateways 24 HE200 BIOS Firmware Version 3 00 that it allows HE200 PLC and HE20 tenance via the H connection This engine maint E200 CAN Netwo represents amajor update in 0CGM301 302 Gateway engine main rk instead of requiring direct nance is performed using the HE200 BIOS Access Utility HEBIOS EX PLCs and Gateways is also assumed t non volatile memo Version 3 00 or la Normally when an starts the HE200 When an HE200CGM30 normally just star When activated h volatile memory contain hat all ry Flash ter BIOS E devic E which assumes that all devices on the network PROMS Version 3 00 or later It EPROMS PLC ladder exe executes ladder code if the engine is not in IDLE mode S ither have empty erased or are running engine software HE200 PLC powers up the BIOS firmware just cution engine which in turn 1 302 Gateway powers up
16. at startup Note The ladder program should be in the same directory where heplc is started Any directories before the filename are removed When the MODE of the connectivity status in the upper right corner is selected with the mouse a dialog box appears to allow quick changing of the target PLC s mode For example if the status appears as 0 gt 123 1 Clicking on the I will offer the option to change the mode of PLC number 123 38 Added program description This allows a general description of each program to be saved with the ladder program on the PC s disk Added rung comments This allows comments about the current ladder rung to be viewed edited or printed The comments are displayed at the bottom right of the edit window The comments can be edited three ways 1 Clicking the mouse on the comment 2 Selecting Rung Comment from the TOOLS menu 3 Pressing CTRL r the key assignment for comments Comments are automatically added to the print out when a rung is printed The comment will appear next to the rung number Many additional fixes Note This version slightly changes the file format to include descriptions and rung comments Version 2 70 can read ladder programs created by all previous versions of this editor Previous versions are designed to prevent the loading of ladder programs they do not understand For example version 2 60 will not read a file created
17. conditions The TOOLS menu now contains a selection called Set Anti Noise WHAT S NEW IN HEPLC VERSION 2 1 Communications The HE200 PLC has outgrown its simplistic method of PC to PLC communications This version uses packaged commu nication with error detection and requires PLC Engine Version 2 01 or later This change provides faster more reliable commu nication and allows Cell Controller type Host Supervisory Tools to be created Update Comm this menu selection was added to the TOOLS menu to force a communication update Timers Now when adding timers in the editor the system prevents two timers with the same number being entered If a timer number is entered that has already been entered an error message will alert the user and give the first timer number that has not been used if possible IG Viewing Now when viewing an IG input the network assignment 31 is also displayed This information is in the form Node XXX and QG YY Relative addressing is in the standard form where offset is used for Relative Network ID number Printing When printer ladder code rungs are now not split between pages and each rung is properly labeled for page number File Loading the file loading process has been enhanced to make loading faster and easier for the user Script Downloads This feature allows automated ladder logic file downloading to an e
18. contacts IG1 to IG16 16 global output coils QG1 to QG16 16 16 bit timers with 10 or 100ms resolution TMR1 to TMR16 Programmable physical input filtering Physical output event statistics Power on self test diagnostics data 1 RS485 programming port 1 HE200 Network port To connect the PC to a PLC hook up an RS232 cable from the PC s serial port either COM1 or COM2 to the 9 pin male D connector on the RS232 to RS485 converter Then plug the converter into the RS485 15 pin female D connector on the HE200 PLC Alternatively the PC can be connected to an HE200CGM200 RS232 to HI E200 Network Gateway by hooking an RS232 cable from the PC s serial to the 9 pin female D connector on the Gateway LADDER LOGIC FUNCTIONS re A SO OS Se WUNCELONS EL oh ORS 2 A F op HELP N O N C Start Close Motor Intern Short Open Global 2 HELP Switch Switch Branch Branch Output Output Input Input Output HELP eTA fobs o o o o g v ee ee ee PSS E FS Functions O SSS Fo tk HELP On Off Up s HELP Timer Timer Count HELP TMR TMR CTR v 5 ee Normally Open Switch Ixx Identified 11 to 18 Q1 to 08 A ES Tl to T48 S1 to S16 EGL to IG16 or QG1 to QG16 Places a normally open switch Normally Closed Switch Ixx Identified 11 to 18 Ol to Q8 I
19. current ladder program to the Target PLC s ladder rogram If a verify error is detected one of three error messages will be displayed Verify Failed in Network Info Block The PLC and the PC differ in network assignments Verify Failed in Timer Info Block The PLC and the PC differ in timer settings Verify Failed in Code Block The PLC and the PC differ in ladder logic Prints selected portions of the currently loaded ladder program to the printer connected to the lpt port defined by the PRINTER PORT field Print options include the range of ladder rungs to print network assignments I O names and timer information In addition either ASCII text or ASCII graphics printing mode may be selected ASCII graphics mode uses IBM line drawing graphics characters supported by many printers to produce a higher quality printout MAIN MENU cont d FILE Sub Menu PRINT im cont d RUN a SCRIPT QUIT cont d Also if the editor s Display Filter tool is active when print is selected the printout will only contain the viewable filtered rungs The top of these printouts will label it as a filtered ladder program and will show the output used to filter the ladder code See the Display Filter option under the TOOLS Sub Menu for more details This feature allows automated ladder program down loading to an entire network of PLCs o use this feature an AS
20. node IDs depending on the mo de selected Network connectivity display in the u Setting the target and local node IDs The DIAGNOSTIC information When viewing an IG the node assigne with the correct mode Network assignments will be printed following the node number if the mode Network assignments can be entered 36 pper left of the screen d to the IG will be displayed in hexadecimal with an h is set to HEX or displayed based on the HEX DEC mode When doing a NETWORK SEARCH the node numbers are displayed according to the set mode IMPORTANT Scripts must still list the node number in decimal WHAT S NEW IN HEPLC VERSION 2 52 Fixed an entry error in the networks assignments Fixed a download error that occurred when the ladder program size was an exact multiple of 64 Added the ability to switch DEC HEX mode whil ntering data in the network assignments window CTRL H will toggle the mode update the display and save the change to the heplc ini file Note the network connectivity display will not be updated until the entry window is exited The mode cannot be changed in the middle of editing an item which is indicated by the thicker cursor WHAT S NEW IN HEPLC VERSION 2 62 Corrected Problems Fixed a problem which occurred when Modifying an existing contact object I 0 T S IG or QG Pressing
21. on the HE200 Network ON Delay Timer S01 Identified TMR1 through TMR16 enable Two TMR CNTs cannot share the XXXX X same identification number This reset function has Enable and Reset ON dly inputs a logical Output and a time Delay Max 3200 9 seconds a If Reset is ON the timer s Output is always OFF b If Reset is OFF the timer s Output follows the timer s Enable with a programmable Delay in the OFF to ON edge OFF Delay Timer S02 Identified TMR1 through TMR16 enable Two TMR CNTs cannot share the XXXX X same identification number This reset function has Enable and Reset OFFdly inputs a logical Output anda time Delay Max 3200 9 seconds a If Reset is ON the timer s Output is always ON b If Reset is OFF the timer s Output follows the timer s Enable with a programmable Delay in the ON to OFF edge LADDER LOGIC FUNCTIONS cont d Up Counter S03 Identified CNT1 through CNT16 clk Two TMR CNTs cannot share the XXXXX same identification number This reset function has Clock and Reset UP CNT inputs a logical Output and a Counts value Max 32767 counts a If Reset is ON the counter s Output is always OFF b If Reset is OFF the counter increments each time Clock goes from OFF to ON When the Counts value is reached th counter s Output goes ON Note The Sxx coil attached to timer or counter bl
22. with version 2 70 of the editor WHAT S NEW IN HEPLC VERSION 2 72 Monitor now updates the states and timer values ever 150 milliseconds Previously the editor updated the screen every 100 milliseconds When monitoring PLCs with scan rates over 25 milliseconds this caused the editor to spend excessive time waiting for the PLC to respond WHAT S NEW IN HEPLC VERSION 2 80 The editor is functionally the same but the saved file format now includes the binary download data for use with custom file management utilities Note This version changes the file format Version 2 80 can read ladder programs created by all previous versions of this editor Previous versions are designed to prevent the loading of ladder programs they do not understand For example version 2 70 will not read a file created with version 2 80 of the editor 39 Input Wiring PeeRAl a aaa 11 12 13 14 COMI 15 16 17 18 COM2 24VDC Output Power mg Supply Note The inputs can be wired as either positive input or negative input 11 4 are shown above as positive and 15 8 negative Power amp Output Wiring 120 240 AC or DC AC or DC AC or DC VAC Power Source Power Source Power Source L DA N Q O O Or L L L L L L 24VDC O O O O O O A i i 7 A A A A A A D D D D D D N GND Q1 COM1 Q2 COM2 Q3 Q4 Q
23. 2 download function of the TERM EXE program When the L command is selected the following message will be displayed Loading new software At this point press the F2 function key and enter the proper filename to start the download The filename to enter depends on the model number of the PLC being updated and the new engine s version number as follows PLC Model Filename HE200PLC044 PLCO88 ver HE200PLC084 PLCO84 ver Note that ver is the 3 digit HE200PLC088 PLCO88 ver version number of the engine HE200PLC188 PLC188 ver being installed HE200UCN014 UCNX14 ver HE200UCN114 UCNX14 ver During download an automatic verify is performed and if all goes well the display should read Loading new software Done The V command is used in the exact same manner as L except that instead of downloading a new execution engine it simply compares th specified file with th ngine currently residing in the con troller s non volatile memory The E command erases th ntire non volatile memory chip This command will b rarely used Normally it should NOT be neces sary to run the E command prior to running the L command The X command causes a hardware reset to be performed which in turn starts up the PLC execution engine if one has been previously loaded into non volatile memory via the L command IMPORTANT NOTE Some PLC models such
24. 5 Q6 COM3 DeviceNet Network Wiring SHIELD O CAN L e i CAN L CAN_H O CAN_H ee DEVICENET V O y NODES Note The DeviceNet Micro does not use V it is internally generated For complete DeviceNet wiring instructions including wire selection and termination see the appropriate DeviceNet documentation
25. ARROW gt will allow editing the previous value typing any other character will delet th previous value and start entering a new value for the field Power flow monitoring Reverse video is used for objects in the active state for easier viewing lt PAGE UP gt and lt PAGE DOWN gt now move between rungs lt END gt and lt HOME gt change the function toolbar Fixed an error where using the mouse to select CANCEL if the cursor was on OK did not cancel Fixed changing field size when enteri WHAT S NEW IN HI EPLC V ERSION 2 40 Added counter ladder logic element fu Added S1 to S16 internal input contac states of the 16 timer counters Modified timer reset function to for delay and clear time accumulator WHAT S N EW IN HI EPLC V ERSION 2 507 PLC INFO now supports serial and ISA Support for switchable hexadecimal or ng network information nction ts which represent the ON OFF ce output OFF ON if OFF gateway units decimal entry and display of node IDs Toggling is accomplished by pressing CTRL H or using the mouse to click on the HEX DEC indicator at the lower left corner of the edit window The HEX or DEC mode is saved in the HEPLC INI file every time it is changed The mode will remain unchanged between diting sessions The following major areas now support hexadecimal display and or entry of
26. CII script file named PLC_LIST TXT must be created using an ASCII text editor such as MS DOS EDIT type EDIT PLC_LIST TXT at the DOS prompt The PLC_LIST TXT file should contain one line of ASCII text for each download to be performed Each line starts with a PLC Network ID 1 to 253 followed by spaces or tabs and then the name of the file up to 8 characters with no extension PLC is assumed containing the ladder program to be downloaded to the specified PLC and finally a carriage return The following is an example of the required format 1 MERGE 2 DIVERT 5 FILE 3 47 FILE 47 34 MERGE 32 FILE 32 After the PLC_LIST TXT file has been created a script download can be started by selecting RUN SCRIPT from the FILE menu When script processing is complete an ASCII text file named PLC_LIST LOG is created or appended which contains the results of the script download This file can be viewed with a text editor or by typing TYPE PLC_LIST LOG MORE at the DOS prompt If a file could not be loaded or downloaded an error message will be placed in the log file When a file is successfully loaded and downloaded the time and date of the download will be listed in the log file Return to DOS 10 MAIN MENU cont d EDIT Sub Menu UNDO DELETE Undo last inserted deleted object CTRL
27. E UP gt returns to the original I O Names screen E Used to view change PLC node and QG assigned to each Global Input Also used to view change Target PLC assigned to current ladder program Local PLC s Network ID The Local PLC is the one whose RS232 or RS485 programming port is connected to the PC s COM port Note that some HE200 PLC models have rotary switches which set their Network IDs and therefore don t support the SET LOCAL PLC option Views changes Network ID of Target PLC The Target PLC is the one which may be commun icated with by HEPLC for ladder program downloading monitoring and executing The Target PLC may be the Local PLC or another PLC accessed via the HE200 Network through the Local PLC or through an HE200 Network gateway 12 MAIN MENU cont d TOOLS Sub Menu cont d SEARCH NETWORK FORCE I O CONDITIONING MAIN MENU OUTPUTS cont d TOOLS Sub Menu Scans HE200 state of Network and displays current all connected PLC nodes Scanning a network with few connected nodes may take as long as two minutes Pressing the ESC key will halt the scanning Pressing the S key after a scan will rescan all nodes The dis play shows nodes 1 to 253 with a status to the right as follows XXX Represents a node number from 1 to 253 xxx Node xxx doesn t exist or is not com municating T x
28. HE200 PLC Ladder Editor User s Manual May 14 1997 DISCLAIMER This document or media contains preliminary information and is subject to change without notice While every effort has been made to ensure accuracy Horner APG LLC assumes no responsibility for errors or omissions COPYRIGHT NOTICI Gl The information contained in this document or media is copyrighted material owned by Horner APG LLC and may not be reproduced in full or in part without the express written consent of Horner APG LLC All software described in this document or media is also copyrighted material subject to the terms and conditions of the Horner Software License Agreement Copyright 1997 Horner APG LLC All rights reserved TRADEMARKS IBM IBM PC and IBM AT are trademarks of International Business Machines Corporation MS DOS is a trademark of Microsoft Corporation EDITION Thirteenth Edition January 1997 HEPLC Version 2 80 MANO010 13 TABLE OF CONTENTS PME LOGUGE LOMA a E belie gS Bate Bens A A Wl Rese Sues a Seige 1 Hardware Requirements minere sa Grae el Seed te tii de 1 HE200 PEC OVS VIEW uc etetech SDs elses ovis les Ethan eee Ee eae Bia hd tas 1 Ladder Logica FUNGCE LONE 2 a DS Set nes ek aS Sr iw WRG Pe ie hee eee 4 Normally Open sSwheGhs dt IN ead etal amp See we Bee 4 Normally Closed SWItChy whe siete chore ele
29. RS COUNTER Number 3 UP Counter Possible types are UP Counter CNT Reset 4 Delay before ON User enters counter Num Counts 12 ber Reset condition and Counts value Max Counts OK CANCEL value is 32767 ERROR MESSAGES LIMITS AND RESTRICTIONS ERROR WINDOW Every time an error occurs whether it is a user error or a system error an error message will be displayed in RED for 5 seconds in the top middle of the screen anda EEP is generated unless disabled via the s command line switch by the PC speaker The user hould pay close attention to this window BRANCH LIMIT Vertical branches may be placed up to 8 levels deep per rung RUNG LIMIT There is a rung limit of 128 rungs Note that only 72 rungs are possible more than RUNG OUTPUT TIMERS once 17 There must be one and only You may not OR around a timer or counter without using an output one output per rung A timer COUNTERS or counter may not be the leftmost object ona rung The maximum number of timer and or counter objects is 16 Each timer and or counter MUST be assigned a unique number from 1 to 16 BRANCH E un All branches must be closed before placing an output BRANCHING To open a branch press F4 to select start branch then place the cursor at point you want the branch to b opened then press enter or click the left m c ouse button Similarly to close a branch hoose close
30. Space to change the Normally Closed Open field mad th Typ field unavailable unless TABed around to again Fixed a problem which caused a Verify to b xecuted when Cancel was selected from Download Many additional minor fixes Modified Functions When inserting IG no longer appears as separate object type IGs are now inserted just like any other Normally Open or Closed contact All displays and printouts which convey information about a timer or counter are now labeled with the timer or counter s S contact value The label will appear as Sxx where xx is the timer or counter number Arrow keys may now be used to select OK for file over write WHAT S NEW IN HEPLC VERSION 2 65 Find now supports S objects 37 Find using S objects will now locate S contacts or their associated timers or counters If the find is selected for INPUTS OUTPUTS find will locate the next contact or timer counter object fitting the supplied description TE OUTPUTS ONLY is selected find will locate the first timer or counter object since only timers or counters can provide outputs for S objects Minor problem involving deleting objects or rungs was corrected Now when a ladder file is modified from the original uploaded or loaded version the word MODIFIED is placed in the bottom right portion of the edit window When a file is loaded uploaded or saved the word UNMODIFIED is placed in t
31. X INSE CTRL 1 PASTE RUNG CTRL V COPY RUNG z CTRL C FIND CTRL F Deletes th current rung and moves up one rung Deleted rung is stored for later pasting into other places ladder rungs in a buffer Inserts a blank rung before th ladder program is not full later rungs down one rung Gurr Moves nt rung if current and Places a previously deleted or copied rung from the paste buffer onto an unused rung A rung may be pasted multiple times Copies the current rung into the without modifying the current rung paste buffer in the object Finds the first occurrence gram of a user selectabl ladder pro After selecting FIND enter the TYPE and NUMBER of the object to search for To search for timers enter S for TYPE followed by the timer NUMBER and limit to OUTPUTS ONLY By default FIND will search for objects used as either inputs or outputs Pressing lt SPACE gt will limit the search to outputs only Pressing lt SPACE gt again will toggle back to inputs or outputs If an object can t be found an error message is displayed FIND NEXT CTRL N MODE Sub Menu IDLE MONITOR RUN Finds the next occurrence of the object viously selected via the FIND option pre Ladder logic stops running Temporarily enters this mode when downloading ladder logic programs from the PC to the PLC Outputs Q1 throug
32. aiting for a response from the PLC Checksum Errors shows the number of packets received with errors in the checksum field Data Errors shows the number of packets where the data received does not fit the expected values shift F2 Target PLC Self Diagnostics Start up tests shows if the PLC passed or failed the power up test Watch dog reset shows the number of times the PLC was reset by its watch dog timer normally 0 CAN bus off shows number of times the PLC s HE200 Network interface was reset due to a network error normally 0 CPU stack left shows the number of extra bytes available for CPU stack operations normally greater than 0 Logic stack left shows the number of extra bytes available for PLC logic stack operations normally greater than 0 WHAT S NEW IN HEPLC VERSION 2 30 Online Help Pressing lt F1 gt or clicking on the HELP function brings up context sensitive online help Diagnostics New TOOLS menu option which will display the target PLC s power on self test results 33 Upload Ladder programs can now be uploaded from any PLC on the HE200 Network to the PC for editing or monitoring Loading Files When loading files the mouse can now be used to select the file to be loaded A single mouse click while the cursor is on the file name will load th selected file Also the number of listed files has been expanded to 30 Load
33. am can be saved by choosing SAVE under FILE in the MAIN ENU and similarly the program can be reloaded by choosing LOAD E DITING THE LADDER PROGRAM After a rung is complete ladder objects within the rung may be viewed modified inserted or deleted by using the Object Modification Menu 19 Ifa Finally the other ing APP END XA ladder object is inserted or UNDO command under EDIT in the MAIN M and copying of complete rungs The HE200 Network BACKGROUND ON THE HE200 NETWORK The HE200 Network is based on CAN is widely used for automotive and more recently industrial control applications differential pair o in HE200 worked with repeaters HI E200CGM For the ladder prog procedures is needed the following info does not use maste arbitrates numbers a When the network PLCs start causes the In applications wit PLC controllers no additional ha 100 rammer to be idle talking at PLC with the g affecting the other PLC s n a rmation can r slave based on Network re given higher priority th ID Controller Area Network little however for tro or token currently de EDIT commands allow deleting leted by mistake s ENU Data is passed at 125 000 f wires plus a ground allows up to rdware and up k P nowledge passing LCs of the Becaus th inser
34. branch by pressing F5 place the ursor at the branch that is to be closed and press lt Enter gt or click the left mouse button To delete a branch bring up the Object Modification Menu making sure that the purple arrow is pointing to the branch in question and then choose DELETE Gl MOUSE To disable the mous ntirely and use the keyboard by itself invoke the program using HEPLC k CURSOR KEYS If the software does not detect a mouse it allows use of the arrow keys to move the cursor UTORIAL This tutorial shows how to create the simple ladder program shown below using the just the keyboard The program should be invoked using HEPLC k to disable the mouse STOP START SEN_1 MOTOR NI of Jl 0 TOL I02 103 Q01 I I MOTOR LSW_1 Q01 I04 The following are descriptions of some of the keys used lt tab gt TAB key lt F gt Function key F2 F10 lt up gt Up arrow cursor key lt right gt Right arrow cursor key lt down gt Down arrow cursor key lt cr gt Enter key NOTE Mouse users may click the left mouse button at appro priate screen locations to emulate the TAB F2 F10 and arrow keys CREATING THE LADDER PROGRAM 18 STOP Switch Input lt F3 gt lt cr gt I lt tab gt 1 lt tab gt STOP lt tab gt lt cr gt lt down gt lt down gt
35. cking of the Local PLC number displayed in the upper left corner of the screen will allow the user to change the number of the local PLC node Setting Target PLC Node Clicking on the Target PLC number displayed in the upper left corner of the screen will allow the user to change the number of the target PLC node Object Selection Changing rungs no longer changes the selected ladder object For example if you select the open branch object 34 changing rungs will leave open branch selected Input Objects Previously lt F1 gt was used to toggle between normally open and closed inputs Because of the addition of on line help lt SPACE gt has been assigned to toggle the normally open or closed option Global Input Objects The separate function has been eliminated IGs can now be entered by selecting a normally open or closed input Sound on off The default was changed to produce sound on error Sound may be disabled by starting Ladder Editor with the s option Changed startup routine to prevent dead time while the software tries to establish communication when no PLC is connected Menu Items Now menu items change to caps when selected This should make operation on a monochrome monitor or laptop screen much easier PLC Info Additional information has been added to the PLC INFO option under the CONFIG menu option Also changed the PLC Info display format for easier viewing Insert
36. d by left riptive comme clicking the comment on the lower right side of the edit window Displays software version number and other status information regarding the HE200 PLC Ladder Editor Programming Software HEPLC LADDER LOGIC PROGRAMS 14 USING THE KEYBOARD ESC ALT CTRL H Home End U D PgUp PgDn Ctrl PgUp Ctrl PgDn Cursors F1 F10 TAB Enter Ctrl t e Ceri tid Ctrl Ctrl h Ctrl fd Ctrl Cum En Ceri Pp CEEL ASA Goes back 1 level from any menu If pressed repeat edly offers the option to exit to DOS Brings up the MAIN MENU only when there are no other menus present on the screen Toggles node ID display and entry format HEX DEC Scrolls up the available ladder object functions Scrolls down the available ladder object functions Scrolls up the branches within a rung Scrolls down the branches within a rung Scrolls up one rung Scrolls down one rung Scrolls up ten rungs if possible Scrolls down ten rungs if possible Arrow keys move around on the screen when editing lad der programs if HEPLC is started with the k option F1 for online help F2 F10 to select desired function to be placed in the ladder program Move from one field to another in dialog boxes which require user input Fill in identification fields to be placed in the ladde
37. de Address should match the value pre ered via the F3 function key IOS MENU As the menu shows the BIOS supports 10 commands which may be se lected by the operator The BIOS commands fall into the following three categories CATEGORY COMMANDS Utility P W Hardware Testing Ry WS My E PLC Engine Maintenance L V E X 26 UTILITY COMMANDS P or W is pressed on the keyboard to repaint the BIOS menu using ANSI PC or WYSE WY 30 screen control codes respectively Note that if a WYSE terminal is used instead of a PC all menu items except L and V are available HARDWARE TESTING In addition to hardware testing the R S and M command may be used as HE200 Network debug tools during ladder program develop ment Also the R S and M commands may not be used remotely In other words they are available only when a HE200CGM302 301 s BIOS menu or a direct connected PLC s BIOS menu is active HARDWARE TESTING cont d The R command displays network messages received from other PLCs until ESC is pressed If the optional node address is entered only messages sent by that node will be received To receive all messages just press enter when prompted for node address Received messages are displayed in the following format Node address nnn Message type t Data lo hi Where nnn is the sender s node address 0 to 253 decimal and t is message type S R H or N For type S messag
38. e R S and M command may be used as HE200 Network debug tools during ladder program develop ment The R command displays network messages received from other PLCs until ESC is pressed If the optional node address is entered only messages sent by that node will be received To receive all messages just press enter when prompted for node address Received messages are displayed in the following format Node address nnn Message type t Data lo hi Where nnn is the sender s node address 0 to 253 decimal and t is message type S R H or N For type S messages lo is the low global data byte QG1 to QG8 and hi is the high global data byte QG9 to QG16 Global data is displayed in hexadecimal The S command sends a network message to other PLCs The user is prompted for the node address message typ S or R low global data byte QG1 to QG8 and high global data byte QG9 to QG16 The M command continuously sends the last message sent via the S command until the user presses ESC The user is prompted for an inter message delay value from 0 to 9999 in units of 750 nS The T command continuously copies all 8 physical inputs to all 8 physical outputs until the user presses ESC PLC ENGINE MAINTENANCE 23 When a new version of the PLC execution engine becomes available it may be downloaded into the controller board s non volatile memory chip via the L menu selection along with the F
39. ed ds TAB over to The following the appropriate field are field descriptions The user must fill in all is optional in all cases time the software updates present in th ntire ladd To correct any of the fiel and enter the new values for some functions INPUTS Possible types are Physical Input I Physical Output 0 Internal Output T Timer State S Global Input IG Global Output QG User enters Type Number and optionally Name OUTPUTS H INPUT Normally Open Type i Ty O Mp 5 TG oF OG Number 3 Name Switch_3 OK CANCEL lt SPACE gt Toggles OPEN CLOSED OUTPUT 16 Possible types are Physical Output 0 Number Q1 Name Motor_CW Internal Output T Global Output QG User enters Number and OK CANCEL optionally Name TIMERS TIMER Number 3 Resolution 100ms Possible types are ON Delay TMR Reset 4 Delay before ON OFF Delay TMR Time 12 seconds User enters timer Number Reset condition and Time OK CANCEL in seconds Up to 2 q cimal places may be entered for Time value 0 or 1 decimal places selects 100mS timer onds Typing 2 decimal pla resolution with a maximum delay of 3200 9 sec ces selects 10mS resolution with a maxi mum delay of 320 99 seconds IDENTIFICATION FIELDS cont d COUNTE
40. es lo is the low global data byte QG1 to 0G8 and hi is the high global data byte QG9 to QG16 Global data is displayed in hexadecimal The S command sends a network message to other PLCs The user is prompted for the node address message typ S or R low global data byte 0Gl to QG8 and high global data byte QG9 to QG16 The M command continuously sends the last message sent via the S command until the user presses ESC The user is prompted for an inter message delay value from 0 to 9999 in units of 750 nS The T command continuously copies all 8 physical inputs to all 8 physical outputs until the user presses ESC Note that this com mand is only available on PLC BIOS menus as HE200CGM301 302 Gate ways have no physical I O to test PLC ENGINE MAINTENANCE When a new version of the PLC or Gateway execution engine becomes available it may be downloaded into the PLC or Gateway s non volatile memory chip via the L menu selection along with the F2 download function of the HEBIOS EXE program When the L command is selected the following message will be 27 displayed Loading new software At this point press the F2 function key and enter the proper filename to start the download PLC ENGINE MAINTENANCE cont d Th filename to enter depends on the model number of the PLC or Gateway being updated and th new ngine s version number as f
41. h 08 may be forced ON or OFF in this mode Ladder logic runs with power flow and timer monitoring enabled Red object in the OFF state and Green object in the ON state When in the Monitor mode the pull down menu for MOD contains a check next to Monitor E Ladder logic runs flow disabled with power monitoring 11 MAIN MENU cont d CONFIG Sub Menu PC PORT PLC INFO E n I O NAMI NET ASSIGNMENTS TOOLS Sub Menu SET LOCAL PLC SET TARGET PLC Views changes Choose the PC serial port COM1 internal gateway HE200CGM302 channel for com munication with PLCs This choice overrides any command line option concerning the PC port or COM2 or PC Displays the Target PLC s Model Name Ladder Execution Engine Firmware Revision Mode PLC Scan Rate I O Conditioning Settings Ladder Memory Used and Self Test Result Displays UNUSED I O as Gray as Yellow if ON or Red if becomes disconnected the display remains unchanged except that an error is displayed until the connection is re established Displays USED 1 0 OFF TE Target PLC Internal coils Tl T48 will be denoted with an upper case T if the coil is used as an output anda lower case t if it is only used as an input or as a timer reset T lt PAGE DOWN gt shows the usage state count and set point of all counters and timers lt PAG
42. h will be placed to the left of this selected object If this branch path would cause an error because of a timer output or another branch the program will alert you to the error 4 Now two blinking branches should appear in the approximate places where the branch will be formed You will be prompted for an initial object to be placed in the branch Note This can not be a timer or an additional branch 5 After filling the information fields for the inserted object 32 the rung will be rebuilt with the inserted branch Additional objects may be inserted after the initial branch is built Any time during the insert branch process the escape key will abort the insert process If the insert is complete and the branch is not wanted the undo options will restore the rung to its previous state WHAT S NEW IN HEPLC VERSION 2 20 cont d Error beep The beeps from an error now only occur command line switch s is used This allows new users if the to be notified with a beep when an error or event has occurred but the xperienced user can work without audible interruption Diagnostics Certain diagnostic information can be obtained by pressing Shift F1 or Shift F2 as follows Shift Fl Host to PLC Communication Diagnostics Packets Transmitted shows total number of packets sent to the PLC Timeout Errors shows the number of times HEPLC gave up while w
43. he lower right corner until it is modified If quit is selected anda modified file is still in memory the dialog box will indicate the modified file has not been saved WHAT S NEW IN HEPLC VERSION 2 70 Added key assignments for saving loading printing and downloading Ctrl 7s save current ladder program Corl l load new ladder program ctrl d download the current ladder program CETL asp print the current ladder program Added the key assignments to the menus for all file and edit functions supported by key assignments Added support for multiple printer ports The print dialog box now contains an option for printer port This number specifies the LPT port used to print the ladder program 1 This option is saved in heplc ini file so the option is remembered between sessions The load dialog now allows viewing of all PLC files in the current directory PAGE DOWN and PAGE UP now can scroll through the list of available ladder programs The mouse can also be used for paging through the list of filenames by clicking the left mouse button on the lt PAGE UP gt or lt PAGE DOWN gt text at the bottom of the dialog box When starting HEPLC EXE the name of a ladder program can be passed to the editor to start the editor with the supplied file loaded For example heplc demo plc will start the editor with the ladder program demo plc loaded
44. his filename is the default when loading and saving files When printing files in the LoQ or HiQ format the filename now appears with the page time and date stamp If no filename is assigned to the current program the editing screen displays the filename as UNNAMED The printout of a UNNAMED file will contain the time date and page stamp but no filename Delete completed New coding prevents corruption for all cases Allows deleting of first and last object with error checking for timers and outputs that require a specific context Modify completed Allows user to modify the properties defined for the object Upon selecting modify a set of data fields is displayed with the known fields filled Editing fields redesigned so a valid character starts the replacement of the current field with the entered characters Menu operations the main menu and any of the sub menus may be closed by clicking the left mouse button on any portion of the screen that does not contain an active menu item Along with this change some minor menu handling bugs were fixed that caused first menu items to be selected when the mouse was clicked in an inactive menu area Function scrolling when selecting Page Up or Page Down for selecting the function set the functions wrap around Communications timing improved timing for many communications functions to reduce errors and increase speed 29
45. ntire network of PLCs WHAT S NEW IN HEPLC VERSION 2 20 Ladder display Output objects now display properly Previously a double image would appear when in monitor mode Global object display errors were also corrected Downloading Corrected rror caused by downloading an empty ladder program Deleting Branches An error occurring when trying to delete three possible arrangements of branches was fixed IG objects May now be normally open or normally closed This is selected when ntering or modifying an IG object Pressing the lt F1 gt key will toggle between the normally open or closed state Note A normally closed IG will appear as a normally closed object not a global object Object Modification Menu Any input object may now be changed to an I Q T IG or 0G and may be specified as normally open or closed Insert Branch A branch can now be inserted by 1 Select th object to start the branch The branch will open at the left of this objec If the object is an open branch or will be an extension to an existing open branch HEPLC will automatically find the best way to add the open branch ct ct selected a starting point that would OR around a timer or would be out of syntax with another branch the program will alert you with an error 2 Select branch from the list of objects to add If you have 3 Select the object where the branch should end The close branc
46. ocks represents the internal state of the block and can be used as a referenced as a normally open or closed contact for control START ING THE HEPLC E DITOR The execu HEPLC promp H HEPLC switc Switc E HE200 PLC adder Editor is contained in the HEPLC EXE DOS tabl file The software is easy to learn and can be op erated by using just the keyboard or by a combination of the key board and a Microsoft compatible mouse may be starte d by typing the following at the DOS command PC s COM1 port to communicate with PLCs detects mouse displays progress messages and auto verifies during downloads and beeps on error tarted using one or more optional command line Uses PC s COM2 port to communicate with the PLC Forces keyboard only mode Speeds downloading by not pausing for messages Turns off auto verify after downloads Turns off error sounds t EPLC Uses auto may also be s hes as follows EPLC 2 EPLC k EPLC f EPLC v 7 EPLC s 3 HEPLC file plc Loads the file file plc at startup hes must be in EPIC 2 k Uses and lower case and may be combined for example PC s COM2 port to communicate with the PLC forces keyboard only mode NOTE When using port than mouse is connected to is connected to COM2 mouse use the k ENUS a serial mouse the one used to communicate
47. ollows Model Filename HE200CGM301 CGM302 ver HE200CGM302 CGM302 ver HE200PLC044 PLCO88 ver HE200PLC084 PLCO84 ver Note that ver is the 3 digit HE200PLC088 PLCO88 ver version number of the engine HE200PLC188 PLC188 ver being installed HE200PLC288 PLC188 ver HE200UCN014 UCNX14 ver HE200UCN114 UCNX14 ver During download an automatic verify is performed and if all goes well the display should read Loading new software Done The V command is used in the exact same manner as L except that instead of downloading a new execution engine it simply compares th specified file with th ngine currently residing in the con troller s non volatile memory The E command erases th ntire non volatile memory chip This command will b rarely used Normally it should NOT be neces sary to run the E command prior to running the L command The X command exits the BIOS menu and starts up the PLC or Gateway execution engine if one has been previously loaded into non volatile memory via the L command IMPORTANT NOTES Since HEBIOS EXE was designed specifically for HE200 PLCs and Gateways it is no longer necessary to download the UNLOCK HEX file befor ngin updating This function is now handled automatically Because of the communications overhead required for engine down loading the L and V commands may fail when attempting
48. or th to the Gateway s CAN port A or B Note that port B is n the HI progra 25 e BIOS menu of any node attached E200CGM301 m by typing the following at the whe of wor A por If val re port is an optional parameter indicating what type connection was used to attach the PC to the HE200 Net k port value of 1 or 2 assumes that the PC s COM1 or COM2 t is attached an HE200CGM301 or HE200CGM302 is being used the port ue should be the Gateway s dual port RAM segment ad dress as determined by its DIP switch setting factory def ault port values are D000 for CAN port A and D040 for CAN port B If 3 Pre of 4 Pre 5 The the port parameter is omitted HEBIOS EXE assumes COM1 ss F3 and type in the Target Node address in decimal the PLC or Gateway whose BIOS you want to activate ss Fl to start the Target Node s BIOS menu BIOS menu should now be displayed on the PC THE BIOS MENU When a PLC or Gateway s BIOS menu is activated the following is displayed HE200xxxxxx BIOS Menu V 3 00 Show menu on PC Receive messages Show menu on WY 30 Send messag Verify software Test I O points R S Load new software M Multiple transmit T X Erase Flash EPROM Exit BIOS menu Note that t viously ent USING THE B Node Address hh Hex ddd Dec he displayed No
49. r program Place function selected by function keys into the ladder program Copy current rung to paste buffer Download the current ladder program Find object in ladder program Toggle HEX DEC node display Insert a blank rung Load a new ladder program Find next object after current rung Print the current ladder program Rung Comment edit and view 15 CECL Save th Ctrl vV Ctrl x USING THE MOUSE current ladder program Paste rung onto current empty rung Cuts current rung to paste buffer RIGHT BUTTON Used to bring up the Main Menu only when there are no other menus present on the screen LEFT BUTTON Used for scrolling by clicking the appropriate arrows on the screen Replaces U D PgUp PgDn Home and End keys EFT BUTTON Used to select desired function by clicking on it Replaces Fl through F10 keys EFT BUTTON Replaces th lt Enter gt key except in the IDENTIFICATION FIELDS IDENTIFICATION FIELDS When a function is placed in the ladder logic program a dialog box pops up which allows the user to fill in the identification fields These fields are used by the PC and the PLCs to identify each function th fields except the Name field which If a Name is entered or changed at any that Nam verywhere that function is r program when the screen is updat
50. rt an object to the left of selected object DELETE Delete a component and automatically re route all the branches correctly MAIN MENU There are 5 commands under CONFIG and TOOLS the Each of these commands brings MOD im Dy Main Menu FILE Up EDIT a sub menu as described on the following pages MAIN MENU cont d FILE Sub Menu N EX W SAVE LOAD LOA NAM AU DOWNLOAD UPLOAD VERIFY PRINT Starts a new ladder program Saves complete or incomplete ladder program to the current working directory Loads a previously saved complete or incomplete ladder program from the current working directory Loads just the user I O Names from a saved ladder program file This allows adding names to an uploaded program or allows a standard set of names to be copied from a saved program Downloads PC s current ladder program to the Tar get PLC unless one or more rungs are incomplete The PLC is put in IDLE mode while downloading and is returned to the previous mode after a success ful download If the download is not successful the PLC is left in IDLE mode Uploads ladder program from the Target PLC to the PC for editing or monitoring Uploaded programs contain all information except the user I O Names The I O names can be loaded separately from a saved file via the LOAD NAMES option Compares PC s
51. ting lect th past which bits per second using a The CAN implementation 64 controllers to be net to 253 with three CAN networking uble shooting and optimizing be helpful network the with lower E large results may be that have more cri by assigning higher produce broadcast to the o achieved by tical Netwo many network updates polizing the bus time rk I Each PLC has 16 global output ther PLCs on sam number assigning lower network data Ds to bits the network used in ladder logic like any coil All of its may ly can 16 global data fo expire as ERA data between a Tool such as controller t H ne Refer to the CAN Message them changes state part of its power up explicitly request a PLC to b addition to global data PLC on the networ EPLC Lad P these Pl global outputs are broadcast to N of ne Network IDs than other PLCs LCs that are QGs QG1 the network each us self arbitration umber to stop tworked PLCs hardware self Network ID a PLC needs to send data over the network it first waits for a maximum of 400 time reater Network ID n started message If two without better to PLCs Similarly expected to LCs are prevented from mono which are periodically to QG16 may be time one if a PLC has not transmitted In addition
52. to update an engine via the CAN network if the network has other traffic on itx For this reason the F5 function key may be used to put all PLCs in IDLE mode Then when engine maintenance is complete use the F5 function key again to put all PLCs in MONITOR or RUN mode 28 While a BIOS menu is active the F3 F5 and F10 function keys are disabled You must exit the active BIOS menu by typing X before setting a new Target Node globally controlling PLCs or quitting WHAT S NEW IN HEPLC VERSION 1 8 Network Added TOOLS menu item to attach to Target PLCs via the HE200 Network Added TOOLS menu item to change Local PLC s Network ID Added status display for Local PLC Target PLC and Target PLC s state on main screen Can now download and monitor remote PLCs via the HE200 Network Power Monitoring when in the Monitor mode the PC constantly re quests and displays the status of objects on the currently dis played rung Red object in the OFF state and Green object in the ON state When in Monitor mode the pull down menu for MODE contains a check next to Monitor Downloading Changed order and display so PC automatically attaches to Target PLC before download File loading PC attempts to automatically attach to the files Target PLC during file loading Filenam The currently loaded file s name now appears along side the current rung number on the editing screen T
53. use switch be on a different COM with PLCs If the os If the mouse To totally disable the it must COM1 use HEPLC HEPLC There are 2 menus the OBJECT MODIFICATION MENU and the MAIN MENU that are used for editing and debugging ladder programs When the Object Modification appears correct object befor proc The MAIN MENU can be invoked right mouse button and the invoked by placing the cursor Menu The user should make sure this arrow is pointing to the ding with any modification is invoked a purple arrow by pressing the lt Alt gt key or the OBJECT MODIFICATION MENU can be on the object to be modified and pressing lt Enter gt or the left mouse button Bot h of these menus are described in detail below OBJECT MODIFICATION MENU There are 4 commands in the Object Modification Menu VIEW MODIFY INSERT and DELETE VIEW DISPLAYS EXAMPLES Type of Function Ty Qu oT S30 EG OG Name of Function Lim_SW_1 Number of Function 1 to 48 Node 1 to 253 IG only QG 1 to 16 IG only Status of Function Normal Shorted Opened State of Function ON or OFF If the PC gets disconnected from the HE200 PLC then the STATE of the function will turn to and an error will be displayed until the connection is re established MODIFY Display and modify properties of an existing object INSERT Inse
54. xx jg Identified IG1 through IG16 This function is entered and acts like a normally open or closed switch but receives its ON OFF state from another PLC node via the HE200 Network Each Global Input is assigned to another PLC s Global Output These assignments are user defined in a table accessed by the NI ASSIGNMENTS option under CONFIG in the MAIN MENU When selected the NET ASSIGNMENTS command displays the following E Network Assignments lt gt or lt gt offset uses relative node addressing Default Target PLC XXX INPUT NODE QG INPUT NODE QG IG1 yyy ZZ IG9 XXX ZZ IG2 yyy ZZ IG10 yyy ZZ IG8 yyy ZZ IG16 yyy ZZ Press lt ESC gt to continue Where XXX Current ladder program s default Target PLC Network ID for downloading purposes yyy The scanner uses node 64 as a default The global outputs can change but 64 is the preferred nod default ZZ QG number from 1 to 16 LADDER LOGIC FUNCTIONS cont d Global Input Example Entry in Node 20 s Network Assignment Table INPUT NODE QG IGI 10 12 Rung in Node 20 s Ladder logic 10 12 SW_Ol MOT_1 lgl Ie al IG01 103 Q01 This rung of ladder code will turn Node 20 s Motor 1 ON if Node 20 s I3 is ON and Node 10 s QG12 is ON Global Output QGXX g Identified QG01 through QG16 This function behaves like an internal output but is avail able to other HE200 PLCs
55. xx I Node xxx is in IDLE mode and is com municating MONITOR mode is xxx M Node xxx is in and communicating xxx R Node xxx is in RUN mode and is commu nicating xxx E Node xxx failed its power on self test this to Q1 to PLC s MODE force or OFF Use outputs only manually 08 ON Target IDLE HE200 later help with PLC engine firmware version 1 90 and supports two adjustable parameters to when the PLC is used in an environment xcessiv lectrical noise The first setting Input filtering sets the number of PLC scans a physical input 11 to 18 must remain stable before a state change is accepted A setting of 0 turns this feature off which is the default The second setting Max sets the maximum time a PLC will wait be fore sending its global data QG1 to QG16 and is in multiples of 100 mS A setting of O turns this feature off which is the default network update cont d 13 DISPLAY FILTER Powerful debugging option which allows a pro grammer to view or print only those rungs that can affect a chosen output For example if Ql is not behaving as expected the programmer could enter Q1 as the output to use to filter the display Now when viewing or printing the rungs only rungs that could possibly change the output Q1 are displayed DIAGNOSTICS EDIT D ESCRIPTION RUNG COMMENT ABOUT
Download Pdf Manuals
Related Search
Related Contents
2000002658 - Rechargeable 12V LED Spotlight /opt/pics/Contents/2005/03/30/2005033000020346O 使用済携帯電話等からのレアメタルリサイクルに関する調査 Homework 1 User`s Manual PSSU/A–2型 - テープスイッチジャパン Manuel d`utilisation Capteur d`inclinaison 2 axes 図面 - 笛吹市 Sony Ericsson W810i (White) Manual Copyright © All rights reserved.
Failed to retrieve file