beautypg.com

Configuration file creation procedure, Configuration file data entry format, Table 6.1 – Renesas 70 User Manual

Page 106: Numerical value entry examples, 1 configuration file creation procedure

background image

Chapter 6 Using Configurator

- 96 -

6.1 Configuration File Creation Procedure

When applications program coding and startup program modification are completed, it is then necessary to reg-
ister the applications program in the MR308 system.

This registration is accomplished by the configuration file.

6.1.1

Configuration File Data Entry Format

This chapter describes how the definition data are entered in the configuration file.

Comment Statement

A statement from '//' to the end of a line is assumed to be a comment and not operated on.

End of statement

Statements are terminated by ';'.

Numerical Value

Numerical values can be entered in the following format.

1. Hexadecimal

Number

Add "0x" or "0X" to the beginning of a numerical value, or "h" or "H" to the end. If the value begins with
an alphabetical letter between A and F with "h" or "H" attached to the end, be sure to add "0" to the
beginning. Note that the system does not distinguish between the upper- and lower-case alphabetical
characters (A-F) used as numerical values.

57

2. Decimal

Number

Use an integer only as in '23'. However, it must not begin with '0'.

3. Octal

Numbers

Add '0' to the beginning of a numerical value of 'O' or 'o' to end.

4. Binary

Numbers

Add 'B' or 'b' to the end of a numerical value. It must not begin with '0'.

Table 6.1

Numerical Value Entry Examples

0xf12
0Xf12
0a12h
0a12H
12h



Hexadecimal

12H

Decimal 32

017
17o

Octal

17O
101110b

Binary

101010B

It is also possible to enter operators in numerical values. Table 6.2 lists the operators available.

57

The system distinguishes between the upper- and lower-case letters except for the numbers A-F and a-f.