8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 1/96
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 2/96
!
"#$$%!&'()"* +,,---./# #!0
"$/
FOREWORDS........................................................................................................................................................4
FOREWORDS TO THE SECOND EDITION ............. ............. ............. .............. ............. ............ .............. ........ 4
CHANGES.......... .............. ............. ............ .............. ............. .............. ............ .............. ............. ............ .............. .... 5 INTRODUCTION................ ............. ............ .............. .............. ............. ............ .............. ............. .............. ............ 6
1. REFERENCE MODEL................ .............. ............. ............. ............. .............. ............. ............ .............. ........ 7
2. BITXML V2 PROTOCOL DEFINITION: SYNTAX............ ............ .............. ............. ............ .............. .. 10
2.1 ERROR VALUE ......................................................................................................................................... 11 2.1.1 Description...................................................................................................................................... 11 2.1.2 Syntax .............................................................................................................................................. 11 2.1.3 Semantic.......................................................................................................................................... 13 2.1.4 Examples ......................................................................................................................................... 15
2.2 SYSTEM STATE VALUE ............................................................................................................................ 16 2.2.1 Description...................................................................................................................................... 16 2.2.2 Syntax .............................................................................................................................................. 16
2.2.3 Semantic.......................................................................................................................................... 20 2.2.4 Examples ......................................................................................................................................... 20 2.3 HISTORY VALUE ......................................................................................................................................21
2.3.1 Description...................................................................................................................................... 21 2.3.2 Syntax .............................................................................................................................................. 21 2.3.3 Semantic.......................................................................................................................................... 21 2.3.4 Examples ......................................................................................................................................... 21
2.4 INITIALIZATION VALUE............................................................................................................................ 23 2.4.1 Description...................................................................................................................................... 23 2.4.2 Syntax .............................................................................................................................................. 23 2.4.3 Semantic.......................................................................................................................................... 46 2.4.4 Examples ......................................................................................................................................... 46
2.5 GATEWAY REINITIALIZATIONCOMMAND................................................................................................ 51 2.5.1 Description...................................................................................................................................... 51 2.5.2
Syntax .............................................................................................................................................. 51
2.5.3 Return values............. ............. .............. ............. ............ .............. ............. ............ .............. ............. 52 2.5.4 Semantic.......................................................................................................................................... 52 2.5.5 Examples ......................................................................................................................................... 52
2.6 STATE RETRIEVAL COMMAND ................................................................................................................. 53 2.6.1 Description...................................................................................................................................... 53 2.6.2 Syntax .............................................................................................................................................. 53 2.6.3 Return value.................................................................................................................................... 55 2.6.4 Semantic.......................................................................................................................................... 55 2.6.5 Examples ......................................................................................................................................... 55
2.7 HISTORY RETRIEVAL COMMAND .............................................................................................................56 2.7.1 Description...................................................................................................................................... 56 2.7.2 Syntax .............................................................................................................................................. 56 2.7.3 Return value.................................................................................................................................... 56 2.7.4 Semantic.......................................................................................................................................... 56 2.7.5 Examples ......................................................................................................................................... 56
2.8 STATE SETUP COMMAND .........................................................................................................................57 2.8.1 Description...................................................................................................................................... 57 2.8.2 Syntax .............................................................................................................................................. 57 2.8.3 Return value.................................................................................................................................... 68 2.8.4 Semantic.......................................................................................................................................... 68 2.8.5 Examples ......................................................................................................................................... 69
2.9 EVENT VALUE .......................................................................................................................................... 70 2.9.1 Description...................................................................................................................................... 70 2.9.2 Syntax .............................................................................................................................................. 70
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 3/96
!
"#$$%!&'()"* +,,---./# #1!0
2.9.3 Return values............. ............. .............. ............. ............ .............. ............. ............ .............. ............. 72 2.9.4 Semantic.......................................................................................................................................... 72 2.9.5 Examples ......................................................................................................................................... 72
3. BITXML V2 PROTOCOL DEFINITION: DATA FLOWS....... .............. ............. .............. ............ ......... 73
3.1 COMPLETE GATEWAY APPLICATION INITIALIZATION ............................................................................... 74 3.2 INITIALIZATION ERROR DATA FLOW ......................................................................................................... 75 3.3 CONDITION MONITOR DATA FLOW ........................................................................................................... 76 3.4 HISTORY MONITOR DATA FLOW ...............................................................................................................77 3.5 COMMANDS SERVER DATA FLOW .............................................................................................................78 3.6 RECONFIGURATION CHECKER DATA FLOW ............................................................................................... 80
APPENDIX A – BITXML V2 SCRIPTING LANGUAGE............ ............ .............. ............. ............ .............. .. 81
GENERAL DESCRIPTION........................................................................................................................................ 81 SYNTAX ............................................................................................................................................................... 81
<if> Conditional statement......... ............ .............. .............. ............. ............ .............. ............. .............. .......... 81 <while> Iteration statement ...........................................................................................................................82 <delay> Operator.......... ............. ............ .............. .............. ............. ............ .............. ............. .............. .......... 82 <exit> Operator ............ ............. .............. ............ .............. ............. ............ .............. ............. .............. .......... 82 <set> Operator... .............. ............. ............ .............. ............. ............ .............. ............. .............. ............ ......... 83 <get> Operator ........... ............. ............. .............. ............. ............ .............. ............. .............. ............ ............. 83 <ret> Operator... .............. ............. ............ .............. ............. ............ .............. ............. .............. ............ ......... 83 <port> Operator.......... ............. ............. .............. ............. ............ .............. ............. .............. ............ ............. 84
EXAMPLES ...........................................................................................................................................................84
APPENDIX B – BITXML DNS PROTOCOL ............ ............. ............ .............. ............. .............. ............ ......... 86
DESCRIPTION ....................................................................................................................................................... 87 START-UP MESSAGE ............................................................................................................................................. 88 KEEP-ALIVE MESSAGE ......................................................................................................................................... 89
APPENDIX C - SAMPLE GATEWAY APPLICATION START-UP META CODE.............. ............ ......... 90
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 4/96
!
"#$$%!&'()"* +,,---./# #2!0
Forewords
3++!!+.$$!*4%4+5+*+$*+$+#(5-*++.#+.+$!!/$.5##!+!*6$.*5*#
*#+$+!+$#+7#$+.$.*$*/$.*! +5$#+!$!!",75-%5$!+ 5 * 85- .!+ * !#
8$$!!-%/$$**9+!*#+:;-!-*
++59"*;5<
Forewords to the second edition
$/$!!85-+-!
+$6+.$$$$$ * + ! ! + " + $ +$ ##5/# - ! 5 ! ! / +
$5 + ! !-.%-$ .+ ! + $-*5 .- ! - + $ $$!-++-!"
++59"*;5=
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 5/96
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 6/96
!
"#$$%!&'()"* +,,---./# #!0
Introduction
++.$#$
!+97(".$;%!5-++#$$@+-* $ $ ! /+#$ ! + ! # ! $$ 9 -+ # $ -+ -+#-.$%55-$#*5
!5.!+;+!$!
+.!#-* +.!1 + */$+! !$/+#$.-
-#
2 + */ $ ! ! $ $ $ + $$+#-*
> +*/$!5#$.*+#-*
!-#+#!!$+$$+*/-.$$(+##+ - . $!$ ## 9 !@ - .
$$;
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 7/96
!
"#$$%!&'()"* +,,---./# #!0
++!$$*#++-A#
BiTXml
ApplicationGateway
BiTXmlController
NetworkTransport
I/O Ports
Devices
1..N
1..1
BiTXml
Commands/Replies
BiTXmlEvents
Fig. 1 – Architectural reference model+!+!$
#-**%$!!-5%#+
##5-%#4#4/ *%$!!-%#+##5
-%#+9#;!#-*1 ?-%*%$!-%*2 ",7*%$!.#+!-++*
# $ $ )* $ # +#+# $ $# B"75 # $5 $ $!.9#;
> = * %$ ! # +* $ . + . ",7
3+$*.#!+5.#+$-+ $$- - * % + ! 5 +$!$$#-**.+-9A#;
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 8/96
!
"#$$%!&'()"* +,,---./# #C!0
Condition
replies
Condit ion c omma nds
NetworkTransport
Layer
BiTXml Protocol
CommandsInterpreter
ConditionsMonitor
BiTXml events
BiTXml commands
BiTXml replies
HistoryMonitor
Async processes
Sync processor
Device/PortDrivers
Port-level commands
History retrieval commands
BiTXml Gateway Application
BiTXmlDNS
client
BiTXml history events
Reconfig.checker
Startup req.
BiTXmlServer
History retrieval
replies
DNS protocol
Fig. 2 - Standard gateway application reference model+#-* $$.*+-% * 9#+$! +$-#;$+$,$++$
+#-**.-#• *+#
• *+#)*+#/#5++#-$!$!-++**$!$*+
• $!$*.$+*$$
!+D!*+!$5!++#$$+
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 9/96
!
"#$$%!&'()"* +,,---./# #0!0
• E* ! 6 * . $ + *5/$.*+5+**$*!/$@A"A7 + +* + #.
!+
• !#+$.*.$+*5-#+$*+%!!#$
(*+ #- +./ !$5 # +!+/$$*$!$*+
• (-%5$-++#5.$5/+#+$5$+$#
• =?(5!*$#$-++$#!
#-*+# + -%$$$** #$9+ B(3"A"-%$$;5$-++#-*$9;+=?( . + $#+#-*5
$+-+-%*..%.*$
B-*.!#$+!$-*
• $
• $+$
•
$ #-* + $ + =?( 5 $*$$+*=+$#-*+$+=?(5$
!+$$+* +$ + !# +-+5+#+# +#!-$!$.*+
+!#*..*-+*!#-*
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 10/96
!
"#$$%!&'()"* +,,---./# #!0
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 11/96
!
"#$$%!&'()"* +,,---./# #!0
!
"#
+FG$$*+++*5.+!-#
+/!$5$!-#/9!#@$;$D* . $ + # 9 + H $;-+*+
FI/JKK$#JK!CKIGF/+$JKHK//JK+,,----1#,,(+K#?JK+,,---./#,,H/$K/!JK+,,---./#,,H/$K
GF/JKK*JK!H?$*K,GF//*JKH?$*KGF/GF//.JK/#KGF/.JK$$K*JK/#KJK6$K,GF/.JK$K*JK/$KJK6$K,G
F/.JK$K*JK!$*KJK6$K,GF,//GF,/GF,//*GF/*JK$*KG
F/.JK/?#"#KG
F:HL?7GF/JKK,GF:HLBH?H"GF/JKK,G
F:HL(&?)GF/JKK,GF:HLH7&GF/JK1K,G
F:HL7"?"GF/JKK,GF:HL="()H=B3GF/JKK,G
F:HL?7B3ABGF/JKK,GF:HL?H3B3ABGF/JK1K,GF:HL?7"=BH)')"GF/JK2K,GF:HL7"?"GF/JK>K,GF:HL()7?=7?"7G
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 12/96
!
"#$$%!&'()"* +,,---./# #!0
F/JK>K,GF:HL()E"(7?"7GF/JK>K,GF:HL()AB7?"7GF/JK>1K,GF:HL()(H'HGF/JK>2K,G
F:HL()=?("H?GF/JK>>K,GF:HL(&?BH()HGF/JK>K,GF:HL(&?(H()HGF/JK>K,GF:HL(&?BHE"(7&GF/JK>K,GF:HL(&?H"?"GF/JK>1K,G
F:HL"?'7"=GF/JKK,GF:HL"?'7(&("=G
F/JKK,GF:HL"?'7&HGF/JKK,GF:HL"?'7')GF/JK1K,GF:HL=M7"=GF/JK2K,GF:HL"?'7="GF/JK>K,GF:HL"?'("G
F/JKK,GF:HL=M7"=GF/JKK,GF:HL"?'"H')GF/JKCK,GF:HL"?'=GF/JK0K,G
F:HL"?'"?')GF/JKK,G
F:HL"?'')GF/JKK,GF:HL"?'=)H"HGF/JKK,G
F:HL"?'7"=GF/JK1K,GF:HL=M7?="=GF/JKK,GF:HL"?')?BH"?')GF/JKK,G
F:HL"?')?BH)')GF/JKK,GF:HL"?'')GF/JK1K,GF:HLHH7?=""7?GF/JK2K,GF:HLHH("GF/JK>K,GF:HLHH7GF/JKK,G
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 13/96
!
"#$$%!&'()"* +,,---./# #1!0
F:HL?7)3)NHGF/JKK,GF:HL"?')3)NHGF/JKK,GF:HL7M?")"7?G
F/JK1K,GF:HLM?HHH=GF/JK>K,GF:HLM?(M7H=GF/JKK,GF,/GF,/*G
F,/+G
+error@id-device.+9##;#-*#+ error@datetime-utc . + M $ $ -+ + +
$+error@code.+$
+/!+FG*$
$
+error@code.!+!-#
! ""% "#
?$
#$.#+
B*
#$.#+
(*/
1 M.*
B-*$! "$id-device$
#$H$.*++#-*-++#
+9-+77*;#$
B-*#$..
H$.*++#-*-++#+9-+77*;#$.+#-*+
.%!9$.$;
?!#.H$.*++
#-*-+-!#.96$-+
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 14/96
!
"#$$%!&'()"* +,,---./# #2!0
H"?"*;
1 !#.
H$.*++#-*-+-!#.96$-+H"?"*;
2 ?$#.!$
> $!D#$.#+
@
> #$.#+
H#$
H$.*+#-*-++$!*
> #$.#+
H#+*H$.*+#-*-+++*!
*
>1 #$.#+
H#!#+%
H$.*+#-*-++!#+%!*
>2 #$.#+
H#.$H$.*+#-*-++$!*
>> #$.#+
H#=?(H$.*+#-*-++=?(!*
> #$.#+
H/#*+F#G
$> #$.#+
H/#*+FG$
> #$.#+
H/#*+F#+*G$
>1 #$.#+
H/#*+FG
$
$! "$",7$!
(*$! "$*$!
"$",7*
1 D$ "$",7
2 =$$! =$",7$!
> "$",7$ "$",7
*$! =$*$!
C "$
0 "$$H$.*+$-+!$$+..$!/
"$ "$.**.+/.*$$
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 15/96
!
"#$$%!&'()"* +,,---./# #>!0
"$ "$
"$ "$$$
1 *$! "$*$!
$$! =$$$!
$D$!D
-#
3#!#
$D$!D-#
3#/!#
1 3# "$
2 $ $
> (/
7/
?-%$!$
)-%+$ "$-%
1 M$!$#-*
> #$.#+
M/$
& #"FI/JKK$#JK!CKIGF/JK+,,---./#,,H/$K
$$JK12K$JKK
G="BCF,G
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 16/96
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 17/96
!
"#$$%!&'()"* +,,---./# #!0
F/.JK#$$K*JK!#$($KJKK$!JK3K,GF/.JK$K*JK/!KJKK,GF/.JK$$K*JK!$($KJKK$!JK?K,G
F/.JK$K*JK/!KJKK,GF/.JK6K*JK/$KJKK,GF/.JK$K*JK/!KJKK,GF/.JK.K*JK/+KJKK,GF/.JKK*JK/#KJKK,GF,//*GF/*JK#$($KGF/.JK/#KGF/JK3K,GF/JKHK,G
F,/GF,/*G
F/*JK$($KGF/.JK/#KGF/JK?K,GF/JK(K,GF,/GF,/*GF/JKK*JK!*K,G
F//*JK*KGF/GF//.JK!'*KGF/.JK$K*JK/#KJK6$K,GF/.JKK*JK/#KJKK,G
F,//GF,/G
F,//*GF/*JK'*KGF/.*JK/$.KG
F/*GF/.JK/#KGF/JKH7K,GF/JKK,GF,/GF,/*GF,/G
F,/*GF/JK$K*JK!$*K,GF//*JK$*KGF/GF//.JK!$'*KGF/.JK$K*JK/#KJK6$K,G
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 18/96
!
"#$$%!&'()"* +,,---./# #C!0
F/.JKK*JK/#KJKK,GF,//GF,/GF,//*GF/*JK$'*KG
F/.*JK/.KGF/*GF/.JK/#KGF/JKH7K,GF/JKK,GF,/GF,/*GF,/GF,/*G
F/JKK*JK!*K,GF//*JK*KG
F/+7JKK/7JKKGF/JKK*JK/#K,GF/JK.*K*JK/+/*K,GF/JK/K*JK/#K,GF,/+GF/.JK$K*JK/#KJK6$K,GF,//*G
F/JKK*JK!"*K,GF//*JK"*KGF/+7JKK/7JKKGF/JKK*JK/#K,GF/JK.*K*JK/+/*K,GF/JK/K*JK/#K,G
F/JK/KGF//*G
F/6GF/*JK%K7JKK/7JKK,GF,/6GF,//*G
F,/GF,/+GF/.JK$K*JK/#KJK6$K,GF,//*GF,/+G
+state@id-device.+###-*#
+state@datetime-utc .+M$$-+++.
$
state/a-io++!#",7
+state/a-io@id.+6$!!+#
+state/[email protected]!$!$5+##$.*+
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 19/96
!
"#$$%!&'()"* +,,---./# #0!0
+/!+state/a-io+$!+#9
H7!+.;
state/d-io++!$#",7
+state/d-io@id.+6$!!+$#
+state/[email protected]!$!$5+##$.*+
+/!+state/d-io+$!+$#9
H7!+.;
+state/ps-o+##+!+#-*5$.*
#.$$9+B(;
+ state/ps-o@longitude . + #$ ! + #-*5
/$$#-+!""""5-+$$$$#5$#5$!+.*H7-+.$
+ state/ps-o@longitude-side . + #$ $ ! +
#-*5-++*39-;H9;
+state/ps-o@latitude .+$!+#-*5/$ . $# -+ !""""5 -+ $$ $#5 $#5$!+.*H7-+.$+state/ps-o@latitude-side .+$$!+#-*5
-++*?9+;(9+;+state/ps-o@altitude .+$!+#-*9/$
.+;
+ state/ps-o@acquisition-time-utc . + M$ $ ! +
6+state/ps-o@speed .+#-*$9/$%;
+state/ps-o@visible-satellites .+.!$
+!+#-*
+state/[email protected]!$!$5+##$.*+
state/s-io++!",79+5+!
.*$!+;+state/s-io@id.+6$!!+
+ state/s-io/error 5! $!$5+ ##$.*+
+ state/s-io/binary 5 ! $!$5 + +/ .* $$
$!++state/s-io/text5!$!$5+#$!+
state/user-io++!",79+5+
!.*$!+;+state/user-io@id.+6$!!+
+ state/user-io/error 5 ! $!$5 + ##$ .*
++ state/user-io/binary 5 ! $!$5 + +/ .* $$
$!+
+state/user-io/text5!$!$5+#$!+
+ state/user-io/xml 5 ! $!$5 + / 9 #
;$!+
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 20/96
!
"#$$%!&'()"* +,,---./# #!0
$
H* $9<ps-o>5 <a-io>5 <d-io>5<s-io> $<user-
io>)+6#$!5$!!!*+$$!**+9!**;
& #"FI/JKK$#JK!CKIG
F/JK+,,---./#,,(/$K$$JK12K$JK0122OKGF6JK0121OK
#$JK0>212>K#$$JKHK$JK221CK$$JK(K$JK111K$JK12K.JK>K,G
F$JK$2KG12F,./GF$$JK/2>KGH7F,./$GF$$JKC0KGF,./$GF$JK7KGF.*G2>2$F,.*GF,./G
F,GFI/JKK$#JK!CKIGF/JK+,,---./#,,(/$K$$JK12K$JK>2C1122OK
GF$$JK*-+KGF,./$GF,G
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 21/96
!
"#$$%!&'()"* +,,---./# #!0
$ '"!
$ "#
+ F("G + ! 6 ! )"* 5$ .* + +* 5 $ $ .* F%("G $
$ $ F+G .* + +* !9 *+!-$#+;
$ FI/JKK$#JK!CKIGF/+$JKE*K//JK+,,----1#,,(+K#?JK+,,---./#,,E*/$K/!JK+,,---./#,,E*/$K/JK+,,---./#,,(/$K
GF/JK+,,---./#,,(/$K+JK(/$K,GF/JK+*K*JK!E*'*K,GF//*JKE*'*KGF/6GF/!JKK7JKK/7JK.$$K,G
F,/6GF/.JK$$K*JK/#KJK6$K,GF/.JK$K*JK/$KJK6$K,GF,//*GF,/+G
+history@id-device.+#-*#
+history@datetime-utc .+M$$-+++*
+.#$
+history/state+$
$$ ?
$& #"
E*$*!F%("G$FI/JKK$#JK!CKIGF+*/JK+,,---./#,,E*/$K$$JK12K$JK12OKG
F/JK+,,---./#,,(/$K
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 22/96
!
"#$$%!&'()"* +,,---./# #!0
$$JK12K$JK112OKGF$JK$2KGF,GF$JK$C0KG11F,GF$$JK/2>KGH7F,$GF$$JKC0KGF,$G
F$JK7KGF.*G2>2$F,.*GF,GF,GF/JK+,,---./#,,(/$K$$JK12K$JK112>OKGF$JK$2KG>F,GF$JK$C0KGH7F,GF$$JK/2>KGH7F,$GF$$JKC0KGF,$GF$JK7KGF.*G2>2$F,.*GF,G
F,GF/JK+,,---./#,,(/$K
$$JK12K$JK1121OKGF$JK$2KGF,GF$JK$C0KG?7?HF,GF$$JK/2>KGF,$GF$$JKC0KG!F,$GF$JK7KGF.*G2>$F,.*GF,GF,G
F,+*G
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 23/96
!
"#$$%!&'()"* +,,---./# #1!0
& ,!
& "#
+FG#-*@+@!#-*$.*+!-##
• $!!+$9++*.$.**+$*+;?++**#*.+.*!#$
• *+$!!+*++..$5-++!!#9$!+$5,#6!+*5;
• *+9*+$;
& FI/JKK$#JK!CKIGF/+$JK"K//JK+,,----1#,,(+K
A=!JK6!$K.A=!JK6!$K#?JK+,,---./#,,"/$K/!JK+,,---./#,,"/$K/#JK+,,---./#,,B(/$K
/JK+,,---./#,,((/$KG
F/JK+,,---./#,,B(/$K+JKB(/$K,GF/JK+,,---./#,,((/$K
+JK((/$K,GF:"?$=!GF/JKK*JK!"?$*K,GF//*JK"?$*KGF/6G
F/!JK!K7JKK/7JKK,GF/+7JKKGF/JK$KGF//*G
F/6GF/!JK!K7JKK/7JKK,G
F/JKK*JK!$H*K7JKK/7JKK,GF,/6GF,//*GF,/GF/JK$+$KGF//*GF/6GF/JKK*JK!=+$H*K,G
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 24/96
!
"#$$%!&'()"* +,,---./# #2!0
F,/6GF,//*GF,/GF/JKKGF//*GF/6GF/!JK!K7JKK/7JKK,G
F/JKK*JK!$H*K7JKK/7JKK,GF/!JK!K7JKK/7JKK,GF,/6GF,//*GF,/GF,/+GF/!JK!!#+%K7JKK/7JKK,GF,/6G
F/.JK$$K*JK/#KJK6$K,GF/.JK$K*JK/$KJK6$K,GF/.JK.*K*JK!.**K
JKK$!JKHPMH(K,GF,//*GF:!#***=!GF/*JK.**KGF/.JK/#KGF/JKHPMH(K,GF/JK()?=)7?HK,G
F,/GF,/*GF:?$=!GF/JKK*JK!*K,G
F//*JK*KG
F/67JKK/7JK.$$KGF/+7JKKGF/!JK!K,GF/!JK!$K,G
F/!JK!K,GF/!JK!K,GF/!JK!K,GF,/+GF,/6GF,//*G
F:?$=!GF/JKK*JK!*K,GF//*JK*KGF/+7JKKGF/JKK*JK/$.K,GF/!JKK,G
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 25/96
!
"#$$%!&'()"* +,,---./# #>!0
F,/+GF/.JK$K*JK/#KJK6$K,GF/.JK*$K*JK/#KJK6$K,GF/.JK*K*JK!$*KJKK$!JK"7K,GF/.JK#K*JK/$.KJK6$K,GF/.JK#/K*JK/$.KJK6$K,G
F,//*GF:$?$=!GF/JK$K*JK!$*K,GF//*JK$*KGF/+7JKKGF/JKK*JK/.K,GF/!JK$K,G
F,/+GF/.JK$K*JK/#KJK6$K,GF/.JK*$K*JK/#KJK6$K,G
F/.JK*K*JK!$*KJKK$!JK"7K,GF,//*GF:?$=!GF/JKK*JK!?$*K,G
F//*JK?$*KGF/.JK$K*JK/#KJK6$K,GF/.JK*$K*JK/#KJK6$K,GF,//*G
F:
?$=!GF/JKK*JK!*K,G
F//*JK*KGF/+7JKKGF/JKK*JK!$("$*K,GF/!JKK,GF,/+GF/.JK$K*JK/#KJK6$K,GF/.JK*$K*JK/#KJK6$K,G
F/.JK*K*JK!$*KJKK$!JK"7K,GF/.JK-+$*K*JK/?#"#KJKK$!JKK,GF/.JK$+K*JK/?#"#KJKK$!JK>K,GF/.JK/$*K*JK/?#"#KJKK$!JKK,GF/.JK.K*JK!$*KJKK$!JK0K,G
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 26/96
!
"#$$%!&'()"* +,,---./# #!0
F/.JK*.K*JK!**KJKK$!JK?7?HK,GF/.JK.K*JK!(*KJKK$!JKK,GF/.JK.+K*JK!2+*KJKK$!JKCK,GF/.JK$$K*JK/.K
JKK$!JK!K,GF/.JK//!!K*JK/.KJKK$!JK!K,GF/.JKK*JK/.KJKK$!JK!K,GF/.JK.$K*JK/.KJKK$!JK!K,GF/.JK.K*JK/.KJKK$!JK!K,GF,//*G
F/*JK$*KGF/.JK/?#"#KGF/JKK,G
F/JK2K,GF/JK2CK,GF/JK0K,GF/JK0K,GF/JK1C2K,GF/JK>K,GF/JK>K,GF,/GF,/*G
F/*JK**KGF/.JK/#KGF/JKH'H?K,GF/JK)NK,GF/JK?7?HK,GF/JK7==K,GF/JK()HK,G
F,/GF,/*G
F/*JK(*KGF/.JK/$.KGF/JKK,G
F/JK>K,GF/JKK,GF,/GF,/*GF/*JK2+*KGF/.JK/+KG
F/"JK>K,GF//"JKCK,GF,/GF,/*GF:?$=!GF/JKK*JK!*K,G
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 27/96
!
"#$$%!&'()"* +,,---./# #!0
F//*JK*KGF/+7JKKGF/JK$K*JK!$M"$*K,GF/!JKK,GF,/+GF/.JK$K*JK/#KJK6$K,G
F/.JK*K*JK!$*KJKK$!JK"7K,GF,//*GF:$*=!GF/*JK$*KG
F/.JK/#KGF/JK"K,GF/JK7K,G
F/JK"7K,GF,/GF,/*GF:
?$=!GF/JKK*JK!(*K,GF//*JK(*KGF/6GF/JK-%K7JKK/7JKKG
F//*GF:-%#+$G
F/.JK+$K*JK/#KJK6$K,GF:/-%#$$G!GF/.JKK*JK/?#"#KJKK$!JK1K,G
F:*$GGF/.JK*K*JK/?#"#KJKK$!JK1K,GF,//*GF,/GF,/6G
F/.JK.$#K*JK!M*KJK6$K,GF/.JK.$#K*JK!.$#*KJKK$!JK1K,GF/.JK.$#K*JK/?#"#KJKK$!JKK,GF,//*GF/*JKM*KGF/.JK/*M"KGF,/G
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 28/96
!
"#$$%!&'()"* +,,---./# #C!0
F,/*GF/*JK.$#*KGF/.JK/"#KGF/"JKK,GF,/GF,/*G
F:*=!GF//*JK$H*KGF/6GF/JK+*$!K*JK!E*=!*K7JKK/7JKK,GF/JK$$!K*JK!$=!*K7JKK/7JKK,GF,/6GF,//*G
F//*JK=+$H*KGF/6G
F/JK+*$!K*JK!E*=!*K7JKK/7JKK,GF/JK$$!K*JK!$=!*K7JKK/7JKK,GF,/6GF,//*GF//*JKE*=!*KGF/6G
F/6/7JK.$$KGF/+7JKKGF/!JK##K,GF/!JKK,GF,/+GF,/6G
F/JK##K7JKK/7JKKGF//*G
F/6GF/+7JKKGF/JK$*K*JK/?#"#K
7JKK/7JKK,GF/JK$*K7JKK/7JKKGF//*GF/6GF/JKK*JK/K7JKK/7JK.$$K,G
F,/6GF,//*GF,/GF/JK-%*K7JKK/7JKKGF//*GF/6GF/JK-+K7JKK/7JK.$$KGF//*G
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 29/96
!
"#$$%!&'()"* +,,---./# #0!0
F/.JK-%$*K*JK!3%=**K,GF/.JKK*JK/K,GF,//*GF,/GF,/6GF,//*G
F,/GF/JK+*K7JKK/7JKKGF//*GF/6GF/JK-+K7JKK/7JK.$$KGF//*GF/.JK+$*K*JK!+=**K,GF/.JKK*JK/K,GF,//*GF,/G
F,/6GF,//*G
F,/GF/JK**K7JKK/7JKKGF//*GF/6GF/JK-+K7JKK/7JK.$$KGF//*GF/.JK*$*K*JK!&=**K,GF/.JKK*JK/K,G
F,//*GF,/GF,/6GF,//*GF,/G
F,/+GF,/6G
F,//*GF,/GF,/6GF/.JK$*K*JK/?#"#KJK6$K,G
F/.JK@K*JK/?#"#KJK6$K,GF,//*GF:
$$!?$=!GF//*JK$=!*KGF/6GF/!JK!$K7JKK/7JK.$$K,GF,/6GF/.JK$$*K*JK/?#"#KJKK$!JKK,GF,//*G
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 30/96
!
"#$$%!&'()"* +,,---./# #1!0
F/JK$K*JK!$*K,GF//*JK$*KGF/67JKKGF/+7JKKGF/JK$K*JK!/$*K,G
F/JKK*JK!/$*K,GF/#!JK!($(K,GF,/+GF/!JK!K7JKK/7JKK,GF/!JK!K7JKK/7JKK,GF,/6GF/.JK$K*JK/#KJK6$K,GF/.JKK*JK/?#"#KJKK$!JKK,GF/.JK$$*K*JK/"#KJKK,GF/.JK$+*K*JK/.K
JKK$!JK!K,GF/.JK$K*JK/.KJKK$!JK!K,G
F,//*GF//*JK/$*KGF/6/7JK.$$KGF/+GF/JK$K*JK!/$*K,GF/JKK*JK!/$*K,GF/#!JK!($(K,GF,/+G
F,/6GF,//*GF/#JK($(KGF/+GF/JKK*JK!$)*K,GF/JK$K*JK!$=*K,G
F/JKK*JK!$(*K,GF/JKK*JK!$M"*K,G
F/JKK*JK!$*K,GF,/+GF,/#G
F:$$!GF//*JK$*KGF/6GF/+G
F/JK$K*JK!#*K,GF/JK$K*JK!#*K,GF/JK6K*JK/K,GF/JKK*JK/K,GF/JK#K*JK/K,GF/JK#K*JK/K,GF/JKK*JK/K,GF/JKK*JK/K,GF,/+GF,/6G
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 31/96
!
"#$$%!&'()"* +,,---./# #1!0
F,//*GF//*JK#*KGF/.JK-K*JK/KJK6$K,GF/.JKK*JK/KJK6$K,GF,//*G
F:)#$$!GF//*JK$)*KGF/+7JKKGF/JKK,GF/JKK,GF/JK$K*JK!#*K,GF/JK$K*JK!#*K,GF/JK6K*JK/$.K,G
F/JKK*JK/$.K,GF/JK#K*JK/$.K,GF/JK#K*JK/$.K,G
F/JKK*JK/$.K,GF/JKK*JK/$.K,GF,/+GF/.JK$K*JK/#KJK6$K,GF,//*GF//*JK#*KGF/.JK-K*JK/$.KJK6$K,GF/.JKK*JK/$.KJK6$K,GF,//*G
F/*JK6'*KGF/.*JK/$.KGF/*GF/.JK/#KGF/JKH7K,GF,/G
F,/*GF,/G
F,/*GF:
=#$$!GF//*JK$=*KGF/+7JKKGF/JKK,GF/JKK,G
F/JK6K*JK/.K,GF/JKK*JK/.K,GF,/+GF/.JK$K*JK/#KJK6$K,GF,//*GF:($$!
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 32/96
!
"#$$%!&'()"* +,,---./# #1!0
GF//*JK$(*KGF/6GF/+7JKKGF/JK$K*JK!$("$*K,GF/!JKK,G
F,/+GF/!JK!K7JKK/7JKK,GF,/6GF/.JK$K*JK/#KJK6$K,GF/.JK.*K*JK/.KJKK$!JK!K,GF,//*GF//*JK$("$*KGF/GF//.JK/#KG
F/.JK.*6K*JK/.KJKK$!JK!K,GF/.JK-+$*K*JK/?#"#KJKK,G
F/.JK/$*K*JK/?#"#KJKK,GF/.JKK*JK/?#"#KJKK,GF/.JK$+K*JK/?#"#KJKK,GF,//GF,/GF,//*GF:M$$!G
F//*JK$M"*KGF/6GF/+7JKKGF/JK$K*JK!$M"$*K,GF/!JKK,GF,/+G
F/!JK!K7JKK/7JKK,GF,/6G
F/.JK$K*JK/#KJK6$K,GF/.JK.*K*JK/.KJKK$!JK!K,GF,//*G
F//*JK$M"$*KGF/GF//.JK/#KGF/.JK.*6K*JK/.KJKK$!JK!K,G
F,//GF,/GF,//*GF:?$=!GF/JKK*JK!?$*K,GF//*JK?$*KG
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 33/96
!
"#$$%!&'()"* +,,---./# #11!0
F/67JKK/7JK.$$KGF/+7JKKGF/JKK,GF/JKK,GF/JK6K*JK/#K,GF/JKK*JK/#K,GF/JK-+K*JK/#K,G
F/JK-+K*JK/#K,GF/JK$-+K*JK/#K,GF/JK$-+K*JK/#K,GF/JKK*JK/#K,GF/JKK*JK/#K,GF,/+GF,/6GF,//*GF:
?$=!GF/JKK*JK!?$*K,G
F//*JK?$*KGF/67JKK/7JK.$$KGF/#!JK!(K,GF,/6GF,//*GF/#JK(KGF/+GF/JKK*JK!*K,G
F/JK$K*JK!*K,GF/JKK*JK!*K,GF/JKK*JK!(*K,GF/JKK*JK!M"7*K,GF,/+GF,/#G
F//*JK*KGF/.JK$K*JK/#KJK6$K,G
F,//*GF//*JK(*KG
F/6GF/+7JKKGF/JKK*JK!$("$*K,GF/!JKK,GF,/+GF,/6GF/.JK$K*JK/#KJK6$K,G
F/.JK.*K*JK/.KJKK$!JK!K,GF,//*GF//*JKM"7*KGF/6GF/+7JKKGF/JKK*JK!$M"$*K,GF/!JKK,G
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 34/96
!
"#$$%!&'()"* +,,---./# #12!0
F,/+GF,/6GF/.JK$K*JK/#KJK6$K,GF/.JK.*K*JK/.KJKK$!JK!K,GF,//*G
F:?$=!GF/JKK*JK!)?$*K,GF//*JK)?$*KGF/6GF/!JKK7JKK/7JK.$$K,GF,/6GF,//*G
F:#.!#+%
GF/JK!#+%KGF//*GF/+GF/JK$*K*JK/?#"#K7JKK/7JKK,GF/JK$*K7JKK/7JKKGF//*GF/6G
F/JKK*JK/K7JKK/7JK.$$K,GF,/6GF,//*GF,/GF/JK-%*K7JKK/7JKKG
F//*GF/6G
F/JK-+K7JKK/7JK.$$KGF//*GF/.JK-%$*K*JK!3%=**K,G
F/.JKK*JK/K,GF,//*GF,/GF,/6GF,//*GF,/G
F/JK+*K7JKK/7JKKGF//*GF/6GF/JK-+K7JKK/7JK.$$KGF//*GF/.JK+$*K*JK!+=**K,GF/.JKK*JK/K,G
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 35/96
!
"#$$%!&'()"* +,,---./# #1>!0
F,//*GF,/GF,/6GF,//*GF,/G
F/JK**K7JKK/7JKKGF//*GF/6GF/JK-+K7JKK/7JK.$$KGF//*GF/.JK*$*K*JK!&=**K,GF/.JKK*JK/K,GF,//*GF,/G
F,/6GF,//*GF,/G
F,/+GF,//*GF,/GF/*JK3%=**KGF/.JK/?#"#KGF/"JKK,GF//"JKK,GF,/G
F,/*GF/*JK+=**KGF/.JK/?#"#KGF/"JKK,GF//"JK1K,GF,/G
F,/*G
F/*JK&=**KGF/.JK/?#"#KGF/"JKK,GF//"JK1>K,G
F,/GF,/*GF:G
F/JKKGF//*GF/6GF/JK*K7JKK/7JK.$$KGF//*GF///$JKKGF//.JK/**KGF/6GF/*JKQQ*KJK%K7JKK/7JKK,G
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 36/96
!
"#$$%!&'()"* +,,---./# #1!0
F,/6GF/.JKK*JK/#KJK6$K,GF,//GF,//GF,//*GF,/GF,/6G
F,//*GF,/GF,/+G
+init@id-device.+9#;#-*#5$
6*$!*+#-*.$.6#/+#-++
+ init@datetime-utc .+ M$$ 5-++*.
$*+@+#-*%+%+init@boot-policy.$!+#-*.*
• ! HPMH(5 * . . . +$ .* $*6+!+*$!$@
• ! ()?=)7?H5 * . . . +$ .* $*6+!+*$!$@5
. ! * $5 + #-* -+ *$!+@!#
+init/io-list$!+",7.+#-*
+init/io-list/a-io$!+#",7.+#-*
+init/io-list/a-io@id .$!+6#$!!+#
+init/io-list/a-io@sys-id .$!+*$$!*+
+ init/io-list/a-io@type .$!+#$*9*5
*.+5$!,;
+ init/io-list/a-io@analog-min . $! + # 9!$;.!++ init/io-list/a-io@analog-max . $! + / # 9
!$;.!++init/io-list/a-io/val +@!+#
+ init/io-list/a-io/a-script + @ ! + #
+init/io-list/d-io$!+$#",7.+#-*
+init/io-list/d-io@id .$!+6#$!!+$#
+init/io-list/d-io@sys-id .$!+*$$!*+
+ init/io-list/d-io@type . $! + $# $ * 9*5*.+5$!,;+init/io-list/d-io/val +@!+$#
+ init/io-list/d-io/d-script + @ ! + $#
+ init/io-list/ps-o $!+#$*. +
#-*
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 37/96
!
"#$$%!&'()"* +,,---./# #1!0
+init/io-list/ps-o@id .$!+6# $!! +#
+init/io-list/ps-o@sys-id .$!+*$$!*+
+init/io-list/s-io$!+",7.+#-*+init/io-list/s-io@id .$!+6#$!!+
+init/io-list/s-io@sys-id .$!+*$$!*+
+init/io-list/s-io@writechar-delay .$!9$;+$*
$+-!*#.*!$+=!
+init/io-list/s-io@execution-delay .$!+$*9$;
$.!#$.*!+=!+ init/io-list/s-io@readchar-timeout . $! 9 $ ; +
/$*.!.*$+$$$=!>+init/io-list/s-io@bps .$!+.$!+=!0
+ init/io-list/s-io@bits-char . $! + .! . + ! +=!C+init/io-list/s-io@parity-bit .$!+*!+=!?9
*;+init/io-list/s-io@stop-bit .$!+.!+=!
.+init/io-list/s-io@dsr-dtr ..$,$!-9$!!;
+init/io-list/s-io@xon-xoff ../,/!!!-9$!!;
+ init/io-list/s-io@cts-rts . . $ # ! +$- !-
9$!!; + init/io-list/s-io@enable-dtr ..$# !+$-!-
9$!!; + init/io-list/s-io@enable-rts .. # !+$-!-
9$!!;+init/io-list/s-io/val +@!+
+init/io-list/s-io/val@binary-request .$!+$*!+
! 5 + $.*5 + +/ .* $$5
+-$./9+$!!/;+init/io-list/s-io/val@writechar-delay .$!+$*$
.$ .- *- $.* ! + @ 9+$!$!$.*+!#@+-%
$;+init/io-list/s-io/val@execution-delay .$!+$*$
.$.!#$!+9+$!$!$.*
+!#@+-%$;
+ init/io-list/s-io/val@at-most . $! +/. ! .* !++init/io-list/s-io/val@readchar-timeout .$!+$
.$.!$#$+!$!+9+$!$!$.*+!# @ +-%$;
+ init/io-list/s-io/s-script + @ ! +
9$.$)$/);
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 38/96
!
"#$$%!&'()"* +,,---./# #1C!0
+init/io-list/user-io $!+",7.+#-*
+ init/io-list/user-io@id . $! + 6 # $! ! +
+init/io-list/user-io@sys-id .$!+*$$!*
++init/io-list/user-io/val +@!+
+ init/io-list/user-io/val + @ ! ++ init/io-list/user-io/val@binary-request . $! + $ * ! +
! 5 + $ .*5 + +/ .*
$$5+-$./9+$!!/;+init/io-list/user-io/u-script + @! +
+init/connected+#-*!#-+!#$-%
$$+ init/connected/server + !# ! + .$
$5$$$+ init/connected/server/awake + !# ! + -%
!#!*$$+init/connected/server/awake@method .+!+-%
.$$-%#$6+ init/connected/server/awake@timeout . + -%
5 $ 9-+ /$ + $; ) ! $. +
+init/connected/server/awake@inactivity-timeout .+-%
5 $5 $ ! + ) ! $. ++init/connected/server@bridge-uri .$!+M".$!
+$#9 M"+.$;+ init/connected/server@bridge-timeout . $! + / 9
$;+$-5-+#*$=?(
#5.!$#$+.$#+ init/connected/events + !# ! + *+
#.!$#-*+init/connected/events/history-def !#++*
+init/connected/events/history-def/getstate $-++.
$.*++*+$6$+*+init/connected/events/history-def/setstate $-++.
$.*++*+$6$+*+ init/connected/events/history-def@delay .$!+$*
9/$ $; + . $ .* + +* 9+ $!!.--.6!6;+ init/connected/events/history-def@size . $! +/ .!
F"G9$#+F%"GF""G$;
+++*+$9A"A7;+ init/connected/events/history-def/event-triggers +
!#$.*++*$!*-+++*.++ init/connected/events/history-def/event-triggers/on-delay $!
9; $* .- - .6 +* # +
!++.!$*$*+init/connected/events/history-def/event-triggers/daily $!++*
#*$*
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 39/96
!
"#$$%!&'()"* +,,---./# #10!0
+ init/connected/events/history-def/event-triggers/daily/at $!
.5*$*5-++*#++ init/connected/events/history-def/event-triggers/weekly $! +
+*#*-%+ init/connected/events/history-def/event-triggers/weekly/when $!
-%$*$.5*-%5-++*#
++ init/connected/events/history-def/event-triggers/weekly/when@weekday .
$! + -% $* -+ +* # + 9J($*5J($*;+ init/connected/events/history-def/event-triggers/weekly/when@at . $!
+!+$-%$*-++*#++ init/connected/events/history-def/event-triggers/monthly $! +
+*#*++ init/connected/events/history-def/event-triggers/monthly/when $!
+$*$.5*+5-++*#+
+ init/connected/events/history-def/event-triggers/monthly/when@monthday .
$!++9$;$*-++*#+9
#!1;+init/connected/events/history-def/event-triggers/monthly/when@at .$!
+!+$+$*-++*#++ init/connected/events/history-def/event-triggers/yearly $! +
+*#**
+init/connected/events/history-def/event-triggers/yearly/when $!*
$*$.5 **5-++*#+
+ init/connected/events/history-def/event-triggers/yearly/when@yearday .
$!+*$*-++*#+9#!1>;+ init/connected/events/history-def/event-triggers/yearly/when@at . $!
+!+$*$*-++*#+
+init/connected/events/conditions-def .$!#+$
+init/connected/events/conditions-def@condition-delay .$!9$;
+ 9;$*+.$.--!-#!+$+%+*.$$.*$!#
+ init/connected/events/conditions-def/condition $! + $
. $ + #-* $ $ .* + +* "! $ .+$ -+ + + + .*!
+ init/connected/events/conditions-def/condition@id . $! + 6
$!!+$+ init/connected/events/conditions-def/condition@level . $! +
$*=!+init/connected/events/conditions-def/condition@condition-delay .$!
9;$*$+.$.--!-#+%!+$"!!$5+$*$
+ init/connected/events/conditions-def/condition@send-history .. +
!-$#!++*9!.$;!+#$$=!!
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 40/96
!
"#$$%!&'()"* +,,---./# #2!0
+ init/connected/events/conditions-def/condition@send-once . .
$.+ !-$#! + -++$+$ ! - .6+% + $! .+ 9! ; $ * 9! *$+;
+init/connected/events/conditions-def/condition/and $!+
! + # )?= + $ $!$ -+ .$* 9+$!+!+.$;+ init/connected/events/conditions-def/condition/or $! +
!+#7+$$!$-+.$*9+$
!!+$;+ init/connected/events/conditions-def/condition//a-io $!
$#+ init/connected/events/conditions-def/condition//a-io@id . $! +
#!+#.$+$+ init/connected/events/conditions-def/condition//a-io/is-error $!
$-++-++.$+init/connected/events/conditions-def/condition//a-io/is-not-error $!
$-++-++.$+ init/connected/events/conditions-def/condition//a-io/inside $!
$-++-++$#+!
+ init/connected/events/conditions-def/condition//a-io/inside@lower .
$!+-$!*+#+ init/connected/events/conditions-def/condition//a-io/inside@upper .
$!+$!*+#
+ init/connected/events/conditions-def/condition//a-io/outside $!
$-++-++$!!+ init/connected/events/conditions-def/condition//a-io/outside@lower .
$!+-$!*+#
+ init/connected/events/conditions-def/condition//a-io/outside@upper .$!+$!*+#+ init/connected/events/conditions-def/condition//a-io/eq $!
$-++-++6+$++ init/connected/events/conditions-def/condition//a-io/ne $!
$-++-++$6+$++ init/connected/events/conditions-def/condition//a-io/ge $!
$-++-++#+6+$++ init/connected/events/conditions-def/condition//a-io/gt $!
$-++-++#++$
++ init/connected/events/conditions-def/condition//a-io/le $!
$-++ -++ +6 +
$++ init/connected/events/conditions-def/condition//a-io/lt $!
$-++-++++$+
+ init/connected/events/conditions-def/condition//d-io $!
$$#
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 41/96
!
"#$$%!&'()"* +,,---./# #2!0
+ init/connected/events/conditions-def/condition//d-io@id . $! +
#!+$#.$+$+ init/connected/events/conditions-def/condition//d-io/is-error $!
$-++-++.$+init/connected/events/conditions-def/condition//d-io/is-not-error $!
$-++-++.$
+ init/connected/events/conditions-def/condition//d-io/eq $! $-++-++6+$++ init/connected/events/conditions-def/condition//d-io/ne $!
$-++-++$6+$+
+ init/connected/events/conditions-def/condition//s-io $!
$+ init/connected/events/conditions-def/condition//s-io@id . $! +
#!+.$+$
+ init/connected/events/conditions-def/condition//s-io@binary-result .
$! + * !+ $ !+! !9+ $!;5+
/#5+-.*5$+.+/.*$$+ init/connected/events/conditions-def/condition//s-io/command $!
$.$!++$$+.$*+ init/connected/events/conditions-def/condition//s-io/command@binary-request
. $! + ! * ! + 6 ! ! 9+$!;5 +6 / #5 +- + 6 .* 9$ . +/ .*$$;
+ init/connected/events/conditions-def/condition//s-io/command@writechar-delay
.$!+ *$$9$;!+$#.$!$+!#+ init/connected/events/conditions-def/condition//s-io/command@execution-delay
.$!+ *$$9$;!+$#
.$!$+!#+ init/connected/events/conditions-def/condition//s-io/command@at-most .
$!+/.!.*.$!+
+ init/connected/events/conditions-def/condition//s-io/command@readchar-timeout
.$!+ *$$9$;!+$#.$!$+!#
+ init/connected/events/conditions-def/condition//s-io/s-script $!
.$ !+ $/) !$
+init/connected/events/conditions-def/condition//s-io/response $!+
+#*+$+ init/connected/events/conditions-def/condition//s-io/response/is-error
$!-++-++.$$!$
+ init/connected/events/conditions-def/condition//s-io/response/is-not-error $!$-++-++.$+ init/connected/events/conditions-def/condition//s-io/response/eq $!
$-++-++6+$++ init/connected/events/conditions-def/condition//s-io/response/ne $!
$ -++ -+ + $ 6 +
$+
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 42/96
!
"#$$%!&'()"* +,,---./# #2!0
+ init/connected/events/conditions-def/condition//s-io/response/starts-with
$!$-++-++-++-+$+9++./#+;+ init/connected/events/conditions-def/condition//s-io/response/not-starts-with
$!$-++-++$-++-+$+9++./#+;
+ init/connected/events/conditions-def/condition//s-io/response/ends-with $!$-++-++$-++-+$+9++./#+;+ init/connected/events/conditions-def/condition//s-io/response/not-ends-with
$!$-++-++$$-++-+$+9++./#+;+ init/connected/events/conditions-def/condition//s-io/response/contains
$! $-++ -++ +-+$+9++./#+;+ init/connected/events/conditions-def/condition//s-io/response/not-contains
$!$-++-++$
+-+$+9++./#+;
+init/connected/events/conditions-def/condition//users-io $!
$+ init/connected/events/conditions-def/condition//user-io@id . $! +
#!+.$+$+ init/connected/events/conditions-def/condition//user-io@binary-result .
$! + * !+ $ !+! !9+ $!;5+/#5+-.*5$+.+/.*$$
+init/connected/events/conditions-def/condition//user-io/command $!
$.$!++$$+.$*+ init/connected/events/conditions-def/condition//user-io/command@binary-request
. $! + ! * ! + 6 ! ! 9+$!;5 +
6 / #5 +- + 6 .* 9$ . +/ .*$$;+ init/connected/events/conditions-def/condition//user-io/u-script $!
.$ !+$/) !$+ init/connected/events/conditions-def/condition//user-io/response $!
++#*+$+ init/connected/events/conditions-def/condition//user-io/response/is-error
$!-++-++.$
$!$+ init/connected/events/conditions-def/condition//user-io/response/is-not-error
$!$-++-++.$+ init/connected/events/conditions-def/condition//user-io/response/eq
$! $ -++ -+ + 6 + $++ init/connected/events/conditions-def/condition//user-io/response/ne
$!$-++-++$6+$++ init/connected/events/conditions-def/condition//user-io/response/starts-with
$!$-++-++-+
+-+$+9++./#+;
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 43/96
!
"#$$%!&'()"* +,,---./# #21!0
+ init/connected/events/conditions-def/condition//user-io/response/not-starts-with
$!$-++-++$-++-+$+9++./#+;+ init/connected/events/conditions-def/condition//user-io/response/ends-with
$!$-++-++$-++-+$+9++./#+;
+ init/connected/events/conditions-def/condition//user-io/response/not-ends-with $!$-++-++$$-++-+$+9++./#+;+ init/connected/events/conditions-def/condition//user-io/response/contains
$!$-++-+++-+$+9++./#+;+ init/connected/events/conditions-def/condition//user-io/response/not-contains
$!$-++-++$+-+$+9++./#+;+init/connected/events/conditions-def/condition//time/range $!
$+ init/connected/events/conditions-def/condition//time/inside $!
$-++-++$#+!+ init/connected/events/conditions-def/condition//time/inside@lower .
$!+-$!*+#+ init/connected/events/conditions-def/condition//time/inside@upper .
$!+$!*+#+ init/connected/events/conditions-def/condition//time/outside $!
$-++-++$!!
+ init/connected/events/conditions-def/condition//time/outside@lower .
$!+-$!*+#+ init/connected/events/conditions-def/condition//time/outside@upper .
$!+$!*+#
+ init/connected/events/conditions-def/condition//time/eq $! $-++-++6+$+
+ init/connected/events/conditions-def/condition//time/ne $!
$ -++ -+ + $ 6 + $+
+ init/connected/events/conditions-def/condition//time/ge $!
$-++-++#+6+$+
+ init/connected/events/conditions-def/condition//time/gt $!
$-++-++#++$++ init/connected/events/conditions-def/condition//time/le $!
$-++ -++ +6+$++ init/connected/events/conditions-def/condition//time/lt $!
$-++ -++ + +$+
+ init/connected/events/conditions-def/condition/return-ports $! +
!-+.$-++$+$D+*.$!!!+$+%+$
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 44/96
!
"#$$%!&'()"* +,,---./# #22!0
+ init/connected/events/conditions-def/condition/return-ports/a-io $!
+#-+.$-++#$+ init/connected/events/conditions-def/condition/return-ports/a-io@id .
$!+#$!!+$#+ init/connected/events/conditions-def/condition/return-ports/d-io $!
+$#-+.$-++#$
+ init/connected/events/conditions-def/condition/return-ports/d-io@id .$!+#$!!+$$#+ init/connected/events/conditions-def/condition/return-ports/ps-o $!
+#-+.$-++#$
+ init/connected/events/conditions-def/condition/return-ports/ps-o@id .
$!+#$!!+$#+ init/connected/events/conditions-def/condition/return-ports/s-io $!
+-+.$-++#$+ init/connected/events/conditions-def/condition/return-ports/s-io@id .
$!+#$!!+$+ init/connected/events/conditions-def/condition/return-ports/s-io/val
+@!++ init/connected/events/conditions-def/condition/return-ports/s-io/val@binary-
request.$!+$*!+!5+$.*5++/.*$$5+-$./9+$!!/;+ init/connected/events/conditions-def/condition/return-ports/s-io/val@writechar-
delay . $! + $* $ . $ .- * -
$.*!+@9+$!$!$.*+!#@+-%$;+ init/connected/events/conditions-def/condition/return-ports/s-io/val@execution-
delay.$!+$*$.$.!#
$!+9+$!$!$.*+!# @+-%$;+ init/connected/events/conditions-def/condition/return-ports/s-io/val@at-most
.$!+/.!.*!+
+ init/connected/events/conditions-def/condition/return-ports/s-io/val@readchar-timeout . $! + $ . $ .! $#
$+ !$! + 9+$! $!$.* +!#@+-%$;+ init/connected/events/conditions-def/condition/return-ports/s-io/s-script
+@!+9$.$)$/);+ init/connected/events/conditions-def/condition/return-ports/user-io
$!+-+.$-++#$+ init/connected/events/conditions-def/condition/return-ports/user-io@id .
$!+#$!!+$
+ init/connected/events/conditions-def/condition/return-ports/user-io/val
+@!++ init/connected/events/conditions-def/condition/return-ports/user-io/val@binary-
request.$!+$*!+!5+
$.*5++/.*$$5+-$./9+$!!/;+ init/connected/events/conditions-def/condition/return-ports/user-io/s-script
+@!+9$.$)$/);
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 45/96
!
"#$$%!&'()"* +,,---./# #2>!0
+init/connected/events/conditions-def/condition/action $!+!$
./$-++$+ init/connected/events/conditions-def/condition/action/setstate $!
$
+init/detached+#-*!#-+!#$-%$+$$+init/detached/events +!#!+*+
# . ! $+$ #-* + $ !init/connected/events
+init/detached/events/conditions-def .$!#+$
$*$+$#-*!#
+init/custom +#-*!#-+!#$-%
$
+ init/custom/server +!# !+ .$ $
5$$$+$!init/connected/server
+ init/custom/events+ !#! +*+
#.!#-*+$!init/connected/events
+init/custom/properties +!$!$!+
#-*+init/custom/property *$!+!
+*.#-+5$+*+init/custom/property@name .+!+*
+ init/reconfiguration-check +!#$.*+
!# +% $!*-+ + 6 . +
+ init/reconfiguration-check/on-delay $! $*.--
.6!#6#+!++.!$*+$*+init/reconfiguration-check/daily $! +!#+%
#*$*+ init/reconfiguration-check/daily/at $! . 5
*$*5-+!#+%#++init/reconfiguration-check/weekly $!+!#+%
#*-%+ init/reconfiguration-check/weekly/when $! -% $* $ .
5 * -%5 -+ !# +% #
+
+ init/reconfiguration-check/weekly/when@weekday . $! + -% $*-+!#+%#+9J($*5J($*;+ init/reconfiguration-check/weekly/when@at . $! + ! +
$-%$*-+!#+%#++ init/reconfiguration-check/monthly $! + !# +%
#*+
+init/reconfiguration-check/monthly/when $!+$*$.
5 * +5 -+ !# +% # +
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 46/96
!
"#$$%!&'()"* +,,---./# #2!0
+ init/reconfiguration-check/monthly/when@monthday . $! + +
9$;$*-+!#+%#+9#!1;+ init/reconfiguration-check/monthly/when@at . $! + ! +
$+$*-+!#+%#++init/reconfiguration-check/yearly $!+!#+%
#**+ init/reconfiguration-check/yearly/when $! * $* $ .
5 * *5 -+ !# +% # ++init/reconfiguration-check/yearly/when@yearday .$!+*$*-+
!#+%#+9#!1>;+ init/reconfiguration-check/yearly/when@at . $! + ! +
$*$*-+!#+%#+&$
3+ $!##-*5 * $ 9<ps-o>5 <a-
io>5<d-io>5<s-io> $<user-io>)+6#$!5$!!!*+$$!**+9!**;
"@!$*+$#$$$#!+
#1 3+$!#$5+*!*!$.*+$
.!*"9;,9"7;..$-+$
2 3+ $!# $5 ! + .@condition-delay $!$5 +
$+$!$*> 3+ # $5 + . $ 9+ 5 -+
# #* $/5 ! + )?= $ + ! ! + . / ! + + + /
#$$+)?=!5!+7$+!!+./+++/#$$+7
"!FG$!$!$5+$
./$+#!+$ H*#$#/.+
C "! $ $! +% . /$5 + $ $ !
0 "!++*.$5$!!$++*!-$#+..$5*F+G#$!+$- . !-$.*+$#+9;+*
"!$#$+$!$.*+@readchar-
timeout ./5$+++$5$
$.$9!+;
&& #"7#$$#5$+$#-*
FI/JKK$#JK!CKIGF/J4+,,---./#,,"/$4
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 47/96
!
"#$$%!&'()"* +,,---./# #2!0
/JK+,,---./#,,((/$K$$J4=4$J41O4.*J4HPMH(4GFG
F$J4)#4*$J4)#4#J424#/J414,GF$$J4=#4*$J4=#4,GF,GF$+$GFGF$$!GF$$JK"HKGF$J4)#4GF,GF,GF,$GF$$JK"?HKG
F$J4)#4GF,GF,GF,$G
F$$JKH6KGF$J4)#4GF6G>F,6GF,GF,$GF$$JK?KGF$J4)#4GFG>F,GF,GF,$GF$$JKBKGF$J4)#4GF#G>F,#GF,G
F,$GF$$JKBKGF$J4)#4GF#G>F,#GF,GF,$GF$$JKKG
F$J4)#4GFG>F,GF,GF,$G
F$$JKKGF$J4)#4GFG>F,GF,GF,$G
F$$JK#-+KGF$J4)#4GF$-J424J414,GF,GF,$GF$$JK#$KGF$J4)#4GF$-J424J414,GF,G
F,$GF$$JK7KGFGF$$J4=#4GF,GF,$GF$$J4=#4GF6GF,6GF,$GF,GF,$GF$$JK)$KG
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 48/96
!
"#$$%!&'()"* +,,---./# #2C!0
F$GF$$J4=#4GF,GF,$GF$$J4=#4GFGF,GF,$GF,$GF,$GF,$$!G
F,GF,$+$GF,G
+#55#-*-+/$FI/JKK$#JK!CKIGF/J4+,,---./#,,"/$4/JK+,,---./#,,((/$K$$J4=4$J41O4
.*J4HPMH(4G
FGF$J4)#4*$J4)#4#J424#/J414,GF$J4)#4*$J4)#4#J424#/J414*J4"4,GF$J4)#14*$J4)#14#J424#/J414*J474,GF$J4$4*$J474,G
F,GFGFGF$$!G
F$$JKKG
F$J4)#4GF,GF,GFGF$JK$K.*JKKGF.*6JKKG2>2201$F,GF,GF,G
F,$GF$$JKKGF$J4)#4GF,GF,GFGF$JK$K.*JK!KGF.*6JKKG2>2201$F,GF,GF,G
F,$GF$$JK1KGF$J4)#4GF,GF,G
FGF$JK$K.*JK!KG
FGF.JK0K,GF.*6JKK-+$*JKKG2>2201$F,GF$*JKK,GF#$+JK2K,G
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 49/96
!
"#$$%!&'()"* +,,---./# #20!0
F!GFGF,GF6G6F,6GFG6F,GF-+G-+F,-+GF-+G-+F,-+GG
F$-+G$-+F,$-+GF$-+G$-+F,$-+GFGF,GFGF,GF,GF+GFG)HF,GF.*6JKKG$F,GF$*JKK,GF#$+JK2K,GF,+GFG
F-+/JKKGF$GF,G
F6G6F,6GF,$GF.*6JKK-+$*JKKG2>2201$F,GF$*JKCK,GF#$+JK>K,GF/GFGFGH/F,GF,GF,/G
F,-+GF,GF,!GF,GF,GF,GF,$G
F$$JK2KGF$J4)#4GF,GF,GFGF$JK$K.*JK!KG
FGF.JK0K,GF.*6JKK-+$*JKKG2>2201$F,GF$*JKK,GF#$+JK2K,GFGF$GRD*R#DF,$GF,GFGF$,GF,G
FGF$GRD,*R#DF,$GF,GF,GF,GF,GF,$GF,$$!GF,GF,G
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 50/96
!
"#$$%!&'()"* +,,---./# #>!0
F,G
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 51/96
!
"#$$%!&'()"* +,,---./# #>!0
- ./,0
- "#
+FG$!+$ 6 ! #-*@+
@ * . .+ + 9 +$- . 6$; $ $ 9+$-.6$;
- FI/JKK$#JK!CKIGF/+$JK"K//JK+,,----1#,,(+KA=!JK6!$K.A=!JK6!$K#?JK+,,---./#,,"/$K/!JK+,,---./#,,"/$K
GF/JKK*JK!"?$*KGF/GF/$G"@?$!$F,/$GF,/GF,/G
F//*JK"?$*KGF/.JK$$K*JK/#KJK6$K,GF/.JK$K*JK/$KJKK,GF/.JK*K*JK!")*KJK6$K,G
F,//*GF/*JK")*KGF/.JK/#KGF/JKEK,GF/JKK,GF:)-%$$G
F/JK(K,GF,/GF,/*GF,/+G
+reinit@id-device.+9#;#-*#
+reinit@datetime-utc.+M$$-++6+
.#$
+reinit@type.$!+@*.$• E+@+#-* 77* $
6-FG!#$@!
• $@+#-*+$+**.!5$+!+@+.$
• (!$!+9*#$!.;
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 52/96
!
"#$$%!&'()"* +,,---./# #>!0
-$ !+!")*-+$9;
-&
?-- #"
E@FI/JKK$#JK!CKIGF/JK+,,---./#,,"/$K$$JKLK*JKEK,G
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 53/96
!
"#$$%!&'()"* +,,---./# #>1!0
1 +0
1 "#
+F%"G$!$6+!",7
1 FI/JKK$#JK!CKIGF/+$JKB(K//JK+,,----1#,,(+KA=!JK6!$K.A=!JK6!$K#?JK+,,---./#,,B(/$K
/!JK+,,---./#,,B(/$KGF/JK#KGF//*GF/6/7JK.$$KG
F/+GF/!JK!K,GF/!JK!$K,GF/!JK!K,GF/!JK!K,G
F/!JK!K,GF,/+G
F,/6GF/.JK$$K*JK/#KJK6$K,GF/.JK$K*JK/$KJKK,GF,//*G
F,/GF//*JKB(*KGF/6/7JK.$$KGF/+GF/!JK!K,GF/!JK!$K,GF/!JK!K,G
F/!JK!K,GF/!JK!K,GF,/+GF,/6GF,//*G
F/JKK*JK!*K,G
F/JK$K*JK!*K,GF/JKK*JK!*K,GF/JKK*JK!*K,GF/JKK*JK!"*K,GF//*JK*KGF/.JK$K*JK/#KJK6$K,GF,//*G
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 54/96
!
"#$$%!&'()"* +,,---./# #>2!0
F//*JK*KGF/.JK$K*JK/#KJK6$K,GF/.JK.*K*JK/.KJKK$!JK!K,GF/.JK$+K*JK/"#K
JKK,GF/.JKK*JK/"#KJKK,GF,//*GF//*JK"*KGF/.JK$K*JK/#KJK6$K,GF/.JK.*K*JK/.KJKK$!JK!K,GF,//*GF,/+G
+getstate@id-device .+9#;#-*#+ getstate@datetime-utc . + M $ $ -+ + 6
+.#$+getstate/a-io$!6!#",7
+getstate/a-io@id.+$!!+#-+
.$+getstate/d-io$!6!$#",7
+getstate/d-io@id.+$!!+$#-+
.$
+getstate/ps-o$!6!#$
+getstate/ps-o@id.+$!!+#$-+.$+getstate/s-io$!6!",7
+getstate/s-io@id.+$!!+-+
.$
+getstate/s-io@binary-result .$!+$!*!+#$
+ getstate/s-io@readchar-timeout .$! + $ ! + $
9$;$#@+$!+$
+ getstate/s-io@at-most . $! +/. ! + .
$
+getstate/user-io$!6!",7+ getstate/user-io@id . + $! ! + -+
.$+ getstate/user-io@binary-result . $! + $ ! * ! +
#$!5+.$.*5$$.*9+/.*$$;!5!!+.$/5$**.#@$$$
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 55/96
!
"#$$%!&'()"* +,,---./# #>>!0
1$ !+!F"G#+9!.;!6$5
FG!$-+#+61&
H* $ 9<ps-o>5 <a-io>5 <d-io>5 <s-io> $ <user-io>)
+ 6 # $!5 $!! ! * + $ $!**+9!**;.6+!+-+#6
A5+$!+
1 "!.5+$.H7
2 "!@$*5)*.$1- #"
FI/JKK$#JK!CKIGF#
/JK+,,---./#,,B(/$K $$JKLKG F$JK)K,G
F$JK7K,GF,#G
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 56/96
!
"#$$%!&'()"* +,,---./# #>!0
2 '"+0
2 "#
+ F%("G $! + ! +* +*$$$+
2
FI/JKK$#JK!CKIGF/+$JKBE*K//JK+,,----1#,,(+KA=!JK6!$K
.A=!JK6!$K#?JK+,,---./#,,BE*/$K
/!JK+,,---./#,,BE*/$K
GF/JK#+*KGF//*GF/.JK$$K*JK/#KJK6$K,GF/.JK$K*JK/$KJK6$K,GF,//*GF,/GF,/+G
+gethistory@id-device .+##-*#
+gethistory@datetime-utc .+M$$-++6
+.#$2$ !+!F("G # +-+ ! + +*#5 FG!$-+#+6
2&
"! + +* + . .$ @ 5 + $.$5*F("G
2- #"
FI/JKK$#JK!CKIGF#+* /JK+,,---./#,,BE*/$K $$JKLK,G
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 57/96
!
"#$$%!&'()"* +,,---./# #>!0
3 !#0
3 "#
+F""G$!+!#-*+6*.+-+!!#$",7
3
FI/JKK$#JK!CKIGF/+$JK((K//JK+,,----1#,,(+KA=!JK6!$K
.A=!JK6!$K#?JK+,,---./#,,((/$K
/!JK+,,---./#,,((/$K
GF/JKKGF//*GF/67JKK/7JK.$$KGF/+GF/!JK!K,GF/!JK!$K,GF/!JK!K,GF/!JK!K,G
F,/+GF,/6GF/.JK$$K*JK/#KJK6$K,GF/.JK$K*JK/$KJKK,GF,//*G
F,/GF//*JK((*KGF/67JKK/7JK.$$KGF/+GF/!JK!K,GF/!JK!$K,GF/!JK!K,GF/!JK!K,GF,/+GF,/6GF,//*GF/JKK*JK!*K,G
F//*JK*KGF/+7JKKG
F/JKK*JK/$.K,GF/!JK!K,GF,/+GF/.JK$K*JK/#KJK6$K,G
F/.JK#K*JK/.KJKK$!JKK,GF,//*G
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 58/96
!
"#$$%!&'()"* +,,---./# #>C!0
F/JKK*JK!)#(?$*K,GF/#JK)#(7KGF/+GF/JK$*K*JK!)#(=**K,GF/JK/K*JK!)#(H/*K,GF/JKK*JK!)#((*K,G
F/JK#K*JK!)#(B*K,GF/JKK*JK!)#(*K,GF/JK!K*JK!)#("!*K,GF/JK-+K*JK!)#(3+*K,GF,/+GF,/#GF//*JK)#(?$*KGF/67JKK/7JK.$$KGF/+7JKKGF/JK$*K*JK!)#(=**K,GF/JK/K*JK!)#(H/*K,G
F/JKK*JK!)#((*K,GF/JK#K*JK!)#(B*K,GF/JKK*JK!)#(*K,G
F/JK!K*JK!)#("!*K,GF/JK-+K*JK!)#(3+*K,GF,/+GF,/6GF,//*GF//*JK)#(=**KGF/.JKK*JK/?#"#KJK6$K,GF,//*G
F/*JK)#(H/*KGF/.*JK/$.KGF/*GF/.JK/#KGF/JKK,GF,/GF,/*G
F,/GF,/*G
F//*JK)#((*KGF/GF//.JK/$.K,G
F,/GF,//*GF//*JK)#(B*KGF,//*GF//*JK)#(*KG
F/+7JKKGF/JKK*JK!)#(7*K,GF,/+GF,//*GF//*JK)#(7*KGF/GF//.JK/$.K,GF,/GF,//*G
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 59/96
!
"#$$%!&'()"* +,,---./# #>0!0
F//*JK)#("!*KGF/6GF/#!JK!)#($K7JKK/7JKK,GF/JK+K*JK!)#("!+*K7JKK,GF/JKK*JK!)#("!+*K7JKK,GF,/6G
F,//*GF/#JK)#($KGF/+GF/JKK,GF/JKK,GF/JK$K*JK!)#($/*K,GF/JKK*JK!)#($/*K,GF/JK6K*JK!)#($(*K,GF/JKK*JK!)#($(*K,GF/JK$K*JK!)#($#*K,GF/JK$K*JK!)#($#*K,G
F/JK#K*JK!)#($(*K,GF/JK#K*JK!)#($(*K,GF/JKK*JK!)#($(*K,G
F/JKK*JK!)#($(*K,GF,/+GF,/#GF//*JK)#($/*KGF/6/7JK.$$KGF/#!JK!)#($K/7JK.$$K,GF,/6GF,//*G
F/*JK)#($(*KGF/.JK/$.K,GF,/*GF//*JK)#($#*KGF/.JK-K*JK/$.KJK6$K,GF/.JKK*JK/$.KJK6$K,G
F,//*G
F//*JK)#("!+*KGF/67JKK/7JK.$$KGF/#!JK!)#(7K/7JK.$$K,GF,/6G
F,//*GF//*JK)#(3+*KGF/6GF/#!JK!)#($K7JKK/7JKK,GF/#!JK!)#(7K/7JK.$$K,GF/JK/K*JK!)#("!+*K7JKK,G
F,/6GF/.JK/K*JK/?#"#KJK6$K,GF,//*GF/JK$K*JK!$*K,G
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 60/96
!
"#$$%!&'()"* +,,---./# #!0
F//*JK$*KGF/+7JKKGF/JKK*JK/.K,GF/!JK!$K,GF,/+GF/.JK$K*JK/#KJK6$K,GF/.JK#K*JK/.KJKK
$!JKK,GF,//*GF/JK$K*JK!=#(?$*K,GF/#JK=#(7KGF/+GF/JK$*K*JK!=#(=**K,GF/JK/K*JK!=#(H/*K,GF/JKK*JK!=#((*K,GF/JK#K*JK!=#(B*K,GF/JKK*JK!=#(*K,G
F/JK!K*JK!=#("!*K,GF/JK-+K*JK!=#(3+*K,GF,/+G
F,/#GF//*JK=#(?$*KGF/67JKK/7JK.$$KGF/+7JKKGF/JK$*K*JK!=#(=**K,GF/JK/K*JK!=#(H/*K,GF/JKK*JK!=#((*K,GF/JK#K*JK!=#(B*K,GF/JKK*JK!=#(*K,G
F/JK!K*JK!=#("!*K,GF/JK-+K*JK!=#(3+*K,GF,/+GF,/6GF,//*GF//*JK=#(=**KG
F/.JKK*JK/?#"#KJK6$K,GF,//*G
F/*JK=#(H/*KGF/.*JK/.KGF/*G
F/.JK/#KGF/JKK,GF,/GF,/*GF,/GF,/*G
F//*JK=#((*KGF/GF//.JK/.K,GF,/GF,//*GF//*JK=#(B*KGF,//*GF//*JK=#(*KG
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 61/96
!
"#$$%!&'()"* +,,---./# #!0
F/+7JKKGF/JKK*JK!=#(7*K,GF,/+GF,//*GF//*JK=#(7*KGF/G
F//.JK/.K,GF,/GF,//*GF//*JK=#("!*KGF/6GF/#!JK!=#($K7JKK/7JKK,GF/JK+K*JK!=#("!+*K7JKK,GF/JKK*JK!=#("!+*K7JKK,GF,/6GF,//*G
F/#JK=#($KGF/+GF/JKK,G
F/JKK,GF/JK$K*JK!=#($/*K,GF/JKK*JK!=#($/*K,GF/JK6K*JK!=#($(*K,GF/JKK*JK!=#($(*K,GF,/+GF,/#GF//*JK=#($/*KGF/6/7JK.$$KG
F/#!JK!=#($K/7JK.$$K,GF,/6GF,//*GF/*JK=#($(*KGF/.JK/.K,GF,/*G
F//*JK=#("!+*KG
F/67JKK/7JK.$$KGF/#!JK!=#(7K/7JK.$$K,GF,/6GF,//*G
F//*JK=#(3+*KGF/6GF/#!JK!=#($K7JKK/7JKK,GF/#!JK!=#(7K/7JK.$$K,GF/JK/K*JK!=#("!+*K7JKK,GF,/6G
F/.JK/K*JK/?#"#KJK6$K,GF,//*GF/JKK*JK!*K,GF//*JK*KG
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 62/96
!
"#$$%!&'()"* +,,---./# #!0
F/+7JKKGF/JKKGF//*GF/GF//.JK/#KGF/.JK.*6K*JK/.KJKK$!JK!K,G
F/.JK-+$*K*JK/?#"#KJKK,GF/.JK/$*K*JK/?#"#KJKK,GF/.JKK*JK/?#"#KJKK,GF/.JK$+K*JK/?#"#KJKK,GF,//GF,/GF,//*GF,/GF/!JK!K,GF,/+GF/.JK$K*JK/#KJK6$K,GF/.JK.*K*JK/.KJKK$!JK!K,G
F/.JK#K*JK/.KJKK$!JKK,GF,//*G
F/JKK*JK!((?$*K,GF/#JK((7KGF/+GF/JKK*JK!((*K,GF/JK$*K*JK!((=**K,GF/JK/K*JK!((H/*K,GF/JKK*JK!(((*K,G
F/JK#K*JK!((B*K,GF/JKK*JK!((*K,GF/JK!K*JK!(("!*K,GF/JK-+K*JK!((3+*K,GF,/+GF,/#G
F//*JK((?$*KGF/67JKK/7JK.$$KG
F/+7JKKGF/JKK*JK!((*K,GF/JK$*K*JK!((=**K,GF/JK/K*JK!((H/*K,G
F/JKK*JK!(((*K,GF/JK#K*JK!((B*K,GF/JKK*JK!((*K,GF/JK!K*JK!(("!*K,GF/JK-+K*JK!((3+*K,GF,/+GF,/6G
F,//*GF//*JK((*KGF/.JK.K*JK/"#KJK6$K,GF,//*GF//*JK((=**KGF/.JKK*JK/?#"#KJK6$K,GF,//*G
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 63/96
!
"#$$%!&'()"* +,,---./# #1!0
F/*JK((H/*KGF/.JK/#K,GF,/*GF//*JK(((*KGF/GF//.JK/#KG
F/.JK.*6K*JK/.KJKK$!JK!K,GF/.JK-+$*K*JK/?#"#KJKK$!JKK,GF,//GF,/GF,//*GF//*JK((B*KGF/.JKK*JK/"#KJKK,GF/.JK.*K*JK/.KJKK$!JK!K,G
F/.JK$+K*JK/"#KJKK,GF,//*G
F//*JK((*KGF/+7JKKGF/JKK,GF/JKK*JK!((7*K,GF/JK$K*JK!((7*K,GF/JK$K*JK!((7*K,GF,/+GF,//*G
F//*JK((7*KGF/GF//.JK/#KGF:!$*$-+.$$GF/.JK!K*JK/?#"#KJKK$!JKK,GF/.JKK*JK/?#"#KJKK,G
F:!##!+.*/GF/.JK.*K*JK/.KJKK
$!JK!K,GF,//GF,/GF,//*G
F//*JK(("!*KGF/6GF/#!JK!(($K7JKK/7JKK,GF/JK+K*JK!(("!+*K7JKK,GF/JKK*JK!(("!+*K7JKK,GF,/6G
F,//*GF/#JK(($KGF/+GF/JK$K*JK!(($/*K,GF/JKK*JK!(($/*K,GF/JKK,GF/JKK,GF/JK6K*JK!(($(*K,GF/JKK*JK!(($(*K,G
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 64/96
!
"#$$%!&'()"* +,,---./# #2!0
F/JK-+K*JK!(($(3+*K,GF/JK-+K*JK!(($(3+*K,GF/JK$-+K*JK!(($(*K,GF/JK$-+K*JK!(($(*K,GF/JKK*JK!(($(*K,GF/JKK*JK!(($(*K,GF,/+G
F,/#GF//*JK(($/*KGF/6/7JK.$$KGF/#!JK!(($K/7JK.$$K,GF,/6GF,//*GF/*JK(($(*KGF/.JK/#K,GF,/*G
F//*JK(($(3+*KGF/GF//.JK/#KG
F/.JK!K*JK/?#"#KJKK,GF,//GF,/GF,//*GF//*JK(("!+*KGF/67JKK/7JK.$$KGF/#!JK!((7K/7JK.$$K,GF,/6GF,//*G
F//*JK((3+*KGF/6GF/#!JK!(($K7JKK/7JKK,GF/#!JK!((7K/7JK.$$K,GF/JK/K*JK!(("!+*K7JKK,G
F,/6GF/.JK/K*JK/?#"#KJK6$K,G
F,//*G
F/JKK*JK!"*K,GF//*JK"*KGF/+7JKKGF/JKKG
F//*GF/GF//.JK/#KGF/.JK.*6K*JK/.KJKK$!JK!K,GF,//GF,/GF,//*GF,/GF/!JK!K,G
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 65/96
!
"#$$%!&'()"* +,,---./# #>!0
F,/+GF/.JK$K*JK/#KJK6$K,GF/.JK.*K*JK/.KJKK$!JK!K,GF/.JK#K*JK/.KJKK$!JKK,GF,//*G
F/JKK*JK!(?$*K,GF/#JK(7KGF/+GF/JK$*K*JK!(=**K,GF/JK/K*JK!(H/*K,GF/JKK*JK!((*K,GF/JK#K*JK!(B*K,GF/JKK*JK!(*K,GF/JK!K*JK!("!*K,G
F/JK-+K*JK!(3+*K,GF,/+GF,/#G
F//*JK(?$*KGF/67JKK/7JK.$$KGF/+7JKKGF/JK$*K*JK!(=**K,GF/JK/K*JK!(H/*K,GF/JKK*JK!((*K,GF/JK#K*JK!(B*K,GF/JKK*JK!(*K,GF/JK!K*JK!("!*K,G
F/JK-+K*JK!(3+*K,GF,/+GF,/6GF,//*GF//*JK(=**KGF/.JKK*JK/?#"#KJK6$K,G
F,//*G
F/*JK(H/*KGF/.JK/#K,GF,/*G
F//*JK((*KGF/GF//.JK/#KGF/.JK.*6K*JK/.KJKK$!JK!K,GF,//GF,/G
F,//*GF//*JK(B*KGF/.JKK*JK/"#KJKK,GF/.JK.*K*JK/.KJKK$!JK!K,GF,//*GF//*JK(*KGF/+7JKKG
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 66/96
!
"#$$%!&'()"* +,,---./# #!0
F/JKK,GF/JKK*JK!(7*K,GF/JK$K*JK!(7*K,GF/JK$K*JK!(7*K,GF,/+GF,//*G
F//*JK(7*KGF/GF//.JK/#KGF:!$*$-+.$$GF/.JK!K*JK/?#"#KJKK$!JKK,GF/.JKK*JK/?#"#KJKK,GF:!##!+.*/GF/.JK.*K*JK/.KJKK$!JK!K,GF,//GF,/G
F,//*GF//*JK("!*KG
F/6GF/#!JK!($K7JKK/7JKK,GF/JK+K*JK!("!+*K7JKK,GF/JKK*JK!("!+*K7JKK,GF,/6GF,//*GF/#JK($KGF/+GF/JK$K*JK!($/*K,G
F/JKK*JK!($/*K,GF/JKK,GF/JKK,GF/JK6K*JK!($(*K,GF/JKK*JK!($(*K,GF/JK-+K*JK!($(3+*K,GF/JK-+K*JK!($(3+*K,G
F/JK$-+K*JK!($(*K,GF/JK$-+K*JK!($(*K,G
F/JKK*JK!($(*K,GF/JKK*JK!($(*K,GF,/+GF,/#G
F//*JK($/*KGF/6/7JK.$$KGF/#!JK!($K/7JK.$$K,GF,/6GF,//*G
F/*JK($(*KGF/.JK/#K,GF,/*GF//*JK($(3+*KGF/GF//.JK/#KGF/.JK!K*JK/?#"#KJKK,GF,//GF,/G
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 67/96
!
"#$$%!&'()"* +,,---./# #!0
F,//*GF//*JK("!+*KGF/67JKK/7JK.$$KGF/#!JK!(7K/7JK.$$K,GF,/6GF,//*G
F//*JK(3+*KGF/6GF/#!JK!($K7JKK/7JKK,GF/#!JK!(7K/7JK.$$K,GF/JK/K*JK!("!+*K7JKK,GF,/6GF/.JK/K*JK/?#"#KJK6$K,GF,//*G
F,/+G
+setstate@id-device .+##-*#
+ setstate@datetime-utc . + M $ $ -+ + 6
+.#$setstate/a-io+#6!#",7
setstate/a-io@id.+##$!
setstate/a-io@auto-get .+!+ !
+9.*$!;
setstate/a-io/val+!+
setstate/a-io/a-script + ! # 9 ; .
$+9/$$/);
setstate/d-io+#6!$#",7
setstate/d-io@id.+$##$!setstate/d-io@auto-get .+!+ !
+9.*$!;
setstate/d-io/val+!+
setstate/d-io/d-script + ! # 9 ; .
$+9/$$/);
setstate/s-io+#6!",7
setstate/s-io@id.+#$!
setstate/s-io@auto-get .+!+ !
+9.*$!;+ setstate/s-io@binary-result . $! + $ * ! + 9!
*; ! 5 + $ .*5 $ +/ .* $$5 +-
$ . /5$$# !$) $!!5 ! + .*$$+5$!$+$./$+/.*$#setstate/s-io/val+-+
setstate/s-io/val@binary-request .$!+$*!+!
5 + $ .*5 + +/ .* $$5 +- $./9+$!!/;
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 68/96
!
"#$$%!&'()"* +,,---./# #C!0
setstate/s-io/val@writechar-delay . $! + $* $ .
$ .- * - $ .* 9+ $! $!$ .* + !#@+-%$;
setstate/s-io/val@execution-delay . $! + $* $ .
$ .! # $ ! + 9$! # ; 9+$!$!$.*+!#@+-%
$;setstate/s-io/val@at-most .$! + / . ! .*
!+9$!#;
setstate/s-io/val@readchar-timeout . $! + $ .
$.!$#$+!$!+9$!#;9+$!$!$.*+!#@+-%$;
setstate/s-io/s-script + ! # 9 ; .
$+9/$$/);
setstate/user-io+#6!",7
setstate/user-io@id.+#$!
setstate/user-io@auto-get .+!+!
+9.*$!;+setstate/user-io@binary-result .$!+$*!+9!
*; ! 5 + $ .*5 $ +/ .* $$5 +- $ . /5$$# !$) $!!5 ! + .*$$+5$!$+
$./$+/.*$#setstate/user-io/val+-+
setstate/user-io/val@binary-request . $! + $ * ! +
!5+$.*5++/.*$$5+-$./setstate/user-io/u-script +!#9;.
$+9/$$/);
3$ !+!
F"G#+-!+$!$-+#5FG!$-+#+6
3&
H* $ 9<ps-o>5 <a-io>5 <d-io>5 <s-io> $ <user-io>)
+ 6 # $!5 $!! ! * + $ $!**+9!**;.6+!+-+#6
".+#*!+*+.!#$9@;"9;"79,;
1 3+ 6 # ",7 $5 + . #$/$
2 A 65 # 5 $$.* .at-most$readchar-timeout.$#+5$
+$.$.*+!#@$$
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 69/96
!
"#$$%!&'()"* +,,---./# #0!0
3- #"FI/JKK$#JK!CKIGF
/JK+,,---./#,,((/$K $$JK!$121!$>!$1!KG
F$JK+8CKGFGC>F,GF,G F$$JK$1KGFGF,GF,$G F$$JK$1KG
F$G FGF,G F#,G F-+/J4>4G FGF,G F$*J44,G FG!F,G
F$*J44,G F,-+G F!G F6G!F,6G F+G FGFGF,GF,G F,+G FG FGFG!F,GF,G F,G F,!GF,$G
F,$G
F,G
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 70/96
!
"#$$%!&'()"* +,,---./# #!0
4 ++!
4 "#
+F+G$!*+
H*.!+!-#*• $ + - + $ $! $ + !
*",7$+##$
• (*+-*$!5$#$!!$9.55;
• E* + - + ! $ .* + +*
• H+-+#$.*+##9*.+#-*!5-++;
4
FI/JKK$#JK!CKIGF/+$JKHK//JK+,,----1#,,(+KA=!JK6!$K.A=!JK6!$K#?JK+,,---./#,,H/$K/!JK+,,---./#,,H/$K/JK+,,---./#,,(/$K
/+*JK+,,---./#,,E*/$K/JK+,,---./#,,H/$KG
F/JK+,,---./#,,E*/$K+JKE*/$K,GF/JK+,,---./#,,H/$K+JKH/$K,GF/JK+,,---./#,,(/$K+JK(/$K,GF/JKK*JK!H?$*K,GF//*JKH?$*KG
F/+7JKKGF/!JK!$K,GF/!JK!*K,GF/!JK+*+*K,GF/!JKK,GF,/+G
F,//*GF/JK$K*JK!$H'*K,G
F//*JK$H'*KGF/6GF/!JKK7JKK/7JKK,GF,/6GF/.B!JK!H)K,GF/.JK$$K*JK/#KJK6$K,GF/.JKK*JK/?#"#KJKK$!JKK,GF,//*G
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 71/96
!
"#$$%!&'()"* +,,---./# #!0
F/JK*K*JK!(*H'*K,GF//*JK(*H'*KGF/GF//.JK/#KGF/.B!JK!H)K,GF/.JK$K*JK!(*HKJK6$K,G
F,//GF,/GF,//*GF/*JK(*HKGF/.JK/#KGF:"@69/$;,,GF/JK77K,GF:!#69/$;
,,GF/JKH"?"K,GF:
(9/$;,,GF/JK()MK,GF:9/$;,,GF/JKH(HK,GF,/GF,/*G
F/.BJKH)KGF/.JK$$K*JK/#KJK6$K,GF/.JK$K*JK/$KJK6$K,GF,/.BG
F,/+G
+event/condition+$#+#$
+event/condition@id-device .+###-*#
+ event/condition@datetime-utc . + M $ $ -+ +
+.#$+event/condition@level .+*$!$!+$
9@;+ event/condition@id-condition . + $! ! + $ +
#$++event/condition/state +$+$
+ $ 5 #+ -+ + /* $!$ 9-++
#+.$-+#+$;+event/system !#*$
+event/system@id-device .+###-*#
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 72/96
!
"#$$%!&'()"* +,,---./# #!0
+event/system@datetime-utc .+M$$-++
+.#$+ event/system@id . + * $!* . ! +
!-#
• 77$@6+!#• H"?"$ .* + !# +% 6 + 9$!$;
!#• ()M $ @ # +
9#-**!#$$#;D
• H(H$#+#-*D
+event/system *.!*!$.*+#-*
+event/history++*9.*++*
;+event/error+#$9.*+*
@;
4$ !+!"
?$!$!$ A77**5.+)*)*
1 AH"?"**5.+)*)*
2 A()M**5.+)*> AH(H**5.+)*
4&
?
4- #"FI/JKK$#JK!CKIGF/JK+,,---./#,,H/$KGF$$$JK12K$$JK&H7KJK>K$JK112OKGF$$JK12KG
F$JK$2KG1F,G
F$$JKC0KGF,$GF,GF,$GF,G
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 73/96
!
"#$$%!&'()"* +,,---./# #1!0
$ 5/"
"+!-#5!M6$##$+-+-$!-.-+$+#-*+3+ $.# + $ !-5 . !.. +.$ $!*
#-*.5+-+!-#.
677+
B-) +#-*9 +/ !-! +
;
$ $
E E*
$( $
!#+% !#+%
#9;!+#-*
(/ $.$5 $ +-+$!$ !!-!
$$#-*
#-*@ @ $$!- +*$!- $ !#+%$!-
!+$@$.+-+5.5!$$.$5+*!-+$!-+*$++
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 74/96
!
"#$$%!&'()"* +,,---./# #2!0
$ 0#%/##,
AsynchronousBitXml Cmds
Time-scheduledKeep Alive messages
DNS ACK/NACK
DNS Startup
BiTXml Reply / Error
BiTXml Command
DNS ACK/NACK
DNS Keep Alive
HistMtrGwApp Controller
BOOT Sys Event
Init Value
CondMtr
Initialization using Init value
CmdSrv ReconfChk
REINIT Sys Event
Error or Init Value
History Event
RESET Sys Event
Time scheduled conditions check,Asynchronous events generation
Time scheduled history collection,Time scheduled events generation
Time scheduledevents generation
Condition Event / Error
............
STARTUP Sys Event
)#-*+!+-+!.$.$+!$#-+$#-*-+**+#@$9$5+*5
!#+%;
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 75/96
!
"#$$%!&'()"* +,,---./# #>!0
$ ,/
HistMtrGwApp Controller
BOOT Sys Event
Init Value
CondMtr
Initialization error
CmdSrv ReconfChk
Error Event
RESET Sys Event
BOOT Sys Event
Init Value
...
)@*!.!9#-*!5@5;$++$$+-*.*#+@65-+!$$*9#+.;.!*#+.
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 76/96
!
"#$$%!&'()"* +,,---./# #!0
$$ 0/
HistMtrGwApp Controller
BOOT Sys Event
Init Value
CondMtr
Initialization using Init value
CmdSrv ReconfChk
Time scheduled conditions check- one matching condition
Condition Event
...
STARTUP Sys Event
Time scheduled conditions check- no condition matching
Time scheduled conditions check- two matching conditions
Condition A Event
Condition B Event
$.-%#*$+#-*5$*+%#!#$$5$$#-+!+
$+.+$$!$5$/*..%.*+#-*!6$
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 77/96
!
"#$$%!&'()"* +,,---./# #!0
$& '"/
HistMtrGwApp Controller
BOOT Sys Event
Init Value
CondMtr
Initialization using Init value
CmdSrv ReconfChk
History Event
...
STARTUP Sys Event
State collection
State collection
State collection
State collection
State collection
E*.-%#*$+#-*5$*##5#+A"A7.!!5$$#+*96!;-++!#$+$..+!-$#+.+$$!$5$/*..%.*+#-*!6$
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 78/96
!
"#$$%!&'()"* +,,---./# #C!0
$- 0""+/
DNS ACK
DNS Startup
BiTXml Reply / Error
BiTXml Command
DNS ACK
DNS Keep Alive
HistMtrGwApp Controller
BOOT Sys Event
Init Value
CondMtr
Initialization using Init value
CmdSrv ReconfChk
...
STARTUP Sys Event
DNS Keep Alive
DNS ACK
DNS Keep Alive
DNS ACK
BiTXml DNS authentication
BiTXml DNS keep alive
message exchange
BiTXml asynchronous command
+$+.$#+#$#-*++-!$#+/
• !!-5+*$*.+#-*5+.**#
#$!+$$
• !-%!-5+%$.--5+#-*$+9+#!$+$;5$*+-*$.$
+$*6+!+5.
$!/*+-+-%.$.$$)*,"62#+.$5+#++!-#$-.$+%.#++
-$*%-2.9$)";*+.!#-*#+$!$.*%+.$#5#+
%!+-+
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 79/96
!
"#$$%!&'()"* +,,---./# #0!0
7.+$+5*+,.-+#-*$+.$#5-$./$++=?(9$/!!+$;5$+
!5!*+$95#55#+*;$+$#9$;)!5=?(5+#-*++.$#5.*
$#$!!+*%-$#5+++$D+-+#)!=?(+5.+#*+.$!++*.$#+$.#=?(##-+-
)(""9.;+5-+$-+.++$!$5$*#5.%$.*?M9)(""$/;.*"!=?(#$5.%#!5+
$$%-$##5+5!-$$19HL7M?")"7?;+5$+$-5$!#-*D+-5%-$##.
.%+"!$*$5+./$.$+*.%++*.$-+?M9)(""$/;.*5-+$+
$!+#+#+-*-$!!#5-+5*+$+#+*#+$
.?M$+$#+*#+.?M$
++$+$*$$$=?(#"!$$#5$*+
"!$$$#5+5
!-$$19HL7M?")"7?;+5$+$-5$!#-*
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 80/96
!
"#$$%!&'()"* +,,---./# #C!0
$1 %!(8/
HistMtrGwApp Controller
BOOT Sys Event
Init Value
CondMtr
Initialization using Init value
CmdSrv ReconfChk
REINIT Sys Event
Error(NOCFG)
RESET Sys Event
Time scheduledevents generation
...
STARTUP Sys Event
REINIT Sys Event
Error(NOCFG)
REINIT Sys Event
ERROR(NEWCFG)
Reinitialization requests
Reinitialization required
Gateway hot restartusing new Init Value
from Reconfig checker
STARTUP Sys Event
!#+%.-%#*$+#-*5$*$#H"?"*-++!#$+$..
+!-$#"!$$@!#.5+*-++-+$9HL?7B3AB;5$9HL="()H=B3;"[email protected]+$$19HL?H3B3AB;
+.+$$!$5$/*..%.*+#-*!6$
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 81/96
!
"#$$%!&'()"* +,,---./# #C!0
Appendix A – BiTXml V2 Scripting Language
+###!$$/$+#-*
#-.*-#+/!.!#-.$##+##+.$#$.**$**5$.*$5*-!#+#!*+
+/-!+
."#
+!+####!5.*/#!$+)$!!5*.!-*!++##*.$$
###/+#+#$$$#!-+#++5!+!+5$+@$+#+!-#5#-+/#+
9$!;%+.*$!++*+-.$.*#
)*0"
F!G $
F+G F,+G
SFG F,GTF,!G+F!G$$#$.+!+$5+F+G.+/$5+-5!5+FG.+/$
$*.$!!$$#+*!+/$• !#5+!-#-$
o F$G$FG5##!$$o FG5FG!+.o F6G5FG+%!6*$6*+.-+
$o F#G5F#G5FG5FG!$#.-+
$o F$G$F$G+#
• !$#5+!-#-$
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 82/96
!
"#$$%!&'()"* +,,---./# #C!0
o F$G$FG5##!$$o FG5FG!+.o F6G5FG+%!6*$6*+.-+
$
• !$5+!-#-$o F$G$FG5##!$$
o FG5FG!+.o F6G5FG+%!6*$6*+.-+
$o F-+G5F-+G!+9$
5*;-++9/#+*+%$;$o F$-+G5F$-+G!+$9$
$5*;-++9/#+*+%$;$o FG5FG
F+G$FG.+-+$!$!+%$!+
)/(*"
F-+/J4#4G S$T SF/G
F,/GTF,-+G
+F-+G$$.*$$+*-++$$+
++/$!$5++$-++F-+G6*/$"!+$!5+/$D!$$!$5+/$/*+/
$!$"*5!+/$!$+$5!$!$5+F/G/$
)*9#
+$*%+-!!$!+.
$!+.!$-!
+!!$.*+
)*9#
+/+$-.+
+!!$.*+
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 83/96
!
"#$$%!&'()"* +,,---./# #C1!0
)"*9#
+FG+#+.*-#"*+5.#$$!+*!$.*+
• !++$#5+$.D• !++$$#5+.9#;D
• !+!5-.+o 9;$!+*!.!5+
.*5$.+/.*$$5+-9+$!;
+/#o 9;$!+$*$*
.-*-.*-!!$5$+$!$-++$!9@;
• !+5.+o 9;$!+*!.!5+
.*5$.+/.*$$5+-9+$!;
+/#+!!$.*+
)%*9#
+F#G$+$+5$#+"*+5.#$$!+
*!$.*+• !++$#$#5!+..$D
• !+!5+.+o 9;$!+*!+!5+
.*5$.+/.*$$5+-9+$!;+/#
o 9;$!+/.!.*$!+
o 9;$!+$$+$!!$5$+$!
$-++$!9@;
• !+5.+o 9;$!+*!+!5+
.*5$.+/.*$$5+-9+$!;+/#
)*9#
+FG$$!+#$.*+"!+$5+$+F/G
$.+$.*!#.+/FG*+5.#$$!+*!$.*+
• !#$5+$.
• !$#$5+.• !$5!-$
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 84/96
!
"#$$%!&'()"* +,,---./# #C2!0
o FG*o FG.*#+!!$5+
$5+-+%7*5+.
5#$.5+/.*$$9#.;
o F$G$+$*/#!$
!$5+$5+-+%7*5+.5#$.5+/.*$$9#.;"!$!$5+!*6FG
o F$G$+$*/#!$!$5+$5+-+%7*5+.5#$.5+/.*$$9#.;"!
$!$5+!*6FG
)#*9#
+FG.$*5$-++#!+.$!++.+.$!
+$!.$$!$-++@
#"
B!6-$#5-+$25$$F$G
F-+/J4>4GFGF,GF$*J44,GFG!F,GF$*J44,G
F,-+GF,$G
B!-+-#5-+!6*C11E@5$$$
FG
F-+/J44GFGF,G
F$*J44,GFGF,GF$*J44,GFG2F,GF$*J44,GFGF,GF$*J44,GFGCF,G
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 85/96
!
"#$$%!&'()"* +,,---./# #C>!0
F$*J44,GFGF,GF$*J44,G
F,-+GF,G
(+%!$)$FG
F.J404,GF.*6J44G2>2=F,GF$*J44,GF#.*J44$+J4>4,G
F!GFG2A2F,GF+G
F:$GF/G7NF,/GF,+GFG
F:?7$GF/GN7F,/GF,GF,!G
F,G
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 86/96
!
"#$$%!&'()"* +,,---./# #C!0
Appendix B – BiTXml DNS protocol
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 87/96
!
"#$$%!&'()"* +,,---./# #C!0
"#
+=?(+.$#$-+%#!#-*-%!#+-++#-*-%$$**
**.+!+=?($+#-*-+
*.!$-++-%!#!+#-*++#$5$-+++#-++###!+#-*,
+ =?( + . % * $ @ + $!.-+#-*=?($+=?(+/*--%.$5-++$*##.
+-%-++.#$$+#$!!7 ! -% 9 B(;5 + =?( * + + 9+$*;!%#+-%
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 88/96
!
"#$$%!&'()"* +,,---./# #CC!0
:!#""%
+#+!#=?($+$#$#-%$$-+#
+#**.!-$!!*
"!+#-*#*./$1.6*5+#.$!!.*
+!.*$+#5
. +!-#!+1.6*.#$.*$#
/ / / / /
"!+#-*#./$-+)(""#5+#
.$!..!.*5-+
+!$+#!5. +$$+#+.*!+#5$+
#.*+)(""!+#-*
/ /?? / / U
(**.!
)%-$#*/$5.*#$
/2
?%-$#$#++5.*#$
/>
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 89/96
!
"#$$%!&'()"* +,,---./# #C0!0
;#:+""%
+%#.+#+.$.*
+=?($%-$##+.$A+5-%$+?%-$##$5+
=?( ! $%#-+6$ !6*+=?(!##+$!+!6*5-++5!*-%5*#!$@!$
+%#$!#.*
/1
N**.!
)%-$#%*$5.*#$
/2
?%-$#%#6$!+5
.*#$
/>
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 90/96
!
"#$$%!&'()"* +,,---./# #0!0
Appendix C - Sample Gateway Application Start-up Meta Code
M"MJK+,,KD##-*"=JK&OKD.6JD="@JD
9;V =.HJKFF*$J4774KD
=!#HJKFF*$J4H"?"4KD =RHJ.HD =RD
=HJKFF$J4>4KD =*JD .J!D
.(#$J!D .(#E*J!D .(#!#+%J!D
.(#=?(J!D .(#(J!D
-+9; V ,,(6
,,
JE9M"5H;D
,, ,,7(.$7+$ ,,
!9EHJJ; V ,,E$+ ,, !96WW"@JJ; V 9=*;D
D X V
J"@D X X
,, ,,7($*!
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 91/96
!
"#$$%!&'()"* +,,---./# #0!0
,, !9H?JJKK;
V ,,E$ ,,
-+9).'9K,Y$K;; V KK ,,B-*#$.*+
,, ($*9;D .%D
KKD ,,B-*#$.. ,,
($*9;D .%D KKD
,,?!#. ,, 9=*;D D
.%D $!
9=*;D D .%D X
X
,,
,,7($@!# ,, !9:"@"79;; V ,,E$$9!#; ,,(-++%!#+# ,,
HJ!#HD 9=*;D
D X
,, ,,7(@$ ,,
!9:"@$9;; V
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 92/96
!
"#$$%!&'()"* +,,---./# #0!0
,,E$$$!# ,,(-++%!#+# ,,
HJ!#HD D
X ,, ,,7(@$$@$
,, !9:"@E*9;; V
,,E$$+*!# ,,(-++%!#+# ,,
HJ!#HD 9=*;D
D X ,,
,,7( @$$@ ,,$+*@$ ,,
!9:"@!#+%9;; V ,,E$$!#+%!#
,,(-++%!#+#
,, HJ!#HD
9=*;D D X ,,
,,7( @$$@ ,,$+*@$!#+%@ ,,$
,, !9:"@(9;; V
,,E$$!# ,,(-++%!#+# ,,
HJ!#HD 9=*;D
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 93/96
!
"#$$%!&'()"* +,,---./# #01!0
D X
,, ,,7(@$
,, "@JD
,,@ ,, "@9;D
,,$ ,, !9:($9;;
V ,,E$$ ,, !9:(#$;
($HH9>;D (#$JD
9=*;D D
X (#$J!D
,,E*
,, !9:(E*9;;
V ,,E$+* ,, !9:(#E*; ($HH9>;D (#E*JD
9=*;D D
X (#E*J!D
,,!# ,, !9:(!#+%9;;
V ,,E$!#+% ,,
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 94/96
!
"#$$%!&'()"* +,,---./# #02!0
!9:(#!#+%; ($HH9>1;D
(#!#+%JD 9=*;D
D X
(#!#+%J!D ,,=?( ,,
!9:(=?(9;; V ,,E$=?(
,, !9:(#=?(; ($HH9>>;D
(#=?(JD 9=*;D
D X
(#=?(J!D ,,( ,,
!9:((9;;
V ,,E$
,, !9:(#(; ($HH9>2;D (#(JD 9=*;D
D X
(#(J!D ,,
,,7(@$ ,,
($(*H9()M;D
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 95/96
!
"#$$%!&'()"* +,,---./# #0>!0
-+9:; V 9;D
X J!D
($(*H9H(H;D X
X$($*9;
V -+9; 9;D
X."@"79;
V ,,",7+%$@X
."@$9;V ,,$+%$@
X."@E*9;V
,,E*+%$@
X
."@!#+%9;V ,,!#+%$@X."@(9;V ,,(+%$@
X
$"@9;V ,,@
X.($9;
V ,,$X
8/7/2019 BITXml Protocol en 2.0.1
http://slidepdf.com/reader/full/bitxml-protocol-en-201 96/96
!
.(E*9;V
,,E*X
.(!#+%9;V ,,!#X
.(=?(9;V ,,=?(
X.((9;
V ,,(X
Top Related