Skip to content

Differences between PDM and RL with multiple entries (AJsCGM and Lytrix)

Eelke Jager edited this page Nov 23, 2018 · 13 revisions

Found differences PDM RL basal rates

Findings:

  • All 0x13 Basal Extra commands look ok.
  • If you have 00:00-02:00 and 02:00-10:00 the PDM wil always join the same basal rates together to max 8 hours, so the PDM examples always do this.
  • If a entry is x.x5, like 0.05, 0.65 it will round the numbers of pulses up in the first half hour by adding an extra napp. (see 6, 9 and 13 Entries example below)
  • Except if the x.x5 entry starts in the last half hour of the segment and the previous half hour value is already a round down pulse count (See last 6 entry example) then it will even continue the previous value of 0.30 to add a 0.35 in the next segment to make 0.65.

Merge NOTOK

Merge example from Joe's basal schedule and Anders' PDM capture

  • 00:00-03:00 0.80
  • 03:00-05:00 0.90
  • 05:00-07:30 0.85
  • 07:30-12:30 0.85
  • 12:30-15:00 0.85
  • 15:00-18:00 0.70
  • 18:00-20:00 0.90
  • 20:00-24:00 1.10
     1a LL NNNNNNNN 00 CCCC HH SSSS PPPP napp napp napp napp napp napp napp napp 
PDM  1a 1a 851072aa 00 0242 2a 1e50 0006 5008 3009 f808 3808      5007 3009 700b 
Loop 1a 1c 79afe29c 00 0286 18 18b0 0003 5008 3009 4808 9808 4808 5007 3009 700b 
13 LL RR MM NNNN XXXXXXXX YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ
13 2c 40 05 0262 00455b9c 01e0 015752a0 0168 01312d00 06a4 01432096                             01a4 01885e6d 0168 01312d00 0370 00f9b074
13 38 00 03 0026 006dfa91 01e0 015752a0 0168 01312d00 01a9 01432096 0352 01432096 01a9 01432096 01a4 01885e6d 0168 01312d00 0370 00f9b074

1 Entry OK

  • 00:00-24:00 1.00
                         1a LL NNNNNNNN 00 CCCC HH SSSS PPPP napp napp napp 13 LL RR MM NNNN XXXXXXXX YYYY ZZZZZZZZ
PDM  2018-10-12T22:44:43 1a 12 17bfe192 00 02ee 2d 1cc0 0005 f00a f00a f00a 13 0e 40 00 00fc 001e8480 12c0 0112a880
Loop 2018-11-19 18:43:03 1a 12 9047a8e2 00 02ea 25 1fc0 0006 f00a f00a f00a 13 0e 00 00 0421 007d78e5 12c0 0112a880

1 Entry OK

  • 00:00-24:00 1.05
                         1a LL NNNNNNNN 00 CCCC HH SSSS PPPP napp napp napp 13 LL RR MM NNNN XXXXXXXX YYYY ZZZZZZZZ
PDM  2018-10-12T18:01:20 1a 12 d4143883 00 032b 24 35d0 000a f80a f80a f80a 13 0e 40 00 04e8 0075b5ed 13b0 01059449
Loop 2018-11-19 18:43:18 1a 12 0fcfa54a 00 028a 25 1f48 0006 f80a f80a f80a 13 0e 00 00 0455 006f6402 13b0 01059449

2 Entries OK

  • 00:00-10:00 0.60
  • 10:00-24:00 0.65
                    1a LL NNNNNNNN 00 CCCC HH SSSS PPPP napp napp napp napp 13 LL RR MM NNNN XXXXXXXX YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ
2018-11-14T16:29:12 1a 14 5b862916 00 0292 20 0278 0000 b009 b00f f009 7009 13 1a 40 02 054a 0121eac0 0438 01312d00 0708 00b71b00 0870 01312d00
2018-11-19 18:43:33 1a 14 d3904fc8 00 0310 25 1ed0 0005 b009 b00f f009 7009 13 1a 00 02 03b6 005ef4f7 0438 01312d00 0708 00b71b00 0870 01312d00

3 entries OK

  • 00:00-06:00 0.90
  • 06:00-12:00 1.50
  • 12:00-24:00 0.90
                    1a LL NNNNNNNN TT CCCC HH SSSS PPPP napp napp napp napp 13 LL RR MM NNNN XXXXXXXX YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ
2018-10-28T14:40:39 1a 14 a94c17e5 00 021e 1a 3688 0006 7006 b807 f806 b806 13 1a 40 02 0595 0005de66 01e0 01c9c380 0384 016e3600 071c 01a68d13
2018-11-19 18:43:49 1a 14 504b7752 00 01d7 25 1e50 0004 7006 b807 f806 b806 13 1a 00 02 02ad 000d2534 01e0 01c9c380 0384 016e3600 071c 01a68d13

3 entries OK

  • 00:00-04:00 0.60
  • 04:00-10:00 0.75
  • 10:00-23:00 0.65
                    1a LL NNNNNNNN TT CCCC HH SSSS PPPP napp napp napp napp napp 13 LL RR MM NNNN XXXXXXXX YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ
2018-10-28T11:38:26 1a 16 dd02937f 00 0299 17 2888 0006 f00a 000a f009 3009 a00a 13 1a 40 01 04d3 01036640 06a4 0112a880 0708 01312d00 044c 0112a880
2018-11-19 18:44:06 1a 16 8853278b 00 02db 25 1dc8 0005 f00a 000a f009 3009 a00a 13 1a 00 02 041d 010fd2a4 06a4 0112a880 0708 01312d00 044c 0112a880

4 entries Some differences, but probably of wrong hours written down

  • 00:00-00:30 0.65
  • 00:30-07:30 0.60
  • 07:30-15:30 0.65
  • 15:30-24:00 0.80
                         1a LL NNNNNNNN TT CCCC HH SSSS PPPP napp napp napp napp napp 13 LL RR MM NNNN XXXXXXXX YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ
PDM  2018-11-18T14:21:22 1a 16 851072aa 00 01af 1c 1038 0001 e006 0007 e806 f008 0008 13 20 40 02 0095 0139643d 0041 01a68d13 0348 01c9c380 0410 01a68d13 0550 015752a0
Loop 2018-11-19 18:44:21 1a 16 13ec74d6 00 01e0 25 1d50 0004 0006 d006 f806 f008 0008 13 20 00 03 0349 00f0e278 0041 01a68d13 0348 01c9c380 0410 01a68d13 0550 015752a0

6 Entries NOTOK

  • 00:00-01:00 2.75
  • 01:00-01:30 20.25
  • 01:30-02:00 5.00
  • 02:00-02:30 10.10
  • 02:30-15:30 0.05
  • 15:30-00:00 3.50

@ 02:30 13 hours of 0.05 f800 9800 -> 0001 f800 8800 Adds 0001 to start with a pulse 0.025 per half hour is rounded up to start with.

                         1a LL NNNNNNNN 00 CCCC HH SSSS PPPP napp napp napp napp napp napp napp napp napp
PDM  2018-11-14T18:18:38 1a 1e c2a32da8 00 053a 28 1af0 0010 181b 00ca 0032 0065 0001 f800 8800 f023 0023            
Loop 2018-11-19 18:44:37 1a 1c 449a286e 00 051b 25 1cd0 0012 181b 00ca 0032 0065      f800 9800 f023 0023 
     13 LL RR MM NNNN XXXXXXXX YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ
PDM  13 2c 40 05 0a3a 002ff4af 0226 0063e02e 07e9 000d9038 01f4 0036ee80 03f2 001b31a2 0082 15752a00 173e 004e7949
Loop 13 2c 00 05 0e60 0023e4db 0226 0063e02e 07e9 000d9038 01f4 0036ee80 03f2 001b31a2 0082 15752a00 173e 004e7949 

6 Entries NOTOK

  • 00:00-07:30 0.60
  • 07:30-08:30 0.65
  • 08:30-09:30 0.50
  • 09:30-15:30 0.65
  • 15:30-16:30 0.15
  • 16:30-24:00 0.80

@07:30 0.65 for 1 hour e006 1806 -> f006 0007 Continues with previous 0.30U per half hour to fill segment and adds 7x0.05.

                    1a LL NNNNNNNN 00 CCCC HH SSSS PPPP napp napp napp napp napp napp
2018-11-19T22:12:09 1a 18 851072aa 00 021b 2c 2190 0004 f006 0007 1005 b806 1801 e008 
2018-11-19 18:44:53 1a 18 a7e544f9 00 01cf 25 1c50 0004 e006 1806 1005 b806 1801 e008
13 LL RR MM NNNN XXXXXXXX YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ
13 2c 40 05 0120 00fbc520 0384 01c9c380 0082 01a68d13 0064 02255100 030c 01a68d13 001e 07270e00 04b0 015752a0
13 2c 00 05 0349 00628137 0384 01c9c380 0082 01a68d13 0064 02255100 030c 01a68d13 001e 07270e00 04b0 015752a0

9 Entries NOTOK

  • 00:00-03:00 0.85
  • 03:00-07:30 1.00
  • 07:30-08:30 0.65
  • 08:30-09:30 0.50
  • 09:30-10:30 0.65
  • 10:30-11:30 0.60
  • 11:30-15:30 0.65
  • 15:30-16:30 0.15
  • 16:30-24:00 0.85

@ 11:30 3 hours 0.65, starts on rounded 0.325 to 0.35 pulses in first half hour 7806 -> 0007 5806

                         1a LL NNNNNNNN 00 CCCC HH SSSS PPPP napp napp napp napp napp napp napp napp napp napp
PDM  2018-11-18T14:51:43 1a 20 851072aa 00 0264 1d 0bc8 0001 5808 800a 1806 1005 2806 1006 0007 5806 1801 e808 
Loop 2018-11-19 18:45:42 1a 1e 111fb41c 00 01ff 25 1b48 0004 5808 800a 1806 1005 1806 1006 7806      1801 e808
     13 LL RR MM NNNN XXXXXXXX YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ
PDM  13 3e 40 06 004f 0103661c 01fe 01432096 0384 0112a880 0082 01a68d13 0064 02255100 0082 01a68d13 0078 01c9c380 0208 01a68d13 001e 07270e00 04fb 01432096
Loop 13 3e 00 08 037b 00575fa3 01fe 01432096 0384 0112a880 0082 01a68d13 0064 02255100 0082 01a68d13 0078 01c9c380 0208 01a68d13 001e 07270e00 04fb 01432096

10 entries NOTOK

  • 00:00-03:00 0.85
  • 03:00-07:30 1.00
  • 07:30.08:30 0.65
  • 08:30-09:30 0.50
  • 09:30-10:30 0.65
  • 10:30-11:30 0.60
  • 11:30-14:00 0.65
  • 14:00-15:30 1.65
  • 15:30-16:30 0.15
  • 16:30-24:00 0.85

@ 14:00 1.5 hours of 1.65: 2810 -> 0011 1810

                         1a LL NNNNNNNN 00 CCCC HH SSSS PPPP napp napp napp napp napp napp napp napp napp napp napp napp
PDM  2018-11-18T15:12:59 1a 24 851072aa 00 02cf 1e 1ff8 0009 5808 800a 1806 1005 2806 1006 0007 2806 0011 1810 1801 e808 
Loop 2018-11-19 18:46:17 1a 22 6434849a 00 026f 25 19b0 0004 000d 2800 1808 800a 1806 1005 3806 4806 2810      1801 e808
     13 LL RR MM NNNN XXXXXXXX YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ
PDM  13 50 40 09 002e 003e6bb0 0082 00d34689 000f 15752a00 00aa 01432096 0384 0112a880 0082 01a68d13 0064 02255100 0082 01a68d13 0078 01c9c380 0145 01a68d13 01ef 00a675a2 001e 07270e00 04fb 01432096
Loop 13 4a 00 0a 0378 01121815 0082 00d34689 000f 15752a00 00aa 01432096 0384 0112a880 0082 01a68d13 0064 02255100 0104 01a68d13 0145 01a68d13 01ef 00a675a2 001e 07270e00 04fb 01432096

13 entries NOTOK

  • 00:00-00:30 1.30
  • 00:30-02:00 0.05
  • 02:00-02:30 1.70
  • 02:30-03:00 0.85
  • 03:00-07:30 1.00
  • 07:30-08:30 0.65
  • 08:30-09:30 0.50
  • 09:30-10:30 0.65
  • 10:30-11:30 0.60
  • 11:30-14:00 0.65
  • 14:00-15:30 1.65
  • 15:30-16:30 0.15
  • 16:30-24:00 0.85

@ 11:30 2.5 hours of 0.65 2806 -> 0007 2806

@ 14:00 1.5 hours of 1.65: 2810 -> 0011 1810

                        1a LL NNNNNNNN 00 CCCC HH SSSS PPPP napp napp napp napp napp napp napp napp napp napp napp napp napp napp napp
PDM  2018-11-18T15:31:46 1a 2a 851072aa 00 01dd 27 1518 0003 000d 2800 0011 1809 700a 1806 1005 2806 1006 0007 2806 0011 1810 1801 e808
PDM  2018-11-23T09:45:35 1a 2a c5c1bf26 00 027e 13 1ac8 0003 000d 2800 0011 1809 700a 1806 1005 2806 1006 0007 2806 0011 1810 1801 e808
Loop 2018-11-19 18:46:33 1a 26 968d29d7 00 01f6 25 1930 0004 000d 2800 0011 0008 800a 1806 1005 1806 1006 4806      2810      1801 e808 
     13 LL RR MM NNNN XXXXXXXX YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ
PDM  13 56 40 0c 02c8 011abc64 0082 00d34689 000f 15752a00 00aa 00a1904b 0055 01432096 0384 0112a880 0082 01a68d13 0064 02255100 0082 01a68d13 0078 01c9c380 0145 01a68d13 01ef 00a675a2 001e 07270e00 04fb 01432096
PDM  13 56 40 07 0060 01903fd9 0082 00d34689 000f 15752a00 00aa 00a1904b 0055 01432096 0384 0112a880 0082 01a68d13 0064 02255100 0082 01a68d13 0078 01c9c380 0145 01a68d13 01ef 00a675a2 001e 07270e00 04fb 01432096
Loop 13 56 00 0c 0378 001a35a9 0082 00d34689 000f 15752a00 00aa 00a1904b 0055 01432096 0384 0112a880 0082 01a68d13 0064 02255100 0082 01a68d13 0078 01c9c380 0145 01a68d13 01ef 00a675a2 001e 07270e00 04fb 01432096

15 Entries NOTOK

  • 00:00-00:30 1.90
  • 00:30-01:00 1.30
  • 01:00-01:30 2.50
  • 01:30-02:00 0.05
  • 02:00-02:30 1.70
  • 02:30-03:00 0.85
  • 03:00-07:30 1.00
  • 07:30-08:30 0.65
  • 08:30-09:30 0.50
  • 09:30-10:30 0.65
  • 10:30-11:30 0.60
  • 11:30-14:00 0.65
  • 14:00-15:30 1.65
  • 15:30-16:30 0.15
  • 16:30-24:00 0.85
                         1a LL NNNNNNNN 00 CCCC HH SSSS PPPP napp napp napp napp napp napp napp napp napp napp napp napp napp napp napp napp napp
PDM  2018-11-19T19:58:21 1a 2e 851072aa 00 0223 27 0348 0000 0013 000d 0019 0000 0011 1809 700a 1806 1005 2806 1006 0007 2806 0011 1810 1801 e808
Loop 2018-11-19 18:47:10 1a 2a 660d2784 00 01f8 25 1808 0004 0013 000d 0019 0000 0011 0008 800a 1806 1005 1806 1006 4806      2810      1801 e808 
     13 LL RR MM NNNN XXXXXXXX YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ
PDM  13 62 40 0e 02ad 0135a9b6 00be 00908e94 0082 00d34689 00fa 006ddd00 0005 15752a00 00aa 00a1904b 0055 01432096 0384 0112a880 0082 01a68d13 0064 02255100 0082 01a68d13 0078 01c9c380 0145 01a68d13 01ef 00a675a2 001e 07270e00 04fb 01432096
Loop 13 62 00 0e 0376 00731108 00be 00908e94 0082 00d34689 00fa 006ddd00 0005 15752a00 00aa 00a1904b 0055 01432096 0384 0112a880 0082 01a68d13 0064 02255100 0082 01a68d13 00780 1c9c380 0145 01a68d13 01ef 00a675a2 001e 07270e00 04fb 01432096

17 Entries

  • 00:00-00:30 1.90
  • 00:30-01:00 1.30
  • 01:00-01:30 0.10
  • 01:30-02:00 0.05
  • 02:00-02:30 1.70
  • 02:30-03:00 0.85
  • 03:00-03:30 0.10
  • 03:30-04:00 2.10
  • 04:00-07:30 1.00
  • 07:30-08:30 0.65
  • 08:30-09:30 0.50
  • 09:30-10:30 0.65
  • 10:30-11:30 0.60
  • 11:30-14:00 0.65
  • 14:00-15:30 1.65
  • 15:30-16:30 0.15
  • 16:30-24:00 0.85
02:30-03:00 0.85U `0009` vs `0008`: second half hour segment is rounded up instead of down.
09:30-10:30 0.65U `2806` 09:30-11:00 pulls the next 0.60 half hour to 11:00 in the entry. 
10:30-11:30 0.60U `1006` 11:00-12:00 pulls the next 0.60 half hour into the next entry.
11:30-14:00 0.65U `0007` 12:00-12:30 adds the extra 0.05 in this part
	          `2806` 12:30-14:00 remaining   3x 0.60 half hours
                         1a LL NNNNNNNN 00 CCCC HH SSSS PPPP napp napp napp napp napp napp napp napp napp napp napp napp napp napp napp napp napp napp napp
PDM  2018-11-18T16:10:01 1a 32 851072aa 00 0269 20 2588 0001 0013 000d 0001 0000 0011 0009 0001 0015 600a 1806 1005 2806 1006 0007 2806 0011 1810 1801 e808
Loop 2018-11-19 18:47:48 1a 2e 903c091c 00 02af 25 16d8 0003 0013 000d 0001 0000 0011 0008 0001 0015 600a 1806 1005 1806 1006 4806      2810      1801 e808
     13 LL RR MM NNNN XXXXXXXX YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ YYYY ZZZZZZZZ
PDM  13 6e 40 0f 000b 000f4240 00be 00908e94 0082 00d34689 000a 0aba9500 0005 15752a00 00aa 00a1904b 0055 01432096 000a 0aba9500 00d2 0082ca24 02bc 0112a880 0082 01a68d13 0064 02255100 0082 01a68d13 0078 01c9c380 0145 01a68d13 01ef 00a675a2 001e 07270e00 04fb 01432096
Loop 13 6e 00 10 0375 00b3964b 00be 00908e94 0082 00d34689 000a 0aba9500 0005 15752a00 00aa 00a1904b 0055 01432096 000a 0aba9500 00d2 0082ca24 02bc 0112a880 0082 01a68d13 0064 02255100 0082 01a68d13 0078 01c9c380 0145 01a68d13 01ef 00a675a2 001e 07270e00 04fb 01432096
Clone this wiki locally