Home
1 - Onlinecomponents.com
Contents
1. 2 3 2 2 Starting 2 4 2 2 1 Run Connection 2 4 2 2 2 Create a New 2 5 2 2 3 Open Last 2 6 2 2 4 Open Existing 1 2 6 2 2 5 P Y 2 6 2 3 Configuring 2 7 2 3 1 2 7 2 3 2 Expansion Module 1 3 2 10 2 3 3 Operator 2 11 2 3 4 COM 2 12 2 4 ee a na 2 13 2 4 1 Physical Connection 2 14 2 4 2 Connecting nanoNavigator to the nanoLC 2 14 PHOENIX CONTACT 2 1 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator 2 2 PHOENIX CONTACT 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Getting Started 2 Getting Started This section provides help getting started with nanoNavigator software and nanoLine controller
2. 4 12 3 3 3 4 4 4 4 5 8 21 4 4 Main toolbar u 3 4 4 5 Major version nenne ee 2 13 Memory 6 6 Menu 1 4 3 3 4 4 Message 3 22 3 25 8 5 Message 44 22222 4 25 Message Editor 3 31 4 28 Creating messages 3 32 4 29 NEE dpa CoA EE A 2 UTE vA ess Uc a 2 13 Modbus P 2 12 Monitor mode eee 7 3 7 4 Monitor 2 2 nennen 7 4 Blocks Tab RT 7 6 7 4 FORCES T8D nee 7 6 7 7 System Flags 7 7 Move block 14 3 22 3 26 8 5 4 27 Move function unseren 5 13 Moving different data types 5 14 Moving same data types 5 14 SUMMAI een 5 15 Multiple selection
3. 3 11 2373 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS N H nanoLC Real time 2 10 CONNEC M 6 4 aie Me ee 5 8 Firmware update 6 10 Retentive data item name values 5 8 6 9 Row 1 4444 3 4 4 4 Password 6 7 RO 2 2 8 PORDO een 6 7 E 2 8 Set date and time 2 222 2 6 8 gig 4 SLO UAC een 6 7 gilla um 4 16 Pes d 6 9 Running 6 7 nanoNavigator Startup 2 4 NLC 50 IO 4 2 11 5 16 5 nLC COM ENET MB1 nenn 2 12 Scaling Analog Data 2 24 44242 5 16 N 2 11 3 4 4 5 Select COM 6 5 Selecting blocks and connections 3 11 Operator Panel essere 2 11 Serial 2 8 Gic rc S 5 8 5 9 Set nanoLC Date amp Time 6 8 eC 8
4. 2 2 20022 4 01 6 9 615 Updating nanoLC 6 10 6 16 Clearing nanoLC Project cesses eere eee nn nennen nnn nnn nnn 6 12 2373 en E PHOENIX CONTACT 6 1 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator 6 2 PHOENIX CONTACT 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Running Projects and Controlling the nanoLC 6 Running Projects and Controlling the nanoLC This chapter shows how to prepare a nanoNavigator project to run it how to transfer a project to or from the nanoL C and how to start and stop execution on the C Note that this discussion involves running a project not just a flow chart or ladder chart Whenever updating a chart or closing a project nanoNavigator ensures that it is error free as far as it can tell without actually executing the project Projects are always ready to download to the connected nanoLC for execution 6 1 Specifying the PC Connection Before transferring a project to or from the nanoLC starting or stopping the project monitoring it or performing any other operations on the nanoL C nanoLC and the PC must be physically connected Follow these steps 1 Verify that there is a physical connection between the nanoLC and the PC For more information on making a physical connection between the nanoLC and a
5. 3 28 3 7 Entering Block Comments eene eene 3 30 3 8 Using the Message 4 422222 4 2 nnne 3 31 4 Ladder Chart 4 3 4 1 Exploring Ladder Chats ee 4 3 4 2 chart 2240 2112 E 4 7 4 3 Displaying Multiple 4 11 4 4 iecit T 4 12 4 5 Ladder Chart Contacts and 00422000 0 4 13 4 6 Using the Message 4 28 gt OP 121 cR 5 3 5 1 Using the Data 2 1 5 3 5 2 Data Type 5 7 5 3 Data Types and Formats 5 10 5 4 Using Timers and 5 11 5 5 Using the Move Function 5 13 5 6 Handling Analog 5 16 5 7 Using Analog UE 5 17 2373 en E PHOENIX CONTACT online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator 6 Running Projects and Controlling the 6 3 6 1 Specifying the PC
6. 1 5 2373 en E PHOENIX CONTACT 1 1 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator 1 2 PHOENIX CONTACT 2373 en E THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Before Beginning 1 Before Beginning 2373 en E Welcome to the nanoNavigator software from Phoenix Contact the software that makes the most of the nanoLine controller nanoLC nanoNavigator is the programming environment for the nanoLC 1 1 About This User s Manual This User Manual provides complete information on how to use nanoNavigator for the nanoLC 1 1 1 Whats Inside This manual includes the following sections Section 1 Before Beginning provides an overview of nanoNavigator and this manual Section 2 Getting Started describes how to install and start nanoNavigator and connect to nanoLC Section 3 Flow Chart Programming describes how to create projects using the flow chart capabilities within nanoNavigator Section 4 Ladder Chart Programming describes how to create projects using the ladder chart capabilities within nanoNavigator Section 5 Data Operations defines the available data types in nanoNavigator and how to move data and use mathematical and relational expressions Section 6 Running Projects and Controlling the nanoL C describes how to run projects Section 7 Verifying a Project provides information on how to monitor and verify running projec
7. A 7 Figure A 6 Preferences Data Editor A 8 Figure A 7 Preferences Debug tab A 9 Figure A 8 The Changes Made dialog box 2 A 10 Appendix B Appendix C Appendix D 2373 en E PHOENIX CONTACT D 5 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator D 6 PHOENIX CONTACT 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS D 2 List of Tables Section 1 Table 1 1 PRE VISIONS ease t 1 3 Table 1 2 Manual Conventions for Keyboard Command 1 5 Section 2 Section 3 Table 3 1 Valid Enable Block 0 3 14 Table 3 2 Valid Comparisons in a Compare Block 3 18 Table 3 3 Valid Comparisons in a Decision Block 3 21 Section 4 Table 4 1 Valid Enable Element 4 15 Table 4 2 Valid Comparisons in a Decision 4 19 Table 4 3 Valid Comparisons in a Compare 4 22 Table 4 4 Valid Comparisons in a Control Coil sees 4 24 Section 5 Ta
8. Set outputs e ON OFF Check for operator _ action Turn off Caution and Error LEDs Clear message and indicators Figure 8 13 Sample diagnostic flow chart 2373 en E PHOENIX CONTACT 8 17 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator The diagnostic flow chart shown in Figure 8 13 illustrates general layout and ideas generally needed in diagnosing faults It doesn t account for the specific needs of all projects Depending on project needs including applicable safety regulations and considerations it s possible to write diagnostic flow charts to look for one or more errors for a given action the example shows checking for three possible errors for any given action Therefore the size and layout of a specific project diagnostic flow chart will vary from this one However the functionality should be very close 8 2 4 Recovery Flow Chart The job of a recovery flow chart is to put all outputs such as a window controls and valves back to a safe position and or state after a fault occurs Wait for recovery _ condition s N b x en blocks check If recovery required to see a state exists 3 output states that requires recovery 9 d WMhnorecovery required gt perform other actions as required PA Figure 8 14 Sample recovery flow chart 8 18 PHOENIX CONTACT 2373 en E onlin
9. 5 17 2373 en E PHOENIX CONTACT 5 1 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator 5 2 PHOENIX CONTACT 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Data Operations 5 Data Operations 2373 en E Edit Data Items Button This chapter discusses how to use variables and constants in nanoNavigator It begins with an overview of the available data item types and includes details on available data operations 5 1 Using the Data Editor Data items are a central part of every project They are the variables that contain project data Data items have IDs that correspond to the IDs on a nanoLC In nanoNavigator data items also have names assigned as part of a project The data item names assigned in nanoNavigator do not download to the nanoLC with the project However whenever nanoNavigator connects to nanoL C nanoNavigator uses the version of the project on the PC to view and verify a running nanoLC project see Running Projects and Controlling the nanoL C on page 6 3 nanoNavigator contains the tools for viewing all parts of the project including the Data Item Editor 5 1 1 Displaying the Data Item Editor To display the Data Item Editor in the nanoNavigator workspace click the Edit Data Items button on the Main toolbar or select the View Data Item Editor menu Once it is open the Data Editor is like any ot
10. 3 32 3 8 3 3 32 3 8 4 Clearing Messages c 3 33 2373 en E PHOENIX CONTACT 3 1 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator 3 2 PHOENIX CONTACT 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Flow Chart Programming 3 Flow Chart Programming 2373 en E When a new project is created the user must choose to create either a flow chart or ladder chart see Section 4 Ladder Chart Programming A flow chart is a type of diagram that uses symbols to illustrate a control process The symbols in the flow chart depict two classes of items action blocks and branching blocks For a detailed discussion of action and branching blocks see Flow Charting Primer on page 8 3 3 1 Exploring Flow Charts When a new flow chart is created nanoNavigator opens the current flow chart maximized in the Flow Chart Editor window PS nanoNavigator nanoLights Flowchart 1 EIER Menus aJ Edit View manolC Window A ES N N N LU x Control Decision Message Move Wait Note Main Enable Toolbar Column Row labels labels Workspace in this case showing a flow chart in the drawing area nanoLC Scrollbars Status Icons ao se the arrow keys or the mouse to extend the line or press ESC to stop drawing the li
11. A TORRE ee 6 7 vllo O S 5 12 Upload from Memory Module 6 6 TOOD Y 3 3 4 4 Upload from nanoLC 6 5 TONS ah re ehe A 2 Project Information cccccssseeeceeeseeeeceeseeesseeeeeesens 6 4 2 IIT SRM 3 3 4 5 Qe H A 2 2373 en E PHOENIX CONTACT D 11 nanoNavigator U 6 5 6 6 Bl T 2 8 W Wait block qM 3 22 3 27 8 6 Watchdog ee 2 12 X hint eL C 5 6 Z ZOOM ING actos 3 6 4 7 D 12 PHOENIX CONTACT online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS 2373 en E
12. nns 7 4 7 2 Value 2 0 nn nnns 7 7 7 3 Using Execution Tracing in 7 8 AES T M 8 3 8 1 Flow Charting Primet aaa 8 3 8 2 Designing a Control 8 7 8 3 POC CP EXC CUNO Mies 8 19 8 4 Creating Projeti u E eNe na 8 21 8 5 Downloading and Verifying the 8 37 A Technical Appendix Setting Preferences A 1 A 1 General AD 1 2 Designer Options 3 Designer NE 5 4 BIOCK 7 5 Data tem Editor 8 E E A 9 A 7 Changes Male ee S A 10 2373 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Table of Contents B Technical Appendix System 0 nennen nennen nn nnns B 1 B 1 Base IS B 1 B2 en er B 1 C Technical Appendix Analog Device 5
13. 4 7 The Import Logic Chart dialog 4 9 The Import Logic Charts dialog box with a project selected 4 10 Vertically tiled ladder chart windows 4 11 Undo and Redo buttons 4 13 roh e P 4 14 The Enable Block dialog box 4 15 New ladder chart with first rung showing default contact ANECO c 4 16 Placing Decision Contacts in different arrangements 4 17 Decision Contact dialog 4 18 Decision Contact symbols 4 18 Ladder Compare Contact dialog box 4 20 Compare Contact symbols eese 4 21 Control Coil dialog box 4 23 Control Coil symbols 4 23 Message Coil dialog box 4 25 Message Coil symbol 24004 000 4 25 Message coil latching logic example 4 26 Move Coil dialog box 2 0000 001 4 27 Move Coil symbol un san ee ae 4 27 Use the Message Editor to define and edit messages c Me Ec 4 28 2373 en E Section 5 Section 6 Section 7 Figure 5
14. C 1 C 1 1 2 No Scaling Applied C 2 C3 Scaling Applied C 2 Tt D 1 D 1 D 1 D2 LISt Ol AA D 7 D3 eus e E E E A E D 9 2373 en E PHOENIX CONTACT iii online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator IV PHOENIX CONTACT 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Section 1 This section provides information about The contents of this manual Manual conventions Contacting Technical Support Before Beginning 1 3 1 1 About This User s 1 3 1 1 1 Whats Inside ii DE Urea new EE Er ei Cas 1 3 1 2 PROVISIONS acs cei PEPPER We dgeu 1 3 1 3 System Requirements 1 4 1 4 Manual 5 1 4 1 4 1 Keyboard enne nnne nnn 1 5 1 4 2 Using a _ 6 7 1 5 1 5 Phoenix Contact Technical Service
15. unit 24V DE power digital inputs 4 transistor outputs 500 2701030 Fault Action Figure 2 3 nanoLC Configuration dialog box The options available in this dialog box define the target nanoL They are discussed in the following sections 2 3 1 Base Unit The Base Unit group selects a specific nanoL C base unit to use as the target for the project From the Base Unit drop down list select the model number of the base unit After selecting the base unit the Configure button becomes available 2373 en E PHOENIX CONTACT 2 7 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator Click the Configure button to display the options available for the selected base unit Configure Base Unit nLC 050 1004 D81 0490 RA 054 Description nanoLine base unit 100 240 power 8 digital inputs 4 AC DC relay outputs Base Option Slots Slot 1 Slot 2 nLC MOD USE w nLCMOD RTC v Settings 23800 1 Stop Bit Locales European Modbus Hadez1 T O2 nec Dapylightz Hone T Zz Fault Fault Fault Fault Figure 2 4 Configure Base Unit dialog box Only options available on the base unit are available in this dialog box For example if the base unit does not support analog inputs the two analog input drop down lists are gray The Configure Base Unit dialog box display
16. see the nanoLC Hardware User Manual The nanoL C Memory Module doesn t require a physical connection between the and the PC so skip step 1 if defining a connection to a nanoLC Memory Module 2 Selectthe File Connection Settings menu to display the Connection Settings dialog box see Figure 6 1 This dialog box permits selection of a COM port for the connection to the nanoLC and permits specification of a serial port for a nanoLC Memory Module Connection Settings Ports Primary Communication Mane we Memon Module Figure 6 1 Connection Settings dialog box 3 Use the Primary Communication drop down list to select from among the available COM ports on the PC Once selected upload or download projects from or to the nanoLC see Downloading a Project on page 6 5 and Uploading a Project from the on page 6 5 If the nanoLC has a USB Base Unit Option module a USB cable connects the nanoLC to the PC The nanoNavigator installation automatically installs a special driver to treat the USB port on the PC as a COM port The USB port appears as a COM port in this drop down list 2373 en E PHOENIX CONTACT 6 3 nanoNavigator 6 4 PHOENIX CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS 4 WithananoLC Memory Module attached to a USB port on the PC and the special USB driver installed select the COM port to use for communication to t
17. 3 27 Force data items 7 6 7 7 8 40 8 43 G Grid Turning on and 3 5 4 6 H High speed counter amp 5 7 Expansion SIOtS 222 2 10 Import charts M 3 8 4 9 Initial data item name values 5 8 e M 5 7 OS 2 12 lg 2 12 K Keyboard 1 5 Keypad rare 5 8 PREV WONG ee ee 1 4 L Ladder CHIN see 4 3 D 10 PHOENIX CONTACT online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Compare 4 19 CONTACTS and ass 4 13 nern 4 23 Decision COBISOL 4 17 4 10 Displaying multiple 4 11 E 4 12 Enable EM 4 14 Message coil 5 sese 4 25 Move 7 4 27 O 4 8 Open 4 8 4 8 HUNGS RF ur 4 16
18. Data Type Output Data Item Left Brake Output Action TurnOff In Expression Item 2 select the following from the drop down lists Data Type Output Data Item Right Brake Output Action Click the OK button Now that all the blocks in the flow chart are defined it s time to connect them to show the direction of flow il Connect flow chart blocks at any time before or after entering expressions in one or more blocks 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Flow Chart Tutorial Connect Flow Chart Blocks In this section connect the blocks to show how control flows from one block to another Follow these steps 1 Hoverthe mouse pointer over the line extending out of the bottom of the Enable block The region around the exit point of the block highlights in a semi circle with its center at the exit line 2 Click anywhere in the highlighted region 3 Movethe mouse pointer down to the top of the Decision block A line extends out of the exit point and grows as the mouse moves 4 Whenthe top of the Decision block highlights click anywhere in the highlighted region to define the end point of the connection 5 From the bottom of the Decision block click the exit region and then click the entry region of the Control block at A2 6 From the bottom of the Control block at A2 click the exit region move the mouse pointer to the en
19. Figure 8 26 The top half of the display flow chart 2373 en E PHOENIX CONTACT 8 35 onlinecomponents com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator 7 Complete the bottom half of the flow chart as shown in Figure 8 27 B D Figure 8 27 The bottom half of the display flow chart 8 36 PHOENIX CONTACT 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Flow Chart Tutorial 8 Connect the flow from the exit of the Message blocks in cell A9 and B9 to the input of the Decision block at cell A2 9 Savethe flow chart with the name Display At this point it is time to begin verifying the project It is good programming practice to verify modules one at a time rather than waiting until all the flow charts in the project are ready In this case verifying could have begun with part of the Display flow chart and either the BrakeControl or LeftTurn flow charts finished For this tutorial however working on both BrakeControl and LeftTurn prior to writing the complete Display flow chart provided more experience with flow charting and the Flow Chart Editor To verify the project in its current state go forward to Downloading and Verifying the Project before returning to Completing the Project Completing the Project As an exercise create RightTurn flow chart and a Hazard flow chart using concepts learned Use the LeftTurn flow chart as an example of what i
20. 2 Click the Type cell and select the data item type desired 3 Enterthe Data Item using one of the following techniques Enterthe data item name in the Data field While typing nanoNavigator attempts to auto complete the name When tabbing to the next field nanoNavigator displays the data item ID associated with the data item name Enter the data item ID DI for example 1 01 When tabbing to the next field nanoNavigator displays the data item name associated with the ID Use the drop down button to display the list of data items that correspond to the selected data item type When selecting an unconfigured Timer Counter a small dialog box displays with a drop down that permits configuration of the Timer Counter as a Counter Duration HMS or Duration mSec 4 Fromthe Action drop down list select the action desired The choices available in the drop down depend on the data item type selected Use the amp button on the right side of the conditional expression line to delete make all fields blank the expression 3 24 PHOENIX CONTACT 5 Repeat steps 2 through 4 as required for additional expressions A block must have at least one expression After entering more than one expression the Move Up and Move Down buttons become available These buttons permit re ordering the expression since the nanoLC executes them in the order they appear in this dialog box
21. Arial 10 pt Bold ee Ga Header Font Color Font Color Column Headers font color Column Headers Back Color Cancel Figure A 6 Preferences Data Item Editor tab This tab provides options for fonts and colors for the background grid background grid font color and header font and background color The Edit buttons associated with font selections display a standard font selection dialog box The Edit buttons associated with color selection display a color picker dialog box For a description of the ways to use the color picker see Designer Colors Tab on page A 5 A 8 PHOENIX CONTACT 2373 en E THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS A6 DebugTab Use the Preferences Debug tab Figure A 6 to define the appearance of the Flow Chart blocks and forced data item values in the nanoL Monitor window see nanoL C Monitor Window on page 7 4 when monitoring an executing project Preferences General Designer Uptions Designer Colors Block Colors Data Item Editor Fonts Locals Grid Header Font Locals Grid Font Grid Font Color Grid Background Color Header Font Color Column Headers Back Color Forced Data Item Grid Cell Color EzTrac made fill color for blocks always evaluated EzTrac mode fill color For blocks evaluated sometimes 2 rac mode fill color for blacks never evaluated Ez Trac currently active block back color Figure A 7 Preferences
22. Configuration Comments THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Flow Chart Programming 3 5 6 Control Block The Control block is the most basic building block of a flow chart It is one of the action blocks of the nanoNavigator see Types of Action Blocks on page 8 5 Its job is to do the discrete actions listed in its expression list A Control block is capable of setting bits On or Off flags or outputs and doing internal timer or counter operations Unlike ladder logic these actions are atched In other words when turning an output on it stays on until the flow chart or another flow chart turns it off The only exception is the pulse output which automatically turns off after the specified duration entered in the Data Item grid and the Flash Output action which causes the Output to turn on and off at the configured period until the output is turned off Use the Control Block dialog box to select the action s for the control block Turn a Flag or Output on or off Pulse or Flash an Output where a pulse turns off after a specified duration and a flash cycles on and off at a 50 duty cycle until it is either turned off or on A Pulse output with a duration of O zero causes the output to be on for a single scan only Start stop reset or restart a Timer ncrement Decrement or reset a counter The Control Block dialog box can contain up to four actions which the nanoL C executes
23. Left Turn Timer Stop Control A2 Output Left Turn Output Timer Counter Left Turn TurnOn Restart Decision A3 Timer Counter Left Turn Timer Done Control A4 Output Left Turn Output Timer Counter Left Turn TurnOff Timer Restart Decision 5 Timer Counter Left Turn Timer Done Decision B6 Input Left Turn Input ON Control C6 Output Left Turn Output TurnOff 2373 en E THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Flow Chart Tutorial 3 Connect the flow chart blocks as indicated in Table 8 3 Table 8 3 Flow Line Connections 2373 en E PHOENIX CONTACT 8 27 THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator The completed flow chart should look like Figure 8 20 and Figure 8 21 If the flow lines don t look like this see Manually Creating Flow Lines below Be sure to save the flow chart and give it a descriptive name like LeftTurn Power On Figure 8 20 Completed LeftTurn flow chart top half 8 28 PHOENIX CONTACT 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Flow Chart Tutorial TrnOFF Output 00 Timer Xounter TrnOFF Output 00 Figure 8 21 Completed LeftTurn flow chart bottom half Manually Creating Flow Lines If any automatic routing decisions that nanoNavigator makes aren t adequate delete the flow line and manually create a new one For example if the ro
24. Show Toolbar Labels Select this check box to have labels appear under toolbar buttons the default Clear the check box to remove the labels Toolbar Icons Select either large or small buttons by selecting the corresponding radio button A 1 2 Chart Explorer The options in this group permit modification of text font size style and color as well as the background color used for the Chart Explorer Click the corresponding Edit button to modify current settings The Edit buttons associated with font selection display a standard font selection dialog box The Edit buttons associated with color selection display a color picker dialog box For a description of the ways to use the color picker see Designer Colors Tab page 5 A 1 3 Message Editor The options in this group permit modification of text font size style and color as well as the background color used for the Message Editor Click the corresponding Edit button to modify current settings The Edit buttons associated with font selection display a standard font selection dialog box The Edit buttons associated with color selection display a color picker dialog box For a description of the ways to use the color picker see Designer Colors Tab on page A 5 A 2 PHOENIX CONTACT 2373 en E THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS A2 Designer Options Tab The Preferences Designer Options tab see Figure A 2 permits specification of various
25. colors provides quick selection of previously defined custom colors and provides a Define Custom Colors button that expands the Color dialog box for custom color definition see Figure A 4 Basic colors Custom colors Hue HEO Red 192 E MEI Define Custom Colors gt gt um Blue Figure A 4 Color dialog box after clicking Define Custom Color button To add a custom color do one of the following and then click the Add to Custom Colors button Click in the color rectangle to get in the general area of the color of interest and then use the vertical slide to refine the selection The rectangle pick selects Red Green Blue RGB and Hue Sat saturation and Lum luminosity values The vertical slider adjusts the luminosity and RGB while holding hue and saturation constant Enter RGB values Enter Hue Sat and Lum values Once defined custom colors remain available in the Color dialog box until nanoNavigator closes and reopens It is possible to add up to 16 custom colors which appear the Custom Colors squares below the pre defined Basic Colors A 6 PHOENIX CONTACT 2373 en E THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS 4 Block Colors Tab Use the Preferences Block Colors tab see Figure A 5 to define the appearance of flow chart blocks Preferences Black Opt
26. from the menu and choose either the Flow Chart or Ladder Chart option Alternatively new charts can be created from within the Chart Explorer by clicking the New button Flow charts and ladder charts can both be utilized within a project A flow chart cannot be opened using the Ladder Chart Editor and a ladder chart cannot be opened using the Flow Chart Editor 2373 en E PHOENIX CONTACT 4 3 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator Upon creation of a ladder chart an Enable block is automatically placed in the first cell AO Also the first rung is automatically created and populated using a contact and a coil Down the left side is the power line Ss nanoNavigator NoName LadderChart1 Menus p gt View Help Ee mes 100 Rung Contact Compare Col Message Move Horz Main Toolbar Enable Toolbar Column vagit labels Row labels Workspace in this case showing a ladder chart in the drawing area Scrollbars nanoLC Noo Status Icons Status line 4 gt s J L Tara Figure 4 2 nanoNavigator showing a ladder chart window The key elements of the nanoNavigator ladder chart window shown in Figure 4 2 are Menus Provide access to all the commands in nanoNavigat
27. xx pup etait re ptt x 4 5 4 Hr Compare A Compare Contact compares two numerical data items The types of comparisons Compare available are less than lt equal to greater than gt greater than or equal to gt less Contact than or equal to lt and IsEven checks for an even number There are also special direct Button time and date comparison operations for date time day of week day of month and day of year An expression is created and the program evaluates the two data items based on the comparison operator Compare Contact elements can be placed in either parallel or series arrangements on a rung After clicking the Compare button on the Toolbar the pointer changes as it hovers over different cells to indicate how the element will be connected to the rung This function works using the same method as the Decision Contacts See Figure 4 15 2373 en E PHOENIX CONTACT 4 19 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator To configure a Compare Contact double click the Compare Contact in the workspace This displays the Compare Contact dialog box The expression is created by selecting the data type and specific data item for the First Item the Comparison Operator and the data type and specific data item of the Second Item When the comparison is evaluated
28. 10 5 4 5 1 3 Data ltem Types IK 9 esses 5 5 5 1 4 Editing Data Item Grid amp 7 2 5 6 5 1 5 Using Cross Reference Meessnnnsannnanannnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn 5 6 5 2 Data Type Descriptions 5 7 5 2 1 Duration Preset and Retentive Values 5 8 5 2 2 Outputs and Flags in 5 9 5 3 Data Types and Formats nnns 5 10 5 3 1 Current Date Day and Time 5 11 5 4 Using Timers and 5 11 5 4 1 WEEN qe t 5 11 5 4 2 37 b ud 5 12 9 9 Using the Move 5 13 5 54 The Move Expression 5 13 5 5 2 Moving Between Same Data 5 14 25 Moving Between Different Data 5 14 5 5 4 MOVE SUMMAI 5 15 5 6 Handling Analog Values nee 5 16 5 7 Usmg Analog Valles tT
29. Chart Editor options Preferences General Show Grid Lines Connector Crossing None Show Connection Anchors Hop Over Dive Under Always show five columns at 100 zoom Rulers Show Rulers Ruler Options Back Color Test Color Lines Font Figure A 2 Preferences Designer Options tab A 2 1 General When selected the options available in the General group do the following Show Grid Lines Displays grid lines in the Chart Editor Show Connection Anchors Displays valid anchor positions on all blocks and in the drawing area when in Connect mode 2373 en E PHOENIX CONTACT A 3 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator Connection Crossing This group permits choosing one of the following options for handling connection lines that cross Select the File Open Chart menu and then select a flow chart from the cascade menu None Crossing lines intersect without special graphic effects Hop Over One line appears to hop over the other Dive Under A gap appears in one line to show that it is under the other Always show five columns at 10096 zoom When selected this check box causes the Flow Chart Editor and Ladder Chart Editor to display five columns regardless of the window size A 2 2 Rulers The Rulers group provi
30. Debug tab This tab provides options for fonts colors and grid for the nanoLC Monitor window It also provides options for Monitor mode block colors The Edit buttons associated with font selections display a standard font selection dialog box The Edit buttons associated with color selection display a color picker dialog box For a description of the ways to use the color picker see Designer Colors Tab on page A 5 2373 en E PHOENIX CONTACT A 9 nanoNavigator A 10 PHOENIX CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS A7 Changes Made The Changes Made dialog box see Figure 8 appears whenever there are changes to one or more preferences Click the OK button to close the dialog box This dialog box provides options to specify how to handle changes Changes Made Changes have been made How do you want these changes applied gt Apply the changes to this project only C3 Apply the changes to this project and all new projects created from this point forward If you don t want to save the changes choose one of these options Leave the preferences set just way they are Reset this project to the default settings for new projects C3 Abandon the changes Reset this project and all future projects to the factory default settings Figure A 8 The Changes Made dialog box Although the available options appear in two groups only one option in the dialog box can be sel
31. Download amp Go Downloads the project currently open in nanoNavigator to the This single click saves verifies and then downloads the project to the nanoLC It then runs the project on the nanoL C Performs the same function as nanoLC Download amp Go menu see Downloading a Project on page 6 5 15 Simulator Starts simulation of the project see Connecting to the Simulator on page 8 39 16 Zoom Buttons Combo Box Zoom In and Zoom Out see Zooming In or Out on page 4 7 4 1 2 Grid and Cell Address The Ladder Chart Editor uses a fixed grid of five columns labeled A to E by any number of rows numbered 1 to n for placement of coils and contacts The grid defines cells that are labeled by column letter and row number For example cell AO is the cell in the upper left location of the chart By default the grid lines are visible in charts Whether the grid lines are visible or not cell references are by their cell address il Columns A through D only accept contacts Column E only accepts coils Turning the Grid On and Off To turn the page grid on or off follow these steps 1 Select the File Preferences menu to display the Preferences dialog box 2 Click the Designer Options tab 3 Click the Show Grid Lines check box to turn the grid line on or off respectively 4 Click the OK button and then answer any message dialog boxes that appear 4 6 PHOENIX CONTACT
32. Figure 2 6 Configure RTC Clock Configuration Date Format Month Day vear US Daylight Savings ELI Time one Fault Figure 2 6 The Configure RTC dialog box The Configure RTC dialog box has the following parameters Date Format defines the date format using the drop down list Choices are Day Month Year European Month Day Year US and Year Month Day International Daylight Savings used to select one of three options for handling Daylight Savings time Available options are None U S European selecting this option enables the EU Time Zone fields EU Time Zone has drop down to select Greenwich Mean Time GMT 01 00 and GMT 02 00 In addition there is a browse button that displays a selection dialog to set the EU time zone based on sample cities in the zone Fault provides choices for handling faults are Fault sets fault condition and stop execution Warning sets a warning condition and continue execution 2 3 2 Expansion Module 1 3 The nanoLC supports up to three I O Expansion Modules Use the drop down list to select the model of the module installed Depending on the device selected the Configure button may become available When available click the Configure button to define additional parameters in a configuration dialog box Configure I O Expansion modules from
33. Stop menu or click the Stop button on the Main toolbar WARNING Any machine or process on the I O network under Runtime control will cease operation This can lead to dangerous even life threatening situations in some applications 6 11 Set nanoLC Password To set the password on the nanoL from nanoNavigator follow these steps 1 Select the nanoLC Set Password menu 2 IfnanoLC doesn t have a current password skip to step If the nanoLC already has a password the Current Password field is available see Figure 6 4 and requires entry of the current password Enter the correct current password a one to four digit number Valid Passwords 1 9999 Figure 6 4 New Password dialog box requests the current password PHOENIX CONTACT 6 7 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator 3 Pressthe Tab key to enable the New Password and Confirmation fields 4 Enter a numeric password in the New Password field and repeat it in the Confirmation field Valid passwords are from 1 to 9999 clear the password follow steps 1 through 3 above For the new password leave both the New Password and Confirmation fields blank don t enter any values or space and then click the OK button 6 12 Set nanoLC Date Time To set the date and time on the nanoL from nanoNavigator follow these steps 1 IfnanoNavigator isn t currently conn
34. When considering a design it is important to create modular flow charts that work on small sections of the total project Using modular design techniques makes it easier to develop verify and maintain a project The examples on the following pages relate the basics of what needs to be done They in no way account for the specific events and requirements of each project PHOENIX CONTACT 8 7 nanoNavigator 8 8 PHOENIX CONTACT online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Because there are common needs in almost every project certain flow chart structures have become common as well Each is recognized by its characteristic shape in the same way that building tools tape measure hammer circular saw etc are recognized by their shapes so it s important to note that flow charts Commonly consist of repeating block patterns These patterns become easy to recognize what they do by how they re laid out Don tstop atthe end but return to a desired point determined by the application in the flow chart to do the work all over again Have label blocks to identify what each block is doing at every step of the process a very important feature Vary from the examples in this guide depending on what is required while staying within their intended purpose and behavior 8 2 1 Auto mode Flow Chart Because auto mode flow charts are written to control process actions automatically an auto
35. box Figure 6 10 Update nanoLC Firmware Update package Progress Status Select an update package and press start Figure 6 10 The Update nanoLC Firmware dialog box 5 Usethe Browse button to locate the nanoL C update package Double click or select the file and then click the Open button 6 Oncethe file path appears in the Update Package field click the Start button to begin the update process 7 Follow the on screen instructions to update the firmware and if present the display firmware You can find additional information for updating the nanoLC firmware by visiting www download phoenixcontact com 2373 en E PHOENIX CONTACT 6 11 THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator 6 16 Clearing a nanoLC Project nanoNavigator provides a technique to totally remove a project from the This generally isn t required because loading a new project to the nanoL C automatically removes the old one However to manually remove a project follow these steps 1 Start nanoNavigator see Starting nanoNavigator on page 2 4 If already started close any open project by select the File Close Project menu You should see the nanoNavigator Startup dialog box see Figure 2 1 on page 2 4 2 Click the Connection Wizard button to display the Connection Wizard Figure 6 11 nanoL Connection Wizard P
36. check mark present or OFF by clicking the View Magnifier menu By default the Magnifier is ON Scrollbars Use the scroll bars to bring portions of the drawing area that are off screen into view To scroll in small increments click the arrows at the end of each scroll bar Status line Provides information about nanoNavigator or selected shapes Status elements include a Message area and nanoLC status icons nanoLC status icon area presents three icons from left to right that reflect the state of the nanoL The icons are Connection state Connected or not Running state Unknown not connected Running Stopped Locked state Unknown not connected Locked Unlocked r1 Connection Running State Locked State State Icon Icon Icon connected running unlocked Figure 4 3 nanoLC status icons 4 1 1 Using the Main Toolbar The Main toolbar see Figure 4 4 is visible by default To toggle the toolbar on and off select the View Main Toolbar menu Ji H 08 ES lt gt 100 Figure 4 4 Main toolbar From left to right the buttons in the toolbar are 1 2 Save Project Performs the same function as the File Save Project menu Open Project Performs the same function as the File Open Project menu see Open Existing Project on page 2 6 The Cut Copy and Paste buttons do not function in the Ladder Chart Editor They appear because it is a
37. in list order Double click the Control block to edit its expression This displays the Control Block Configuration tab see Figure 3 16 Expression Item 1 Data Type Expression Item z Data Type Expression Item 3 Data Type HM Expression Item 4 Data Type Data tem Action Data tem Action Action Action Move Up Move Down 2373_en_E Figure 3 16 Control Block Configuration tab PHOENIX CONTACT 3 23 nanoNavigator online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Since actions in the Control block execute in the order they appear Control blocks permit reordering actions To reorder an action select it it appears highlighted and then use the Move Up or Move Down buttons to move the selected action For these buttons to be available there must be more than one action defined in the block The order rarely makes a difference This feature is primarily to improve readability It does however make a difference when starting a timer and then resetting that timer as opposed to the inverse This is applicable if the timer was previously stopped but did not complete elapsed time operations Editing a Control block To edit a Control block s expression follow these steps 1 Double click the Control block to open the Control Block Configuration tab see Figure 3 16
38. nanoL C The first step is to install nanoNavigator on a PC and then connect to the nanoLC To use the nanoLC begin by creating a control program using nanoNavigator and then transfer the program to the nanoLC nanoNavigator provides two methods to create program logic flow chart or ladder charts Flow charts use blocks and flow lines with the blocks representing actions and decisions and the flow lines indicating direction of movement A tutorial on flow chart programming provides an overview of nanoNavigator features using a sample project see Section 8 Flow Chart Tutorial The tutorial includes building the project and then monitoring and verifying it To get the full benefit of the tutorial you should have a nanoLC If a nanoLC is not available you can go through the building of the project and then use the simulator to verify it Ladder charts use contacts and coils to represent the actions of the program The contacts and coils are assembled into rungs like a ladder with each rung representing a piece of logic that is either true or false 1 or 0 or ON or OFF The coils and contacts are similar to relays and is therefore sometimes referred to as relay ladder logic The option of using ladder charts to program the nanoLC is available with nanoNavigator 2 0 and later Ladder charts use relays to express the programming logic Projects can use a mixture of flow charts and ladder charts Since each programming method is a
39. 2 6 Import 3 8 3 2 7 Deleting a Flow Chart nee 3 9 3 3 Displaying Multiple Flow 3 10 3 4 FIOW cm 3 11 3 4 1 S7 3 11 3 4 2 keine 3 12 3 4 3 and REDO 3 12 3 5 Ua aie c een 3 12 9 571 2 96 IUS UND ERI PRU 3 13 3 5 2 Branching ore 3 14 3 5 3 Compare TRECE 3 15 3 5 4 DECISION Anne 3 19 3 5 5 FACTION dod ecd n NR UN NEU 3 22 3 5 6 COMMON d 3 23 3 5 7 MESSAGE BIOCR Cc 3 25 3 5 8 MOVO BIOGR de 3 26 3 5 9 Walt BIOGR qe Ht 3 27 33 10 3 28 3 6 Connecting Flow Chart 3 28 3 7 Entering Block Comments 3 30 3 8 Using the Message 3 31 3 8 1 Displaying the Message Editor 3 31 3 8 2 Creating and Editing
40. 4 7 1 2 Block or Element Tab 81 7 6 7 1 3 7 6 7 1 4 System Flags Tab nun 1 7 7 7 2 Forcing Data Valles c 7 7 7 3 Using Execution Tracing in 7 8 2373 en E PHOENIX CONTACT 7 1 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator 7 2 PHOENIX CONTACT 2373 en E THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Verifying a Project 7 Verifying a Project 2373 en E nanoNavigator provides verification support Monitor mode for nanoLCs nanoNavigator must be connected to the nanoLC see section Connecting to the nanoL C on page 6 4 before Monitor mode is available To start Monitor mode select the Monitor menu In Monitor mode nanoNavigator displays A nanoLC Monitor window that includes four tabs Flow Chart or Ladder Chart This tab lists all the data values used or modified in the visible chart The tab changes to reflect the type of chart Blocks or Elements This tab lists all the data values used or modified in a selected block in the chart Forces This tab lists all forced data values System Flags This tab lists available system flags and their current values L ype Subtype __ lue E Rei Brake Input Input Mone OFF ARef
41. 4 20 Message Coil dialog box The Message drop down list allows selection of a message number from 0 to 31 The Message Editor permits entry or modification of the message associated with that message number see Using the Message Editor on page 4 28 Only configured messages appear in the Message drop down list They must be created in the Message Editor before they appear in the list 59 0 Display Message Display Msg Figure 4 21 Message Coil symbol When the Message is selected and the Message Coil dialog box closed the Message Box symbol appears In addition to the symbol the Data Item Type and ID is written above the symbol and the text Display Msg below the symbol PHOENIX CONTACT 4 25 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator Obtaining User Input As defined in Inserting Data Entry Items on page 4 29 messages can include data variables that prompt for user input As the operator enters data through the keypad on the Operator Panel the Operator Panel processor validates the input data according to the data type specified Once the operator completes data entry and presses the OK key the Operator Panel passes the input to the chart and sets the Message Input Ready key for one scan cycle Charts that require operator input must continue to look for the Message Input Ready key or some overriding condition that would inhibit data from b
42. 4 5 4 Compare 2 4 19 4 5 5 KO lesen 4 23 4 5 6 MOSSE 6 R 4 25 4 5 7 TOW GHC OM ee ee 4 27 4 6 USING the Message nahe eeen 4 28 4 6 1 Displaying the Message Editor 4 28 4 6 2 Creating and Editing 4 29 4 6 3 Copying Messages na 4 29 4 6 4 Clearing 4 30 2373 en E PHOENIX CONTACT 4 1 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator 4 2 PHOENIX CONTACT 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Ladder Chart Programming 4 Ladder Chart Programming 4 1 Exploring Ladder Charts When a new project is created the user must choose to create either a flow chart see Flow Chart Programming on page 3 3 or ladder chart A ladder chart or ladder diagram expresses the program logic using graphical symbols similar to relay circuits When a new project is selected the Select Type of First Chart dialog box appears Click the Create Ladder Chart button to create a new ladder chart Select Type of First Chart Create Flow Chart Create Ladder Chart Figure 4 1 Select Type of First Chart dialog box To create additional charts in a project select File New Chart
43. 5 3 lt depending on the number of I O expansion modules and amount of logic 2373 en E PHOENIX CONTACT 5 9 THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator 5 3 Data Types and Formats Table 5 2 lists data types supported by nanoNavigator and nanoLC Table 5 2 Supported Data Types Data Type Minimum Maximum Read Maximum Can Be Value Value Write Data Retentive Items Fa i Ya m Flags Ethernet 1 R W 32 No Eme m m o eee mt m Counter input 1 hRed 32 No K 1 Read 16 No Message mf o Time of Day 00 00 00 23 59 59 of Week R Text day of week RW ru LINER or 99 59 59 Timer TC 00 00 00 99 59 59 RAN Yes or or 0 000 99999 999 Only visible with an Ethernet module in the configuration 5 10 PHOENIX CONTACT 2373 en E 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Data Operations 5 3 1 Current Date Day and Time Compare blocks and Compare Coils allow access to the real time clock in the nanoLC to check the current date day of week month or year and time There are specific subtypes for some of these comparisons and the Compare block and Compare Coil ensures that you select the appropriate subtype Subtypes that can be used in a Compare to test the current real time clock are Table
44. 5 3 Valid Current Date Day Time Comparisons Compare Compare to Subtype Current Time Time of Day Current Day of Week Day of Week Integer Current Day of Month Current Day of Year 5 4 Using Timers and Counters provides up to 32 Timer Counter type data items for use in the project Selecting the format of the Timer Counter determines whether it operates as a timer or counter 5 4 1 Timer Items Timers have a timing range of 0 to 99 59 59 or 99999 999 Each timer is actually a collection of related variables organized in a structure that is accessible in various project tools Timer variables include the Accumulator timer value Preset Value Timer Done status bit and Timer Enabled status bit The Data Editor permits specification of a preset value Ways in which project components can interact with a timer include A Control block or Coil can start stop reset or restart a timer Decision block or Contact can use a Boolean expression to check to see if the timer is done or not done running or not running block or Compare Contact can compare the timer accumulator with another value Move block or Move Coil can move a value to the timer preset Whenever used or enabled for the first time a timer data item must have the following specified Duration with units of HH MM SS hours and seconds Duration with units of x xxx seconds seconds and msec In Co
45. 6 Configuring RS 232 and 5 485 2 8 Drawing area 3 4 4 4 Connecting flow chart blocks 3 28 5 8 Connection settings nennen 6 3 Connection Wizard 6 10 6 12 E M 3 28 E E E E 3 13 4 14 52105500 Pos Enter 5 6 7 sen Execution order eene 3 8 4 9 Selecting 3 11 COM AGS 4 13 2373 PHOENIX CONTACT D 9 nanoNavigator F Firmware update 6 10 gom C HO 5 7 B 1 Flow chart Compare 3 15 Connecting 2 3 28 Control DIOCK 3 23 Decision block CC 3 19 LICL OTIC 4 M E 3 9 Display a ee 3 7 Displaying multiple 3 10 BO M 3 11 Enable 3 13 Message block 1 3 25 Move 3 26 I C 3 7 9 7 PENANING 3 7 3 11 Wait OG
46. Editing Data Item Grid Entries The Data grid permits modification of default data item names and depending on the data item type permits entry of a description indicates that a data item is retentive and specifies an initial value For Timer Counter and Register data items specify the type and for Timer Counters specify the preset 5 1 5 Using Cross Reference Each data item row in the Data Item Editor has an XRef link on the left side of the line When the link is clicked nanoNavigator searches all charts and messages for references to the data item and then it displays the Project Information CrossReference tab see Figure 5 3 Project Information Data tem 0 02 Right Brake Light Location Address Flow Chart Brake Control Control Tro LM Flow Chart Brake Control OFF 5 3 The Project Information CrossReference tab The rows of the CrossReference tab list all occurrences of the data item in the project The columns provide the following information Either Flow Chart Ladder Chart or Message Name The name of the chart or the message number Location The type of chart element 5 6 PHOENIX CONTACT 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Data Operations Address The cell number of the element A Action The action taken in the element on the dat
47. Flowchart 18 lt C Status Hun Status Stopped Lock Status UnlLocked Utilities Local Debug Inactive A project was found on the attached Click Upload if you would like to upload this project or Click New if wou would like to create a new project based the nanaL C configuration New Figure 2 2 The nanoLC Connection Wizard The operations available depend on the current state of the nanoLC fthere is a project loaded on the nanoLC nanoNavigator displays a message indicating that a project exists and the Upload button is available Click the New button to upload the project from the to nanoNavigator fthere is no project on the nanoL C nanoNavigator displays a message to that effect and the Upload button is gray Click the New button and a new project is started using the configuration of the attached nanoLine controller The Select Type of First Chart appears Click either the Create Flow Chart button or the Create Ladder Chart button to create the desired type of chart The nanoLC operates in two modes mode is the normal operating mode and the mode required for connecting nanoNavigator to the nanoL C In Run mode a project on the nanoLC can be either running or stopped Monitor mode permits monitoring operations directly on the nanoL C When the is in Monitor mode nanoNavigator c
48. For example given an input device on Al 00 that measures temperature in the range of 70 to 90 on a 0 10 V device configure the device as follows Set Mode to Unipolar 0 10 Volts Set Lower Value to 70 Set Upper Value to 90 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Data Operations In this example an input of 5 V would appear as a value of 80 while O V would be 70 and 10 V would be 90 For more information on scaling and scaling examples see Appendix C Technical Appendix Analog Device Scaling 5 7 Using Analog Values To use an analog value in a chart follow these steps 1 Addan analog device to the nLC configuration see Configuring Analog Inputs on page 2 11 2 Provide scaling to the analog input if desired by clicking the Configure button for the expansion slot that has the analog I O device Open the Data Item Editor and change the label name to more fitting name for that particular analog input 4 block or coil to move the analog input value to a register Move Block Configuration Comments From Data Type Analog Input Data Item AL O0 Temperature To Data Type Register Data Item H 1 Temperature Integer Cancel Figure 5 6 Move Block dialog box showing analog input to register configuration Once the analog value is in a register treat it as any other int
49. Left Brake Output Output sec OFF Ret Right Brake Output Output oec OFF ARef Timar Counter Counter Ref Brake Accumulated Time Timer Counter HH MM SS 00 00 00 10 00 00 E ef Figure 7 1 Monitor window PHOENIX CONTACT 7 3 nanoNavigator 7 4 PHOENIX CONTACT online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Display the status of all charts in the project by selecting the View Chart Explorer menu to display the Chart Explorer This window in addition to permitting selection of a chart to open displays the status of each chart Enabled or Waiting and the block or element that is currently executing see Figure 7 2 Chart Explorer 1 Flowchart 1 Enabled Decision 2 LadderChart 1 Enabled 2 AUT Decision Figure 7 2 Chart Explorer in Monitor mode When displaying a chart it shows the history of execution and the current block or element If opening a chart nanoNavigator displays the running status of that chart This includes displaying values of data items in selected blocks or elements in a Locals window It also includes an indication of the executing block or element 7 1 nanoLC Monitor Window The nanoLC Monitor window opens automatically when selecting the nanoL C Start Monitor menu This window provides real time access to data item values The four tabs display all data items used or mod
50. M 01 0000020 8 32 Message M 02 LeftTurnOn 2 8 33 Message M 08 RightBrakeOn 8 34 The top half of the display flow chart 8 35 The bottom half of the display flow chart 8 36 The Project Information Messages tab with error 1 8 38 Simulator with data items displayed 8 39 Simulation of the nanoLights project 8 41 The nanoLC Monitor Flow Charts tab 8 42 The Chart Ex Plover ae 8 43 The nanoLC Monitor Forces tab 2 1 8 44 The Project Information Cross Reference tab 8 45 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Appendix A Figure A 1 Preferences General A 1 Figure A 2 Preferences Designer Options A 3 Figure A 3 Preferences Designer Colors A 5 Figure A 4 Color dialog box after clicking Define Custom Color button A 6 Figure A 5 Preferences Block Colors tab
51. any claims as to quality guarantees or guarantees regarding the suitability for a special purpose Phoenix Contact accepts no liability or responsibility for errors or omissions in the content of the technical documentation in particular data sheets installation instructions manuals etc The aforementioned limitations of liability and exemptions from liability do not apply in so far as liability must be assumed e g according to product liability law in cases of premeditation gross negligence on account of loss of life physical injury or damage to health or on account of the violation of important contractual obligations Claims for damages for the violation of important contractual obligations are however limited to contract typical predictable damages provided there is no premeditation or gross negligence or that liability is assumed on account of loss of life physical injury or damage to health This ruling does not imply a change in the burden of proof to the detriment of the user 2373 en E PHOENIX CONTACT nanoNavigator Internet Subsidiaries Published by PHOENIX CONTACT online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Statement of legal authority This manual including all illustrations contained herein is copyright protected Use of this manual by any third party is forbidden Reproduction translation and public disclosure as well as electronic and photographic archiving or alt
52. bit variables they are not associated with discrete I O points There are a total of 64 binary user definable flags These flags are available for general project use They can have an initial value set 1 and may be retentive In addition there are System Flags that provide Runtime status and control see Appendix B Technical Appendix System Flags Input Digital inputs are either ON or OFF 0 or 1 There are a maximum of 32 digital inputs The number available depends on the nanoLC configuration selected High Speed Counter Present if available in the nanoL C and configured There are a maximum of two high speed counters If present these may be enabled or disabled by project 2373 en E PHOENIX CONTACT b 7 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator Keypad Key The Keypad Key data type provides single bit 0 1 input that corresponds to the Operator Panel keys on the nanoL C One or TRUE values indicate that a key is being pressed There are a total of 15 keys 0 9 four arrow keys an that are available only if the optional Operator Panel is present on the There is a sixteenth key data item for Message Input Ready Output An Output data item is a single bit 1 for use with discrete output points for the I O sub system A maximum of 32 output points are available Register There are a total of 32 registers Configurable as Unconfigure
53. common toolbar with the Flow Chart Editor and future functionality is planned for these buttons Cut Performs the same function as the Edit Cut menu Copy Performs the same function as the Edit Copy menu Paste Performs the same function as the Edit Paste menu UnDo Performs the same function as the Edit UnDo menu see UnDo and ReDo on page 4 12 HeDo Performs the same function as the Edit ReDo menu see UnDo and ReDo on page 4 12 Chart Explorer Opens the Chart Explorer see Chart Explorer on page 4 7 Edit Data Items Opens the Data Item Editor see Using the Data Item Editor on page 5 3 PHOENIX CONTACT 4 5 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator 10 Edit Messages Opens the Message Editor see Using the Message Editor on page 4 28 11 Start Monitoring Stop Monitoring Toggles depending on whether or not nanoNavigator is currently monitoring the connected nanoL C Performs the same function as the Start Monitoring menu and the nanoLC Stop Monitoring menu see nanoLC Monitor Window on page 7 4 12 Run Starts the current project running on the nanoLC Performs the same function as the nanoLC Run menu see Running a Project on page 6 7 13 Stop Stops the current project on the nanoLC Performs the same function as the nanoLC Stop see Stopping a Running Project on page 6 7 14
54. connector of one block and the incoming connector of the next to generate the flow line It is always possible to manually draw the flow line by clicking from point to point to route the line 3 28 PHOENIX CONTACT 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Flow Chart Programming For example Figure 3 20 shows a simple project flow chart with all required connecting lines Sample flow chart with flow lines connecting all blocks Unlike CAD programs that permit ending a line where it intersects another line nanoNavigator requires guiding the pending connection to the common destination H If the connector appears as a red line it is not properly connected This can occur if the connection doesn t meet the input connection point of the block Try moving the end point of the line until the region that represents the block s input connection becomes highlighted 2373 en E PHOENIX CONTACT 3 29 THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator 3 7 Entering Block Comments Enter comments about a block to summarize actions taken in the block This is useful to provide an overview version of the flow chart Specify whether flow charts should display block comments or block expressions by toggling the View Block Comments menu To enter or edit block comments 1 Right click on the block and select Block Comments from the pop up menu The Comments tab of th
55. is unlocked using the password defined at the time it was locked To protect the nanoL from changes using the nanoNavigator follow these steps 1 If nanoNavigator isn t currently connected to the nanoLC follow the steps in Connecting to the nanoL C on page 6 4 2 If necessary follow the steps in Set nanoLC Password page 6 7 3 Selectthe nanoLC Lock nanoLC menu This displays the Lock the nanoL C dialog box see Figure 6 6 ron the PR Valid Passwords 1 3333 Figure 6 6 The Lock the dialog box requires the current password 4 Enter the current password a number from 1 9999 and then click the OK button 6 14 Unlock the nanoLC To unlock the nanoLC from nanoNavigator follow these steps 1 If nanoNavigator isn t currently connected to the nanoLC follow the steps in Connecting to the nanoL C on page 6 4 2 Select the nanoLC Unlock nanoLC menu This displays the Unlock the C dialog box see Figure 6 6 F M UnLock the nanolC Valid Passwords 1 3333 Figure 6 7 Unlock the nanoL C dialog box requires the current password 3 Enterthe current password a number from 1 9999 and then click the OK button PHOENIX CONTACT 6 9 nanoNavigator THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS 6 15 Updating nanoLC Firmware nanoNavigator provides a straightforward capability to update the firmware on the nanoLC On
56. left to right The module installed closest to the base unit is 1 Expansion module 1 must be configured before 2 and 2 must be configured before 3 When modifying the configuration to add or delete I O nanoNavigator displays a warning message and the change takes effect immediately There is no undo or cancel operation The only way to undo this type of configuration change is to close the project without saving it 2373_en_E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Getting Started Configuring Analog Inputs One of the I O Expansion choices is nLC IO 4Al This expansion module provides four analog input devices When selected the Configure button is active Clicking the Configure button displays the nLC IO 4Al dialog box see Figure 2 7 that configures the four analog inputs on this device nLC I0 4Al Analog Input Configuration Upper Value 4 00 polar 0 10 Volt 4095 2 Unipolar 0 10 Volts se 4095 Al O2 Unipolar 0 10 Volts A 03 Unipolar 0 10 Figure 2 7 The nLC IO 4Al configuration dialog box Each analog input device Al 00 to Al 03 has three parameters Mode is a drop down that provides the following choices Current 4 20 mA Current 0 20 mA Unipolar 0 10 Volts default Bipolar 10 Volts Scaling has two configurable values for Lower Value and Upper Value The range of values for each of these scalin
57. or ladder execute in the order they appear in the Chart Explorer The project can programmatically control which charts execute during any given scan cycle For more information on enabling charts see Enable Block on page 3 13 Chart Explorer 1 05 Flow 2 05 Ladder 4H 3 3 Switch 4 Flowchart 1 Hove Down Hew Flow Chart New Ladder Chart Figure 3 4 Chart Explorer PHOENIX CONTACT 3 6 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Flow Chart Programming To open the Chart Explorer and display a list of the charts flow and ladder in the project Click the Chart Explorer button on the Main toolbar Select the View Chart Explorer menu Chart An icon indicates the type of chart Using the Chart Explorer automatically selects the Explorer Button correct chart editor flow or ladder Flow charts cannot be opened using the Ladder Chart Editor and ladder charts cannot be opened using the Flow Chart Editor Flow charts appear in a Flow Chart Editor window If the project consists of only one chart nanoNavigator always displays it when the program starts If there are multiple charts in the project nanoNavigator displays the last chart that was open when the program starts If no chart window was open the last time the project closed nanoNavigator displays the Chart Explorer to allow selection of a chart to open Cl
58. possible to delete these elements from a rung 4 5 3 Decision Contact i Contact A Decision Contact is an element in a rung that makes or breaks a circuit or rung The Contact Decision Contact may be external such as a switch connected to a physical input or keypad Button key from the Operator Panel or internal such as a flag timer or output A Decision Contact is configured to a default position either normally closed or normally open By combining various Decision Contacts in series and parallel arrangements in a rung the logic of the rung becomes either True or False causing the coil in column E to be either True or False Decision Contact elements can be placed in either parallel or series arrangements on a rung After clicking the Decision Contact button on the Toolbar the pointer changes as it hovers over different cells to indicate how the element will be connected to the rung 2 nanoMavigator NoName LadderChart1 m oJ File Edit View nanoLc Window o 80 Rung Compare Coil Message Move Horz mc E 1 00 TC 00 1 01 0 00 Input Ti mer Counter 00 Input 01 Output 00 pa 4H Not Done Figure 4 13 Placing Decision Contacts different arrangements 2373 en E PHOENIX CONTACT 4 17 THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator Figure 4 13 shows the cursor in differ
59. should look like Figure 8 22 Click the Save button Message Clear Line _ _ _ __________ ME DE ER ER ER ER ER ER ER ER Current Message BIEGEN Insert Data Display Item Insert Symbol Insert Select Type hs Data 4 ek Insert Data Entry Item Return Select Type v Insert Figure 8 22 Message M 00 Background 9 Use the Current Message drop down list to select M 01 LeftTurnOff 10 Leave the first and fourth lines blank and clear the Clear Line check boxes selected by default 2373 en E PHOENIX CONTACT 8 31 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator 11 In the second and third lines enter a space in the first three pixels Figure 8 23 shows the resulting Message Editor rs nanoNavigator nanoLights Message Editor SE 20 File Edit n gm EE Message Clear Line Current Message ospeymess JE SIEH Insert Data Display Item Insert Symbol Type Insert Select Type z Data Item gt u 9 Insert Data Entry Item Return Select Type Insert m 8 23 Message M 01 LeftTurnOff 12 Click the Save button 13 Use the Current Message drop down list to select M 02 LeftTurnOn 14 Leave the first and fourth lines blank and cl
60. tab displays the status of all data items in the current flow chart For more information see Charts Tab on page 7 4 Select any block in the flow chart to display data item values in that block This also brings the nanoL C Monitor Blocks tab to the front For more information see Block or Element Tab on page 7 6 Execution Tracking Use nanoNavigator to view the execution track of any flow chart in the project In Monitor mode open flow charts automatically provide execution tracking Execution tracking is the display of color coded blocks to indicate whether or not blocks were recently executed The color coding is Green Always executed on every scan Yellow Sometimes executed Gray Never executed 8 42 PHOENIX CONTACT 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Flow Chart Tutorial When entering Monitor mode nanoNavigator continues to display whatever is in the workspace To open a chart use the Chart Explorer To do this 1 Selectthe View Chart Explorer menu to display the Chart Explorer In Monitor mode the Chart Explorer has two additional columns of information The first gives the status of each chart enabled waiting the second provides the cell and type of block that last executed at the end of the most recent scan Chart Explorer 1 BrakeControl Enabled amp 00 Enable Rename 2 LeftTurn Enabled 00 Enable 3 RightTur
61. that was turned on earlier 2373 en E 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Flow Chart Tutorial Turn on and start timer Test for completion Control Block Turn off and reset timer Figure 8 4 An auto mode flow chart example Therefore it s common to use the construct shown in Figure 8 4 along with variations the blocks don t have to be used next to each other because if a flow chart turns something on it usually needs to turn it off at some point As some operations take longer to complete than others certain auto mode flow charts will take longer to complete than others Example 1 Auto Mode Flow Chart Controls the Order in Which Processes Occur In this example the auto mode flow chart controls a project the same way every time because flow goes through each process in the same order every time There are three parts to the flow chart Initialize the project Wait for starting event Control the process This example and the next serve as ideas for controlling processes in a project The project takes everything into account that needs to be controlled in order for the process to operate safely and repeatedly A project can have more than one auto mode flow chart if necessary each controlling a specific process in the project For example if a project controls a bowling alley it could have a flow chart controlling the pin sett
62. the Compare Contact becomes logically true if the expression is true The Compare Contact becomes logically false if the expression is not true Compare Contact Configuration First ltem Data Type Data Item R 00 Register 00 Time Day Comparison Operator Less Than or Equal Second Item Data Type Data Item H U3 Register 03 Time Day Figure 4 16 Ladder Compare Contact dialog box When using a constant in the expression the variable operand must be the First Item and the constant must be the Second ltem Both Registers and Timer Counters have subtypes The default subtype of both is Unconfigured If selecting an unconfigured type for the first operand nanoNavigator prompts for selection of the type The subtype of the second operand must match the subtype of the first operand The drop down list only shows operands with matching or unconfigured subtypes If selecting an unconfigured item nanoNavigator permits changing the subtype to match the type of the first operand When comparing Current Date or Current Time or a register with a subtype of Date or Time of Day choose which components of the date or time to include in the comparison For instance to perform a date compare between the day and month ignore the year Likewise to perform a time compare between minutes ignore the hours and seconds 4 20 PHOENIX CONTACT 2373 en E 2373 en E online
63. the buttons used to control the nanoLC simulator Table 8 5 Simulator buttons Button Description Stop Stops the currently executing project Click the Start button to restart the project from the beginning Pause Pause the currently executing project Click the Resume 1 Scan or 1 Step to resume project execution from the point where it was paused 1 Step Resumes a paused project for execution of one block in each currently executing flow chart Resume Resumes a paused project Resumes a paused project for one complete scan PHOENIX CONTACT 8 39 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator Monitoring Execution in the Simulator The monitoring features of the simulator are the same as those available for monitoring a project executing on a nanoLC For a description of how to monitor cross reference and force data items see Monitoring the Project on page 8 42 That section also describes execution tracking in FlowView Additional Simulator Features The top of the simulator window see Figure 8 29 has buttons that you can click to simulate operator input The buttons are labeled 0 through 9 plus the four arrow and OK buttons There are additional squares initially gray colored that simulate inputs to the base unit and any configured I O Expansion modules To simulate input do one of the following Clicking one of the inputs turns it gree
64. the output or flag bit OFF The value can change under program control Force ON Sets the output bit or flag ON see Forcing Data Values on page 7 7 Force OFF Sets the output bit or flag OFF see Forcing Data Values on page 7 7 Removes Force setting Registers Set Value Displays a pop up dialog box that permits setting a value for the register Sets the register or timer counter to zero Timer Counters Set Accumulator Displays a pop up dialog box that permits setting the accumulated count Zero Accumulator Sets the accumulated count to zero Set Preset Displays a pop up dialog box that permits setting the preset done value Sets the value of the preset done to zero 2373 en E PHOENIX CONTACT 7 5 THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator 7 1 2 Block or Element Tab The C Monitor Blocks tab or C Elements tab lists all data values used or modified in a selected cell In addition use this window to change or force values nanoLC Monitor BrakeControl Control Block 82 Forces System Flags Left Brake Output Output xxxx Sec OFF XRef Right Brake Output Output XRef Brake Accumulated Time Timer Counter HH MM SS 00 00 00 10 00 00 ARef Figure 7 4 The nanoLC Monitor Blocks tab lists a block s data values To modify or force a data or I O value right click on the row that contains t
65. to the nanoLC are regarding the logical connection between the nanoLC and nanoNavigator 2373 en E PHOENIX CONTACT 2 13 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator 2 4 1 Physical Connection The nanoLC is connected to a PC or other device through an option module inserted in Slot 1 on the base unit The option module connects via a USB RS 232 or RS 422 485 cable AN NS QS d v Aw d lt N gt gt Figure 2 9 nanoLC RS 232 programming connection For more information on making a physical connection between the nanoLC and a PC see the Hardware User Manual When using a USB port and cable to connect a PC to the nanoLC a COM port is assigned to the nanoLC Occasionally this virtual COM port interferes with a physical COM port and must be re assigned For more information on changing the COM port address assigned to a nanoLine controller see the USB to COM Port Configuration Application Note document 2706 2 4 2 Connecting nanoNavigator to the nanoLC Before transferring a project to or from the nanoLC starting or stopping the project monitoring it or performing any other operations on the nanoL C nanoNavigator must connect to the nanoLC To perform a software connection from nanoNavigator to the nanoLC the PC must be physically connected to the controller f nanoNavigator is started the nanoNavigator Startup dia
66. to use the logic from the nanoLC or the version on the PC 6 6 Downloading to the Memory Module To download a project from nanoNavigator to the nanoLC Memory Module follow these steps 1 Attach the nanoLC Memory Module to the PC using the configured USB port see Specifying the PC Connection on page 6 3 and a standard type A to type B USB cable Order No 2701247 Select the Memory Module Download Project menu to download the project This transfers the executable project to the nanoLC Memory Module Although projects can be uploaded to the PC and modified from the uploaded version the data item names do not get downloaded so it is important to keep a copy of the original PHOENIX CONTACT source project on the PC 3 Install the Memory Module the nanoL C and transfer the project to the nanoLC 6 7 Uploading from the Memory Module To upload a project to nanoNavigator from the follow these steps 1 Attach the nanoLC Memory Module to the PC using the configured USB port see Specifying the PC Connection on page 6 3 and a standard type A to type B USB cable Order No 2701247 Select the C Memory Module Upload Project menu to upload the project If there is a project open in nanoNavigator nanoNavigator closes it if the project has modifications nanoNavigator first asks to save the changes nanoNavigator then uploads the executable project fr
67. 0000 1000 1024 4096 1000 3250 If LowScale 100 and HighScale 0 and DataValue 1024 i e reading 2 5 V ona 0 10 V range ScaledDataValue 100 1024 4096 100 75 2373 en E PHOENIX CONTACT 1 THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator C2 NoScaling Applied Example Table C 1 Default scaling at 0 to 4095 Integer Value av 2088 Fatma 2808 _ av 2870 prema av sx ev 32s _ Frama 057 ria av 6 _ Scaling Applied Examples Table C 2 Scaling set to 70 to 90 Integer Value omar ver aver _ femer aver ever _ femen avers w _ _______ 77 v e 5 0 _______ 2 _ sma vza v a _ _______ 7 ev 6 ev evz _ 90 20 mA 90 10 V 90 10 V 90 C 2 PHOENIX CONTACT 2373 en E THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Table C 3 Scaling set to O to 1000 Integer Value umes ev 2V 89 _ Fema 749 ww Fema ars av ev 800 Fema 8 90 av 200 Table C 4 Scaling set to 0 to 10 Integer Value jov o 40 0 ____ LTE _ 1 8v 1 _______ 2 _______ 2 ves w vsa ave 0 20 mA 10 10 V 10 10 V 10 2373 en E PHOENIX CO
68. 1 Figure 5 2 Figure 5 3 Figure 5 4 Figure 5 5 Figure 5 6 Figure 6 1 Figure 6 2 Figure 6 3 Figure 6 4 Figure 6 5 Figure 6 6 Figure 6 7 Figure 6 8 Figure 6 9 Figure 6 10 Figure 6 11 Figure 6 12 Figure 7 1 Figure 7 2 Figure 7 3 Figure 7 4 Figure 7 5 Figure 7 6 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS The Data Item Editor initially displays all available data types 5 4 The Data Editor with an opened data type 5 5 The Project Information CrossReference tab 5 6 Move Block Configuration tab 2 5 13 The nLC IO 4Al configuration dialog box 5 16 Move Block dialog box showing analog input to register configuration 5 17 Connection Settings dialog box 6 3 The Project Information Messages tab 6 4 Select COM Port dialog 6 5 New Password dialog box requests the current password 6 7 Set nanoLC Date amp Time dialog box 6 8 The Lock the dialog box requires the current password 6 9 Unlock the nanoLC dialog box requires the current password 6 9 The Connection Wizar
69. 2373 en E 2373 en E ess Zoom Out left and In right toolbar buttons Zoom drop down list onlinecomponents com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Ladder Chart Programming 4 1 3 Zooming In or Out The full design of a chart may be large and any page may be larger than the viewable Ladder Chart Editor window The following techniques show more of the page by setting the zoom factor Select the desired zoom percentage from the View Zoom Factor menu Click the Zoom In or Zoom Out tools in the Main toolbar Hold the lt Ctrl gt key and spin the middle mouse wheel up to zoom in and down to zoom out Hold the lt Ctrl gt key and press the keyboard minus key to zoom out or the plus key to zoom in Usethe Zoom drop down list in the Main toolbar 4 2 Chart Explorer A project can have a total of 16 charts in any combination of ladder and flow with a total of approximately 500 blocks Use multiple charts for all but the simplest projects with each chart controlling a single process machine or major function A modular approach to developing chart programs makes it easier to create verify and maintain control projects Use the Verify Project see page 7 4 to ensure the project is properly configured and does not exceed the capability of the hardware Once downloaded to a nanoLC all enabled charts flow or ladder execute in the order they appear in the Chart Expl
70. 3 2 Flow Chart Execution Order 8 4 Creating 8 4 1 Creating the Brake Control Program 8 4 2 Creating Left Turn Flow Chart 8 5 Downloading and Verifying the Project 8 5 1 Downloading the 8 5 2 Connecting to the Simulator 8 5 3 Monitoring the 8 5 4 Verifying a 222 2 onlinecomponents com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Section 8 PHOENIX CONTACT 8 1 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator 8 2 PHOENIX CONTACT 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Flow Chart Tutorial 8 Flow Chart Tutorial 8 1 Flow Charting Primer This flow charting primer is for new users that have no experience with flow chart programming It provides a brief introduction to flow chart programming concepts specifically as they relate to programming the using nanoNavigator 8 1 1 Introduction and History Although flow charting predates 1947 it was formally introduced at that time as a way to clearly communicate computer program designs This new method of using labeled blocks to show the order of a process became so su
71. 39 8 40 PAGE o ONDE 3 4 4 4 Monitoring execution esee 8 40 Pointer 160 ERE ERRORES e 3 28 Start Monitoring 3 5 4 6 Preferences Static IP Address 2 12 Block Colors page A 7 Status line M PO 3 4 4 5 Data Item Editor A 8 Stop 3 5 4 6 Designer Colors A 5 Stopping a running 6 7 Designer Options A 3 SUBNEr MasK em 2 12 General tab 9 498 9 A 1 Message Editor 9 7 A 2 T Setting A 1 Technical ores 1 5 gil una 5 8 5 11 1 2 13 Time and date 5 11 Download to Memory Module 6 6 li C 9 5 8 5 11 Download to 6 5 5 MMC PE 5 12 RR c 6 7 sic T P 5 12 SIMUIALON me see 8 39 sj meer c 5 12
72. 6 3 6 2 lucius 6 4 6 3 Connecting to the 6 4 6 4 Downloading a 6 5 6 5 Uploading a Project from the 6 5 6 6 Downloading to the Memory 6 6 6 7 Uploading from the Memory 6 6 6 8 Clearing the Memory Module 6 6 6 9 Running a Project 6 7 6 10 Stopping a Running 6 7 6 11 6 7 6 12 Set nanoLC 6 8 6 13 Lock the 7 6 9 6 14 Unlock the nanoLC gym 6 9 6 15 Updating nanoLC 6 10 6 16 Clearing a nanoLC 6 12 7 Verifying a Project 7 3 7 1 Wioriitor WindOW 2121 nnnm nnn nnnm
73. Address from a DHCP server PHOENIX CONTACT B 1 THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator Table B 2 Ethernet Flags ein oo F 76 ETH Request BOOTP Hequests the Ethernet module to enter a mode asking for an IP Address from a BOOTP server F 77 ETH Enable Web Access Allows the Ethernet module s web server to be accessed from a network connection ETH Reset to Factory Default Hesets the Ethernet module s configuration data to the factory default settings The IP Address is also reset to 0 0 0 0 F 79 ETH Command 07 Reserved Heserved for future use F 80 ETH Command 08 Reserved Heserved for future use ETH Boot Request Requests the Ethernet module to stop communicating to the base to allow the base module to enter bootloader mode F 82 ETH Reset Request to the stored settings F 83 ETH Command 11 Reserved F 84 ETH Command 12 Reserved F 85 ETH Command 13 Reserved F 86 ETH Command 14 Reserved F 87 ETH Command 15 Reserved F 89 ETH Connection Established been established from a host computer F 90 ETH Write Data Watchdog The Watchdog timer has expired without receiving a Write command from any connected Modbus TCP host computer ETH DHCP Failed The Ethernet module is configured to obtain its address from a DHCP server but either the assignment failed or a DHCP server is not present on the network ETH BOOTP Failed The Ethernet module is configured to obtain its addre
74. Configuration tab see Figure 3 14 2 Clickthe Data Type drop down list to select the data item type Only valid data types appear in the list Available types are Flag Input Output Keypad Key Timer Counter and High Speed Counter 3 Enterthe Data using one of the following techniques Enter the data item number for example 1 or 01 The type is known Enter the data item ID DI for example 1 01 When tabbing to the next field nanoNavigator displays the data item name associated with the ID Use the drop down button to display the list of data items that correspond to the selected data item type The drop down list only shows data items of the Type selected When selecting an unconfigured Timer Counter a small dialog box appears with a drop down list that permits configuration of the Timer Counter as a Counter Duration HMS or Duration mSec 4 Usethe Condition drop down list to set the condition desired Or use the Tab key to highlight the field and use the first character to toggle the value For example typing the letter toggles among values beginning with the letter o Use the amp button on the right side of the conditional expression line to delete make all fields blank the expression 5 Click the OK button Yes No Path Selection By default the connection that goes out the bottom of the Decision block is the Y
75. ECTRONIC COMPONENTS Flow Chart Programming To display more than one chart at a time Select the Window Cascade menu to show all open charts one behind the other slightly offset Select the Window Tile Vertically menu to display all open charts in a vertical arrangement as shown in Figure 3 7 Select the Window Tile Horizontal menu to display all open charts in a horizontal arrangement Charts that are minimized are not displayed using the Window commands 3 4 Editing Flow Charts nanoNavigator provides intuitive Windows style editing capability to move or cut and paste flow chart blocks from one grid location to another Many functions are available with a mouse right click or use the Main toolbar buttons as described To select flow chart elements for editing 1 Click a block or connection to select it By default nanoNavigator is always in selection mode except after clicking a block s exit connector anchor that doesn t have a flow line connecting to another block see Connecting Flow Chart Blocks on page 3 28 2 Toselect multiple blocks or connections do one of the following Selectarectangular area by pressing hold down the left mouse button dragging the cursor diagonally to size a rectangular area and then releasing the mouse button This technique selects any cell that is partially included in the selection rectangle That means that the block in the cell and any flow li
76. IX CONTACT 2373 en E onlinecomponents com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Flow Chart Tutorial The second flow chart see Figure 8 9 shows how to add more initial checks at the beginning with the rest of the flow chart so that each action initiates a function After examining all process functions flow returns to the top verifies that operating conditions are valid and then repeats Stop Raising Tank Temp Raise Tank Temp Tum off Catalyst Add Add Catalyst Figure 8 9 Tank control example two 2373 en E PHOENIX CONTACT 8 13 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator 8 2 2 Status Flow Charts Status flow charts have a characteristic repeating three block pattern see Figure 8 10 This structure is the quickest way to Monitor project events for example switches valves temperature pressure operator actions in a decision or compare block mmediately display status in associated action blocks Doitall over again Control Black Control Black Control Block Control Block Compare Black Flur Control Block Control Block Figure 8 10 Sample status flow chart example 8 14 PHOENIX CONTACT 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Flow Chart Tutorial A key characteristic of this type of flow chart is that no block between the first and last tw
77. MPONENTS Flow Chart Tutorial Cross Referencing Data Items Cross referencing data items is an important tool to use when verifying a project Examples of when to use cross references While monitoring a data item the value changes unexpectedly When intending to force a data item and wanting to identify everywhere the data item is used Changing a flow chart and impacting a data item wanting to identify everywhere the data item is used To cross reference a data item follow these steps 1 With the project running and in Monitor mode view the C Monitor window 2 Using either the Flow Charts or Blocks tab click the XRef hyperlink This displays the Project Information Cross Reference tab Project Information Data ltem 0 02 Right Brake Light Mame Location Address Action Flaw Chart l Control BU2 pem TN 0 Han T Ghat Chan Dessen Dedi feon NT Figure 8 34 Project Information Cross Reference tab The Project Information Cross Reference tab displays all locations that reference or modify the selected data item The is either Flow Chart or Message quickly access any listed reference double click anywhere in the row nanoNavigator automatically opens the flow chart or Message Editor and display
78. NIC COMPONENTS 3 2 4 Copying a Flow Chart To copy a chart from the Chart Explorer follow these steps 1 Click the chart to highlight it and then click the Copy button Alternatively right click the desired chart and then click Copy from the pop up menu 2 Inthe Chart Name dialog box that appears leave the default new name or type the new name 3 Click the OK button Alternatively from the Flow Chart Editor select the File Save Flow Chart As menu to save the chart with a new name and include it in the project The old chart remains open and in the project 3 2 5 Changing Execution Order The Chart Explorer provides the capability to rearrange chart execution order To change chart execution order do the following 1 From the Chart Explorer click the name of the desired chart to move 2 Usethe Up and Down buttons at the bottom of the window to reposition the highlighted chart Charts will execute in the order they are arranged It doesn t matter if it is a flow chart or ladder chart 3 2 6 Import Charts To import charts from another project follow these steps Click the Import button to display the Import Logic Chart dialog box Import Logic Charts Source Project Path Source Project Name labeli Figure 3 5 The Import Logic Chart dialog box 2373 en E 2373 en E THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Flow Chart Programming 4 Specifythe source proje
79. NLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS 2 2 Starting nanoNavigator After installation of nanoNavigator the software can be started 1 From the Windows Start menu select Programs Phoenix Contact nanoNavigator nanoNavigator to start the program Each time nanoNavigator starts it displays the nanoNavigator Startup dialog box nanoMavigator Startup Eg What da you want ta da Hun Connection Wizard Create a new Project Project NoName Open Existing Project Figure 2 1 nanoNavigator Startup dialog box 2 2 1 Run Connection Wizard The Run Connection Wizard requires a physical connection between the PC and a nanoLC Click the Run Connection Wizard button and nanoNavigator communicates with the connected nanoLC and determines the status of the project stored in the nanoLC memory This information is displayed and several options are made available Additional information on how to connect a nanoLine controller to a PC can be found in Connecting to a nanoL on page 2 13 To update the firmware in the nanoLC click the Run Connection Wizard button and see Updating nanoLC Firmware on page 6 10 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Getting Started EE nanoLC Connection Wizard Project Base Rew 101 Name Display Rew 100 T Revision v H
80. NTACT 3 THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator Table C 5 Scaling set to O to 2000 Integer Value Mm 1280 ev 1200 ev 1200 Fema 7 340 av wo Fema 1747 6 1600 ev 1600 Frama tara ov 180 1200 Table C 6 Scaling set to 100 to 1000 Device Range 410 20 mA 0 to 10V 10 to 10 V Integer Value 100 ______ 100 100 10 V 100 158 1V 190 8 V 190 6 mA 213 2 V 280 6 V 280 8 mA 324 3 V 370 AV 370 10mA 436 4V 460 2 V 460 Pama 664 6 60 2V 640 ema 774 TV 79 Fema 8 0 ev 620 Frama C 4 PHOENIX CONTACT 2373 en E D Appendix Section 1 Section 2 Section 3 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS D 1 List of Figures Figure 2 1 Figure 2 2 Figure 2 3 Figure 2 4 Figure 2 5 Figure 2 6 Figure 2 7 Figure 2 8 Figure 2 9 Figure 3 1 Figure 3 2 Figure 3 3 Figure 3 4 Figure 3 5 Figure 3 6 Figure 3 7 Figure 3 8 Figure 3 9 Figure 3 10 Figure 3 11 Figure 3 12 Figure 3 13 Figure 3 14 Figure 3 15 Figure 3 16 nanoNavigator Startup dialog box 2 4 The nanoLC Connection Wizard 2 5 nanoLC Configuration dialog box 2 7 Configure Base Unit dialog box 2 8 The Configure Serial Port dia
81. S Flow Chart Programming 3 5 4 Decision Block The Decision block evaluates a Boolean expression as true false The expression may consist of one or more bits The Decision block has one entry point and two exit points Yes No based on the Boolean decision Use the Decision Block dialog box to select the Decision bit s to be evaluated which are of these types Flag Decision Block nput Button Output Keypad key Timer Counter High Speed Counter To perform a non Boolean comparison use the Compare block see Compare Block on page 3 15 The AND and OR Operator in the dialog box permits adding a second Boolean condition to the expression Expressions are evaluated from top down nanoLC supports one or two Boolean conditions in one Decision block Double click the Decision block to edit its expression This displays the Decision Block Configuration tab see Figure 3 14 Decision Block E Configuration Comments Expression Item 1 Data Type Data Item Condition F 063 Last Brake Input State Mane Operator Figure 3 14 Decision Block Configuration tab 2373 en E PHOENIX CONTACT 3 19 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator Editing a Decision Block To edit a Decision block expression follow these steps 1 While in Selection Mode double click the Decision block to open the Decision Block
82. Select one of the expressions and then click the desired button to move it in the list 6 Click the OK button 2373 en E 2373 en E Message Block button online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Flow Chart Programming 3 5 7 Message Block When configured with the optional Operator Panel the nanoLC can display messages to the user Messages can contain static text dynamic values from any data item and data entry requests Double click the Message block to edit its expression This displays the Configuration page of the Message Block dialog box see Figure 3 17 Message Block Configuration Comments Message H ____ il Cancel Figure 3 17 Message Block Configuration tab The drop down list at the top of the page permits selection of a message number from O to 31 The Message Editor permits entry or modification of the message associated with that message number see Using the Message Editor on page 3 31 Only configured messages appear in the Message drop down list Obtaining User Input As defined in Inserting Data Entry Items on page 3 32 messages can include data variables that prompt for user input As the operator enters data through the keypad on the Operator Panel the Operator Panel processor validates the input data according to the data type specified Once the operator completes data entry and presses the OK k
83. UTOR OF ELECTRONIC COMPONENTS nanoNavigator The nanoLC scans flow charts in numeric order as they appear in the Chart Explorer shown Figure 8 15 starting with the flow chart at 1 Status in the example then 2 and so on Therefore if more than one flow chart is controlling a given output the enabled flow chart with the highest number on the list has the highest precedence for that output in each scan In other words if flow chart 2 turns an output and flow chart 3 turns it off the output would be off once the outputs are sent to the bus 2 Chart Explorer n 1 BrakeContral Rename 2 3 RightTurn 4 Display Copy 5 Hove Down New Flow Chart New Ladder Chart Figure 8 15 Flow Chart Explorer If there is only one flow chart in the project the last block to control the output in the current scan has precedence 8 20 PHOENIX CONTACT 2373 en E 2373 en E Menus Toolbar Row labels Status line online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Flow Chart Tutorial 8 4 Creating a Project This sample project is a control program for vehicle lights including turn indicators and brake lights With flow chart programming it is easy to create a project using nanoNavigator To begin notice that the flow chart workspace looks like a spreadsheet with row numbers and column letters see Figure 8 16 Identify specific cells of th
84. X CONTACT 8 43 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator 1 With the project running and in Monitor mode view the C Monitor window 2 Usingeitherthe Flow Charts or Blocks tab right click anywhere in the row of the data item to force Table 8 6 list the force options available depending on the type of data item Table 8 6 Force options available depending on data item type Input Force ON Sets the Input bit ON see Forcing Data Values on page 7 7 Force OFF Sets the Input bit OFF see Forcing Data Values on page 7 7 Removes Force setting Outputs and Flags Turn ON Sets the output or flag bit ON The value can change under program control Turn OFF Sets the output or flag bit OFF The value can change under program control Force ON Sets the output bit or flag ON see Forcing Data Values on page 7 7 Force OFF Sets the output bit orflag OFF see Forcing Data Values on page 7 7 Removes Force setting Registers and Set Value Displays a pop up dialog box that permits Timer Counters setting a value for the register or timer counter Sets the register or timer counter to zero Using the Monitor Forces tab permits viewing all forced items Monitor Project Forces Figure 8 33 The nanoLC Monitor Forces tab 8 44 PHOENIX CONTACT 2373 en E THE ONLINE DISTRIBUTOR OF ELECTRONIC CO
85. a item Double click anywhere in a row to display the chart or message and the element containing the data item 5 2 Data Type Descriptions There are ten data item types in nanoNavigator Depending on the nanoLC configuration some data item types may not be present in the Data Editor Analog Input Present if available in the nanoL C Use analog input to monitor voltages or values The Analog Input data item is a 16 bit number that is proportional to the actual voltage or current present at the input pin There are a maximum of 8 analog inputs The number available depends on the configuration of the nanoLC For more information on analog inputs see Handling Analog Values on page 5 16 Analog Output Present if available in the Use analog outputs to set voltages or values The Analog Output data item is a 16 bit number that is proportional to the actual voltage or current output There are a maximum of 8 analog outputs The number available depends on the nanoLC configuration selected For more information on analog outputs see Handling Analog Values on page 5 16 Display Message The Message data type provides support for the optional display on the nanoLC There are up to 32 messages with each message containing up to four lines of 20 characters Flag Flags are single bit variables that have a value of either O or 1 These are for general use to store a Boolean TRUE FALSE variable Although these are single
86. able or constant Move block or Move Coil can replace the current value with a new value or read the current value n Control blocks and Coils the following actions on a Counter are possible Increment Decrement Heset 2373 en E 2373 en E THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Data Operations 5 5 Using the Move Function The purpose of the Move block and Move Coil in a chart is to write data from one variable to another Mathematically a move data operation is the same as an assignment statement MOVE from Data Item A to Data Item B or LetB A It is important to see the move as an assignment operation or copy because the move is non destructive That is moving data from A to B does not clear A A still has its original value but B has a new value equivalent to A For readers who are more accustomed to using Load and Out instructions in accumulator based controllers just think of the Load Out combination as the Move block or Move Coil 5 5 1 The Move Expression The Move block and Move Coil is a specialized control method in nanoNavigator because it does a specific kind of action Double click the block to display the Move Block dialog box or double click the coil to display the Move Coil dialog box Move Black Ed Data Type Data ltem ___ SubType Figure 5 4 Move Block Configuration tab The dialog box is partitioned into the From and To groups Co
87. ag None OFF 069 Reserved 1 Flag None OFF 070 Reserved 2 Flag None OFF F 071 Stopped Flag Mone IF Figure 7 6 The nanoLC Monitor System Flags tab lists all system flags 7 2 Forcing Data Values Use the nanoLC Monitor Forces tab to view all forced items see Figure 7 5 permits forcing input output flag data items and the values of timers counters This provides a valuable verification capability When a data item has a forced value the value won t change due to different input states or under program control However forcing a data value doesn t make a permanent programming change nor does it change a preset value il Forcing a value doesn t change a preset or permanently modify the value To add forces follow these steps 1 Use the nanoLC Monitor Charts tab see Charts Tab on page 7 4 or nanoLC Monitor Blocks tab see Block or Element Tab on page 7 6 2 Openachartor select a block that references the data item 3 Right click the data item to force 4 Select Force On Force Off or Set Value as desired il Be sure to remove all forces before running a project in a production environment 2373_en_E PHOENIX CONTACT 7 7 nanoNavigator 7 8 PHOENIX CONTACT online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS 7 3 Using Execution Tracing in nanoNavigator Open charts in Monitor mode automatically provid
88. annot connect to it For more information on directly monitoring on the nanoLC see the nanoLC Hardware User Manual 2 2 2 Create a New Project Click the Create a new Project button and nanoNavigator displays the Configuration dialog box see Configuring nanoNavigator on page 2 7 After configuration a dialog box prompts to Create Flow Chart or Create Ladder Chart appears in the nanoNavigator workspace Click the desired chart type and the appropriate chart editor opens 2373 en E PHOENIX CONTACT 2 5 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator 2 2 3 Open Last Project The Open Last Project button displays the name of the most recently viewed project in parenthesis Click the button to open the listed project and with the most recently viewed chart displayed To open a different project than the most recently viewed click the drop down menu to view the full path and file name of the most recently viewed projects Click the desired file name to open the project 2 2 4 Open Existing Project Click the Open Existing Project button to display a browse dialog box opened to the directory most recently used to save or open a nanoNavigator project The Files of type field is set to display all Nano files in that directory nanoNavigator saves all project data charts and data items in one nano file per project After nanoNavigator is open the Open Project butt
89. anywhere below the existing rungs will insert a row at the bottom of the ladder chart Clicking on a row will insert the new rung on that row and move the existing row s down For instance if rungs exist in rows 1 through 4 clicking on row 3 will move the rung in row 3 to row 4 and the rung in row 4 to row 5 The new rung is in row 3 A second method to add rungs is available Right click on the row label and click Insert Rung on the menu To delete a rung right click on the row header and click Delete Rung on the menu Empty rows can also be added to the grid Right click on the row header and then click either Insert Row Before or Insert Row After on the menu It is not possible to add parallel branches to an existing rung if another rung is directly below it A blank row must be added first 4 16 PHOENIX CONTACT 2373 en E THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Ladder Chart Programming The various types of contacts and coils can be added to a rung To place elements on a page 1 Inthe Toolbar click the button of the desired element 2 Click in the desired location on an existing rung Contacts be placed columns A through D and coils can be placed column Oz Horz To remove an element from a rung Button 1 Inthe Element toolbar click the Horz button 2 Click the desired element to remove A rung must contain a contact in column A and a coil in column E It is not
90. ation of the nanoLC Ps nanoNavigator nanoLights Data Item Editor E File nanolc Window 2 05 1 Input m Left Turm Int XRef 101 Right Tum Input XRef 102 Brake Input XRef 1 03 Hazard Input XRef 04 Input 04 105 Display Brake State zm EN m Output Flag Timer Counter Register Keypad Key Analog Input I Display Message Expand All L allanse All Ready Figure 5 2 The Data Item Editor with an opened data type 5 1 3 Data Item Types For a list of data item types available in nanoNavigator see Data Type Descriptions on page 5 7 These data item types appear as headings in the Data Item Editor To view available data items for each type click the plus button in front of the type heading see Figure 5 2 2373 en E PHOENIX CONTACT 5 5 THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator New projects have all available data items listed Data items have an ID that corresponds to their ID on the nanoL and they have a default name which is modifiable Data item names can be up to 30 characters long Long data item names are split when they appear in a chart The data item name does not get downloaded to the nanoLC When uploading a project from a nanoLC nanoNavigator resets data item names to their default names if the project isn t available on the PC because data item names aren t stored on the nanoLC 5 1 4
91. ber available depends on the configuration of the nanoL C Outputs are on or off Analog Output An unsigned integer that represents gradually changing voltages values output from the nanoLC The number available depends on the configuration of the nanoL C See Handling Analog Values on page 5 16 Analog inputs provide gradually changing voltages values Timer Counter Maximum of 64 total timers and counters High Speed Counter Maximum of 2 May be enabled or disabled by project Register Maximum of 64 Configurable as Unconfigured Integer Date Time of Day Duration HH MM SS or msec Registers can have an initial value and may be retentive see Duration Preset and Retentive Values on page 5 8 Flag Maximum of 128 binary flags Flags can have an initial value set 1 and may be retentive see Duration Preset and Retentive Values on page 5 8 Keypad Key Maximum of 16 keys available if the optional Operator Panel is present on the nanoLC The keys include the digits 0 9 four arrow keys and In addition there is a Message Input Ready Keypad Key data item 8 2 Designing a Control Project Control projects generally need to accomplish the following four tasks Control a process by monitoring inputs and manipulate outputs in the desired order Display status information normal conditions Display diagnostic information abnormal conditions Recover from an error
92. ble 5 1 Output and Flag Actions 5 9 Table 5 2 Supported Data 5 10 Table 5 3 Valid Current Date Day Time Comparisons 5 11 Table 5 4 Move Summary us aa 5 15 Table 5 5 Analog Value Mapping 5 16 Section 6 Section 7 Table 7 1 Force options available depending on data item type 7 5 2373 en E PHOENIX CONTACT D 7 nanoNavigator Section 8 Appendix A Appendix B Appendix C Appendix D D 8 PHOENIX CONTACT Table 8 1 Table 8 2 Table 8 3 Table 8 4 Table 8 5 Table 8 6 Table B 1 Table B 2 Table C 1 Table C 2 Table C 3 Table C 4 Table C 5 Table C 6 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Data Items for Brake Control 8 24 Left Turn Flow Chart 8 26 Flow Line Connections 8 27 Message Data nennen 8 30 Simulator 8 39 Force options available depending on data item type 8 44 Base Unit Flags B 1 Ethernet Flags B 1 Defau
93. caling Applied table Scaling is applied to each input with the default being 0 4095 The base firmware will calculate the new integer values based on the scaling applied Variable names LowScale is the value entered as Scaling Lower Value This is the scaled value that equates to the low limit of the range i e reading O V for a 0 10 V range HighScale is the value entered as Scaling Upper Value This is the scaled value that equates to the high limit of the range i e reading 10 V for a 0 10 V range DataValue Value read from the analog module This value is always in the range of 0 to 4095 0 for low limit of range and 4095 for high limit of range With scaling applied values in analog inputs are the ScaledDataValue and not the actual DataValue To illustrate the formula with an example assume that DataValue with no scaling and a 5 V input provides an ActualDataValue of 2048 A DataValue with O to 1000 scaling and a 5 V input provides a ScaledDataValue of 500 The formula for the ScaledDataValue is ScaledData Value HighScale LowScale DataValue 4096 LowScale For example If LowScale 0 and HighScale 100 and DataValue 1024 i e reading 2 5 V ona 0 10 V range ScaledDataValue 100 0 1024 4096 0 25 If LowScale 1000 and HighScale 10000 and DataValue 1024 i e reading 2 5 V on a 0 10 V range ScaledDataValue 1
94. ccessful that the American National Standards Institute ANSI developed standards for flow charts in the early 1970s After that flow charts became a standard for displaying all types of procedures product launches quality practices troubleshooting documentation etc as well as a very reliable means for monitoring and controlling electro mechanical devices through PC based programs This is because people from all walks of life could easily understand a graphical path with instructions of what to do along the way Flow charts are step by step procedures written using blocks actions and decisions and flow lines Flow lines indicate direction of movement or path from block to block Flow charts are simple to write easy to understand and programming knowledge isn t required to write a flow chart In control programs flow chart paths return to a desired point in the path to repeat the process Generally it takes multiple flow charts to create a control project although it is conceivable that simple projects may require only one flow chart Control projects are a set of flow charts that control a process Control projects run on a computer like the nanoLC or a PC The computer runs a program that scans through user designed flow charts in a desired sequence To do this projects need to perform the following tasks Control the process by monitoring inputs Manipulate outputs as required Display status information
95. cell A1 to drop the Decision block for more information on Decision blocks see Branching Blocks on page 3 14 and Decision Block on page 4 35 nanoNavigator also supports drag and drop of a block from the toolbar to a cell in the flow chart 3 Click the Control button in the Block toolbar 4 Click cell A2 and then repeat to place a Control block in cell B2 for more information on Control blocks see Action Blocks on page 3 22 and Control Block on page 4 33 Now enter control information in each block To do that follow these steps 1 Double click the Decision block to display the Decision Block Configuration tab see Figure 8 17 Use this dialog box to specify a True False condition to test Decision Block Expression Item 1 Data Type Data Item Condition Last Brake Input State Operator Cancel Figure 8 17 Decision Block Configuration tab Use the Data Type drop down list to select Input Use the Data Item drop down list to select 1 02 Use the Condition drop down list to select ON Click the OK button Notice that the Decision block now displays IS Input 02 ON oa 2373_en_E THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Flow Chart Tutorial Using Meaningful Data Item Names nanoNavigator provides for the creation of meaningful names for inputs outputs and all other data item types To create meaningfu
96. components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Ladder Chart Programming TC 01 Ti mer Counter R 04 Register 04 Current Figure 4 17 Compare Contact symbols With Timer Counter data types using the mSec or HMS mode the Condition field allows selection of Done and Running indicated as a normally open contact or Not Done and Not Running indicated as a normally closed contact Counters are limited to Done and Not Done conditions If selecting an unconfigured Timer Counter a dialog box opens with a drop down list that permits configuration of the Timer Counter as a Counter Duration HMS or Duration x xxx When the Compare Contact dialog box is closed the symbol changes to show the two items being compared one above the symbol the other below If one of the items is a Data Item the Type and ID are displayed If the item is a constant the constant is displayed The operator used to compare the two items is displayed within the symbol PHOENIX CONTACT 4 21 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator Compare Contact Summary Table 4 3 defines all possible Compare Contact combinations Table 4 3 Valid Comparisons in a Compare Contact Data Item Type Sub a Register Integer X Constant Value X lt ee _ ruens XXXXXXXX Date
97. ct by either typing the full path in the Source Project Path field or by clicking the browse button 5 Usethe browse dialog box to navigate to the project directory and locate the source project Nano extension that contains the charts to import Once selected the source project name appears in the Import Logic Charts dialog box and all charts in the project appear in the list Import Logic Charts Source Project Path Froject N ano ms Source Project Quick Start 05 Flow 05 Ladder S way Switch Select All Flowchart 1 Figure 3 6 The Import Logic Chart dialog box with a project selected 6 Select one or more charts in the list using any of the following techniques Click on a chart Use standard Windows multiple selection techniques to select multiple charts Usethe Select All button to select all charts in the project and use the Clear All button to start over 7 Click the Add button to add the selected charts to the current project 8 Click the Exit button to close the Import Logic Charts dialog box 3 2 7 Deleting a Flow Chart To delete a flow chart use the Chart Explorer 1 Click the chart to highlight it and then click the Delete button or press the Delete key Alternatively right click the desired chart and then click Delete from the pop up menu 2 Click the Yes button in the confirmation box to delete the file or click
98. ct loaded in nanoNavigator isn t possible 6 4 Downloading a Project To download a project from nanoNavigator to the select the C Download menu This transfers the executable project to the nanoLC Select the nanoLC Download amp Go menu to transfer the executable project to the nanoL C and begin execution This single menu selection saves verifies and then downloads the project to the nanoLC It then runs the project on the nanoLC Although projects can be uploaded to the PC and modified from the uploaded version the data item names do not get downloaded so it is important to keep a copy of the original source project on the PC 6 5 Uploading a Project from the nanoLC To upload a project to nanoNavigator from the nanoLC follow these steps 1 If nanoNavigator currently has a project open select the File Close Project menu 2 Inthe nanoNavigator Startup dialog box select the Run Connection Wizard button Inthe Connection Wizard click the Upload button 2373 en E PHOENIX CONTACT 6 5 nanoNavigator 6 6 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Ifthe original project isn t available nanoNavigator creates a new project The data item names in this new project return to their default values Ifthe project exists on the PC nanoNavigator compares the two versions and displays any differences with a choice
99. ctually converted to a language the nanoLine controller understands it makes no difference which type of chart is used Because different logic is used charts cannot be converted between type NOTE Ladder charts cannot be opened with the Flow Chart Editor and flow charts cannot be opened with the Ladder Chart Editor 2 1 Installing nanoNavigator To install nanoNavigator either download a copy from the www phoenixcontact com or use the CD that comes with a Startup nanoNavigator is also available separately With the installation CD or file download follow these steps 1 Start the installation program Fora file download saved to disk find the setup executable file and double click it Withan installation CD insert it in the CD drive It should automatically start If it doesn t use Windows Explorer to navigate to the CD drive go to the folder and double click the setup executable file The name of the setup executable file varies It will however always be an exe file For more specific instructions see the readme instructions on the CD 2 Follow the instructions of the installation wizard The wizard has multiple pages After completing each page click the Next button at the bottom of the page 3 Clickthe Finish button to complete installation 2373 en E PHOENIX CONTACT 2 3 nanoNavigator 2 4 il a PHOENIX CONTACT onlinecomponents com THE O
100. d 2 6 10 The nanoLC Utilities dialog box 1 6 11 The Update nanoLC Firmware dialog box 6 11 The Connection Wizard 6 12 The nanoLC Utilities dialog box 1 6 13 7 3 Chart Explorer in Monitor mode 2 7 4 The nanoLC Monitor Flow Charts tab lists flow chart M 7 5 The nanoLC Monitor Blocks tab lists a block s data values 7 6 The nanoLC Monitor Forces tab lists forced data items 7 6 The nanoLC Monitor System Flags tab lists all system flags 7 7 0 3 PHOENIX CONTACT 2373 en E nanoNavigator Section 8 D 4 PHOENIX CONTACT Figure 8 1 Figure 8 2 Figure 8 3 Figure 8 4 Figure 8 5 Figure 8 6 Figure 8 7 Figure 8 8 Figure 8 9 Figure 8 10 Figure 8 11 Figure 8 12 Figure 8 13 Figure 8 14 Figure 8 15 Figure 8 16 Figure 8 17 Figure 8 18 Figure 8 19 Figure 8 20 Figure 8 21 Figure 8 22 Figure 8 23 Figure 8 24 Figure 8 25 Figure 8 26 Figure 8 27 Figure 8 28 Figure 8 29 Figure 8 30 Figure 8 31 Figure 8 32 Figure 8 33 Figure 8 34 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Flow chart segment showing an action and branching block 8 4 TOT 8 5 Decision Compare and Wait blocks appear as diamonds 8 6 An auto mode flow chart example 8 9 Initialization of t
101. d Integer Date Time of Day Duration HH MM SS or msec Registers can have an initial value and may be retentive Timer Counter The Counter data item is configured as a Timer Counter with a Counter subtype Counters range in value from O to 99 999 999 Timer Counter data items count upward once per millisecond The Timer Counter value accumulator is accessible to charts Timer data items have a type that determines whether the timer value is seconds and milliseconds or hours minutes and seconds The range of a Seconds timer is 0 00 to 99 999 999 The range of an HMS timer is 00 00 00 to 99 59 59 When a Timer Counter reaches a Preset value the Timer Counter sets a Done bit 5 2 1 Duration Preset and Retentive Values Outputs can have a Duration measured in seconds x xxx or hours minutes and seconds HH MM SS Outputs that have a duration can be pulsed flashed or latched or set see Outputs and Flags in Coils on page 5 9 Outputs without a pre defined Duration are always latched except in the case of a ladder chart where the output needs to be set to be latched Timer Counters can have a Preset that depends on the type Counter HH MM SS or Seconds A preset specifies the ending Done value for the timer or counter When reset the Timer Counter accumulator goes to zero When the accumulator reaches the Preset value the Timer Counter sets the Done bit To configure a Duration or Preset 1 Ope
102. d must match the subtype of the first operand Its drop down list only shows operands with matching or unconfigured subtypes If selecting an unconfigured item nanoNavigator permits changing the subtype to match the type of the first operand When comparing Current Date or Current Time or a register with a subtype of Date or Time of Day choose which components of the date or time to include in the comparison For instance to perform a date compare between the day and month ignore the year Likewise to perform a time compare between minutes ignore the hours and 3 16 PHOENIX CONTACT seconds In the example shown in Figure 3 13 the nanoLC will compare the register R 01 data item to see if it is equal to R 07 when this block executes If it is control will pass through the Yes path to the next block in that path If not control passes through the No path to the next block in that path 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Flow Chart Programming Editing a Compare Block To edit a Compare block expression follow these steps 1 While in Selection Mode double click the Compare block to open the Compare Block Configuration tab see Figure 3 13 2 Click the Data Type drop down to select the data item type Only valid data types appear in the list Available types are Register Timer Counter Analog Input Message Input Current Date Current Time Current Day
103. dd mm yy X hh mm ss X X Sun Sat mpg qus EN i Ed Ed X hh mm ss a XXXX XXX Counts X e Timer Counter XXXXXXXX X hh mm ss I 56 5 5 0 J Last 5 Co D XXXX XXX NM XXXXXXXX x Analog In x Analog Out HS Counter Message Input XXXXXXXX x XXXXXXXX Intege Date BN la 4 4 NE NN XXXXXXXX dd mm yy hh mm ss X X Sun Sat X hh mm ss E XXXX XXX Current Date dd mm yy EPEC EPEC Pf 3 53 o X a m Current Time NE NE Dao Day oien NNNM I Notes DoW is Day of the Week 1 X valid hh mm ss _ LLL LL IL IS LIN esu gt 5 oo e lt 4 22 PHOENIX CONTACT 2373 en E 2373 en E THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Ladder Chart Programming 4 5 5 Control Coil 4 A Control Coil represents the logical result of a rung As the elements on a rung are Coil evaluated a Control Coil defines the result or action If all the elements in the rung are Coil Button determined to be True the Control Coil becomes True and causes an action If any of the elements on the rung are False the Control Coil becomes False and the action does not occur A maximum of four Control Coils can be placed in parallel in a s
104. des the following options Show Rulers Displays horizontal and vertical rulers column and row labels along the edge of the drawing area Ruler Options Provides options for background color text color line color and font The Edit button associated with font selection displays a standard font selection dialog box The Edit buttons associated with color selection display a color picker dialog box For a description of the ways to use the color picker see Designer Colors Tab on page A 5 PHOENIX CONTACT 4 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Designer Colors Tab The Preferences Designer Colors tab permits selection of default colors for various designer features see Figure A 3 Preferences General Designer Options Block Colors Data Item Editor Flowchart Designer Surface E Connectors E dit Selected Connector Edit Connector in process Mouse Extension Edit Figure A 3 Preferences Designer Colors tab To change the color for any feature click the Edit button to display a color picker dialog box with pre defined colors For additional color choices click the More Colors link at the bottom of the dialog box to display the Color dialog box This dialog box repeats the basic 2373 en E PHOENIX CONTACT 5 THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator
105. e 5 8 For more information on timers see Using Timers and Counters on page 5 11 2373 en E PHOENIX CONTACT 8 23 nanoNavigator 8 24 PHOENIX CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Table 8 1 Data Items for Brake Control Example Datatype Di Label Type Duration ma Ho imu imu H2 _ imu 099 ermo _ foor Let Brake Out _ Oups Romeor _ _ Add Control Block Expressions to Brake Control Now return to the flow chart view to continue programming the Brake Control flow chart In this section add expressions to the two Control blocks Follow these steps 1 2 3 D g Select the Window Flow chart 1 menu Double click the Control block in cell A2 to display the Control Block dialog box In Expression ltem 1 select the following from the drop down lists Data Type Output Data Item Left Brake Output Action TurnOn In Expression Item 2 select the following from the drop down lists Data Type Output Data Item Right Brake Output Action TurnOn Click the OK button Now double click the Control block in cell B2 to display its Control Block dialog box In Expression Item 1 select the following from the drop down lists
106. e components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Flow Chart Tutorial Important characteristics of its structure are Eachrecovery task checked and acted on independently With the exception of the top decision block looping on itself very important for this flow chart the rest of the recovery flow chart is similar to a status flow chart Figure 8 12 on page 8 16 With greater familiarity creating flow charts using nanoNavigator consider removing the top decision block and placing the recovery condition testing in the Enable block see Enable Block on page 3 13 8 3 Project Execution When the is in run mode it repeatedly scans through the project and executes flow chart s Project execution occurs in the following sequence Check the state digital and value analog of all inputs Solve all enabled flow charts in numeric order skipping any flow charts that are disabled see Solving Flow Charts Send updated digital outputs Each scan cycle includes completion of these three steps and the nanoL C continuously repeats scan cycles until explicitly stopped or turned off 8 3 1 Solving Flow Charts On the first scan after selecting run on the nanoLC or the nanoLC Run menu in nanoNavigator the executes each enabled flow chart in the order in which it appears in the Chart Explorer see Flow Chart Execution Order In each enabled flo
107. e execution tracking With execution tracking nanoNavigator color codes blocks or elements to indicate if they were recently executed The color coding is Green Always executed on every scan Yellow Sometimes executed Red Enable block only The chart is inactive Gray Never executed These colors are defaults To select custom colors see Debug Tab on page A 9 2373 en E Flow Chart Tutorial 2373 en E This section provides information about Installing and starting nanoNavigator Using flow charting for the first time Flow Charting Primer Connecting nanoNavigator to the Creating a flow chart project Verifying the project 8 1 Flow Charting 8 1 1 Introduction and 8 1 2 Flow Charts M4 8 1 3 adiu tm 8 2 Designing a Control 8 2 1 Auto mode Flow 8 2 2 Status Flow 5 1222 2 8 2 3 Diagnostic Flow 8 2 4 Recovery Flow Chart 8 3 Project Execution 48 9 8 3 1 Solving Flow 8
108. e number entered is the destination for the copy operation An asterisk in the number field indicates the message has been configured previously PHOENIX CONTACT 4 29 nanoNavigator 4 30 PHOENIX CONTACT online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS 5 Clickthe OK button The copy operation executes immediately unless the destination message already has text or fields In that case a warning message appears before the operation completes 4 6 4 Clearing Messages To clear a message follow these steps 1 Select the View Message Editor menu or click the Edit Messages button on the Main toolbar to display the Message Editor Select the message to clear from the Current Message drop down list This displays the current message in the four lines of the Message group at the top of the window Click the Clear button This displays a confirmation dialog box Click the Yes button to clear the message 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Section 5 This section provides information about Data items Timers and counters Move blocks Analog values gt emcee meee nee TE mt 5 3 5 1 Using the Data Item 5 3 5 1 1 Displaying the Data 5 3 5 1 2 Data Item
109. e properties dialog box see Figure 3 21 appears Compare Block Configuration Comments Block Address Co Block Comments Mo Address ___ Yes Address Swap Figure 3 21 Compare Block Comments tab 2 Enterthe block comment and then click the button The Address fields for Yes and in the Compare and Decision block Comments tabs permit entry of a cell address see Grid and Cell Address on page 3 5 without drawing a connection 3 Toview all block comments on the flow chart instead of expressions select the View Block Comments menu 3 30 PHOENIX CONTACT 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Flow Chart Programming 3 8 Using the Message Editor The Message Editor see Figure 3 22 permits definition of up to 32 four line messages to use during project execution Each line can have up to 20 characters and lines can contain any combination of static text data item output and user requested input Message Clear Line BRR pt TTT TT et 2 _________________ _____ __ _ Current Message BO gt Insert Data Display Item Insert Symbol Type Insert Select Type w Data Item 4 gt mM Insert Data Entry Item Return Select Type v Inser
110. e workspace as with a spreadsheet so cell AO is the first cell in the upper left corner and cell BO is the cell in the second column first row PS nanoNavigator nanoLights Flowchart 1 oJ File Edit View nanolC Window Help WRES 55 2 Compare Contro Decision Message Move Wait Note Enable Toolbar Magnifier labels Workspace showing the Flow Chart Editor Scrollbars u se the arrow keys or the mouse to extend the line or press ESC to stop drawing the line Grid address nanoLC status indicators Figure 8 16 Initial flow chart window A new flow chart always has an Enable block in cell AO For more information about the Enable block see Enable Block on page 3 13 The Block toolbar provides easy placement of different flow chart blocks in the workspace It is above the flow chart workspace The basic technique is to click a Block toolbar button and then click a cell location in the workspace to drop the block in position Flow charts can only have one block per cell For further information on the elements on the nanoNavigator window and Flow Chart Editor see Exploring Flow Charts on page 3 3 PHOENIX CONTACT 8 21 nanoNavigator 8 22 PHOENIX CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS 8 4 1 Creating the Brake Control Program To begin creating the vehicle brake light control program follow these steps 1 Click the Decision button in the Block toolbar 2 Click
111. ear the Clear Line check boxes selected by default 8 32 PHOENIX CONTACT 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Flow Chart Tutorial 15 In the second and third lines use the Insert Symbol keys to enter a the left pointing arrow in the first three pixels Figure 8 24 shows the resulting Message Editor P nanoNavigator nanoLights Lentes Editer Clear Line _ _ _ Current Message IG Den Insert Data Display Item Insert Symbol Type n Data Item 4 ek n Insert Data Entry Item Retur Type Clear nen Figure 8 24 Message M 02 LeftTurnOn 16 Follow the same procedure to create the RightTurnOff and RightTurnOn messages with right pointing arrows on the right side of the message display 17 Follow similar procedures to create the LeftBrakeOff and RightBrakeOff messages For LeftBrakeOff message enter the space keys in the fifth through seventh pixels in the second and third lines For the RightBrakeOff message use the fifth through seventh pixels counting from the right side of the display 2373 en E PHOENIX CONTACT 8 33 nanoNavigator online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS 18 Follow similar procedures to create the LeftBrakeOn and RightBrakeOn messages For LeftBrakeOn message enter the up arrow symbol key in the fifth through seventh pi
112. ected The options are self explanatory 2373 en E THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS B Technical Appendix System Flags 2373 en E has predefined system flags that provide status information during project execution These flags are available through nanoNavigator The flags that appear in the Data Editor depend on the configuration options specified B 1 Base Unit Flags There are eight flags associated with the base unit They are Table B 1 Base Unit Flags UNE Real Time Clock Fault True if RTC is missing at startup or missing at one hour check Real Time Clock Battery True if RTC is present and battery is low Low Operator Display Fault True if Operator Panel is not present Serial Modbus RTU True if Modbus RTU Timeout Value 0 and Timeout A Modbus RTU Command has been received since startup and The timeout value was exceeded between Modbus commands Always OFF Always OFF nanoLC Stopped Used by Modbus hosts B2 Ethernet Flags There are 32 flags associated with the Ethernet module They are Table B 2 Ethernet Flags Fig F 72 ETH Set Read Only Mode Sets all data items to be read only when accessed through the Ethernet port ETH Command 01 Reserved Reserved for future use F 74 ETH Disable Port Disables the Ethernet port from remote access from outside network sources F 75 ETH Request DHCP Requests the Ethernet module to enter a mode asking for an IP
113. ected to the nanoLC follow the steps in Connecting to the nanoL C on page 6 4 2 Select the Set Date Time menu This displays the Set nanoLC Date 4 Time dialog box see Figure 6 5 Set C Date amp Time Date amp Time Sun Wed Thu Sat gcc cp TB BO Me 14 15 16 1 18 13 20 epo wq oh 2B 228 33 sol 123456PM Get PC Date amp Time Figure 6 5 Set nanoLC Date amp Time dialog box 3 Toquickly set the date and time to the current date and time of the PC click the Get PC Date amp Time button To set another date and time use the dialog box calendar and time controls Tochange the month and or year click the next or previous buttons in the calendar month year title Tochange the hour minute or second select the desired number and either type the number or use the spin button on the right change AM PM select the letters and either type A or P or use the spin button on the right 4 Clickthe Apply button to set the date and time on the nanoLC and leave the dialog box open Click the OK button to set the date and time on the nanoLC and close the dialog box 6 8 PHOENIX CONTACT 2373 en E 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Running Projects and Controlling the nanoLC 6 13 Lockthe nanoLC When locked the nanoL C does not permit changes until it
114. ed on the result of the comparison The type of comparisons available are less than lt equal to greater than gt greater than or equal to gt less than or equal to lt and IsEven There are also special direct time and date comparison operations for date time day of week day of month and day of year To compare Boolean values use the Decision Block see Decision Block on page 3 19 2373 en E PHOENIX CONTACT 3 15 nanoNavigator THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Double click the Compare block to edit its expression This displays the Compare Block Configuration tab see Figure 3 13 This example compares the register 01 with the name Big Number Register and register R 07 that has the default name Compare Black Configuration Comments First Item Data Type Register Data Item H U1 Big Number Register Integer Comparison Operator Equal Second Item Data Type Register Data Item H Register 07 Integer Figure 3 13 Compare Block Configuration tab When using a constant in the Compare Expression the variable operand must be the First Item and the constant must be Second Item Both Registers and Timer Counters have subtypes The default subtype of both is Unconfigured If selecting an unconfigured type for the first operand nanoNavigator prompts for selection of its type The subtype of the second operan
115. eger value 2373 en E PHOENIX CONTACT 5 17 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator 5 18 PHOENIX CONTACT 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Section 6 This section provides information about Verifying downloading running stopping projects Other nanoLC controls available through nanoNavigator Running Projects and Controlling the 97 6 3 6 1 Specifying the PC 6 3 6 2 Vening a PLO CCU E ea ae 6 4 6 3 Connecting to the _ 6 4 6 4 Downloading a 9 6 5 6 5 Uploading a Project from the 6 5 6 6 Downloading to the Memory 6 6 6 7 Uploading from the Memory 6 6 6 8 Clearing the Memory Module 6 6 6 9 Running a Project m c Ei 6 7 6 10 Stopping a Running 6 7 6 11 Set nanoLC 5 2 5 6 7 6 12 SetnanoLC Date Time 4 4 4 6 8 6 13 LOCK WO S ehe 6 9 6 14
116. eing entered on every scan after sending the message requesting input With a Ladder Chart a latch mechanism should be incorporated to prevent the logic from requesting data entry each scan Figure provides a typical example of a rung incorporating a Message coil that is logically true for a single scan Se inm eee F 003 K 00 59 0 Flag 00 5 Keypad Key 0 Display Message Display Msq F 003 Flag Set K 15 F 003 Message Input Ready Flag 003 Reset Figure 4 22 Message coil latching logic example In the example once Msg 0 is displayed F 003 is set to make rung 1 logically false Once the user presses the OK key on the nanoLC F 003 is reset allowing the message to display again provided the remainder of the project logic is true 4 26 PHOENIX CONTACT 2373 en E 2373 en E Move Move Coil Button THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Ladder Chart Programming 4 5 7 Move Coil The Move Coil transfers data from one location to another Doing a move from one data item to another moves copies the data of the first data item into the second data item The value of the first data item is preserved The Move Coil dialog box defines the From and data fields After selecting the Data the Data Item drop down list displays only those data items for the type selected Move Coil Configuration From Data Type Timer Counter Data Item T imer Co
117. ent positions in the Ladder Chart Editor ncell D1 the cursor indicates the contact will be inserted in series ncell the cursor indicates the contact will be inserted in parallel with the Decision Contact in cell A2 I ncell C2 the cursor indicates the contact will be inserted in parallel with the Decision Contact in cell C1 Cell B2is diagonally divided into two halves fthe mouse is clicked when the cursor is in the lower left the Decision Contact will be in series with the relay in cell A2 Both elements row 2 will be in parallel with the elements in cells A1 and A2 fthe mouse is clicked when the cursor is in the upper right the Decision Contact will be in parallel with the element in cell B2 and not in series with the element in cell A2 To configure a Decision Contact double click the Decision Contact in the workspace This displays the Decision Contact dialog box The Decision Contact is configured by selecting the data type data item and what the condition of the data item should be to make it true The configuration options for the different data item types are shown in Table 4 2 Decision Contact Configuration Expression Item 1 Data Data Item Condition Hone Cancel Figure 4 14 Decision Contact dialog box If all the conditions are met the expression is considered true If the conditions in the expression are not met the expression is considered fal
118. enu selections follow an ellipsis after the main menu for example File Print menu In some cases words and characters in a bold version of the text font indicate emphasis Other Text Conventions There a few hypertext links to Web pages They appear as underlined text for example www phoenixcontact com When viewing this manual in Adobe Acrobat they also appear as blue text Clicking one of these links launches the Web browser and attempts to connect to the link 1 4 PHOENIX CONTACT 2373 en E 2373 en E THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Before Beginning 1 4 1 Keyboard Commands Key names are shown as Alt Ctrl or Home Keyboard commands key combinations and key sequences are shown in Table 1 2 Table 1 2 Manual Conventions for Keyboard Command Keystroke s lt 1 gt lt 2 gt A plus sign between key names means to press and hold the first key lt Key1 gt and type the second key lt Key2 gt For example lt Alt gt lt F4 gt means to hold down the lt Alt gt key press the F4 key and then release both keys lt 1 gt lt 2 gt comma between key names means to type the keys individually in the sequence shown For example if instructed to type BR Enter type the letter lt R gt release it and then press the Enter key 1 4 2 Using a Mouse nanoLine controller development with nanoNavigator requires use
119. er another controlling the ball return and a third controlling a game display with each flow chart named for the process it controls PHOENIX CONTACT 8 9 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator Action blocks at the beginning ensure outputs are turned to desired states usually OFF timers and counters reset etc so nothing happens until the starting event initiates action see Figure 8 5 Depending on the needs of the project use one or more action blocks to perform this initialization Block Initialize outputs and timers Daisy chain branching blocks to verify all inputs at desired state Figure 8 5 Initialization of the project could look like this Branching blocks daisy chained together see Figure 8 5 ensure that desired inputs are in desired states before the process begins Depending on the project use one or more branching blocks for testing conditions before proceeding to the second part which waits for a starting event In the second part of the project a decision block waits see Figure 8 6 for an operator to start the operation by pressing a key or moving a switch to the correct position on or off Wait for start signal Figure 8 6 Use a branching block to wait for signal to start process 8 10 PHOENIX CONTACT 2373 en E 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Flow Chart Tuto
120. eration requires the express written consent of Phoenix Contact Violators are liable for damages Phoenix Contact reserves all rights in the case of patent award or listing of a registered design in as far as this concerns software of Phoenix Contact that meets the criteria of technicity or has technical relevance Third party products are always named without reference to patent rights The existence of such rights shall not be excluded Windows 3 x Windows 95 Windows 98 Windows NT Windows 2000 Windows XP and Windows Vista are trademarks of the Microsoft Corporation All other product names used are trademarks of the respective organizations How to contact us Up to date information on Phoenix Contact products and our Terms and Conditions can be found on the Internet at www phoenixcontact com Make sure you always use the latest documentation It can be downloaded at www phoenixcontact net download If there are any problems that cannot be solved using the documentation please contact your Phoenix Contact subsidiary Subsidiary contact information is available at www phoenixcontact com PHOENIX CONTACT GmbH amp Co KG PHOENIX CONTACT Flachsmarktstra e 8 P O Box 4100 32825 Blomberg Harrisburg PA 17111 0100 Germany USA Phone 49 0 52 35 3 00 Phone 1 717 944 1300 Fax 49 0 52 35 3 4 12 00 Should you have any suggestions or recommendations for improvement of the contents and layout of our man
121. es path the exit on the right is the No path The Decision Block Comments tab permits adding a block comment and swapping the positions of the Yes and exit paths another way is to right click a block then select Swap Yes No Connectors from the pop up menu Entering the block s cell address and Cell Address on page 3 5 explicitly sets or modifies the target block of the Yes or connector 3 20 PHOENIX CONTACT 2373 en E 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Flow Chart Programming Decision Block Summary Table 3 3 defines all possible Decision block combinations Table 3 3 Valid Comparisons in a Decision Block Timer Counter HS Counter Item A Nu pe qesiq ma foupat e ue Keypadenty __ xp el Timer Counter 6 Ix x x ep Jews XIX 1 X valid PHOENIX CONTACT 3 21 THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator 3 5 5 Action Blocks nanoNavigator has four types of action blocks Control Message Move and Wait see Figure 3 15 For more information on action blocks see Types of Action Blocks on page 8 5 Figure 3 15 Action blocks 3 22 PHOENIX CONTACT 2373 en E Control Control block Button Control Block
122. es input via nanoLC Operator Panel keys Table 8 4 Message Data Items Wo 7 17 ReWumg 4 Selectthe View Messages menu to open the Message Editor The Message Editor defines messages that a control program can write to the optional Operator Panel Messages may also define inputs that the operator needs to provide via the built in Operator Panel keys 5 Leavethe first line of the message blank and leave the Clear Line check box selected selected by default for line 1 When a flow chart program executes a Message block the entire message is written to the display Only pixels specifically highlighted get written The Clear Line check box selected by default causes the C to clear the entire line before writing the new data to the display For more information about the Message Editor see Using the Message Editor on page 3 31 6 Inthe second and third line enter the letters nano centered beginning with the ninth pixel Clear the Clear Line check box for both lines 7 Inthe fourth line position the highlighted box in the eleventh position and then use the Insert Data Entry Item group to do the following Usethe Return Type drop down list to select Time of Day Click the Insert button 8 30 PHOENIX CONTACT 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Flow Chart Tutorial 8 message
123. escribed in the technical documentation at its own discretion and without giving prior notice insofar as this is reasonable for the user The same applies to any technical changes that serve the purpose of technical progress The receipt of technical documentation in particular data sheets installation instructions manuals etc does not constitute any further duty on the part of Phoenix Contact to furnish information on alterations to products and or technical documentation Any other agreement shall only apply if expressly confirmed in writing by Phoenix Contact Please note that the supplied documentation is product specific documentation only and that you are responsible for checking the suitability and intended use of the products in your specific application in particular with regard to observing the applicable standards and regulations Although Phoenix Contact makes every effort to ensure that the information content is accurate up to date and state of the art technical inaccuracies and or printing errors in the information cannot be ruled out Phoenix Contact does not offer any guarantees as to the reliability accuracy or completeness of the information All information made available in the technical data is supplied without any accompanying guarantee whether expressly mentioned implied or tacitly assumed This information does not include any guarantees regarding quality does not describe any fair marketable quality and does not make
124. ey the Operator Panel passes the input to the flow chart and sets the Message Input Ready key for one scan cycle Flow charts that require operator input must continue to look for the Message Input Ready key or some overriding condition that would inhibit data from being entered on every scan after sending the message requesting input PHOENIX CONTACT 3 25 THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator 3 5 8 Move Block The Move block simply moves data from one location to another Doing a move from one data item to another simply moves copies the data of the first data item into the second data item The value of the first data item is preserved The Move Block Configuration tab see Figure 3 18 permits definition of the From and To data fields After selecting the Data Type the Data Item drop down list displays only i those data items for the type selected utton For more information on how the Move block performs powerful data manipulations refer to Using the Move Function on page 5 13 Move Block Data Type Data ltem I SubType Figure 3 18 Move Block Configuration tab 3 26 PHOENIX CONTACT 2373 en E THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Flow Chart Programming Wait Block Button 3 5 9 Wait Block The Wait block inserts a wait period i
125. follow these steps 1 Click the chart to highlight it and then click the Copy button Alternatively right click the desired chart and then click Copy from the pop up menu 2 Inthe Chart Name dialog box that appears leave the default new name or type the new name 3 Click the OK button Alternatively from the Ladder Chart Editor select the File Save Ladder Chart As menu to save the chart with a new name and include it in the project The old chart remains open and in the project 4 2 5 Changing Execution Order The Chart Explorer provides the capability to rearrange chart execution order To change chart execution order do the following 1 From the Chart Explorer click the name of the desired chart to move 2 Usethe Up and Down buttons at the bottom of the window to reposition the highlighted chart Charts will execute in the order they are arranged It doesn t matter if it is a flow chart or ladder chart 4 2 6 Import Charts To import charts from another project use the Chart Explorer 1 Click the Import button to display the Import Logic Chart dialog box Import Logic Charts Source Project Path Source Project Name labeli Figure 4 6 The Import Logic Chart dialog box 2373 en E PHOENIX CONTACT 4 9 nanoNavigator THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Specify the source project by either typing the full path in the Source Project Path field or by click
126. function as the nanoLC Stop see Stopping a Running Project on page 6 7 Download amp Go Downloads the project currently open in nanoNavigator to the This single click saves verifies and then downloads the project to the It then runs the project on the nanoL Performs the same function as nanoLC Download amp Go menu see Downloading a Project on page 6 5 Simulator Starts simulation of the project see Connecting to the Simulator on page 8 39 Zoom Buttons Combo Box Zoom In and Zoom Out see Zooming In or Out on page 3 6 3 1 2 Grid and Cell Address The Flow Chart Editor uses a fixed grid of five columns labeled A to by any number of rows numbered 1 to n for placement of flow chart blocks The grid defines cells that are labeled by column letter and row number For example cell AO is the cell in the upper left location of the flow chart By default the grid lines are visible in flow charts Whether the grid lines are visible or not cell references are by their cell address Turning the Grid On and Off To turn the page grid on or off follow these steps 1 go 2373 en E Select the File Preferences menu to display the multi page Preferences dialog box Click the Designer Options tab Click the Show Grid Lines check box to turn the grid line on or off respectively Click the OK button and then answer any message dialog boxes that a
127. g a connected nanoLine controller If the block is green the chart is active If it s red the ladder chart is inactive another chart is active If it s gray the project is not running 2373 en E THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Ladder Chart Programming Expressions can be added to the Enable block to set conditions for running the chart To add statements to the expression using logical operators double click the element The result of the expression is either true or false enabling or disabling the chart Enable Black Configuration Comments Expression tem 1 Data Type Condition d Figure 4 11 The Enable Block dialog box The AND and OR Operator in the dialog box permits addition of a second Boolean condition to the expression AND has greater precedence than OR in other words AND expressions are evaluated before OR expressions and then they are evaluated from top down nanoLC supports one or two Boolean conditions in an Enable block nanoLC evaluates the Enable element every scan at the time when the chart executes based on the position of the chart in the chart list see Changing Execution Order on page 4 9 The chart only runs if its expression is true at the start of the scan Onthe first scan or whenever the Enable element expression transitions from FALSE to TRUE chart execution starts at the Enable element Otherwise execution starts where it left off the pre
128. g parameters is from 10000 to 10000 Scaling is a technique for converting input voltages or amperage to an integer value see Handling Analog Values on page 5 16 2 3 3 Operator Panel Use the drop down list to select the model of Operator Panel installed Configure the Fault Action for the Operator Panel using the drop down list A fault occurs when the project expects an Operator Panel and the nanoLC doesn t have one Choices for handling faults are Fault sets a fault condition and stop execution Warning sets a warning condition and continue execution Warning on Access sets a warning condition only if the project attempts to access the device and continue execution Ignore continues execution without posting a warning or fault condition 2373 en E PHOENIX CONTACT 2 11 nanoNavigator 2 12 PHOENIX CONTACT online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS 2 3 4 COM Interface Use the drop down list to select the model of module installed Once selected the Configure button becomes available For the nLC COM ENET MB1 option click the Configure button to display the Configure Ethernet dialog box Configure Ethernet IP Address Obtain IP Address using DHCP Use the following IP Address i RES Se Modbus Watchdog Seconds Figure 2 8 The Configure Ethernet dialog box configures the Ethernet option The options avai
129. gard of information contained in this manual Explanation of symbols used and signal words hazards Obey all safety messages that follow this symbol to avoid possible This is the safety alert symbol It is used to alert you to potential personal injury AN injury or death DANGER This indicates a hazardous situation which if not avoided will result in death or serious injury WARNING This indicates a hazardous situation which if not avoided could result in death or serious injury CAUTION This indicates a hazardous situation which if not avoided could result in minor or moderate injury The following types of messages provide information about possible property damage and general information concerning proper operation and ease of use NOTE This symbol and the accompanying text alerts the reader to a situation which may cause damage or malfunction to the device either hardware or software or surrounding property This symbol and the accompanying text provides additional information to the reader It is also used as reference to other sources of information manuals data sheets literature on the subject matter product etc 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator General terms and conditions of use for technical documentation Phoenix Contact reserves the right to alter correct and or improve the technical documentation and the products d
130. he Memory Module Once installed upload or download projects from or to the Memory Module see Downloading to the Memory Module on page 6 6 and Uploading from the Memory Module on page 6 6 6 2 Verifying a Project At any time it is possible to verify that the project is error free and consistent with the attached or configured nanoLC see Configuring nanoNavigator on page 2 7 by selecting the nanoL C Verify Program menu This opens the Project Information Messages tab Project Information DrassRieference Messages Yerkyng Timer Counter Presets Yerkbyng Flow Charts Verfyng Flow Chart Brake Control Venting Flow Chart LeftTurm Flow Chart Right Tarn Vernfying Flow Chart Display Vertying Flow Chart Brake Yerkbyng Flow Chart Many B Flaw Charts 63 block 666 bytes Yerkbyng Messages 12 Messages verified 26 helds 198 bytes Figure 6 2 The Project Information Messages tab If the verification process identifies errors check that the configuration matches the nanoLC intended for project execution If there are errors identified in a chart double click the error message to display the chart containing the error The error message identifies the chart specific cell in the chart type of block and error cause With this information find and correct any problems encountered 6 3 Connecting to the nanoLC Before transfe
131. he data item The pop up menu has the same choices listed in Charts Tab on page 7 4 7 1 3 Forces Tab The nanoLC Monitor Forces tab lists all data values used or modified in the running project In addition use this window to change or force values Monitor Project Forces Flow Chart Block Forces System Flags Left Turn Light X XXX Sec Figure 7 5 The Monitor Forces tab lists forced data items To modify or force a data or I O value right click on the row that contains the data item The pop up menu has the same choices listed in Charts Tab on page 7 4 7 6 PHOENIX CONTACT 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Verifying a Project 7 1 4 System Flags Tab The Monitor System Flags tab see Figure 7 6 lists all system flags available to nanoNavigator and their current value System flags provide status information that the control program can access For a list of all available system flags see Technical Appendix System Flags Monitor Project System Flags Flow Chart Block Forces System Flags F 064 Real Time Clock 065 Real Time Clock Battery Low Flag Mone GFF Operator Panel Flag None OFF F 067 Mo Communication Module Flag None ON F 068 Serial Modbus Timeout Fl
132. he project could look like this 8 10 Use a branching block to wait for signal to start process 8 10 Project control consists performing I O as required 8 11 Tank control example one 8 12 Tank control example two 0 8 13 Sample status flow chart example 8 14 Sample status flow chart variation 1 8 15 Sample status flow chart variation 2 8 16 Sample diagnostic flow chart 8 17 Sample recovery flow chart 8 18 Flow 8 20 Initial flow chart window 8 21 The Decision Block Configuration tab 8 22 The Data Item Editor initially displays all available data types 8 23 Brake control flow 2 8 25 Completed flow chart top half 8 28 Completed LeftTurn flow chart bottom half 8 29 Message M 00 Background 8 31 Message
133. her window Display the Data Editor by selecting it from the Windows menu selecting it again from the View menu or pressing lt Ctrl gt lt F6 gt or lt Ctrl gt lt Shift gt lt F6 gt until it appears on top With Windows Cascade selected or one of the Tile options with the Data Item Editor open the Data Item Editor appears along with all open charts PHOENIX CONTACT 5 3 nanoNavigator 5 4 PHOENIX CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS 5 1 2 Data Item Editor The initial view of the Data Item Editor lists the data item types in nanoNavigator see Figure 5 1 Each data item type is preceded by a plus button Click the button to view the defined data items of that type Ps nanoNavigator nanoLights Data Item Editor oJ File Window Help 6 29 US er Input Output Flag Keypad Key Timer Counter Register Analog Input Display Message Figure 5 1 The Data Item Editor initially displays all available data types The Data Item Editor displays the defined data items of one or more types by clicking the plus button in front of the type heading If necessary use the scroll bar to view the entire list of data types and or data items 2373 en E THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Data Operations In nanoNavigator all data items are pre defined based on the configur
134. ht Output x SEC Brake Light Output Pe Sec ow Figure 8 30 Simulation of the nanoLights project PHOENIX CONTACT 8 41 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator 8 5 3 Monitoring the Project Once nanoLC has a project downloaded to it nanoNavigator can start stop and monitor its execution by viewing flow charts and data items nanoNavigator can even modify data items inputs and outputs To monitor the project follow these steps mi 1 Selectthe nanoLC Run menu Start 2 Select the nanoLC Start Monitoring menu or click the Start Monitoring button on Monitoring the Main toolbar This displays the nanoLC Monitor window see Figure 8 31 For Button more information about this window and how to use it see nanoLC Monitor Window on page 7 4 When attempting to monitor a stopped project nanoNavigator provides the opportunity to automatically begin execution on the nanoLC Monitor BrakeControl Flow Chart Block Forces System Flags 063 Brake Switch Edge Detector Brake Input Input None OFF XRef Left Brake Output Output sec OFF XRef Right Brake Output Output oec OFF XRet Brake Cycle Count Timer Counter Counter XRef Brake Accumulated Time Timer Counter HH MM SS 00 00 00 10 00 00 XE ef Figure 8 31 The nanoLC Monitor Flow Charts tab The nanoLC Monitor Flow Charts
135. ialog box 4 Usethe Copy Message dialog box to enter a message number or use the up down buttons to select a message number The number entered is the destination for the operation H An asterisk in the number field indicates the message has been configured previously 3 32 PHOENIX CONTACT 2373 en E 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Flow Chart Programming 5 Clickthe OK button The copy operation executes immediately unless the destination message already has text or fields In that case a warning message appears before the operation completes 3 8 4 Clearing Messages To clear a message follow these steps 1 Select the View Message Editor menu or click the Edit Messages button on the Main toolbar to display the Message Editor Select the message to clear from the Current Message drop down list This displays the current message in the four lines of the Message group at the top of the window Click the Clear button This displays a confirmation dialog box Click the Yes button to clear the message PHOENIX CONTACT 3 33 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator 3 34 PHOENIX CONTACT 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Section 4 This section provides information about Managing charts using Chart Explorer Using the Ladder Char
136. ick the Exit button to close the Chart Explorer Alternatively select the File New Chart and choose either a flow or ladder chart from the list To open an existing chart select the File Open Chart menu and click the desired chart from the list 3 2 1 Opening a Flow Chart To open a flow chart for editing from the Chart Explorer double click the chart in the list or click the chart name to select it and then click the Open button Alternatively the ladder chart can be selected from the File Open Chart menu 3 2 2 Creating a New Flow Chart To create a new chart from the Chart Explorer click the New button The new chart will be the same type of chart as last viewed either ladder or flow To create a new chart of a different type click the New button drop down list on and click desired chart type Alternatively select the File New Chart and choose either a flow or ladder chart from the list 3 2 3 Renaming a Flow Chart To rename a chart follow these steps 1 Click the chart to highlight it and then click the Rename button Alternatively right click the desired chart and then click Rename from the pop up menu 2 Inthe Rename Chart dialog box that appears type the new name Chart names limited to 12 characters 3 Click the OK button 2373 en E PHOENIX CONTACT 3 7 nanoNavigator 3 8 PHOENIX CONTACT online components com THE ONLINE DISTRIBUTOR OF ELECTRO
137. ified in the visible chart or a selected block and all forced data values The following sections describe these tabs in more detail 7 1 1 Charts Tab The nanoL C Monitor Charts tab lists all data values used or modified in the open chart The name in the tab changes to reflect the type of chart being monitored 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Verifying a Project Use this window to change or force values Monitor BrakeControl Flow Chart Block Forces System Flags 063 Brake Switch Edge Detector Brake Input Input Mone OFF XRef Left Brake Output Output sec OFF XRef Right Brake Output Output X XXX DEC OFF XRet Brake Cycle Count Timer Counter Counter Ref Brake Accumulated Time TimernCounter HH MM SS 00 00 00 10 00 00 Ret Figure 7 3 The nanoLC Monitor Flow Charts tab lists flow chart data values To modify or force a data or I O value right click on the row that contains the data item The pop up menu has the choices shown in Table 7 1 Table 7 1 Force options available depending on data item type Input Force ON Sets the Input bit ON see Forcing Data Values on page 7 7 Force OFF Sets the Input bit OFF see Forcing Data Values on page 7 7 Removes Force setting Outputs and Flags Turn ON Sets the output or flag bit ON The value can change under program control Turn OFF Sets
138. iguration tab 3 23 PHOENIX CONTACT D 1 nanoNavigator Section 4 D 2 PHOENIX CONTACT Figure 3 17 Figure 3 18 Figure 3 19 Figure 3 20 Figure 3 21 Figure 3 22 Figure 4 1 Figure 4 2 Figure 4 3 Figure 4 4 Figure 4 5 Figure 4 6 Figure 4 7 Figure 4 8 Figure 4 9 Figure 4 10 Figure 4 11 Figure 4 12 Figure 4 13 Figure 4 14 Figure 4 15 Figure 4 16 Figure 4 17 Figure 4 18 Figure 4 19 Figure 4 20 Figure 4 21 Figure 4 22 Figure 4 23 Figure 4 24 Figure 4 25 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Message Block Configuration 3 25 Move Block Configuration 3 26 Wait Block Configuration tab 2 2022211 3 27 Sample flow chart with flow lines connecting all blocks 3 29 Compare Block Comments 3 30 Use Message Editor to define and edit messages in a project 3 31 Select of First Chart dialog box 4 3 nanoNavigator showing a ladder chart window 4 4 nanoLC status ICONS nennen nnns 4 5 Main toolbar 4 5 Chart Explorer
139. ing the browse button Use the browse dialog box to navigate to the project directory and locate the source project Nano extension that contains the charts to import Once selected the source project name appears in the Import Logic Charts dialog box and all charts in the project appear in the list Import Logic Charts Source Project Path Froject N ano ms Source Project Quick Start 05 Flow 05 Ladder S way Switch Select All Flowchart 1 Figure 4 7 The Import Logic Charts dialog box with a project selected 4 Select one or more charts in the list using any of the following techniques Click on a chart Use standard Windows multiple selection techniques to select multiple charts Usethe Select All button to select all charts in the project and use the Clear All button to start over Click the Add button to add the selected charts to the current project Click the Exit button to close the Import Logic Charts dialog box 4 2 7 Deleting a Ladder Chart To delete a ladder chart use the Chart Explorer 1 Click the chart to highlight it and then click the Delete button or press the Delete key Alternatively right click the desired chart and then click Delete from the pop up menu Click the Yes button in the confirmation box to delete the file or click the button to cancel The only way to undo deletion of a chart is by c
140. ingle rung They are always located in column E at the end of a rung A Control Coil may be a physical output such as a lamp or an internal output such as a flag or timer counter that is used elsewhere in the chart Control Coil Configuration Expression Item 1 Data Type Data Item Action Figure 4 18 Control Coil dialog box To configure a Control Coil double click the Control Coil in the workspace This displays the Control Coil dialog box The Control Coil is configured by selecting the data type data item and what the resulting action of the data item should be When all the previous elements in the rung are met the Rung is considered True and the condition is set as specified in the Action field If the conditions in the expression are not met the expression is considered False and the action is not performed The On and Off Actions are momentary and will remain in those conditions as long as the contact logic before it remains true or false The Set Action latches the coil until elsewhere in the program a Reset is issued or an Off Action is issued Q 00 Output 00 F 001 Flag 001 Figure 4 19 Control Coil symbols PHOENIX CONTACT 4 23 THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator When the Control Coil dialog box is closed the symbol changes to represent the desired action of the element If the configured condition is On Set or Reset the symbol appears as normally o
141. ion is zero the block defaults to one scan cycle 8 6 PHOENIX CONTACT 2373 en E 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Flow Chart Tutorial 8 1 3 Data Items Data items provide labels for inputs outputs timers messages and internal storage In nanoNavigator the Data Item Editor labels data items up to 30 characters Data items appear in flow chart blocks to control a project Each label personalizes the item timer counter etc output valve motor LED etc or monitor pressure gauge flow meter switch etc Personalizing data items helps identify an item s purpose whenever it s used in a flow chart block Therefore make sure the label or name reflects the purpose of the data item For instance some input names in a greenhouse project might be Greenhouse Temperature GH3 Water Flow Rate GH3 Windows Opened GH3 Windows Closed output names might be GH3 Valve Open GH3 Windows Close GH3 Windows GH3 Sun Lamps nanoNavigator supports the nine data item types available on the nanoLC They are Input The number available depends on the configuration of the nanoLC Inputs are on or off Analog Input An unsigned integer that represents gradually changing voltages values input to the The number available depends on the configuration of the nanoL C See Handling Analog Values on page 5 16 Output The num
142. ions Fill Blacks with color Tithe Description Font Ar i Inside Text Font Arial 12pt Message Thumbnail Font Arial 11 pt Outside Text Font Courier Hew 10pt Bold Humber Font lo Borders Black Black Selected Back Calor Black Selected T ext Enable Black Background Figure A 5 Preferences Block Colors tab Select the Fill Blocks with color check box to use the color information on this tab When this box is cleared all flow chart blocks have a white background This tab provides options for text and number fonts and colors for block borders text selected block and selected text There are also separate block fill options for each of the block types The Edit buttons associated with font selections display a standard font selection dialog box The Edit buttons associated with color selection display a color picker dialog box For a description of the ways to use the color picker see Designer Colors Tab on page A 5 2373 en E PHOENIX CONTACT 7 THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator A 5 Data Editor Tab Use the Preferences Data Item Editor tab Figure A 6 to define the appearance of the Data Item Editor Preferences General Designer Options Designer Colors Black Colors Data Item E ditor Debug Fonts Header Font Collapsed View Arial 10pt Bold Grid Font Expanded View Arial 10pt Grid Column Header Font Expanded View
143. l names of up to 30 characters use the Data Item Editor Follow these steps to create a meaningful name for Input 02 1 Select the View Data Items menu to display the Data Editor Ps nanoLights Data Item Editor oH File wiew nanoLcC Window Help A 1 277 Input Output Flag Keypad Key Timer Counter Register Analog Input Display Message Figure 8 18 The Data Item Editor initially displays all available data types 2 Click the plus sign in front of Input to display available inputs The number of inputs that appear depends on the configuration of the nanoLC 3 Inthe Label column select Input 02 4 With Input O2 selected type Brake Input This is the new friendly name for Input 02 Notice that this input has l 02 in the DI column This is the data item name used on the nanoLC In nanoNavigator use either the DI or the friendly name in the Label column In most cases nanoNavigator displays both names Friendly data item names aren t stored or displayed on the nanoLC On the nanoLC reference data items by the DI name 5 Continue naming data items needed or wait and name them as programming continues For this tutorial create the data items listed in Table 8 1 For more information on Retentive data items see Duration Preset and Retentive Values on pag
144. lable in this dialog box are Click the Obtain IP Address Using BootP button to use an address assigned by Phoenix Contact IPassign exe downloadable from www phoenixcontact com Factory Manager or another BOOTP server Click the Obtain IP Address using DHCP button if there is a DHCP server on the network Click the Use the following IP Address button and enter the static IP Address and Subnet Mask in the fields that become available Modbus TCP parameters and options Write Mode defines Modbus TCP Read Write conditions Read Write allows a Modbus Client to read and write commands to the nanoLC Read allows a Modbus Client to read data from the nanoLC Watchdog Timeout field enter a timeout value in the field or use the up down buttons to set a value in seconds and tenths of a second If the timeout is exceeded after executing a command the nanoLC issues a fault as defined in the Fault field Leave the Timeout value at 0 0 to disable the watchdog timer 2373_en_E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Getting Started Fault field Provides options for handling a fault when the project is expecting a response from Modbus TCP and doesn t receive one within the watchdog timeout limit Choices for handling faults are Fault sets a fault condition and stops execution and Warning sets a warning condition and co
145. log box 2 9 The Configure RTC dialog box 2 10 The nLC IO 4Al configuration dialog box 2 11 The Configure Ethernet dialog box configures the Ethernet um We Gd 2 12 RS 232 programming connection 2 14 nanoNavigator showing a flow chart window 3 3 status icons nennen 3 4 3 4 2 ee een 3 6 The Import Logic Chart dialog box 3 8 The Import Logic Chart dialog box with a project selected 3 9 Vertically tiled flow chart windows 3 10 From left to right Cut Copy and Paste buttons 3 12 Undo and Redo buttons 3 12 Every new flow chart opens with a predefined Enable block 3 13 The Enable Block dialog box 3 13 Decision and Compare blocks appear as diamonds 3 15 Compare Block Configuration 3 16 Decision Block Configuration 3 19 3 22 Control Block Conf
146. log box appears Click the Run Connection Wizard button and nanoNavigator communicates with the nanoLC If nanoNavigator is running select the nanoLC Download or nanoLC Download amp Go menu Or select the nanoLC Monitoring menu to monitor the project as it runs on the nanoLine controller see Section 6 Running Projects and Controlling the nanoL C for more information 2 14 PHOENIX CONTACT 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Section 3 This section provides information about Managing charts using Chart Explorer Using the Flow Chart Editor and creating flow charts Using the Message Editor Fow Chart Programimi g MR mr 3 3 3 1 Exploring Flow m T ae ee ee 3 3 3 1 1 Using the Main 3 4 3 1 2 Grid and Cell Address 3 5 3 1 3 MOr 3 6 3 2 Chart Explorer 2 2 7 3 6 3 2 1 Opening a Flow 3 7 3 2 2 Creating a New Flow 2 3 7 3 2 3 Renaming a Flow 3 7 3 2 4 Copying a Flow Chart 3 8 3 2 5 Changing Execution 3 8 3
147. losing the project without saving changes This abandons all changes that were made to the project since the last save 4 10 PHOENIX CONTACT 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Ladder Chart Programming 4 3 Displaying Multiple Charts By default when opening a chart nanoNavigator maximizes it in the workspace Switch to other open charts using either the list in the Window menu or by pressing the lt Ctrl gt lt F6 gt or lt Ctrl gt lt Tab gt lt Ctrl gt lt Shift gt lt F6 gt or lt Ctrl gt lt Shift gt lt Tab gt to reverse the order keys nanoNavigator also permits maximizing minimizing or closing any chart window by using the Window controls in the upper right corner nanoNavigator allows multiple charts to be open simultaneously This is very useful for copying ladder chart logic from one ladder chart to another NOTE Different chart types can be opened simultaneously However it is not possible to copy content between different chart types Only content from a flow chart can be copied into a flow chart and only content from a ladder chart be copied into a ladder chart x nanoNavigator Quick Start Je Ss o R dE Rung Con act SOME Coil Message Move OS Ladder Display Msg Msg 0 Cuplay 01 Display Msg Figure 4 8 Vertically tiled ladder chart windo
148. lowing defines the Actions available in a coil for outputs and flags Table 5 1 and Flag Actions Flow Chart Ladder Chart Output flag is turned ON until a Not applicable TurnOff command is executed is turned OFF until a Not applicable TurnOn command is executed Not applicable Output flag is ON if the rung logic is True Otherwise the output flag is OFF Not applicable Output flag is OFF if the rung logic is True Otherwise the output flag is ON Set Not applicable Output flag is turned ON until a Heset is executed Not applicable Output flag is turned OFF Pulse outputs only Output is turned ON for the specified duration Flash outputs only Output flashes ON for 5096 of the specified duration and OFF for 5096 of the specified duration To pulse or flash an output specify a Duration for the output data item in the Data Item Editor see Using the Data Item Editor on page 5 3 Then use the Pulse or Flash output Action in a Control block or Control coil When pulsed the output turns on for the time specified in the Duration parameter After the specified time the output automatically turns off When flashed the output cycles on and off at a 50 duty cycle until it is either turned OFF or ON A duration of 0 000 or 00 00 00 results in a one scan duration which may never be seen because of the time it takes the output to turn ON or OFF Scan times are in the order of 0
149. lt scaling 0104095 C 2 to 7010 90 2 2 C 2 Scaling Set to to 1000 C 3 Scaling set to 0 to 10 M nee C 3 040 2000 ubi C 4 Scaling set to 100 1000 4 2373 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS D Index des 3 22 3 23 JV 3 24 A T 4 23 A Le 4 24 Action Diner 3 22 8 4 5 8 5 11 5 12 Analog 2 11 Creating 3 32 4 29 Analog MINE 5 7 5 6 Ser Customer support 1 5 Cut Copy Paste 3 12 B Block D M E 5 8 Multiple 5 3 11 Daisies versis CHING nee 3 11 5 6 BootP 2 12 Data 5 4 Branching DIOCK 8 4 Data types and formats 5 10 Data type descriptions 5 7 0er 5 7 Sii iso 3 6 4 7 Snc MEME 5 8 Execution order eene 3 8 4 9 Di
150. ly perform this operation when instructed to do so by Phoenix Contact or your local system administrator 6 10 PHOENIX CONTACT To update the firmware follow these steps 1 Start nanoNavigator see Starting nanoNavigator on page 2 4 If already started close any open project by select the File Close Project menu You should see the nanoNavigator Startup dialog box see Figure 2 1 on page 2 4 2 Click the Connection Wizard button to display the Connection Wizard Figure 6 8 nanoL Connection Wizard nanaLL Project Baze Rew 101 Name zs S Display Rew 100 Revision H Flowchart 71 d Status Hun Status Stopped Lock Status Unblocked C Utilities Local Debug Inactive project was found on the attached C Click New to start a new project using the attached C s configuration B Lancel Figure 6 8 The nanoLC Connection Wizard 2373 en E THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Running Projects and Controlling the nanoLC 3 Click the nanoLC Utilities button to display the nanoLC Utilities dialog box Figure 6 9 Utilities Update Firmware Figure 6 9 The nanoLC Utilities dialog box 4 Click the Update Firmware button to display the Update nanoLC Firmware dialog
151. mode flow chart is the equivalent of a company s project manager with one or two main priorities l nitialize the project at the beginning of a flow chart to determine if desired inputs are at the correct state and or value set all desired outputs to the correct state and or value and then usually wait for input from a user and or machine to begin controlling a process automatically A Control the project which entails reading inputs controlling actions for example starting timers and reading when they re done updating counters turning outputs on off Depending on the control process es the project could require Oneflow chart to control the entire project A separate flow chart for each major process to be controlled Because auto mode flow charts control widely different processes their layout and look vary a great deal but no matter what it controls this type of flow chart does three things see Figure 8 4 Turn something on in an action block like an output to open a greenhouse window or an output to turn on a sprinkler system and start a timer to begin timing how long the output should be on Monitor in a branching block if the thing turned on is done for instance did the opening window hit a switch an input device used to monitor if something is at a desired position or is the timer done signaling that it s time to turn off the sprinkler system Turn off the same output in an action block
152. mplete the From data fields before completing the To data fields nanoNavigator automatically presents only the valid data types in the To group based on the data type selected in the From group PHOENIX CONTACT 5 13 nanoNavigator 5 14 PHOENIX CONTACT online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS 5 5 2 Moving Between Same Data Types The simplest case is moving data from one data item to another of the same type The following example uses two data items of the Register Integer type making the data item named Setpoint equal to Max Temperature FROM TO RE gs Max Temperature Setpoint To perform this type of move follow these steps 1 Double click the Move block to display the Move Block dialog box 2 Selecta Data Type from the drop down list in the From group 3 Usethe Data Item drop down list to choose an item of the selected type or type the logical ID for example R 03 index number 03 or data item name 4 Selecta Data Type from the drop down list in the To group 5 Click the button 5 5 3 Moving Between Different Data Types nanoNavigator ensures that the data type of the data item is compatible with the selected From data item For example moving from a Timer Counter configured as a Counter to a Register configured as an Integer is possible because counters are in fact integers 2373 en E o
153. n Enabled 2 AUD Enable 4 Display Enabled 00 Enable 5 Enabled 00 Enable Copy Hove Down New Flow Chart New Ladder Chart Figure 8 32 The Chart Explorer 2 Either double click one of the charts in the list or select a chart and click the Open button at the bottom of the window In either case the chart opens Alternatively select the File Open Chart menu and then select a flow chart from the cascade menu 8 5 4 Verifying a Project In addition to viewing flow charts with their execution track and data item values as they change dynamically nanoNavigator can force data values to cause flow chart execution to take different paths Another important tool to verify and correct projects is the ability to cross reference all locations where a data item appears in the project This section shows how to use these two important tools Forcing Data Items nanoNavigator can force input output and flag data items When a data item has a forced value the value won t change due to different input states or under program control This provides a valuable capability to verify a project il Be sure to remove all forces before running a project in a production environment Use the nanoLC Monitor window see Figure 8 31 on page 8 42 to force data item values with either the Flow Charts or Blocks tab To force a data item value follow these steps PHOENI
154. n for as long as you hold the mouse button hRight clicking one the inputs turns it green and latches it ON Right click again to turn it OFF Simulated outputs appear as dark red squares when the output is OFF and bright red when the output is ON In addition there is an area of the simulator that mimics any outputs to the optional LCD Figure 8 30 shows the simulator with the Brake Switch data item turned ON 8 40 PHOENIX CONTACT 2373 en E THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Flow Chart Tutorial The result is that the LCD mimics brake lights on both sides of the vehicle and the outputs Q 01 and Q 02 are ON The green flow chart elements show the current execution path in the BrakeControl flow chart 4 nanoNavigator ights BrakeControl Enabled File Edit wiew ER Tn FF LeftBrake Light RkjitBrake Light Sbp Timeout oe Flag 053 ABD 4 Reset Tmencomer oa Tos Reset Tmencouer ot 4 lt Project saved successfully eo DBE 2373_en_E Window Help nanoLC Monitor BrakeControl 1 00 102 1404 HN 1401 1405 Ak Hat Installed Hat Installed TTTnanoLCTTT 2 8 1 8 8 0 00 0 01 0 02 0 03 Scan Count Flag 063 Erake Input Input Display Brake state Input None Keypad Key 0 Keypad Key None Left Brake Lig
155. n the Data Item Editor see Using the Data Editor on page 5 3 2 Fordigital outputs enter a value in the Duration column or for Timer Counters enter a value in the Preset column Outputs Flags Timer Counters and Registers can be retentive The term retentive indicates that nanoLC writes the value of the data item to flash memory whenever the Runtime project closes or the nanoLC loses power Retentive data items have initial values equal to their previous value before shut down 5 8 PHOENIX CONTACT 2373 en E THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Data Operations To configure a retentive data item 1 Open the Data Item Editor see Using the Data Editor on page 5 3 2 Selectthe check box in the Retentive column for the appropriate data item rows Only data items that can be retentive have the Retentive column present in the Data Editor When making a timer retentive only its accumulator is retentive The started stopped and done status aren t saved When a project starts or restarts all timers and counters are initially stopped 3 Clickthe check box again to clear the retentive setting toggles between retentive non retentive 5 2 2 Outputs and Flags in Coils Outputs and flags can be turned On and Off using the logic within the chart However because flow charts and ladder charts evaluate their structure differently these data item types have some differences The fol
156. n the execution of the flow chart Configure the wait period in seconds with millisecond resolution or hours minutes and seconds If the wait duration is zero the block defaults to one scan cycle To configure the wait time 1 Double click the Wait block to display the Wait Block Configuration tab see Figure 3 19 Wait Block Configuration Comments One Scan wait Walt Time 55 Enter Preset xxx Seconds D 000 Figure 3 19 Wait Block Configuration tab 2 Dooneofthe following To wait for one scan cycle click the One Scan Wait check box The duration changes to zero if it was previously non zero and Wait Time becomes unavailable To wait for a specified period of time Click either the 55 or Seconds radio button Enter the duration in hours minutes and seconds or seconds and milliseconds in the field using the format shown If the duration is zero the Wait block defaults to one scan cycle The Wait block automatically selects the One Scan Wait check box upon clicking the OK button 3 Click the OK button During the wait period many scan periods may pass However the flow chart with the Wait block will not execute further until the wait period ends On the scan when the wait time expires flow chart execution resumes at the next block following the Wait block PHOENIX CONTACT 3 27 2373 en E nanoNavigator online c
157. nd choose either a flow or ladder chart from the list To open an existing chart select the File Open Chart menu and click the desired chart from the list 4 2 1 Opening a Ladder Chart To open a ladder chart for editing from the Chart Explorer double click the chart in the list or click the chart name to select it and then click the Open button Alternatively the ladder chart can be selected from the File Open Chart menu 4 2 2 Creating a New Ladder Chart To create a new chart from the Chart Explorer click the New button The new chart will be the same type of chart as last viewed either ladder or flow To create a new chart of a different type click the New button drop down list on and click desired chart type Alternatively select the File New Chart and choose either a flow or ladder chart from the list 4 2 3 Renaming a Ladder Chart To rename a ladder chart use the Chart Explorer 1 Click the chart to highlight it and then click the Rename button Alternatively right click the desired chart and then click Rename from the pop up menu 2 Inthe Rename Chart dialog box that appears type the new name Chart names limited to 12 characters 3 Click the OK button 4 8 PHOENIX CONTACT 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Ladder Chart Programming 4 2 4 Copying a Ladder Chart To copy a chart from the Chart Explorer
158. ne Figure 3 1 nanoNavigator showing a flow chart window The key elements of the Flow Chart Editor window shown in Figure 3 1 are Menus Provide access to all the commands in nanoNavigator as well as online help Toolbar Contains toolbar buttons for placing blocks onto flow charts With the View Auto hide Toolbar menu selected the default the Toolbar only appears with the Flow Chart Editor visible With this menu unselected the Toolbar also appears in the Data Item Editor and Message Editor but it is only active in the Flow Chart Editor A Main Toolbar Contains toolbar buttons for cut copy and paste It also contains buttons to quickly access selections from the View and menus see Using the Main Toolbar on page 3 4 PHOENIX CONTACT 3 3 nanoNavigator 3 4 a 00 do 4 2 3 9 PHOENIX CONTACT online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Column labels Provide a guide for locating shapes in the drawing area nanoNavigator provides five columns for flow chart blocks Row labels Provide a guide for locating shapes in the drawing area nanoNavigator provides an unlimited number of rows as they are needed limited only by available memory Drawing area Build flow charts in the drawing area Horizontal and vertical grid lines appear by default Blocks must appear within a grid cell with only one block per cell Mag
159. nes connected to it get selected Hold the Ctrl key while clicking blocks or connections Clicking a selected block or connection with the Ctrl key pressed deselects that object without deselecting any others 3 Perform the action such as cut copy move or delete UnDo or ReDo edit operations can be performed until an operation that clears the UnDo Stack is performed 3 4 1 Saving Flow Charts Select the File Save Flow Chart menu to save the current flow chart using the current name the default is Flowchart followed by a number Attempting to close a flow chart after modifying it displays a Changes Made dialog box Click the Yes button to save the changes click the No button to close the flow chart without saving it or click the Cancel button to return to the flow chart To save a copy of the current flow chart select the File Save Flow Chart As menu This menu selection displays the Rename Chart dialog box with the new default name Either accept the name or type a new name and then click the OK button This creates a copy of the chart with any modifications and leaves the original chart in the project in the state it was in the last time it was saved PHOENIX CONTACT 3 11 nanoNavigator 3 12 PHOENIX CONTACT online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS 3 4 2 Cut Copy Paste After selecting the object s use the cut lt Ctrl gt lt X gt co
160. nifier Appears when hovering the mouse pointer over a populated cell in the flow chart Provides a more readable version of the cell s contents and labels Toggle this feature ON check mark present or OFF using the View Magnifier menu By default the Magnifier is ON Scrollbars Use the scroll bars to bring portions of the drawing area that are off screen into view To scroll in small increments click the arrows at the end of each scroll bar Status line Provides information about nanoNavigator or selected shapes Status elements include a Message area and nanoLC status icons nanoLC status icon area presents three icons from left to right that reflect the state of the nanoL The icons are Connection state Connected or not Running state Unknown not connected Running Stopped A Locked state Unknown not connected Locked Unlocked r1 Connection Running State Locked State State Icon Icon Icon connected running unlocked Figure 3 2 nanoLC status icons 3 1 1 Using the Main Toolbar The Main toolbar see Figure 3 3 is visible by default To toggle the toolbar on and off select the View Main Toolbar menu 9 lt gt 1005 Figure 3 3 Main toolbar From left to right the buttons in the toolbar are 1 Save Project Performs the same function as the File Save Project menu 2 Open Project Performs the same function as the File Open Project menu see O
161. nline components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Data Operations 5 5 4 Move Summary The following table defines all possible Move data combinations Timer Counter Data Item Sub 5 3 aD Format 7i Register Integer x fx fx _ pate 11 me 110 __ ew XL 1 LT se pee ____ _ _ ss K te Table 5 4 Move 2 was High speed Counter HSC x FT P ooox Message Input integer CRI X x Do oN eee ee 11 oo Cats fhhmmss _____ ES _ _ ee eme lg hh mm ss Current Day of Week IL Sat DoW Sesso Fes 0 Tommi Notes DoW is Day of the Week 1 X valid 2373 en E PHOENIX CONTACT 5 15 nanoNavigator 5 16 PHOENIX CONTACT online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS 5 6 Handling Analog Values has a powerful set of drivers that understand the difference between discrete individual I O points and data representing numerical values Some controllers impose
162. normal conditions Display diagnostic information abnormal conditions HRecover from an error solves all flow charts in a project on each scan cycle for more information on scan cycles and flow chart execution see Project Execution on page 8 19 2373 en E PHOENIX CONTACT 8 3 nanoNavigator 8 4 PHOENIX CONTACT online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS 8 1 2 Flow Charts nanoNavigator uses flow charts to design control programs and nanoL C executes projects that use flow chart control programs The symbols in the flow chart depict two classes of items action blocks and branching blocks Action Block An action block is a box see Figure 8 1 representing an operation on the data in the system which may include input or output data In the flow chart an action block has one entry point top and one exit point bottom nanoNavigator has four types of action blocks that are described later see Types of Action Blocks on page 8 5 Branching Block Figure 8 1 Flow chart segment showing an action and branching block Branching Block A branching block is a diamond shaped box see Figure 8 1 that represents a branch in the control path based on available data A branching block may compare one variable to another a variable to a constant or a true or false condition Branching blocks have one entry point top and two exit points right side and bottom nanoNaviga
163. ntinues execution Project In the Project group change the project name and enter project comments This group also includes Major Version and Minor Version options nanoLC Runtime the major and minor version numbers in the nanoL C to compare the project on the nanoLC with the project on the PC The Minor version number automatically increments whenever the project downloads or is verified It also increments on the nanoLC whenever a change is made locally or by download The Major version number indicates significant changes to the project It only changes under user control however whenever the Major number changes the Minor number resets to zero After selecting appropriate options click the OK button to close the dialog box Some of the options determine data items available in the Data Item Editor see Using the Data Item Editor on page 5 3 and other nanoNavigator behavior 2 4 Connecting to a nanoLC There are two aspects to connecting to a nanoLC The first is the physical connection between the PC running nanoNavigator and the nanoL C This physical connection is either a serial or USB cable The second aspect of connecting to a nanoL C is a logical connection via the cable This logical connection lets nanoNavigator access the nanoL C When using nanoNavigator to perform operations on the nanoL C connect nanoNavigator to the nanoLC Other than Physical Connection on page 2 14 all references to connecting
164. ntrol blocks and Coils the following actions on a timer are possible Restart Start Stop Reset PHOENIX CONTACT 5 11 nanoNavigator online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Start A Timer Start causes the timer s accumulator to begin timing Reset A Timer Reset sets the timer s accumulator to 0 After a timer expires it must be reset before starting it again Restart A Timer Restart sets the timer s accumulator to 0 and starts the timer combines the functions of Reset and Start Stop A Timer Stop causes the accumulator to hold its current value 5 4 2 Using Counters Counters are 32 bit values that have a range of 0 to 99 999 999 Counters also have Name Preset and Description fields available for access in the Data Item Editor The main characteristics of Counter data items are Counters can count upward increment and downward decrement A Control block or Coil can increment decrement or reset a Counter each scan Counting 5 12 PHOENIX CONTACT is not transition based as in other types of controllers Specify a Preset for each Counter in the Data Item Editor The preset is the Counter s ending value Ways in which project components can interact with a Counter include Control block or Coil can increment decrement or reset a Counter block or Compare Contact can compare the Counter s current value with another vari
165. o blocks loops a flow line back to itself or to a block above it Only the last two action blocks loop back to the first block When the project is running this flow chart executes from top to bottom every time no matter the path it takes Variations on the Status Flow Chart As long as the flow chart doesn t loop back to any of the inner blocks there are many conceivable variations on the basic status flow chart Figure 8 11 and Figure 8 12 show two possibilities T Control Black Control Black Control Black Control Black Figure 8 11 Sample status flow chart variation 1 2373 en E PHOENIX CONTACT 8 15 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator E Control Block Control Block Control Block Control Block Control Block Control Block Figure 8 12 Sample status flow chart variation 2 8 2 3 Diagnostic Flow Chart A diagnostic flow chart looks for any project stopping errors for example an Emergency Stop and current process actions which usually originate in the auto mode flow chart s When an action is in progress the diagnostic flow chart looks for faults These faults can be improbable probable and those that indicate an error when an event doesn t occur after a certain period of time If a fault occurs the diagnostic flow chart displays a message or turns necessary outputs ON or OFF for example turn on an LED to indicate a specific e
166. o or Edit ReDo menu press the lt Ctrl gt lt Z gt keys to UnDo or the lt Ctrl gt lt Shift gt lt Z gt keys to 3 5 Flow Chart Blocks This section describes the various block types how to place them and create a flow chart To place a new flow chart block on the page follow these steps 1 Inthe Toolbar click the button of the block type to place 2 Click in the desired location cell on the drawing page 2373 en E 2373 en E THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Flow Chart Programming 3 5 1 Enable Block The Enable block always appears at the top of a flow chart It allows the flow chart to begin executing It can contain an expression that conditionally activates the flow chart while the project is running To develop the control program add flow chart blocks below the Enable block The Enable block is in the upper left grid cell AO in a new flow chart see Figure 3 10 It has the following characteristics Enable block is the first block of every flow chart It has a single exit from which flow passes on to the rest of the control program The Enable block cannot be deleted copied or moved on the drawing area Figure 3 10 Every new flow chart opens with a predefined Enable block Anempty Enable block no expression created causes a flow chart to always run Atruntime the enable block is green if the flow chart is active If it s red the flow chart i
167. of Week Current Day of Month and Current Day of Year 3 For Register Timer Counter Analog Input and Message Input enter the Data Item using one of the following techniques Enter the data item number for example 1 or 701 The type is known because it is already selected Enter the data item ID DI for example 1 01 When tabbing to the next field nanoNavigator displays the data item name associated with the ID Use the drop down button to display the list of data items that correspond to the selected data item type The drop down list only shows data items of the Type selected If selecting an unconfigured Timer Counter a small dialog box opens with a drop down list that permits configuration of the Timer Counter as a Counter Duration HMS or Duration mSec 4 Usethe Comparison Operator drop down to select the desired comparison 5 Usethe Second Item group to select a Data Type and Data Item 6 Click the OK button Yes No path selection By default the connection that goes out the bottom of the Compare block is the Yes path the exit on the right is the No path The Compare Block Comments tab permits adding a block comment and swapping the positions of the Yes and No exit paths another way is to right click a block and then select Swap Yes No Connectors from the pop up menu Entering the block s cell address and Cell Address on
168. of a mouse When using a mouse make choices and selections using the standard left mouse button unless it is a left hand mouse or it has been remapped to use the right button With the mouse pointer over an object clicking the right mouse button unless remapped often displays a pop up menu of commands that are available depending on the context also called context or pop up menus 1 5 Phoenix Contact Technical Service To obtain answers to questions about nanoNavigator that don t appear to be in this manual contact Phoenix Contact Technical Service via the Internet Our staff will provide advice needed to get the most from the nanoLC and nanoNavigator We suggesttrying to duplicate the problem before contacting Technical Service During this process write down each step performed and any error messages that appeared PHOENIX CONTACT Internet www phoenixcontact com PHOENIX CONTACT 1 5 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator 1 6 PHOENIX CONTACT 2373 en E Getting Started 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Section 2 This section provides information about Installing and starting nanoNavigator Configuring a nanoLC within nanoNavigator Connecting nanoNavigator to the 2 3 2 1 Installing nanoNavigator un nn
169. off the previous scan Table 3 1 defines all possible Enable block combinations This table shows valid data item types and the conditions that appear in the Condition drop down list For example it is possible to test to see if an Input is or Table 3 1 Valid Enable Block Expression Type OFF Input Flag ma XK Fa kk 1 X valid 3 5 2 Branching Blocks Branching blocks both Decision and Compare blocks perform a test and determine which of two paths to take after the test Each branching block has one entry point and two exit points indicating Yes and No paths from the block By default the bottom connector is the Yes path and the right side is the No path For more information on branching blocks see Types of Branching Blocks on page 8 5 2373 en E Compare Compare Block Button online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Flow Chart Programming Place a branching Decision or Compare block by clicking the respective Block toolbar button and then clicking in the desired location in the drawing area Both Decision and Compare blocks appear as diamonds in the flow chart see Figure 3 12 Scar DONE LT Figure 3 12 Decision and Compare blocks appear as diamonds 3 5 3 Compare Block The Compare block can make a numerical comparison Flow follows one of the two exit paths of the Compare block bas
170. ols that appear in the Insert Symbols list correspond to special keys that are available on the nanoLC 4 Click the Save button to save the message 5 Click the Close button to close the Message Editor Inserting Data Display Items To display a data item use the Insert Data Display Item group as follows 1 Selectacell of the message 2 Select the data item Type from the drop down list Select the data item from the Data Item drop down list 4 Click the Insert button to insert the data display item in the message Inserting Data Entry Items To have the user enter a data item use the Insert Data Entry Item group as follows 1 Selectacell of the message 2 Select the data item Return Type from the drop down list Select the data item from the Data Item drop down list 4 Click the Insert button to insert the data entry item in the message 4 6 3 Copying Messages To copy a message follow these steps 1 Selectthe View Message Editor menu or click the Edit Messages button on the Main toolbar to display the Message Editor 2 Select the message to copy from the Current Message drop down list This displays the current message in the four lines of the Message group at the top of the window Click the Copy button This displays the Copy Message dialog box 4 Enter a message number in the Message field or use the up down buttons to select a message number Th
171. om the Memory Module and displays the Chart Explorer Open a chart Select the File Save Project menu to save the project 6 8 Clearing the Memory Module To clear a project from the nanoLC Memory Module follow these steps 1 Attach the nanoLC Memory Module to the PC using the configured USB port see Specifying the PC Connection on page 6 3 and a standard type A to type B USB cable Order No 2701247 Select the Memory Module Clear Project menu to clear the project from the memory module 2373 en E Run nanoLC Button E Stop nanoLC Button 2373 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Running Projects and Controlling the nanoLC 6 9 Running a Project To run a project on the nanoLC from nanoNavigator follow these steps 1 IfnanoNavigator isn t currently connected to the nanoLC follow the steps in Connecting to the nanoL C on page 6 4 2 Select the nanoLC Run menu to begin execution or click the Run button on the Main toolbar Running a project always begins execution at the top of each chart Data Items that are not retentive have their values reset to their initial values 6 10 Stopping a Running Project The project will continue to run all flow charts and read writes until halted To stop the project connect to the controller see Connecting to the nanoLC on page 6 4 and then select the C
172. omponents com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS The Wait block is easier to use than constructing a timing loop for a delay in the flow chart since there is no need to create a timer data item or create the flow chart loop When a Wait block is executing no other blocks in the current flow chart execute until the wait completes Other flow charts continue to execute normally as long as they are enabled 3 5 10 Notes Notes don t actually appear in a block They can appear anywhere on the flow chart page and don t connect to or affect program flow 3 6 Connecting Flow Chart Blocks To draw flow chart block connecting lines follow these steps 1 Move the cursor to the bottom or side for Decision and Compare blocks connecting point of a block that doesn t have an outgoing flow line The connecting point turns orange or the specified color to indicate a potential outgoing connector pointer and the cursor changes to the connector pointer If the Flow Chart Editor is inadvertently in connect mode press the Esc key to switch back to select mode 2 Click the outgoing connector point Move the cursor to the next block s top incoming connector point which will turn green or the specified color 4 Clickthe incoming connector to complete the line The cursor changes back to the selector pointer nanoNavigator supports automatic routing from one block to another so it is only necessary to click the outgoing
173. on in the Main toolbar and the File Open Project menu perform the same operation If there is a project currently open with any unsaved modifications nanoNavigator displays a prompt requesting permission to save the changes before opening the new project 2 2 5 Exit Click the Exit button to exit nanoNavigator 2 6 PHOENIX CONTACT 2373 en E THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Getting Started 2 3 Configuring nanoNavigator If a nanoLC is connected to the PC nanoNavigator can automatically set up the nanoLC configuration by doing one of the following When nanoNavigator first starts click the Connection Wizard button in the nanoNavigator Startup dialog box see Figure 2 1 Atany time select the nanoLC Connect menu If ananoLC is not connected to the PC select the Configuration menu to display the nanoLC Configuration dialog box this dialog box also displays when creating a new project It allows the programmer to define the target C on which the project will execute nanoL Configuration Base Unit Expansion Slot 1 Expansion Slot 2 Expansion Slot 3 LL nLC dg50 d24D 26 IHHT4 TN 0 5 4 Hat Installed Operator Panel Interface Froject TE ersion Cres nanaLights ETT Major Minor Description Comments
174. online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS AUTOMATION nanoNavigator User Manual UM SWD NLC NAVO1 Order No 2701441 Installing and using nanoNavigator software to configure nanoLine controllers 0099500050950 dD o 0 C INSPIRING INNOVATIONS THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS AUTOMATION nanoNavigator User Manual Installing and using nanoNavigator software to configure nanoLine controllers 07 2009 Designation UM SWD EN NLC NAVO1 Revision E Order No 2701441 This user manual is valid for Designation Version Order No nanoNavigator 2 0 2701221 2373_en_E PHOENIX CONTACT nanoNavigator eo bbb PHOENIX CONTACT online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Please observe the following notes In order to ensure the safe use of the product described you have to read and understand this manual The following notes provide information on how to use this manual User group of this manual The use of products described in this manual is oriented exclusively to qualified application programmers and software engineers who are familiar with the safety concepts of automation technology and applicable standards Phoenix Contact accepts no liability for erroneous handling or damage to products from Phoenix Contact or third party products resulting from disre
175. or as well as online help Toolbar Contains toolbar buttons for placing coils and contacts onto ladder charts With the View Auto hide Toolbar menu selected the default the Toolbar only appears with a Chart Editor visible With this menu unselected the Toolbar also appears in the Data Item Editor and Message Editor but it is only active in the Ladder Chart Editor A Main Toolbar Contains toolbar buttons for cut copy and paste It also contains buttons to quickly access selections from the View and nanoLC menus see Using the Main Toolbar on page 4 5 Column labels Provide a guide for locating shapes in the drawing area nanoNavigator provides five columns for ladder chart blocks Row labels Provide a guide for locating shapes in the drawing area nanoNavigator provides an unlimited number of rows limited only by available memory Drawing area Build ladder charts in the drawing area Horizontal and vertical grid lines appear by default Coils and contacts must appear within a grid cell with only one element per cell 4 4 PHOENIX CONTACT 2373 en E Gm 00 00 9 m rx M 4 2373 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Ladder Chart Programming Magnifier Appears when hovering the mouse pointer over a populated cell in the ladder chart Provides a more readable version of the cell s contents and labels Toggle this feature ON
176. orer The project can programmatically control which charts execute during any given scan cycle For more information on enabling charts see Enable Block on page 4 14 Chart Explorer 1 QS Flow 4H 2 OS Ladder 4H 3 3 Switch m 4 Flowchart 1 Hove Down Hew Flow Chart New Ladder Chart Figure 4 5 Chart Explorer PHOENIX CONTACT 4 7 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator To open the Chart Explorer and display a list of the charts flow and ladder in the project ies A Click the Chart Explorer button on the Main toolbar a Select the View Chart Explorer menu Chart Explorer An icon indicates the type of chart Using the Chart Explorer automatically selects the Button correct chart editor flow or ladder Flow charts cannot be opened using the Ladder Chart Editor and ladder charts cannot be opened using the Flow Chart Editor Ladder charts appear in a Ladder Chart Editor window If the project consists of only one chart nanoNavigator always displays it when the program starts If there are multiple charts in a project nanoNavigator displays the last chart that was open when the project starts If no chart window was open the last time the project closed nanoNavigator displays the Chart Explorer to allow selection of a chart Click the Exit button to close the Chart Explorer Alternatively select the File New Chart a
177. page 3 5 explicitly sets or modifies the target block of the Yes or connector Compare Block Summary Table 3 2 defines all possible Compare block combinations 2373 en E PHOENIX CONTACT 3 17 nanoNavigator online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Table 3 2 Valid Comparisons in a Compare Block Data Item Sub Un Register Integer X Date Counts X e ES Timer Counter Analog In x Analog Out HS Counter Message Input x _ ER LLLLLLLLLIS Intege Date LEES P Ee Current Date 3 E 2 5 913 oz o zS3 o n zo o n o x Current Time aowe X pay orvear onstant Value _ LLL LLL PS HON LIPS sm z el3 09 g 2 2 2 5 5 5 5 5 _ LL LLL e X __ 1 XXXXXXXX 08 X Sun Sat X XXXX XXX XXXXXXXX X hh mm ss a a EN x E XXXX XXX XXXXXXXX a XXXXXXXX XXXXXXXX BE XXXXXXXX u en E EN EN M 1 X Sun Sat X XXXX XXX dd mm yy hh mm ss Pt ttt Py Notes DoW is Day of the Week 1 X valid 3 18 PHOENIX CONTACT 2373 en E THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENT
178. pen If the configured condition is Off the symbol appears as normally closed All Timer Counter data types appear as normally open If selecting an unconfigured Timer Counter a dialog box opens with a drop down list that permits configuration of the Timer Counter as a Counter Duration HMS or Duration x xxx Sec In addition to the symbol representing the desired action the desired action is written below the symbol and the Data Item Type and ID being changed is written above the symbol Control Coil Summary Table 4 2 defines all possible Control Coil combinations Table 4 4 Valid Comparisons in a Control Coil Timer Counter Data Item Type XXXIX xix I ______ ______ X valid 4 24 PHOENIX CONTACT _ _ 2373 en E 2373 en E RES Message Message Coil Button THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Ladder Chart Programming 4 5 6 Message Coil When configured with the optional Operator Panel the nanoLC can display messages to the user Message Coils can contain static text dynamic values from any data item and data entry requests To configure a Message Coil double click the Message Coil in the workspace This displays the Configuration page of the Message Coil dialog box Message Coil Configuration DisplayMessage Message H Figure
179. pen Existing Project on page 2 6 3 Cut Performs the same function as the Edit Cut menu see Cut Copy Paste on page 3 12 4 Performs the same function as the Edit Copy menu see Cut Copy Paste on page 3 12 5 Paste Performs the same function as the Edit Paste menu see Cut Copy Paste on page 3 12 2373 en E 10 11 12 13 14 15 16 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Flow Chart Programming UnDo Performs the same function as the Edit UnDo menu see UnDo and ReDo on page 3 12 HeDo Performs the same function as the Edit ReDo menu see UnDo and ReDo on page 3 12 Chart Explorer Opens the Chart Explorer see Chart Explorer on page 3 6 Edit Data Items Opens the Data Editor see Using the Data Editor on page 5 3 Edit Messages Opens the Message Editor see Using the Message Editor on page 3 31 Start Monitoring Stop Monitoring Toggles depending on whether or not nanoNavigator is currently monitoring the connected nanoL C Performs the same function as the nanoL C Start Monitoring menu and the nanoLC Stop Monitoring menu see nanoLC Monitor Window page 7 4 Run Starts the current project running on the nanoL Performs the same function as the nanoLC Run menu see Running a Project on page 6 7 Stop Stops the current project on the nanoLC Performs the same
180. ppear PHOENIX CONTACT 3 5 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator Zoom Out left and In right toolbar buttons 1005 Zoom drop down list 3 1 3 Zooming In or Out The full design of a chart may be large and any page may be larger than the viewable Flow Chart Editor window The following techniques show more of the page by setting the zoom factor Select the desired zoom percentage from the View Zoom Factor menu Click the Zoom In or Zoom Out tools in the Standard toolbar Hold the lt Ctrl gt key and spin the middle mouse wheel up to zoom in and down to zoom out Hold the lt Ctrl gt key and press the main keyboard minus key to zoom out or the plus key to zoom in Usethe Zoom drop down list in the Main toolbar 3 2 Chart Explorer A project can have up to 16 charts in any combination of ladder and flow with a total of approximately 500 blocks Use multiple charts for all but the simplest projects with each chart controlling a single process machine or major function A modular approach to developing chart programs makes it easier to create verify and maintain control projects Use the Verify Project see Section nanoLC Monitor Window on page 7 4 to ensure the project is properly configured and does not exceed the capability of the hardware Once downloaded to a nanoLC all enabled charts flow
181. py lt Ctrl gt lt C gt and paste lt Ctrl gt lt V gt shortcuts see Figure 3 8 the Main toolbar buttons or the Edit menu selections to speed up chart development With multiple charts open it is possible to cut copy and paste from one chart to another provided the charts are the same chart type Figure 3 8 From left to right Cut Copy and Paste buttons 3 4 3 UnDo and ReDo nanoNavigator supports an unlimited number of UnDo and ReDo operations UnDo or HeDo operations are processed one at a time in the order they were performed UnDo cancels the last edit operation for example deleting a block from a flow chart and restores the chart to its state before the previous operation After performing an UnDo a ReDo can be performed ReDo cancels the previous UnDo operation and restores the chart to its state prior to the UnDo nanoNavigator stores UnDo and ReDo operations in separate stacks for each chart The UnDo stack is cleared UnDo operations are no longer valid when achartis saved the project is saved ananoLC is connected the project 1 verified The ReDo stack is cleared ReDo operations are no longer valid when any edit on the chart is performed other than an UnDo A Figure 3 9 Undo and Redo buttons To perform an UnDo or ReDo operation do one of the following click the UnDo or ReDo button on the Main toolbar select the Edit UnD
182. rial The third part of the project see Figure 8 7 controlling the process turns something on for instance an output checks to make sure it s done and then turns that same output off After that flow in this case is routed back to the decision block that waits for someone to start the process over again Depending on the application requirements flow could be routed elsewhere Control Control Control oS C3 1 Y Control Figure 8 7 Project control consists performing I O as required PHOENIX CONTACT 8 11 THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator Example 2 Auto Mode Flow Charts that Control by Following Process Needs This example shows two flow charts that control a project by monitoring when something needs to be done and then does it The first flow chart see Figure 8 8 stays in a current action raising tank temperature starting the agitation cycle and adding of catalyst until that action is done Therefore any remaining actions cannot be attempted until the one above it is done When the last action is taken care of flow then goes back to the top to see if it s still Okay to Run the process It also checks to see if a user has pressed Emergency Stop Raise Tank Temp Stop Raising Tank Temp Start Agitation Stop Agitation Add Catalyst aff Catalyst Add Figure 8 8 Tank control example one 8 12 PHOEN
183. roject Base Rew 101 M ame zs MS Display Rew 100 Revision i Flowchart 35 e Status Hun Status Stopped Lock Status Unblocked nanaL C Utilities Local Debug Inactive project was found on the attached Click New to start a new project using the attached C s configuration Cancel Figure 6 11 The nanoLC Connection Wizard 6 12 PHOENIX CONTACT 2373 en E THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Running Projects and Controlling the nanoLC Click the nanoLC Utilities button to display the C Utilities dialog box Figure 6 9 nanoLc Utilities Figure 6 12 The nanoLC Utilities dialog box 4 Click the Clear Project button 5 Confirm the operation by clicking the Yes button in the warning dialog that appears 2373 en E PHOENIX CONTACT 6 13 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator 6 14 PHOENIX CONTACT 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Section This section provides information about Verifying projects Forcing data values Using Execution Tracing VMI AGA 7 3 7 1 nanoLC Monitor nennen nnne nnne nenne 7 4 T cic E 7
184. rring a project to or from the nanoLC starting or stopping the project monitoring or performing any other operations on the nanoLC connect to it To perform a software connection from nanoNavigator to the nanoL C the nanoLC and PC must be physically connected Follow these steps 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Running Projects and Controlling the nanoLC 1 Verify that there is a physical connection between the nanoLC and the PC see Connecting to a nanoLC on page 2 13 For more information on making a physical connection between the nanoLC and a PC see the nanoLC Hardware User Manual 2 Perform any operation on the nanoLC such as nanoLC nanoLC Start Monitoring nanoLC Download or Download amp facommunication port isn t already selected nanoNavigator displays the Select COM Port dialog box see Figure 6 3 Use the drop down list to select the COM port that has the cable connection to the nanoLC Select COM Port Port has not been specified Far the nanaPLL Select an available port ta continue or Cancel Ports Mane t Cancel Figure 6 3 Select COM Port dialog box Ifthe nanoLC doesn t have a project loaded nanoNavigator displays a message Ifthe nanoLC has a different project loaded nanoNavigator displays a message and warns that running the nanoLC with a different proje
185. rror turn off a motor to stop a given action which can vary per error application requirements and safety regulations Flow then goes back to the next decision block to check if the next error occurred for that same action Once the flow chart has checked all possible error conditions for a given action the flow chart checks to see if the next action is occurring Whether or not an error occurred the flow chart checks to see if an operator cleared a fault that may have occurred If so the flow chart clears the existing error message and turns off any error indicators Figure 8 13 illustrates a diagnostic flow chart for a greenhouse application Although it does not show all possible error conditions it provides an excellent example of the concepts discussed above 8 16 PHOENIX CONTACT 2373 en E onlinecomponents com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Flow Chart Tutorial E Stop Actions Check for project stopping errors Tum OFF Raise North Windows Turn on North Window Error LED Tum OFF North South East amp West Window Controls Tum OFF Raise North Windows Tum on North Window Error LED Tum OFF North South East amp West Window Controls Tum OFF Raise Moth Windows Turn Morth Window Caution LED Turn OFF Misting Turn ON Misting Check for faults Turn Misting Cycle Too Long Error LED Send message
186. rt dialog box with a new default name Either accept the name or type a new name and then click the OK button This creates a copy of the chart with any modifications and leaves the original chart in the project in the state it was in the last time it was saved 4 4 2 UnDo and ReDo nanoNavigator supports an unlimited number of UnDo and ReDo operations UnDo or ReDo operations are performed one at a time in the order they were originally performed UnDo cancels the last edit operation for example deleting a contact from a ladder chart and restores the chart to its state before the previous operation After performing an UnDo a ReDo can be performed ReDo cancels the previous UnDo operation and restores the chart to its state prior to the UnDo nanoNavigator stores UnDo and ReDo operations in separate stacks for each chart The UnDo stack is cleared UnDo operations are no longer valid when a chart is saved the project is saved ananoLC is connected the project 1 verified 2373 en E 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Ladder Chart Programming The ReDo stack is cleared ReDo operations are no longer valid when any edit on the chart is performed other than an UnDo Figure 4 9 Undo and Redo buttons To perform an UnDo or ReDo operation do one of the following click the UnDo ReDo button on the Main toolbar select the Edi
187. s inactive and if it s gray the project isn t running Expressions can be added to the Enable block to set conditions for running the chart To add statements to the expression using logical operators double click the block The result ofthe expression is either TRUE or FALSE enabling or disabling the flow chart respectively Enable Black Configuration Comments Expression tem 1 Data Type Condition Figure 3 11 The Enable Block dialog box PHOENIX CONTACT 3 13 nanoNavigator 3 14 PHOENIX CONTACT online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS The AND and OR Operator in the dialog box permits addition of a second Boolean condition to the expression AND has greater precedence than OR in other words AND expressions are evaluated before OR expressions and then they are evaluated from top down nanoLC supports one or two Boolean conditions in an Enable block nanoLC evaluates the Enable block every scan at the time when the flow chart executes based on the position of the flow chart in the flow chart list see Changing Execution Order on page 3 8 The flow chart only runs if its expression is true at the start of the scan Onthe first scan or whenever the Enable block expression transitions from FALSE to TRUE flow chart execution starts at the Enable block output Otherwise execution starts where it left
188. s required 8 5 Downloading and Verifying the Project After completing the project or enough of it to begin verifying save the project use the File Save Project menu Then there are two choices for verifying Download the project to a connected nanoLC and verify it there Connect and verify the project using the simulator The following sections go through both options 8 5 1 Downloading the Project Downloading a project to a connected is simple Follow these steps 1 If nanoNavigator is not connected to the nanoLC follow the instructions in Connecting to a nanoLC on page 2 13 2 Dooneofthe following Select the C Download nanoNavigator automatically makes the logical connection to the nanoLC Click the OK button in the message dialog box Selectthe nanoLC Download amp Go menu nanoNavigator automatically makes the logical connection to the nanoL and begins execution after downloading the project 2373 en E PHOENIX CONTACT 8 37 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator That s it unless nanoNavigator detects an error while preparing the download If an error occurs nanoNavigator displays the Project Information Messages tab with a list of messages nanoNavigator creates as it verifies the project Project Information CrossReference Messages Yerkyng Flow Chart Brake Control Vernfyng Flow Chart Lef
189. s the address 2373 en E PHOENIX CONTACT 8 45 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator 8 46 PHOENIX CONTACT 2373 en E THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS A Technical Appendix Setting Preferences This section is for advanced users who are interested in customizing the appearance of nanoNavigator If satisfied with the default colors fonts and font sizes there is no need to modify any of the preferences The File Preferences menu displays the multi tab Preferences dialog box Each tab provides a set of options that configures how nanoNavigator appears on the screen The following sections describe each tab of the Preferences dialog box A 1 General Tab The Preferences General tab see Figure A 1 permits specification of options for the Toolbar Chart Explorer window and Message Editor Preferences General Toolbar Icons Show Toolbar Labels Large Small Flow Chart Explorer Font Arial 11 pt Font Color BackColor Message Editor SS Empty Cell Back Color Regular Cell Back Color Selected Cell Back Color Cancel Figure A 1 Preferences General tab 2373 en E PHOENIX CONTACT A 1 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator A 1 1 Block Toolbar Options This group provides the following options
190. s the model number and description of the selected base unit From the Slot 1 or Slot 2 drop down list click the option module that is installed in the slot The current configuration of the selected option module is displayed and the Configure button becomes available if applicable When an option module is not installed select Not Installed from the drop down list Slot 1 RS 232 RS 485 USB Option Modules Click the Configure button to configure the option module for Modbus RTU communication The RS 232 RS 485 and USB options use the same Configure Serial Port dialog box Figure 2 5 Communication with a PC running nanoNavigator is set automatically by the software and is not manually configurable 2 8 PHOENIX CONTACT 2373 en E 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Getting Started Mode Number Baud Hate Parity Stop Bits Watchdog Fault Vi rite Figure 2 5 The Configure Serial Port dialog box The Configure Serial Port dialog box has the following parameters Node Number selects the node number for the serial port Valid values are from 1 to 247 Baud Rate selects the baud rate from the drop down list Valid values are from 300 to 115200 Parity selects the data parity from the drop down list Valid values are None Odd and Even Watchdog permits entry of a value or u
191. se 1 00 F 000 0 00 Input 00 Flag 000 Output 00 TC 00 F 001 Timer Counter 00 Flag 001 Not Done Figure 4 15 Decision Contact symbols 4 18 PHOENIX CONTACT 2373 en E THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Ladder Chart Programming When the Decision Contact dialog box is closed the symbol changes to represent the default condition of the element If the default condition is ON the symbol appears as normally open contacts If the configured condition is OFF the symbol appears as normally closed contacts With Timer Counter data types using the mSec or HMS mode the Condition field allows selection of Done and Running indicated by normally open contacts or Not Done and Not Running indicated by normally closed contacts Counters are limited to Done and Not Done conditions If selecting an unconfigured Timer Counter a dialog box opens with a drop down list that permits configuration of the Timer Counter as a Counter Duration HMS or Duration x xxx In addition to the symbol representing the condition the default condition is written below the symbol The Data Item Type and ID monitored in the cell is displayed Decision Contact Summary Table 4 2 defines all possible Decision Contact combinations Table 4 2 Valid Comparisons in a Decision Contact Data Item Type Timer Counter HS Counter ION ION N 1 _ ees _
192. se the spin buttons to set the watchdog timer Valid values are from 0 0 to 25 5 seconds A value of 0 0 disables the watchdog timer If no Modbus communication occurs before the Watchdog timer value is exceeded a fault is generated by the nanoLC The result of the fault is defined in the Fault drop down list Fault field defines the result of a Modbus communication error Available options are Select Fault to stop execution of the nanoLC All outputs are turned OFF Select Warning to indicate warning condition and continue execution Write Mode defines Modbus Read Write conditions Read Write allows a Modbus Client to read and write commands to the nanoLC Read allows a Modbus Client to read data from the nanoLC When the dialog box is closed the options selected are displayed in the Configure Base Unit dialog box in the Base Option Slots group see Figure 2 4 Slot 1 Memory Module Select NLC MOD MEM 032K if using the optional memory module See Section 6 6 Downloading to the Memory Module and Section 6 7 Uploading from the Memory Module for more information PHOENIX CONTACT 2 9 nanoNavigator 2 10 PHOENIX CONTACT online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Slot 2 Real Time Clock The real time clock option is available in the Slot 2 drop down list Selecting this option displays the Configure RTC dialog box
193. splay 22 2000000 5 7 Flow 3 11 E EEE 5 7 Sense 3 8 4 9 High Speed 5 7 Ladder 4 10 RR 5 7 Monitor mode aae 7 4 Keypad Key 5 8 Co T 4 13 5 8 Column labels aie 3 4 4 4 mise MENT 5 8 COM 2 12 Timer 5 8 Command button m 1 4 Data types 5 10 Compare 4 3 15 5 11 Editing 9 9 3 17 Decision DOCK 3 14 3 19 8 5 summary elf mese 3 17 E 3 20 Compare contact a 4 19 eee tns 3 21 5 4 22 Decision contact 4 17 Configure Unit eee 2 8 Summen 4 19 Configure Ethernet 2 12 DHCP een 2 12 Configure 2 10 Display message 5 7 Configure Serial POIL ons ciu tete pntat etna ierit dei 2 9 6 5 6
194. ss from a BOOTP server but either the assignment failed or a BOOTP server is not present on the network same IP address as this Ethernet module F 94 ETH Status 06 Reserved F 95 ETH Status 07 Reserved F 96 ETH Status 08 Reserved F 97 ETH Status 09 Reserved F 98 ETH Status 10 Reserved MM F 81 LE Pe LH LN LAN os B 2 PHOENIX CONTACT 2373 en E THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Table B 2 Ethernet Flags Fas Name F 101 ETH Status 13 Reserved Heserved for future use F 102 ETH Status 14 Reserved Heserved for future use 103 ETH Status 15 Reserved Heserved for future use 2373 en E PHOENIX CONTACT B 3 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator B 4 PHOENIX CONTACT 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS C Technical Appendix Analog Device Scaling This appendix describes the scaling formula and shows examples of scaling provided by analog devices on the nanoLC Voltage values were read with a Fluke digital volt meter with voltages applied by a 0 10 volt potentiometer Current values were applied with a regulated DC power supply Voltage and Current sample settings shown below These are sample values Your values may be slightly different or exactly the same based on the input device type C 1 Scaling Formula Adding scaling to the inputs differs from the No S
195. t __ tjui Figure 3 22 Use Message Editor to define and edit messages in a project 3 8 1 Displaying the Message Editor Click the Edit Messages button in the Main toolbar or select the View Message Editor menu to display the Message Editor in the nanoNavigator workspace Once open the Message Editor is like any other window Display the Message Editor by selecting it from the Windows menu selecting it again from the View menu or pressing lt Ctrl gt lt F6 gt or Edit lt Ctrl gt lt Shift gt lt F6 gt until it appears on top When using Windows Cascade or one of Messages the Tile options with the Message Editor open the Message Editor appears along with all Button open charts 2373 en E PHOENIX CONTACT 3 31 nanoNavigator online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS 3 8 2 Creating and Editing Messages To create or edit a message follow these steps 1 Selectthe View Message Editor menu or click the Edit Messages button on the Main toolbar to display the Message Editor 2 Select the message to create or edit from the Current Message drop down list This displays the current message in the four lines of the Message group at the top of the window 3 Enterany static text data display items see below data entry items see below and or symbols in the fields The nanoLC does not clear any message cells that aren t explicitly overwritten To ensure
196. t UnDo or Edit ReDo menu press the lt Cntrl gt lt Z gt keys to UnDo or the lt Cntrl gt lt Shift gt lt Z gt keys to ReDo 4 5 Ladder Chart Contacts and Coils This section describes the various ladder chart coils and contacts how to place them and create a ladder chart To place a new ladder chart element on the page follow these steps 1 Inthe Toolbar click the button of the desired contact or coil to place 2 Click in the desired location cell on the drawing page PHOENIX CONTACT 4 13 nanoNavigator 4 14 PHOENIX CONTACT online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS 4 5 1 Enable Block Every new ladder chart is created with an Enable block in cell AO This symbolizes the power source battery for the ladder chart and the starting point of the chart The Enable block is connected to the line on the left side of the chart This line or bus typically represents power The logic of the chart passes from the left side to the right side just as power passes from positive to negative The return connection to the Enable block battery is not shown Power Figure 4 10 Enable block The Enable block cannot be deleted copied or moved on the drawing area It can be configured in the following ways Anempty Enable block no expression created causes the ladder chart to always run The Enable block is color coded when running the Simulator or monitorin
197. t Editor and creating ladder charts Using the Message Editor Ladder Chart Programming ENT 4 3 4 1 Exploring Ladder Charts iodi arde 4 3 4 1 1 Using the Main 4 5 4 1 2 Grid and Cell Address 4 6 4 1 3 ZOOMING MOr 4 7 4 2 Chart Explorer 2 2 ba ee 4 7 4 2 1 Opening a Ladder Chart 4 8 4 2 2 Creating a New Ladder 4 8 4 2 3 Renaming a Ladder eene 4 8 4 2 4 Copying a Ladder 4 9 4 2 5 Changing Execution 4 9 4 2 6 Import 4 9 4 2 7 Deleting a Ladder 4 10 4 3 Displaying Multiple 4 11 4 4 Editing 1 2 24 2 24 44 22222 4 12 4 4 1 Saving Ladder 4 12 4 4 2 gt 4 12 4 5 Ladder Chart Contacts and 4 13 4 5 1 BONS BIOG PP 4 14 4 5 2 ao T 4 16 4 5 3 Decision We 4 17
198. tTurm Vertying Flow Chart Right Tarn Yerkbyng Flow Chart Display Verfyng Flow Chart Brake Yerkyng Flow Chart Verfying Flow Chart Flowchart 1 Cell 201 Error in Enable block Missing destination T Flow Charts 64 block 699 bytes Vertying Messages 12 Messages 26 fields 198 bytes Project Verification Done 1 errors and warnings Figure 8 28 The Project Information Messages tab with error information 8 38 PHOENIX CONTACT 2373 en E 2373 en E Simulator Button THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Flow Chart Tutorial 8 5 2 Connecting to the Simulator To simulate a project select the nanoL C Simulate Project menu or click the Simulator button on the standard toolbar This displays the nanoLC Monitor window If a flow chart is open when started the simulator displays all the data items referenced in that flow chart E cre Monitor naar 1400 104 1 08 1 10 1 01 1405 Hz 1 09 1 11 Expansion Hat Installed Hat Installed e E 81 4 5 9 0 00 0 01 0 02 0 03 0 04 0 05 0 06 0 07 Scan Count meee E Output oec OFF Ref Right Turn Timer Timer Counter x xxx Sec 0 000 0 900 Ref Figure 8 29 Simulator with data items displayed To begin simulation click the Start button Table 8 5 lists
199. tedious programming tasks such as handling sign bits separately from values and time de multiplexing values for 2 to 8 channels from a single data word nanoL C takes the usual work out of handling analog data Scaling Analog Data Analog values typically have 8 or 12 data bits Moving analog input values from the I O system to data items occurs automatically during each scan but they must be properly configured when selected in the nanoL C Configuration menu Analog values begin as unsigned integers An analog channel may have 8 10 or 12 data bits Once converted to an integer analog data can be handled as any other integer nanoLC only supports unsigned integers so analog values map to positive 12 bit numbers in the default range of 0 4095 Table 5 5 shows the value mapping for the different types of analog devices supported by the nanoLC Table 5 5 Analog Value Mapping Device Range 4 to 20 mA 0 to 10 V 10 to 10 V Integer Value 0 12 S When configured with scaling values the nanoLC selects an integer value based on the Lower Value and Upper Value specified in the analog configuration dialog box see Figure 5 5 and the input voltage or amperage nLC l0 4Al Analog Input Configuration Lower Value Al O0 Al 01 Unipolar 0 10 Volts amp 02 Unipolar 0 10 A 03 Unipolar 0 10 Volts Figure 5 5 The nLC IO 4Al configuration dialog box
200. that an old message is cleared before writing a new one leave the Clear Line check box selected selected by default for the line s to clear prior to displaying new text The symbols that appear in the Insert Symbols list correspond to special keys that are available on the nanoLC 4 Click the Save button to save the message Inserting Data Display Items To display a data item use the Insert Data Display Item group as follows 1 Selectacell of the message 2 Select the data item Type from the drop down list Select the data item from the Data Item drop down list 4 Click the Insert button to insert the data display item in the message Inserting Data Entry Items To have the user enter a data item use the Insert Data Entry Item group as follows 1 Selectacell of the message 2 Select the data item Return Type from the drop down list Select the data item from the Data Item drop down list 4 Click the Insert button to insert the data entry item in the message 3 8 3 Copying Messages To copy a message follow these steps 1 Selectthe View Message Editor menu or click the Edit Messages button on the Main toolbar to display the Message Editor 2 Select the message to copy from the Current Message drop down list This displays the current message in the four lines of the Message group at the top of the window Click the Copy button This displays the Copy Message d
201. the No button to cancel The only way to undo deletion of a chart is by closing the project without saving changes This abandons all changes that were made to the project since the last save PHOENIX CONTACT 3 9 nanoNavigator P nanoNavigator nanoLights Ele Edit View nanoLC Window Project saved successfully 3 10 PHOENIX CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS 3 3 Displaying Multiple Flow Charts By default when opening a chart nanoNavigator maximizes it in the workspace Switch to other open charts using either the list in the Window menu or by pressing the lt Ctrl gt lt F6 gt or lt Ctrl gt lt Tab gt lt Ctrl gt lt Shift gt lt F6 gt or lt Ctrl gt lt Shift gt lt Tab gt to reverse the order keys nanoNavigator also permits maximizing minimizing or closing any chart window by using the Window controls in the upper right corner nanoNavigator allows multiple charts to be open simultaneously This is very useful for copying flow chart logic from one flow chart to another NOTE Different chart types can be opened simultaneously However it is not possible to copy content between different chart types Only content from a flow chart can be copied into a flow chart and only content from a ladder chart can be copied into a ladder chart Figure 3 7 Vertically tiled flow chart windows 2373 en E 2373 en E online components com THE ONLINE DISTRIBUTOR OF EL
202. toolbar or select the View Message Editor menu to display the Message Editor in the nanoNavigator workspace Once open the Message Editor is like any other window Display the Message Editor by selecting it from the Windows menu selecting it again from the View menu or pressing lt Ctrl gt lt F6 gt or M al lt Ctrl gt lt Shift gt lt F6 gt until it appears on top When using Windows Cascade or one of 5 i the Tile options with the Message Editor open the Message Editor appears along with all open charts 4 28 PHOENIX CONTACT 2373 en E 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Ladder Chart Programming 4 6 2 Creating and Editing Messages To create or edit a message follow these steps 1 Selectthe View Message Editor menu or click the Edit Messages button on the Main toolbar to display the Message Editor 2 Select the message to create or edit from the Current Message drop down list This displays the current message in the four lines of the Message group at the top of the window Enter any static text data display items data entry items and or symbols in the fields The nanoLC does not clear any message cells that aren t explicitly overwritten To ensure that an old message is cleared before writing a new one leave the Clear Line check box selected selected by default for the line s to clear prior to displaying new text The symb
203. tor has two types of branching blocks that are described later see Types of Branching Blocks on page 8 5 Using just action and branching blocks flow charts can have complete control of I O systems or control a machine or process A project may consist of one or several flow charts 2373 en E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Flow Chart Tutorial Types of Action Blocks nanoNavigator has three types of action blocks Control Message and Move Control blocks see Figure 8 2 initiate an action such as turning on an output or resetting a timer One Control block can have up to four control expressions Control expressions set values for flags turn outputs on and off and control timers and counters Figure 8 2 Action blocks Message blocks select a message number from 0 to 31 to display on the Operator Panel The Message Editor see Using the Message Editor on page 3 31 specifies messages to display Move blocks simply move data from one data item to another The source data item remains unchanged Types of Branching Blocks Branching blocks both Decision and Compare blocks perform a test and determine which of two paths to take after the test Each branching block has one entry point and two exit points indicating Yes and No paths from the block By default the bottom connector is the Yes path and the right side is the No path il The standard orientation of a flo
204. try region of the Decision block at A1 and then click nanoNavigator automatically chooses the best route for the line 7 Fromthe right side of the Decision block click the exit region and then click the entry region of the Control block at B2 8 From the bottom of the Control block at B2 click the exit region Move the mouse pointer to the entry region of the Decision block at A1 and then click nanoNavigator automatically chooses the best route for the line The completed flow chart should look like Figure 8 19 Lett Brake Lig it 9 TON Left Brake 611 Pi ht Brake Light THOM Fugit Brake Light 50 Time rone 2 Set Timerncomner t Flag 063 063 Flag 053 Figure 8 19 Brake control flow chart 2373 en E PHOENIX CONTACT 8 25 nanoNavigator 8 26 PHOENIX CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Saving the Program Now save the flow chart program Follow these steps 1 Selectthe File Save Flow Chart menu 2 Inthe Flow Chart Name dialog box enter BrakeControl 3 Click the OK button 8 4 2 Creating Left Turn Flow Chart Create the left turn flow chart using the same techniques described in creating the brake control flow chart Follow these steps 1 Selectthe File New Flow Chart menu 2 Use Table 8 2 to create the flow chart blocks and enter expressions in each block Table 8 2 Left Turn Flow Chart Blocks Control B1 Timer Counter
205. ts Section 8 Flow Chart Tutorial describes how to install nanoNavigator connect to nanoLC create a flow chart project and verify the project 1 2 Revisions Table 1 1 Revisions 1 3 Added analog input module Required firmware update General edits and corrections Added Ladder Chart logic General edits PHOENIX CONTACT 1 3 nanoNavigator online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS 1 3 System Requirements nanoNavigator requires Keyboard and mouse Display 800x600 minimum resolution Windows 2000 SP4 Windows XP SP2 or Windows Vista operating systems 400 MHz processor 128 MB memory Hard Drive 280 MB required for net framework 2 0 10 MB required for nanoNavigator and projects framework 2 0 MDAC 2 8 Windows installer 3 0 required to install net IE6 SP1 required to install net 1 4 Manual Conventions This section discusses text conventions used throughout the manual Folder and File Names Folder and file names appear in quotation marks For example nanoNavigator is a folder name MyProject nano is file name Titles Buttons Keywords Mnemonics Command buttons keywords and phrases found in dialog boxes appear in quotes For example the text might say click the Apply button to indicate that there is a button in the dialog box labeled Apply Menu selections also appear in quotes for example File menu and subm
206. uals please send your comments to tecdoc phoenixcontact com 2373_en_E online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Table of Contents 1 gt RE 1 3 1 1 About This Users 2 015 E 1 3 1 2 PICVIGIONS e Q 1 3 1 3 System Requirements 1 4 1 4 Manual CORVOLHlHlOfts een 1 4 1 5 Phoenix Contact Technical 1 5 2 Geng vi c nnn eee en 2 3 2 1 Installing 2 3 2 2 Starting 2 4 2 3 Configuring 2 7 2 4 Connecting to a nanoLQC 9 dy eere nnne nnne nnne 2 13 3 Flow Charn Programming indo rato duos 3 3 3 1 Exploring Flow 5 3 3 3 2 Chart Explorer __ ___ _ 3 6 3 3 Displaying Multiple Flow 3 10 3 4 Editing Flow 3 11 3 5 0 3 12 3 6 Connecting Flow Chart
207. unter 02 55 Data Type Register Data ltem 05 Register 05 55 Cancel Figure 4 23 Move Coil dialog box The Move Coil symbol is displayed as a rectangle with an arrow with the Data Item Type and ID being moved displayed above the symbol and the location it is being moved to displayed below the symbol TCO Ti mer Counter DZ R 05 Register 05 Figure 4 24 Move Coil symbol For more information on how the Move Coil performs powerful data manipulations refer to Using the Move Function on page 5 13 PHOENIX CONTACT 4 27 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator 4 6 Using the Message Editor The Message Editor permits definition of up to 32 four line messages to use during project execution Each line can have up to 20 characters and lines can contain any combination of static text data item output and user requested input Message Clear Line BRR pt TTT TT et 2 _________________ _____ __ _ Current Message BO gt Insert Data Display Item Insert Symbol Type Insert Select Type w Data Item 4 gt mM Insert Data Entry Item Return Select Type v Insert __ tjui Figure 4 25 Use the Message Editor to define and edit messages in a project 4 6 1 Displaying the Message Editor Click the Edit Messages button in the Main
208. ute from C6 to A1 is confusing do the following 1 Selectthe line by clicking anywhere along it When selected the line highlights red by default 2 Press the Delete key to delete the line 3 Click the exit region of block C6 and notice that a grid of light colored orange by default squares appear nine per cell 4 Clickthe square in the lower right corner of cell C6 5 If necessary scroll up to view row 2 6 Click the square in the lower right corner of cell CO 7 Click the square in the center bottom of cell AO 8 Click the top of the Decision block in A1 to complete the flow line 2373 en E PHOENIX CONTACT 8 29 THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator Displaying Output Creating Messages To view what the project is doing it is easy to set up messages to display on the optional nanoLC Operator Panel If the nanoLC does not include an Operator Panel this section may still be worthwhile to see how operators can interact with the display and keys To create the display flow chart program follow these steps 1 Select the View Data Items menu to display the Data Editor 2 Click the plus button in front of Display Messages to view the 31 available message items 3 Changethe message item Label and Type forthe first nine message items as shown in Table 8 4 refers to the input type expected in response to a displayed message The operator provid
209. vious scan Table 4 1 defines all possible Enable element combinations This table shows valid data item types and the conditions that appear in the Condition drop down list For example it is possible to test to see if an Input is ON or Table 4 1 Valid Enable Element Expression 2373 en E PHOENIX CONTACT 4 15 nanoNavigator online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS 4 5 2 Rungs Ladder charts rely on rungs crossing from one bus to the other A rung is populated with elements contacts inputs and coils outputs to create an instruction The arrangement of the elements can be as parallel or series normally open or normally closed The nanoLC processes a ladder chart from left to right and top to bottom with each rung essentially being a separate instruction As each rung is evaluated instructions are completed based on the logic of the ladder chart When a new ladder chart is created the first rung is automatically created and includes a contact in cell A1 and a coil in cell E1 Figure 4 12 New ladder chart with first rung showing default contact and coil Additional rungs may be added to the chart Every new rung includes one Contact in column A and one Coil in column E New rungs may be added anywhere on the chart but they must be contiguous To add a new rung 1 Click the Rung button in the Toolbar 2 Click in the desired location on the grid Clicking
210. w chart execution begins with the block connected to the Enable block see Enable Block on page 3 13 The scan continues in that flow chart until a flow line routes back to a block that has already been scanned It marks that block and leaves the flow chart to scan the next enabled flow chart in the same manner until all enabled flow charts have executed It then sends all updated outputs ON or OFF to output devices On the next and following scans the nanoLC reads inputs executes enabled flow charts starting where it left off at the marked block continuing until flow routes back to a block that s already been examined in this particular scan and then sends updated outputs This continues until the nanoLC is turned off 8 3 2 Flow Chart Execution Order As discussed above nanoLC executes all flow charts in every scan cycle Use the Chart Explorer to specify the order of chart execution see Changing Execution Order on page 3 8 The Chart Explorer displays both flow charts and ladder charts Execution order is based on the order specified in the Chart Explorer regardless of the type of chart Because it s possible to have more than one flow chart controlling the same output for example one or more auto mode flow charts a diagnostic flow chart and a recovery flow chart consider placing the diagnostic flow chart last in the list or next to last before the recovery flow chart 2373 en E PHOENIX CONTACT 8 19 THE ONLINE DISTRIB
211. w chart is top to bottom for ease in reading 2373 en E PHOENIX CONTACT 8 5 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS nanoNavigator Both Decision and Compare blocks appear as diamonds in the flow chart see Figure 8 3 Since the Wait block has an implicit branch to itself it also appears as a diamond Figure 8 3 Decision Compare and Wait blocks appear as diamonds Decision blocks examine the state of a data item using a Boolean comparison For example a Decision block can test inputs or outputs to determine if they are ON or OFF or transitioning from one state to the other A Decision block can have one or two decision expressions If there are two expressions an OR or AND condition links them For example a Decision block could have the following expressions nput1 ON AND Input2 OFF Use Compare blocks to compare two data items For example a Compare block can compare an integer register value to a constant or another register A Compare block can compare values using one of the following comparison operators Equal gt Greater Than Less Than gt Greater Than or Equal To Less Than or Equal To IsEven doesn t have a second data item to compare to The Wait block inserts a wait period in the execution of the flow chart A Wait block can have a wait period set in seconds or hours minutes and seconds as a constant or as a value in a register If the wait durat
212. ws 2373 en E PHOENIX CONTACT 4 11 nanoNavigator online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS To display more than one chart at a time Select the Window Cascade menu to show all open charts one behind the other slightly offset Select the Window Tile Vertically menu to display all open charts in a vertical arrangement as shown in Figure 4 8 Select the Window Tile Horizontal menu to display all open charts in a horizontal arrangement Charts that are minimized are not displayed using the Window commands 4 12 PHOENIX CONTACT 4 4 Editing Ladder Charts nanoNavigator provides intuitive Windows style editing capability to move or cut and paste contacts and coils from one grid location to another Many functions are available with a mouse right click or use Main toolbar buttons as described 4 4 1 Saving Ladder Charts Select the File Save Ladder Chart menu to save the current ladder chart using the current name the default is Ladderchart followed by a number Attempting to close a ladder chart after modifying it displays a Changes Made dialog box Click the Yes button to save the changes click the No button to close the ladder chart without saving it or click the Cancel button to return to the ladder chart To save a copy of the current ladder chart select the File Save Ladder Chart As menu This menu selection displays the Rename Cha
213. xels in the second line and the down arrow symbol key in the same pixels in the third line For the RightBrakeOn message use the fifth through seventh pixels counting from the right side of the display Figure 8 25 shows the resulting Message Editor P naneavieater nanoLights Message Editor Message Clear Line __ _ __ Bsss HOEN o Ee Di Current Message iG CIEL Insert Data Display Item Insert Symbol Data Item Insert m Select Type Insert Data Entry Item Return Select Type v Insert ______________ Figure 8 25 Message M 08 RightBrakeOn 8 34 PHOENIX CONTACT Displaying Messages Creating the Flow Chart After defining messages create a flow chart that displays appropriate messages depending on the state of data items during project execution 1 2 3 Create a new flow chart In cell A1 enter a Message block Double click the Message block and select the message M 00 Background as the Message Enter a Decision block in the following cells A2 B2 C2 and D2 Enter a Control block in the following cells A3 B3 C3 and D3 2373 en E onlinecomponents com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Flow Chart Tutorial 6 Enterthe expressions and connect the blocks as shown in Figure 8 26 E cg sagen
Download Pdf Manuals
Related Search
Related Contents
HDM-555 - ご利用の条件|取扱説明書|ケンウッド LOGASnet User Guide for DCLG Users v1.0 enduit gouttelette pièces humides Triarch 31912 User's Manual Wireless Video Door Phone User Manual Bosch RHS181K Use and Care Manual ARCTIC Accelero S1 Rev 2 HCT-1000 7000-2931_B Copyright © All rights reserved.
Failed to retrieve file