Print Message (PRINT)
The Print Message instruction prints the embedded text
230
or text/data variable message to the specified
240
communications port (2 on the DL250–1/260 CPU),
250-1
which must have the communications port configured.
260
DS
Used
HPP
N/A
Constant
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", and then you'll see the dialog box
shown below.
• 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.
Chapter 5: Standard RLL Instructions - Message
Data Type
DL250-1 Range
A
K
DL205 User Manual, 4th Edition, Rev. B
PRINT
"Hello, this is a PLC message"
DL260 Range
aaa
aaa
2
2
1
A aaa
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
5–201
Need help?
Do you have a question about the DirectLOGIC DL205 Series and is the answer not in the manual?