【实例简介】
Kepware.KEPServer\KEPServerEX_V5操作简介含opc quick client 连接测试
3.開魯 KEPServereX的管理視窗
請從「開始」->「所有程式」->「 Kcpwarc」->「 KEPScrvcrEX5」->「 KEPScrvcrEX5
Configuration I來動或在電腦桌面右下方的 System Tray圖示画( KEPServereX5)「按下滑
鼠右鍵,並點選「 Configuration
KEPServereX5凵預設執行成服務’此管理旎脔的執行與否並个影響服務的執行。
欲停止或啓動服務的執行·請以上逋步驟2的方式來淮行。或者是至「電腦管理吖服務
部份來進行
Fic Edit Vicw Tocl Runtime Holp
I jALa T!
an RaN
Filezilla fte i
g Ne Fears
O Windws Li
wi
Modbus ?oll
DateTime
Evant
W
a Chipk
四附屋應用程式
1647⊥午
四名歃
梨
所有程式
UtIliTies
tE KEPSelvelEZ
4始A如K
g KFPServer3
昔C自有R2回上午1
第3頁
二、開啓專案
開啓既有專案的方式
在管理視窗的功能表中點選ieμ->pen即可開啓凭前已建亠的專案欲開啓
系統預設的專案·請選取「C: Program files\ KepwareKEPServerEX5 Projects_路徑卜的
simdemo opf」檔案·來載入預設的專案檔(如有爨更安裝路徑則請指定新凶安奘路
KEPServerEX- Runtime
File Edit Yiew Tools Runtime Help
詢①:
Projects
UCON Modbus Examples
圖数e们口pt
我最近的文件
桌面
我的文件
我的電
1網路十的芹鄴
Dat
檔名
sandeno, opf
檔案類型) Project Files*opx
取消
R
Default User Clients: 0 Active tags: 0 of 0
第4頁
2.檢視( Channel資訊
點選各個Chan左邊的+」之後,會顯示出該 Channel下的所有 Devico名稱
FEKEPServerEX-Runtime [C: Program FilesKepware KEPServerEX 51Projectsisimdemo opf -D
File Edit View Tools Rutine He,晶自
②品申团妇
+p Channell
T ag Nar
点ddre:
D忒 TyDe Scan Rate
Descri
白 Data Type Examples
16 Bit device
+ B B it Device
Simulation E xamples
44卜、 Denices人岛w
Date
①2010317095:09上午 KEPSeryerEXh. Kepware Communications Server5
①2010/31
0955:21上千 CEPSeryereX\R.. Modbus rtu serial device driver loaded success业y
Ready
Default User Clients: D Active tags: 0 of O
第5頁
3.檢親 Device資訊
點選任一個Dⅶic’會顯示出該 Device下已建立的 Group名稱(駑方便管理鳥目的
而建立的群組)以及直接屬於該 Device下的'εg資訉φ如未建≮ Group,則只會在右方
畫面中顯示Tag資訊
圖KESeⅣX-Rme民 C: Program FileskKepware kEPServer5 ectssimdemo.o二口x
File edit iew Tools且 utime Help
名自遇X
Channell
Tag Name Address Data Type Scan Rate Scaling Descrip
E.Data Type Examples
白16 Bit device
k Registers
FRR
F s Registers
画8BD
导 Simulation Examples
144pp、 Devees人Aiw
Dat
FTi
Event
①2010/317095509上午 KEPSeve EXr.. Kepwvare Communications Server52
i 2010/3/17 09: 55. 21 HF KEPServerEX\ R. Modbus RTU Serial device driver loaded successfully
Rea
Defaut User Clients: 0 Active tags: O ofO
第6頁
4.檢 Group與Tag資訊
點逞任一個 Group名稱’在右方畫面會顯示出該σrouψp下建立的Tεg資訉清單
FGKEPServerEX-Runtime [C: Program FilesTKepware lKEPServeTEX 5 Projectsisimdemo opf -OX
File Edit view Tools Runtime Help
目②圃品自X丽
Channell
Tag Name A Address Data Type Scan Rate Scaling De:A
CP Data Type Examples
KO100 00 Boolean 100
白删16 Bit devi
6/ Boolean
60100. 01 boolea
100
我 Registers
K010002 Boolean 100
None 1-B
R Boolean
RO100 03 Boolean
0
N
F s Registers
double
K40
Double
田 Simulation emar
e Double2
Double
one
64
6 Double
K囗40
Double
6/Doubled
K412
Double
100
ea DoubleArra
K0400[4 word Array 100
DWord
one
CO502
Yord 1
dWOrd
K54
DWord 100
DWOrd
CO506
10
2
DWordArra
KO500[4] word Array 100
None
6 FIo
KO6OO
Float
10
3
卜P
TESt
ImE
「cE
①010/317
度50上午 KEPServerEXh. Kepware Communications5 erver52
①201037095521上午 KEPSeryerEAR.. Modbus rtu seri| device dryer loaded success业
Ready
Default User Clients. o Active tags. D
第7頁
二
建立新專案
新增專案
在管理旎窗的上方功能表中點選「Fieμ->「New1 KEPServereX會詢問是否要取代現
在執行中的專案’如欲立即取代’則請選擇「Yes, Update」;但如欲先前編輯而个立目取
代·則請選擇「No, Edit oⅲineμ’等待淅輯完成之後再進行 Update
⑥ KEPSewerEt-Rnm民 ogram Files kKepware IKEPServeTEX 5\Projectstsimdeo上x
File Edit Yiew Tools Runtime Help
Tag Na
dares
Data ty
Scan hate
De念cri
Data t ype example
+P Simulation Examples
EPSeIETE X
2 This operation will cause replacement of the runtime project. Are you sure you want
Yes, Update
No, edit offline
Cancel
H卜 dEvices人Aar
Date
Sour ce
①2010/317102206上午 KEPSeveeXr.. Oracle Connector Plug-in52.1330
i 2010/3/17 10: 22:06F KEPServerEX\C. Runtime project replaced from C: Program Files kkepware
Ready
Default User Clients: 0 Active tags: 0 of 0
第8頁
2.建立新的 Channel
在管理硐窗的上方功能表中點選「 edit I-> Devices> New Channel」°或點選上方工具
列寧闆示新增
CEKEPServerEI-RuntimeDemp Expires01.11:00)
File Edit Wiew Tools Runtime H
Device
New Channel
Dala Type Scan Rate Scaling Description
lew di
lias mat
New Tag gro
Cut
Celta
New ta
Cc
Culte
P
Select出Ctl
Delete Del
Properties
《
点wr
①2010
022954下午Fing
Device Channell Device 1 is not responding
①20103/5
02: 32: 29 FF KEPServerEX\R. Stopping Ping device driver
Create a new communications channel
Default User Clients: D
第9頁
3.輸入 Channel name
在文字輸入方塊中輸廴欲定義之( Channel名稱,接著按下「下一步」按鈕。
e KEPSeIverEI- Runtime (Demo Expires 01: 09: 50)
□回
File Edit Tiew Tools Runtime He
目深y
New Channel-Identification
hannel name can be from 1 to 256
chatacters in length
Names can not contain periods, double
quotations or start with an underscore
Channel name
NewChannel
上步叫[下步图」取消明
①2013z322下干 REPServerEX\R. stopping Ping device anver
Heady
Default User Cients: O Active lags: O oFO
第10頁
【实例截图】
【核心代码】