IDEC MicroSmart Pentra User Manual

Page 106

Advertising
background image

10: E-

MAIL

10-8

W

EB

S

ERVER

CPU M

ODULE

U

SER

S

M

ANUAL

FC9Y-B1278

Enter the subject of the e-mail in the subject field.

Enter the body of the e-mail in the text box on the bottom. The e-mail body can be written in multiple lines.

2.

Click on the Insert Data Register button.

The Variable (Data Register) dialog box appears.

The data register values can be embedded in the e-mail body when the Web server CPU module sends e-mails.

DR Number: Specify the data register number.
Word (W): The 1-word value stored in the specified data register is converted to an unsigned 16 bits value.
Integer (I): The 1-word value stored in the specified data register is converted to a signed 15 bits value.
Double (D): The 2-word value stored in the two consecutive data registers starting with the specified data register is
converted to an unsigned 32 bits value.
Long (L): The 2-word value stored in the two consecutive data registers starting with the specified data register is
converted to a signed 31 bits value.
Float (F): The 2-word value stored in the two consecutive data registers starting with the specified data register is
converted to a floating-point value according to IEEE754 format. Digits can be specified between 1 and 7.

When word (W) or double (D) is selected, the conversion type can be specified. For example, when a data register value
is 4660 (1234h), the data register value is converted and embedded in the e-mail body as follows:
Decimal: 4660
Hexadecimal: 1234

When the repeat is configured, the values in the consecutive data registers can be embedded in the e-mail body. A space
is inserted between the data register values. For example, when the data register values are D100 = 1234h, D101 =
5678h, and D102 = ABCDh, and the DR number is 100, the data type is Word, the repeat is 3, and the conversion type is
hexadecimal, the following text will be embedded in the e-mail body:
1234 5678 ABCD

When the Web server CPU module sends an e-mail, the e-mail body configured in the E-mail Editor dialog box is encoded
according to the encoding type configured in the Function Area Settings.

Advertising