
8–11
Communicating with a PLC-5
R
over an RS-232 or RS-422 Link
Publication 2755-6.8
9. Click the Edit button to open the Message Field Edit dialog.
10. Under Replacement Strings, type no read in the Fail: field.
Bar code data is sent to the controller on a valid read. The Fail
string sends the characters “no read” when a no read occurs.
11. Click OK to return to the Message Field dialog.
12. Click OK to return to the Message dialog.
Define the Message Format
The format of the message is defined below.
1. Click the Format button from the Message dialog.
2. In the Trailer field, type \r\n (Carriage Return, Line Feed).
3. Under Message Destination, select Serial Port.
4. Click OK to return to the Message dialog.
5. Click the Save button and then the Close button to return to the
Project dialog.