How to access PanaCIM traced data in MESWeb

From 42Q
Jump to navigation Jump to search

Summary

42Q MES has the ability to import PanaCIM Traceability data into 42Q via MESWeb. To do so, users must configure an Edge Device to upload XML documents generated by the Panasonic server to PTSR (via MES-API) and then, formulate MESWeb reports that may be searched and accessed. There are three different kinds of PTSR reports to be consulted:

  • Material on Board
  • Material on Board by Batch
  • Material Where Used


Figure 1: PanaCIM Traceability

PanaCIM Traceability Solution.png

 

 

Previous configurations

Previous to install and configure a File Uploader Edge Device, ask help to the support team to perform the following three configurations:

 

  • Server information configuration for Multimedia, CMMS, and MES-API (For detailed information, please refer to the SOP Server Maintenance)
  • Tenant configuration with the tenant type Plant
  • PTSR DB in the Central DB Configure module. For PTSR DB Configuration, please ask help to the support team to perform the following steps:
  1. Navigate to Administration > Central DB Configure.
  2. Select the Add button. The Create H/A DB Configuration window will be displayed.
  3. Input the required information. Fields with a red asterisk are mandatory.
  4. Select Save to proceed or Cancel to quit.

 

Figure 2: Create H/A DB Configuration

Central DB Configure.png

 

 

How to install and configure a File Uploader Edge Device

 

  1. Download fileUploader.sh and smb.config and save them in one folder.

 

Figure 3: Saved Folders

Saved Folders.png

 

  1. Open the terminal, execute the command sudo sh fileUploader.sh and press Enter.

 

Figure 4: Opened Terminal

Opened Terminal.png

 

Edge device creation or update 

Case 1: New add a File Upload edge device to IIoT

 

  1. Access to 42Q portal and navigate to Shop Floor Control > Configuration > IIoT Configuration (first time to install).
  2. Select the Edge Devices icon from the panel.


Figure 5: IIoT Configuration Menu

IIoT Configuration Menu.png

 

  1. Then, select the CREATE EDGE DEVICE button, located at the top right of the panel. The Create Edge Device window will be displayed.

 

Figure 6: Create Edge Device Button

Create Edge Device Button.png

 

 

  1. Write down an Edge Device Name.
  2. Select the option “FileUploader” from the Group Name drop-down list.
  3. Click SAVE to proceed or CANCEL to quit.


Figure 7: Create Edge Device

Create Edge Device Window.png


A success message will appear after the creation of the edge device:

 

Figure 8: Create Edge Device Success Message

Create Edge Device Success Message.png

 

Case 2: Update Existing Edge Device with new Group

If there is an existing edge device, it can be added to a group, just follow the steps below:

  1. Check the corresponding box of the edge device to edit.
  2. Then, select the Edit icon located at the bottom of the list or at the end of the corresponding row. The Edge Device Info window will be displayed.

 

Figure 9: Edit Edge Device

Edit Edge Device.png

 

 

  1. Open the EDGE DEVICE GROUPS tab.
  2. Select the ADD TO GROUP button to display the corresponding window.
  3. SelectFileUploader” from the Group Name drop-down list.
  4. Click SAVE to proceed or CANCEL to quit.

 

Figure 10: Add To Group

Add to Group.png


Create Edge Device download and installation with Greengrass

Case 1: For New added Edge Device

Once a new edge device is created, it needs to be installed and configured in the computer, to establish a connection between the computer (device) and the 42Q portal to send the XML files data. To do so:

  1. Check the corresponding box of the edge device that will download.
  2. Then, select the Download icon located at the bottom of the list or at the end of the corresponding row.


Figure 11: Download Edge Device

Download Edge Device.png

 

  1. Navigate to the Document folder of the computer to locate and unzip locally the Green Grass package file.
  2. Right-click on the ZIP file.
  3. SelectExtract Here” to unzip the file.
  4. Ask the 42Q MES Support team to provide you a Palindrome Client ID and Secret to access the MES-API and PTSR database.
  5. To edit core_config.json, add Client Id and Secret as below. The other parameters do not need to be changed.

 

Figure 12: Edit core_config.json

Edit core config.json.png

 

  1. Open the terminal, install greengrass by execute command: sudo sh ggcV2.sh

 

Figure 13: Executed command

Executed Command.png

 

Case 2: For Edge Device already update with Group

The existing Edge Devices do not need to be installed again but to restart (sudo systemctl restart greengrass.service) after editing core_config.json with Palindrome Client ID and Secret stop Green Grass by the command: sudo systemctl stop greengrass.service before downloading and unzipping the greengrass package to local drive for editing.
 

How to install a PanaCIM XML file

  1. Open the Document folder of your computer.
  2. Copy a selected XML file.
  3. Then, paste the selected file into the corresponding Traceability folder.

 

Figure 14: Traceability Folder

Traceability Folder.png

 

  1. Once the XML file is uploaded successfully, Check the Success folder.

 

Figure 15: Success Folder

Success Folder.png

 

How to access PTSR reports

  1. Navigate to: Reporting > MESWeb > PTSR Reports.

 

Figure 16: PTSR Reports Menu

PTSR Reports Menu.png


How to access PTSR Material On Board reports

  1. Display the Material On Board report fields by selecting the option from the PTS drop-down menu. The data source will appear by default.
  2. Enter the information of a Board Bar Code as this field is mandatory.

 

There are other optional fields that will detail more of the displayed information. 

 

  1. Select the GO'button.
  2. The information will appear on the right side of the panel.


Figure 17: Material On Board PTSR Reports

Material On board PTSR reports.png


How to access PTSR Material On Board by Batch reports

  1. Display the Material On Board by Batch report fields by selecting the option from the PTS Reports drop-down menu. The data source will appear by default.
  2. Enter one or more Board Serial Numbers (the limit is 50 entries).
  3. Select the GO button.
  4. The information will appear on the right side of the panel.

 

Figure 18: Material on Board by Batch PTSR Reports

Material on Board by Batch PTSR reports.png


How to access PTSR Material Where Used reports  

  1. Display the Material Where Used report fields by selecting this option from the PTS reports drop-down menu. The data source will appear by default.
  2. Optionally, enter the information of a Component Barcode and/or a Component Part Number
  3. Select a date range.
  4. Click the GO button.
  5. The information will appear on the right side of the panel.

 

Figure 19: Material Where Used PTSR Reports

Material Where Used PTSR Reports.png