View Single Post
  #3   Spotlight this post!  
Unread 08-02-2012, 23:22
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Rightsight Photoswitch Photoelectric Sensors

Wiring:

Brown goes to power, a red Wago terminal on the Power Distribution Board protected by a 20 Amp fuse.

Blue goes to power return, the associated black Wago terminal on the PDB.

Black goes to the signal pin of a DIO port on the Digital Sidecar. You can use white instead; white gets pulled low when the sensor detects an object, and black gets pulled low when the sensor does not detect an object.


Programming:

It's just a digital input. Open the DIO pin in Begin; read it in Teleop; close it in Finish.
Reply With Quote