rsmp_schema 0.8.4 → 0.8.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/rsmp_schema/version.rb +1 -1
- data/schemas/core/3.1.2/status_response.json +2 -6
- data/schemas/core/3.1.2/status_update.json +2 -6
- data/schemas/core/3.1.3/status_response.json +22 -26
- data/schemas/core/3.1.3/status_update.json +18 -7
- data/schemas/core/3.2.0/status_response.json +22 -26
- data/schemas/core/3.2.0/status_update.json +16 -5
- data/schemas/tlc/1.0.10/commands/M0012.json +1 -1
- data/schemas/tlc/1.0.10/commands/M0013.json +1 -1
- data/schemas/tlc/1.0.10/sxl.yaml +2 -2
- data/schemas/tlc/1.0.13/commands/M0012.json +1 -1
- data/schemas/tlc/1.0.13/commands/M0013.json +1 -1
- data/schemas/tlc/1.0.13/commands/M0017.json +1 -1
- data/schemas/tlc/1.0.13/statuses/S0027.json +1 -1
- data/schemas/tlc/1.0.13/sxl.yaml +4 -4
- data/schemas/tlc/1.0.14/commands/M0012.json +1 -1
- data/schemas/tlc/1.0.14/commands/M0013.json +1 -1
- data/schemas/tlc/1.0.14/commands/M0017.json +1 -1
- data/schemas/tlc/1.0.14/statuses/S0027.json +1 -1
- data/schemas/tlc/1.0.14/statuses/S0205.json +1 -1
- data/schemas/tlc/1.0.14/statuses/S0206.json +1 -1
- data/schemas/tlc/1.0.14/statuses/S0207.json +1 -1
- data/schemas/tlc/1.0.14/statuses/S0208.json +9 -9
- data/schemas/tlc/1.0.14/sxl.yaml +16 -16
- data/schemas/tlc/1.0.15/commands/M0012.json +1 -1
- data/schemas/tlc/1.0.15/commands/M0013.json +1 -1
- data/schemas/tlc/1.0.15/commands/M0017.json +1 -1
- data/schemas/tlc/1.0.15/statuses/S0027.json +1 -1
- data/schemas/tlc/1.0.15/statuses/S0205.json +1 -1
- data/schemas/tlc/1.0.15/statuses/S0206.json +1 -1
- data/schemas/tlc/1.0.15/statuses/S0207.json +1 -1
- data/schemas/tlc/1.0.15/statuses/S0208.json +9 -9
- data/schemas/tlc/1.0.15/sxl.yaml +16 -16
- data/schemas/tlc/1.0.8/commands/M0012.json +1 -1
- data/schemas/tlc/1.0.8/commands/M0013.json +1 -1
- data/schemas/tlc/1.0.8/sxl.yaml +2 -2
- data/schemas/tlc/1.0.9/commands/M0012.json +1 -1
- data/schemas/tlc/1.0.9/commands/M0013.json +1 -1
- data/schemas/tlc/1.0.9/sxl.yaml +2 -2
- data/schemas/tlc/1.1.0/alarms/A0303.json +1 -1
- data/schemas/tlc/1.1.0/alarms/A0304.json +1 -1
- data/schemas/tlc/1.1.0/commands/M0012.json +1 -1
- data/schemas/tlc/1.1.0/commands/M0013.json +2 -2
- data/schemas/tlc/1.1.0/commands/M0017.json +1 -1
- data/schemas/tlc/1.1.0/commands/M0022.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0001.json +2 -2
- data/schemas/tlc/1.1.0/statuses/S0007.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0008.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0009.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0010.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0011.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0012.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0013.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0020.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0027.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0032.json +2 -2
- data/schemas/tlc/1.1.0/statuses/S0033.json +3 -3
- data/schemas/tlc/1.1.0/statuses/S0205.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0206.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0207.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0208.json +9 -9
- data/schemas/tlc/1.1.0/sxl.yaml +69 -69
- data/schemas/tlc/1.2.0/alarms/A0303.json +1 -1
- data/schemas/tlc/1.2.0/alarms/A0304.json +1 -1
- data/schemas/tlc/1.2.0/commands/M0012.json +1 -1
- data/schemas/tlc/1.2.0/commands/M0013.json +2 -2
- data/schemas/tlc/1.2.0/commands/M0017.json +1 -1
- data/schemas/tlc/1.2.0/commands/M0022.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0001.json +2 -2
- data/schemas/tlc/1.2.0/statuses/S0007.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0008.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0009.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0010.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0011.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0012.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0013.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0020.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0027.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0032.json +2 -2
- data/schemas/tlc/1.2.0/statuses/S0033.json +3 -3
- data/schemas/tlc/1.2.0/statuses/S0205.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0206.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0207.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0208.json +9 -9
- data/schemas/tlc/1.2.0/sxl.yaml +69 -69
- data/schemas/tlc/1.2.1/alarms/A0303.json +1 -1
- data/schemas/tlc/1.2.1/alarms/A0304.json +1 -1
- data/schemas/tlc/1.2.1/commands/M0012.json +1 -1
- data/schemas/tlc/1.2.1/commands/M0013.json +2 -2
- data/schemas/tlc/1.2.1/commands/M0017.json +1 -1
- data/schemas/tlc/1.2.1/commands/M0022.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0001.json +2 -2
- data/schemas/tlc/1.2.1/statuses/S0007.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0008.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0009.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0010.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0011.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0012.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0013.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0020.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0027.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0032.json +2 -2
- data/schemas/tlc/1.2.1/statuses/S0033.json +3 -3
- data/schemas/tlc/1.2.1/statuses/S0205.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0206.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0207.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0208.json +9 -9
- data/schemas/tlc/1.2.1/sxl.yaml +70 -70
- data/sxl_yaml_format.md +237 -0
- metadata +3 -2
data/schemas/tlc/1.0.14/sxl.yaml
CHANGED
@@ -469,7 +469,7 @@ objects:
|
|
469
469
|
Function legend:
|
470
470
|
0=no plan is selected by time table
|
471
471
|
1=set plan 1
|
472
|
-
|
472
|
+
...
|
473
473
|
16= set plan 16
|
474
474
|
|
475
475
|
hour and minute is using local time (not UTC)
|
@@ -589,7 +589,7 @@ objects:
|
|
589
589
|
Number of vehicles.
|
590
590
|
- Value expressed as an integer with a range of 0-65535.
|
591
591
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
592
|
-
- The value is set to
|
592
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
593
593
|
range: "[0-65535,...]"
|
594
594
|
S0206:
|
595
595
|
description: |-
|
@@ -608,7 +608,7 @@ objects:
|
|
608
608
|
Average speed in km/h (integer).
|
609
609
|
- Value expressed as an integer with a range of 0-65535.
|
610
610
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
611
|
-
- The value is set to
|
611
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
612
612
|
range: "[0-65535,...]"
|
613
613
|
S0207:
|
614
614
|
description: |-
|
@@ -627,7 +627,7 @@ objects:
|
|
627
627
|
Occupancy in percent (%) (0-100)
|
628
628
|
- Value expressed as an integer with a range of 0-100.
|
629
629
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
630
|
-
- The value is set to
|
630
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
631
631
|
range: "[0-100,...]"
|
632
632
|
S0208:
|
633
633
|
description: |-
|
@@ -646,7 +646,7 @@ objects:
|
|
646
646
|
Number of cars.
|
647
647
|
- Value expressed as an integer with a range of 0-65535.
|
648
648
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
649
|
-
- The value is set to
|
649
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
650
650
|
range: "[0-65535,...]"
|
651
651
|
PS:
|
652
652
|
type: string
|
@@ -654,7 +654,7 @@ objects:
|
|
654
654
|
Number of cars with trailers.
|
655
655
|
- Value expressed as an integer with a range of 0-65535.
|
656
656
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
657
|
-
- The value is set to
|
657
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
658
658
|
range: "[0-65535,...]"
|
659
659
|
L:
|
660
660
|
type: string
|
@@ -662,7 +662,7 @@ objects:
|
|
662
662
|
Number of trucks.
|
663
663
|
- Value expressed as an integer with a range of 0-65535.
|
664
664
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
665
|
-
- The value is set to
|
665
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
666
666
|
range: "[0-65535,...]"
|
667
667
|
LS:
|
668
668
|
type: string
|
@@ -670,7 +670,7 @@ objects:
|
|
670
670
|
Number of trucks with trailers.
|
671
671
|
- Value expressed as an integer with a range of 0-65535.
|
672
672
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
673
|
-
- The value is set to
|
673
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
674
674
|
range: "[0-65535,...]"
|
675
675
|
B:
|
676
676
|
type: string
|
@@ -678,7 +678,7 @@ objects:
|
|
678
678
|
Number of busses.
|
679
679
|
- Value expressed as an integer with a range of 0-65535.
|
680
680
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
681
|
-
- The value is set to
|
681
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
682
682
|
range: "[0-65535,...]"
|
683
683
|
SP:
|
684
684
|
type: string
|
@@ -686,7 +686,7 @@ objects:
|
|
686
686
|
Number of trams.
|
687
687
|
- Value expressed as an integer with a range of 0-65535.
|
688
688
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
689
|
-
- The value is set to
|
689
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
690
690
|
range: "[0-65535,...]"
|
691
691
|
MC:
|
692
692
|
type: string
|
@@ -694,7 +694,7 @@ objects:
|
|
694
694
|
Number of motor cycles.
|
695
695
|
- Value expressed as an integer with a range of 0-65535.
|
696
696
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
697
|
-
- The value is set to
|
697
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
698
698
|
range: "[0-65535,...]"
|
699
699
|
C:
|
700
700
|
type: string
|
@@ -702,7 +702,7 @@ objects:
|
|
702
702
|
Number of bicycles.
|
703
703
|
- Value expressed as an integer with a range of 0-65535.
|
704
704
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
705
|
-
- The value is set to
|
705
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
706
706
|
range: "[0-65535,...]"
|
707
707
|
F:
|
708
708
|
type: string
|
@@ -710,7 +710,7 @@ objects:
|
|
710
710
|
Number of pedestrians.
|
711
711
|
- Value expressed as an integer with a range of 0-65535.
|
712
712
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
713
|
-
- The value is set to
|
713
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
714
714
|
range: "[0-65535,...]"
|
715
715
|
commands:
|
716
716
|
M0001:
|
@@ -873,7 +873,7 @@ objects:
|
|
873
873
|
1=Order signal group to green
|
874
874
|
0=Order signal group to red
|
875
875
|
|
876
|
-
Format: [Offset],[Bits to set],[Bits to unset]
|
876
|
+
Format: [Offset],[Bits to set],[Bits to unset]:...
|
877
877
|
|
878
878
|
Offset sets where the 16 inputs starts from followed by two 16 bit values telling which bit to set and unset in binary format, i.e. first bit have value 1 and last bit have value 32768.
|
879
879
|
|
@@ -906,7 +906,7 @@ objects:
|
|
906
906
|
description: |-
|
907
907
|
Sets/Unsets a block of 16 inputs at a time. Can be repeated to set several blocks of 16 inputs. Values are separated with comma. Blocks are separated with semicolon. Since semicolon breaks the SXL csv-format, colon, ":" is used in example below.
|
908
908
|
|
909
|
-
Format: [Offset],[Bits to set],[Bits to unset]
|
909
|
+
Format: [Offset],[Bits to set],[Bits to unset]:...
|
910
910
|
|
911
911
|
Offset sets where the 16 inputs starts from followed by two 16 bit values telling which bit to set and unset in binary format, i.e. first bit have value 1 and last bit have value 32768.
|
912
912
|
|
@@ -1024,7 +1024,7 @@ objects:
|
|
1024
1024
|
Function legend:
|
1025
1025
|
0=no plan is selected by time table
|
1026
1026
|
1=set plan 1
|
1027
|
-
|
1027
|
+
...
|
1028
1028
|
16= set plan 16
|
1029
1029
|
|
1030
1030
|
hour and minute is using local time (not UTC)
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"then" : {
|
47
47
|
"properties" : {
|
48
48
|
"v" : {
|
49
|
-
"description" : "Orders signal groups to green or red. Sets a block of 16 signal groups at a time. Can be repeated to set several blocks of 16 signal groups. Values are separated with comma. Blocks are separated with semicolon. Since semicolon breaks the SXL csv-format, colon is used in example below.\n\n1=Order signal group to green\n0=Order signal group to red\n\nFormat: [Offset],[Bits to set],[Bits to unset]
|
49
|
+
"description" : "Orders signal groups to green or red. Sets a block of 16 signal groups at a time. Can be repeated to set several blocks of 16 signal groups. Values are separated with comma. Blocks are separated with semicolon. Since semicolon breaks the SXL csv-format, colon is used in example below.\n\n1=Order signal group to green\n0=Order signal group to red\n\nFormat: [Offset],[Bits to set],[Bits to unset]:...\n\nOffset sets where the 16 inputs starts from followed by two 16 bit values telling which bit to set and unset in binary format, i.e. first bit have value 1 and last bit have value 32768.\n\nExample 1:\n\"5, 4134, 65\" sets input 6,7,10,17 = on and 5,11 = off\n(Input starts from no. 5 and bit 1,2,5,12 = 1 and bit 0,6 = 0)\n\nExample 2:\n\"22, 1, 4\" sets input 22 = on and 24 = off\n(Input starts from no. 22 and bit 0 = 1 and bit 2 = 0)\n\nAnd both these examples could be sent in the same message as:\n\"5,4143,65:22,1,4\"\n\nSuch a message would order signal group 6,7,10,17,22 to green and signal group 5,11,24 to red",
|
50
50
|
"type" : "string"
|
51
51
|
}
|
52
52
|
}
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"then" : {
|
47
47
|
"properties" : {
|
48
48
|
"v" : {
|
49
|
-
"description" : "Sets/Unsets a block of 16 inputs at a time. Can be repeated to set several blocks of 16 inputs. Values are separated with comma. Blocks are separated with semicolon. Since semicolon breaks the SXL csv-format, colon, \":\" is used in example below.\n\nFormat: [Offset],[Bits to set],[Bits to unset]
|
49
|
+
"description" : "Sets/Unsets a block of 16 inputs at a time. Can be repeated to set several blocks of 16 inputs. Values are separated with comma. Blocks are separated with semicolon. Since semicolon breaks the SXL csv-format, colon, \":\" is used in example below.\n\nFormat: [Offset],[Bits to set],[Bits to unset]:...\n\nOffset sets where the 16 inputs starts from followed by two 16 bit values telling which bit to set and unset in binary format, i.e. first bit have value 1 and last bit have value 32768.\n\nExample 1:\n\"5, 4134, 65\" sets input 6,7,10,17 = on and 5,11 = off\n(Input starts from no. 5 and bit 1,2,5,12 = 1 and bit 0,6 = 0)\n\nExample 2:\n\"22, 1, 4\" sets input 22 = on and 24 = off\n(Input starts from no. 22 and bit 0 = 1 and bit 2 = 0)\n\nAnd both thease examples could be sent in the same message as:\n\"5,4143:65:22,1,4\"\n\nSuch a message would activate input 6,7,10,17,22 and deactivate input 5,11,24",
|
50
50
|
"type" : "string"
|
51
51
|
}
|
52
52
|
}
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"then" : {
|
47
47
|
"properties" : {
|
48
48
|
"v" : {
|
49
|
-
"description" : "Time Table. Defines time tables.\nEach time definition is written as t-o-h-m where:\nt=time table nr (1-12)\no=function\nh=hour - switching time\nm=minute - switching minute\n\nFunction legend:\n0=no plan is selected by time table\n1=set plan 1\n
|
49
|
+
"description" : "Time Table. Defines time tables.\nEach time definition is written as t-o-h-m where:\nt=time table nr (1-12)\no=function\nh=hour - switching time\nm=minute - switching minute\n\nFunction legend:\n0=no plan is selected by time table\n1=set plan 1\n...\n16= set plan 16\n\nhour and minute is using local time (not UTC)\n\nEach time definition is separated with a comma.\n\nE.g.\nt-o-h-m,t-o-h-m",
|
50
50
|
"type" : "string"
|
51
51
|
}
|
52
52
|
}
|
@@ -42,7 +42,7 @@
|
|
42
42
|
"then" : {
|
43
43
|
"properties" : {
|
44
44
|
"s" : {
|
45
|
-
"description" : "Time Table. Defines time tables.\nEach time definition is written as t-o-h-m where:\nt=time table nr (1-12)\no=function\nh=hour - switching time\nm=minute - switching minute\n\nFunction legend:\n0=no plan is selected by time table\n1=set plan 1\n
|
45
|
+
"description" : "Time Table. Defines time tables.\nEach time definition is written as t-o-h-m where:\nt=time table nr (1-12)\no=function\nh=hour - switching time\nm=minute - switching minute\n\nFunction legend:\n0=no plan is selected by time table\n1=set plan 1\n...\n16= set plan 16\n\nhour and minute is using local time (not UTC)\n\nEach time definition is separated with a comma\n\nE.g.\nt-o-h-m,t-o-h-m",
|
46
46
|
"type" : "string"
|
47
47
|
}
|
48
48
|
}
|
@@ -69,7 +69,7 @@
|
|
69
69
|
"then" : {
|
70
70
|
"properties" : {
|
71
71
|
"s" : {
|
72
|
-
"description" : "Number of vehicles.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
72
|
+
"description" : "Number of vehicles.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)",
|
73
73
|
"type" : "string"
|
74
74
|
}
|
75
75
|
}
|
@@ -69,7 +69,7 @@
|
|
69
69
|
"then" : {
|
70
70
|
"properties" : {
|
71
71
|
"s" : {
|
72
|
-
"description" : "Average speed in km/h (integer).\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
72
|
+
"description" : "Average speed in km/h (integer).\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)",
|
73
73
|
"type" : "string"
|
74
74
|
}
|
75
75
|
}
|
@@ -69,7 +69,7 @@
|
|
69
69
|
"then" : {
|
70
70
|
"properties" : {
|
71
71
|
"s" : {
|
72
|
-
"description" : "Occupancy in percent (%) (0-100)\n- Value expressed as an integer with a range of 0-100.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
72
|
+
"description" : "Occupancy in percent (%) (0-100)\n- Value expressed as an integer with a range of 0-100.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)",
|
73
73
|
"type" : "string"
|
74
74
|
}
|
75
75
|
}
|
@@ -77,7 +77,7 @@
|
|
77
77
|
"then" : {
|
78
78
|
"properties" : {
|
79
79
|
"s" : {
|
80
|
-
"description" : "Number of cars.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
80
|
+
"description" : "Number of cars.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)",
|
81
81
|
"type" : "string"
|
82
82
|
}
|
83
83
|
}
|
@@ -97,7 +97,7 @@
|
|
97
97
|
"then" : {
|
98
98
|
"properties" : {
|
99
99
|
"s" : {
|
100
|
-
"description" : "Number of cars with trailers.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
100
|
+
"description" : "Number of cars with trailers.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)",
|
101
101
|
"type" : "string"
|
102
102
|
}
|
103
103
|
}
|
@@ -117,7 +117,7 @@
|
|
117
117
|
"then" : {
|
118
118
|
"properties" : {
|
119
119
|
"s" : {
|
120
|
-
"description" : "Number of trucks.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
120
|
+
"description" : "Number of trucks.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)",
|
121
121
|
"type" : "string"
|
122
122
|
}
|
123
123
|
}
|
@@ -137,7 +137,7 @@
|
|
137
137
|
"then" : {
|
138
138
|
"properties" : {
|
139
139
|
"s" : {
|
140
|
-
"description" : "Number of trucks with trailers.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
140
|
+
"description" : "Number of trucks with trailers.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)",
|
141
141
|
"type" : "string"
|
142
142
|
}
|
143
143
|
}
|
@@ -157,7 +157,7 @@
|
|
157
157
|
"then" : {
|
158
158
|
"properties" : {
|
159
159
|
"s" : {
|
160
|
-
"description" : "Number of busses.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
160
|
+
"description" : "Number of busses.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)",
|
161
161
|
"type" : "string"
|
162
162
|
}
|
163
163
|
}
|
@@ -177,7 +177,7 @@
|
|
177
177
|
"then" : {
|
178
178
|
"properties" : {
|
179
179
|
"s" : {
|
180
|
-
"description" : "Number of trams.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
180
|
+
"description" : "Number of trams.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)",
|
181
181
|
"type" : "string"
|
182
182
|
}
|
183
183
|
}
|
@@ -197,7 +197,7 @@
|
|
197
197
|
"then" : {
|
198
198
|
"properties" : {
|
199
199
|
"s" : {
|
200
|
-
"description" : "Number of motor cycles.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
200
|
+
"description" : "Number of motor cycles.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)",
|
201
201
|
"type" : "string"
|
202
202
|
}
|
203
203
|
}
|
@@ -217,7 +217,7 @@
|
|
217
217
|
"then" : {
|
218
218
|
"properties" : {
|
219
219
|
"s" : {
|
220
|
-
"description" : "Number of bicycles.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
220
|
+
"description" : "Number of bicycles.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)",
|
221
221
|
"type" : "string"
|
222
222
|
}
|
223
223
|
}
|
@@ -237,7 +237,7 @@
|
|
237
237
|
"then" : {
|
238
238
|
"properties" : {
|
239
239
|
"s" : {
|
240
|
-
"description" : "Number of pedestrians.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
240
|
+
"description" : "Number of pedestrians.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)",
|
241
241
|
"type" : "string"
|
242
242
|
}
|
243
243
|
}
|
data/schemas/tlc/1.0.15/sxl.yaml
CHANGED
@@ -475,7 +475,7 @@ objects:
|
|
475
475
|
Function legend:
|
476
476
|
0=no plan is selected by time table
|
477
477
|
1=set plan 1
|
478
|
-
|
478
|
+
...
|
479
479
|
16= set plan 16
|
480
480
|
|
481
481
|
hour and minute is using local time (not UTC)
|
@@ -686,7 +686,7 @@ objects:
|
|
686
686
|
Number of vehicles.
|
687
687
|
- Value expressed as an integer with a range of 0-65535.
|
688
688
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
689
|
-
- The value is set to
|
689
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
690
690
|
range: "[0-65535,...]"
|
691
691
|
S0206:
|
692
692
|
description: |-
|
@@ -705,7 +705,7 @@ objects:
|
|
705
705
|
Average speed in km/h (integer).
|
706
706
|
- Value expressed as an integer with a range of 0-65535.
|
707
707
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
708
|
-
- The value is set to
|
708
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
709
709
|
range: "[0-65535,...]"
|
710
710
|
S0207:
|
711
711
|
description: |-
|
@@ -724,7 +724,7 @@ objects:
|
|
724
724
|
Occupancy in percent (%) (0-100)
|
725
725
|
- Value expressed as an integer with a range of 0-100.
|
726
726
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
727
|
-
- The value is set to
|
727
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
728
728
|
range: "[0-100,...]"
|
729
729
|
S0208:
|
730
730
|
description: |-
|
@@ -743,7 +743,7 @@ objects:
|
|
743
743
|
Number of cars.
|
744
744
|
- Value expressed as an integer with a range of 0-65535.
|
745
745
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
746
|
-
- The value is set to
|
746
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
747
747
|
range: "[0-65535,...]"
|
748
748
|
PS:
|
749
749
|
type: string
|
@@ -751,7 +751,7 @@ objects:
|
|
751
751
|
Number of cars with trailers.
|
752
752
|
- Value expressed as an integer with a range of 0-65535.
|
753
753
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
754
|
-
- The value is set to
|
754
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
755
755
|
range: "[0-65535,...]"
|
756
756
|
L:
|
757
757
|
type: string
|
@@ -759,7 +759,7 @@ objects:
|
|
759
759
|
Number of trucks.
|
760
760
|
- Value expressed as an integer with a range of 0-65535.
|
761
761
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
762
|
-
- The value is set to
|
762
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
763
763
|
range: "[0-65535,...]"
|
764
764
|
LS:
|
765
765
|
type: string
|
@@ -767,7 +767,7 @@ objects:
|
|
767
767
|
Number of trucks with trailers.
|
768
768
|
- Value expressed as an integer with a range of 0-65535.
|
769
769
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
770
|
-
- The value is set to
|
770
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
771
771
|
range: "[0-65535,...]"
|
772
772
|
B:
|
773
773
|
type: string
|
@@ -775,7 +775,7 @@ objects:
|
|
775
775
|
Number of busses.
|
776
776
|
- Value expressed as an integer with a range of 0-65535.
|
777
777
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
778
|
-
- The value is set to
|
778
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
779
779
|
range: "[0-65535,...]"
|
780
780
|
SP:
|
781
781
|
type: string
|
@@ -783,7 +783,7 @@ objects:
|
|
783
783
|
Number of trams.
|
784
784
|
- Value expressed as an integer with a range of 0-65535.
|
785
785
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
786
|
-
- The value is set to
|
786
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
787
787
|
range: "[0-65535,...]"
|
788
788
|
MC:
|
789
789
|
type: string
|
@@ -791,7 +791,7 @@ objects:
|
|
791
791
|
Number of motor cycles.
|
792
792
|
- Value expressed as an integer with a range of 0-65535.
|
793
793
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
794
|
-
- The value is set to
|
794
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
795
795
|
range: "[0-65535,...]"
|
796
796
|
C:
|
797
797
|
type: string
|
@@ -799,7 +799,7 @@ objects:
|
|
799
799
|
Number of bicycles.
|
800
800
|
- Value expressed as an integer with a range of 0-65535.
|
801
801
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
802
|
-
- The value is set to
|
802
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
803
803
|
range: "[0-65535,...]"
|
804
804
|
F:
|
805
805
|
type: string
|
@@ -807,7 +807,7 @@ objects:
|
|
807
807
|
Number of pedestrians.
|
808
808
|
- Value expressed as an integer with a range of 0-65535.
|
809
809
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
810
|
-
- The value is set to
|
810
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
811
811
|
range: "[0-65535,...]"
|
812
812
|
commands:
|
813
813
|
M0001:
|
@@ -970,7 +970,7 @@ objects:
|
|
970
970
|
1=Order signal group to green
|
971
971
|
0=Order signal group to red
|
972
972
|
|
973
|
-
Format: [Offset],[Bits to set],[Bits to unset]
|
973
|
+
Format: [Offset],[Bits to set],[Bits to unset]:...
|
974
974
|
|
975
975
|
Offset sets where the 16 inputs starts from followed by two 16 bit values telling which bit to set and unset in binary format, i.e. first bit have value 1 and last bit have value 32768.
|
976
976
|
|
@@ -1003,7 +1003,7 @@ objects:
|
|
1003
1003
|
description: |-
|
1004
1004
|
Sets/Unsets a block of 16 inputs at a time. Can be repeated to set several blocks of 16 inputs. Values are separated with comma. Blocks are separated with semicolon. Since semicolon breaks the SXL csv-format, colon, ":" is used in example below.
|
1005
1005
|
|
1006
|
-
Format: [Offset],[Bits to set],[Bits to unset]
|
1006
|
+
Format: [Offset],[Bits to set],[Bits to unset]:...
|
1007
1007
|
|
1008
1008
|
Offset sets where the 16 inputs starts from followed by two 16 bit values telling which bit to set and unset in binary format, i.e. first bit have value 1 and last bit have value 32768.
|
1009
1009
|
|
@@ -1121,7 +1121,7 @@ objects:
|
|
1121
1121
|
Function legend:
|
1122
1122
|
0=no plan is selected by time table
|
1123
1123
|
1=set plan 1
|
1124
|
-
|
1124
|
+
...
|
1125
1125
|
16= set plan 16
|
1126
1126
|
|
1127
1127
|
hour and minute is using local time (not UTC)
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"then" : {
|
47
47
|
"properties" : {
|
48
48
|
"v" : {
|
49
|
-
"description" : "Orders signal groups to green or red. Sets a block of 16 signal groups at a time. Can be repeated to set several blocks of 16 signal groups. Values are separated with comma. Blocks are separated with semicolon. Since semicolon breaks the SXL csv-format, colon is used in example below.\n\n1=Order signal group to green\n0=Order signal group to red\n\nFormat: [Offset],[Bits to set],[Bits to unset]
|
49
|
+
"description" : "Orders signal groups to green or red. Sets a block of 16 signal groups at a time. Can be repeated to set several blocks of 16 signal groups. Values are separated with comma. Blocks are separated with semicolon. Since semicolon breaks the SXL csv-format, colon is used in example below.\n\n1=Order signal group to green\n0=Order signal group to red\n\nFormat: [Offset],[Bits to set],[Bits to unset]:...\n\nOffset sets where the 16 inputs starts from followed by two 16 bit values telling which bit to set and unset in binary format, i.e. first bit have value 1 and last bit have value 32768.\n\nExample 1:\n\"5, 4134, 65\" sets input 6,7,10,17 = on and 5,11 = off\n(Input starts from no. 5 and bit 1,2,5,12 = 1 and bit 0,6 = 0)\n\nExample 2:\n\"22, 1, 4\" sets input 22 = on and 24 = off\n(Input starts from no. 22 and bit 0 = 1 and bit 2 = 0)\n\nAnd both these examples could be sent in the same message as:\n\"5,4143,65:22,1,4\"\n\nSuch a message would order signal group 6,7,10,17,22 to green and signal group 5,11,24 to red",
|
50
50
|
"type" : "string"
|
51
51
|
}
|
52
52
|
}
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"then" : {
|
47
47
|
"properties" : {
|
48
48
|
"v" : {
|
49
|
-
"description" : "Sets/Unsets a block of 16 inputs at a time. Can be repeated to set several blocks of 16 inputs. Values are separated with comma. Blocks are separated with semicolon. Since semicolon breaks the SXL csv-format, colon, \":\" is used in example below.\n\nFormat: [Offset],[Bits to set],[Bits to unset]
|
49
|
+
"description" : "Sets/Unsets a block of 16 inputs at a time. Can be repeated to set several blocks of 16 inputs. Values are separated with comma. Blocks are separated with semicolon. Since semicolon breaks the SXL csv-format, colon, \":\" is used in example below.\n\nFormat: [Offset],[Bits to set],[Bits to unset]:...\n\nOffset sets where the 16 inputs starts from followed by two 16 bit values telling which bit to set and unset in binary format, i.e. first bit have value 1 and last bit have value 32768.\n\nExample 1:\n\"5, 4134, 65\" sets input 6,7,10,17 = on and 5,11 = off\n(Input starts from no. 5 and bit 1,2,5,12 = 1 and bit 0,6 = 0)\n\nExample 2:\n\"22, 1, 4\" sets input 22 = on and 24 = off\n(Input starts from no. 22 and bit 0 = 1 and bit 2 = 0)\n\nAnd both thease examples could be sent in the same message as:\n\"5,4143:65:22,1,4\"\n\nSuch a message would activate input 6,7,10,17,22 and deactivate input 5,11,24",
|
50
50
|
"type" : "string"
|
51
51
|
}
|
52
52
|
}
|
data/schemas/tlc/1.0.8/sxl.yaml
CHANGED
@@ -606,7 +606,7 @@ objects:
|
|
606
606
|
1=Order signal group to green
|
607
607
|
0=Order signal group to red
|
608
608
|
|
609
|
-
Format: [Offset],[Bits to set],[Bits to unset]
|
609
|
+
Format: [Offset],[Bits to set],[Bits to unset]:...
|
610
610
|
|
611
611
|
Offset sets where the 16 inputs starts from followed by two 16 bit values telling which bit to set and unset in binary format, i.e. first bit have value 1 and last bit have value 32768.
|
612
612
|
|
@@ -639,7 +639,7 @@ objects:
|
|
639
639
|
description: |-
|
640
640
|
Sets/Unsets a block of 16 inputs at a time. Can be repeated to set several blocks of 16 inputs. Values are separated with comma. Blocks are separated with semicolon. Since semicolon breaks the SXL csv-format, colon, ":" is used in example below.
|
641
641
|
|
642
|
-
Format: [Offset],[Bits to set],[Bits to unset]
|
642
|
+
Format: [Offset],[Bits to set],[Bits to unset]:...
|
643
643
|
|
644
644
|
Offset sets where the 16 inputs starts from followed by two 16 bit values telling which bit to set and unset in binary format, i.e. first bit have value 1 and last bit have value 32768.
|
645
645
|
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"then" : {
|
47
47
|
"properties" : {
|
48
48
|
"v" : {
|
49
|
-
"description" : "Orders signal groups to green or red. Sets a block of 16 signal groups at a time. Can be repeated to set several blocks of 16 signal groups. Values are separated with comma. Blocks are separated with semicolon. Since semicolon breaks the SXL csv-format, colon is used in example below.\n\n1=Order signal group to green\n0=Order signal group to red\n\nFormat: [Offset],[Bits to set],[Bits to unset]
|
49
|
+
"description" : "Orders signal groups to green or red. Sets a block of 16 signal groups at a time. Can be repeated to set several blocks of 16 signal groups. Values are separated with comma. Blocks are separated with semicolon. Since semicolon breaks the SXL csv-format, colon is used in example below.\n\n1=Order signal group to green\n0=Order signal group to red\n\nFormat: [Offset],[Bits to set],[Bits to unset]:...\n\nOffset sets where the 16 inputs starts from followed by two 16 bit values telling which bit to set and unset in binary format, i.e. first bit have value 1 and last bit have value 32768.\n\nExample 1:\n\"5, 4134, 65\" sets input 6,7,10,17 = on and 5,11 = off\n(Input starts from no. 5 and bit 1,2,5,12 = 1 and bit 0,6 = 0)\n\nExample 2:\n\"22, 1, 4\" sets input 22 = on and 24 = off\n(Input starts from no. 22 and bit 0 = 1 and bit 2 = 0)\n\nAnd both these examples could be sent in the same message as:\n\"5,4143,65:22,1,4\"\n\nSuch a message would order signal group 6,7,10,17,22 to green and signal group 5,11,24 to red",
|
50
50
|
"type" : "string"
|
51
51
|
}
|
52
52
|
}
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"then" : {
|
47
47
|
"properties" : {
|
48
48
|
"v" : {
|
49
|
-
"description" : "Sets/Unsets a block of 16 inputs at a time. Can be repeated to set several blocks of 16 inputs. Values are separated with comma. Blocks are separated with semicolon. Since semicolon breaks the SXL csv-format, colon, \":\" is used in example below.\n\nFormat: [Offset],[Bits to set],[Bits to unset]
|
49
|
+
"description" : "Sets/Unsets a block of 16 inputs at a time. Can be repeated to set several blocks of 16 inputs. Values are separated with comma. Blocks are separated with semicolon. Since semicolon breaks the SXL csv-format, colon, \":\" is used in example below.\n\nFormat: [Offset],[Bits to set],[Bits to unset]:...\n\nOffset sets where the 16 inputs starts from followed by two 16 bit values telling which bit to set and unset in binary format, i.e. first bit have value 1 and last bit have value 32768.\n\nExample 1:\n\"5, 4134, 65\" sets input 6,7,10,17 = on and 5,11 = off\n(Input starts from no. 5 and bit 1,2,5,12 = 1 and bit 0,6 = 0)\n\nExample 2:\n\"22, 1, 4\" sets input 22 = on and 24 = off\n(Input starts from no. 22 and bit 0 = 1 and bit 2 = 0)\n\nAnd both thease examples could be sent in the same message as:\n\"5,4143:65:22,1,4\"\n\nSuch a message would activate input 6,7,10,17,22 and deactivate input 5,11,24",
|
50
50
|
"type" : "string"
|
51
51
|
}
|
52
52
|
}
|
data/schemas/tlc/1.0.9/sxl.yaml
CHANGED
@@ -606,7 +606,7 @@ objects:
|
|
606
606
|
1=Order signal group to green
|
607
607
|
0=Order signal group to red
|
608
608
|
|
609
|
-
Format: [Offset],[Bits to set],[Bits to unset]
|
609
|
+
Format: [Offset],[Bits to set],[Bits to unset]:...
|
610
610
|
|
611
611
|
Offset sets where the 16 inputs starts from followed by two 16 bit values telling which bit to set and unset in binary format, i.e. first bit have value 1 and last bit have value 32768.
|
612
612
|
|
@@ -639,7 +639,7 @@ objects:
|
|
639
639
|
description: |-
|
640
640
|
Sets/Unsets a block of 16 inputs at a time. Can be repeated to set several blocks of 16 inputs. Values are separated with comma. Blocks are separated with semicolon. Since semicolon breaks the SXL csv-format, colon, ":" is used in example below.
|
641
641
|
|
642
|
-
Format: [Offset],[Bits to set],[Bits to unset]
|
642
|
+
Format: [Offset],[Bits to set],[Bits to unset]:...
|
643
643
|
|
644
644
|
Offset sets where the 16 inputs starts from followed by two 16 bit values telling which bit to set and unset in binary format, i.e. first bit have value 1 and last bit have value 32768.
|
645
645
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"description" : "Serious detector error (hardware).\nIs a
|
2
|
+
"description" : "Serious detector error (hardware).\nIs a \"major fault\" defined according to 3.8 i EN12675 which causes the controller to switch to a \"failure mode\" according to 3.6 in EN12675.",
|
3
3
|
"allOf" : [
|
4
4
|
{
|
5
5
|
"properties" : {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"description" : "Serious detector error (logic error).\nFor instance; detector continuously on or off during an extended time.\nIs a
|
2
|
+
"description" : "Serious detector error (logic error).\nFor instance; detector continuously on or off during an extended time.\nIs a \"major fault\" defined according to 3.8 i EN12675 which causes the controller to switch to a \"failure mode\" according to 3.6 in EN12675",
|
3
3
|
"allOf" : [
|
4
4
|
{
|
5
5
|
"properties" : {
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"then" : {
|
47
47
|
"properties" : {
|
48
48
|
"v" : {
|
49
|
-
"description" : "Orders signal groups to green or red. Sets a block of 16 signal groups at a time. Can be repeated to set several blocks of 16 signal groups. Values are separated with comma. Blocks are separated with semicolon. Since semicolon breaks the SXL csv-format, colon is used in example below.\n\n1=Order signal group to green\n0=Order signal group to red\n\nFormat: [Offset],[Bits to set],[Bits to unset]
|
49
|
+
"description" : "Orders signal groups to green or red. Sets a block of 16 signal groups at a time. Can be repeated to set several blocks of 16 signal groups. Values are separated with comma. Blocks are separated with semicolon. Since semicolon breaks the SXL csv-format, colon is used in example below.\n\n1=Order signal group to green\n0=Order signal group to red\n\nFormat: [Offset],[Bits to set],[Bits to unset]:...\n\nOffset sets where the 16 inputs starts from followed by two 16 bit values telling which bit to set and unset in binary format, i.e. first bit have value 1 and last bit have value 32768.\n\nExample 1:\n\"5, 4134, 65\" sets input 6,7,10,17 = on and 5,11 = off\n(Input starts from no. 5 and bit 1,2,5,12 = 1 and bit 0,6 = 0)\n\nExample 2:\n\"22, 1, 4\" sets input 22 = on and 24 = off\n(Input starts from no. 22 and bit 0 = 1 and bit 2 = 0)\n\nAnd both these examples could be sent in the same message as:\n\"5,4143,65:22,1,4\"\n\nSuch a message would order signal group 6,7,10,17,22 to green and signal group 5,11,24 to red",
|
50
50
|
"type" : "string"
|
51
51
|
}
|
52
52
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"description" : "Activate a series of inputs\n\nSet given inputs (1-255) of the controllers general purpose I/O to either true or false. This command was introduced due to coordination requirements needing to set many inputs to true/false at the same time and M0006 being to slow to send a message for each input individually. With this command many inputs can be set to true/false at the same time using a single command message. It can be used for all types of input where the traffic light controller must react to external control. Typical usages are bus priority, coordination between traffic controllers, external control systems, and much more.\n\nRequires security code 2.\n\nThe parameter
|
2
|
+
"description" : "Activate a series of inputs\n\nSet given inputs (1-255) of the controllers general purpose I/O to either true or false. This command was introduced due to coordination requirements needing to set many inputs to true/false at the same time and M0006 being to slow to send a message for each input individually. With this command many inputs can be set to true/false at the same time using a single command message. It can be used for all types of input where the traffic light controller must react to external control. Typical usages are bus priority, coordination between traffic controllers, external control systems, and much more.\n\nRequires security code 2.\n\nThe parameter 'status' sets/unsets a block of 16 inputs at a time. It can be repeated to set several blocks of 16 inputs. Values are separated with comma. Blocks are separated with semicolon. Format: [Offset];[Bits to set];[Bits to unset];...\n\n- 'Offset' defines where the 16 inputs starts from\n- 'Bits to set' defines which bit(s) to set. '0' if unused\n- 'Bits to unset' defines which bit(s) to unset. '0' if unused\n\nExample 1:\n\"3,4134,65\" sets input 4,5,8,15 and unsets 3,9\n- Input starts from no. 5\n- \"4134\" is 1 0000 0010 0110 in binary, but since input starts from 3, it is shifted 3 bits, e.g. 1000 0001 0011 0000 which are bits 4,5,8,15\n- \"65\" is 100 0001 in binary, but since input starts from 3, it is shifted 3 bits, e.g. 10 0000 1000 which are bits 3,9\n\nExample 2:\n\"12,1,4\" sets input 12 and unsets 14\n- Input starts from no. 12\n- \"1\" is 1 in binary, but since input starts at 12 it is shifted 12 bits, e.g. 1 0000 0000 0000, which is bit 12\n- \"4\" is 100 in binary, but since input starts at 12 it is shifted 12 bits, e.g. 100 0000 0000 0000, which is bit 14\n\nAnd both these examples could be sent in the same message as: \"3,4143,65;12,1,4\"\n\nSuch a message would set input 4,5,8,12,15 and unset input 3,9,14\n\nExample 3:\n\"0,1,2\" sets input 0 and unsets 1\n- Input starts from 0\n- \"1\" is 1 in binary, which is bit 0\n- \"2\" is 10 in binary, which is bit 1",
|
3
3
|
"allOf" : [
|
4
4
|
{
|
5
5
|
"properties" : {
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"then" : {
|
47
47
|
"properties" : {
|
48
48
|
"v" : {
|
49
|
-
"description" : "Sets/Unsets a block of 16 inputs at a time. Can be repeated to set several blocks of 16 inputs. Values are separated with comma. Blocks are separated with semicolon.\nFormat: [Offset];[Bits to set];[Bits to unset]
|
49
|
+
"description" : "Sets/Unsets a block of 16 inputs at a time. Can be repeated to set several blocks of 16 inputs. Values are separated with comma. Blocks are separated with semicolon.\nFormat: [Offset];[Bits to set];[Bits to unset];...",
|
50
50
|
"type" : "string"
|
51
51
|
}
|
52
52
|
}
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"then" : {
|
47
47
|
"properties" : {
|
48
48
|
"v" : {
|
49
|
-
"description" : "Time Table. Defines time tables.\nEach time definition is written as t-o-h-m where:\nt=time table nr (1-12)\no=function\nh=hour - switching time\nm=minute - switching minute\n\nFunction legend:\n0=no plan is selected by time table\n1=set plan 1\n
|
49
|
+
"description" : "Time Table. Defines time tables.\nEach time definition is written as t-o-h-m where:\nt=time table nr (1-12)\no=function\nh=hour - switching time\nm=minute - switching minute\n\nFunction legend:\n0=no plan is selected by time table\n1=set plan 1\n...\n16= set plan 16\n\nhour and minute is using local time (not UTC)\n\nEach time definition is separated with a comma.\n\nE.g.\nt-o-h-m,t-o-h-m",
|
50
50
|
"type" : "string"
|
51
51
|
}
|
52
52
|
}
|