Node Metal Mitre Saw

Uit MakerSpace Leiden
Versie door DirkWillem (overleg | bijdragen) op 25 sep 2024 om 19:15 (Electronics)
(wijz) ← Oudere versie | Huidige versie (wijz) | Nieuwere versie → (wijz)
Ga naar: navigatie, zoeken

MetalMitreNode01.jpg MetalMitreNode02.jpg MetalMitreNode03.jpg

PoE node voor the Metal Mitre saw based on a PowerNode White. The QR code points to [this] page.

Use

Swipe your card; this will unlock the 'red' button on the safety contractor to the left. Note that the unit will refuse to power on if the on/off button on the saw is in the unsafe, ON, position.

Once you are done - switch off the saw and then press the green button on the safety contractor to disable it. The unit will lock shortly thereafter.

Trouble shooting

See PowerNode White for details; or use the MENU button to see a QR code with logging.

The log file is available on http://192.168.6.144/. One can also telnet to this address. Logs are also sent to MQTT and to Syslog at the firewall. Or connect a serial cable; but be sure to use a Galvanic USB isolator.

Configuration

The unit contains a AC fed PowerNode White that is on WiFi. This is done by a 5Volt AC/DC convertor on the board (the back thing in the bottom right). It has a single relay that simply turns one of the phases (L) on and off.

One of the 3-phase wires is routed through a current coil (directly; rather than through the connector; as there may be a fair but of current running through it). The opto couplers are wired to the pump and to the safety interlock.

The software can be found in ACNode its examples (in the Arduino IDE) or on GitHub.

Werkt samen met de SafetyContactor; dus aan en uit zetten met de normale rode/groene knoppen.


Checklist node

Doel checken is

  1. Machine mag niet anders aan gaan dan met de zwarte draai schakelaar die actief van off naar on gezet wordt. Dus ze gaat enkel aan als de schakelaar beroerd wordt. Dan en alleen dan. Dus ze mag nooit spontaan aan gaan; dus niet na power cycle node, niet na terugkomen spanning na een spanningsonderbreking of bij bewust aanzetten met groene knop terwijl de zware knop in de 'on' staat.
  2. Machine moet 30 seconden na rode knop weer in-lock gaan/veilig gaan
  3. Powercycle van de node moet geen rare situaties opleveren
  4. Spanningsonderbreking 400 volt moet machine in veilige stand brengen.
  5. Timeout na 45 minuten moet de machine ook in veilige stand brengen.
  6. Machine mag nooit uit (of aan) gaan zonder gebruikers actie. Dus node/netwerk/etc verlies of een timeout mag niet leiden tot uitgaan of aangaan van de motor.

Stappen:

  1. Powercycle de node. Komt die terug op het netwerk ?
  2. Na powercycle; werkt de groene groene knop niet ?
  3. Zet de machine in de aan stand; swipe valid pas en controleer dat de machine niet AAN mag/kan/gaat met de groene knop.
  4. Zet de machine in de uit stand; swipe valid pas en controleer dat de machine AAN mag.
  5. Zet de machine uit met rode knop tijdens niet draaien.Check dat pas nodig is na 10-30 seconden om machine weer aan te zetten -EN- de groene knop eerst ingedrukt moet worden.
  6. Zet de machine uit met rode knop tijdens wel draaien. Check dat pas nodig is na 10-30 seconden om machine weer aan te zetten -EN- de groene knop eerst ingedrukt moet worden.
  7. Swipe; zet aan met groene knop; power cycle node; controleer dat de machine nog aan kan.
  8. Idem - maar dan met power cycle node tijdens draaien machine.
  9. Swipe; en check dat na XX minuten er een not-used timeout de zaak uit zet.
  10. Check dat de timeout niet activeert als de motor draait (eventueel met speciale firmware met korte timeout).
  11. Swipe, check dat de machine werkt. Zet hem uit. Onderbreek krachtstroom > 1 seconde en controleer dat de machine weer in de veilige stand staat.

Electronics

De node is gebaseerd op de 2023 PowerNode_White boards.

  • Opto coupler om te kijken of de schakelaar in de 'aan' stand staat.
  • Opto coupler om te kijken of de pompt loopt.
  • Relay dat het interlock keten onderbreekt (6V, één NO contact)
  • CurrentCoil om te zien dat de machine aan/uit is.
  • No ethernet connector soldered on (and RTL8201 chip soldering has never been checked)
  • 5V of AC/DC PSU used for both V5 and VPOE/switching of the 6volt relay

Unit is powered down when the welding area is powered down.

solder jumpers / config

  1. Er wordt gebruik gemaakt van een 5 volt trafo.
    1. Vint is cross soldered
    2. POE is disabled
    3. Vint wordt voor 5volt en voor 5 power gebruikt.
  2. De N van de 5 volt travo is ook de basis voor de opto couplers.
    1. De N jumpers van de opto couplers zijn dus doorverbonden.

Source code

https://github.com/MakerSpaceLeiden/AccesSystem

Board jumpers and settings

Board:

  1. Rework 1 - half of OPTO resistors replaced by jumpers; 2x68k left in place
  2. Current coil - 6k8 burden
  3. Relay 1: Normal 5v Songle relay
  4. AC/DC unit soldered in
  5. Fuse soldered in (250 mAmp, slow)
  6. One current coil soldered in

Jumpers:

  1. VPOE and VPOE5 both explicit on 'off'
  2. 5V power via VINT
  3. Vpower via VINT
  4. N-jumpers for the Optocouples to get the N from the inputs.

Green Connector

MetalMitreNode04.jpg
PIN Description Use
1 CUR2 NC
2 CUR2 NC
3 CUR1 NC - black wire of motor is looped directly
4 CUR1 NC - black wire of motor is looped directly
5 OPTO 2 NC -- N for voltage sense is wired via jumper to pin 10 at back of board
6 OPTO 2 Voltage sense across relay (label 'DETECT')
7 OPTO 1 NC -- N for voltage sense is wired via jumper to pin 10 at back of board
8 OPTO 1 Pump sense (label 'PUMP')
9 L input L AC in (brown)
10 N input N AC in (blue)
11 Relay 1 NO Interlock (blue)
12 Relay 1 Common Interlock (blue)
13 Relay 2 NO NC
14 Relay 2 NC NC
15 Relay 2 common NC

The motor current goes directly through the coil; we're not making use of the connector. Reason for this is that we're not quite sure of the (starting) currents.

Electrics

Basically a Safety Relay combined with a hand/off/auto setting for the pump. A Node Metal Mitre Saw is being build (it is a 3-phase/krachtstroom machine) and will be placed in the safety interlock chain that keeps the relay powered.


Schematic

Log

Mon 1 Jan 2024 20:21:02 CET ac/log/metalmitresaw {
"manual_poweroff": 0,
"idle_poweroff": 0,
"errors": 0,
"ota": true,
"node": "woodlathe",
"machine": "woodlathe",
"maxMqtt": 384,
"id": "887124a4ae30",
"ip": "192.168.6.144",
"net": "UTP",
"mac": "30:AE:A4:24:71:8B",
"beat": 1704136278,
"alive-uptime": 8399,
"approve": 1,
"deny": 0,
"requests": 1,
"cache_hit": 1,
"cache_miss": 0,
"cache_purge": 0,
"cache_update": 1,
"mqtt_reconnects": 1,
"loop_rate": 15.13943768,
"coreTemp": 53.33333333,
"heap_free": 168180,
"rfid_scans": 1,
"rfid_misses": 131133,
"rfid": "RFID-MFRC522",
"state": "Waiting for card, screen dark",
"seconds_in_state": [
0,
3,
0,
0,
0,
1244,
0,
0,
0,
7445,
0,
2,
3,
0
],
"normal_poweroff": 1,
"fw": "/Users/dirkx/Documents/Arduino/AccesSystem/lib-arduino/ACNode/examples/WoodLatheNode/WoodLatheNode.ino Jan 1 2024 17:45:18"
}

History

Latest incarnation installed late 2023.