10.27 LABORATORY - SERIAL INTERFACING TO A PLC
Purpose:
To write C++ and ladder logic program to communicate over RS-232.
Overview:
only transmit a fixed number of characters
when plc receives the following charaters it should,
C - return '0' if output is off, or '1' if output is on
Pre-Lab:
1. If necessary review PLC basics and the PLC-5 tutorial.
2. Write a ladder logic program to receive ASCII commands as described in the Overview, and perform the desired action.
3. Write a C++ program to communicate with the ladder logic program using a user menu.
In-Lab:
1. Enter the ladder logic program and test it with a terminal program.
2. Enter the C++ program and test it with a terminal emulator.
3. Test the two programs together.
Submit (individually):