Test the running program
Use the steps to test the Traffic_Light_Control ladder program and verify that the program is working correctly.
Use the running Traffic_Light_Control program to:
- Monitor the program that is running in the L70E controller.
- Force inputs.
- Monitor outputs.
In the previous steps, you downloaded the Traffic Light project to the L70E controller, and then changed the controller to
Run
mode.To test the running program
- Verify that the controller is inRemote runmode.
- FromProject Organizer, double-clickTraffic_Light_Controlto open the program.
- FromProject Organizer, double-clickGlobal Variablesto open the global variable grid.
- In the global variable grid, do the following:
- From theForcecolumn, select theForcecheckbox for _IO_EM_DI_0.
- From theValuecolumn, select theForcecheckbox for _IO_EM_DI_0.
On the L70E controller, the output LEDs change state. In the ladder editor, the outputs change state in theValueandPhysical Valuecolumns. - Clear theValuecheckbox to stop forcing the variable.To allow the program or external sources to change the value, clear theForcecheckbox.If you encounter errors, update the Traffic_Light_Control program, and then download the program to the L70E controller.
Provide Feedback