---
# System prepended metadata

title: BS auto RMS
tags: [BS]

---

BS auto RMS
===

###### tags: `BS`

### 1.PLC Sync
- SyncDevice
    - PLC Type
        - Mitsubishi
            - D 200
            - Total Lengh: 6000
        - Hitachi
            - DW 64
            - Total Length: 1920
    - Data Area
        - Recipe 01-10
        - Recipe 11-20
        - Recipe 21-30
    - Read
        1. 同步 Recipe ID
        2. 同步 Recipe Body
    - Write
        1. 寫入 Recipe Body

### 2.DB Structure
- Usr
- 


### Process file control
- Process management
    - import
    - export
    - edit


### Scenario
- Manual
    - Edit Process File
    - Export Process File
    - Import Process File
    - Release Process
    - Download Process
    - History Check
        - Edit
            - command
        - Download
        - Release
        - Upload
- Auto
    - Check
        - Process Id
        - Process Body
    - Download
        - Released Process
    - Upload
        - Updated PLC Process
### To-do
- Folders
    - dll
    - Process
        - Upload
            - 提供自動上傳用
            - Line+ID(ex:H0101)
                - process files
        - BKUP
            - 隨時更新備份用
            - Line+ID(ex:H0101)
                - process files
        - Edit
            - 使用者編輯後儲存
            - Line+ID(ex:H0101)
                - process files
        - Export
            - 匯出的版本
            - Line+ID(ex:H0101)
                - process files

### Process Structuere
```json!
{
    "UUID" : "12345-12345-23456-56789-22222",
    "ProcessId"  : "RC26",
    "MachineId" :"H01_1",
    "Version":"100",
    "Date":"20220828",
    "Auther":"Murphy",
    "Data":[
    {"addr":"000","value": "0xRC26","comand":"ID","Type":"ASCII"},
    {"addr":"001","value": "0xRC26","comand":"ID","Type":"ASCII"},
    {"addr":"001","value": "0xRC26","comand":"ID","Type":"ASCII"},
    {"addr":"001","value": "0xRC26","comand":"ID","Type":"ASCII"},
    {"addr":"001","value": "0xRC26","comand":"ID","Type":"ASCII"},
    {"addr":"001","value": "0xRC26","comand":"ID","Type":"ASCII"}
]

}
```