Difference between revisions of "IEdge/SRP"

From ESS-WIKI
Jump to: navigation, search
(Content)
 
(79 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== iEdge/SEMI ==
+
 
=== Introduction ===
+
= iEdge/SEMI =
 +
 
 +
== Introduction ==
 +
 
 
iEdgeSEMI is an SRP based on the SECS communication protocol used by semiconductor factories. It includes a built-in SECS library, which helps semiconductor factories integrate process equipment and monitor production status using the SECS protocol. This user manual provides basic information on the functions of the SECS gateway in iEdgeSEMI and common SECS command operations through the interaction of S/F messages between SECS Tool and SECS Gateway.
 
iEdgeSEMI is an SRP based on the SECS communication protocol used by semiconductor factories. It includes a built-in SECS library, which helps semiconductor factories integrate process equipment and monitor production status using the SECS protocol. This user manual provides basic information on the functions of the SECS gateway in iEdgeSEMI and common SECS command operations through the interaction of S/F messages between SECS Tool and SECS Gateway.
  
=== Content and Important Items ===
+
== Content ==
  
==== Important Items ====
+
=== Specification ===
The SECS library built into iEdgeSEMI is provided by Giantec Technology. The examples provided in this document are for reference only and do not include any actual process/monitoring equipment data integration services. If there is a need for process/monitoring equipment data integration, please contact Advantech's sales window.
 
  
==== Hardware and Software Information (Table 1) ====
+
{| class="wikitable"
 +
|-
 +
! Items
 +
! Description
 +
! Version
 +
|-
 +
| HW
 +
| EI-52, RAM: 8GB
 +
|  
 +
|-
 +
| BIOS
 +
|  
 +
| F1.10
 +
|-
 +
| OS
 +
| Windows 10 x64
 +
| Windows 10 Enterprise LTSC 1809
 +
|-
 +
| SECS Gateway
 +
| The main program of the SECS Gateway
 +
| v2.0.0.2
 +
|-
 +
| SECS Tool
 +
| A demonstration program for a SECS Host
 +
| v1.0.0.0
 +
|-
 +
| SECS WebUI
 +
| The web-based operation interface of the SECS Gateway
 +
| v1.0.0.4
 +
|-
 +
| Simulator Connector
 +
| A SECS Gateway sensor data simulator
 +
| v1.0.0
 +
|}
  
=== Quick Guide ===
+
=== Notes ===
  
Advantech's SECS SRP hardware EI-52 comes installed with the iEdgeSEMI v1.0 software, which includes the following SECS Gateway and related software:
+
The SECS library built into iEdgeSEMI is provided by Giantec Technology. The examples provided in this document are for reference only and do not include any actual process/monitoring equipment data integration services. If there is a need for process/monitoring equipment data integration, please contact Advantech's sales window.
  
==== iSECS Gateway ====
+
 
The main program of the SECS Gateway.
 
  
==== SECS Tool ====
+
== Quick Guide ==
A demonstration program for a SECS Host. Using the SECS commands and messages provided by the SECS Tool, users can quickly learn how to obtain sensor data from the Simulator through the SECS Gateway.
 
  
==== SECS WebUI ====
+
iEdgeSEMI v1.0 is pre-installed on the EI-52 which is  provided by Advantech iEdgeSEMI SRP.
The web-based operation interface of the SECS Gateway. It provides users with a graphical data view dashboard and a web-based interface for parameter setting.
 
  
==== Simulator Connector ====
+
 
A SECS Gateway sensor data simulator that provides the sensor data and event transmission required by the SECS Gateway.
 
  
=== Registration and Activation ===
+
[[File:Iedge-semi-01.png|border|800x480px|Iedge-semi-01.png]]
The SECS Gateway built into the Advantech EI-52 when it leaves the factory is an unregistered version. The SECS Gateway can still operate for one hour without registration, providing a trial and evaluation of SECS functions. After the activation code registration, the SECS Gateway can be used normally.
 
  
 +
 
  
==== Registration Process ====
+
 
  
*Step 1. Obtain the device serial number After opening the SECS Gateway program, click the "Registration" page on the lower left of the function bar. The system will display the current "device serial number" and the current "authorization code". If it has not been registered, the "authorization code" field will be blank.
+
=== Establish a SECS connection ===
*Step 2. Obtain the authorization code The user should send the device serial number to the relevant registration personnel, who will return a set of "authorization codes".
 
*Step 3. Register the authorization code After receiving the authorization code, enter it in the "update authorization code" field of the SECS Gateway, and click the registration button to complete the update registration action.
 
  
=== Functions and Demonstration Scenarios ===
+
After Windows starts up, SECS Gateway will be automatically launch. please follow below steps to establish a SECS connection:
  
 +
*Step 1. Start the SECS Tool by double-click SECS_Tool.exe under C:\SECS_Gateway\SECSTool to start the SECS Tool.
 +
*Step 2. Click on Port->Properties in the upper toolbar.
  
 +
           In the General page, set DefaultDeviceID = 1.
  
==== Establish a SECS connection ====
+
           In the HSMS page, Select the Active mode for ConnectionMode and enter IP address of the SECS Gateway for the IPAddressRemort field.
  
Make sure the SECS Gateway is running. After Windows starts up, the SECS Gateway will be automatically executed. If the SECS Gateway is not running, you can run SECS_Gateway.exe under the C:\SECS_Gateway\SECS_Gateway folder with administrator privileges, and then follow the steps below after the SECS Gateway is running normally.
+
*Step 3. Click "Open SML file…" in the File function.  
  
*Step 1. Set up the SECS Gateway connection From the SECS_Gateway local browser, enter [http://127.0.0.1:8090 http://127.0.0.1:8090] to open the SECS WebUI. The default login is:
+
           Select the sample_simulator.sml file under C:\SECS_Gateway\SECSTool.
  
           Username: gsadmin Password: gsadmin
+
           After the file is loaded, you can see that the SECS commands have been pre-loaded in the left side "Secs Transaction Object function" menu.
  
           Switch to the SECS_Gateway configuration and click on the setting with ID 1.
+
*Step 4. Establishing a Connection by double-click on "Close" button in the lower-left corner of the program.  
  
           Change Local IP to the real IP of the SECS Gateway, then click Save and Update.
+
           Once the connection is established, the "SECS message traffic area" will display information regarding the connection.
  
*Step 2. Restart the SECS Gateway End the currently running SECS Gateway and restart it to apply the new settings.
+
   [[File:Iedge-semi-11.png|border|800x480px|Iedge-semi-11.png]]
*Step 3. Start the SECS Tool Double-click SECS_Tool.exe under C:\SECS_Gateway\SECSTool to start the SECS Tool.
 
*Step 4. Set up the SECS Tool connection Click on Properties in the Port function in the upper toolbar.  
 
  
           Enter 1 in the DefaultDeviceID field on the General page.
+
 
  
           Select the Active mode in the ConnectionMode on the HSMS page, and enter the IP address of the SECS Gateway in the IPAddressRemort field.
+
=== Obtaining Sensor Data ===
  
*Step 5. Open the SML file Click "Open SML file…" in the File function.  
+
*Step 1. Select "S1F3_Get_Status_Variables" in the Secs Transaction Object function menu. This S/F can be used to read data for temperature, RPM, and switches.
 +
*Step 2. Press Ctrl+s on the keyboard to send the message. The Sensor data will be displayed in the "SECS message traffic area".  
  
           Select the sample_simulator.sml file under C:\SECS_Gateway\SECSTool.
+
   [[File:Iedge-semi-13.png|border|800x480px|Iedge-semi-13.png]]
  
           After the file is loaded, you can see that the SECS commands and messages required by the Simulator have been pre-loaded in the left Secs Transaction Object function menu.
+
 
  
*Step 6. Establishing a Connection Double-click the "Close" button displayed in the lower-left corner of the program to begin the SECS connection.
+
= iEdge/PLC =
  
           Once the connection is established, the SECS message traffic area on the right-hand side will display information regarding the connection.
+
== Introduction ==
  
 +
iEdgePLC is an SRP based on PLC communication protocol used in factory automation. iEdgePLC includes over 500 PLC drivers, which can help maintenance personnel of automated factories monitor equipment status. This user manual demonstrates how to use the built-in PanelExpress software to obtain data from a PLC simulator and transmit the data to the iEdge Server, and how users can quickly view the current PLC data on the iEdge Portal.
  
==== Obtaining Sensor Data ====
+
== Content ==
  
*Step 1. Selecting the Sensor Message to Read Select "S1F3_Get_Status_Variables" from the Secs Transaction Object function menu on the left-hand side. This S/F can be used to read data for temperature, RPM, and switches.
+
=== Specification ===
*Step 2. Sending the Message Press Ctrl+s on the keyboard to send the message. The Sensor data will be displayed in the SECS message traffic area on the right-hand side.
 
  
 +
{| class="wikitable"
 +
|-
 +
! Items
 +
! Description
 +
! Version
 +
|-
 +
| HW
 +
| EIS-D210, RAM: 4GB
 +
|  
 +
|-
 +
| BIOS
 +
|  
 +
| F1.10
 +
|-
 +
| OS
 +
| Windows 10 x64
 +
| Windows 10 Enterprise LTSC 1809
 +
|-
 +
| WISEAgent
 +
| Make connection with iEdge Server
 +
| v1.4.17.1
 +
|-
 +
| iEdge Server
 +
| Cloud side device Management
 +
| v1.2.1
 +
|-
 +
| iEdge
 +
| Protocol gateway, read PLC data from PanelExpress and upload PLC data to the iEdge Server
 +
| v1.2.1
 +
|-
 +
| Cermate PanelExpress
 +
| PLC drivers and PLC Gateway
 +
| v2.1.10.3
 +
|}
  
==== Obtaining Equipment Data ====
+
=== Notes ===
  
*Step 1. Reading Equipment Name Select "S2F13_Get_Equipment_Name" from the Secs Transaction Object function menu to read the Equipment Name. Press Ctrl+s to send the message. The Equipment Name data will be displayed in the SECS message traffic area on the right-hand side.  
+
The PanelExpress and PM Designer software built into iEdgePLC are provided by Advantech. The examples provided in this document are for reference only and do not include any actual factory equipment data monitoring and integration services. If there is a need for factory equipment data monitoring and integration, please contact Advantech's sales department.
  
 
 
 
 
  
*Step 2. Reading Equipment SN Data Select "S2F13_Get_Equipment_SN" from the Secs Transaction Object function menu to read the Equipment SN data. Press Ctrl+s to send the message. The Equipment SN data will be displayed in the SECS message traffic area on the right-hand side.
+
== Quick Guide ==
  
 +
iEdgePLC v1.0 is pre-installed on the EID-D210 which is provided by Advantech iEdgePLC SRP.
  
==== Setting Events and Reports ====
+
[[File:Iedge-plc-01.png|border|800x480px|Iedge-plc-01.png]]
  
*Step 1. Clearing Report Definition Select "S2F33_Clear_Report" from the Secs Transaction Object function menu to clear the report definition. Press Ctrl+s to send the request.
+
 
  
 
 
 
 
 
*Step 2. Defining Report Select "S2F33_Define_Report" from the Secs Transaction Object function menu to define the report. Press Ctrl+s to send the report definition.
 
  
 
 
 
 
  
*Step 3. Clearing Event Definition Select "S2F35_Clear_Link_Event_Report" from the Secs Transaction Object function menu to clear the link between event and report definitions. Press Ctrl+s to send the request.
+
=== Download Project Files ===
  
 
+
Please download the PM Designer project file and the plc_simulator file from the following links:
  
*Step 4. Defining Event Select "S2F35_Define_Link_Event_Report" from the Secs Transaction Object function menu to define the link between event and report definitions. Press Ctrl+s to send the link definition.  
+
*PM Designer project: [[Media:PLC-Simulator.zip|PLC-Simulator.zip]]
 +
*Modbus Simulator: [https://www.win-tech.com/html/modsim32.htm https://www.win-tech.com/html/modsim32.htm]
 +
*Modbus Simulator config files: [[Media:Modsim32_plc_simulator.zip|Modsim32_plc_simulator.zip]]
  
 
 
 
 
  
*Step 5. Enabling Event Settings Select "S2F37_Enable_Report" from the Secs Transaction Object function menu to enable the event settings. Press Ctrl+s to activate the event settings.
+
=== Generate configuration files for PanelExpress and Modbus-Master ===
  
 +
*Step 1. Launch PM Designer and open the project by double-click on the PM Designer V2.1 icon on the desktop to open PM Designer.
  
==== Setting the status of the Switch ====
+
           Click on the Open function in the File menu.
  
Whether the Event is triggered or not depends on the status of the Switch:
+
           Select the PLC-Simulator.pm3 project file to open.
  
*Step 1. Switch to Remote Mode Select "S2F41_Remote_Mode" from the Secs Transaction Object function menu area and press Ctrl+s to send the request to switch to Remote Mode.  
+
*Step 2. Click on the [Compile...] function in the Panel menu to compile. The PanelExpress configuration file will be generated after the compilation is completed.  
*Step 2. Start sending Events Select "S2F41_Set_Switch_ON" from the Secs Transaction Object function menu area and press Ctrl+s to send the request to set the Switch to 1. After completion, the Simulator will start periodically triggering the Event.  
 
  
           In the SECS message traffic area on the right, an S6F11 Event Report will be displayed, and the message will include information on Temperature, RPM, and the Switch.
+
           The generated configuration file will be in the same folder as the PM Designer project file, with the file extension pe3.
  
*Step 3. Stop sending Events Select "S2F41_Set_Switch_OFF" from the Secs Transaction Object function menu area and press Ctrl+s to send the request to set the Switch to 0. After completion, the Simulator will stop triggering the Event.
+
   [[File:Iedge-plc-02.png|border|800x480px|Iedge-plc-02.png]]
  
 +
*Step 3. Generate the Modbus-Master configuration file
  
==== Remote SECS WebUI Data Viewing ====
+
           Expand the PLC-Simulator project and double-click on PLC-Gateway to open Link Properties.
  
*Step 1. Remote login to SECS WebUI On another PC, open a web browser and enter the SECS Gateway IP:8090 to open SECS WebUI. The default login credentials are: Username: gsadmin Password: gsadmin
+
           Click on [Create INI File For Edge Computing...]
*Step 2. Click "Add Chart"
 
*Step 3. Enter the following information to create a dashboard
 
*Step 4. Click "Create" After creating it, you can see the changes in the temperature data.
 
  
 +
   [[File:Iedge-plc-03.png|border|800x480px|Iedge-plc-03.png]]
  
==== Remote SECS Tool Connection ====
+
           Specify the IP and file location, and click "Create" to generate the configuration file.
  
*Step 1. Launch SECS Tool on another PC Double-click SECS_Tool.exe to launch SECS Tool.
+
   [[File:Iedge-plc-03-1.png|border|500x200px|Iedge-plc-03-1.png]]
*Step 2. Set up the SECS Tool Connection Click on "Properties" in the "Port" function in the top menu bar.  
 
  
           Enter "1" in the DefaultDeviceID field on the General tab.
+
 
  
           Enter the SECS Gateway's IP address in the IPAddressRemort field on the HSMS tab.
+
=== PLC Device Simulation ===
  
*Step 3. Open the SML file Click on "Open SML file..." in the "File" function.  
+
The PLC Device Simulator can run on another machine to avoid occupying the CPU resources of the PLC Gateway.
  
           Select the sample_simulator.sml file located in C:\SECS_Gateway\SECSTool.
+
*Step 1. Run ModSim32 with administrator privileges.
 +
*Step 2. Click the "Open" function in the File menu bar.
 +
*Step 3. Load the B0-B15, IB0-IB15, IR0 and R0 configurations.
 +
*Step 4. Start simulating PLC data. Click the "Connect" function in the Connection menu bar, and select the Modbus/TCP Svr option.  
  
           After loading the file, the SECS commands and messages required by the Simulator are already pre-loaded in the Secs Transaction Object function menu on the left.
+
           Set the Modbus/TCP Server Port, which is 503 in this example, and click OK to continue.
  
*Step 4. Create a connection Double-click the button displayed as "Close" in the lower left of the program to start the SECS connection.  
+
           After the above steps, Modsim32 starts simulating PLC device data.
  
           Once the connection is established, connection information will be displayed in the SECS message traffic area on the right.
+
   
  
*Step 5. Select to read Sensor messages Select "S1F3_Get_Status_Variables" from the Secs Transaction Object function menu on the left. This S/F can be used to read data on Temperature, RPM, and the Switch.
+
=== Connecting to the PLC simulation device ===
*Step 6. Send the message Press Ctrl+s on the keyboard to send the message, and the Sensor data will be displayed in the SECS message traffic area on the right.
 
  
== iEdge/PLC ==
+
*Step 1. Launch PanelExpress and load the configuration:
  
=== Introduction ===
+
           Click "Open" to load the configuration file.
iEdgePLC is an SRP based on PLC communication protocol used in factory automation. iEdgePLC includes over 500 PLC drivers, which can help maintenance personnel of automated factories monitor equipment status. This user manual demonstrates how to use the built-in PanelExpress software to obtain data from a PLC simulator and transmit the data to the iEdge Server, and how users can quickly view the current PLC data on the iEdge Portal.
 
  
=== Content and Important Notes ===
+
           Select the PLC-Simulator_PLC-Gateway-Application.pe3 configuration file in the PLC-Simulator folder.
Important Notes
 
The PanelExpress and PM Designer software built into iEdgePLC are provided by Advantech. The examples provided in this document are for reference only and do not include any actual factory equipment data monitoring and integration services. If there is a need for factory equipment data monitoring and integration, please contact Advantech's sales department.
 
  
==== Hardware and Software Information (Table 1) ====
+
*Step 2. Click "Links" to open Link Table.
  
==== Modbus device point count ====
+
   [[File:Iedge-plc-04-0.png|border|800x480px|Iedge-plc-04-0.png]]
  
=== Quick Guide ===
+
           Double-click on "PLC-Device" to edit Link Properties.
The iEdgePLC v1.0 software is pre-installed on the EID-D210 hardware provided by Advantech for PLC SRP. iEdgePLC v1.0 includes the following PLC Gateway and related software:
 
  
==== iEdge ====
+
   [[File:Iedge-plc-04-1.png|border|800x480px|Iedge-plc-04-1.png]]
Use the Modbus-Master program in iEdge to read PLC data from PanelExpress and upload PLC data to the iEdge Server.
 
  
==== PanelExpress ====
+
           Click "Parameter" tab and enter the connection information for the PLC Device Simulator, enter the following information:
PLC driver and PLC Gateway
 
  
=== Registration and Activation ===
+
           IP: 127.0.0.1
Cermate PanelExpress can still run for 1 hour for trial and evaluation of PLC functionality without authorization. After registering the activation code, the PLC driver and Gateway functions can be used normally.
 
  
=== Function and Demonstration Scenarios ===
+
           Port: 503
  
==== Download Project Files ====
+
           To modify connection settings, enter the password, default password is 88888888. Click OK to continue.
  
Please download the PM Designer project file and the plc_simulator file from the following links:
+
           Click "Close" to complete the setup.
  
*PM Designer project file: \\172.22.15.162\ESS-Release\EdgeSense\Release\Windows\iEdgePLC\PLC-Simulator.zip
+
*Step 4. Start running. Click the "Run" button in the center of the PanelExpress screen.  
*PLC Simulator file: \\172.22.15.162\ESS-Release\EdgeSense\Release\Windows\iEdgePLC\modsim32_plc_simulator.zip
 
  
 +
   [[File:Iedge-plc-04.png|border|800x480px|Iedge-plc-04.png]]
  
==== Generating configuration files for PanelExpress and Modbus-Master ====
+
           For the first run, you need to create data image file. In the data image file meddage box, select "Yes" to continue.
  
*Step 1. Install PM Designer Open the PM_Designer folder on the desktop.  
+
           After the above steps, PanelExpress starts running.
  
           Double-click on Setup_21100300.exe in the PM_Designer folder to install. Serial Number:
+
   [[File:Iedge-plc-05.png|border|800x480px|Iedge-plc-05.png]]
  
*Step 2. Launch PM Designer and open the project file Double-click on the PM Designer V2.1 icon on the desktop to open PM Designer.
+
 
  
           Click on the Open function in the File menu.
+
=== View PLC data from iEdge ===
  
           Select the PLC-Simulator.pm3 project file to open.
+
*Step 1. Open the Modbus-Master settings page in iEdge.
 +
*Step 2. Select the imported configuration file. Click "Import" to import the configuration file.  
  
*Step 3. Generate the PanelExpress configuration file Click on the Compile... function in the Panel menu to compile. The PanelExpress configuration file will be generated after the compilation is completed.  
+
           Select the configuration file to be imported: \PLC-Simulator\PLC-Simulator.ini
  
           The generated configuration file will be in the same folder as the PM Designer project file, with the file extension pe3.
+
           When the configuration file is imported successfully, click "OK" to continue.
  
*Step 4. Generate the Modbus-Master configuration file Expand the PLC-Simulator project and double-click on PLC-Gateway to open Link Properties.  
+
*Step 3. Apply the imported configuration. Switch to the Link Management page, and click "Apply" to immediately apply the new configuration.
 +
*Step 4. Open Modbus-Master plugin to verify PLC data. 
  
           Click on Create INI File For Edge Computing...
+
   
  
           Specify the IP and file location, and click "Create" to generate the configuration file.
+
   [[File:Iedge-plc-06.png|border|800x480px|Iedge-plc-06.png]]

Latest revision as of 03:59, 2 May 2023

iEdge/SEMI

Introduction

iEdgeSEMI is an SRP based on the SECS communication protocol used by semiconductor factories. It includes a built-in SECS library, which helps semiconductor factories integrate process equipment and monitor production status using the SECS protocol. This user manual provides basic information on the functions of the SECS gateway in iEdgeSEMI and common SECS command operations through the interaction of S/F messages between SECS Tool and SECS Gateway.

Content

Specification

Items Description Version
HW EI-52, RAM: 8GB  
BIOS   F1.10
OS Windows 10 x64 Windows 10 Enterprise LTSC 1809
SECS Gateway The main program of the SECS Gateway v2.0.0.2
SECS Tool A demonstration program for a SECS Host v1.0.0.0
SECS WebUI The web-based operation interface of the SECS Gateway v1.0.0.4
Simulator Connector A SECS Gateway sensor data simulator v1.0.0

Notes

The SECS library built into iEdgeSEMI is provided by Giantec Technology. The examples provided in this document are for reference only and do not include any actual process/monitoring equipment data integration services. If there is a need for process/monitoring equipment data integration, please contact Advantech's sales window.

 

Quick Guide

iEdgeSEMI v1.0 is pre-installed on the EI-52 which is  provided by Advantech iEdgeSEMI SRP.

 

Iedge-semi-01.png

 

 

Establish a SECS connection

After Windows starts up, SECS Gateway will be automatically launch. please follow below steps to establish a SECS connection:

  • Step 1. Start the SECS Tool by double-click SECS_Tool.exe under C:\SECS_Gateway\SECSTool to start the SECS Tool.
  • Step 2. Click on Port->Properties in the upper toolbar.

           In the General page, set DefaultDeviceID = 1.

           In the HSMS page, Select the Active mode for ConnectionMode and enter IP address of the SECS Gateway for the IPAddressRemort field.

  • Step 3. Click "Open SML file…" in the File function.

           Select the sample_simulator.sml file under C:\SECS_Gateway\SECSTool.

           After the file is loaded, you can see that the SECS commands have been pre-loaded in the left side "Secs Transaction Object function" menu.

  • Step 4. Establishing a Connection by double-click on "Close" button in the lower-left corner of the program.

           Once the connection is established, the "SECS message traffic area" will display information regarding the connection.

   Iedge-semi-11.png

 

Obtaining Sensor Data

  • Step 1. Select "S1F3_Get_Status_Variables" in the Secs Transaction Object function menu. This S/F can be used to read data for temperature, RPM, and switches.
  • Step 2. Press Ctrl+s on the keyboard to send the message. The Sensor data will be displayed in the "SECS message traffic area".

   Iedge-semi-13.png

 

iEdge/PLC

Introduction

iEdgePLC is an SRP based on PLC communication protocol used in factory automation. iEdgePLC includes over 500 PLC drivers, which can help maintenance personnel of automated factories monitor equipment status. This user manual demonstrates how to use the built-in PanelExpress software to obtain data from a PLC simulator and transmit the data to the iEdge Server, and how users can quickly view the current PLC data on the iEdge Portal.

Content

Specification

Items Description Version
HW EIS-D210, RAM: 4GB  
BIOS   F1.10
OS Windows 10 x64 Windows 10 Enterprise LTSC 1809
WISEAgent Make connection with iEdge Server v1.4.17.1
iEdge Server Cloud side device Management v1.2.1
iEdge Protocol gateway, read PLC data from PanelExpress and upload PLC data to the iEdge Server v1.2.1
Cermate PanelExpress PLC drivers and PLC Gateway v2.1.10.3

Notes

The PanelExpress and PM Designer software built into iEdgePLC are provided by Advantech. The examples provided in this document are for reference only and do not include any actual factory equipment data monitoring and integration services. If there is a need for factory equipment data monitoring and integration, please contact Advantech's sales department.

 

Quick Guide

iEdgePLC v1.0 is pre-installed on the EID-D210 which is provided by Advantech iEdgePLC SRP.

Iedge-plc-01.png

 

 

 

Download Project Files

Please download the PM Designer project file and the plc_simulator file from the following links:

 

Generate configuration files for PanelExpress and Modbus-Master

  • Step 1. Launch PM Designer and open the project by double-click on the PM Designer V2.1 icon on the desktop to open PM Designer.

           Click on the Open function in the File menu.

           Select the PLC-Simulator.pm3 project file to open.

  • Step 2. Click on the [Compile...] function in the Panel menu to compile. The PanelExpress configuration file will be generated after the compilation is completed.

           The generated configuration file will be in the same folder as the PM Designer project file, with the file extension pe3.

   Iedge-plc-02.png

  • Step 3. Generate the Modbus-Master configuration file

           Expand the PLC-Simulator project and double-click on PLC-Gateway to open Link Properties.

           Click on [Create INI File For Edge Computing...]

   Iedge-plc-03.png

           Specify the IP and file location, and click "Create" to generate the configuration file.

   Iedge-plc-03-1.png

 

PLC Device Simulation

The PLC Device Simulator can run on another machine to avoid occupying the CPU resources of the PLC Gateway.

  • Step 1. Run ModSim32 with administrator privileges.
  • Step 2. Click the "Open" function in the File menu bar.
  • Step 3. Load the B0-B15, IB0-IB15, IR0 and R0 configurations.
  • Step 4. Start simulating PLC data. Click the "Connect" function in the Connection menu bar, and select the Modbus/TCP Svr option.

           Set the Modbus/TCP Server Port, which is 503 in this example, and click OK to continue.

           After the above steps, Modsim32 starts simulating PLC device data.

   

Connecting to the PLC simulation device

  • Step 1. Launch PanelExpress and load the configuration:

           Click "Open" to load the configuration file.

           Select the PLC-Simulator_PLC-Gateway-Application.pe3 configuration file in the PLC-Simulator folder.

  • Step 2. Click "Links" to open Link Table.

   Iedge-plc-04-0.png

           Double-click on "PLC-Device" to edit Link Properties.

   Iedge-plc-04-1.png

           Click "Parameter" tab and enter the connection information for the PLC Device Simulator, enter the following information:

           IP: 127.0.0.1

           Port: 503

           To modify connection settings, enter the password, default password is 88888888. Click OK to continue.

           Click "Close" to complete the setup.

  • Step 4. Start running. Click the "Run" button in the center of the PanelExpress screen.

   Iedge-plc-04.png

           For the first run, you need to create data image file. In the data image file meddage box, select "Yes" to continue.

           After the above steps, PanelExpress starts running.

   Iedge-plc-05.png

 

View PLC data from iEdge

  • Step 1. Open the Modbus-Master settings page in iEdge.
  • Step 2. Select the imported configuration file. Click "Import" to import the configuration file.

           Select the configuration file to be imported: \PLC-Simulator\PLC-Simulator.ini

           When the configuration file is imported successfully, click "OK" to continue.

  • Step 3. Apply the imported configuration. Switch to the Link Management page, and click "Apply" to immediately apply the new configuration.
  • Step 4. Open Modbus-Master plugin to verify PLC data. 

   

   Iedge-plc-06.png