Chapter 4 Variable
4-76
[Description of Dialog Box]
a. Variable Name: The declared variable can not be duplicated with the identical name.
- A figure is unavailable for the first character.
- A special character is unavailable. (However,‘_’ is available.)
- Space is not available as a character.
- A name same with direct variable can not be used as a name(i.e. MB4, W4, RW9,…)
- If a line is empty, BOOL is displayed as the default type when entering a variable.
b. Type: 21 types are available; 20 basic types and 1 induced types
- Basic types (20): (BOOL, BYTE, WORD, DWORD, LWORD, SINT, INT, DINT, LINT, USINT, UINT, UDINT,
ULINT, REAL, LREAL, TIME, DATE, TIME_OF_DAY, DATE_AND_TIME, STRING)
- Induced types(1): ARRAY(i.e. ARRAY[0..6,0..2,0..4] OF BOOL) => factor limit (up to 3 rd)
c. Memory address: Read Only.
d. Initial Value: Read Only.
e. Retain: Read Only.
f. Comment: every character is available.
- Multi line entry is available by using Ctrl + Enter key.
Notes
- If any error occurs when editing a cell, it is displayed in pink.
- Press ESC key to recover the previous value during the cell edit.