Skip to content

Latest commit

 

History

History
269 lines (252 loc) · 7.54 KB

notes.org

File metadata and controls

269 lines (252 loc) · 7.54 KB

#5 crossbar MDT design notes

-*- org -*-

apparatus used

  • using scan/distribute matrix
  • not using the procon
  • not using the rest of it either

interface to s/d matrix

  • 4 static name leads (procon -> sd)
    • wired-logic, no need
  • 4 address leads (procon -> sd)
  • 16 data leads (procon <-> sd)
    • 012345 are bidir (procon <-> sd)
    • 6789 can be in-only (procon <- sd)
    • abcdef no connection
  • 1 control lead (procon -> sd)
    • 0 for read from scan points
      • read is 4b address x 10b wide
      • 160 bits in the field
    • 1 for write to distribute points
      • write is 2b address x 6b wide
      • 24 bits in the field
    • bit assignments are in SD-28111-01-B2
  • 1 master strobe lead (procon -> sd)
  • 1 slave strobe-confirm lead (sd -> procon)
    • optional in this application, i suppose
  • in sum
    • 4 address leads
    • 10 data leads (that matter)
    • 2 control leads
    • total: 16 leads
      • 6 out-only
      • 4 in-only
      • 6 bidir
  • gpio assignments
    gpiodirfunctionconn termcolor
    13procon->a123blue-bk
    15procon->a211orange-bk
    14procon->a321green-bk
    18procon->a49brown-bk
    19procon->C1 = rdwr15slate-bk
    21procon->MSYN63white-bk
    22<-proconSSYN39red-bk
    23<-procon->d0071blue
    25<-procon->d0159orange
    26<-procon->d0247green
    27<-procon->d0335brown
    32<-procon->d0469slate
    33<-procon->d0557white
    34<-procond0645red
    35<-procond0733black
    4<-procond0867yellow
    5<-procond0955violet
    gndground4violet-bk
    Vinpower6?yellow-bk
    15
    2

volts

  • esp32 output: 3v3
  • esp32 input: 3v3,
  • s/d bus: (cd-94851-01 page 3, sec. 2.02)
    • 1: 0v0 - 0v4
    • 0: 3v0 - 3v8
  • hah holy crap no level shifters needed nice

named scan and dist pts

  • [addr]:bit
  • dist
    • STR [02]:5 start
    • STRA [02]:4 start auxiliary (test call)
    • ARLK [02]:3 automatic reset lock
    • CMN [02]:2 minor alarm
    • CMJ [02]:1 major alarm
    • MB [02]:0 make busy
    • TRC [01]:5 trouble record complete
  • scan
    • STR [00]:9 start
    • STRA1 [00]:8 start auxiliary (test call)
    • SPL [01]:9 special (test card)
    • TRC [01]:8 trouble record complete
    • MB [02]:9 make busy
    • ROS [02]:8 recorder out of service
    • BWX0 [03]:1
    • BWX1 [03]:0
    • BWX2 [013]:3
    • BWX3 [013]:2

CMJ DP is [02]:1 CMN DP is [02]:2

program outline

  • routines
    • read-row
    • write-row
    • read-all
    • read-relay-row
      • close distribute point S-
      • wait 32ms
      • read all trouble card scan points
      • open distribute point S-
      • wait a moment?
    • read-full-card
      • read-relay-row 8 thru 0
      • nine rows total
  • init routine (ref SD-28111-01-E1, SC 1 )
    • write appropriate thing to MB dist pt to clear the initial busy condition
  • basic operation cycle (ref SD-28111-01-E1, SC 2 )
    • read STR and STRA scan pts continuously
      • address 0, bits 8 and 9
      • wait for bit set
    • read-full-card
    • do something with that data
      • post to somewhere?
    • close dist pt TRC
    • wait for open scan pt STR or STRA
    • wait 0.5s
    • open dist pt TRC

drawings

ED-27879-30

  • bus terminator drawing
  • connector pinout drawing
  • KS-19162, L17 plug

ED-27907-10

  • mdt connectorized switchboard cable assembly and connecting information
  • db25 stuff

J-23252-CR // MDT design

  • scan this one!

J-99366-G // 16x16 scanner matrix unit (SD-94838-01)

J-99366-H // 4x16 distributor matrix unit (SD-94839-01)

J-99366-J // 10x16 scanner + 4x6 distributor matrix unit || drawing missing

J-99379-A // procon? for 1xb mdt (SD-94844-01)

  • psd A: assembly, equipment, and wiring

J-99379-AA // (SD-94844-01)

  • psd controller: assembly, equipment, and wiring
  • combo unit logic

J-1C082-B-2 // PROCON

test plan for <2019-10-08 Tue>

localize the problem with not being able to distribute bits

  • set the commands to write CLOSED to CMJ DP [02]:1
    • cmj: [2]:1 -> (DM0) eql 28 -> D conn #12 -> D201A -> CMJ 1L
    • cmj ground is on -> D conn #37
    • cmn: [2]:2 -> (DM1) eql 30 -> D conn #11 -> D202A -> CMN 1U
  • known bus elements
    • bit 1
    • row 2 (0010)
    • d0 f (hi)
      • 0-1d0 (dm0 pin 5)
      • 0-en1 (dm0 pin 4)
    • d1 true (lo)
      • 0-0d1 (dm0 pin 2)
      • 0-en0 (dm0 pin 1)
    • d2 f
    • d3 f
    • d4 f
    • d5 f
    • a1 f
    • a2 true
    • a3 f
    • a4 f
  • overthinking it
    • this should be on DM0 lead “D201A”
    • pin 25, DA21
    • relay 5 on the card is active
    • ic4 pin 13 output is high
    • ic2 pin 15 output is low
    • pins into the card that should bring this about
      • en0 (1) false (hi)
  • tied externally to
  • 0d1 (2)
    • en1 (4) asserted (lo)
  • tied externally to
  • 1d0 (5)
    • clk2 (8) pulsed (hi-lo-hi)
    • 1d0 (5) false (hi)
    • 1d1 (3) asserted (lo)
    • test plan pins for A1074 eql 28
      • [X] 1d1 3 - lo (yes, wired to ground)
        • run 263
      • [X] 0d0 0 - lo (yes, wired to ground)
        • run 263
  1. 28/0
  2. 28/3
  3. 28/10
  4. grd/28
    • [X] en0 1 - lo (wired to d1)
    • [X] 0d1 2 - lo (tied to en0)
      • run 230
  5. in/59
  6. out/59
  7. 18/9
  8. 28/1
  9. 28/2
    • [ ] en1 4 - hi (wired to d0)
    • [ ] 1d0 5 - hi (tied to en1)
      • run 225
  10. in/71
  11. out/71
  12. 17/9
  13. 28/4 (dm0-en1)
  14. 28/5 (dm0-1d0)
    • [ ] clk3 8 - pulse hi-lo-hi
      • run 246
  15. 16/2
  16. 28/8 (dm0-clk3)
  17. 30/8 (dm1-clk3)
  18. 32/8 (dm2-clk3)
    • table of infos
      • leadexpectfind
        0lolo
        1lolo
        2lolo
        3lolo
        4hilo
        5hilo
        6hi
        7hi
        8hi
        9hi
      • what
    • thinkins
      • !(1d0 & en1) = !(f & t) = !(f) = true [ic2-ffA]
      • !(1d1 & en1) = !(t & t) = !(t) = false [ic2-ffB]
      • yep this makes sense
    • test plan pins for A1075
      • a3 - 4 - hi
        • run 215
  19. in/21
  20. out/21
  21. 16/4
    • c1 - 5 - ?
      • run 218
  22. in/15
  23. out/15
  24. 16/5
    • a1 - 7 - hi
      • run 214
  25. in/23
  26. out/23
  27. 16/7
    • a2 - 8 - lo
      • run 219
  28. in/11
  29. out/11
  30. 16/8
    • a4 - 9 - hi
      • run 220
  31. in/9
  32. out/9
  33. 16/9

gpio.config({gpio = 25, dir = gpio.IN_OUT, opendrain = 1, pull = gpio.FLOATING}) print(gpio.read(25))