Publication 1756-UM050A-EN-P - December 2001
Interfacing with FLEX I/O 8-15
Test the Example
Application
You will test the example application by using a momentary switch to
simulate a parts sensor.
1. Remove power from the FLEX I/O and wire inputs 0 and 2 of the
1794-IB16 FLEX I/O input module as shown in the following figure:
2. Restore power to the FLEX I/O.
3. Restore the RSLogix5000 software and place the controller in Run
mode.
4. Repeatedly press and release the momentary switch at Input 0
(Count) on the 1794-IB16 input module. Each time you press the
switch you should see the Parts_Count accumulated value
increment on the screen and the LEDs of the 1794-OB16 output
module increment in binary.
5. Press and release the momentary switch at Input 2 (Reset) on the
1794-IB16 input module. You should see the accumulated value of
the Parts_Count reset to zero and all of the LEDs on the 1794-OB16
output module turn off.
+
–
1794-IB16
24V
Count
Reset
16 (COM)
0 2
1514131211109876543210
24 VDC SOURCE OUTPUT
1794±OB16
2
Allen-Bradley
LEDs on Output Module will increment in binary.
Accumulated Value will
increment and move to
Output Module.
AB Parts