CF017A_GmVehPwrMod_Explanation


Overview

Sys. St. Req. En. Truth Table
Sorted


Sheet 1: Sys. St. Req. En. Truth Table

System State Request Enable Criteria (formally known as C Term)Comment: The output tables are not in a good order. They could not be used in the Data Dictionary and code directly.
Step 1: Treate the inputs as a binary value of 8 bits, from HwTq is 0 to Comm Enable is 7.
Step 2: Replace the "X" to 0 or 1 in two series in the HwTq column.
Step 3: Calculate the decimal table based on the binary values besides the output tables.
Step 4: Take the outputs tables and the decimal table in a new sheet, and sort it from smallest to the largest based on the decimal table.
Step 5: Use the outputs tables in the Data Dictionary and the code under the new order.
Inputs
Outputs
On = 1Run = 1On =1>GmVehPwrModVehSpdMinKeepAssi = 1Missing = 1Valid = 1Missing = 1Bus is Off = 1IHwTqI!<GmVehPwrModHwTrqMinKeepAssi = 1Yes = 1Yes = 1
Off = 0!Run = 0!On =0<GmVehPwrModVehSpdMinKeepAssi =0Not Missing = 0Miss/Invalid = 0Not Missing = 0Bus is On = 0IHwTqI<GmVehPwrModHwTrqMinKeepAssi for amount of time GmVehPwrModHwTrqMinKeepTmr = 0No =0No = 0








Don't Care = X


Corrected Code Tablev5 Code Tablev4 Code Tablev4 Req Table
Comm EnableSystem Power Mode RunEngine Run ActiveVehicle Speed Arbitrated greater than CalPropulsion System Active Message InvalidVehicle Speed Sensor ValidSystem Power Mode Message InvalidHiSpdBusOffHwTqSystem State Request EnableVariable EffortInput valueCorrected System State RequestCorrected Variable EffortSystem State RequestVariable EffortSystem State RequestVariable EffortSystem State RequestVariable Effort
000010110002200000000
1000101100027800001010
0100101100015000000000
1100101101040610101010
001010110008600000000
1010101101034200101010
0110101100021400000000
1110101101047010101010
000110110005400000000
1001101101031000100010
0101101100018200000000
1101101101043810101010
0011101100011800000000
1011101101037401101110
0111101100024600000000
1111101101050210101010
00000011000600000000
1000001101026210101010
0100001100013400000000
1100001101039010101010
001000110007000000000
1010001101032610101010
0110001100019800000000
1110001101045410101010
000100110003800000000
1001001101029411101110
0101001100016600000000
1101001101042210101010
0011001100010200000000
1011001101035811101110
0111001100023000000000
1111001101048610101010
000011110003000000000
1000111101028600101010
0100111100015800000000
1100111101041410101010
001011110009400000000
1010111101035000101010
0110111100022200000000
1110111101047810101010
000111110006211001100
1001111101031811101110
0101111100019000000000
1101111101044610101010
0011111100012611001100
1011111101038211101110
0111111100025400000000
1111111101051010101010
000001110001400000000
1000011101027010101010
0100011100014200000000
1100011101039810101010
001001110007800000000
1010011101033410101010
0110011100020600000000
1110011101046210101010
000101110004611001100
1001011101030211101110
0101011100017400000000
1101011101043010101010
0011011100011011001100
1011011101036611101110
0111011100023800000000
1111011101049410101010
000010010001810001000
1000100101027410101010
0100100100014600000000
1100100101040210101010
001010010008210001000
1010100101033810101010
0110100100021000000000
1110100101046610101010
000110010005011001100
1001100101030611101110
0101100100017800000000
1101100101043410101010
0011100100011411001100
1011100101037011101110
0111100100024200000000
1111100101049810101010
00000001000200000000
1000000101025810101010
0100000100013000000000
1100000101038610101010
001000010006600000000
1010000101032210101010
0110000100019400000000
1110000101045010101010
000100010003400000000
1001000101029011101110
0101000100016200000000
1101000101041810101010
001100010009800000000
1011000101035411101110
0111000100022600000000
1111000101048210101010
000011010002610001000
1000110101028210101010
0100110100015400000000
1100110101041010101010
001011010009010001000
1010110101034610101010
0110110100021800000000
1110110101047410101010
000111010005811001100
1001110101031411101110
0101110100018600000000
1101110101044210101010
0011110100012211001100
1011110101037811101110
0111110100025000000000
1111110101050610101010
000001010001000000000
1000010101026610101010
0100010100013800000000
1100010101039410101010
001001010007400000000
1010010101033010101010
0110010100020200000000
1110010101045810101010
000101010004211001100
1001010101029811101110
0101010100017000000000
1101010101042610101010
0011010100010611001100
1011010101036211101110
0111010100023400000000
1111010101049010101010
000010100002010001000
1000101001027600101010
0100101000014800000000
1100101001040410101010
001010100008400000000
1010101001034000101010
0110101000021200000000
1110101001046810101010
000110100005200000000
1001101001030800100010
0101101000018000000000
1101101001043610101010
0011101000011600000000
1011101001037201101110
0111101000024400000000
1111101001050010101010
00000010000410001000
1000001001026010101010
0100001000013200000000
1100001001038810101010
001000100106800100010
1010001001032410101010
0110001001019600100010
1110001001045210101010
000100100003600000000
1001001001029211101110
0101001000016400000000
1101001001042010101010
0011001001010000100010
1011001001035611101110
0111001001022800100010
1111001001048410101010
000011100002810001000
1000111001128400111011
0100111000015600000000
1100111001141210111011
001011100009200000000
1010111001134800111011
0110111000022000000000
1110111001147610111011
000111100116011111111
1001111001131611111111
0101111001118800110011
1101111001144410111011
0011111001112411111111
1011111001138011111111
0111111001125200110011
1111111001150810111011
000001100001210001000
1000011001126810111011
0100011000014000000000
1100011001139610111011
001001100117600110011
1010011001133210111011
0110011001120400110011
1110011001146010111011
000101100114411111111
1001011001130011111111
0101011001117200110011
1101011001142810111011
0011011001110811111111
1011011001136411111111
0111011001123600110011
1111011001149210111011
000010000001610001000
1000100001027210101010
0100100001014400100010
1100100001040010101010
001010000008010001000
1010100001033610101010
0110100001020800100010
1110100001046410101010
000110000004811001100
1001100001030411101110
0101100001017600100010
1101100001043210101010
0011100000011211001100
1011100001036811101110
0111100001024000100010
1111100001049610101010
00000000000010001000
1000000001025610101010
0100000001012800100010
1100000001038410101010
001000000106400100010
1010000001032010101010
0110000001019200100010
1110000001044810101010
000100000003200000000
1001000001028811101110
0101000001016000100010
1101000001041610101010
001100000109600100010
1011000001035211101110
0111000001022400100010
1111000001048010101010
000011000002410001000
1000110001128010111011
0100110000015200000000
1100110001140810111011
001011000008810001000
1010110001134410111011
0110110000021600000000
1110110001147210111011
000111000115611111111
1001110001131211111111
0101110001118400110011
1101110001144010111011
0011110001112011111111
1011110001137611111111
0111110001124800110011
1111110001150410111011
00000100100910001000
1000010010026510001000
0100010010013700000000
1100010010039310001000
001001001117300110011
1010010011132910111011
0110010011120100110011
1110010011145710111011
000101001114111111111
1001010011129711111111
0101010011116900110011
1101010011142510111011
0011010011110511111111
1011010011136111111111
0111010011123300110011
1111010011148910111011
000010111102310101010
1000101111027910101010
0100101111015110101010
1100101111040710101010
001010111108710101010
1010101111034310101010
0110101111021510101010
1110101111047110101010
000110111105500100010
1001101111031100100010
0101101111018310101010
1101101111043910101010
0011101111011911101110
1011101111037511101110
0111101111024710101010
1111101111050310101010
00000011110710101010
1000001111026310101010
0100001111013510101010
1100001111039110101010
001000111107110101010
1010001111032710101010
0110001111019900101010
1110001111045510101010
000100111103911101110
1001001111029511101110
0101001111016710101010
1101001111042310101010
0011001111010311101110
1011001111035911101110
0111001111023110101010
1111001111048710101010
000011111103110101010
1000111111028710101010
0100111111015910101010
1100111111041510101010
001011111109510101010
1010111111035110101010
0110111111022310101010
1110111111047910101010
000111111106311101110
1001111111031911101110
0101111111019110101010
1101111111044710101010
0011111111012711101110
1011111111038311101110
0111111111025510101010
1111111111051110101010
000001111101510101010
1000011111027110101010
0100011111014310101010
1100011111039910101010
001001111107910101010
1010011111033510101010
0110011111020710101010
1110011111046310101010
000101111104711101110
1001011111030311101110
0101011111017510101010
1101011111043110101010
0011011111011111101110
1011011111036711101110
0111011111023910101010
1111011111049510101010
000010011101910101010
1000100111027510101010
0100100111014710101010
1100100111040310101010
001010011108310101010
1010100111033910101010
0110100111021110101010
1110100111046710101010
000110011105111101110
1001100111030711101110
0101100111017910101010
1101100111043510101010
0011100111011511111110
1011100111037111101110
0111100111024310101010
1111100111049910101010
00000001110310101010
1000000111025910101010
0100000111013110101010
1100000111038710101010
001000011106710101010
1010000111032310101010
0110000111019510101010
1110000111045110101010
000100011103511101110
1001000111029111101110
0101000111016310101010
1101000111041910101010
001100011109911101110
1011000111035511101110
0111000111022710101010
1111000111048310101010
000011011102710101010
1000110111028310101010
0100110111015510101010
1100110111041110101010
001011011109110101010
1010110111034710101010
0110110111021910101010
1110110111047510101010
000111011105911101110
1001110111031511101110
0101110111018710101010
1101110111044310101010
0011110111012311101110
1011110111037911101110
0111110111025110101010
1111110111050710101010
000001011101110101010
1000010111026710101010
0100010111013910101010
1100010111039510101010
001001011107510101010
1010010111033110101010
0110010111020310101010
1110010111045910101010
000101011104311101110
1001010111029911101110
0101010111017110101010
1101010111042710101010
0011010111010711101110
1011010111036311101110
0111010111023510101010
1111010111049110101010
000010101102110101010
1000101011027710101010
0100101011014910101010
1100101011040510101010
001010101108510101010
1010101011034110101010
0110101011021310101010
1110101011046910101010
000110101105300100010
1001101011030900100010
0101101011018110101010
1101101011043710101010
0011101011011711101110
1011101011037311101110
0111101011024510101010
1111101011050110101010
00000010100510001010
1000001011026110101010
0100001010013310001010
1100001011038910101010
001000101106910101010
1010001011032510101010
0110001011019710101010
1110001011045310101010
000100101003711001110
1001001011029311101110
0101001010016510001010
1101001011042110101010
0011001011010111101110
1011001011035711101110
0111001011022910101010
1111001011048510101010
000011101112910111011
1000111011128510111011
0100111011115710111011
1100111011141310111011
001011101119310111011
1010111011134910111011
0110111011122110111011
1110111011147710111011
000111101116111111111
1001111011131711111111
0101111011118910111011
1101111011144510111011
0011111011112511111111
1011111011138111111111
0111111011125310111011
1111111011150910111011
000001101011310011011
1000011011126910111011
0100011010114110011011
1100011011139710111011
001001101117710111011
1010011011133310111011
0110011011120510111011
1110011011146110111011
000101101114511111111
1001011011130111111111
0101011011117310111011
1101011011142910111011
0011011011110911111111
1011011011136511111111
0111011011123710111011
1111011011149310111011
000010001101710101010
1000100011027310101010
0100100011014510101010
1100100011040110101010
001010001108110101010
1010100011033710101010
0110100011020910101010
1110100011046510101010
000110001104911101110
1001100011030511101110
0101100011017710101010
1101100011043310101010
0011100011011311101110
1011100011036911101110
0111100011024110101010
1111100011049710101010
00000000100110001010
1000000011025710101010
0100000010012910001010
1100000011038510101010
001000001106510101010
1010000011032110101010
0110000011019310101010
1110000011044910101010
000100001003311001110
1001000011028911101110
0101000010016110001010
1101000011041710101010
001100001109711101110
1011000011035311101110
0111000011022510101010
1111000011048110101010
000011001112510111011
1000110011128110111011
0100110011115310111011
1100110011140910111011
001011001118910111011
1010110011134510111011
0110110011121710111011
1110110011147310111011
000111001115711111111
1001110011131311111111
0101110011118510111011
1101110011144110111011
0011110011112111111111
1011110011137711111111
0111110011124910111011
1111110011150510111011
00000100000810001000
1000010000026410001000
0100010000013610001000
1100010000039210001000
001001000117210111011
1010010001132810111011
0110010001120010111011
1110010001145610111011
000101000114011111111
1001010001129611111111
0101010001116810111011
1101010001142410111011
0011010001110411111111
1011010001136011111111
0111010001123210111011
1111010001148810111011

Sheet 2: Sorted

System State Request EnableVariable EffortInput value
000
001
002
103
004
005
006
107
008
009
0010
1011
0012
0113
0014
1015
0016
1017
0018
1019
0020
1021
0022
1023
0024
1125
0026
1027
0028
1129
0030
1031
0032
0033
0034
1035
0036
0037
0038
1039
1140
1141
0042
1043
1144
1145
0046
1047
0048
1049
0050
1051
0052
1053
0054
1055
1156
1157
0058
1059
1160
1161
0062
1063
1064
1065
0066
1067
1068
1069
0070
1071
1172
1173
0074
1075
1176
1177
0078
1079
0080
1081
0082
1083
0084
1085
0086
1087
0088
1189
0090
1091
0092
1193
0094
1095
1096
1097
0098
1099
10100
10101
00102
10103
11104
11105
00106
10107
11108
11109
00110
10111
00112
10113
00114
10115
00116
10117
00118
10119
11120
11121
00122
10123
11124
11125
00126
10127
10128
00129
00130
10131
00132
00133
00134
10135
00136
00137
00138
10139
00140
01141
00142
10143
10144
10145
00146
10147
00148
10149
00150
10151
00152
11153
00154
10155
00156
11157
00158
10159
10160
00161
00162
10163
00164
00165
00166
10167
11168
11169
00170
10171
11172
11173
00174
10175
10176
10177
00178
10179
00180
10181
00182
10183
11184
11185
00186
10187
11188
11189
00190
10191
10192
10193
00194
10195
10196
10197
00198
10199
11200
11201
00202
10203
11204
11205
00206
10207
10208
10209
00210
10211
00212
10213
00214
10215
00216
11217
00218
10219
00220
11221
00222
10223
10224
10225
00226
10227
10228
10229
00230
10231
11232
11233
00234
10235
11236
11237
00238
10239
10240
10241
00242
10243
00244
10245
00246
10247
11248
11249
00250
10251
11252
11253
00254
10255
10256
10257
10258
10259
10260
10261
10262
10263
00264
00265
10266
10267
11268
11269
10270
10271
10272
10273
10274
10275
10276
10277
00278
10279
11280
11281
10282
10283
11284
11285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
11296
11297
10298
10299
11300
11301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
11312
11313
10314
10315
11316
11317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
11328
11329
10330
10331
11332
11333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
11344
11345
10346
10347
11348
11349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
11360
11361
10362
10363
11364
11365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
11376
11377
10378
10379
11380
11381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
00392
00393
10394
10395
11396
11397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
11408
11409
10410
10411
11412
11413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
11424
11425
10426
10427
11428
11429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
11440
11441
10442
10443
11444
11445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
11456
11457
10458
10459
11460
11461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
11472
11473
10474
10475
11476
11477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
11488
11489
10490
10491
11492
11493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
11504
11505
10506
10507
11508
11509
10510
10511
Last modified October 12, 2025: Initial commit (312cf32)