Professional Documents
Culture Documents
How to Contact Us
Phone Fax Internet World Wide Web Bulletin Board (510) 297-5800 (510) 297-5828 (510) 357-8136 techsupport@osisoft.com http !!""".osisoft.com (510) 895-9#23 $elebit %orl&'la(er mo&em ()a*es+ ,-.+ or ./. compatible) 8 &ata bits+ 1 stop bit+ no parit*+ up to 1##00 bps &o"nloa& protocols 0mo&em+ 1mo&em+ 2mo&em+ 3ermit 456 5oft"are+ 6nc. ..4. 'o7 727 5an 8ean&ro+ 9: 9#577-0#27 ;5: 456 5oft"are <mb) )auptstrae 30 =-6367# :ltensta&t 1 =eutschlan& 456 5oft"are+ 8t& .. 4. 'o7 8256 8e>el 4ne+ 6-8 -u?ent 5treet :uc@lan& 3+ -e" 2ealan& (main number) (technical support)
;npublishe& -- ri?hts reser>e& un&er the cop*ri?ht la"s of the ;nite& 5tates. A/5$A69$/= A6<)$5 8/</-= ;se+ &uplication+ or &isclosure b* the <o>ernment is subBect to restrictions as set forth in subpara?raph (c)(1)(ii) of the Ai?hts in $echnical =ata an& 9omputer 5oft"are clause at =C:A5 252.227-7013 $ra&emar@ statementD.6 is a re?istere& tra&emar@ of 456 5oft"are+ 6nc. ,icrosoft %in&o"s+ ,icrosoft %in&o"s for %or@?roups+ an& ,icrosoft -$ are re?istere& tra&emar@s of ,icrosoft 9orporation. 5olaris is a re?istere& tra&emar@ of 5un ,icros*stems. ).-;0 is a re?istere& tra&emar@ of )e"lett .ac@ar& 9orp.. 6', :60 A5!6000 is a re?istere& tra&emar@ of the 6', 9orporation. =;0+ =/9 E:0 an& =/9 :lpha are re?istere& tra&emar@s of the =i?ital /Fuipment 9orporation. 20#107752.&oc
1997 456 5oft"are+ 6nc. :ll ri?hts reser>e& 777 =a>is 5treet+ 5uite 250+ 5an 8ean&ro+ 9: 9#577
10!15!200# 03 10 00 .,
ii
able of Contents
)o" to 9ontact ;s..................................................................................................................ii $able of 9ontents................................................................................................................... 3 4>er>ie"................................................................................................................................ 6 5upporte& =ata $*pes........................................................................................................ 7 .6 .oint =efinition................................................................................................................... 8 C60 $a? :&&ress Cormat.....................................................................................................8 <eneral .6 $a? 9onfi?uration 6nformation...........................................................................8 .oint5ource..................................................................................................................... 8 .oint$*pe......................................................................................................................... 8 8ocation1......................................................................................................................... 8 8ocation2......................................................................................................................... 8 8ocation#......................................................................................................................... 9 6nstrument$a?................................................................................................................ 10 5can.............................................................................................................................. 12 5ource$a?..................................................................................................................... 12 /7=esc.......................................................................................................................... 12 6nput $a? 9onfi?uration.....................................................................................................13 .erformance an& /=: ;sa?e.......................................................................................13 4utput $a? 9onfi?uration..................................................................................................1# :&&itional .62 9onfi?uration..............................................................................................1# .oint 5ource..................................................................................................................1# =i?ital 5tate 9o&e..........................................................................................................15 )ar&"are an& 5oft"are .......................................................................................................16 6nterface 5oft"are AeFuirements......................................................................................16 6nterface )ar&"are AeFuirements.....................................................................................16 5tartup 9omman& Cile.......................................................................................................... 17 C60 =,:95 6nterface 6nstallation ........................................................................................22 -$-6ntel 6nstallation =is@ Cile 8ist......................................................................................22 =is@ Cile 8ist.................................................................................................................. 22 6nstallation .roce&ure........................................................................................................22 $o run as a ser>ice........................................................................................................23
10!15!200# 03 10 00 .,
6ntellution Ci7 =,:95 6nterface =ocumentation $o run in interacti>e mo&e.............................................................................................25 $o 6nstall =ebu? 5*mbols..............................................................................................25 C60 =,:95 6nterface 5*stem :&ministration.......................................................................27 5tartin? the C60 =,:95 6nterface.....................................................................................27 :utomatic 5er>ice 5tartup.............................................................................................27 ,anual 5er>ice 5tartup.................................................................................................27 6nteracti>e 5tartup..........................................................................................................27 5toppin? the C60 =,:95 6nterface...................................................................................27 5tatus+ %arnin?+ an& /rror ,essa?es..............................................................................28 64Aates................................................................................................................................. 29 C60 Ae&un&anc* an& .i-e&a.................................................................................................30 C6032 Eie" -o&e.............................................................................................................. 30 C6032 .rimar* 59:=: -o&e.............................................................................................32 C6032 'ac@up 59:=: -o&e.............................................................................................33 C6032 Eie" -o&eGs -et"or@ 5tatus =ispla*......................................................................3# C6032 -o&e H"inntHs*stem32H&ri>ersHetc )ost Cile............................................................3# .6 $a? 9onfi?uration for C6032 $a?..................................................................................3# iC60 Eie" -o&e.................................................................................................................. 3# iC60 .rimar* 59:=: -o&e................................................................................................35 iC60 'ac@up 59:=: -o&e................................................................................................37 iC60 -et"or@ 5tatus Ae&un&anc* =ispla*.........................................................................37 iC60 -o&e H"inntHs*stem32H&ri>ersHetc )ost Cile...............................................................38 .6 $a? 9onfi?uration for iC60 $a?......................................................................................38 :ppen&i7 : 9ommunication /rror Aeco>er*.........................................................................39 :ppen&i7 ' $roubleshootin?.................................................................................................#0 CreFuentl* :s@e& Iuestions.............................................................................................#0 ,ore ,essa?es 8o??e& to pipc.lo? Cile an& /7planations...............................................#5 J9omplete& re-processin? ta?sJ........................................................................................#5 K/=: error LMN occurre& &urin? function 0000 on C60 -$C L0+ 1+ 2NO...........................#5 J$est fiel& for ta? $ is 2. 6nterface abortin?J......................................................................#5 J8ocal host 000 restore& at &a*-month-*ear hour min secon& J......................................#6 J-o C60 fiel& t*pe specifie& for .6 ta? 0J...........................................................................#6 J-o C60 ta? name specifie& for .6 ta? 0J..........................................................................#6 J-o con>ersion is supplie& for floatJ..................................................................................#6 J/=: =i?ital t*pe ta?s are confi?ure& in .6 as .6 &i?ital t*pesJ.........................................#6
J/=: ,ultistate =i?ital t*pe ta?s are confi?ure& in .6 as .6 &i?ital t*pesJ........................#6 J/=: (:)lphanumeric fiel& is &efine&+ but the .6 fiel& is not Pstrin?PJ.................................#7 JCiel& t*pe L2N not supporte&J..........................................................................................#7 J-o ta? confi?uration specifie& for L$NJ............................................................................#7 J9oul& not retrie>e local host name. 6nterface aborte&J....................................................#7 J6nterface runnin? on local C60 no&e ----J.....................................................................#7 J9oul& not create /=: ?roup for scanclass MQJ.................................................................#7 J9oul& not create /=: ?roup for e>ent-ta? $ tri??ere& ta?sQJ..........................................#7 J9reate& ?roup for scanclass MJ........................................................................................#7 J9reate& ?roup for e>ent-ta? $ tri??ere& ta?sJ.................................................................#8 J/&ite& ta? $ coul& not be a&&e&J.....................................................................................#8 J9omplete -4=/ $:< C6/8= information una>ailable for .6 ta? $J................................#8 JCatal /rror on tree manipulationJ.....................................................................................#8 J/=: Caile& to a&& ta? R-+ $+ CS to the ?roupJ..................................................................#8 JAemo>e& ta? R-+ $+ CSJ....................................................................................................#8 J;nreco?ni(e& state L7777N in (,ultistate) =i?ital ta? R-+ $+ CSJ.......................................#8 J;n@no"n &ata t*pe for ta? R-+ $+ CSJ................................................................................#9 J9onnection "ith no&e - reestablishe&J...........................................................................50 J;nsupporte& t*pe for C60 ta? R-+ $+ CSJ............................................................................50 J=ri>er shut&o"nJ..............................................................................................................50 Cor C60 /=: /rrors+ consult 6ntellution /=: manual.....................................................50 :ppen&i7 9 ,essa?e 8o??in?..............................................................................................51 8o??in? 9onfi?uration.......................................................................................................51 :ppen&i7 = C60 to .6 9onfi?uration $ransfer ;tilit*.............................................................53 4>er>ie"........................................................................................................................... 53 ;ser 6nstructions................................................................................................................55
10!15!200# 03 10 00 .,
O!er!iew
This is a description of the Intellution FIX DMACS (FIX32) / Dyna ics (iFIX) interface to the !I Syste for "indo#s $T% In addition to ha&in' the pre&iously e(istin' functionalities this &ersion of the interface allo#s the user to collect the data placed on an alar /e&ent )ueue *y FIX #ith su*second ti esta ps% This enhanced &ersion can *e run on one of the follo#in'+ An $T !I3 Ser&er An $T !I A!I node #ith net#or, access to a !I2 or !I3 Ser&er The interface requires that the Intellution FIX MMI software version 6.x (or FIX32 version 7.0) or later or FIX !na"ics #MI$%&' ' version (.0 or later (or iFIX version 2.() )e *resent on the sa"e +& as the interface. %&' ' su**ort ,oes not nee, to )e ena)le, in or,er for this interface to run. That is- this interface can )e run on a FIX .iew no,e. /ote0 !re&iously se&eral custo ers ha&e *een una*le to run the interface on &ersion -%.2 of FIX% "ith &ersion .%/ and later the interface runs #ith FIX -%.2 as #ell% For i portant infor ation re'ardin' runnin' this interface #ith FIX Dyna ics0 see release notes% 1p to FIX Dyna ics .%2 and FIX DMACS -%.30 a FIX Dyna ics SCADA node and a FIX DMACS SCADA node do not tal, to each other% FIX32 &ersion /%2 node0 ho#e&er0 can *e seen *y iFIX &ersion 2%. node and &ice &ersa% FIX32 &ersion -%.3 and FIX Dyna es &ersion 2%2 introduced auto atic failo&er functionality% !i4eda runnin' on a 5ie# node (and 5ie# node only 6 see the section on 7edundancy in this anual) can ta,e ad&anta'e of this functionality to continuously collect data fro partner SCADA nodes if the acti&e one *eco es una&aila*le% See the section on FIX 7edundancy in this anual% /ote0 This interface requires +I '+I version at least (.3.2 (see release notes). For proper interface operation0 confi'ure input points (input ta's) and/or output points (output ta's) on a !I2 or !I3 ho e node (the #ords 8point8 and 8ta'8 are used interchan'ea*ly in this anual)% Input ta's are used to recei&e data fro FIX nodes0 either local or re ote% A sin'le interface can collect data fro one or ore FIX nodes at a ti e% Data are recei&ed either at a 'i&en fre)uency or after a &alue that is sent to a 'i&en 8tri''erta'8 passes e(ception% These ta's #ill *e referred to as the e&ent4tri''ered ta's in this anual% 9utput ta's are used to send co ands to FIX% A co and is sent to FIX after a &alue that is sent to a 8SourceTa'8 passes e(ception or after a &alue that is sent to the output ta' itself passes e(ception0 dependin' on the confi'uration of the output ta'% All &alues that are #ritten to the snapshot or archi&e use the syste ti e fro the !I ho e node% In addition0 this interface is a*le to fetch data fro the user )ueue #here FIX SAC places alar and e&ent essa'es% The points for #hich data are collected this #ay #ill *e referred to as the e&ent4 essa'e ta's in this interface anual% The event-message tags MUST be configured as alarm- and/or event message-enabled in FIX database % It is reco ended that separate instances of this interface *e run for strictly scan4*ased data collection and e&ent4 essa'e collection in order to ta,e full ad&anta'e of e&ent4 essa'in' feature of this interface% This #ill *e discussed further in :eneral !I Ta' Confi'uration
section% ;ither "1S;7<.%e(e or "1S;7<2%e(e (please see FIX anual for details) ust *e runnin' in order for this feature to #or,% These e(ecuta*les #ill onitor alar s/e&ents fro alar areas and a,e the a&aila*le to our interface% /ote0 12%345( an, 12%3452 cannot "onitor alar" areas na"e, other than '6+. This interface was ,esi7ne, to use 12%345( or 12%3452- an, therefore will not wor8 if the alar" areas are na"e, other than '6+. This will )e fixe, in future release. At startup0 the interface scans the !I !oint Data*ase for all associated points and *uilds its o#n point list% Durin' runti e0 the interface continues to chec, the !I !oint Data*ase for point updates and odifies its point list accordin'ly% If the Scan field of any point on the point list is set to off0 the point is re o&ed fro the point list% The point is added once a'ain after the Scan field is turned *ac, on% If neither a fi(ed scanrate nor a &alid tri''erta' are found for a 'i&en point0 the point #ill *e re o&ed fro 0 or #ill not *e added to the point list% This applies to e&ent4 essa'e ta's also 4 specifically0 they ust *e in scan class .% See :eneral !I Ta' Confi'uration section%
10!15!200# 03 10 00 .,
PI Point #efinition
FI% a& 'ddress For(at
The FIX DMACS interface uses a 8node-tag-field 8 (NTF) identifier to reference a specific point in FIX% The node references the FIX node on #hich the ta' resides% Tag references the actual ta' #ithin the specified node0 and field deter ines #hich of the ta'?s attri*utes to reference%
The follo#in' descri*es the field na es associated #ith !I point confi'uration that ha&e specific eanin' for use #ith the FIX DMACS interface% 9ther fields ay also need to *e specified for proper confi'uration of the !I point% So e of these fields include point na e (ta' na e)0 typical &alue0 en'ineerin' units0 resolution code (!I2 only)0 filter code0 etc% The user ay #ish to create I/9 7ate Ta's for each interface% For ore infor ation on !I !oint confi'uration see the Data Archi&e (DA) section of the PI System Manual (for !I2 ho e nodes) or the PI Data Archive Manual for Windows NT and NI! (for !I3 ho e nodes)% The field na es in the ta*le *elo# are consistent #ith the field na es in the Data Archi&e Manual for !I3% !lease refer to the Appendi( re'ardin' use of the Fi"ToPI transfer utility to facilitate in the creation of !I points%
PointSource
All points to *e used *y the FIX DMACS interface ust share a co on point source (for e(a ple0 M)% For a !I2 ho e node0 one ust edit the point source ta*le to include this !ointSource (choose 8point source8 fro the !I2 Syste ain enu)% See 8Additional confi'uration for !I28 *elo#% For !I30 the only re)uire ent is to confi'ure the ta' #ith the sa e !ointSource that is defined in the PI-EDA#.bat startup co and file%
Point $"e
The interface supports all three !I point types for !I20 i%e%0 real 40 inte'er I0 and Discrete and Float(60 Float320 Int(60 Int32 and iscrete point types for !I3% The interface also supports the !I %trin7 point type%
*ocation+
This para eter is used to specify the interface nu *er0 #hich corresponds to the /id=# fla' in the PI-EDA#.bat file% 5alid interface nu *ers are inte'er &alues 2 to =@0 inclusi&e%
*ocation,
This para eter identifies the I/9 type for the ta'% If the ta' is an output ta'0 this para eter ust *e set to .% A 2 Input ta' A . 9utput ta'
In&alid Bocation2 &alues #ill cause the ta' not to *e added to the scan list% Co#e&er0 the interface #ill add other &alid ta's to the list and continue to run%
*ocationThis field deter ines the fre)uency at #hich an input ta' is scanned% The field is i'nored for output ta's (I/9 type .)% The field is also i'nored for input ta's (I/9 type 2) if a 8tri''erta'8 is specified in the e(tended descriptor% Dy specifyin' a tri''erta'0 the associated input ta' is scanned after an 8e&ent8 instead of *ein' scanned at the fre)uency specified in BocationE% See the section entitled 8Input Ta' Confi'uration8 for essential details on input ta's and tri''erta's% To *e safe0 set BocationE to 2 for e&ent4*ased input ta's or for output ta's% The possi*le scannin' fre)uencies for a 'i&en interface are specified *y the user on the co and line in the PI-EDA#.bat file (see the section entitled 8Startup Co and File8)% For e(a ple0if part of the co and line is as follo#s+ /f=00:00:05 /f=00:00:15 /f=00:01:00,00:00:10 /f=00:00:0.05,0 Then0 the point can *e confi'ured to scan FI! e&ery 3 seconds0 e&ery .3 seconds0 or e&ery . inute% For the 34second and .3 second periods0 scannin' #ill *e'in on the hour or at a ultiple of 3 or .3 seconds after the hour% For the .4 inute period0 scannin' #ill *e'in .2 seconds after the hour or at a ultiple of . inute and .2 seconds after the hour% If BocationE is . for the a*o&e co and line0 then the point #ill *e scanned e&ery 3 seconds% If BocationE is 20 then the point #ill *e scanned e&ery .3 seconds0 and so on% The last scanclass sho#s the for at for su*second scan fre)uency% /ote0 The hi'hest scan resolution a&aila*le in FIX is 2%23 seconds as of FIX32 &erison /%2 and iFIX &ersion 2%.% !i4eda has a*out the sa e resolution #ith *ufferin' on% 1ser should #atch C!1 usa'e on the node pi4eda is installed on% Dependin' on ho# loaded the C!1 is0 this perfor ance can i pro&e or de'rade% The a*solute li it on resolution is 2%2. second%
10!15!200# 03 10 00 .,
Instru(ent a&
This field is used to specify the $TF address for FI!% $TF stands for $ode4Ta'4Field0 and is used to address a specific ta' #ithin FI!% ;ach entry in the $TF ust *e separated #ith a co a0 #ith no spaces *et#een the co as and te(t% F9&. (F for float) is the only Field that is specified for analo' FIX points (for other supported analo' Fields see the ne(t para'raph)% <ualifyin' FIX float4&alued *loc,s are con&erted to !I float ta's *y our utility FixTo+I and are assi'ned this Field% For *loc, types that are auto atically con&erted (#ithout re)uirin' anual inter&ention *y the user)0 see the section on Fi(To!I at the end of this anual% 9ther *loc, types that result in float &alue are also supported *y this interface0 *ut they need to *e anually confi'ured in !I% This attri*ute is also specified in the Instru entTa' field for the !I ta'% If FIX $TF A LocalNode,TagX, !"# the Instru entTa' field for a !I ta' #ould contain+ LocalNode,TagX, !"# /ote0 The Analo' Alar types in FIX are supported *y this interface *y confi'urin' the as one of the follo#in' three !I data types+ di'ital (t#o states only)0 ulti4state di'ital or strin's (if the ser&er is !I3)% For di'ital and ulti4state di'ital FIX points0 the Field specified in FIX is '9&. for *oth types of di'ital points (' for alphanu eric)% Co#e&er0 #hen confi'urin' !I ta's for FI! di'ital and ulti4state di'ital points0 the field na e ust *e odified fro the FI! for at% For di'ital ta's0 the field ust al#ays start #ith > and for ulti4state ta's0 the field na e ust start #ith M4. This is an interface4specific re)uire ent0 and no odification of the FI! data*ase is re)uired% The follo#in' e(a ple sho#s the contents of the Instru entTa' field for a di'ital ta' #hose FIX $TF A LocalNode,TagX,A!"# The Instru entTa' field for a !I ta' #ould contain+ LocalNode,TagX,D!"# The follo#in' e(a ple sho#s the contents of the Instru entTa' field for a ta' #hose FIX $TF A LocalNode,TagX,A!"# The Instru entTa' field for a !I ta' #ould contain+ LocalNode,TagX,$!"# ulti4state di'ital
10
It should *e e phasiHed that the interface does support strin' &alues as strin' &alues% If re)uired *y the user0 the !I point in this case could *e confi'ured as a strin' ta' and the $TF could *e put in the Instru ent ta' as+ LocalNode,TagX,A!"# and the current &alue as an AS#II string #ill *e stored in !I% Si ilarly0 each field in the ;DA data*ase has an associated field na e% The nu eric fields ha&e *oth a 8A>8 and a 8F>8 type fieldna e associated #ith the 0 #hereas the fields #hich store alphanu eric data (such as Ta' $a e) has an 8A>8 type fieldna e associated #ith it% If desired0 a !I Ta' can *e confi'ured as a strin' ta'0 and the infor ation in this field could *e sent to !I &ia this interface% For e(a ple0 D;SC field can *e confi'ured as a !I strin' ta' *y settin' the field in instru ent ta' as A>D;SC% 9r0 if the field CICI (for CICI alar li it) is to *e o*tained as a !I ta'0 a !I ta' can *e confi'ured as a float32 point type #ith field &alue e)ual to F>CICI% Co#e&er0 ost infor ation in the data*ase other than the current &alue (8F>C5 and/or A>C5) is static0 i%e% it does not chan'e o&er a lon' period of ti e% Therefore0 )ueryin' the ;DA data*ase for &alues other than the current &alue #ould *e0 for ost users0 a #aste of ti e% If the Instru entTa' field is specified on a !I3 ho e node #ith the piconfi' utility0 then the Instru entTa' field should *e encased #ithin dou*le )uotes (8 8)% This is re)uired *ecause !IConfi'0 *y default0 uses a co a as a deli iter% In those rare cases where the 32 characters of the Instru"entTa7 will not suffice to contain the entire /TF- the /o,e na"e or the Fiel, na"e or )oth can )e *lace, in the +I 3xten,e, escri*tor fiel, (3x esc). If the full $TF is specified in the instru ent ta'0 then the interface does $9T chec, the ;(Desc field for additional infor ation 4 the interface already has all the infor ation re)uired% 1tiliHin' the ;(Desc for this purpose eans the Instru entTa' field #ill contain t#o or e&en one of the desi'nators 4 the others #ill *e in the ;(Desc% If the $TF entry in the Instru entTa' is not co plete0 the ;(Desc #ill *e chec,ed% 4e"e")er that the Ta7 na"e M2%T )e in the Instru"entTa7 fiel,. This can *e the Ta' na e *y itself0 or the node na e ay *e prepended #ith a co a *et#een the t#o0 or the Field na e ay *e appended #ith a co a separatin' the t#o% The ;(Desc #ill pro&ide the issin' field% /ote0 If the instru ent ta' contains t#o fields separated *y a co a and *oth the $ode na e and Field na e are pro&ided in the ;(Desc0 the interface uses *oth the Field $a e and the $ode $a e fro the ;(Desc% In this case0 it assu es that the first field in the Instru entTa' is the Ta' $a e% If this is not the case0 then an error #ill occur #hen the ta' is accessed%
'nother I"*ortant /ote0 If the ta' is of type float in FIX *ut is confi'ured as a di'ital ta' in !I0 the instru entta' attri*ute in !I should contain LocalNode,TagX, !"# rather than LocalNode,TagX,D!"#% In that case FIX float is apped to !I di'ital type *y sendin' the
10!15!200# 03 10 00 .,
11
Scan
The Scan field is used *y the interface to deter ine #hether or not the ta' is to *e scanned% This allo#s the user to turn a ta' on or off #hile the interface is on4line%
Source a&
A SourceTa' can *e used in conKunction #ith an output ta'% An output ta' is a ta' for #hich the I/9 type has *een set to . Bocation3% See the section entitled 89utput Ta' Confi'uration8 for essential details on output ta's and SourceTa's%
.x#esc
The e(tended descriptor (;(Desc) can *e used to specify a 8tri''erta'8 (for input ta's only) and is specified *y the follo#in' synta( in the e(tended descriptor+ e%e&t=t'igge'tag Dy specifyin' a tri''erta'0 the associated input ta' is scanned after an 8e&ent8 instead of *ein' scanned at the fre)uency specified in BocationE% See the section entitled 8Input Ta' Confi'uration8 for essential details on input ta's and tri''erta's% The e(tended descriptor can also *e used to offload co ponents fro the $TF contained in the Instru entTa' ()%&%)% To add either a node na e or a field na e to the e(tended
12
descriptor0 these fields are la*eled as in the tri''erta' a*o&e% To add the node na e to the e(tended descriptor0 the synta( is+ /: 3;no,ena"e To add the field na e to the e(tended descriptor0 the synta( is+ FI3< ;fiel,na"e !lease note0 that all three (e&entA0 nodeA0 and fieldA) can *e in the e(tended descriptor at the sa e ti e% A se icolon (L) is utiliHed as a separator *et#een the node na e and the field na e% If the user desires the ta' to *e tri''ered *y a chan'e in ta' XXXX0 and also #ishes to include a node na e of MMMM and a field na e of F>C50 the synta( is+ 3.3/T;XXXX-/: 3;====>FI3< ;F9&. 3.3/T;XXXX-/: 3;====-FI3< ;F9&. /: 3;====>3.3/T;XXXX-FI3< ;F9&. FI3< ;F9&.>/: 3;====-3.3/T;XXXX ;ither a se icolon (NL?) or a co a (N0?) can *e used as the deli iter to indicate the end of $9D; na e and FI;BD na e% Co#e&er0 a co a (N0?) "ust *e used to indicate the end of ;5;$T ta'% For an i portant essa'e re'ardin' the perfor ance of the interface for e&ent4tri''ered ta's see Performance and $DA sage *elo# under In%ut Tag #onfiguration % or or or
10!15!200# 03 10 00 .,
13
1#
10!15!200# 03 10 00 .,
15
16
/*)=(
/f=++:,,:))
4ome node on /I35 /+o)t=(:5-50 4ome node on /I25 /+o)t=(:5-5 %efau$t&5 &ee i",t
/.
/L/
10!15!200# 03 10 00 .,
17
18
Startup Command File Parameters and Syntax /e, defau$t5 none T,i& &pecifie& co$$ectin" e#ent& f om t,e a$a m/e#ent 'ueue fo ta"& in &can c$a&& 1- >I? S26 p$ace& t,e a$a m& and/o e#ent me&&a"e& on t,e 'ueue0 if t,e a$a m condition& (&ee Inte$$ution >I? 2$a m and =e&&a"in" =anua$) a e met- T,e e&o$ution of t,e e#ent me&&a"in" i& t,e &ame a& t,e S629 time in >I?T,i& &pecifie& +,ic, 'ueue &,ou$d *e u&ed fo a$a m&/e#ent me&&a"e&- If /em i& &et0 defau$t of 1 i& u&ed- T,e num*e mu&t *e eit,e 1 o 20 and t,e co e&pondin" u&e 'ueue (ta&:& 8u&e '1-e3e o 8u&e '2-e3e) mu&t *e &ta ted in >I?8,en $aunc,in" 8u&e '1-e3e and/o 8u&e '2-e3e in i>I?0 one mu&t &pecif1 (#ia command $ine pa amete &) +,ic, a$a m a ea o a ea& t,e 'ueue i& to monito fo e#ent&- /$ea&e &ee Inte$$ution >i3 manua$- 9ote t,at if t,e a$a m a ea& a e named ot,e t,an 2-/0 t,e&e 'ueuemonito in" e3ecuta*$e&0 and t,e efo e pi-eda a$&o0 +i$$ not +o :- T,i& +i$$ *e fi3ed in futu e e$ea&e-
/.&=& defau$t51
10!15!200# 03 10 00 .,
19
T,i& pa amete mu&t *e &pecified if /e, &+itc, i& &et- Bot, inte"e & mu&t *e " eate t,an <e o and $e&& t,an t,e tota$ =e&&a"e .en"t,T,i& confi"u ation ma1 need to *e modified if not a$$ a$a m/e#ent me&&a"e fo mat& a e t,e &ame a& t,e defau$t &ettin"- T,e *e&t +a1 to confi m 1ou /c &+itc, i& &et co ect$1 i& to un 2$a m 4i&to 1 in >I? and ma:e &u e t,e a$a m& a e comin" in in t,e fo mat 1ou e3pect/*c defau$t B fa$&e >i3 point c,ec:- T,e inte face +i$$ c,ec: to &ee if t,i& point can *e ead f om >I? at t,e inte face &ta tup if t,i& &+itc, i& &et- To &et it to t ue0 &imp$1 add /*c in *i-eda#.bat fi$e- T,i& &+itc, i& u&efu$ +,en t ou*$e-&,ootin" +,1 a point i& not co$$ectin" data &ince t,e &ta tup- It +i$$ &,o+ if t,e point +a& not added and +,1- T,e di&ad#anta"e& of u&in" t,i& &+itc, a e5 1- T,e point-$oadin" p oce&& +i$$ ta:e muc, $on"e - 2- If t,e point i& off-&can at t,e inte face &ta tup0 and come& on-$ine $ate t,e inte face +i$$ not attempt to e$oad t,e point if t,e &+itc, i& not &et- If0 on t,e ot,e ,and0 t,e &+itc, i& not &et0 t,e te&t +i$$ *e pe fo med on t,i& ta" un$e&& it i& t,e fi &t ta" to *e added to a >I? node0 and t,e point +i$$ ,a#e *een added- On$1 u&e t,i& fo de*u""in"-
20
Startup Command File Parameters and Syntax /L=fff defau$t5 &ee i",t T,i& pa amete &pecifie& t,e $o""in" confi"u ation fi$e- T,e inte face p o#ide& $o""in" faci$itie& *e1ond t,e &tanda d /I $o""in"- See t,e &ection on =e&&a"e .o""in" $ate in t,i& manua$ fo a fu$$ e3p$anation- It is ery important t!at t!e "ull pat! "or t!e logging con"iguration "ile is speci"ied# >o e3amp$e c:0*i0i&te'face)0*i-eda0edalogcfg.t(t in&tead of0 &a10 edalogcfg.t(t- T,e inte face +i$$ not &ta t if t,e fu$$ pat, i& not "i#en-
10!15!200# 03 10 00 .,
21
2% 3% E%
3%
Installation Procedure
.% Create the follo#in' directory+ c:0PI0i&te'face)0*i-EDA0 if running on a PI3 home node or c:0*i*c0i&te'face)0*i-EDA0 if running on a PI API node 2% Insert the installation dis,0 and e(ecute the follo#in' co ands fro an MsDos pro pt+
22
co*8 b:0PI-EDA.e(e c:0*i*c0i&te'face)0EDA0PI-EDA#.e(e co*8 b:0PI-EDA.bat c:0*i*c0i&te'face)0EDA0PI-EDA#.bat # should *e replaced *y a nu *er *et#een 2 and =@0 inclusi&e% # should correspond to the interface nu *er that is specified usin' the /id fla' in the PI-EDA#.bat file% 3% Modify the co and4line ar'u ents in your PI-EDA#.bat file to custo iHe your interface% For e(a ple0 ..0i&te'face)0EDA0PI-EDA1.e(e /id=1 /. /*)=$ /f=00:01:00 The command line must be on a single line and cannot e'ceed !56) characters (. ,ilo*yte)% This is a li itation set *y the interface0 not *y the $T 9peratin' syste % The co and4line ar'u ents are discussed earlier in this anual% 7unnin' the interface either anually or as a ser&ice is discussed *elo#% Manual startup is reco ended the first ti e the interface is started *ecause anual startup is easier to trou*leshoot%
o run as a ser!ice
The procedure for installin' the FIX DMACS interface as a ser&ice depends upon #hether or not Dufser& is *ein' used% 9nce the interface has *een installed as a ser&ice0 the procedure for startin'0 stoppin' and re o&in' the interface as a ser&ice is the sa e #hether or not Dufser& is used% The purpose of the Dufser& utility is to continue to collect data fro an interface in the e&ent that the !I Data Archi&e is shut do#n for so e reason% For e(a ple0 if the FIX DMACS interface is installed on the !I ho e node and the !I Data Archi&e is shut do#n for an up'rade0 the Dufser& utility on the !I ho e node #ill *uffer the data in a file until the !I Data Archi&e is *rou'ht *ac, online% Another possi*ility is that the FIX DMACS interface is installed on an A!I node% If there are pro*le s #ith the !I ho e node0 then the Dufser& utility on the A!I node #ill *uffer the data in a file until the !I ho e node is *rou'ht *ac, online% The procedure for installin' the interface in conKunction #ith the Dufser& 1tility assu es that the user has Dufser& .%2E or hi'her *ecause the procedure i plicitly assu es that Dufser& #ill *e installed as a ser&ice% The actual installation of the Dufser& 1tility itself is not discussed% For these instructions0 refer to the PI-API &ufserv '(" )elease Notes % Also0 the installation procedure *elo# does not discuss the details related to shutdo#n e&ents that the user should *e a#are of #hen the Dufser& 1tility is used% For ore infor ation0 refer to the PI-API &ufserv '(" )elease Notes % To run as a ser&ice0 co plete the follo#in' steps+ .% 9ne can 'et help for installin' the interface a ser&ice at any ti e *y typin' the follo#in'+ PI-EDA# -+el* $ote that the 7.2e'8 fla' that is descri*ed #hen help is in&o,ed is not i ple ented at this ti e% The $DA* ser&ice can *e installed either as a anual or an auto atic ser&ice% Auto atic ser&ices are started auto atically #hen the $T operatin' syste is re*ooted% This feature is useful in the e&ent of a po#er failure% To install the interface as a EDA#0 directory% anual ser&ice0 e(ecute the follo#in' co and fro the
10!15!200# 03 10 00 .,
23
2#
If not0 append < 3ait 5000 to the end of the line% In the sa e file0 add the follo#in' co and Kust a*o&e :t+ee&d + ":0PI0i&te'face)0EDA0PI-EDA# -)ta't < 3ait 5000 Add the follo#in' co and to the c:0PI0ad,0*i)'%)ite)to*.bat file Kust a*o&e :t+ee&d + ":0PI0i&te'face)0EDA0PI-EDA# -)to* $ote that the full path na e to the ;DAO e(ecuta*le ust *e 'i&en in *oth the c:0PI0ad,0*i)'%)ite)ta't.bat and the c:0PI0ad,0*i)'%)ite)to*.bat co and files%
10!15!200# 03 10 00 .,
25
26
Interacti!e Startu"
If *oth !I and the FIX DMACS interface are started interacti&ely0 one can start *oth of the #ith+ *i)ta't.bat Alternati&ely0 one can start the interface independently of the !I Data Archi&e *y typin' the follo#in' co and fro the i&te'face)0 directory+ )ta't 9PI-EDA#9 PI-EDA#0PI-EDA#.bat 9r one can issue the follo#in' co PI-EDA#0PI-EDA#.bat "hen )ta't @PI-EDA#AB co and fro the i&te'face)0 directory+
10!15!200# 03 10 00 .,
27
28
IO/ates
The total rate (e&ents per inute) that the FIX DMACS interface sends data to the snapshot can *e easured% The interface calculates a .24 inute a&era'e (i%e% it counts the total nu *er of snapshot e&ents o&er a .24 inute period and then di&ides *y .2 inutes)% I97ates for indi&idual ta's cannot *e easured at this ti e% For instructions re'ardin' i ple entation of I97ates0 see the description of the /ec fla' of the startup co and file under the section entitled 8Startup Co and File%8
10!15!200# 03 10 00 .,
29
FIX32 &ersion /%2 and iFIX 2%. ha&e *een tested at 9SI for failo&er support and pi4eda co pati*ility #ith FIX redundancy% The redundancy syste tested consisted of pure FIX32 or pure iFIX co *inations0 i%e%0 2 FIX32 SCADA nodes and . FIX32 5I;" node0 or 2 iFIX SCADA nodes and . iFIX 5I;" node% The a&era'e ti e it (5I;" node) too, to fail o&er fro one SCADA node to the other #as a*out 22432 seconds% This is reflected in the data 'ap in !I archi&e%
30
10!15!200# 03 10 00 .,
31
In #onfigure+S#ADA screen0 fill in the data*ase na e% This data*ase ust reside *oth on the pri ary SCADA node and the *ac,up SCADA node #ith the identical ta' definitions% Define !artner SCADA in 7edundancy *o(%
32
;nter the 5ie# node na e and the SCADA partner node na e in 7e ote $odes *o(% Then hi'hli'ht the SCADA partner node (i%e%0 this node?s *ac,up node) and clic, on #onfigureThen enter its *ac,up node?s na e in redundancy *o( (since this is *ac,up nodes?s *ac,up0 it #ould *e pri ary node?s na e)%
10!15!200# 03 10 00 .,
33
3#
Then clic, on #onfigure *utton and chec, ;na*le Bo'ical $a es *o(% ;nter the local node na e of the pri ary node in the !ri ary $ode field% ;nter the local node na e of the *ac,up node in the Dac,up $ode field%
10!15!200# 03 10 00 .,
35
Then 'o to S# +#onfigure+Networ, screen and enter the lo'ical na e for this SCADA and its *ac,up SCADA nodes in the 7e ote $ode $a e *o(% Clic, Add%
Then clic, on #onfigure *utton and chec, $na/le .ogical Names *o(% ;nter the local node na e of the pri ary node in the !ri ary $ode field% ;nter the local node na e of the *ac,up node in the Dac,up $ode field%
36
:o *ac, to S# +#onfigure+Networ, screen and add the 5ie# node na e in )emote Node Name *o(%
10!15!200# 03 10 00 .,
37
38
10!15!200# 03 10 00 .,
39
'""endix B roubleshootin&
If the interface is *eha&in' in an une(pected anner0 chec, the *i*c.log file and the user4 specified lo' file (see 8Appendi( C8)% ;&en #hen the interface runs in interacti&e ode0 not all error essa'es are #ritten to the screen% In 'eneral0 the user4specified lo'file #ill contain 'reater detail then the *i*c.log file%
5. 1h! ,oes it ta8e several "inutes to see new values after I a,, a new ta7 while the interface is runnin7A A% The interface chec,s for chan'es in the !I point data*ase e&ery t#o &alues #on?t *e sent to !I until the first scan after the ta' #as added% inutes% Any ne#
5. 1hen I sto* an, restart FIX !na"ics while +I63 ' is still runnin7 I 7et the followin7 "essa7e. 1h!A
A% FIX ay ha&e *een confi'ured to run only interacti&ely% Ma,e sure that FIX is installed as a ser&ice (this re)uires chec,in' the FContinue runnin' after Bo'off F option in SC1SBocalStartup in FIX as #ell as the hard#are ,ey fro Intellution in the *ac, of the co puter)% "hether FIX started as a ser&ice or not can *e &erified *y chec,in' if FIX ser&ice
#0
in Control!anelSSer&ices sho#s FstartedG% 9r0 FIX #asn?t co pletely dead fro pre&ious operation% Chec, Tas, Mana'er for possi*le re nant co ponents of FIX since the last ti e it #as shutdo#n% 5. 1h! ,o I constantl! 7et a ti"e,6out status for ta7s on a re"ote no,eA A% Most li,ely0 the re ote FIX node is not runnin'% If the node is runnin'0 chec, the ta' confi'uration to a,e sure that the proper node0 ta'0 and field ha&e *een specified% 5. ' re"ote %&' ' no,e see"s invisi)le to the local %&' ' no,e althou7h networ8 connection is 7oo, an, the re"ote %&' ' no,e is u* an, runnin7. 1h!A A% If that re ote SCADA node na e is not the sa e as its SCADA na e and I! address need to *e added to 03i&&t0)8)te,5?0d'i%e')0etc0+o)t) file% achine na e on the net#or,0 the
5. 1hat ,o the followin7 error "essa7es (C E#$ Li)t lo)t--3ill atte,*t to 'e-e)tabli)+0G FE''o' e)tabli)+i&g tag D*b001:010-T E1?F0GH0A etc) in *i*c.log "eanA
2E4$o&4=@ 22+..+3@ !I4;DA .Q Bocal FIX soft#are #ent do#n at 2E4$o&4=@ 22+..+3@% "aitin' for FIX to restart%%% 234$o&4=@ 2@+33+33 !I4;DA .Q Bocal host T!D22. restored at 234$o&4=@ 2@+33+33 234$o&4=@ 2@+33+33 !I4;DA .Q "aitin' 32 seconds for FIX to start co pletely *efore loadin' pts%%% 234$o&4=@ 2@+3E+3/ !I4;DA .Q Co pleted re4processin' ta's 234$o&4=@ 2@+3E+E2 !I4;DA .Q !I 'et e(ception syste 234$o&4=@ 2@+3E+E2 !I4;DA .Q ;5M Bist lost44#ill atte pt to re4esta*lish 234$o&4=@ 2@+3E+E2 !I4;DA .Q ;rror esta*lishin' ta' Kp*22.+2.24T (.2/2=) 234$o&4=@ 2@+3E+E2 !I4;DA .Q ;rror esta*lishin' ta' Kp*22.+2.24T (.2/.2) U error 4/3
10!15!200# 03 10 00 .,
#1
U 234$o&4=@ 2@+3E+E2 !I4;DA .Q Scan !erfor ance su 234$o&4=@ 2@+3E+E2 !I4;DA .Q Class .0(. sec)+ Scans on ti e+ .%3V0 Scans s,ipped+ =@%/V 234$o&4=@ 2@+3E+E. !I4;DA .Q ;5M 'et e(ception no lon'er in error ary
A% Ta's that correspond to these errors are e&ent ta's% All e&ent ta's 'et si'ned up for e(ception reports% This si'nin' up is called Festa*lishin'%G These ta's 'et disesta*lished if their e(ception &alues0 or Fe&ents0G are not re)uested fro the snapshot su*syste for 32 inutes% Since the !I4;DA interface does not re)uest the e&ents #hile the local FIX node is do#n0 if it is do#n for lon'er than 32 inutes0 error essa'es PI get e(ce*tio& )8)te, e''o' 7F5 and E#$ Li)t lo)t--3ill atte,*t to 'e-e)tabli)+ #ill *e printed in *i*c.log file% The essa'e E''o' e)tabli)+i&g tag ... is a 1niInt (9SI interface standard upon #hich !I4;DA is *uilt) &ersion 2%2= *u' and can *e i'nored% This Kust indicates the ta' is *ein' si'ned up for e(ception reports a'ain% The e&ent ta's should start 'ettin' &alues after the E#$ get e(ce*tio& &o lo&ge' i& e''o' essa'e% 5. 1h! ,o so"e ta7s 7et 3 ' e''o' I1F0F: at startu*A
2E4$o&4=@ .3+E/+E3 !I4;DA .Q Startin' interface0 !oint source+ . 2E4$o&4=@ .3+E/+E3 !I4;DA .Q 1niint &ersionQW(O)uniint%c(( 2E4$o&4=@ .3+E/+E3 !I4;DA .Q A!I &ersionQ .%2%3%E 2E4$o&4=@ .3+E/+E3 !I4;DA .Q successfully connect to piser&er localhost+3E32 2E4$o&4=@ .3+E/+E3 !I4;DA .Q I97AT;+ ta' Kp*.rate confi'ured% 2%2= 224Apr4=@
#2
2E4$o&4=@ .3+E/+E3 !I4;DA .Q 5ersion .%@%3X of !I4;DA Interface started 2E4$o&4=@ .3+E/+E3 !I4;DA .Q Interface runnin' on local FIX node T!D22. 2E4$o&4=@ .3+E/+E3 !I4;DA .Q "aitin' .2 seconds for FIX to start co pletely *efore loadin' pts%%% 2E4$o&4=@ .3+E/+33 !I4;DA .Q . Scan classes ha&e *een defined 2E4$o&4=@ .3+E/+33 !I4;DA .Q Scan class .0 update period A . seconds0 phase offset A 2 2E4$o&4=@ .3+33+3. !I4;DA .Q ;DA error P./2/Q occurred durin' function eda>set>float() on FIX $TF PT!D22.02.24TIM;4D9220F>C5Q 2E4$o&4=@ .3+33+3. !I4;DA .Q 5alue out of ran'e 2E4$o&4=@ .3+3@+23 !I4;DA .Q ;DA error P./2/Q occurred durin' function eda>set>float() on FIX $TF PT!D22.02=.4TIM;4T!D22.4DAM0F>C5Q 2E4$o&4=@ .3+3@+23 !I4;DA .Q 5alue out of ran'e U U 2E4$o&4=@ .3+3@+3@ !I4;DA .Q 232E points found for point source . 2E4$o&4=@ .3+3@+3@ !I4;DA .Q 2 uni)ue e&ent classes ha&e *een esta*lished 2E4$o&4=@ .3+3@+3@ !I4;DA .Q @ output points ha&e *een esta*lished
A% "hen this ;DA e''o' I1F0F: appears in *i*c.log0 chec, the current &alue and the Hero and span of the ta'% These errors occur #hen the current &alue of the ta' is outside the ran'e specified *y the Hero and span attri*utes of the ta'% 9ne co on instance of this error occurrin' is #hen an output ta' has itself as a sourceta'0 #hich #as not initialiHed correctly% The interface initialiHes the current &alue of this ta' as 2% If the &alue Hero falls outside of the Hero to HeroXspan ran'e0 the ta' #ill 'et ;DA e''o' I1F0F:% The point con&ersion utility fi(topi included #ith this interface auto atically sets
10!15!200# 03 10 00 .,
#3
5. C3vent ta7 XXXXXX- *oint DDDDD- re"ove,E is foun, in *i*c.log file althou7h this ta7 was not ,elete, in +I. 1h!A A% This ta' #as pro*a*ly the e&ent ta' for so e e&ent4tri''ered ta' that #as deleted or edited% 5. 'll ta7s su,,enl! are 7ettin7 1AD-INPCT values an, are not chan7in7. A% Chec, *i*c.log file% Most li,ely the local FIX node #ent do#n% 50 Ta7s that *reviousl! receive, ,ata well- no lon7er 7et an! ,ata after FIX *oint ,ata)ase has )een "o,ifie,. A+ 1pdates in FIX point data*ase are not auto atically transferred to !I point data*ase% Fi(To!i utility transfers FIX point infor ation to !i only #hen it is run% If there are si'nificant chan'es to the FIX point confi'uration0 !I point data*ase should *e chec,ed and/or odified to a,e sure that the FIX and !I point attri*utes are co pati*le% 50 1hen the interface starts- it *rints "essa7e @No )e'%ice lib'a'ie) a'e loaded@ althou7h all 3 ' ,llFs are in FIX ,irector!. A+ Chec, !ATC &aria*le in Control!anel/Syste /;n&iron ent% Ma,e sure there is a path to FIX directory% FIX can run #ithout this0 *ut ;DA client needs to ,no# #here to find the dll?s% 50 The interface starts u* an, then re*orts that local no,e ,oes not a**ear to )e runnin7 when it is runnin7 an, one can see ,ata chan7in7 in ata)ase ?uil,er. A+ Chec, to see if *oth FIX DMACS and FIX Dyna ics are (or ha&e *een) installed on the A!I node% If this is the case0 it is li,ely that ;DA #ill reco'niHe only one of the % Try runnin' the other FIX soft#are (other than the one a'ainst #hich pi4eda is runnin' and
##
'ettin' this essa'e)% If that succeeds0 contact Intellution and 'et instructions as to ho# to install *oth safely or re o&e one of the co pletely the correct #ay%
I1F0F: !I ta' &alue is out of ran'e of its correspondin' FIX ta'% This occurs if an atte pt is ade to #rite a &alue to the FIX ta'0 and the &alue is out of ran'e defined in FIX% I1?1?: Field &alue is not a&aila*le% 1sually0 this eans FIX ta' is off4scan% Ma,e sure FIX data*ase is loaded and the ta' is confi'ured to scan% @Test fiel, for ta7 T is H. Interface a)ortin7@ !I4;DA #as chec,in' to see if data for the ta' T is no# a&aila*le at FIX startup0 and found that data type specified in NFIX field? for this ta' is not set to either A (for analo') or F (for float)% Interface a*orts if this happens% C3 ' Faile, to a,, ta7 JK+?'<M-0(L6%:MM6'<03-'9&.M to the 7rou*. xxxxxxxxxxxE !oint loadin' failed due to reasons xxxxxxxxxxx. For e(a ple0 Ta' na e is not defined% Chec, FIX data*ase if the point is confi'ured correctly and is on4scan% This point #ill not *e added to the scan list unless it is edited in !I or the interface is restarted0 and e&en then0 only #hen the FIX ta' is confi'ured correctly and is a&aila*le on4scan% If /pc s#itch is not set0 only the first ta' on the node #ill *e chec,ed and recei&e this essa'e if there is an error%
10!15!200# 03 10 00 .,
#5
This !I ta'?s correspondin' FIX ta' is of type N ultiple4state di'ital?0 and has to *e confi'ured as type di'ital in !I% This essa'e is follo#ed *y+ @Ta7 GXI cannot )e use, for 3 ' JT- /- FM as it is not a ,i7ital ta7@ T is the ta' na e0 / is the FIX node na e0 and F is the FIX field type%
#6
@3 ' (')l*hanu"eric fiel, is ,efine,- )ut the +I fiel, is not Nstrin7N@ The correspondin' FIX ta' is of type alphanu eric0 and has to *e confi'ured as type strin' in !I% This essa'e is follo#ed *y+ Ta7 GXI cannot )e use, for 3 ' JT- /- FM as it is not a strin7 ta7@ T is the ta' na e0 / is the FIX node na e0 and F is the FIX field type% @Fiel, t!*e GHI not su**orte,@ FIX type specified as Field &alue H in this !I ta'?s Instru entTa' or ;(Desc is not one of the follo#in'+ F for float0 ' for alphanu eric (strin')0 for di'ital0 M for ultistate di'italL #hich are le'al types in FIX% @/o ta7 confi7uration s*ecifie, for GTI@ Instru entTa' does not contain the correspondin' FIX ta' infor ation (at least the correspondin' FIX ta' na eL node na e and Field &alue ay *e specified in e(tended descriptor) re)uired to correctly associate this !I ta' #ith a FIX ta'% @<ocal host FIX software ,oes not a**ear to )e runnin7. 1aitin7...@ Bocal FIX node is not runnin' at the ti e of interface startup% It #aits in a loop until FIX starts% @&oul, not retrieve local host na"e. Interface a)orte,@ The ;DA function Neda>'et> yna e(BocalCost$a e)? returned an error% For so e reason local host na e #as not o*tained% Since !I4;DA needs FIX SCADA to *e runnin' on the sa e achine0 it #ill a*ort% @Interface runnin7 on local FIX no,e ////@ The interface detected the local FIX node na e to *e ////% @3 ' Faile, to a,, ta7- T- to the 7rou*. <ocation2 out of ran7e.@ Ta' T?s location2 &alue is not either 2 or .% @&oul, not create 3 ' 7rou* for scanclass DO@ An atte pt to 'roup ta's #ith the sa e scan fre)uency D (specified in co ade and failed #hen the ;DA function Neda>define>'roup? #as called% @&oul, not create 3 ' 7rou* for event6ta7 T tri77ere, ta7sO@ An atte pt to create a FIX scan 'roup0 the scannin' of #hich #ill *e tri''ered *y an e&ent in !I ta' T0 #as ade and failed% @&reate, 7rou* for scanclass D@ A FIX scan 'roup #as created for ta's that *elon' to the sa e scan fre)uency class% and line) #as
10!15!200# 03 10 00 .,
#7
@&reate, 7rou* for event6ta7 T tri77ere, ta7s@ A FIX scan 'roup #as created for ta's that ha&e the sa e e&ent ta' (see of e&ent ta')% @3,ite, ta7 T coul, not )e a,,e,@ Ta' T #as edited in !I and its para eters% 7elated FIX infor ation such as ta' na e0 node na e and field type0 could not *e set correctly% Chec, Instru entTa' and e(tended descriptor attri*utes for this ta' and/or its correspondin' FIX ta'?s confi'uration% @&o"*lete /: 30T'P0FI3< infor"ation unavaila)le for +I ta70 T@ !I ta' attri*utes Instru entTa' and ;(Desc did not contain all of &alid FIX ta' na e0 FIX node na e0 and FIX *loc, type% Settin' those para eters failed and this point #ill not *e scanned% This essa'e is follo#ed *y+ 8!I Instru entTa' A XXXX8 8!I ;(Desc A 8MMMM8 #hich sho# the current contents of Instru entTa' and ;(Desc% @Fatal 3rror on tree "ani*ulation@ FIX node as specified either in Instru entTa' or ;(Desc is not found% Interface #ill a*ort% Chec, if $9D; #as specified correctly and if this FIX node really e(ists% @3 ' Faile, to a,, ta7 J/- T- FM to the 7rou*@ "hile settin' the necessary para eters so that FIX data*ase and !I can e(chan'e infor ation on this ta' T0 on node $0 of data type F0 an error occurred% The type of error is indicated in the essa'es prior to this one% If the error is not due to net#or, pro*le s0 the point #ill not *e added to the scan 'roup and #ill not *e scanned *y the interface% @4e"ove, ta70 J/- T- FM@ Ta' T *elon'in' to node $0 and of type F0 has *een re o&ed fro scan% @2nreco7niQe, state GxxxxI in (Multistate) i7ital ta7 J/- T- FM@ !I4;DA list of ta's to anual for definition
Ta' T on $ode $ contains a &alue not defined in the !I di'ital set for this ta'% /Anode na e0 TAta' na e0 FAdata type @*isn9*utsna*shotx() returne, result D after rea,in7 xxxx fro" 3 ' nft J/-T-FM@ An atte pt to put the strin' &alue in FIX to !I snapshot failed durin' scan routine% D A !I4 A!I error code% xxxx A the current strin' &alue for ta' T% / A node na e% T A ta' na e0 F A data type% !I4A!I function pisn>putsnapshot(() adds an array of ne# e&ents to the !I syste snapshot% ;rror codes are+ -GG1 $ot i ple ented
#8
-50000 -50?00
This error indicates that read operation for the ta' failed0 due to reasons other than net#or, failure% @*isn97etsna*shotx() returne, result D after atte"*t to 7et strin7 value fro" ta7 T@ An atte pt to 'et the strin' &alue to #rite to FIX fro routine% ;rror codes are+ -GG1 -GGL -15010 $ot i ple ented Me ory allocation error 5alue truncated ta' T8 !I snapshot failed durin' output
See 8pisn>'etarc&alues(() returned result O after atte pt to 'et strin' &alue fro
@*isn97etarcvaluesx() returne, result D after atte"*t to 7et strin7 value fro" ta7 T@ An atte pt to 'et the strin' &alue to #rite to FIX fro routine% ;rror codes are+ 100 :0 -1 -GL? -GL5 -GG1 -GG? -GG5 -GGL -110-G -15010 (other than .22) Syste !oint not found In&alid function code In&alid archi&e $ot i ple ented In&alid *siHe In&alid count Me ory allocation error In&alid ti esta p 5alue truncated ode (co pressed data or e&enly4spaced data) !I archi&e failed durin' output ore &alues)
The !I4;DA interface 'ets e(ception reports fro !I for input ta's tri''ered *y e&ent ta's and for output ta's% "hen the interface is notified of an e&ent in the snapshot0 it also recei&es a ti esta p for that e&ent in the snapshot% Co#e&er0 the A!I function pisn>e& e(ceptions0 #hich is used to 'et the e(ceptions0 cannot handle !I3 e(tended data types% This interface handles strin's% Thus0 the strin' &alue is retrie&ed &ia e(tended A!I calls% First0 pisn>'etsnapshot(() is called to 'et the current snapshot &alue and ti esta p% The &alue in the snapshot ay or ay not *e the actual &alue #ritten0 i%e% if the (!I output) ta' #as #ritten #ith a ti esta p earlier than the ti esta p in the snapshot (this #ould happen if the source ta' had an e&ent (e(ception) and ti e lapsed since then and #hen pisn>'etsnapshot(() is called)0 then that &alue is not in the snapshot0 *ut in the archi&e% So0 the &alue has to *e retrie&ed fro the archi&e for this ti esta p% @2n8nown ,ata t!*e for ta7 J/- T- FM@ The data type for this ta'0 specified *y F0 is not a ,no#n FIX data type%
10!15!200# 03 10 00 .,
#9
50
A forced #rites option that0 #hen ena*led0 co its all data to the dri&e after each #rite (slo#s the process si'nificantly)% That is0 this option forces the lo' file to *e closed after each #rite% A screen lo''in' option that #ill echo the lo' entries to the consoleL A*ility to append or o&er#rite e(istin' lo'L Circular lo' file for at #ith selecta*le siHe (only if 6$0 see *elo#0 is true)L and A co on lo' file &ie#er for "indo#s=3 and "indo#s $T%
The circular lo' file al'orith allo#s (#hen the lo' file is opened #ith 6$true option) the user to put a a(i u li it to the lo' file siHe% "hen the a(i u li it for lo' file siHe is reached the oldest essa'es #ill *e o&er#ritten in the lo' file as ne# essa'es co e in%
*o&&in& Confi&uration
These options can set or selected usin' a lo''in' confi'uration file% The confi'uration file is a te(t file #ith a 8loose8 for at0 that is0 only lines *e'innin' #ith a inus si'n (4) are treated as para eters0 and all para eters are case4insensiti&e% Any para eters not included in the file #ill *e set to the default &alues% The follo#in' para eters are supported+ 4F 4D 4B 4M 4$ A forced #rites0 either T71; or FABS;0 defaultAFABS; A detail le&el0 2 to = (see ta*le later in this appendi() defaultAB9:>M;DI1M A lo'file na e0 re)uired A a( lo'file siHe0 in *ytes0 defaultA322222% This is also the ini u lo' file siHe% If the specified file siHe is s aller than 322222 *ytes0 it #ill *e i'nored% A start ne# file0 either T71; or FABS;0 defaultAT71;% "hen this is set to FABS; essa'es #ill *e appended to the lo' file lea&in' the older essa'es intact% If this is set to False0 4M s#itch #ill ha&e no effect% A ena*le screen lo''in'0 either T71; or FABS;0 defaultAFABS;% This option has no effect if the interface is run in ser&ice ode%
4S
There are no li its on the siHe or filena e of the confi'uration file% A sa ple confi'uration file is sho#n *elo#% $ote that for 6B option0 the full path ust *e 'i&en% MM /et log le%el to LN6!$EDIC$ -D? MM /et log file&a,e
10!15!200# 03 10 00 .,
51
52
10!15!200# 03 10 00 .,
53
The utility creates a uni)ue di'ital set for each uni)ue di'ital set in FIX #hen *uildin' the file to create the !I ta's% The di'ital set na es assi'ned to the di'ital sets all start #ith the prefi( d FIXds% The suffi( XXXX is app e n d e d #her e XXXX is a &alue fro 222 2 to ====% The first di'ital set #ill *e na e d d FIXds22 2 2 0 the seco n d di'it al set #ill *e na e d d FIXds2 2 2 . 0 etc% The user should edit the di'it al stat e set na e s in the file #her e appro p ri a t e % All di'ital output ta's are assi'ned a source ta' #ith the sa e na e as the ta' ta e% This should *e edited and the appropriate source ta' na e used%
5#
User Instructions
The for at of the co and line for usin' the utility is+
FIXTo!I /pAPpointsourceQ Y/nAPnodeQ Y/nAPnodeQUZZ Y/tAPtypeQ Y/tAPtypeQ UZZ Y/IAPinclude patternQ Y/IAPinclude patternQ UZZ Y/eAPe(clude patternQ Y/eAPe(clude patternQ UZZ The para eters are+ /p The !I point source that you #ould li,e these points to ha&e% This is a re)uired para eter0 and if not included0 the pro'ra done /n (optional) a na e of a node% This para eter type is specified0 the pro'ra on #hich the pro'ra /t is runnin' ay *e repeated for each ay *e repeated for each node that the user #ishes to include in the list of nodes% If no para eter of this achine defaults to all nodes accessi*le *y the #ill e(it #ith nothin'
*loc, type that the user #ishes to include in the list of *loc, types% These can *e any of 8AI808A9808A7808DI808D9808D7808MDI0 8AA80 8DA8% If no para eter of this type is specified0 the default is to include all the a*o&e in the list of types /e (optional) a pattern to atch to the FIX *loc, na e to e(clude fro ay *e repeated for each pattern the confi'uration transfer% The para eter utility atte pts to
the user #ishes to e(clude% If any of these type of para eters appears0 the atch each *loc, na e as encountered0 and if the pattern atches A$M of the atch succeeds0 the confi'uration infor ation is $9T transferred% If ultiple patterns are included0 if the *loc, na e /I confi'uration (optional) a pattern to infor ation% This para eter patterns0 the confi'uration infor ation is $9T transferred atch to the FIX *loc, na e to transfer ay *e repeated for each pattern that the user
#ishes to include% If no para eter of this type is specified0 the default is to include all the ta's #ith the e(ception of the a*o&e e(clude list% If one or ore of these para eters are included0 the confi'uration atches any of the Infor ation is transferred for any *loc, #hose na e !atterns in the list%
10!15!200# 03 10 00 .,
55
56
Ptable *id) P,ode c'eate, t Pi)t'2ct2'e )et,)tate,... d, IXd)0000,NPEN,"LN/E d, IXd)0001,NPENCP,"LN/ECP d, IXd)000?,)tate0,)tate1,)tate?,)tate5,)tate-,)tate5,)tate4,)tateF Pe&d)ectio& Ptable *i*oi&t P*tcla)) cla))ic P,ode c'eate, t Pi)t'2ct2'e tag,*oi&t)o2'ce,de)c'i*to',*oi&tt8*e,digital)et,*tacce)),dataacce)),a'c+ i%i&g,)ca&,i&)t'2,e&ttag,locatio&1,locatio&?,locatio&DA#ID:DI1,E,Digital I&*2t 1,Digital,d, IXd)0000,o:'3 g:'3 3:'3,o:'3 g:'3 3:'3,1,1,9DA#ID,DI1,D!"#9,1,0,1 DA#ID:DN1,E,Digital N2t*2t 1,Digital,d, IXd)0001,o:'3 g:'3 3:'3,o:'3 g:'3 3:'3,1,1,9DA#ID,DN1,D!"#9,1,1,1 DA#ID:D>1,E,Digital >egi)te' 1,Digital,d, IXd)0000,o:'3 g:'3 3:'3,o:'3 g:'3 3:'3,1,1,9DA#ID,D>1,D!"#9,1,0,1 DA#ID:$DI1,E,,Digital,d, IXd)000?,o:'3 g:'3 3:'3,o:'3 g:'3 3:'3,1,1,9DA#ID,$DI1,$!"#9,1,0,1 Pe&d)ectio& Pi)t'2ct2'e tag,)o2'cetag DA#ID:DN1,DA#ID:DN1 Pe&d)ectio& Ptable *i*oi&t P*tcla)) cla))ic P,ode c'eate, t Pi)t'2ct2'e tag,*oi&t)o2'ce,de)c'i*to',*oi&tt8*e,Ke'o,)*a&,t8*ical%al2e,e&g2&it),e(c de%,e(c,i&,e(c,a(,co,*de%,co,*,i&,co,*,a(,*tacce)),dataacce)),a'c+i%i&g, co,*'e))i&g,)ca&,i&)t'2,e&ttag,locatio&1,locatio&?,locatio&DA#ID:AI1,E,A&alog I&*2t 1, loat5?,0.000000,100.000000,50.000000,,1.000000, 0, 400, ?.000000, 0, ?LL00,o:'3 g:'3 3:'3,o:'3 g:'3 3:'3,1,1,1,9DA#ID,AI1, !"#9,1,0,1 DA#ID:AN1,E,A&alog N2t*2t 1, loat5?,0.000000,100.000000,50.000000,ao1,1.000000, 0, 400, ?.000000, 0, ?LL00,o:'3 g:'3 3:'3,o:'3 g:'3 3:'3,1,1,1,9DA#ID,AN1, !"#9,1,1,1 DA#ID:A>1,E,A&alog >egi)te' 1, loat5?,0.000000,100.000000,50.000000,,1.000000, 0, 400, ?.000000, 0, ?LL00,o:'3 g:'3 3:'3,o:'3 g:'3 3:'3,1,1,1,9DA#ID,A>1, !"#9,1,0,1 Pe&d)ectio& Pi)t'2ct2'e tag,)o2'cetag DA#ID:AN1,DA#ID:AN1 Pe&d)ectio&
10!15!200# 03 10 00 .,
57
9nce the editin' has *een done0 the last step is to utiliHe the te(t file 'enerated *y this utility to 'enerate ta's in the !I Data Archi&e itself% There are t#o ethods of doin' this% The first in&ol&es standard input redirection0 #hich eans that you run the piconfi' utility *ut instead of acceptin' input fro the ,ey*oard0 you redirect that input so that it co es fro the file% !iconfi' P FIXTo!I%scr The second #ay of utiliHin' this file is to use the WI$!1T co co and set% To do this0 start the piconfi' utility+ !iconfi' Then0 at the co and pro pt0 enter the co and WI$!1T follo#ed *y the file na e+ and of the piconfi'
(Bs 4 ) !Iconfi'QWI$!1T FIXTo!I%scr In *oth cases0 ensure that you prepend the correct path infor ation if this file is not in the current su*directory% /ote0 FixTo+I utilit! is not a ta7 auto6s!nchroniQation *ro7ra". :nce it is run an, chan7es are "a,e later in FIX *oint ,ata)ase- it is the userFs res*onsi)ilit! to chec8 that the chan7es are still co"*ati)le with +I *oint attri)utes an, if necessar! +I *oint ,ata)ase is a**ro*riatel! "o,ifie,.
58
/e!ision Histor$
Date 10/21/97 10/22/97 11/11/97 11/12/97 01/23/98 04/09/98 04/15/98 05/13/1998 06/16/98 07/17/98 08/08/98 08/08/98 %ut!or =4 =4 %= %= %= %= C>D %= 42O E. E. E. Comments >i &t d aft >i &t #e &ion e#ie+ed %ata t1pe e#i&ion& .oca$ fai$u e detection 2dded confi"u ation t an&fe uti$itie& Off$oaded 9T> component& to ;3%e&c fie$d in /I !e-added uti$it1 info f om #e &ion 1-3 manua$2dditiona$ info mation on &t in" ta"& >i3ed ta*$e of content&0 pa"e num& +e e a$$ $i&ted a& 0 9oted c,an"e& &ince #e &ion 1-46o ected de&c iption& in /. &+itc, and $o""in" ta" &ection&%e$eted .o""in" Ta" &ecion- =odified /. de&c iption to ef$ect t,e c,an"e in code +,ic, cau&e& t,e inte face to a*o t in&tead of ,an"in" (#1-8)6o ected t,e e o in manua$& up to #e &ion 1-8-2 e"a din" t,e de$imito afte e#entB3333 ent 1 in t,e /I e3tended de&c ipto - 9o+ *ot, F0@ and FG@ a e a$$o+ed to end 9O%; name and >I;.% name- 4o+e#e 0 a comma mu&t &ti$$ *e u&ed to end e#ent ta" name2dded a mo e detai$ed me&&a"e $i&t unde T ou*$e&,ootin" &ection- 2dded comment& on added featu e& (optiona$ $oca$ &e #e time &+itc,)2dded de&c iption& of en,ancement featu e&=odified e3p$anation fo eda e o 1212- Inc$uded de*u" &1m*o$ in&ta$$ation in&t uction&- 2dded de&c iption& of mo e de*u" &+itc,e& in command $ine2dded e3p$anation fo ne+ data t1pe &uppo t (>I? f$oat to /I di"ita$ mappin") 2dded >I? edundanc1 info mation6o ected .ocation1 an"e f om 1 to 99 to 0 to 982dded mo e comment& a*out u&e 'ueue in /'n &ection
09/10/98
E.
12/3/98
E.
03/29/99 04/15/99
E. E.
E. E. E. E.
10!15!200# 03 10 00 .,
59
60