3
LAB 3: USING THE SCADABR HMI Estimated Time: 3 hours Purpose: The purpose of this Lab exercise is to develop an. Objective: Write a second ladder logic file for your lab 2 circuit and develop and HMI that allows remote monitoring and control of the circuit. Lab Setup and Requirements: The student will need to have installed the OpenPLC runtime for Windows, the OpenPLC editor, and a Arduino Uno plus bread board. Step 1: Develop Ladder Logic to turn on/off a LED if any of the following three conditions are true. 1. a button is pressed and held down 2. number1 (16-bit INT) is greater than number2 (16-bit INT) number 1 and number2 should be observable and settable in the HMI. Hint use %MW0 and %MW1 (%MW0 and %MW1 are not connected to Arduino pins. They are addressable memory locations writeable from Modbus.) 3. binary input (override) from HMI is 1 Hint use %QX101.0 (%QX101.0 is not connected to an Arduino pin. It is an addressable memory locations writeable from Modbus.) Step 2: Add an LED in your SCADABR HMI to display the LED status. Page | 1 This document is licensed with a Creative Commons Attribution 4.0 International License ©2017

C5 MS Word Template Accessibleshare.ialab.dsu.edu/CRRC/SCADA/lab03-hmi.docx  · Web viewLab 3: using The SCADABR HMI. Estimated Time: 3 hours Purpose: The purpose of this Lab exercise

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: C5 MS Word Template Accessibleshare.ialab.dsu.edu/CRRC/SCADA/lab03-hmi.docx  · Web viewLab 3: using The SCADABR HMI. Estimated Time: 3 hours Purpose: The purpose of this Lab exercise

LAB 3: USING THE SCADABR HMI

Estimated Time: 3 hours

Purpose: The purpose of this Lab exercise is to develop an.

Objective: Write a second ladder logic file for your lab 2 circuit and develop and HMI that allows remote monitoring and control of the circuit.

Lab Setup and Requirements: The student will need to have installed the OpenPLC runtime for Windows, the OpenPLC editor, and a Arduino Uno plus bread board.

Step 1: Develop Ladder Logic to turn on/off a LED if any of the following three conditions are true.

1. a button is pressed and held down

2. number1 (16-bit INT) is greater than number2 (16-bit INT)

number 1 and number2 should be observable and settable in the HMI.

Hint use %MW0 and %MW1 (%MW0 and %MW1 are not connected to Arduino pins. They are addressable memory locations writeable from Modbus.)

3. binary input (override) from HMI is 1

Hint use %QX101.0 (%QX101.0 is not connected to an Arduino pin. It is an addressable memory locations writeable from Modbus.)

Step 2: Add an LED in your SCADABR HMI to display the LED status.

Create a data source for the LED output on your circuit board.

Do a point locator test for the LED variable. Translate the %QX100.0 address to a Modbus address. Use this value in the “offset” field of the point locator test. Remember to select the register range and data type. Once the location is found, use add point to save the point.

Page | 1

This document is licensed with a Creative Commons Attribution 4.0 International License ©2017

Page 2: C5 MS Word Template Accessibleshare.ialab.dsu.edu/CRRC/SCADA/lab03-hmi.docx  · Web viewLab 3: using The SCADABR HMI. Estimated Time: 3 hours Purpose: The purpose of this Lab exercise

Use a LED16 or LED24 binary graphic.

Step 3: Use simple point components to display and control number1 and number2.

Create data sources for each value.

Label the simple point using a HTML component.

Step 4: Use a binary graphic - > Ligu/Desliga Botao component to add a button to control and display the state of the binary input from step 1.

Page | 2

This document is licensed with a Creative Commons Attribution 4.0 International License ©2017 Catalyzing Computing and Cybersecurity in Community Colleges (C5).

Page 3: C5 MS Word Template Accessibleshare.ialab.dsu.edu/CRRC/SCADA/lab03-hmi.docx  · Web viewLab 3: using The SCADABR HMI. Estimated Time: 3 hours Purpose: The purpose of this Lab exercise

SOLUTIONS

Figure 1: Ladder Logic Solution

Page | 3

This document is licensed with a Creative Commons Attribution 4.0 International License ©2017 Catalyzing Computing and Cybersecurity in Community Colleges (C5).