Lazy loaded image
SWE Custom PLC
字数 1031阅读时长≈ 3 分钟
2024-10-25
2024-10-30
8
type
status
date
slug
summary
tags
category
icon
password
 

詳細教學

如果你不排斥英文,可以參考以下影片連結,教得真的很好。可以自動產生PLC週邊的電路圖
第一集
YouTubeYouTubeExploring PLC's with SOLIDWORKS Electrical Schematic - Webinar
第二集
YouTubeYouTubeDeep Dive: Inputs and Outputs with SOLIDWORKS Electrical Schematic - Webinar

建立客製化的PLC

我們可以在SWE加入PLC來快速建製PLC的接線配置
Library → Manufacturer part management
notion image
切換至Circuits, terminal分頁
再按Add
notion image
以台達DVP-12SE為例,建立以下點位
notion image
新增完,按OK
💡
快速新增Mark的方法: YouTubeYouTubeDeep Dive: Inputs and Outputs with SOLIDWORKS Electrical Schematic - Webinar
notion image
notion image
快點2下下圖1,讓下圖2多一個所選的PLC,再下圖3 select確定
notion image
這時就會出現插入PLC的介面,在左下角紅框處可選擇要插入的點位
notion image
 

建立客製化的PLC模組

前一章說明如何客製化PLC,而這章則是要新建客製化的PLC模組,其實大同小異,只是有些地方不同而已。
以下以DVP16SM11N為例
Library → Manufacturer part management點左上角的Add manufacturer part
如果已經新增了,就在PLCs的目錄下找出該元件
notion image
Type: Base
notion image
notion image
 
💡
快速新增Mark的方法: YouTubeYouTubeDeep Dive: Inputs and Outputs with SOLIDWORKS Electrical Schematic - Webinar
notion image

插入模組至PLC

Electrical Project → PLCs
Add module with interface…
notion image
選擇要插入的模組(下圖1),可在下圖2的地方選擇要插入的數量,再按下圖3的加號,按完加號後,下圖4就會出現4個模組。
再按右下角的select(下圖5)
notion image
這時我們會發現PLC後面插了4個模組
notion image

修改插入PLC的預設值

notion image
 
Electrical Project → Configurations → PLC drawing…
選擇其中一個configuration,duplicate使得多一個configuration
notion image
選”是”
notion image
 

修改PLC成垂直配置

Electrical Project → Configurations → PLC drawing…
選擇其中一個configuration,duplicate使得多一個configuration
在Size分頁,General→ Orientation選擇Veritcal(left or right)即可
notion image
詳情可參考這一篇
YouTubeYouTubeExploring PLC's with SOLIDWORKS Electrical Schematic - Webinar
 

修改Description的位置

在後期,可以輸入DIO的description,讓PLC的點位可以顯示配置好的IO點的訊息,如下圖紅框處
至於要怎麼輸入Description,可以參考這篇
notion image
但是這個位置不是很滿意,我想要把它改成橫向的,步驟如下
notion image
快點兩下之前所複製的configuration
notion image
選Circuits分頁,Circuit type:下拉至Digital PLC input
 
notion image
確認選擇的type 與direction,如果是Left,就是看左半邊的圖形
選下圖1可編輯此圖檔,注意要把目前的視窗移開,因為它的顯示在主視窗,會被目前視窗擋住,故要先移開。
也可按下圖2,選擇另一個設計圖。
notion image
編輯完後,在原本的設計圖上的PLC符號上按右鍵,選Symbol → Update
選Redraw the PLC symbol
notion image
這時符號就會更新了
notion image
 

修改channel數量

實際上configuration並沒有channel數,反而是以總長來決定channel數量,所以在Size分頁調整maximum height of a symbol in drawing就可以了。如下,從360下調至250就從12 channel修改至8 channel
notion image
下圖是原本360的預覽圖,可以看到點數不一樣了
notion image

修改插入PLC要用哪一個設定檔

在之前,我們已經成功建立了PLC的設定檔,現在我們要在插入PLC時,會有預設要用哪個設定檔,可用以下設定修改預設的設定檔
Electrical Project → Configurations → Project…
notion image
General → Default configuration → PLC drawing 下拉選擇剛剛的設定檔即可
notion image
下圖是原本360的預覽圖,可以看到點數是12點,與上圖的8點是不同的。
notion image
 

插入PLC及PLC模組

選Schematic→Insert PLC
notion image
選第2個,select an existing PLC
 
選要插入的模組,再按Select
notion image
這時就可以在下圖1的地方選擇預設的設定,也可在下圖2的地方選擇要插入的點位
notion image

參考

YouTubeYouTubeThree Minute Thursday: SOLIDWORKS Electrical - Creating a PLC ←建製一個台達PLC XD
 
YouTubeYouTubeSolidWorks Electrical: Working with Custom PLCs
YouTubeYouTubeSOLIDWORKS Electrical Tutorial - How to Split a PLC
notion image
上一篇
台達PLC端子佈局
下一篇
SWE 修改圖紙清單(Drawing List)格式及更新圖紙清單

评论
Loading...