AUTOMATION Quick Start Guide UM QS INT nanoLC Order No.
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 described 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.
nanoLC Explanation of Symbols Used and Signal Words 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.
nanoNavigator sample program 1 nanoNavigator sample program 1.1 Introduction Welcome to the nanoLine Controller Quick Start Guide. This document will guide you through the process of configuring a nanoLine controller (nanoLC) to perform a simple, example application. Starter Kit (Part No. 2701399) includes all the components to simulate this and many other applications.
nanoLC be turned on to refill the tank. An LED light (output) will simulate the valve being opened (ON) or closed (OFF). The nanoLC Operator Panel is used to display the status of the valve (ON or OFF). Figure 1-2 below graphically shows the flow of the program logic. Start Here Is the level sensor (input) ON? No Yes Turn the inlet valve (output) OFF Turn the inlet valve (output) ON Display the inlet valve status (ON or OFF) Figure 1-2 1.
nanoNavigator sample program 1.2.1 1. Hardware installation Remove the blanks from the base unit and install the nanoLC Operator Panel and USB communication module. NOTE: Do not connect the USB cable to the PC until after completing the nanoNavigator software installation, described later in this document. 2. 3. Attach the input switch simulator and output LED simulator modules to the nanoLC terminals as shown in Figure 1-3.
nanoLC 1.2.2 1. 2. 3. Software installation and connection to the controller Insert the nanoNavigator CD and follow the installation instructions that appear on the screen. Connect the PC to the nanoLC using the USB cable. Click the “Start… All Programs… Phoenix Contact… nanoNavigator” button to open the “nanoNavigator Startup” window (Figure 1-4). The first time nanoNavigator is started, it may take up to 10 seconds as .NET starts. Do not start a second copy of nanoNavigator during this time.
nanoNavigator sample program When nanoNavigator connects to the nanoLC, the nanoLC Connection Wizard window appears (Figure 1-5). “New” button Figure 1-5 nanoLC Connection Wizard If the nanoLC does not connect automatically, click the “Port” button and select the correct port, for example, COM1, then click on “Next” to connect. The Port button does not appear unless a controller is not found. 5. Click the “New” button to start a new project.
nanoLC 1.3.1 Cell A1 – Decision Block The first step the nanoLC must do is check the water level in the tank to “decide” if the water valve should be turned ON or OFF. This is accomplished through a Decision block and a sensor connected to input I0 (or in our example application, a switch connected to input I0). 1. Click the “Decision” icon on the tool bar. 2. Use the mouse to position the cursor in cell A1. (Note that the cursor changes shape).
nanoNavigator sample program 1.3.2 Cell A2 – Control Block The Decision Block asks the question, “Is INPUT 0 ON?” If the answer is yes (Y), the nanoLC should turn the water inlet valve off to stop the tank from filling. This is accomplished through the use of a Control block. Note that each possible answer to the question requires a separate control block. To enter a control block: 1. Click the “Control” icon on the tool bar to select it. 2. Use the mouse to position the cursor in cell A2.
nanoLC 1.3.3 Cell B2 – Control Block The Decision Block asks the question, “Is INPUT 0 ON?” If the answer is no (N), the nanoLC should open the water inlet valve to fill the tank. This is accomplished through the use of a Control block. Note that each possible answer to the question requires a separate control block. To enter a control block: 1. Click the “Control” icon on the tool bar to select it. 2. Use the mouse to position the cursor in cell B2. (Note that the cursor changes shape).
nanoNavigator sample program 1.3.4 Message for the Operator Panel The nanoLC’s Operator Panel displays a message with the state of the water inlet valve, either ON or OFF. To accomplish this a message is created, and then the message is placed in a Message block on the flow chart at the desired display point. 1. Click the “View…Messages” menu to open the Message Editor. The Message Editor creates messages of 4 lines with 20 characters each. 2.
nanoLC 1.3.5 Cell A3 – Message block After the message is created, it must be added to the flow chart at the appropriate location. 1. Click the “Message” icon on the tool bar. 2. Use the mouse to position the cursor in cell A3. (Note that the cursor changes shape). Click the mouse button to “drop” a Message block in the cell. 3. Double-click the Message block in cell B2 to open the “Message Block” dialog box. 4. Enter data in the various fields in the dialog box as shown in Figure 1-10.
nanoNavigator sample program 1.3.6 Connecting Blocks To complete the flow chart the connecting lines must be added to the flow diagram. 1. Move the cursor over the connection point of cell A0 and click once. To indicate proper location, a color change occurs when the cursor is in the correct location (Figure 1-11). Color change Color change Exit Point Figure 1-11 Entry Point Exit and entry connection points Connecting lines are directional.
nanoLC Figure 1-12 Hints: – – 1-12 Finished flow chart The + and – icons on the tool bar zooms in and out on the flow chart. To remove a connecting line, click on the line and press the Delete key.
nanoNavigator sample program 1.4 Running the program To run the program on the nanoLC, it must be downloaded to the controller. During the download process a number of dialog boxes open, confirming your actions or providing direction. Follow the messages as directed. To begin: 1. Click the “File… Save Project” menu to save the project. 2. Click the “nanoLC… Connect” menu to connect to the nanoLC. 3. At this point the project is checked for errors.