VERSION FOR HARDWARE COMPATIBILITY WITH WEIDMUELLER CONNECTORS (similar to Puff, Troms, Llor) We use the pulse boards here, although pulsed operation is not required. PIC1: Notes 36-51 Weidmueller connectors pin number: midi note function PIC Pin number 0 36 note on / note off 4 1 37 note on / note off 3 2 38 note on / note off 2 3 39 note on / note off 5 4 40 note on / note off 6 5 41 note on / note off 7 6 42 note on / note off 28 7 43 note on / note off 27 8 44 note on / note off 26 9 45 note on / note off 25 A 46 note on / note off 24 B 47 note on / note off 23 C 48 note on / note off 22 D 49 note on / note off 21 E 50 note on / note off 16 F 51 note on / note off 15 PIC2:Notes 52-67 Weidmueller connectors pin number: midi note function PIC Pin number 0 52 note on / note off 4 1 53 note on / note off 3 2 54 note on / note off 2 3 55 note on / note off 5 4 56 note on / note off 6 5 57 note on / note off 7 6 58 note on / note off 28 7 59 note on / note off 27 8 60 note on / note off 26 9 61 note on / note off 25 A 62 note on / note off 24 B 63 note on / note off 23 C 64 note on / note off 22 D 65 note on / note off 21 E 66 note on / note off 16 F 67 note on / note off 15 PIC3:Notes 68-83 Weidmueller connectors pin number: midi note function PIC Pin number 0 68 note on / note off 4 1 69 note on / note off 3 2 70 note on / note off 2 3 71 note on / note off 5 4 72 note on / note off 6 5 73 note on / note off 7 6 74 note on / note off 28 7 75 note on / note off 27 8 76 note on / note off 26 9 77 note on / note off 25 A 78 note on / note off 24 B 79 note on / note off 23 C 80 note on / note off 22 D 81 note on / note off 21 E 82 note on / note off 16 F 83 note on / note off 15 PIC4:Notes 84-99 Weidmueller connectors pin number: midi note function PIC Pin number 0 84 note on / note off 4 1 85 note on / note off 3 2 86 note on / note off 2 3 87 note on / note off 5 4 88 note on / note off 6 5 89 note on / note off 7 6 90 note on / note off 28 7 91 note on / note off 27 8 92 note on / note off - lites 26 9 93 note on / note off - lites 25 A 94 note on / note off - lites 24 B 95 note on / note off - lites 23 C 96 note on / note off - lites 22 D 97 note on / note off - lites 21 E 98 note on / note off - lites 16 F 99 note on / note off - lites 15 Midi kanaal voor Krum: 7 (tellend vanaf 0) Midi all-off (reset) should cause a release of all solenoids on PIC's 1, 2, 3, 4 ********************************************************************************* version1: 28..01.2006 - has bugs. version2 specs: PIC5: On midi input and hub board: Weidmueller X17: Motor control , Bidirectional Wind Valve, lights Motor control: analog voltage via PWM output. Mapped on controller 7 Weidmueller X17, pin3 - PIC pin 12 = RC1 Weidmueller X17, pin2 - NC Weidmueller X17, pin1 - GND Weidmueller X17, pin4 - + 10V from motorcontroller Weidmueller X11: Weidmueller X11, pin1 - GND Weidmueller X11, pin4 = +24V from motorcontroller Motor ON/OFF switch: Mapped on controller 66. Switches an externally applied 24V dc voltage. Must be OFF on init. Should be high on any controller value but 0. Low at zero. Should not switch off on reception of all notes off. Weidmueller X11, pin 3 connected to PIC pin 4, RA2 (was wrong: PIC pin 3, RA1) Motor reset/ enable: Mapped on controller 65. Resets the motor controller after a fault condition has occured. Must be off on init. Should ideally be a one shot (ca. 200ms pulse), rather than a toggle. Weidmueller X11, pin 2 connected to PIC pin 5, RA3 Weidmueller X15: Weidmueller X15, pin1 - GND Weidmueller X15, pin4 - +24V from separate smps. Windvalve: 2 bits required!!! (birectional solenoid) Mapped on controller 1 Controller 1, value = 0 valve closed Controller 1, value = 127, valve fully opened. If possible, in between positions should be possible. Extra request: use as tremulant: Weidmueller X15, pins 2 and 3, connected to PIC pins RB3 and RB4 (24,25) Optional tremulant... (as on piperola): Controller 10: 0 ===> tremulant OFF switch 16 ===> use wind valve solenoid as tremulant, frequency set with controller 11 The function of controller 1 should be disabled as long as tremulant is active. Controller 11: tremolo speed (if controller 10 is set to 16) Frequency should be parameter value / 10. Controller 12: 0 = valve powerless other values should have no effect As soon as any other ctrl. (1,10,11) is received, the valve gets power again. This is a one-shot. Weidmueller X12: Weidmueller X12, pin 1 = GND Weidmueller X12, pin 4 = +14V, from solenoid power supply. Note 100 frontal light right ON/ OFF Weidmueller X12, pin 2 connected to PIC pin 3 = RA1 Note 101 frontal light left ON/ OFF Weidmueller X12, pin 2, connected to PIC pin 2 = RA0 Extra features: ON/OFF levels controlled by note on/offs 102,103,104 on pins 21,22,23(RB0, RB1, RB2) (these are connected to LED spotlites)