EasyManua.ls Logo

LS Industrial Systems XG5000 - Page 176

LS Industrial Systems XG5000
736 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 4 Variable
4-62
a. Variable Kind: VAR, VAR_INPUT, VAR_OUTPUT, VAR_IN_OUT and VAR_RETURN are available.
b. 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.
c. Type: 22 types are available; 20 basic types and 3 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(2): ARRAY(i.e. ARRAY[0..6,0..2,0..4] OF BOOL) => factor limit (up to 3rd), STRUCT(i.e.
STRUCT name display) => STRUCT type is no available in STRCT
d. Used: it can not be declared as Read Only.
e. Comment: every character is available.
- Multi line entry is available by using Ctrl + Enter key.
f. Line validity: To register on FB variable window, it needs variable type, variable and type.
- If not registered on FB variable, it displays in pink.
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.

Table of Contents

Related product manuals