Specifications

4-24 OPERATION CHAPTER 4
DT-203X, DT-105X and DT-110X display series
4.4.5.7. Examples S7-200
MPORTANT: To store the messages in the display you should use TDL software.
See 4.2 Message programming”.
Example of message without variables.
Messages 12 and 53 must be stored in the display. Use these texts as examples.:
Message 12: OIL PUMP
Message 53: TANK 2 FULL
The PLC program will be as follows.
//
//EXAMPLE PROGRAM FOR MESSAGES WITHOUT VARIABLES
//
// The display parameter VW must be equal to 1000.
// Input I0.0 ON, sets message 12.
// Input I0.1 ON, sets message 53.
// Input I0.2 ON, resets messages 12 and 53.
NETWORK 1 //Set message 12
// If input I0.0 is ON a value of 12 is stored in VW1000.
LD I0.0
MOVW +12, VW1000
NETWORK 2 //Set message 53
// If input I0.1 is ON a value of 53 is stored in VW1002.
LD I0.1
MOVW +53, VW1002
NETWORK 3 // Reset messages 12 and 53
// If input I0.2 is ON a value of 0 is stored in VW1000 and VW1002
LD I0.2
MOVW +0, VW1000
MOVW +0, VW1002
Prior to establishing the transmission between the PLC and display, don’t forget to set
the display parameters. To set the display and PLC address in the PPI network see 4.3 Set
parameters.”.