Chapter 5: Standard RLL Instructions
Print Message (PRINT)
1
1
The Print Message instruction prints the embedded text
DS5
Used
or text/data variable message to the specified, configured,
HPP
N/A
2
2
communications port (Port 2 on the DL05 CPU).
3
3
⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠A
Constant ⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠K
4
4
5
5
You may recall from the CPU specifications in Chapter 4 that the DL05's ports are capable
of several protocols. Port 1 cannot be configured for the non-sequence protocol. To configure
port 2 using the Handheld Programmer, use AUX 56 and follow the prompts, making the same
6
6
choices as indicated below on this page. To configure a port in DirectSOFT, choose the PLC
> Setup > Setup Secondary Comm Port.
7
7
• 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
8
8
below.
9
9
10
10
11
11
12
12
13
13
14
14
a
A
• Baud Rate: Choose the baud rate that matches your printer.
B
b
• Stop Bits, Parity: Choose number of stop bits and parity setting to match your printer.
• Memory Address: Please choose a memory address with 64 words of contiguous free memory for use
C
c
by the Non-Sequence Protocol.
NOTE: See Chapter 4 for a detail of the non-sequence setup.
D
D
Then click the button indicated to send the Port 2 configuration to the CPU, and click
Close. Then see Chapter 3 for port wiring information, in order to connect your printer
to the DL05.
5-114
DL05 Micro PLC User Manual, 6th Edition, Rev. D
Operand Data Type
PRINT
A aaa
"Hello, this is a PLC message"
DL05 Range
aaa
2
Need help?
Do you have a question about the DL05 and is the answer not in the manual?