You are on page 1of 24

Creating log in account as administrator in LabView DSC 1.

Project Explorer >> Tool >> Security >> Domain Account Manager

2. File >> New >> Local domain

3. Under Domain Properties window, set Domain name as administrator and click OK. Then set the desired password.

4. After setting of Domain name and password is done, the following screen will be appeared.

5. Then go back to NI Distributed System Manager (DSM) and click Action >> Log In. Then you will see Logged in as: administrator at the bottom of the DSM window.

Creating new Project in Labview DSC using ModBus I/O 1. Please make sure that Anti-Virus and Firewall are disabled before running LV DSC and ModBus OPC Server. 2. Open Labview and click empty project. 3. In Project Explorer, right click on My Computer >> New >> Library

4. Right click to Untitled Library >> Save >> Save. Then choose the desired location and file name.

5. Right click on Library >> New >> I/O Server.

6. Choose Modbus and click Continue.

7. Set the Modbus I/O Server setting according to the PC setting and click OK.

i) To check the PC setting, go to Control Panel >> Hardware and Sound >> Device Manager. ii) Find Ports (COM & LPT) iii) Right click on ATEN USB to Serial Bridge >> Port Settings

8. Check the Energy Meter setting and it must be the same setting as the Modbus I/O Server Setting. 9. Right click on Library >> New >> Variable.

10. Set the variable name and click on Enable Aliasing check box and click Browse. The following figure will be appeared.

11. Choose the range of F400001-F465534 for voltage and power in this example. Click OK. 12. Set F400010 for Voltage variable and F400008 for Power Variable in this example. Click OK.

13. In Project Explorer, right click on My Computer >> New >> VI

14. Drag and drop the variables from Project Explorer to the blank VI.

15. In Project Explorer, right click on Library and Click Deploy All

16. In VI , click the run button

17. In Project Explorer, click Tool >> Distributed System Manager (DSM)

18. After Log in as an administrator to DSM, the following figures will be displayed.

Data Logging 1. In Project Explorer, right click on the Library and click properties.

2. Click on DSC Settings: Database and click the check box as shown in the figure. Click OK.

3. In NI DSM, right clicks on individual variables and choose edit variable. Choose Logging and click the check box as shown in the figure.

4. In Project Explorer, click Tools >> Measurement & Automation Explorer

5. Refer to the diagram

6. Right click on New Trace View and click Add/ Remove then select the variable that you want to log in as shown in the figure.

7. Then select all and click on Export Setting as shown in the following figure.

8. And choose the location that you want to save the file.

9. Click on Archive and follow the procedures shown in the following figures.

10. Click Export to the Text and follow the procedures shown in the following figures.

11. Click on the folder icon to save the output file location.

12. Click start.

13. Go to the folder that the output file is saved.

14. Open the file in MS Excel

Daisy Chain Connection for Multiple Energy Meters

AMeter #1

B+

AMeter #2

B+

R-/D-

R+/D+

RS 485 Communication

You might also like