Murphy Liu
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    BS H成型機規格擴充需求(V1) === ###### tags: `BS` [TOC] ### 需求 - 1.範圍 H成形機22台 PROCESS管理 - 1.1 成型機 H1-H7 Hitachi PLC - 1.2 成型機 H8-H22 Mitsubishi PLC - 2.需求說明 - .44台PLC PROCESS管理 - 2.1 日立PLC成型機 7 台 H01-H07 (1ST&2ND) - a.Hitachi PLC 14台 - b.PROCESS.01~30 (DATA No.60個) 如附件 - 2.2 三菱 PLC 成形機 H08-H22 (1ST&2ND) - a.Mitsubishi PLC 30台 >>H18~H22 預留 - b.PROCESS.01~29 (DATA No.200個) 如附件 - 3.功能需求 - 3.1 每台成型機PROCESS 1ST&2ND 電腦可以各建立100個 - 3.2 PROCESS 可以指定寫入PLC 指定位置 分別管理 - 3.3 每個PROCESS(1)可以管理(2)匯出(3)時間紀錄(4)設有權限管理 - 3.4 電腦裡的PROCESS項目名稱可以修改複製貼上 --- # 以下為舊資料 --- ### 程式功能 - 帳號管理 - CRUD 人員 - 機台狀態 - 通訊狀態 - 機台狀態 - 現行 Process 顯示 - Process 管理 - PC 統一 Process 管理 - 新增 - 修改 - 刪除 - 查詢 - Release 版本 - 發行後進資料庫 - 寫入紀錄 - 機台編號 - Process 版本 - PLC 種類管體 - Process 選擇用 - PLC Process 管理 - Read - XMLServer 取得 - Process 發行管理 - Process 編號 - 機台種類 000 - 1st&2nd 0 - Process 編號 000 - version 00 - 寫入前差異比較 - 檔案比對 - 資料庫比對 - 歷史變更差異比較 - 檔案內容比對 - 寫入確認 - 同步程式 - 同步 Process 區塊 - 20000 Register - 寫入 Process 區塊 - 20000 Register Check - 資料庫管理 - 人員 - Process Release 備份 - Process - 資料庫查詢 - Process Release Log - Process Id - Machine Id - Process Version - User - Release Date - Process Download Log - Process Id - Machine Id - Process Version - User - Download Date - Process 檔案管理 --- ### Process Encoding - Process 編號 - 機台種類 000 - 1st&2nd 0 - Process 編號 000 - version 00 --- ### 系統架構圖 ```graphviz digraph hierarchy { nodesep=1.0 // increases the separation between nodes node [color=blue,shape=box] //All nodes will this shape and colour edge [color=black, dir=both] //All the lines look like this Application->{XMLServer Database ProcessFiles} XMLServer->{SyncPLC SyncDevice} SyncDevice->{H01 H07} SyncPLC->{H08 H22} } ``` --- ### Process 編輯循序圖 ---- #### 匯入 Process 並發行 ```sequence Application->檔案: 讀取檔案 Note right of Application: Read Files Application->暫存Process: Editing Contents Note left of 暫存Process: 編輯檔案 Application->暫存Process: Save Note left of 暫存Process: 儲存檔案 Application->Database: Release Note left of Database: 發行版本 Process ``` #### 編輯 Process 並發行 ```sequence Application->Database: 讀取 Process Note left of Database: Read Files Database->Application: Editing Contents Note left of 暫存Process: 編輯 Process 檔案 Application->暫存Process: Save Note left of 暫存Process: 儲存 Process 檔案 Application->Database: Release Note left of Database: 產生新版 Process ``` #### Process 寫入 & 驗證 ```sequence Application->XMLServer: 讀取現行 Process Note left of XMLServer: Read Files 並備份 Application->XMLServer: 確認機台狀態 Note left of XMLServer: 手動或停機 Application->XMLServer: 寫入 Process 資料 Note left of XMLServer: 等待 10 秒 SyncDevice->XMLServer: SyncData Note right of XMLServer : 產生新版 Process SyncDevice->H01_H22: SyncData Note right of SyncDevice : 將資料同步到產線 SyncDevice->H01_H22: SyncData Note right of SyncDevice : 讀取寫入的資料 SyncDevice->XMLServer: SyncData Note right of XMLServer : 更新產線 Process File Application->XMLServer: 讀取 Process 資料 Note left of XMLServer: 判斷是否寫入正確 ``` --- #### Process 匯出 ```sequence Application->Database: 查詢機台 Process Note left of Database: Read Process Database->Application: 回傳 Process Note left of Database: 最新的 Process Application->ProcessFile: Export Process Note left of ProcessFile: 匯出 Process 檔案 ``` --- #### Process 發行歷史查詢 ```sequence Application->Database: Read Release History Log Note left of Database: 讀取發行歷史 Database->Application: Return Release History Log Note left of Database: 回傳發行歷史 Application->Application: Process Display Note right of Application: Process 內容 ``` ---- #### 機台下載歷史查詢 ```sequence Application->Database: Read Download History Log Note left of Database: 讀取下載歷史 Database->Application: Return Download History Log Note left of Database: 回傳下載歷史 Application->Application: 點選P rocess Note right of Application: 顯示 Process 內容 ``` --- #### Process Rollback ```flow st=>start: 開始 e=>end: 結束 op5=>operation: 備份機台 Process op6=>operation: Alarm op=>operation: 寫入新 Process op2=>operation: 等待 10 秒 op3=>operation: 讀取機台 Process op4=>operation: 寫回備份 Process op7=>operation: 顯示寫入成功 cond=>condition: 寫入是否正確? cond2=>condition: Alarm & Rollback? st->op5->op->op2->op3->cond cond(yes)->op7->e cond(no)->cond2 cond2(yes)->op4->e cond2(no)->e ```

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully