#Message

Top  Previous  Next

The #Message object is used to display messages in the form of text and image information.

 

Example

message_1

 

Parameters

Object

Column A

M/O

Default

Description

#Message

M


Output of messages in the form of text or image information

Text/File

Column B

M/O

Default

Description

<Message definition>.txt

O


Name of the Message definition.

The message list is specified in a separate worksheet.

Font

Column C

M/O

Default

Description

<Font name>

O

Current font

Font for the messages

X, Y, DX, DY

Columns D-G

M/O

Default

Description

Integer constants

Variable of type INT

O

Autom. positioning

Position and dimension

Color

Column H

M/O

Default

Description

Color

O

Current foreground color

Font color

BackColor

Column I

M/O

Default

Description

Color

O

Current background color

Background color

Format

Column J

M/O

Default

Description

Format

O

No frame

Type of frame

Action

Column K

M/O

Default

Description

SetVar=<constant>

SetVar=<variable>

O


The constant <constant> is assigned to the VarValue.

The value of <variable> is assigned to the VarValue.

Icon-Hinweis<variable> must be of the same data type as VarValue, i.e. VarType!

VarValue

Column P

M/O

Default

Description

<variable>

O


Actual message number. If no message text is defined, an "empty message" is displayed, i.e. the background is deleted.

VarType

Column Q

M/O

Default

Description

BYTE

SINT

USINT

WORD

INT

UINT

DINT

O


See VarType column

VarState

Column R

M/O

Default

Description

<variable>

O


See VarState

Option

Column S

M/O

Default

Description

Pos=<Center¦Left¦Right>

O

Pos=Left

Positioning of the text:

Pos=Left

 

 

Left = left-justified

Pos=Center

 

 

Center = centered

Pos=Right

 

 

Right = right-justified

Transparency=<color>

O

 

If an image file was configured, the specified color is interpreted as transparent.

PWL=<x>

O

 

Required password level for enabling (see #Password).

VarStateOnOffInverted

O

 

Inverts the On / Off functionality of the VarState Variable:

 

VarState = 0 -> Off

VarState = 1 -> On

 

 

Icon-Hinweis        Deleting messages from the PLC

 For this define an empty message without text. In this case, only the rectangular area is deleted.

 

Difference to EPAM3

Messages with format placeholder and additional variable values are currently not supported.