Specifications

4-18 OPERATION CHAPTER 4
DT-203X, DT-105X and DT-110X display series
4.4.3.3. Set a message with variables.
When you want to set a message with variables, you should put the Message Number
into a free place on the DM table, between positions DM n+6 and DM n+9. If more than one
message is set, the position into the table is used to control the order in which messages will be
displayed.
Using Messages with variables, besides the message number, you must program the
position where the variable will be found inside the PLC. Programm the position and the DM
number from DM n+10 to DM n+17. Every one of the four messages with variables has 2 DM’s
for variable data. These 2 DM’s work as indirect addressing, first DM has the address where the
data is located while the second DM has the number of DM used.
Example.
DM parameter = 100
DM 106
0
DM 107
25
DM 108
0
DM 109
0
The DM associated value must be in BCD.
DM107 = 25 Set message 25.
DM107 Address of Variable Data in DM112 and DM113.
DM112 = 535 => Variable data in DM535
DM113 = 3 => 3 DM used. DM535, DM536 and DM537.
DM535 to DM537 = Variable data. ( See 4.4.3.6 Data variables.)
4.4.3.4. Reset a message with variables.
To reset a message with variables, you must set its position on the table to 0 or change
the message number for the other message number.
4.4.3.5. Reset all messages .
To reset all messages, you must set all positions from DM n to DM n+9 to 0.
4.4.3.6. Data variables.
The data variables must be placed into groups of consecutive VM’s for each
message.You may use only one group of VM’s for all messages or use a different group of VM’s
for each message.
The variable data block structure is:
First DM
Second DM
..........................
Last DM
Position of
variable
Number of
characters
4 characters
variable
4 characters
variable
4 characters
variable
The position of each character variable in the message is defined at edition time.
Position 1 corresponds to the variable character furthest to the left in line 1. Line 1 is the top line
in displays of more than one line.
DM 110
XXXXX
DM 111
XXXXX
DM 112
535
DM 113
3
DM 114
XXXXX
DM 115
XXXXX
DN 116
XXXXX
DM 117
XXXXX
DM 535
Variable
data
DM 536
DM 537