Node Metal Mitre Saw: verschil tussen versies

Uit MakerSpace Leiden
Ga naar: navigatie, zoeken
(Green Connector)
(Electronics)
 
(17 tussenliggende versies door 3 gebruikers niet weergegeven)
Regel 1: Regel 1:
 
[[Categorie:Tool]][[Category:ACNode]]
 
[[Categorie:Tool]][[Category:ACNode]]
 +
[[Category:Nodes & network devices]]
 
[[Bestand:MetalMitreNode01.jpg|200px]]
 
[[Bestand:MetalMitreNode01.jpg|200px]]
 
[[Bestand:MetalMitreNode02.jpg|200px]]
 
[[Bestand:MetalMitreNode02.jpg|200px]]
Regel 6: Regel 7:
 
PoE node voor the [[Metal Mitre Saw / Afkortzaag Metaal|Metal Mitre saw]] based on a [[PowerNode White]]. The QR code points to [[https://wiki.makerspaceleiden.nl/mediawiki/index.php/QR_metalmitresaw this]] page.
 
PoE node voor the [[Metal Mitre Saw / Afkortzaag Metaal|Metal Mitre saw]] based on a [[PowerNode White]]. The QR code points to [[https://wiki.makerspaceleiden.nl/mediawiki/index.php/QR_metalmitresaw this]] page.
  
== Use ==
+
==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.  
 
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.
 
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 ==
+
==Trouble shooting==
 
 
 
See [[PowerNode White]] for details; or use the MENU button to see a QR code with logging.
 
See [[PowerNode White]] for details; or use the MENU button to see a QR code with logging.
  
The log file is available on http://woodlathe.local/ or 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]].
+
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 ==
 
  
 +
==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.  
 
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.
 
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.
  
[[Bestand:MetalMitreNode04.jpg|200px]]
+
The software can be found in ACNode its examples (in the Arduino IDE) or on [https://github.com/MakerSpaceLeiden/AccesSystem/blob/master/lib-arduino/ACNode/examples GitHub].
 +
 
 +
Werkt samen met de SafetyContactor; dus aan en uit zetten met de normale rode/groene knoppen.
 +
 
  
The software can be found in ACNode its examples (in the Arduino IDE) or on [https://github.com/MakerSpaceLeiden/AccesSystem/blob/master/lib-arduino/ACNode/examples GitHub].
+
=Checklist node=
 +
 
 +
Doel checken is
 +
 
 +
# 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.
 +
# Machine moet 30 seconden na rode knop weer in-lock gaan/veilig gaan
 +
# Powercycle van de node moet geen rare situaties opleveren
 +
# Spanningsonderbreking 400 volt moet machine in veilige stand brengen.
 +
# Timeout na 45 minuten moet de machine ook in veilige stand brengen.
 +
# 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:
 +
 
 +
# Powercycle de node. Komt die terug op het netwerk ?
 +
# Na powercycle; werkt de groene groene knop niet ?
 +
# Zet de machine in de aan stand; swipe valid pas en controleer dat de machine niet AAN mag/kan/gaat met de groene knop.
 +
# Zet de machine in de uit stand; swipe valid pas en controleer dat de machine AAN mag.
 +
# 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.
 +
# 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.
 +
# Swipe; zet aan met groene knop; power cycle node; controleer dat de machine nog aan kan.
 +
# Idem - maar dan met power cycle node tijdens draaien machine.
 +
# Swipe; en check dat na XX minuten er een not-used timeout de zaak uit zet.
 +
# Check dat de timeout niet activeert als de motor draait (eventueel met speciale firmware met korte timeout).
 +
# 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=
  
=== details ===
+
De node is gebaseerd op de 2023 [[PowerNode_White]] boards.
  
* Relay dat de interlock onderbreekt
+
* 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.
 
* CurrentCoil om te zien dat de machine aan/uit is.
* Opto voor detectie spanning over safety contactor coil
+
* 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
  
== Board jumpers and settings ==
+
Unit is powered down when the welding area is powered down.
  
 +
==solder jumpers / config==
 +
 +
# Er wordt gebruik gemaakt van een 5 volt trafo.
 +
## Vint is cross soldered
 +
## POE is disabled
 +
## Vint wordt voor 5volt en voor 5 power gebruikt.
 +
# De N van de 5 volt travo is ook de basis voor de opto couplers.
 +
## De N jumpers van de opto couplers zijn dus doorverbonden.
 +
 +
= Source code =
 +
 +
[https://github.com/MakerSpaceLeiden/AccesSystem https://github.com/MakerSpaceLeiden/AccesSystem]
 +
 +
==Board jumpers and settings==
 
Board:
 
Board:
  
Regel 43: Regel 86:
 
# AC/DC unit soldered in
 
# AC/DC unit soldered in
 
# Fuse soldered in (250 mAmp, slow)
 
# Fuse soldered in (250 mAmp, slow)
 +
# One current coil soldered in
  
 
Jumpers:
 
Jumpers:
  
# VPOE's etc off
+
# VPOE and VPOE5 both explicit on 'off'
 
# 5V power via VINT
 
# 5V power via VINT
 
# Vpower via VINT
 
# Vpower via VINT
# Relays set to 'shared' I.e. using L/N
 
 
# N-jumpers for the Optocouples to get the N from the inputs.
 
# N-jumpers for the Optocouples to get the N from the inputs.
  
== Green Connector ==
+
==Green Connector==
 +
[[Bestand:MetalMitreNode04.jpg|miniatuur]]
  
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! PIN !! Description !! Use
+
! PIN
 +
! Description
 +
! Use
 
|-
 
|-
| 1 || CUR2 || NC
+
| 1
 +
| CUR2
 +
| NC
 
|-
 
|-
| 2 || CUR2 || NC
+
| 2
 +
| CUR2
 +
| NC
 
|-
 
|-
| 3 || CUR1 || NC - black wire of motor is looped directly
+
| 3
 +
| CUR1
 +
| NC - black wire of motor is looped directly
 
|-
 
|-
| 4 || 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
+
| 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')
+
| 6
 +
| OPTO 2
 +
| Voltage sense across relay (label 'DETECT')
 
|-
 
|-
| 7 || OPTO 1 || NC -- N for voltage sense is wired via jumper
+
| 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')
+
| 8
 +
| OPTO 1
 +
| Pump sense (label 'PUMP')
 
|-
 
|-
| 9 || L input || L AC in (brown)
+
| 9
 +
| L input
 +
| L AC in (brown)
 
|-
 
|-
| 10 || N input || N AC in (blue)
+
| 10
 +
| N input
 +
| N AC in (blue)
 
|-
 
|-
| 11 || Relay 1 NO || Interlock (blue)
+
| 11
 +
| Relay 1 NO
 +
| Interlock (blue)
 
|-
 
|-
| 12 || Relay 1 Common || Interlock (blue)
+
| 12
 +
| Relay 1 Common
 +
| Interlock (blue)
 
|-
 
|-
| 13 || Relay 2 NO || NC
+
| 13
 +
| Relay 2 NO
 +
| NC
 
|-
 
|-
| 14 || Relay 2 NC || NC
+
| 14
 +
| Relay 2 NC
 +
| NC
 
|-
 
|-
| 15 || Relay 2 common || NC
+
| 15
 +
| Relay 2 common
 +
| NC
 
|}
 
|}
  
As the motor currents are modest; we're using the green connector rather than loop the wire directly through the coil.
+
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.
  
= Electrics =
 
  
Basically a [[SafetyRelay]] combined with a hand/off/auto setting for the pump. A [[NodeMitresawMetal]] is being build (it is a 3-phase/krachtstroom machine) and will be placed in the safety interlock chain that keeps the relay powered.
 
  
 
[[Bestand:schema-metal-mittre-2023.png|400px|Schematic]]
 
[[Bestand:schema-metal-mittre-2023.png|400px|Schematic]]
  
== Log ==
+
==Log==
 
+
Mon 1 Jan 2024 20:21:02 CET ac/log/metalmitresaw {
  Mon 1 Jan 2024 20:21:02 CET ac/log/metalmitresaw {
+
"manual_poweroff": 0,
  "manual_poweroff": 0,
+
"idle_poweroff": 0,
  "idle_poweroff": 0,
+
"errors": 0,
  "errors": 0,
+
"ota": true,
  "ota": true,
+
"node": "woodlathe",
  "node": "woodlathe",
+
"machine": "woodlathe",
  "machine": "woodlathe",
+
"maxMqtt": 384,
  "maxMqtt": 384,
+
"id": "887124a4ae30",
  "id": "887124a4ae30",
+
"ip": "192.168.6.144",
  "ip": "192.168.6.144",
+
"net": "UTP",
  "net": "UTP",
+
"mac": "30:AE:A4:24:71:8B",
  "mac": "30:AE:A4:24:71:8B",
+
"beat": 1704136278,
  "beat": 1704136278,
+
"alive-uptime": 8399,
  "alive-uptime": 8399,
+
"approve": 1,
  "approve": 1,
+
"deny": 0,
  "deny": 0,
+
"requests": 1,
  "requests": 1,
+
"cache_hit": 1,
  "cache_hit": 1,
+
"cache_miss": 0,
  "cache_miss": 0,
+
"cache_purge": 0,
  "cache_purge": 0,
+
"cache_update": 1,
  "cache_update": 1,
+
"mqtt_reconnects": 1,
  "mqtt_reconnects": 1,
+
"loop_rate": 15.13943768,
  "loop_rate": 15.13943768,
+
"coreTemp": 53.33333333,
  "coreTemp": 53.33333333,
+
"heap_free": 168180,
  "heap_free": 168180,
+
"rfid_scans": 1,
  "rfid_scans": 1,
+
"rfid_misses": 131133,
  "rfid_misses": 131133,
+
"rfid": "RFID-MFRC522",
  "rfid": "RFID-MFRC522",
+
"state": "Waiting for card, screen dark",
  "state": "Waiting for card, screen dark",
+
"seconds_in_state": [
  "seconds_in_state": [
+
0,
    0,
+
3,
    3,
+
0,
    0,
+
0,
    0,
+
0,
    0,
+
1244,
    1244,
+
0,
    0,
+
0,
    0,
+
0,
    0,
+
7445,
    7445,
+
0,
    0,
+
2,
    2,
+
3,
    3,
+
0
    0
+
],
  ],
+
"normal_poweroff": 1,
  "normal_poweroff": 1,
+
"fw": "/Users/dirkx/Documents/Arduino/AccesSystem/lib-arduino/ACNode/examples/WoodLatheNode/WoodLatheNode.ino Jan 1 2024 17:45:18"
  "fw": "/Users/dirkx/Documents/Arduino/AccesSystem/lib-arduino/ACNode/examples/WoodLatheNode/WoodLatheNode.ino Jan 1 2024 17:45:18"
+
}
  }
 
 
 
== History ==
 
  
 +
==History==
 
Latest incarnation installed late 2023.
 
Latest incarnation installed late 2023.

Huidige versie van 25 sep 2024 om 19:15

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.