西門子CPU模塊6ES7318-3FL01-0AB0技術(shù)參數(shù)
PLC網(wǎng)絡(luò)經(jīng)過多年的發(fā)展,,已成為具有3~4級(jí)子網(wǎng)的多級(jí)分布式網(wǎng)絡(luò),。加上強(qiáng)有力的工具軟件,使他成為具有工藝流程顯示,、動(dòng)態(tài)畫面顯示,、趨勢(shì)圖生成顯示、各種報(bào)表制作的多功能的系統(tǒng),,在MAP規(guī)約的帶動(dòng)下,,可以方便地與其他網(wǎng)絡(luò)互聯(lián)。所有這一切是PLC網(wǎng)絡(luò)成為CIMS系統(tǒng)非常重要的組成部分之一,。
若把PLC網(wǎng)絡(luò)與其他工業(yè)局域網(wǎng)比較,,從功能上看,PLC網(wǎng)絡(luò)并沒有什么特別之處,,他的特別之出在于:PLC網(wǎng)絡(luò)具有較高的比,。
我們知道DCS系統(tǒng)具有優(yōu)良的通信子網(wǎng)。但是為了取得網(wǎng)絡(luò)的高可靠性,,DCS系統(tǒng)普遍對(duì)通信網(wǎng)絡(luò)采用1∶1冗余措施,,這包括通信信道的1∶1冗余,、通信接口的1∶1冗余,還包括通信系統(tǒng)發(fā)生故障時(shí),,對(duì)故障檢測(cè)及自動(dòng)切換到備用子網(wǎng)的裝置,。諸如此類,導(dǎo)致盡管DCS系統(tǒng)性能優(yōu)良,,單也非常昂貴,,性能并不很高。
對(duì)于S7-1200 V4.1以上版本,,有6個(gè)動(dòng)態(tài)連接資源可以用于HMI連接,。所以它們的大HMI連接資源數(shù)可以達(dá)到18個(gè)。對(duì)于之前的版本只能用預(yù)留的HMI連接資源用于HMI訪問,。
HMI設(shè)備占S7-1200的HMI連接資源個(gè)數(shù)
基于 WinCC TIA Portal的組態(tài):
注:"資源數(shù)(默認(rèn))"是當(dāng)HMI與S7-1200在一個(gè)項(xiàng)目中組態(tài)HMI連接時(shí),,會(huì)占用S7-1200的組態(tài)的HMI連接個(gè)數(shù)。
如圖:示例中HMI_2 為精智面板,。
HMI_2 為精智面板
HMI_2 為精智面板
這個(gè)連接個(gè)數(shù)是這個(gè)HMI設(shè)備所能占用S7-1200的大HMI連接個(gè)數(shù),,可以作為選型參考。
· 目前Smart pannel不支持S7-1200
· 可以訪問S7-1200的HMI面板的其他信息
五.硬件版本 V3.0 支持的協(xié)議和大的連接資源:
· 3個(gè)連接用于操作面板
· 1個(gè)連接用于編程設(shè)備(PG)與 CPU 的通信
· 8個(gè)連接用于Open IE ( TCP, ISO on TCP, UDP) 的編程通信,,使用T-block 指令來實(shí)現(xiàn)
· 3個(gè)連接用于S7 通信的服務(wù)器端連接,,可以實(shí)現(xiàn)與S7-200,S7-300以及 S7-400 的以太網(wǎng)S7 通信
· 8個(gè)連接用于S7 通信的客戶端連接,,可以實(shí)現(xiàn)與S7-200,,S7-300以及 S7-400 的太網(wǎng)S7 通信連接數(shù)是固定不變的,不能自定義
西門子CPU模塊6ES7318-3FL01-0AB0技術(shù)參數(shù)
Pcs7AnIn,、Pcs7AnOu,、Pcs7DiIn、Pcs7DiOu,、PcsDiIT
這些塊只能用來處理 S7-300/400 信號(hào)模塊的信號(hào),。它們可將原始值轉(zhuǎn)換為物理值。Pcs7DiIT 用于高精度時(shí)間戳功能,。
FbAnIn,、FbAnOu、FbDiIn,、FbDiOu
這些塊專門用于 PA 和 FF 現(xiàn)場(chǎng)設(shè)備和 HART 變量,。尤其是在需要利用這些設(shè)備的特殊功能時(shí),應(yīng)該使用這些塊,。與 Pcs7 塊不同的是,,Fb 塊處理物理值而不是原始值。
Pcs7Cnt1,、Pcs7Cnt2,、Pcs7Cnt3
這些塊用于特殊應(yīng)用,,例如,根據(jù)特定配置文件(如 Simocode Pro 和 Sinamics S),,控制和讀取 ET 200M 的 FM 350-1/-2 模塊和 8-DI NAMUR 模塊的計(jì)數(shù)器值或頻率值,,電機(jī)設(shè)備等。
FbSwtMMS,、FbDrive
用于根據(jù)特定配置文件將電機(jī)設(shè)備連接至 PCS 7。例如,,這些設(shè)備可能是 Simocode 或 Sinamics,。
使用通道驅(qū)動(dòng)的方法(以AI模塊為例):

驅(qū)動(dòng)塊與物理信號(hào)的連接
將通道塊置入 CFC 圖以后,需要將該通道塊連接至引出信號(hào)的物理通道,。通常,,可以采用信號(hào)名來命名通道塊,例如,,Valve1_0pened,。

每次將通道塊連接至 I/O 符號(hào)時(shí),都必須選中“生成模塊驅(qū)動(dòng)"(Generate Module Driver) 并編譯程序,,以按正確順序創(chuàng)建所有必要的驅(qū)動(dòng)塊,。

運(yùn)行向?qū)Ш螅驅(qū)?huì)在 S7 程序中自動(dòng)地插入 @ 字符,,如下圖所示,。

通道驅(qū)動(dòng)的信息狀態(tài)(質(zhì)量代碼)
通過驅(qū)動(dòng)塊記錄的數(shù)字量和模擬量的值不僅提供了過程值,而且還提供了有關(guān)過程值質(zhì)量的一些信息,。在 PCS 7 中,,在涉及信號(hào)質(zhì)量時(shí),我們會(huì)使用符合 Namur 指南的“信號(hào)狀態(tài)"(ST) 這一術(shù)語(yǔ),。
在操作員站上,,信號(hào)狀態(tài)用圖標(biāo)來指示。在 CFC 中,,信號(hào)狀態(tài)用十六進(jìn)制值來表示,。
圖標(biāo) | 優(yōu)先級(jí) | 十六進(jìn)制值 | 值狀態(tài) |
---|

| 0 | 16#60 | 仿真 |

| 1 | 16#00 | 較差,與設(shè)備有關(guān) |

| 2 | 16#28 | 較差,,與過程有關(guān) |

| 3 | 16#68 | 不安全,,與設(shè)備有關(guān) |

| 4 | 16#78 | 不安全,與過程有關(guān) |

| 5 | 16#A4 | 維護(hù)請(qǐng)求 |

| 6 | 16#80 | 良好 |
信號(hào)狀態(tài)不僅用于指示,,還可在塊內(nèi)得到主動(dòng)處理并輸入到邏輯中,。


使用通道驅(qū)動(dòng)后的編程方式
