DL205 User Manual, 4th Edition, Rev. D
5-201
Chapter 5: Standard RLL Instructions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
Print Message (PRINT)
The Print Message instruction prints the embedded
text or text/data variable message to the specified
communications port (2 on the DL250–1/260 CPU),
which must have the communications port configured.
You may recall from the CPU specifications in Chapter 3 that the DL250–1 and DL260 ports
are capable of several protocols. To configure a port using the Handheld Programmer, use
AUX 56 and follow the prompts, making the same choices as indicated below on this page.
To configure a port in DirectSOFT, choose the PLC menu, then Setup, then Setup Secondary
Comm Port.
• Port: From the port number list box at the top, choose “Port 2.”
• Protocol: Click the check box to the left of “Non-sequence.” The Setup Communication Ports
dialog box opens.
• Memory Address: Choose a V-memory address for DirectSOFT to use to store the port setup
information. You will need to reserve 66 contiguous words in V-memory for this purpose. Select
“Use for printing only” if it applies.
• Baud Rate: Choose the baud rate that matches your printer.
• Stop Bits, Parity: Choose number of stop bits and parity setting to match your printer.
Then click the button indicated to send the Port 2 configuration to the CPU, and click
Close. See Chapter 3 for port wiring information to connect your printer to the DL250-
1/260.
PRINT A aaa
“Hello, this is a PLC message”
Data Type DL250-1 Range DL260 Range
A aaa aaa
Constant K 2 2
230
240
250-1
260
DS Used
HPP N/A