Marking a Text Without an Answer

<< Click to Display Table of Contents >>

 

Marking a Text Without an Answer

Write-Only

 

N1

Address of the identifier of a marker

N2

57

N3

Not used

N4

Not used

 

PLC Tag for sending a message for marking of a controller, in Text format. To tell whether the message sent was marked or not by a controller, use the Status of a Marker Tag.

Controllers support printing ASCII characters ranging from code 20 to 7F, in hexadecimal. In addition to these ASCII characters, users can also insert special characters to format messages, such as using the hexadecimal code 0A to insert a line feed in a message.

 

Example of Script in Elipse SCADA

tag001 = "Text Line 1" + Chr(0Ah) + "Text Line 2"
tag001.Write()

 

Example of Script in Elipse E3, Elipse Power, or Elipse Water

Application.GetObject("Driver.tag001").Value = "Text Line 1" & Chr(&H0A) & "Text Line 2"
Application.GetObject("Driver.tag001").Write(EWriteSyncMode)

 

To use other special codes to format a message, please check the controller's manual.

Was this page useful?