The FDI Commu ication Server implements ph sical commu ication network ac es Commu ication hardware.. g The Information Model re resents the con ection b twe n the ph sical devices s own
Trang 1Field Device Int egrat ion (FDI) –
Part 7: FDI Communicat ion Devices
Int égrat ion des apparei s de t er ain (FDI) –
Part ie 7: Apparei s de communicat ion FDI
Trang 2THIS PUBLICATION IS COPYRIGHT PROTECTED
Copyr ight © 2 15 IEC, Ge e a, Switzer la d
Al rig ts r es r ve Unle s oth rwis s e ifi d, n p rt of this p blc tio ma b r epr od c d or uti z d in a y form
or b a y me n , ele tr onic or me h nic l in lu in p oto o yin a d microfim, with ut p rmis io in wr itin from
eith r IEC or IEC's memb r Natio al Commite in th c u tr y of th re u ste If y u h v a y q e tio s a o t IEC
c p r i ht or h v a e q ir y a o t o tainin a ditio al ri hts to this p blc tio , ple s c nta t th a dr es b low or
y ur lo al IEC memb r Natio al Commite for ur th r informatio
Dr oits d r eprod ctio ré er vé Sa f in ic tio c ntraire, a c n p rtie d c te p blc tio n p ut êtr e repro uite
ni uti s e s u q elq e forme q e c s it et p r a c n pro é é, éle troniq e o mé a iq e, y c mp s la p oto o ie
et le micr ofilms, s n la c rd é rit d l EC o d Comité n tio al d l EC d p y d d ma d ur Si v u a e d s
q e tio s s r le c p r i ht d l EC o si v u d sire o te ir d s droits s p léme tair es s r c te p blc tio , uti s z
le c ord n é s ci-a r ès o c nta te le Comité n tio al d l EC d v tr ep y d résid n e
Th Intern tio al Ele trote h ic l Commis io (IEC) is th le din glo al org niz tio th t pr ep res a d p bls e
Internatio al Sta d r ds for al ele tri al ele tr onic a d relate te h olo ie
Abo t IEC p blc tio s
Th te h ic l c nte t of IEC p blc tio s is k pt u d r c n ta t r eview b th IEC Ple s ma e s re th t y u h v th
late t e itio ,a c rrig n a or a ame dme t mig t h v b e p bls e
IEC Cat alo ue - webst ore.e ch/ cat alo ue
Th st an -alo e a plc t io for c n ultin th e tire
biblo ra hic l informat io o IEC Intern tio al Sta d rd ,
Te h ic l Sp cific tio s, Te h ic l R ep rts a d oth r
d c me ts A v aia le for P , Ma OS, A ndroid Ta let s a d
iPa
IEC p blc t i ns s arch - www ie ch/ se rch u
Th a v an e s arc e a le to fin IEC p blc t io s b a
variety of crit eria (efere c n mb r, t ext, t ec nic l
c mmitt e,…) It als gives informatio o projec t s, re la e
a d wit hdrawn p blc tio s
IEC Just P blshed - webst ore.e ch/ just pu lshed
St ay u to d te o al n w IEC p blc t io s Ju t Pu ls e
d t ais al n w p blc t io s rele s d A v aia le o ln a d
als o c a mo t h b emai
Ele t ro edia - www ele t ro edia.org
Th world's le din o ln dic t io ary of elec t ro ic a d
ele t ric l t erms c nt ainin more th n 3 0 0 terms a d
d finitio s in En ls a d Fre c , wit h e uiv ale t t erms in 15
a ditio al la g a e Als k nown a t he Int ern t io al
Elec t rot ec nic l Vo a ulary (IEV ) o ln
IEC Glos ar y - st d.e ch/ glos ary
More t ha 6 0 0 ele t rot ec nic l termin lo y e t rie in
En ls a d Fre c e tra t ed fom t he Terms a d Definitio s
cla s of IEC p blc t io s is u d sin e 2 0 Some e t rie
h v e b e c le t ed fom e rler p blc tio s of IEC TC 3 ,
7 ,8 a d CISPR
IEC Cust omer Servic Cent re - webst ore.ec ch/ csc
If y ou wis to giv e u your fe d a k o t his p blc tio or
n e furt her a sist an e, ple s c nt act h Cu t omer Serv ic
Ce t re:c c@ie c
A pro os de l'IEC
L Commis io Ele trote h iq e Inter natio ale (IEC) e t la premièr e orga is tio mo diale q i éla or e et p ble d s
Norme internatio ale p ur to t c q i a trait à léle tri ité,à léle tr oniq e et a x te h olo ie a p re té s
A pro os de p blc t i ns IEC
L c nte u te h iq e d s p blc tio s IEC e t c n tamme t rev Ve i e v u a s r er q e v u p s é e lé itio la
plu r éc nte, u c r rig n um o ame d me t p ut a oir été p blé
Cat alo ue IEC - webst ore.e ch/ cat alo ue
Applc t io a t on me p ur c n ult er t ou le re s ig eme t s
biblo ra hiq e s r le Norme intern t io ale ,
Sp cific t io s t ec niq e , R ap ort s te h iq e et a tre
d c me ts d l EC Dis o ible p ur P , Ma OS, t ablett es
A ndroid et iPa
Recherche de p blc t i ns IEC - w ww ie ch/ se rch u
L re h rc e avan é p rmet d t ro ver d s p blc tio s IEC
e uti s nt difére t s crit ère (n méro d référe c , t exte,
c mit é d’ét ud s,…) Ele d n e a s i d s informatio s s r le
projets et le p blc t io s remplac ée o retiré s
IEC Just P blshed - webst ore.e ch/ just pu lshed
Ele t ro edia - www.ele t ro edia.org
L premier dic t io n ire e lg e d t erme éle tro iq e et
éle triq e I c ntie t plu d 3 0 0 terme et d finit io s e
a glais et e fa ç is, ain i q e le terme é uiv ale t s d n
15 la g e a ditio n le Eg leme t a p lé Vo a ulaire
Elec trote h iq e Int ern tio al (IEV) e lg e
Glos aire IEC - st d.e c h/ glos ar y
Plu d 6 0 0 e t ré s t ermin lo iq e élec t rot ec niq e , e
a glais et e fa ç is, e traite d s art icle Terme et
Définit io s d s p blc tio s IEC p ru s d p is 2 0 Plu
c rt ain s e tré s a t érie re e traite d s p blc t io s d s
CE 3 , 7 , 8 et CISPR d l EC
Trang 3Field Device Int egrat ion (FDI) –
Part 7: FDI Communicat ion Devices
Int égrat ion des apparei s de t er ain (FDI) –
Part ie 7: Apparei s de communicat ion FDI
Trang 4FOREWORD 6
INTRODUCTION 8
1 Sco e 9
2 Normative ref eren es 9
3 Terms, def i ition , a breviated terms, acron ms an con ention 10 3.1 Terms an def i ition 10 3 2 Ab reviated terms an acron ms 1
3.3 Con ention for gra hical notation 1
4 General 1
5 FDI Commu ication Pac age 13 5.1 General 13 5.2 EDD 13 5.2.1 General rules 13 5.2.2 Device comp nent 14 5.2.3 Commu icationDevice comp nent 1
5 5.2.4 Commu ication service provider comp nent 16 5.2.5 Con ection Point comp nent 17 5.2.6 Con ection Point col ection 18 5.2.7 Network comp nent 18 5.2.8 Val dateNetwork 19 5.2.9 Val dateMod les 2
5.2.10 UIP sp cif i s 21
5.2.11 De loyment 21
6 Commu ication relation 21
7 FDI Commu ication Server definition 2
7.1 General 2
7.2 General c aracteristic 2
7.3 Inf ormation Model 2
7.3.1 General 2
7.3.2 Commu icationServerTyp 2
7.3.3 ServerCommu icationDeviceType 2
7.3.4 ServerCommu icationServiceTyp 3
7.4 OPC UA Server Profi e for FDI Commu ication Server 3
7.5 Ma pin the FDI Server IM to the FDI Commu ication Server IM 3
7.5.1 General 3
7.5.2 Information Model diff eren es 3
7.6 In tal er 3
7.7 FDI Commu ication Pac age 3
7.7.1 General 3
7.7.2 EDD for Lig tweig t Commu ication Server 3
7.7.3 EDD for Multi-Chan el Commu ication Server 4
Trang 57.8.3 Server config ration 41
7.8.4 Start up 4
7.8.5 Sh tdown 4
7.8.6 Watc dog 4
7.8.7 Esta l s the OPC UA con ection 4
7.8.8 In tantiate the Commu ication Server 4
7.8.9 Con g re the commu ication hardware 4
7.8.10 Con g re the Network 4
7.8.11 Parameterize 4
7.8.12 Initial ze 4
7.8.13 Cre te the commu ication service o ject 4
7.8.14 Commu ication relation 4
7.8.15 Con ect 4
7.8.16 Dis on ect 4
7.8.17 Ab rt in ication 4
7.8.18 Scan 4
7.8.19 SetAd res 4
8 FDI Commu ication Gateway def i ition 4
8.1 General 4
8.2 Inf ormation Model 4
8.2.1 General 4
8.2.2 Commu icationGatewayTyp 4
8.2.3 GatewayCommu icationDeviceTyp 4
8.2.4 GatewayCommu icationServiceTyp 5
8.3 FDI Commu ication Pac age 5
8.3.1 General 5
8.3.2 EDD 5
8.4 Han l n an b havior 5
8.4.1 General 5
8.4.2 De loyment 5
8.4.3 Start up 5
8.4.4 Con g re the commu ication hardware 5
8.4.5 Con g re the Network 5
8.4.6 Parameterize 5
8.4.7 Commu ication relation 5
8.4.8 Con ect 5
8.4.9 Dis on ect 5
8.4.10 Ab rt in ication 5
8.4.11 Scan 5
8.4.12 Commu ication Er or Han l n 5
An ex A (informative) L yered protocols 5
A.1 General 5
A.2 Con ention for protocol sp cific an ex cre tion 5
A.2.1 Con ection Point 5
A.3 FDI Commu ication Pac age def i ition 6
Trang 6An ex B (normative) Namesp ce an Ma pin s 6
Biblogra h 6
Fig re 1 – FDI arc itecture diagram 9
Fig re 2 – FDI commu ication inf rastru ture arc itecture 12 Fig re 3 – Commu ication relation 21
Fig re 4 – Commu ication relation state c art 2
Fig re 5 – FDI Commu ication Server Ad res Sp ce 2
Fig re 6 – Commu icationServerTyp 2
Fig re 7 – ServerCommu icationDeviceTyp 2
Fig re 8 – ServerCommu icationServiceTyp 3
Fig re 9 – Information Model diff eren es (example) 3
Fig re 10 – FDI Commu ication Server state mac ine 41
Fig re 1 – Commu ication relation state c art 4
Fig re 12 – Gateway inf ormation model 4
Fig re 13 – Commu icationGatewayTyp 4
Fig re 14 – GatewayCommu icationDeviceTyp 4
Fig re 15 – GatewayCommu icationServiceTyp 51
Fig re 16 – Nested Commu ication 5
Ta le 1 – Val dateNetwork Action arg ments 2
Ta le 2 – Val dateMod les Action arg ments 2
Ta le 3 – Commu icationServerTyp def i ition 2
Ta le 4 – MethodSet of Commu icationServerTyp 2
Ta le 5 – Reset Method arg ments 2
Ta le 6 – Reset Method Ad res Sp ce definition 2
Ta le 7 – Initial ze Method arg ments 2
Ta le 8 – Initial ze Method Ad res Sp ce def i ition 2
Ta le 9 – Ad Comp nent Method arg ments 2
Ta le 10 – Ad Comp nent Method Ad res Sp ce definition 2
Ta le 1 – RemoveComp nent Method arg ments 2
Ta le 12 – RemoveComp nent Method Ad res Sp ce definition 2
Ta le 13 – ServerCommu icationDeviceTyp definition 3
Ta le 14 MethodSet of ServerCommu icationDeviceTyp 3
Ta le 15 – Scan Method arg ments 31
Ta le 16 – Scan Method Ad res Sp ce definition 31
Ta le 17 – ResetScan Method arg ments 31
Ta le 18 – ResetScan Method Ad res Sp ce def i ition 3
Ta le 19 – SetAd res Method arg ments 3
Trang 7Ta le 2 – Tran fer Method arg ments 3
Ta le 2 – GetPubl s edData Method arg ments 3
Ta le 2 – FDI Commu ic tionServ r_Fac t definition 3
Ta le 2 – Commu icationGatewayTyp def i ition 4
Ta le 2 – GatewayCommu icationDeviceTyp definition 4
Ta le 2 – MethodSet of GatewayCommu icationDeviceTyp 4
Ta le 3 – Scan Method arg ments 4
Ta le 31 – Scan Method Ad res Sp ce def i ition 4
Ta le 3 – ScanNext Method arg ments 5
Ta le 3 – ScanNext Method Ad res Sp ce definition 5
Ta le 3 – GatewayCommu icationServiceTyp definition 51
Ta le 3 – MethodSet of GatewayCommu icationServiceTyp 5
Ta le 3 – Con ect Method arg ments 5
Ta le 3 – Tran fer Method arg ments 5
Trang 8INTERNATIONAL ELECTROTECHNICAL COMMISSION
_
FIELD DEVICE INTEGRA TION (FDI) –
Part 7: FDI Communication Devices
1 Th Intern tio al Ele trote h ic l Commis io (IEC) is a worldwid org niz tio for sta d rdiz tio c mprisin
al n tio al ele trote h ic l c mmite s (IEC Natio al Commite s) Th o je t of IEC is to promote
intern tio al c -o eratio o al q e tio s c n ernin sta d rdiz tio in th ele tric l a d ele tro ic f i ld To
this e d a d in a ditio to oth r a tivitie , IEC p bls e Intern tio al Sta d rd , Te h ic l Sp cific tio s,
Te h ic l Re orts, Pu lcly Av ia le Sp cif i atio s (P S) a d Guid s (h re f ter refer e to a “IEC
Pu lc tio (s)”) Th ir pre aratio is e tru te to te h ic l c mmite s; a y IEC Natio al Commite intere te
in th s bje t d alt with ma p rticip te in this pre aratory work Intern tio al g v rnme tal a d n n
-g v rnme tal org niz tio s laisin with th IEC als p rticip te in this pre aratio IEC c la orate clo ely
with th Intern tio al Org niz tio f or Sta d rdiz tio (ISO) in a c rd n e with c n itio s d termin d b
a re me t b twe n th two org niz tio s
2) Th f ormal d cisio s or a re me ts of IEC o te h ic l maters e pre s, a n arly a p s ible, a intern tio al
c n e s s of o inio o th rele a t s bje ts sin e e c te h ic l c mmite h s re re e tatio f rom al
intere te IEC Natio al Commite s
3) IEC Pu lc tio s h v th form of re omme d tio s f or intern tio al u e a d are a c pte b IEC Natio al
Commite s in th t s n e Whie al re s n ble eforts are ma e to e s re th t th te h ic l c nte t of IEC
Pu lc tio s is a c rate, IEC c n ot b h ld re p n ible for th wa in whic th y are u e or f or a y
misinterpretatio b a y e d u er
4) In ord r to promote intern tio al u if ormity, IEC Natio al Commite s u d rta e to a ply IEC Pu lc tio s
tra s are tly to th ma imum e te t p s ible in th ir n tio al a d re io al p blc tio s An div rg n e
b twe n a y IEC Pu lc tio a d th c re p n in n tio al or re io al p blc tio s al b cle rly in ic te in
th later
5) IEC its lf d e n t pro id a y ate tatio of c nf ormity In e e d nt c rtific tio b die pro id c nf ormity
a s s me t s rvic s a d, in s me are s, a c s to IEC mark of c nf ormity IEC is n t re p n ible f or a y
s rvic s c rie o t b in e e d nt c rtif i atio b die
6) Al u ers s o lde s re th t th y h v th late t e itio of this p blc tio
7) No la i ty s al ata h to IEC or its dire tors, emplo e s, s rv nts or a e ts in lu in in ivid al e p rts a d
memb rs of its te h ic l c mmite s a d IEC Natio al Commite s f or a y p rs n l injury, pro erty d ma e or
oth r d ma e of a y n ture wh ts e er, wh th r dire t or in ire t, or for c sts (in lu in le al f ee ) a d
e p n e arisin o t of th p blc tio , u e of, or rela c u o , this IEC Pu lc tio or a y oth r IEC
Pu lc tio s
8) Ate tio is drawn to th Normativ refere c s cite in this p blc tio Us of th refere c d p blc tio s is
in is e s ble for th c r e t a plc tio of this p blc tio
International Stan ard IEC 6 7 9-7 has b en pre ared by s bcommite 6 E: Devices an
integration in enterprise s stems, of IEC tec nical commite 6 : In u trial-proces
me s rement, control an automation
The text of this stan ard is b sed on the f ol owin doc ments:
Ful inf ormation on the votin f or the a proval of this stan ard can b foun in the re ort on
votin in icated in the a ove ta le
Trang 9The commit e has decided that the contents of this publ cation wi remain u c an ed u ti
the sta i ty date in icated on the IEC we site u der "ht p:/webstore.iec.c " in the data
related to the sp cif i publ cation At this date, the publ cation wi b
• reconfirmed,
• with rawn,
• re laced by a revised edition, or
• amen ed
IMPORTANT – The 'colour inside' logo on the cov r pa e of this publ c tion in ic te
that it contains colours whic are considere to be us f ul f or the cor e t
understa din of its conte ts Us rs s ould th refore print this doc me t using a
colour printer
Trang 10The International Electrotec nical Commis ion (IEC) draws at ention to the fact that it is
claimed that compl an e with this doc ment may in olve the u e of p tents con ernin
a) Method for the Sup lyin an In talation of Device-Sp cif i Fu ctionalties, se Patent
F mi y DE10 5 2 6;
b) Method an device f or ac es in a f un tional mod le of automation s stem, se Patent
F mi y EP218 418;
c) Method an a p ratu to red ce memory req irements for proces control s stem
software a plcation , se Patent Fami y US2 132 218 ;
d) Exten ible Device Object Model, se Patent Fami y US12/8 3,6 0
IEC takes no p sition con ernin the eviden e, val dity an s o e of this p tent rig t
The holders of these p tent rig ts have as ured the IEC that he/s e is wi in to negotiate
l cen es either f re of c arge or u der re sona le an non-dis riminatory terms and
con ition with a pl cants throu hout the world In this resp ct, the statement of the holder of
this p tent rig t is registered with IEC Inf ormation may b o tained fom:
Atention is drawn to the p s ibi ty that some of the elements of this doc ment may b the
s bject of p tent rig ts other than those identified a ove IEC s al not b held resp n ible f or
identifyin an or al s c p tent rig ts
ISO (www.iso.org/p tents) an IEC (htp:/p tents.iec.c ) maintain on-l ne data b ses of
p tents relevant to their stan ard Users are en ouraged to con ult the data b ses for the
most up to date information con ernin p tents
Trang 11FIELD DEVICE INTEGRA TION (FDI) –
Part 7: FDI Communication Devices
This p rt of IEC 6 7 9 sp cifies the elements implementin commu ication ca a i ties cal ed
Commu ication Devices (IEC 6 7 9-5)
The overal FDI arc itecture is i u trated in Fig re 1 The arc itectural comp nents that are
within the s o e of this doc ment have b en hig l g ted in this i u tration The doc ment
s o e with resp ct to FDI Pac ages is l mited to Commu ication Devices The Commu ication
Server s own in Fig re 1 is an example of a sp cific Commu ication Device
Figure 1 – FDI arc ite ture dia ram
The f ol owin doc ments, in whole or in p rt, are normatively ref eren ed in this doc ment an
User Int erac e Serv ic es
Plaorm UI Serv ic es
(Draw in , Input Dev ic es)
Spc ified b t his prt of t his Int ernat ional St an ard
Spc ified b ot her prt s of t his Int ernat ional St an ard
Not spc ified b t his Int ernat ional St an ard
Trang 12IEC 618 4-3, F un tion blo ks (FB) for pro es c ntrol a d El ectro ic De ic Descriptio
L n u g (EDDL) – Part 3: EDDL sy tax a d sema t ics
IEC 618 4-4, F un tion blo ks (FB) for pro es c ntrol a d El ectro ic De ic Descriptio
L n u g (EDDL) – Part 4: EDD interpret at ion
IEC 6 5 1 (al p rts), OPC U nified Arc itect ure
IEC TR 6 5 1-1, OPC U nified Arc itecture – Part 1: Overview and Co c pts
IEC 6 5 1-4, OPC Unified Arc itecture – Part 4: Servic s
IEC 6 5 1-6, OPC Unified Arc it ecture – Part 6: Map in s
IEC 6 5 1-7, OPC Unified Arc itecture – Part 7: Profil es
IEC 6 5 1-10 , OPC U nified Arc it ecture – Part 10 : OPC UA for Devic s
IEC 6 76 -1, F ield De ic I nt egrat ion (FDI) – Part 1: Ov rview
Trang 133.2 Abbre iate terms a d a ronyms
For the purp ses of this doc ment, the a breviated terms an acron ms given in IEC 6 7 9-1
3.3 Conv ntion f or graphic l notation
This doc ment u es the gra hical notation def i ed in IEC 6 7 9-5
The a stract term FDI Commu ication Device re resents an entity implementin
commu ication fu ction over a network u in a sp cific protocol The group of FDI
Commu ication Devices spl ts into two main groups
a) The FDI Commu ication Server is a dedicated OPC UA Server providin ac es to one or
more field device network The FDI Commu ication Server is sp cified in Clau e 7
b) The FDI Commu ication Gateway ena les to brid e b twe n dif ferent ph sical network
or diff erent protocols The brid in bu ines logic is implemented in the EED comp nent
that is provided with an FDI Commu ication Pac age The FDI Commu ication Gateway is
sp cified in Clau e 8
NOT Th main diff ere c s b twe n a Gatewa a d a Commu ic tio Serv r are:n terms of FDI th FDI
Commu ic tio Serv r is a d dic te OP U Serv r pro idin a c s to o e or more f i ld d vic n twork A
Gatewa is a c mmu ic tio d vic th t e a le to brid e b twe n dif fere t p y ic l n twork or dif fere t
proto ols Th lo ic l re re e tatio of a Gatewa d vic within th FDI Serv r h ste Informatio Mo el e a le
th FDIServ r to pro e s c mmu ic tio in h tero e e u n twork to olo ie
Trang 14Figure 2 – FDI communic tion inf ra tructure arc ite ture
The FDI Server hosted Information Model contain a re resentation of the network to olog
(se also IEC 6 7 9-5) The Information Model s own in Fig re 2 is an example ex erpt to
i u trate how the Inf ormation Model u ed elements reflect the actual network to olog
a) The in tan e of Commu icationServerTyp (named Commu icationServerName)
re resents the FDI Commu ication Server The FDI Commu ication Server implements
ph sical commu ication network ac es (Commu ication hardware) Clau e 7 des rib s
related Information Model sp cific , req ired FDI Commu ication Pac age content an
han l n of elements therein (For s bdevices se IEC 62 6 -5)
b) The in tan e of ServerCommu icationDeviceTyp an ServerCommu ication-ServiceTyp
(named Network_B_Chan el) ma s to the FDI Commu ication Server implemented
Com u nictioServrTy :
Com unic tio Serv rName
Su Dev ic es
Su Dev ic es
ServrCo mm unictio nServiceTy :
Communic tio Servic Pro ider_B
GatewayCom u nictioServiceTy :
Com u ic tio Servic Pro vider_G
Trang 15d) The in tan e of GatewayCommu icationDeviceTyp (named Mod le 1) ma s to a ph sical
or logical mod le ena ln commu ication to the network to whic this mod le is
con ected The GatewayCommu icationDeviceTyp is sp cified in 8.3.2.3 The related
Gateway sp cific are des rib d in Clau e 8
Commu icationServiceProvider_G) re resents the Gateway ’ a i ty to proces
GatewayCommu icationServiceTyp is b sed on Bu ines L gic that ena les to ru
commu ication services in heterogene u commu ication network
f ) A commu ication relation (more detai s are des rib d in Clau e 6) b twe n a phy ical
device an the device re resentation managed by the FDI Server is alway as ociated to
GatewayCommu icationServiceTyp or ServerCommu icationServiceTyp The a i ty of
in tantiatin multiple commu ication service o jects s p orts protocols ena les to o erate
multiple logical con ection b twe n a bu master an a device
g) The Information Model re resents the con ection b twe n the ph sical devices s own on
the lef t side of Fig re 2 b sed on in tan es of Con ectionPointTyp NetworkTyp an the
de icted relation Con ectionPointTyp an NetworkTyp are sp cif ied in IEC 6 7 9-5
The EDD elements as sp cified in IEC 6 7 9-4:2 15, An ex F, an provided with an FDI
Commu ication Pac age s al des rib :
a) Parameter an p rameter stru tures Man atory protocol sp cific p rameter definition
are fou d in IEC 6 7 9-4:2 15, An ex F The p rameter s al contain an p rameter that
req ires adju tment f or pro er commu ication service o eration
b) Phy ical L yer identification Protocol sp cif i definition are foun in IEC 6 7 9-4:2 15,
An ex F
c) Commu ication devices mod larity: The mod larity information s al b b sed on u in
the EDDL con tru ts COMPONENT (se IEC 618 4-3)
FDI en ision commu ication device mod larity to co e with commu ication hardware
providin multiple ph sical or logical commu ication c an els to ac es multiple logical or
ph sical commu ication network Eac mod le element of the whole commu ication
device s al b des rib d by a se arate EDD element
d) The COMPONENT definition s al b u ed to s p ort the s stem implemented to olog
config ration Protocol sp cific definition are fou d in IEC 6 7 9-4:2 15, An ex F The
related COMPONENT def i ition are des rib d in 5.2.2, 5.2.3, 5.2.4, an 5.2.7
e) The Bu ines L gic s al contain a method ena led to val date the network (se 5.2.8)
The val dation fu ction con iders the elements only directly con ected to the network The
val dation fu ction s al b ref er ed by the EDDL sp cified CHECK_CONFIGURATION
Trang 16valdation fu ction s al b refer ed by the EDDL sp cified CHECK_CONFIGURATION
atribute
g) Con ection Point data: The Con ection Point (se 5.2.4 an 5.2.6) s al b des rib d
COMPONENT def i ition as ociates the Con ection Point element to the Commu ication
Device The VARIABLE definition re resent the pro erties of a sp cific Con ection Point
The COL ECTION re resents the Con ection Point stru ture as s c Protocol sp cific
definition are fou d in IEC 6 7 9-4:2 15, An ex F
2) To olog Config ration Dialog s al b made avai a le by me n of the men entry
p int “ o ology_config ration” Protocol sp cific definition are fou d in IEC 6 7 9
M INIM UM _NUMBER <m inNum be >;
M A XIM UM _NUMBER <m axNum be >;
}
< evi e om po e tId>: The COMPONENT identif ier identifies the comp nent des ription for
the device typ
< a e >: The strin value s al contain a strin that al ows a h man u er to determine the
Trang 17The at ribute C M PO E T_R ELA TIO S al ows to des rib how mod les can b con ected The
definition of the C M PO E T_ R ELA TIO S is o tional If u ed it s al des rib the relation to
the Commu icationDevice definition The con tru t ena les to p rf orm generic, FDI Server
driven (device) to olog con g ration Sy tax detai s are des rib d in IEC 618 4-3 The
s bseq ent text des rib s the semantic u e of the C M PO E T_R ELA TIO con tru t
< om m un c t o D vi eR el t o Id>: The at ribute value identifies the
COMPONENT_RELATION definition des ribin the relation b twe n the device comp nent
an the Commu icationDevice comp nent
< om m un c t o D vi e om po e tId>: The at ribute value has to matc with a
COMPONENT identifier u ed in a COMPONENT declaration that des rib s a
Commu icationDevice (se 5.2.3)
< u o r a e : The at ribute value des rib s the n mb r of Commu icationDevice
comp nents that can b automatical y in tantiated with the Device comp nent
<m in um be >/<m ax um be >/< u o r a e : The at ribute values define the in tantiation
con traints The def i ition of these at ributes is o tional The at ribute values can contain
con itional expres ion
The R ELA TIO _TY E s al b set to C M PO E T_CHIL
<A ddr s V ar : The atribute value is a referen e to a V A R IA BL declaration This V A R IA BL
hold the ad res value for a Commu icationDevice in tan e The definition of this atribute is
o tional
<A ddrM in /<A ddrM ax : Values define the ad res value ran e for a Commu icationDevice
in tan e The value may for example cor esp n to a ph sical slot n mb r Usage of
atributes ADDRESSING an REQUIRED_RANGES ena les generic con g ration routines
5.2.3 Communic tionDe ic compone t
Eac FDI Commu ication Pac age s al contain at le st one EDD element des ribin at le st
one Commu icationDevice comp nent A mod lar commu ication hardware stru ture s al b
des rib d by multiple Commu icationDevice COMPONENT des ription :
C M PONENT < omm un c t o Devi e om po e t d>
LA BE "R el t o b twe n C m m un c t o Devi e a d c m m un c t o s rvi e p ovide ";
R ELA TI N_TY E C I D_COM PONENT;
Trang 18< om m un c t o D vi e om po e tId>: The COMPONENT identifier identif ies the
Commu icationDevice comp nent
< a e >: The strin value s al contain a h man re da le strin that al ows a u er to e si y
determine the fu ction of the Commu icationDevice comp nent
< a D l t >: Al owed values are TRUE or FALSE It de en s on whether a
Commu icationDevice ne d explcit con g ration or whether the related commu ication
service provider o ject s al b automatical y in tantiated with the Commu icationDevice If
the at ribute CA N_ DE E E is set to FA LS the Commu icationDevice config ration is static
The def i ition of the C M PO E T_R ELA TIO S is man atory It des rib s the relation to the
commu ication service provider definition The con tru t ena les the FDI Server to in tantiate
commu ication service provider comp nents ac ordin to commu ication proces in
deman s (Sy tax detai s are des rib d in IEC 618 4-3.) The s bseq ent text des rib s the
semantic u e of the C M PO E T_R ELA TIO con truct
< om m un c t o S rvi e r vide R el t o Id> The at ribute value identif ies the
COMPONENT_RELATION definition as s c
< om m un c t o S rvi e r vide Id>: The at ribute value has to matc with a
COMPONENT identifier u ed in a COMPONENT declaration that des rib s a commu ication
service provider (5.2.4)
< u o r a e : The at ribute value des rib s the n mb r of commu ication service providers
that can b automatical y in tantiated with the Commu icationDevice comp nent
The R ELA TIO _TY E s al b set to COM PO E T_ CHIL
The PR OT C L at ribute s al not b set
5.2.4 Communic tion s rvic provider comp ne t
Eac FDI Commu ication Pac age des ribin a Commu ication Device s al contain at le st
one EDD element des ribin the commu ication service provider The EDD comp nent s al
not def i e an config ration p rameter
C M PONENT < omm un c t o S rvi e r vide Id>
{
LA BE "< a e >";
B T _OR DER < yt O de >;
CA N_DE E E < a De e e ;
C A SS FI ATI N NE WOR K_COM M UNI A TI N_SER V IC _PR OV IDER ;
C M PONENT_R ELA TI NS < om m un c t o S rvi e r vide s o n c i n o n R el t o Id>
Trang 19< om m un c t o S rvi e r vide Id>: The COMPONENT identifier identif ies the
commu ication service provider
< a e >: The strin value s al contain a h man re da le strin that al ows a u er to e si y
determine the fu ction of the commu ication service provider o ject
< a D l t >: Al owed values are TRUE or FALSE It de en s on whether a commu ication
service provider can b f lexibly in tantiated ac ordin to the commu ication proces in
deman s If the at ribute CA N_ DE E E is set to FA LS the n mb r of commu ication service
provider comp nent in tantiation is static The in tantiation con traints declared throu h the
at ributes AUTO_CREATE, MINIMUM_NUMBER an MAXIMUM_NUMBER cor esp n to the
ca a i ties of c r ently s p orted protocols
< yt O de >: The value ena les generic integration of n-byte data typ s (e.g 4-byte Integer)
into the commu ication mes age p ylo d The atribute value des rib s the byte order an
s al b either BIG_ENDIAN or LITTLE_ENDIAN
The def i ition of the C M PO EN _ R ELA TIO S is man atory It des rib s the relation to the
Con ection Point definition The con tru t ena les to p rf orm generic, FDI Server driven
to olog config ration (Sy tax detai s are des rib d in IEC 618 4-3.) The s bseq ent text
des rib s the semantic u e of the C M PO E T_ R ELA TIO con tru t
The Con ection Point s al automatical y b in tantiated with the commu ication service
provider an there s al b exactly one (1) Con ection Point in tan e con ected to the
commu ication service provider The in tantiation con traints declared throu h the atributes
AUTO_CREATE, MINIMUM_NUMBER an MAXIMUM_NUMBER cor esp n to the
ca a i ties of c r ently s p orted protocols
< om m un c t o S rvi e r vide sC n e t o P i tR el t o Id> The at ribute value
identifies the COMPONENT_RELATION declaration as s c
< o n c i n o n Id>: The atribute value has to matc with a COMPONENT identifier u ed
f or a COMPONENT declaration that des rib s a Con ection Point (se 5.2.5)
The R ELA TIO _ TY E s al b set to C M PO E T_CHIL
The PR OT C L at ribute s al not b set
5.2.5 Conne tion Point compon nt
Eac FDI Commu ication Pac age des ribin a Commu ication Device s al contain one
EDD element des ribin one Con ection Point f or e c of the protocols that are s p orted by
the Commu ication Device:
C M PONENT < o n c i n o n Id>
{
LA BE "< a e >";
Trang 20< o n c i n o n Id>: The COMPONENT identifier identifies the Con ection Point
comp nent declaration
< a e >: The strin value s al contain a strin that al ows a h man u er to determine the
f un tion of the Con ection Point comp nent
< r t c lID : The value of this atribute in icates the commu ication ca a i ty whic
al ows the FDI Server to fin other device typ s that can be con ected to the network u in
the same typ of protocol For stan ardized protocols the value is defined by the related field
bu organization
< o n c i n o n C l e t o Id>: The atribute value is a referen e to a COL ECTION
declaration that des rib s the data stru ture of the Con ection Point as des rib d in 5.2.6
5.2.6 Conne tion Point col e tion
Eac EDD des ribin the Con ection Point of a commu ication device s al des rib the
COL ECTION element that des rib s the at ributes that s al a p ar in the Information Model
re resentation of the Con ection Point The protocol sp cific data exp sed by the Con ection
Point identifies the device typ an its network ad res
<A ddr s A tt i u eNam e> <A ddr s A tt i u eV ar a l Id>;
V A LID <V A LID_V ar a l Id>;
}
}
< o n c i n o n C l e t o Id>: The identifier of the COL ECTION is ref er ed by the
CONNECTION_POINT at ribute value defined in 7.7.3.5
< a e >: The la el identifies the Con ection Point in a h man re da le way
<A ddr s A tt i u e am e>/<A ddr s A tt i u eV ar a l Id>: The MEMBER section refers
to the VARIABLE definition des ribin the ad res at ributes implemented by a Con ection
Point The content of the MEMBER section is protocol specific
<V A LID /<V A LID_V ar a l Id> is a Col ection memb r refer in a Bo le n VARIABLE
holdin the val dation statu that s al b set by the Val dateNetwork Action (se 5.2.8)
5.2.7 Network comp ne t
Eac FDI Commu ication Pac age des ribin a Commu ication Device s al contain one
EDD element des ribin one Network for e c of the protocols that are s p orted by the
Commu ication Device The definition s p orts the network to olog en ine rin :
Trang 21C M PONENT_R ELATI N <Ne wo ks o n c i n o n R el t o Id>
< a e >: The strin value s al contain a h man re da le strin that al ows a u er to e si y
determine the fu ction of the Network comp nent
<V al da e : The Value refers to the METHOD implementin the network to olog
config ration valdation f un tion (se 5.2.8)
< r t c lID : The value of this at ribute al ows the FDI Server to f i d other device typ s
that can b con ected to the network u in the same typ of protocol For stan ardized
protocols the value is defined by the related fieldbu organization
The definition of the C M PON N _R ELA TIO S is man atory It des rib s the relation to the
Con ection Point definition an by that the ca a i ties of a network The con tru t ena les to
p rorm generic, FDI Server driven network to olog config ration Sy tax detai s are
des rib d in IEC 618 4-3 The s bseq ent text des rib s the semantic u e of the
C M PO E T_ R ELA TIO con tru t
< e wo ksC n e t o P i tR el t o Id> The at ribute value identifies the
COMPONENT_RELATION definition
< o n c i n o n Id>: The atribute value has to matc with a COMPONENT identifier u ed
f or a COMPONENT declaration that des rib s a Con ection Point (se 5.2.4)
<m ax um be : The at ribute value l mits the n mb r of Con ection Points that can b
con ected to the network The atribute values can contain con itional expres ion
The R ELA TIO _ TY E s al b set to C M PO E T_CHIL
< usA ddr s V ar : The at ribute value is a ref eren e to a V A R IA BL declaration This
V A R IA BL hold the network ad res value f or any device that is con ected to the network
< usA ddrM in /< usA ddrM ax : Values define the network ad res value ran e
Trang 22neces ary de en en ies related to bu p rameters The implementation of related EDDL
logic is b sed on the EDDL Bui t-in f un tion ObjectRef eren e, whic ena les to analy e a set
of c i d in tan es (Con ection Point in tan es) The valdation logic s al set the <VALID>
at ribute of the Con ection Point in tan e that has p s ed the val dation
The implementation of ValdateMod les is o tional if the mod le setup is either static or if the
config ration rules defined in the COMPONENT con tru t are s f ficient to con g re the
Table 1 – Val dateNetwork Action arg me ts
th Servic Eror re ult u in th “ eturn” stateme t
ErorMe s g If th meth d return a empty strin (N L ) th Actio c l s c e d d In c s of
a eror th Actio c n return a pro lem d s riptio
5.2.9 Val dateModule
The method ValdateMod les val dates the c r ent mod le setup The implementation of the
related EDDL logic is b sed on the EDDL Bui t-in fu ction ObjectReferen e, whic ena les to
analy e a set of c i d in tan es The implementation of ValdateMod les is o tional if the
mod le setup is either static or if the config ration rules defined in the COMPONENT
con tru t are s ff i ient to config re the mod le setup
NOT Th d cisio wh th r Vald teMo ule is n e e or n t is v n or s e ific
Ta le 2 s ows the Val dateMod les Action Arg ments
Signature
ValidateModule (
[ou ] Inte e servic Er o ,
[ou ] S ri g E ro Messag );
Table 2 – Val dateModule Action argume ts
Servic Eror 0: OK
- : Faie / th Co n ctio Point th t did n t p s th v ld tio is in ic te b th <V LID>
atrib te ( v lu s t to fals
Trang 235.2.10 UIP spe ific
The FDI Commu ication Pac age can contain the UIP to s p ort e.g diag ostic an
p rameterization
5.2.1 Deployme t
The FDI Server imp rts the FDI Commu ication Pac age The han l n of EDD an UIP p rts
matc es with the imp rt proced re p rormed for the FDI Pac age (se IEC 6 7 9-2 an
IEC 6 7 9-3)
6 Communication relations
The purp se of a commu ication device an its commu ication services is to ex han e
information b twe n the ph sical device an the device re resentation managed by the FDI
Server The information ex han e is managed via commu ication relation , se Fig re 3 An
esta ls ed commu ication relation re resents the ca a i ty to ex han e information
b twe n the FDI Server managed device re resentation an the ph sical device The u e of a
Commu ication Relation al ows a stractin f rom protocol sp cific typical y u ed to manage
con ection
Figure 3 – Communic tion relation
NOT 1 Th c re of informatio e c a g h p e s b twe n th p y ic l n twork c n e te d vic a d th
c re p n in in ta c within th Inf ormatio Mo el b t d e n t c v r th c mplete d vic a plc tio
ServrCo mmunictioD evicTy :
Communic tio D evic Name
ServrCom unictioServicTy :
Communic tio Servic Provider_B
Com uictio nServrTy :
Com unic tio ServerName
SubDev ic es
Trang 24The “Ab rtIn ication” s own in Fig re 4 can b detected in diff erent protocol sp cif i way
The one sp cif ied for an commu ication device is b u d to the serviceEr ors returned by the
sp cified commu ication services Even the Scan method can determine a con ection los ,
when the device f or whic a commu ication relation has b en activated do s not a p ar in a
s an res lt
Figure 4 – Communic tion relation state c art
NOT 2 Th ma a eme t of c mmu ic tio relatio s is o tio al
7 FDI Communic tion Serv r def inition
In terms of FDI the FDI Commu ication Server is a dedicated OPC UA Server providin
ac es to one or more f ield device network Eac FDI Commu ication Server is model ed as
a Mod lar Device where e c mod le (also caled Commu icationDevice in the seq en e)
re resents the ac es p int to one network
The Mod lar Device itself re resents the FDI Commu ication Server as a whole
7.2 Ge eral c ara teristic
The FDI Commu ication Server implements c aracteristic f or e c of its
Commu icationDevices sp cified in 7.3.3 Ad itional y, an FDI Commu ication Server
implements the f olowin c aracteristic :
• The FDI Server alway s n hronizes (se 7.5, 7.8.8, an 7.8.1 ) the FDI Commu ication
Server hosted Information Model f om the FDI Server hosted Information Model content
• Commu icationDevices can b statical y in tantiated or they can b cre ted/deleted by the
FDI Server
• Commu ication b twe n the FDI Server an the FDI Commu ication Server is b sed on
OPC UA OPC UA sp cif ies a wire protocol f or its services that can b implemented on
arbitrary platf orms an ru time en ironments
• To avoid race con ition , the FDI Commu ication Server only al ows one FDI Server b in
Trang 257.3 Inf ormation Mod l
Subclau e 7.3 sp cifies the FDI Commu ication Server hosted Inf ormation Model
An FDI Commu ication Server is an OPC UA Server that en a s lates commu ication
hardware an provides stan ardized commu ication a i ty The FDI Server con ects to the
FDI Commu ication Server as an OPC UA Cl ent an ac es es the network s p orted by the
FDI Commu ication Server via the FDI Commu ication Server inf ormation model The tas of
the FDI Commu ication Server is to exp se this information model The FDI Commu ication
Sever s al not maintain Device In tan es or network to olog information Al interaction with
FDI devices is done throu h the FDI Server an ju t tran fer ed by the FDI Commu ication
Server
For the FDI Server an FDI Commu ication Server lo k l ke a device that s p orts FDI
Commu ication Services an u es OPC UA to commu icate The FDI Commu ication Server
may ru local y on the same PC as the FDI Server (lo p b c ada ter) or remote in the f ield
(e.g emb d ed into a control er) Like a device e c FDI Commu ication Server has an
as ociated FDI Pac age This FDI Pac age is u ed to cre te commu ication devices in the
Inf ormation Model of the FDI Server that re resent ac es to the network implemented by
the FDI Commu ication Server
The Information Model of an FDI Commu ication Server is b sed on the Information Model
defined in IEC 6 7 9-5 Fig re 5 re l cates the Mod lar Device stru ture an i u trates how it
ma s into the overal Ad res Sp ce The mod les re resent the commu ication c an els of
the FDI Commu ication Server
Trang 26Figure 5 – FDI Communic tion Serv r Addre sSpa e
The Commu icationServerType ( he ro t of the Mod lar Device) is a s btyp of the
DeviceTyp The MethodSet contain the method Initialze, Reset, Ad Comp nent an
RemoveComp nent The method Ad Comp nent an RemoveComp nent are o tional y
present if the FDI Commu ication Server s p orts the d namic in tantiation of elements in
the folder SubDevices
Al s b devices are in tan es of the ServerCommu icationDeviceTyp defined in 7.3.3 The
in tan es of the ServerCommu icationDeviceTyp (ServerCommDevice) have a MethodSet
that can implement the method SetAd res , Scan, Ad Comp nent, RemoveComp nent
Ad Comp nent an RemoveComp nent are o tional y present if the FDI Commu ication
R emov eCompnent
ServrCom unictio n
Trang 277.3.2 Communic tionServ rType
The Commu icationServerTyp is a s btyp of the DeviceTyp an provides the method
ne ded to manage the in tan es ServerCommu icationDeviceTyp Fig re 6 s ows the
Commu icationServerTyp definition that is formal y defined in Ta le 3 an Ta le 4
Figure 6 – Commu ic tionServ rType
Table 3 – Communic tionServ rType d finition
Table 4 – MethodSet of Communic tionServ rType
Brows Name Meth dSet
Trang 28Server cl ents therefore do not have to browse f or these Method They can u e the f i ed
NodeId as the MethodId of the Cal Service
The ad itional Method Ad Comp nent an RemoveComp nent ad the a i ty to ad or
remove in tan es of ServerCommu icationDeviceTyp ac ordin to commu ication hardware
stru ture These services are not a pl ca le if the FDI Commu ication Server implements a
static commu ication hardware stru ture
The SubDevices folder contain in tan es of ServerCommu icationDeviceTyp that re resent
the commu ication mod les
NOT Th in ic tio f or a static c mmu ic tio h rdware la o t is in ic te in th FDI Pa k g with
COMPONENT atrib te C N_DELE E s t to FALS in COMPONENT d claratio s
7.3.2.2 Re et Method
Reset is u ed to reset the commu ication hardware an related driver software An on oin
commu ication wi b sto p d immediately Al commu ication c an els enter the statu
closed
The Method Reset s al not b present in the FDI Server hosted Information Model The FDI
Server s al b a le to han le the s ut-down proced re automatical y ac ordin to
commu ication deman s
Typical y the FDI Commu ication Server o eration in lu es some hardware an protocol
driver han l n that can b in e en ent f rom an mod lar stru ture Becau e of this
p s ibi ty the Reset method is ar an ed u derne th the Commu icationServerTyp For the
purp se of red cin the complexity of FDI Commu ication Server o eration only one Reset
method has b en sp cified
The sig ature of this Method is sp cified b low Ta le 5 an Ta le 6 sp cify the arg ments
an Ad res Sp ce re resentation, resp ctively
Table 6 – Re et Method Addre sSpa e def inition
Trang 29contained within the in tan e of the Commu icationServerTyp an al in tan es of
ServerCommu icationDeviceTyp
In order to ena le p rameter c an es d rin o eration the Initialze method can b
re-in oked If the FDI Commu ication Server ne d to reset its commu ication hardware, it s al
automatical y restore an commu ication relation that existed A mod lar FDI Commu ication
Server can f lexibly initial ze only those ServerCommu icationDeviceTyp in tan es for whic
config ration c an es have b en detected
The Method Initial ze s al not b present in the FDI Server hosted Inf ormation Model The
FDI Server s al b a le to han le the start proced re automatical y ac ordin to h man
driven commu ication req ests
The FDI Commu ication Server o eration can in lu e some hardware an protocol driver
han l n that can b in e en ent f om an mod lar stru ture Becau e of this p s ibi ty the
Initial ze method is ar an ed u derne th the Commu icationServerTyp F r the purp se of
red cin the complexity of FDI Commu ication Server o eration only one Initial ze method
has b en sp cified
The sig ature of this Method is sp cified b low Ta le 7 an Ta le 8 sp cify the arg ments
an Ad res Sp ce re resentation, resp ctively
Signature
Initial z (
Table 7 – Initial ze Method arg me ts
s
Arg me t Pro ertyTy e Ma d tory
7.3.2.4 AddCompone t Method
Ad Comp nent s al b u ed to con g re the mod lar setup of an FDI Commu ication Server
in case the FDI Commu ication Sever has no statical y defined commu ication hardware
ServerCommu icationDeviceTyp )
The sig ature of this Method is sp cified b low Ta le 9 an Ta le 10 sp cify the arg ments
an Ad res Sp ce re resentation, resp ctively
Trang 30Table 9 – AddCompone t Method arg me ts
Mo uleTy eName Ty e of mo ule to b cre te a d f i e in th FDI Pa k g Th mo ule ty e
n me s al c re p n to o e of th COMPONENT id ntif i r d f i itio s (s e 5.2.3)
In ta c Name No -lo alz d n me of th mo ule’s De ic No eof th cre te eleme t This
n me h s to b u iq e within th s o e of th FDI Commu ic tio Serv r’s
Informatio Mo el
In ta c L b l Huma re d ble la el for th ro t No e of th cre te mo ule
In ta c No eId Cale -a sig e id ntif i r for th mo ule’s De ic No e
-3: E Un n wnTy e – a u k own Mo uleTy eName h s b e s e if i d
-4: E LimitEx e d d – th total n mb r of mo ule is e c e e
(this mig t b c u e b p wer c n traints or oth r re o rc lmitatio s)
Table 10 – AddCompon nt Method Addre sSpa e def inition
Brows Name Ad Comp n nt
7.3.2.5 Remov Compone t Method
ServerCommu icationDeviceTyp ) Implementation of RemoveComp nent is o tional if the
commu ication hardware setup is static
The sig ature of this Method is sp cified b low Ta le 1 an Ta le 12 sp cify the arg ments
an Ad res Sp ce re resentation, resp ctively
Trang 31Signature
R emoveC m onen (
Table 1 – Remov Compon nt Method arg me ts
Mo uleNo eId Th v lu is th id ntific tio of th e istin in ta c in th Informatio Mo el
Referenc s No eCla s Brows Name DataT pe T peDef i itio Mo el n Rule
7.3.3 Serv rCommunic tionDe ic Type
The ServerCommu icationDeviceTyp re resents a commu ication c an el for a p rtic lar
network The ServerCommu icationDeviceTyp is a s btyp of the DeviceTyp The
ParameterSet for e c in tan e of a ServerCommu icationDevice wi contain Parameters
neces ary to config re the o eration of the network The protocol sp cif i , man atory bu
p rameters are sp cified in IEC 6 7 9-4:2 15, An ex F Fig re 7 s ows the
ServerCommu icationDeviceTyp definition that is formal y defined in Ta le 13 an
Trang 32Table 13 – Serv rCommu ic tionDe ic Type definition
Su ty e of th De ic Ty e d f i e in OP U Part DI
Scan s al b u ed to start dis overin phy ical network con ected devices The as ociation
b twe n the method Scan an the cor esp n in ph sical network con ection ena les the
FDI Commu ication Server to ac es the cor ect ph sical network con ection The Scan
method is implemented by the Commu ication Server ru time mod le
The sig ature of this Method is sp cified b low Ta le 15 an Ta le 16 sp cify the arg ments
an Ad res Sp ce re resentation, resp ctively
NOT 1 Commu ic tio Serv rs c n ru th n twork s a in a b c gro n ta k s th in o atio of th fu ctio
Sc n wi return c c e n twork s a re ults
NOT 2 In c s th SC N ta e v ry lo g th FDI Commu ic tio Serv r mig t return a empty
To olo ySc nRe ult a d th Servic Eror 1 id ntifyin th t th s a is sti ru nin
Trang 33Signature
Scan(
Table 15 – Sc n Method argume ts
To olo ySc nRe ult Th arg me t v lu is a XML f ormate strin re re e tin a lst of p y ic l
n twork c n e te d vic s Ea h of th p y ic l n twork c n e te d vic s is
re re e te b a d ta stru ture matc in with a Co n ctio Point n d
Co n ctio Point atrib te are proto ol s e if i Th c re p n in
to olo ySc nRe ult s h ma is s e ifie in IEC 6 7 9-4:2 15, An e F
Return a empty strin for To olo ySc nRe ult in c s of a y eror
Servic Eror 0: OK / s a c mplete
1: OK / g t c mplete s a re ult b c l n Sc n a ain
- : Faie / n t initialz d
-2: Faie / n t c n e te to a n twork
-3: Faie / n d vic f ou d, th to olo ySc nRe ult is empty
Table 16 – Sc n Method Addre sSpa e def inition
7.3.3.3 Re etSc n Method
ResetScan s al b u ed to reset the internal cac e of s an res lts It wi also can el a
ru nin s an in case the FDI Commu ication Server s an mec anism s p orts this
The sig ature of this Method is sp cif ied b low Ta le 17 an Ta le 18 sp cify the arg ments
an Ad res Sp ce re resentation, resp ctively
Signature
Table 17 – Re etSc n Method argume ts
Servic Eror 0: OK / s a re et
- : Faie / n t initialz d
-2: Faie / n t c n e te to a n twork
Trang 34Table 18 – Re etSc n Method Ad re sSpa e d f inition
7.3.3.4 SetAddre s Method
SetAd res s al b u ed to c an e the network ad res (commu ication ad res ) of a
device The Commu ication Device s al en ure u iq e network ad res values If the
arg ment value of newAd res is alre dy as ig ed to a ph sical network con ected device
the Commu ication Device s al return the arg ment serviceEr or value “-4: Fai ed / d pl cate
Ad res er or”
It de en s on the protocol whether the ad res as ig ment service s al work even when a
commu ication relation is alre dy esta l s ed
The sig ature of this Method is sp cif ied b low The arg ments for SetAdres Method are
Table 19 – SetAddre s Method argume ts
OldAd re s Th arg me t re re e ts 1 n proto ol s e ific v lu s re re e tin th e istin
proto ol s e ific n twork a dre s of th p y ic l n twork c n e te d vic Valu s
th t re re e t a n twork a dre s are s e if i d in IEC 6 7 9-4:2 15, An e F
NewAd re s Th arg me t re re e ts 1 n proto ol s e ific arg me ts re re e tin th n w
proto ol s e ific n twork a dre s th t s al b a sig e to a p y ic l n twork
c n e te d vic Valu s th t re re e t a n twork a dre s arg me ts are
s e if i d in IEC 6 7 9-4:2 15, An e F
Servic Eror 0: OK / e e utio finis e s c e sfuly
- : SetAd re s Faie / n t initialz d
-2: SetAd re s Faie / n t c n e te to a n twork
-3: SetAd re s Faie / n d vic fo n re p n in to oldAd re s
-4: SetAd re s Faie / d plc te a dre s er or
-5: SetAd re s Faie / d vic did n t a c pt n w a dre s
-6: SetAd re s Faie / in ald oldAd re s
(in terms of s nta , d ta ty e, d ta f ormat, a d s o )
-7: SetAd re s Faie / in ald n wAd re s
(in terms of s nta , d ta ty e, d ta format, a d s o )
-8: SetAd re s Faie / n t p s ible in statu c n e te
Trang 357.3.4 Serv rCommunic tionServic Type
Commu ication services provide the me n to commu icate with a Device or to e.g exec te
a Scan on some Network Commu ication services are re resented throu h Method in the
Inf ormation Model (se IEC 6 7 9-5)
The formal def i ition of ServerCommu icationServiceTyp is f ou d in Fig re 8, Ta le 2 an
Ta le 21
The NodeId of these Method wi b fixed an def i ed in this stan ard FDI Cl ents theref ore
do not have to browse for these Method They can u e the fixed NodeId as the MethodId of
the Cal Service
Commu ication method in lu in their NodeId are u iq ely defined in this stan ard FDI
Cl ents can u e the Method directly (without browsin ) The OPC UA Cal Service s al b
u ed as fol ows:
• the MethodId arg ment s al contain the fixed NodeId of the Method;
• the ObjectId arg ment s al contain the NodeId of the MethodSet
The OPC UA Statu Code Bad_MethodIn al d s al b returned fom the Cal Service f or
elements where the commu ication method are not s p orted
Fig re 8 – Serv rCommunic tionServic Type
Table 2 – Serv rCommunic tionServic Type def inition
Trang 36Table 21 – MethodSet of Serv rCommunic tionServic Type
7.3.4.2 Conne t Method
Con ect s al b u ed to esta l s a commu ication relation to a device that is ph sical y
con ected to the Network Esta ls in the commu ication relation may imply c ec s of
identification data that are p rt of the ad res Data with data in ide the ph sical device The
Commu ication Device p rorms this DeviceTyp matc verif i ation ac ordin to a
cor esp n in network protocol stan ard Related detais are sp cif ied in IEC 6 7 9-4:2 15,
An ex F
The devices ad res is contained in the Con ection Point of the cor esp n in Device
In tan e within the Information Model (Device Con ection Point The commu ication relation
b twe n the Information Model as ociated device a plcation an the ph sical device is
f urther on identified by the commu ication relation identif ier Detai s a out how to manage the
statu of a commu ication relation is des rib d in Clau e 6
NOT 1 As th No eId is a u iq e id ntif i r within th Inf ormatio Mo el s o e, th No eId of th De ic
Co n ctio Point c n b a u iq e id ntif i r for a y c mmu ic tio relatio in th s o e of a c mmu ic tio
d vic
NOT 2 Th term c mmu ic tio relatio is intro u e d s ribin th statu of a inf ra tru ture th t e a le
d ta e c a g b twe n informatio mo el h ste d ta a d a p y ic l d vic If th c mmu ic tio relatio is
Trang 37Table 2 – Con e t Method argume ts
Commu ic tio Relatio Id This is acle t g n rate id th t is u e to u iq ely id ntify this c n e tio
This c uld b a in e (e.g a No eId) th t th cle t (= FDI Serv r n e s to
id ntify e trie in its to olo y
Ad re sData A proto ol s e ific arg me t lst th t is u e for th a dre s a d o tio al d vic
id ntific tio d ta (d tais d s rib d in IEC 6 7 9-4:2 15, An e F)
De ic Inf ormatio A proto ol s e ific arg me t lst in whic th c n e t re ult d ta are store
Servic Eror 0: OK / e e utio f i is e , c n e tio e ta ls e s c e sf uly
- : Co n ct Faie / d vic n t fo n
-2: Co n ct Faie / in ald d vic a dre s
-3: Co n ct Faie / in ald d vic id ntif i atio
7.3.4.3 Dis on e t Method
Dis on ect s al b u ed to terminate a commu ication relation to a Device
The sig ature of this Method is sp cif ied b low At ributes of the Dis on ect method are
sp cified in Ta le 2 Dis on ect is a s n hronou method cal
Signature
Di connect(
[i ] ByteS r n Communi a io Rela io Id,
[o t] In 32 Se vice r or);
Table 2 – Dis onne t Method argume ts
Commu ic tio Relatio Id Same ID a u e in meth d Co n ct s e if i d in 7.3.4.2
Servic Eror 1: OK / dis o n ct finis e s c e sf uly
- : Dis o n ct Faie / n e istin c mmu ic tio relatio
-2: Dis o n ct Faie / in ald c mmu ic tio relatio id ntif i r
7.3.4.4 Tra sf er Method
Tran fer s al b u ed to p rorm inf ormation ex han e with a Device
The sig ature of this Method is sp cified b low Al arg ments are sp cified in Ta le 2
Trang 38Table 2 – Tra sf er Method argume ts
Commu ic tio Relatio Id Se 7.3.4.2
Se dData A proto ol s e if i lst of v lu s a d s rib din IEC 6 7 9-4:2 15, An e F Th
arg me t v lu s re re e t th proto ol s e if i c mmu ic tio s rvic re u st th t
is s nt to th d vic
Re eiv Data A proto ol s e if i lst of v lu s a d s rib din IEC 6 7 9-4:2 15, An e F Th
arg me t v lu s re re e t th proto ol s e if i c mmu ic tio s rvic re p n e
th t is re eiv d fom th d vic
Servic Eror 0: OK / e e utio finis e , Re eiv dData c ntain th re ult
- : Tra sfer Faie / No e istin c mmu ic tio relatio
-2: Tra sfer Faie / In ald c mmu ic tio relatio id ntif i r
-3: Tra sfer Faie / In ald s n Data c nte t
-4: Tra sfer Faie / In ald re eiv Data format
7.3.4.5 GetPubl s e Data Method
The FDI Server sen s GetPubls edData req ests to the FDI Commu ication Server to
receive data that is s bmited by u sol cited data mes ages The arg ment Sen Data
contained data pre ares the ex han e of “u sol cited” data mes ages fom the device The
content of Sen Data is protocol sp cific The FDI Commu ication Server q eues
GetPubl s edData req ests in a q eue as ociated with the Commu ication Relation defined
throu h the arg ment Commu icationRelationId The arg ment Publs Id identifies the related
q eue entry Eac time the FDI Commu ication Server receives u solcited data mes ages it
saves the received data in as ociation with the existin q eue entry that has b en created for
the GetPubls edData De en in on the u derlyin network tec nolog (p rorman e) the
method GetPubl s edData can immediately return with data comin f rom an “u solcited” data
mes age
Subseq ent pul n of data that is s bmit ed by u sol cited data mes ages work throu h the
same method GetPubl s edData In this case the arg ment Sen Data is empty The arg ment
Publs Id matc es with the value that has b en provided with the initial cal GetPubls edData
that has esta ls ed the tran mis ion of ex han e of “u sol cited” data mes ages
In order to sto the device sen in the “u sol cited” data, the method GetPubl s edData s al
b u ed again but the arg ment Sen Data contained data terminates the ex han e of
“u solcited” data mes ages f om the device Ta le 2 s ows the GetPubls edData Method
Trang 39Table 2 – GetPubl s e Data Method arg me ts
Commu ic tio Relatio Id Se 7.3.4.2
Se dData A proto ol s e if i lst of v lu s a d s rib din IEC 6 7 9-4:2 15, An e F Th
-3: GetPu ls e Data Faie / n t s p orte
-4: GetPu ls e Data Faie / n e istin c mmu ic tio relatio
-5: GetPu ls e Data Faie / in ald c mmu ic tio relatio id ntif i r
-6: GetPu ls e Data Faie / in ald s n Data c nte t
-7: GetPu ls e Data Faie / in ald re eiv Data format
-8: GetPu ls e Data Faie / n d ta p bls e th t fits to th Se dData arg me t
7.4 OPC UA Serv r Pro le for FDI Commu ic tion Server
Profi es are named groupin s of Conf orman eUnits as def i ed in IEC 6 5 1-7 The term
Facet in the title of a Prof ile in icates that this Profi e is exp cted to b p rt of another larger
Profi e or con ern a sp cific asp ct of OPC UA Profi es with the term Facet in their title are
exp cted to b combined with other Prof iles to define the complete f un tional ty of an OPC
UA Server or Cl ent The minimum req ired OPC UA Server Profi e is the “Micro Emb d ed
Device Server Prof ile”
The fol owin ta le sp cifies the f acet for an OPC UA Server that acts as an FDI
Commu ication Server Ta le 2 des rib s Conforman e Units in lu ed in this f acet
Table 2 – FDIC ommu icationServer_Fa et definition
The re resentation of an FDI Commu ication Server in the Addres Sp ce of an FDI Server is
almost identical to the Ad res Sp ce that exists in the FDI Commu ication Server This refers
in p rtic lar to the Modular Device hierarc y an the Parameters of al Devices However, the
Nodes in the FDI Server are bui t f rom the device des ription imp rted via the FDI
Commu ication Pac age
Trang 40commonal ties an the diff eren es b twe n the Information Models hosted by the FDI
Commu ication Server an the FDI Server In general the FDI Commu ication Server hosted
Information Model is a s bset of the FDI Server hosted Information Model The Device
In tan es in the FDI Server an the FDI Commu ication Server ad ere to the same typ
definition Th s browse names of common Inf ormation Model elements s al have the same
browse name
Figure 9 – Information Model dif f ere c s (e ample)
The lst of diff eren es in the IM is as f ol ows:
• The FDI Server s p orts onl ne an off line version of the Mod lar Device; the FDI
Commu ication Server s p orts ju t an onlne version The onl ne version of the FDI
Server re resents the version in the FDI Commu ication Server, i.e if Parameter
Values are re d or writ en to the onl ne model of the FDI Server, these o eration are
p s ed throu h to the FDI Commu ication Server This ha p n b th for publc an for
private Parameters
NOT Th k y is a matc b twe n th brows n me pre e t in th FDI Serv r h ste Informatio
Mo el a d th FDI Commu ic tio Serv r h ste Inf ormatio Mo el This alows g n ric s n hro iz tio
of b th inf ormatio mo els
Tra fer
Sc an
Set AdreParamet erSet
Init ialz
R est
A ddComp et
R emov eComp etMet ho Set
Sc anNex t
Sc anNex t