2012/1/27 andy pugh <bodge...@gmail.com>: > On 27 January 2012 08:10, Viesturs Lācis <viesturs.la...@gmail.com> wrote: > >> When output is "false": >> There are 3,46V between 5i23 pin and GND. >> There are 1,68V between 5i23 pin and +5V. >> >> When output is "true": >> There are 0.6V between 5i23 pin and GND. >> There are 4.65V between 5i23 pin and +5V. > > I think that should be OK. What the setting you have made does is make > the outputs 5V-safe, rather than into 5V outputs. > The trick is to use them as sinking outputs. You connect the opto +5V > to the +5V rail, and the opto 0V pin to the 5i23. > When the pin is high, no current flows. When the pin is low, current flows. >
Thanks, Peter and Andy! It seems that the output pin is working correctly. Viesturs ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users