LinuxCNCKnowledgeBase | RecentChanges | PageIndex | Preferences | LinuxCNC.org

No diff available--this is the first major revision. (minor diff, author diff)
Simply powering up and down the machine raises a surprising number of issues. The main power source is 240VAC three phase, controlled by a circuit breaker on the left side of the machine. It is expected that the user will not want to cycle this breaker every day. Instead they will leave the main power on. They may or may not leave the PC on overnight. They probably do not want to leave hydraulic pumps and such running, nor do they want the servo amps powered when the PC is not.

The following is a description of the planned power-up/power-down sequencing.

The main 240V breaker applies power to a transformer that generates 120VAC single phase, with three separate secondaries. One of the secondaries is dedicated to the PC. When main power is turned on, the PC power supply gets power, along with a small power supply for the encoders, and a couple of fans in the control cabinet on the right side of the machine. The remainder of the 120V circuits are powered by another secondary on the transformer. That secondary runs thru a pole of the main ESTOP relay, which is off.

The green "Power On" button on the front panel is connected to the PC motherboard and boots the PC. Once the PC is booted, a startup script will start EMC automaticaly. (Note - during testing the PC will boot to Gnome and the user will manually start EMC.) Once EMC is up and running, the charge pump on the PMDX-122 board enables the estop relay.

When the user clicks on the GUI "Estop" button (or hits F1), the PMDX-122 relay closes, completing the ESTOP chain. (See MazakEstopChain for details.) This applies power to the hydraulic pump and the servo and spindle drives. It also supplies power to the solid state relays which control the solenoid valves. Once the estop chain is complete, the green "Power On" button is disconnected from the motherboard, to prevent it from being used to power down the PC while the machine is running.

When the user clicks the GUI "Machine On" button (or hits F2), the logic should check other conditions such as hydraulic pressure, lube level, spindle drive ready, servo drive ready, etc, then enable amps and begin running.

When the user clicks the GUI "Machine OFF" button (or hits F2), the logic should disable the servo amps.

When the user clicks the GUI "Estop" button (or hits F1), EMC turns off the estop output to the PMDX board. The PMDX relay will open, breaking the chain and dropping out all the contactors, etc. Once the estop chain drops out, the green "Power On" button is connected to the motherboard, and the user can power down the PC by holding it for four seconds. However, the normal shutdown will be done by exiting EMC and either having a script automatically do "shutdown -h now", or dropping the user into Gnome and letting them do a logout/shutdown thru the normal Gnome dialogs.

The wiring which implements the above logic is as follows: (this needs to be drawn in schematic form, along with the estop chain)

  1. +24V goes into a NC contact on the main ESTOP relay.
  2. From the NC contact on the ESTOP relay, wire 56 goes to the control cabinet, where it lands on bottom DIN rail terminal 18.
  3. Bottom DIN rail terminal 18 leaves in cable PANEL1, yellow wire of yellow/white pair.
  4. Yellow wire of yellow/white pair goes to front panel POWER button, NO contact.
  5. Other NO contact of POWER button leaves on white wire of yellow/white pair in PANEL1 cable.
  6. White wire of yellow/white pair goes to bottom DIN rail terminal 19.
  7. Bottom DIN rail terminal 19 goes to coil of relay PCPR (mounted on computer).
  8. Other end of relay PCPR coil goes to bottom DIN rail terminal 23, labeled G24.

This means that PCPR is energized only when the green POWER button is pressed and the ESTOP relay is de-energized. A NO contact of PCPR is connected to the PC motherboard power button inputs, and starts the PC.

LinuxCNCKnowledgeBase | RecentChanges | PageIndex | Preferences | LinuxCNC.org
This page is read-only. Follow the BasicSteps to edit pages. | View other revisions
Last edited September 21, 2006 1:40 pm by SWPadnos (diff)
Published under a Creative Commons License