Schneider Electric - Life is on

Security Guide, System monitor User Manual, System Monitor API Reference, 16DI/8DO API

Legal Information

The Schneider Electric brand and any trademarks of Schneider Electric SE and its subsidiaries referred to in this guide are the property of Schneider Electric SE or its subsidiaries. All other brands may be trademarks of their respective owners. This guide and its content are protected under applicable copyright laws and furnished for informational use only. No part of this guide may be reproduced or transmitted in any form or by any means (electronic, mechanical, photocopying, recording, or otherwise), for any purpose, without the prior written permission of Schneider Electric. Schneider Electric does not grant any right or license for commercial use of the guide or its content, except for a non-exclusive and personal license to consult it on an "as is" basis. Schneider Electric products and equipment should be installed, operated, serviced, and maintained only by qualified personnel.
As standards, specifications, and designs change from time to time, information contained in this guide may be subject to change without notice.
To the extent permitted by applicable law, no responsibility or liability is assumed by Schneider Electric and its subsidiaries for any errors or omissions in the informational content of this material or consequences arising out of or resulting from the use of the information contained herein.

Overview

This document describes information on the following topics for use of Harmony P6 Series (hereinafter referred to as this product).

Update history

Table of Contents

Network protection

Security update of the OS (Windows) on this product

Account type

Environment settings of Node-RED

Username and Password of Node-RED flow editor

Port number used for Node-RED

Important notes for starting Node.js and Node-RED at system startup

Protection of the Node-RED environment

How to enable Windows Automatic Update

  1. Right click the Start button and Select Run.
    img_smsg110_01.jpg
  2. Type "gpedit.msc" and click [OK].
    img_smsg110_02.png
  3. Open “Computer Configuration\Administrative Templates\Windows Components\Windows Update\Configure Automatic Update” .
    img_smsg110_03.png

     
    img_smsg110_04.png
  4. Change the setting [Disable] to [Enable] and select [Options] settings according to the using environment.
    img_smsg110_05.png

How to enable Windows Security Virus & threat protection update

  1. Right click the Start button and Select Run.
  2. Type "gpedit.msc" and click [OK].
  3. Open “Computer Configuration\Administrative Templates\Windows Components\Microsoft Defender Antivirus\Security Intelligence Updates\Define the order of sources for downloading security intelligence updates ” .

     
  4. Change the setting [Enabled] to [Not Configured].
  5. Open “Computer Configuration\Administrative Templates\Windows Components\Microsoft Defender Antivirus\Security Intelligence Updates\Define the file shares for downloading security intelligence updates” .
  6. Change the setting [Enabled] to [Not Configured].

Create a Standard User account

  1. Select Settings -> Accounts
    img_smsg110_06.png
  2. Select Family & other users - Add someone else to this PC and set a username (“StandardUser0” here.) and a password.
    img_smsg110_07.png
  3. StandardUser0 has been created.
  4. Create a set of user environment file (%USERPROFILE%) by signing in with the created StandardUser0 account once.
    Click Start -> Sign out
    img_smsg110_09.png
  5. Select the username on the Sign in screen and sign in.
    img_smsg110_10.png
  6. The desktop is displayed. Double-click the Launcher icon.
     img_smsg110_11.png
  7. Select System Monitor on the Launcher
    img_smsg110_12.png
  8. Dashboard appears.
    img_smsg110_13.png
  9. Select Start -> Sign out
  10. Sign in with the original Administrator User account.
    img_smsg110_15.png

The new user account with a Standard User right is now created.

File Access Right Setting

  1. Using an Administrator User account, acquire an access right to edit files and folders created with Standard User accounts.
    Open the File Explorer.
    img_smsg110_16.png
  2. Select the created Standard User folder under C:¥Users.
    The confirmation dialog box for acquiring an access right appears. Select [Continue].
    img_smsg110_17.png
  3. Change the owner to the Administrators User group so that Standard Users cannot change the Node-RED environment.
    Right click on the node-red folder and select [Properties]. If the node-red folder does not exist here, it means that System Monitor is not started even once by this user. In this case go back to the step 4 of Create a Standard User account.
    img_smsg110_18.png
  4. Select Security -> Advanced
    img_smsg110_19.png
  5. Select [Change] next to [Owner] to change the right of ownership.
    img_smsg110_20.png
  6. Enter “Administrators” in [Enter the object name to select] and select [OK]. The owner is changed to the Administrators User group.
    img_smsg110_21.png
  7. Check the box of [Replace owner on subcontainers and objects].
    img_smsg110_22.png
  8. Check the box of [Replace child object permission entries with inheritable permission entries from this object].
    img_smsg110_23.png
  9. Select [Disable inheritance].
    img_smsg110_24.png
  10. A dialog box appears to ask what you would like to do with the inherited access right. Select [Convert inherited permissions into explicit permissions on this object.].
    img_smsg110_25.png
  11. Delete only the Full control permission because the .node-red folder needs the Write permission when executing Node-RED.
    Select the Standard User to use - StandardUser0 – and then select [Edit].
    img_smsg110_26.png
  12. Uncheck [Full control] in [Basic permissions] and select [OK].
    img_smsg110_27.png
  13. Confirm that the access right of the Standard User is changed to [Modify] and select [OK].
    img_smsg110_28.png
  14. A confirmation dialog box for replacing the access right appears. Select [Yes].
    img_smsg110_29.png
  15. [Select [OK].
    img_smsg110_30.png
  16. Configure detailed settings of the files in the .node-red folder. As “settings.js” includes important setting information, edit must be prohibited.
    Right click on “settings.js” and open [Properties].
    img_smsg110_31.png
  17. Select Security -> Advanced
    img_smsg110_32.png
  18. Select [Disable inheritance].
    img_smsg110_33.png
  19. A dialog box appears to ask what you would like to do with the inherited access right. Select [Convert inherited permissions into explicit permissions on this object.].
    img_smsg110_34.png
  20. Select the Standard User to be used - StandardUser0 – and then select [Edit].
    img_smsg110_35.png
  21. Uncheck [Full control], [Modify], and [Write] in [Basic Permissions].
    img_smsg110_36.png
  22. Confirm that the access right of the Standard User is changed to [Read & execute] and select [OK].
    img_smsg110_37.png
  23. Select [OK].
    img_smsg110_38.png
  24. Prohibit edit of the flow file in the .node-red folder.
    Open [Properties] of the flow file in the .node-red folder and change the access right of the Standard User to [Read & execute] in the same way as the step 17 to 23.
    img_smsg110_39.png
  25. Change the access right to read only to protect the global-installed node.
    Open the User folder and enter ¥AppData¥Roaming after the folder name to open the hidden folder.
    img_smsg110_40.png
  26. Open [Properties] of ¥AppData¥Roaming¥npm.
    img_smsg110_41.png
  27. Uncheck [Full control], [Modify], and [Write] in the same way as the step 4 to 11.
    img_smsg110_42.png
  28. Confirm that the access right of the Standard User is changed to [Read & execute] and select [OK]. Then follow the step 14 to 15.
    img_smsg110_43.png

The access right of the created Standard User account to access the files related with node-red is now changed.

System Monitor

What is System Monitor?

Note : On Firefox, System Monitor's graphs cannot be drawn properly. Use Internet Explorer, Chrome or Edge to draw graphs.

Security

System Monitor error action

System Monitor takes the following actions when an error is detected.

How to open System Monitor

How to edit System Monitor Sample Dashboard

Important note for editing Node-RED Flow

Dedicated Node for This Product

node-red-contrib-sep6platform

node-sep6platform

node-red-contrib-sep6sensor

node-sep6sensor

System Monitor API

API for Windows is available, and it can be used when you want to directly acquire sensor data from a user application without using System Monitor Sample Dashboard.
And also available a watchdog timer (WDT) API for monitoring application behavior.

Supported OS

Development Environment

Download file

DLL Files

Note: DLL files are installed by a P6_DedicatedUtility_V2.1.zip. If you need the DLL to install in your development environment, please contact your local distributer.

Header Files

Lib Files

Difinition

Identifier Remark
RDI_Lib_Ver, Lib version. ("x.x.x.x")
RDI_Temp_Mb_Min, MB minimum temparature log data. (Celsius temperature)
RDI_Temp_Mb_Current, MB tempareture. (Celsius temperature)
RDI_Temp_Mb_Max, MB maximum temparature log data. (Celsius temperature)
RDI_Temp_Cpu_Min, CPU minimum temparature log data. (Celsius temperature)
RDI_Temp_Cpu_Current, CPU tempareture. (Celsius temperature)
RDI_Temp_Cpu_Max, CPU maximum temparature log data. (Celsius temperature)
RDI_Temp_Cpu_Dts1, CPU core 1 DTS. (Celsius temperature)
RDI_Temp_Cpu_Dts2, CPU core 2 DTS. (Celsius temperature)
RDI_Temp_Cpu_Dts3, CPU core 3 DTS. (Celsius temperature)
RDI_Temp_Cpu_Dts4, CPU core 4 DTS. (Celsius temperature)
RDI_Temp_Cpu_Dts5, CPU core 5 DTS. (Celsius temperature)
RDI_Temp_Cpu_Dts6, CPU core 6 DTS. (Celsius temperature)
RDI_Temp_Cpu_Dts7, CPU core 7 DTS. (Celsius temperature)
RDI_Temp_Cpu_Dts8, CPU core 8 DTS. (Celsius temperature)
RDI_Temp_Hdd_Min, HDD minimum temparature log data. (Celsius temperature)
RDI_Temp_Hdd_Current, HDD tempareture. (Celsius temperature)
RDI_Temp_Hdd_Max, HDD maximum temparature log data. (Celsius temperature)
RDI_Volt_5VSTB, 5VSTB voltage. (mV)
RDI_Volt_5V, 5V voltage. (mV)
RDI_Volt_12V, 12V voltage. (mV)
RDI_Volt_33V, 3.3V voltage. (mV)
RDI_Mcu_Ver, MCU version number. ("xxxx")
RDI_Mcu_Poh, MCU power-on hours. (Hours)
RDI_Mcu_Mcot, MCU most continuous power-on time. (Hours)
RDI_Mcu_Pwon_Count, MCU power on counts. (Number of times)
RDI_Psu_Watt, PSU watt value. (mW)
RDI_Psu_Current, PSU current value. (mA)
WDT_STOP WDT status stop
WDT_COUNTING WDT status counting
WDT_TIMEOUT WDT status timeout
WDT_HWRESET_DISABLE WDT hardware reset disable
WDT_HWRESET_ENABLE WDT hardware reset enable

Function Reference

System Monitor FAQ

Remote connection (Refer to System Monitor from an external PC.)

Unable to draw graphs when remotely connected

ERROR LED API

API to control Basic Model's rear ERROR LEDs from the application.

Supported Model

Supported OS

Development Environment

Download file

DLL Files

Header Files

Lib Files

Difinition

Identifier Remark
ERROR_LED_STATUS_ON Error LED On
ERROR_LED_STATUS_OFF Error LED Off

Function Reference

16DI/8DO API

This API provides input/output functions with a 16DI/8DO optional interface.

Supported Product

Supported OS

Development Environment

Download file

Sample Code

DLL Files

Header Files

Lib Files

Difinition

Category Identifier Remark
Error code SERI_ERROR_FAIL_ Error.
SERI_ERROR_OK_ No error.
SERI_ERROR_RESPONSE_ Response error.
SERI_ERROR_COMM_TIMEOUT_ Set comm timeout error.
SERI_ERROR_HANDLE_ Handle error.
SERI_ERROR_PARAM_ Parameter error.
Counter ID DIDO_COUNTER0_ Counter 0.
DIDO_COUNTER1_ Counter 1.
Control code DIDO_COUNTER_RESET_ Reset Counter.
DIDO_COUNTER_START_ Start Counter.
DIDO_COUNTER_STOP_ Stop Counter.
DIDO_COUNTER_RESTART_ Restart Counter.
DIDO_COUNTER_MODE_RISING_ Counter mode Rising.
DIDO_COUNTER_MODE_FALLING_ Counter mode Falling.
DIDO_COUNTER_MODE_BOTH_ Counter mode Both.
DIDO_COUNTER_DEBOUNCE_ENABLE_ Counter debounce enable.
DIDO_COUNTER_DEBOUNCE_DISABLE_ Counter debounce disable.

Function Reference