Differences between revisions 5 and 18 (spanning 13 versions)
Revision 5 as of 2011-11-24 18:56:23
Size: 1336
Editor: BobAdamson
Comment:
Revision 18 as of 2011-11-29 14:02:39
Size: 4057
Editor: BobAdamson
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
=== Aims ===
 * redo all internal wiring and logic, except the refrigeration parts
 * make the machine more safe by doing things properly and reducing the voltage of exposed components
 * keep the software interface as simple or more simple than before
 * make the buttons on the front of the machine work for dispense
 * make it extensible so things can be added on
 * give the machine a general service where necessary (seals, rust protection, oil)
Line 3: Line 11:
||Amount||Item||Use||Model||Cost|| ||Amount||Item||Use||Model||Unit Cost||
Line 5: Line 13:
||20||microswitches||each slot has double microswitches, there are 10 slots|| || || ||20||microswitches||each slot has double microswitches, there are 10 slots|| http://au.element14.com/honeywell-s-c/v7-5f17d8/micro-switch-pin-plunger-spdt-3a/dp/1796593 || $3.60 ||
Line 14: Line 22:
||1||PLC expansion card||additional IO||EXP4040|| || ||1||PLC expansion card||additional IO||EXP1616R|| ||
Line 20: Line 28:
||3||110V fan to replace refrigeration fans|| || || ||
 . http://www.frozencpu.com/cat/l3/g36/c265/s668/list/p1/Fans-AC_115V_Fans-120mm_AC_Fans-Page1.html

 . http://www.ozautoelectrics.com/trailer-cable-5-core-6m-roll.html (5 core wire for actuators)
 . http://www.ebay.com.au/itm/5-Core-Cable-Wiring-Wire-Trailer-Parts-Lights-per-Meter-/110609219198
 . http://www.ebay.com.au/itm/0-5mm-9-Core-Irrigation-Cable-per-metre-/300341913942 (for front switches and LED's)
Line 27: Line 41:

=== Process ===
 * empty the machine and bring it into the clubroom. This means everything won't have to be packed up at the end of the day while we're working on it
 * remove one of the stacks and test a slot actuator to see what it runs off. This determines what hardware we use to drive everything, so we need to know.
 * purchase all required hardware (PLC, wiring, connectors, switches, etc.)
 * write software (state machine based programming implemented in ladder logic, ''should'' be quite trivial)
 * wire up on the bench and test
 * service the machine. A can of zinc spraypaint wouldn't go astray on some of the rust spots I think. Check all the seals. Oil what needs oiling. Clean what needs cleaning.
 * install everything into the machine and test

=== Measured things ===
 * Can drop process: 400ms on, 500ms off, 660ms on, 300VAC peak-to-peak, 1.8A
 * Wire lengths:
  * Actuator units 0,1,2,3: 80cm actuator to wire harness, 210cm harness to corner of machine door, 40cm up door, 45cm across, 40cm up to terminal block (4-core minimum) (16.6m)
  * Actuator units 4,5: 80cm actuator to wire harness, 170cm harness to corner of machine door, 40cm up door, 45cm across, 40cm up to terminal block (4-core minimum) (7.5m)
  * Actuator units 6,7,8,9: 80cm actuator to wire harness, 140cm harness to corner of machine door, 40cm up door, 45cm across, 40cm up to terminal block (4-core minimum) (13.8m)
  * Buttons: 75cm across front of door, 60cm down edge of door, 45cm across, 40cm up to terminal block (8-core minimum) (2.2m)
  * Lights: 75cm across front of door, 60cm down edge of door, 45cm across, 40cm up to terminal block (8-core minimum) (2.2m)

Aims

  • redo all internal wiring and logic, except the refrigeration parts
  • make the machine more safe by doing things properly and reducing the voltage of exposed components
  • keep the software interface as simple or more simple than before
  • make the buttons on the front of the machine work for dispense
  • make it extensible so things can be added on
  • give the machine a general service where necessary (seals, rust protection, oil)

Draft Bill of Materials

Amount

Item

Use

Model

Unit Cost

7

microswitches

front button switches

20

microswitches

each slot has double microswitches, there are 10 slots

http://au.element14.com/honeywell-s-c/v7-5f17d8/micro-switch-pin-plunger-spdt-3a/dp/1796593

$3.60

7

5mm round white LED's

replace empty slot globes

7

led mounts for empty slot display

may not be needed, depends on how we mount the LEDs

7

resistors

empty slot LED protection

1

stripboard or veroboard

mount LED resistors

10

6 pin connectors

one for each slot actuator unit

??

? pin connectors

assorted connections between cables

1

manual drop button

1

PLC

brain

FMD88-10

1

PLC expansion card

additional IO

EXP1616R

50m?

20 different coloured wires

general rewiring

cable ties

cable loom/heatshrink tube/electrical tape

terminal blocks

1

can rust proofing spraypaint

3

110V fan to replace refrigeration fans

Internal PLC IO Requirements

  • 10x24V DC input for can sensing (would it be worth multiplexing this?)
  • 7x24V DC input for front door buttons (ditto with the multiplexing question)
  • 1x24V DC input for manual dispense mode button
  • 10x?110V? relay outputs (this assumes linear actuators return by themselves)
  • 7x DC outputs for empty slot display

Process

  • empty the machine and bring it into the clubroom. This means everything won't have to be packed up at the end of the day while we're working on it
  • remove one of the stacks and test a slot actuator to see what it runs off. This determines what hardware we use to drive everything, so we need to know.
  • purchase all required hardware (PLC, wiring, connectors, switches, etc.)
  • write software (state machine based programming implemented in ladder logic, should be quite trivial)

  • wire up on the bench and test
  • service the machine. A can of zinc spraypaint wouldn't go astray on some of the rust spots I think. Check all the seals. Oil what needs oiling. Clean what needs cleaning.
  • install everything into the machine and test

Measured things

  • Can drop process: 400ms on, 500ms off, 660ms on, 300VAC peak-to-peak, 1.8A
  • Wire lengths:
    • Actuator units 0,1,2,3: 80cm actuator to wire harness, 210cm harness to corner of machine door, 40cm up door, 45cm across, 40cm up to terminal block (4-core minimum) (16.6m)
    • Actuator units 4,5: 80cm actuator to wire harness, 170cm harness to corner of machine door, 40cm up door, 45cm across, 40cm up to terminal block (4-core minimum) (7.5m)
    • Actuator units 6,7,8,9: 80cm actuator to wire harness, 140cm harness to corner of machine door, 40cm up door, 45cm across, 40cm up to terminal block (4-core minimum) (13.8m)
    • Buttons: 75cm across front of door, 60cm down edge of door, 45cm across, 40cm up to terminal block (8-core minimum) (2.2m)
    • Lights: 75cm across front of door, 60cm down edge of door, 45cm across, 40cm up to terminal block (8-core minimum) (2.2m)