Vai al contenuto

Step 4: Configuration of Operator Interface page

We will now see how to create an Operator Interface page with two buttons to control start and stop of the motor, a display with motor state, and a button that simulates the emergency input.Double-click the “Messages” icon to open the menu for insertion of the items to be shown on the monitor.To add an item:click the (new) button: the number 1 appears under the ID column. Step 4: Configuration of Operator Interface page-image_0Click the box next to the 1 and type MOTOR CONTROL.Double click on icon “Pages” (always from outline). Now, the commands to act on the pages are available:To add a page: click the New page button: Step 4: Configuration of Operator Interface page-image_0You will be asked to name the new page. Type mainPage.Enter an identifier at the top of the page.In the Palette area, click the Draw button: Step 4: Configuration of Operator Interface page-image_0Click the icon. Step 4: Configuration of Operator Interface page-image_0Click at the top of the main page.The following figure will appear: Step 4: Configuration of Operator Interface page-image_0By positioning the cursor on the small black squares around the figure, pressing the left mouse button and moving the mouse, you can move and change the size of the figure.After changing the size of the area, we specify the text to be shown.Click StringID in the Properties menu (at the right). A window will appear for selection of the test. We select the only text inserted: MOTOR CONTROL.We can also customise the display.Click the sign of the icon. A menu opens for customising the test. Let’s set the following values: Step 4: Configuration of Operator Interface page-image_0 Step 4: Configuration of Operator Interface page-image_1
  • size : 20
  • style : Bold
  • alignment : centre
  • background: select the preferred colour
Step 4: Configuration of Operator Interface page-image_0We now add the buttons to control start and stop of the motor and a window showing motor state.We begin by adding the text to be used.Click on icon present on TopBar in order to vizualize the outline and double click on icon “Messages”. Step 4: Configuration of Operator Interface page-image_0Click the (new) button to add text. Step 4: Configuration of Operator Interface page-image_0Add:MOTOR OFF, MOTOR ON, STOP, START, EMERGENCY Step 4: Configuration of Operator Interface page-image_0Reopen the pages editor by clicking the: icon. Step 4: Configuration of Operator Interface page-image_0On the Palette – Data menu, click Step 4: Configuration of Operator Interface page-image_0Position the mouse on the page and single-click to create the button.Resize it as you like.Click START on the Properties – text – string menu.Connect the component to the PLC:Select IN_START on the Properties – data – label menu.Duplicate the component:click the (copy) button, then click the first (paste) button. Step 4: Configuration of Operator Interface page-image_0 Step 4: Configuration of Operator Interface page-image_1Move the new component slightly under the original component.Click STOP and connect the component to the PLC with the IN_STOP label.In the same way, copy – paste, create the button that simulates the emergency input, to which you assign the text EMERGENCY and connect to the IN_EMERGENCY PLC variable.Now create the window showing motor state via the Palette – Data menu, on which you click Step 4: Configuration of Operator Interface page-image_0Set 2 (the number of the MOTOR OFF text) on the Properties – data – offset menu.Connect the component to the PLC:Click OUT_RUN on the Properties – data – label menu.The content of the OUT_RUN variable, which can be 0 or 1, will be used to select the text shown in the window: “MOTOR_OFF” or “MOTOR_ON”.Resize the component as required.We are ready to transfer the project to the target.Click on the ‘Deployment’ to make appear the deploy window. Check the checkbox “View deploy” and click on key ‘Execute’The application, if there are no mistakes, will be transferred to the target and the pages will restart.