Because of the variety of uses for the products described in this
publication, those responsible for the application and use of this
control eq uipment must satisfy themselves that all necessary steps
have been taken to assure that each application and use meets all
performance and safety requirements, including any applicable laws,
regulations, codes and standards.
The illustrations, charts, sample programs and layout examples
shown in this guide are intended solely for purposes of example.
Since there are many variables and requirements associated with any
particular installation, Allen-Bradley does not assume responsibility
or liability (to include int ellectual property liability ) for actual use
based upon the examples shown in this publication.
Allen-Bradley publication SGI-1.1, Safety Guidelines for the
Application, Installation and Maintenance of Solid-State Control
(available from your local Allen-Bradley office), describes some
important differences between solid-state equipment and
electromechanical devices that should be taken into consideration
when applying products such as those described in this publication.
Reproduction of the contents of this copyrighted publication, in
whole or part, without written permission of Allen-Bradley
Company, Inc., is prohibited.
Throughout this manual we use notes to make you aware of safety
considerations:
ATTENTION: Identifies info rmation about practices
or circumstances that can lead to personal injury or
!
Attention statements help you to:
•identify a hazard
•avoid a hazard
•recognize the consequences
Important: Identifies information that is critical for successful
SLC, SLC 500, SLC 5/01, SLC 5/02, SLC 5/03, SLC 5/04, PLC and PLC-5 are registered trademarks of
Allen-Bradley, Inc.
This chapter describes the DL40 Plus Slave display and summarizes
its capabilities. The follow ing topics are included in this chapter:
•DL40 Plus Slave description
•Operating modes
•Features
•Typical configurations
The DL40 Plus Slave displays are available in two-line and four-line
versions. These displays are designed for panel mounting in industrial
environments and require a 110-240V AC power source.
2706-LV4S
2706-LV2S
DL40 Plus Slave displays receive message text from a host device.
The host device may be a DL40 Plus master display, PanelView
terminal, programmable controller, or a personal computer. All
messages are created and stored in the host device.
The DL40 Plus Slave displays appear similar to the standard DL40
Plus two and four-line displays except they do not have front panel
buttons, indicator LEDs, keyboard port, or an RIO / parallel port.
Publication 2706.6.3
1-2
IntroductiontotheDL40PlusSlave
Operating Modes
The DL40 Plus Slave has four operating modes:
•DL Slave
•PV Slave
•Terminal
•Diagnostic
DL(Dataliner)SlaveMode
Use this mode when connecting the DL40 Plus Slave to a DL40 Plus
master display or an enhanced PanelView terminal such as the
PV1400e. One or more DL40 Plus Slaves may be connected to a
single DL40 Plus using an RS-485 link (mul tidrop) or an RS-232 link
(single drop only).
Each DL40 Plus Slave may be individual ly addressed to display only
the messages sent to a specific address. Displays with the same
address display the same messages. Addresses 13 and 18 are not
valid, see page 2-3.
PV(PanelView)Slave
Use this mode when connecting a single DL40 Plus Slave to the
printer port of a standard PanelView operator terminal (PV550, 600,
900, 1000 or 1400). The DL40 Plus Slave displays any text that
would normally be sent to a printer. The DL40 Plus Slave may be
connected to the PanelView using the RS-232 port. Only one display
may be connected on t he communi cati on link, t he DL40 P lus Slave is
not individually addressable in this mode.
Pu
blica
TerminalMode
In this mode, the DL40 Plus Slave can receive data from any device
capable of sending serial ASCII characters. The ASCII characters
sent by the host device control the message text, line scrolling and
formatting of the messages. Only one display may be connected on
the communication link, the DL40 Plus Slave is not individually
addressable in this mode.
DiagnosticMode
Use the diagnostic mode for basic setup and troubleshooting. In this
mode, the DL40 Plus Slave displays the hex value of all the data it
receives. An indication is provided if there is a communication error.
tion 2706-6.3
IntroductiontotheDL40PlusSlave
1-3
Features
DL40 Plus Slave displays have these features:
DL40 Plus
5x7DotMatrixCharacters
TwoorFour-LineVacuumFluorescentDisplay
DIPSwitchConfiguration
RS-485Port
Half-duplexRS-232Port
12VDCSupply
forRelayConnections
Operatesonstandard
100-240VAC,50/60Hz
RelaywithN.O.Contacts
(3Amprated)
Pu
blica
tion 2706-6.3
1-4
DL40Plus(Master)
DL40PlusSlave
DL40PlusSlave
CHECK PRESS #1
PRESS #1 STOPPED
SYSTEM CHECK
NORMAL
RS-485(multidrop)
RS-232 (point-to-point)
Host Controller or Personal Computer
Triggering Messages
RS-485(multidrop)
Other Slaves
Other Slaves
DL40PlusSlave
INLET VALVE CLOSED
RS-232
Printer Port
One Slave Only
(Not Individually Addressable)
12:48 09/16/98
DL40PlusSlave
DL40PlusSlave
RS-232 (point-to-point)
RS-485(multidrop )
PLC, Personal Computer,
or other device providing
ASCII message packets
Alarm Reset
6:40 AM 11/17/98
Tank Temperature:
150 F
Other Slaves
Other Slaves
IntroductiontotheDL40PlusSlave
Typical Configurations
Here are some of the most typical applications:
DL40PlustoDL40PlusSlave
PanelViewtoDL40PlusSlave
Pu
blica
tion 2706-6.3
PLC,PC,orOtherDevicetoDL40PlusSlave
Setting the DIP Switches
10-Position DIP Switch
↑
Up = ON
↓
Down = OFF
N
O
12 34 567 8 910
N
O
1234 5678910
Chapter
2
Chapter Objectives
DIP Switch Location
This chapter describes ho w to conf igu re the DL40 Pl us Sla ve display
using the configuration DIP switches. The following topics are
provided:
•DIP switch location
•Selecting the operating mode
•Selecting display language
•Setting the baud rate
•Selecting display/communication options
•Setting display address
Access the 10-positi on DIP s witches from t he back of th e disp lay. Set
DIP switches using a thin nonconductive object. Do not use a pencil
(broken graphite pieces may short out the internal circuitry).
Changes to DIP switches take affect on powerup. If you make
changes with the power applied, you will have to cycle power before
the changes take effect.
Publication 2706-6.3
2-2
SettingtheDIPSwitches
Selecting the Operating Mode
Mode (DL Slaves Setting)
12 3 45 67 8910
1234567 8910
DIP #1
DIP #2
Display Language
Language (English Setting)
1234567 8910
1234567 8910
DIP #1
DIP #2
The DL40 Plus Slave display operates in one of four modes. Chapter
1 briefly describes these modes. For detailed descriptions refer to the
individual chapters describing each mode. Select the mode using
position #1 and #2 of DIP Switch #1.
ModePosition#1Position#2
DLSlave
PVSlave
Terminal
Diagnostic
Down
Down
Up
Up
↓
↓
↑
↑
Down
Up
Down
Up
↓
↑
↓
↑
The DL40 Plus Slave displays characters in one of three language
sets. Appendix B lists the characters in each of the language sets. Set
the display language using positions #3 and #4 of DIP Switch #1.
Select the baud rate that matches the rate of the host device. Both the
RS-232 and RS-485 ports are set at this rate. Set the rate using
positions #5 and #6 of DIP Switch #1. The DL40 Plus Slave displ ays
the currently set baud rate during its powerup sequence.
BaudRatePosition#5Position#6
300
1200
9600
19200
Down
Down
Up
Up
↓
↓
↑
↑
Down
Up
Down
Up
↓
↑
↓
↑
Publication 2706-6.3
SettingtheDIPSwitches
12 345 67 8910
32
44
Not Used
2-3
Options
Even P a rity Enab led
12345678910
12345678910
Serial Address
Cursor &
Auto New Line
Disabled
DIP #1
DIP #2
Positions #7 and #8 determine the parity, set the parity to match the
host device. Positio ns # 9 and #10 apply to Terminal mode operat io n,
Refer to Chapter 6.
Position#ConditionSelectsAppliesto:
ParityEnabled
ParityDisabled
OddParity
EvenParity
CursorEnabled
CursorDisabled
AutoNewLineEnabled
AutoNewLineDisabled
AllModes
AllModes
TerminalMode&
PVSlaveMode
TerminalMode&
PVSlaveMode
#7
#8
#9
#10
Up
Down
Up
Down
Up
Down
Up
Down
↑
↓
↑
↓
↑
↓
↑
↓
Position #1 through #7 of DIP Switch #2 select the serial address of
the slave display. The address is the binary sum of the value of all of
the switches in the Up condition. Position #7 is the least significant
position (ones posi tion) a nd posit ion #1 has the most significa nt value
(64 position) as shown below. Positions #8 to #10 are not used.
Refer to Appendix C for a list of all possible addresses and the
corresponding switch positions.
Position#1234567
Value6432168421
For example, with Positions #2, #4, and #5 in the up condition, the
serial address is 44.
8
4
Important: Address 13 and 18 are invalid slave addresses. If you
assign either of these addresses to a slave, the slave overrides the
setting and internally switches the address to 127.
Publication 2706-6.3
2-4
SettingtheDIPSwitches
Publication 2706-6.3
Installation and Startup
Chapter
3
Chapter Objectives
Mounting the DL40 Plus Slave
This chapter describes how t o mount and make el ectr ical connect ions
to the DL40 Plus Slave display. The following topics are described:
•Mounting Instructions
•Panel Cutout Dimensions
•RS-232 Connections
•RS-485 Connections
•Relay Connections
•Power Connections
•Powerup Sequence
The following pages provide panel cutout dimensions and overall
dimensions for the DL40 Plus Slave displays.
You can also mount the DL40 Plus Slaves in a custom panel or
enclosure. When a DL40 plus is properly installed, the faceplate of
the DL40 Plus Slave provides a NEMA Type 12, 13, and 4X(indoor)
rating. To install the DL40 Plus Slave:
1. Cut and drill the appropriate mounting holes in the enclosure or
panel.
2. Remove the six mounting nuts from the hardware bag provided
with the di splay.
3. Position the DL40 Plus Slave in the panel or enclosure mounting
hole.
4. Install and alternately tighten the nuts to a torque of 10in
(1.13N
•
m).
•
lbs
Publication 2706-6.3
3-2
InstallationandStartup
Panel Cutout Dimensions
All dimensions are in inches (millimeters)
0.19 (4.8)
Cutout
3.50
(88.9)
0.19 (4.8)
6.81 (173.0)
6.94 (176.1)
Cutout
13.62 (345.9)
2-Line Slave Display
13.87 (352.3)
Cutout
13.62 (345.9)
3.88
(98.4)
0.25 (6.4)
Diameter Hole
6 places
0.19 (4.8)
Cutout
5.30
(134.6)
0.19 (4.8)
6.81 (173.0)
6.94 (176.1)
4-Line Slave Display
13.87 (352.3)
5.68
(144.3)
0.25 (6.4)
Diameter Hole
6 places
Publication 2706-6.3
Dimensions
2-Line Display
4.38
(111.3)
InstallationandStartup
13.16
(334.2)
3-3
14.357(365.0)
Dimensionsareininches(millimeters)
Dimensions
4-Line Display
3.16
(80.3)
3.19
(81.0)
6.16
(156.4)
14.357(365.0)
13.16
(334.2)
3.16
(80.3)
Dimensionsareininches(millimeters)
3.19
(81.0)
Publication 2706-6.3
3-4
InstallationandStartup
Electrical Precautions
Input Voltage Requirements
Install the DL40 Plus Slave display conforming to NFPA 70E,
Electrical Safety Requirements for Employee Workplaces. In addition
to the NFPA general guidelines, refer to the following:
Careful cable routing helps minimize electrical noise. Route
incoming power to the module by a separate path from the
communication cables.
Do not run communications wiring and power wiring in the
same conduit!
Where communication and wire paths must cross, make their
intersection perpendicular.
Grounding helps limit the effects of noise due to electromagnetic
interference (EMI). To avoid problems caused by EMI, properly
ground all equipment and use shielded cables.
Before connecting th e DL40 Plus S lave to t he incomin g power, verify
that the power source provides:
100-240 Volts AC, 50/60 Hz, 0.60 - 0.25 amperes
Hazardous Location Installations
Important: Power, input and output (I/O) wiring must be in
accordance with Class I, Division 2 wiring methods
[Article 501-4(b) of the National Electrical Code,
NFPA70] and in accordance with the local authority
having jur i sdiction.
ATTENTION: THIS EQUIPMENT IS SUITABLE
FOR USE IN CLASS I, DIVISION 2, GROUPS A, B,
!
!
!
C AND D, OR NON-HAZARDOUS LOCATIONS
ONLY.
ATTENTION: EXPLOSION HAZARD SUBSTITUTION OF COMPONENTS MA Y IMP AIR
SUITABILITY FOR CLASS 1, DIVISION 2.
ATTENTION: EXPLOSION HAZARD - DO NOT
CONNECT OR DISCONNECT EQUIPMENT
UNLESS POWER HAS BEEN SWITCHED OFF OR
THE AREA IS KNOWN TO BE NON-HAZARDOUS.
Publication 2706-6.3
InstallationandStartup
Pin#Function
123456789
TXDRXD
SignalCommon
NoConnection
12
3
4
5
6789
NoConnection
DSRRTSCTSNoConnection
DL40PlusSlave
DL40PlusSlave
DL40PlusMaster
2
3
5
23
5
TXDRXD
SignalGround
TXDRXD
SignalGround
3-5
RS-232 Connections
Use the RS-232 port to connect the DL40 Plus Slave to:
•DL40 Plus Master
•PanelView Printer Port
•1771 or 1746-DB BASIC Module
•PLC-5 Chan nel 0
•SLC Channel 0
The following figure shows the location and terminal definitions for
the RS-232 port.
DL40 Plus Slave to DL40 Plus Master RS-232 Port
Connect a single DL40 Plus slave to a DL40 Plus master as shown
below. You can also use the DTAM Plus programming cable
(Catalog No. 2707-NC2) with a male-female pin adapter.
Publication 2706-6.3
3-6
DL40PlusSlave
23
5
23
5
TXD
RXD
SignalGround
TXDRXD
SignalGround
PanelView900Shown
DL40PlusSlave
5
6
20
23
5
TXD(RS-232Out)RXD(RS-232In)
SignalGround
3
7
4
1
2
BASICModule
RS-232PeripheralPort
Shield
TXDRXD
SignalGround
RTSCTSDSR
DTR
RS-232Port
DL40PlusSlave
6
7
8
23
5
TXD(RS-232Out)RXD(RS-232In)
SignalGround
3
4
5
1
2
BASICModule
RS-232PRT1Port
Shield
RXDTXD
COM
DTRCTSDSR
DTR
RS-232Port
NoConnection
InstallationandStartup
DL40 Plus Slave to PanelView RS-232 Printer Port
Connect the DL40 Plus Slave to a PanelView RS-232 printer port as
shown below. The PanelView sends messages to the DL40 using its
print messages function. You can also use the DTAM Plus
programming cable (Catalog No. 2707-NC2) with a male-female pin
adapter.
Connect the DL40 Plus Slave to a PLC-5 Channel 0 port as shown
below. You can also use programming cable (Catalog No. 2706NC12).
DL40 Plus Slave to SLC Channel 0
Connect the DL40 Plus Slave to an SLC Channel 0 port as shown
below. You can also use programming cable (Catalog No. 2706NC12).
.
Publication 2706-6.3
3-8
Pin#Function
123456
EGNDShieldCommonChannelAChannelBTermination
RS-485
1-EGND
2-SHLD
3-COMM
4-CHA
5-CHB
6-TERM
DL40PlusSlave
InstallationandStartup
RS-485 Connections
Use the RS-485 port to connect the DL40 Plus Slave to:
•DL40 Plus Master
•Personal Computer using an RS-485 Converter
The following figure shows the location and terminal definitions for
the RS-485 port.
Publication 2706-6.3
InstallationandStartup
3-9
Connecting to a DL40 Master
One or multiple DL40 Plus Slave displays may be connected to a
single DL40 Plus master display using the RS-485 port. The RS-485
network supports multi-drop communications with up to 126 slave
displays. Use Belden 9842 cable at a maximum length of 4,000 ft
(1219 meters). Refer to the following illustration.
DL40 Plus Slave to a Computer using an RS-485 Converter Box
If you are using a personal computer to send messages to the DL40
Plus Slave using the RS485 port, refer to the following diagram:
DL40-Plus Slave
Displa
- RS-485 Port
Term
CH-B
CH-A
Comm
Shield
E-Ground
6
5
4
3
2
1
Shield
Sheild
RS-485 Converter Box
Model LD-485A-MP
RXB
RXA
TXB
TXA
RS-485 OUT
2
3
7
RS-232 Ground
P.C. RS-232
RS-232 IN
Monitor
Computer
5- Ground
3- TXD
2- RXD
Serial Port
Note: When using the Black Box RS-485 Conver ter ( LD-485A-MP) :
• Set the RTS/CTS delay time to 5 millisec onds u si ng jumper
W9.
• Set Switch S2 to the unterminated position.
• If the RS-485 Driver Enable is set to “Enable When Data is
Received on the RS-232 Port” (Jumper W15 in the B-C
position), set the “Disable Timeout Delay” to 100 msec or
greater (Jumper W17) when communicating at lower Baud
rates (300 or 1200 Baud).
• You can use a programming cable (Catalog No. 2706NC15) to connect the computer serial port to the RS-485
converter box.
Publication 2706-6.3
InstallationandStartup
ACPower
MayberequiredifAnnunciatorcontrol
circuitrequiresavoltagesource.
Fuse3AMaxRecommended
Annunciator
DL40PlusSlave
3-11
Relay Connections
Use the DL40 p lus slave relay to trigger a re mote alarm or warning
light. The relay has contacts rated at 3A at 250V AC. Connect the
remote alarm or light to the relay connectors on the back of the DL40
Plus Slave. Shown below is a typical wiring application.
ATTENTION:
Use the Alarm Relay for annunciator
purposes only. Do not use it for control circuits.
!
Publication 2706-6.3
3-12
Green
(Green/Yellow)
White
(Blue)
L2NL1
Black
(Brown)
InstallationandStartup
Power Connections
Before making power connection s, make sure that the po wer is turned
off. The DL40 Plus Sla ve requir es 100-240Volts AC, 50/60 Hz, 0.60 -
0.25 Amperes.
ATTENTION: Improper wiring of the power
connections may result in damage to the DL40.
!
Important: Make sure all DIP switch es are prop erly s et as descr ibed
When power is applied to the DL40 Plus Slave a powerup sequence
of displays are shown. The first display on powerup is the sign-on
banner identifying the hardware and firmware:
Following the sign-on banner, all of the display pixels are turned on
for 2 seconds followed by a series of informational messages
indicating the current DIP switch settings. Each display lasts for
about four seconds.
After the status messages are displayed, the DL40 Plus Slave clears
the display and enters the selected run mode.
Publication 2706-6.3
3-14
InstallationandStartup
Publication 2706-6.3
Dataliner (DL) Slave Mode
Chapter
4
Chapter Objectives
Slave Mode Operation
This chapter describes the operation of the DL40 Plus Slave in DL
Slave Mode. This chapter contains the following topics:
•Slave mode description
•Slave mode protocol
•Example messages
•Display options
•Clearing one or more lines
•Energizing relay
Dataliner (DL) Slave mode allows multiple slave displays to display
different messages while connected to a single master device. Each
slave display is assigned an address and only displays messages sent
to that address. DL40 Plus Slaves assigned the same address display
the same messages. Me ssages sent to address 12 7 (global addres s) are
displayed on all slave displays reg ardless of the i r assigned address.
Note: If a DL40 Plus is used as a master display, make sure it is
configured for DL Slave protocol on it’s communication port (RS232 or RS-485).
DL Slave Mode is selected by DIP switch settings as described in
Chapter 2.
Publication 2706-6.3
4-2
20 Characters
to Display
Slave
Address
Line
Number
Carriage
Return
Dataliner(DL)SlaveMode
Slave Mode Protocol
Messages sent to the DL40 Plus Slave in DL Slave mode must have
the followin g format:
If you are using a DL40 Plus as the master, configure its
communication port for DL Slaves (refer to the DL40 Plus user
manual, Publication 2706-6.1). This configures the DL40 master to
send message data in the DL Slave format.
20CharacterstoDisplay
Send the message text characters to be displayed. ASCII characters
32 to 255 (20hex to FFhex) are supported. All control characters
within the mes sage text field, except [Ctrl][F] and [Ctrl][R], are
ignored. Any vali d AS CII ch ar act er, upper or l ower case can be sent.
If fewer than 20 c haract ers a re se nt, the re maining chara ct er posi tions
are filled with spaces. Refer to Appendix A for the character sets
available for t he selected language char act er set (DIP switch set ta ble,
see Chapter 2).
SlaveAddress
A one byte character from 1 to 127 (1 to 7F hex) that specifies the
address of the slave display that is to receive the message.
The following addresses are invalid:
•13 (0Dhex) is invalid because it corresponds to Carriage Return
•18 (12hex) is invalid because it corresponds to Ctrl-R
•If you select an invalid address, the DL40 overrides the setting
with an address of 127.
Address 127 is a global address that accepts all messages regardless
of the message’s address. In addition, any message sent with the
address 127 is received by all slave displays. Use address 127 for
messages you want displayed on all slaves instead of repeating the
same message to multiple displays.
LineNumber
A one byte character specifying the line number the message is to be
displayed on. Valid line numbers are 1 to 4 decimal (not ASCII 1 to
Message is terminated by a carriage return, Ctrl-M (decimal 13,
0Dhex).
Publication 2706-6.3
Dataliner(DL)SlaveMode
100 PRINT #”VALVE NUMBER 1 OPEN”, CHR(1), CHR(1), CHR(13)
Slave 1Line 1
Carriage
Return
Carriage
Return
Valve Number 1 OPEN^A^A^M
Message Text
Slave #1
(01hex)
Line #1
(01hex)
4-3
Example Messages
For example, a print statement for a Catalog No. 1771-DB Basic
module with a DL40 Plus Slave display would be:
The message VALVE NUMBER 1 OPEN would be displa yed on line
one of slave number one. Note that to send the message fields, the
print CHR (decimal character equivalent) function is used.
To send the same message from any PC terminal program, use:
Display Options
Where ^A is the [Ctrl] and [A] keys pressed at the same time.
Use the following control codes in the message text for flash and reset
functions. Any other control codes are ignored.
[Ctrl][F]
This is the flash code. Send this code when you want the display
characters to flash. All characters following the first flash code in a
message flash. If two [Ctrl][F] codes appear in a message, only the
characters between the codes flash.
You can turn flash on and off multiple times in a message. At the start
of each new line of message text, the flash option is turned off. The
[Ctrl][F] character is not included in the 20 character limit of the
display protocol.
[Ctrl][R]
This is the reset co mmand. When a [Ctrl][R] is re ceived by the DL40
Plus Slave, all data for the current line is discarded. For example, if
10 characters are received by the DL40 Plus Slave and then a
[Ctrl][R] is sent, the 10 characters are discarded. After using the reset
command, you can start a new message. [Ctrl][R] resets the flash
status to non-flashing.
Publication 2706-6.3
4-4
Slave
Address
Line
Number
Carriage
Return
Slave
Address
Line
Number
Carriage
Return
Dataliner(DL)SlaveMode
Clearing One or More Lines
Energizing Relay
To clear one or more lines on a DL40 Plus Slave, use:
The following table lists the line number byte required for clearing
any or all lines of the display.
UsethisByteforLineNumber:
ToClear:
ASCIIEquivalentValue
Line1[Ctrl][A]1decimal(1hex)
Line2[Ctrl][B]2decimal(2hex)
Line3[Ctrl][C]3decimal(3hex)
Line4[Ctrl][D]4decimal(4hex)
AllLines250decimal(32hex)
To control the relay, use:
The following table indicates the line numbers to use for relay
control
:
UsethisByteforLineNumber:
To:
ASCIIEquivalentValue
EnergizeRelay048decimal(30hex)
De-energizeRelay149decimal(31hex)
Publication 2706-6.3
PanelView (PV) Slave Mode
Message Text (Up to 128 Characters)
Carriage
Return
Chapter
5
Chapter Objectives
PV Slave Mode
This chapter descri bes the o peration of the DL4 0 Plus Sla ve in the PV
Mode. The following topics are described:
•PV Slave Mode description
•PV Mode protocol
•Display options
Use the PanelView (PV) Slave Mode to send the DL40 Plus Slave
messages from a PanelView operator ter minal. The DL40 acts like a
printer attached t o the Pane lView communicati on port. Any messages
printed by the PanelView are displayed on the DL40 Plus Slave.
Note: In PV Mode, only one DL40 Plus Slave display can be
connected to the PanelView communication port (RS-232). In this
mode, DL40 Plus Slave displays cannot be addressed individually.
PV Slave Mode is selected by DIP switch settings as described in
Chapter 3. For information o n setting up a PanelView to print
messages, refer to the PanelBuilder Software user manual
(Publication 2711-6.0).
PV Slave Mode Protocol
Messages to the DL40 in PV mode consist of the following:
Only ASCII characters 32 to 255 (20hex to FFhex) are displayed.
ASCII characters 0 through 31 (1F hex) are non-printable control
characters.
T ext is displa yed from lef t to righ t. When the end of the cu rrent li ne is
reached, the cursor shifts and starts on the next line. If the display is
on the last line, the first line is cleare d and the lines are shifted u p.
Some control characters can be used to control the display of
messages (refer to display options, next section).
Publication 2706-6.3
5-2
PanelView(PV)SlaveMode
Display Options
Use the following control codes to control the appearance of
messages displayed in PV Mode.
[Ctrl][F]
(06hex)
Flash code. Send the [Ctrl][F] command when you want the display
characters to flash. All characters following the first flash code in a
message flash. If two [Ctrl][F] codes appear in a message, only the
characters between the codes flash.
You can turn flash on and off multiple times in a message. At the start
of each new line of message text, the flash option is turned off.
[Ctrl][G]
(07hex)
This command energizes the DL40 Plus Slave relay. Display text is
not affected.
[Ctrl][L]
(0Chex)
Form feed code. Sending a [Ctrl][L] command clears the display and
moves the cursor to t he uppe r lef t cor ner of the d ispla y. Flash mode is
set to non-flashing. The relay is not affected.
[Ctrl][M]
(0Dhex)
Carriage return command. Sending the [Ctr l][M] command
terminates the current message line, sets the flash mode to nonflashing, and moves the cursor to the beginning of the current line.
The relay is not affected.
If the Auto New Line DIP switch is enabled (see Chapter 2), the
cursor is also moved down to t he start of the next line. I f the cursor is
at the last line, the first line is cleared and the lines are shifted up.
Note: The cursor is not moved until the next displayable character is
received. This allows the current text to be displayed for the longest
period of time before being shifted or cleared.
[Ctrl][R]
(12hex)
Relay reset comman d. Sending a [ Ctrl] [R] comman d de-ener gizes the
relay. Displayed text is unchanged.
[Ctrl][J]
(0Ahex)
Line Feed command. Send a [Ctrl][J] command to move the cursor
down to the next line. If the cursor is on the last line, it remains on the
last line and all of the lines are shifted up (first line is removed).
Note: The cursor is not moved until the next displayable character is
received. This allows the current text to be displayed for the longest
period of time before being shifted or cleared.
Publication 2706-6.3
PanelView(PV)SlaveMode
5-3
Line Display Characteristics
The PanelView Slave mode has two special display characteristics
that make messages easier to read:
LinetoLineDelay
After each individual line is displayed, there is a one second pause
before the next line is displayed. This delay provides time for each
line to be read.
CursorMovementCommandDelay
Line wrap, carriage retur n, l ine fee d and f orm feed operations are not
executed immediately. These commands are stored and executed
only when the next displayable character (or identical cursor
movement) is received. This allows the current text to be displayed
for the longest period of time before being shifted or cleared.
Publication 2706-6.3
5-4
PanelView(PV)SlaveMode
Publication 2706-6.3
Terminal Mode
Chapter
6
Chapter Objectives
Terminal Mode Operation
This chapter describes the operation of the DL40 Plus Slave in
Terminal Mode. This chapter contains the following topics:
•Terminal mode operation
•Protocol
Terminal mode allows more control over messages than the basic
Slave Mode setting. In terminal mode, you can control:
•Cursor position
•Line scrolling
•Character-by-character display options
However, th is mode also requir es that you control the position ing and
formatting of each message. In Terminal Mode, only one DL40 Plus
Slave may be connected to the RS-485 or RS-232 link.
Terminal Mode is selected by DIP switch settings as described in
Chapter 2.
Publication 2701-6.3
6-2
TerminalMode
Terminal Mode Protocol
Message text and control codes are sent serially to the DL40 Plus
Slave in terminal mode. The following control codes are used:
CursorUp(Ctrl-K)
(0Bhex)
Positions the cursor directly above the current cursor position. If the
cursor is on the first line, the cursor is move d to the last line on the
display.
CursorDown(Ctrl-V)
(16hex)
Positions th e cursor directly below the current cursor position. If the
cursor is on the last line, the cursor is moved to the first line on the
display.
CursorLeft(Ctrl-H)
(08hex)
Moves the cursor one position to the left of the current cursor
position. If the cursor is at th e leftmost position on a line, the cursor
is moved to the rightmost position on the line above. If the cursor is
at the leftmost position of the first line, the cursor is moved to the
rightmost position of the last line.
CursorRight(Ctrl-L)
(0Chex)
Moves the cursor one position to the right of the current cursor
position. If th e curs or is at the ri ghtmost posi tion on a l ine, t he cur sor
is moved to the leftmo st posi t ion on t he ne xt lower line. If the cursor
is at the rightmost position of the last line, the cursor is moved to the
leftmost position of the first line.
CursorReturn(Ctrl-M)
(0Dhex)
Moves the cursor to the leftmost position on the current line.
LineFeed(Ctrl-J)
(0Ahex)
Moves the cursor directly below the current position. If the cursor is
on the last line, t he cursor stays in its posit ion an d every li ne is moved
up one line (first line is removed).
ReverseLineFeed(Esc
andthen
J)
(1B,4Ahex)
Moves the cursor directly above the current position. If the cursor is
on the first line, the cursor stays in its position and every line is
moved down one line (last line is removed).
CursorHome(Ctrl-T)
(14hex)
Moves the cursor to the leftmost position on the first line of the
display.
ClearScreen(Esc
andthen
*)
(1B,2Ahex)
Clears the display and moves the cursor to the leftmost position on
the first line of the display.
Publication 2706-6.3
TerminalMode
6-3
NewLine(Ctrl-_)
(1Fhex)
Moves the cursor to the beginning of the line below. If the cursor is
on the last line, every line is moved up one li ne and the bot tom line is
cleared.
DeleteLine(Esc
andthen
R)
(1B,52hex)
Clears the current line. The cursor remains at its current position.
InsertLine(Esc
andthen
E)
(1B,45hex)
Moves the current line and all lines below it down one line (text on
bottom line is removed). Then clears the current line. The cursor
remains at its c urrent position.
SetCursorPosition(Esc,=,<row>,<column>)
(1B,3D<r><c>hex)
Moves the cursor to the specified row and column. Refer to th e
following table. If you exceed the parameters listed in the table, the
cursor position defaults to the greatest row or column number.
Column1234567891011121314151617181920
Row1234
ASCIISP!#$%&()*+,_./0123
Decimal3233343536373839404142434445464748495051
Hex202122232425262728292A2B2C2D2E2F30313233
For example, the following ASCII character sequence places the
cursor in Row 3, Column 9 of a four line display: ESC= “(
SetCursorInvisible(ESC.0)
(1B,2E,30hex)
Makes the cursor invisible.
SetCursorVisible(ESC.1)
(1B,2E,31hex)
Makes the cursor visible.
De-energizeRelay(ESC.2)
(1B,2E,32hex)
De-energizes the annunciator relay.
EnergizeRelay(ESC.3)
(1B,2E,33hex)
Energizes the annunciator relay.
Publication 2706-6.3
6-4
TerminalMode
SetFlashingMode(ESCG2)
(1B,47,32hex)
Enables flashing text mode. All characters received after this
command are displayed flashing until disabled with a Clear Flashing
Mode command.
ClearFlashingMode(ESCG0)
(1B,47,30hex)
Disables flashing text mode.
MonitorMode(ESCU)
(1B,55hex)
Displays all control codes as custom characters. These characters
represent the hexadecimal value of the control code. Any command
associated with the control code is ignored.
ExitMonitorMode(ESCu)or(ESCX)
(1B,75hex)or(1B,58hex)
Exits Monitor Mode.
DisplayStatus(ESCh)
(1B,68hex)
Displays the status of the display as defined by the DIP switches.
This is the same configuration te xt displ ayed on power up (see page 3-
13) without product version text and pixel test. After displaying the
status information, the screen is cleared with the cursor in the leftmost
position on the first line.
Publication 2706-6.3
Diagnostic Mode
DIAG: 19200 N-8-1
19200
9600
1200
300
Baud Rate
Parity / Data Bits / Stop Bits
N - 8 - 1
E - 7 - 1
O - 7 - 1
DIAG: 19200 N-8-1
Slave 5, Line 1, Car riage Return
05 01 0D
Chapter
7
Chapter Objectives
Using the Diagnostic Mode
This chapter describes the operation of the DL40 Plus Slave in the
Diagnostic Mode. Use the diagnostic mode to ver ify communications
with a host device. Diagnostic mode displays the exact data being
sent by a host device. Use the diagnostic mode as a temporary
installation and troubleshooting aid.
Set the DL40 Plus Slave for diagnostic mode using the DIP switch
settings described in Chapter 2.
SerialPortSettings
In diagnostic mode, th e first line of the displa y indicates t he mode and
serial port configuration:
DataReceivedDisplay
Every byte received on ei ther th e RS-23 2 or RS-485 por t is dis pla yed
in a hexadecimal f orma t on l ine 2 of th e di splay. The bytes shift from
right to left as each new byte is received. The byte on the right is
always the last byte rece i ved. For example:
The value of every byte is displayed including control characters.
Characters are di splay ed as f ast as t hey are recei ved (n o buf f er). This
usually means that only the last 7 bytes of a long message are
viewable.
Publication 2706-6.3
7-2
DIAG: 19200 N-8-1 !
05 01 0D
Serial Port Error
DiagnosticMode
DataErrors
If the DL40 Plus Slave and host are not set to the same serial port
settings, a recept ion error occurs. The error symbol is a ! displaye d as
the last chara cte r on line 1. This sy mb ol is displayed for 1/5 sec (200
msec) after each serial error.
Note: Data cannot be displayed when a serial port error occurs.
This program assumes that the message text is entered in the string
file ST30:10. This file contains the message text and defines the
slave number and line number the mesage is to be displayed on.
Refer to page 4-3 for an example message.