ELFOS

Auxiliary Pin Function

Signal Light

When using certain functions (such as Sync and MultiSync), the final pass can take quite a long time -- many hours is not uncommon. This function was requested so that a signal light can indicate when the activity is still underway.

The idea was to have a light (such as the one to the left) lit when activity is underway, and not lit when the activity has stopped. This allows the operator to walk away from the machine when using these long-running operations, and monitor the activity periodically by glancing over to the machine to identify if the activity has stopped.


How It Works

Activity Pin Timing
Time flows left to right

Activity Completion
  1. When the user stops the activity using the stop button.
  2. When the activity is completed on a function designed to run for a certain distance (e.g., Sync) or rotation (e.g., Index).

The activity diagram on the right shows the timings.

When an activity is initiated on the Nextion touch screen (the top line), the Teensy will take the output for the selected pin from 3.3 VDC to 0 VDC (the second line).

When that activity is completed, the Teensy will take the output for the selected pin from 0 VDC back up to 3.3 VDC.

When that activity is completed (e.g., when using Sync or MultiSync) or stopped by the user, the Teensy will take the output for the selected pin from 0 VDC back up to 3.3 VDC.

This output is then used to switch a relay.

Identifying the Pin Used

Using the Config More panel, a pin is identified as the Auxiliary Pin for this use (which matches the one wired for this use).

  • This must be a pin between 10 and 39.
    • Anything above 39 disables this function.

  • This cannot be the same pin # used for the limit switch pins.

  • This cannot be the same pin # used for the Stop pin.

Wiring The Components

The switching side of the relay (left side in the picture to the right) needs to be connected to the printed circuit board.

  • VCC is connected to any place on the PCB which supplies 3.3 VDC. Do not connect it to the 5 VDC point as that will overload the relay module.

  • IN is connected to the pin number on the PCB which corresponds to the one identified in the setup (Config More).

  • GND is connected to any place on the PCB which is the common GND.

The switched side of the relay (right side in the picture to the right) needs to be connected to the power supply for the signal lamp.

  • NC (normally closed) is connected to the load supply for the signal lamp.

  • COM is connected to the load from the power supply.

    This can be switched (as shown) to turn this function off if it is not needed. The addition of the switch helps the usefulness of this as it is easy to enable or disable without having to go back into the configuration settings. This also makes it so you don't have to remember which pin number was used fo the function.

  • NO (normally open) is not used.

  • As shown, Neutral and GND are connected from the power supply to the signal lamp.

Parts
  • The relay is a single channel relay which uses 3.3 VC for the switching, and switches 110V / 220V AC. The one I purchased has an optical isolation circuit. It was also purchased from Amazon.

    Do not remove the two jumpers from the board.

  • The activity light is an LED Signal Tower light powered by 110V / 220V AC. It was purchased from Amazon.

About us Questions or comments? Contact us at
ColvinTools@Gmail.com
Disclaimers