
123
Part 3 Controller Data Structure
1.8 Symbols
In the X-SEL Controller, values such as variable numbers and flag numbers can be handled as symbols.
For the method to edit symbols, refer to “Editing Symbols” in the operation manual for X-SEL teaching
pendant or “Symbol Edit Window” in the operation manual for X-SEL PC software.
(1) Supported symbols
The following items can be expressed using symbols:
Variable number, flag number, tag number, subroutine number, program number, position number,
input port number, output port number, axis number, or a constant.
(2) Description rules of symbols
[1] A maximum of nine bytes are used to represent alphanumeric characters (the length of a
character string literal must not exceed eight characters).
* If the PC software version is 1.1.0.5 or later or the teaching pendant version is 1.04 or later,
an underscore can be used as the first character in a symbol.
* If the PC software version is 1.1.05 or later, one byte ASCII code characters from 21h to 7Eh
(limited to those that can be input via keyboard) can be used as the second and subsequent
characters.
* Exercise caution that the same ASCII code may be expressed differently between the PC
software and the teaching pendant because of the different fonts used by the two (the same
applies to character string literals).
5Ch --- PC software: Backslash \ (overseas specifications, etc.)
Teaching pendant: Yen mark ¥
7Eh --- PC software: ~
Teaching pendant: Right arrow
[2] Symbols of the same name must not be defined within each function (the same local symbol can
be used in different programs).
[3] Symbols of the same name must not be defined within the flag number, input port number or
output port number group (the same local symbol can be used in different programs).
[4] Symbols of the same name must not be defined within the integer variable number or real
variable number group (the same local symbol can be used in different programs).
[5] Symbols of the same name must not be defined within the integer constant or real constant
group.
(3) Number of symbols that can be defined: Maximum 1000
(4) Number of times symbols can be used in all SEL programs: Maximum 5000 times including character
string literals
* If symbol is used in all of the input condition, operand 1, operand 2 and output fields, it is deemed
that symbol is used four times in one step.
1.9 Character String Literals
Character string literals are used in certain string operation commands and consist of the portion enclosed
by single quotation marks (‘ ‘) (maximum eight one byte characters).
With the PC software, single byte ASCII code characters from 20h to 7Eh (limited to those that can be
input via keyboard) can be used inside the single quotation marks. With the teaching pendant, single byte
alphanumeric characters and single byte underscores can be used.
124
Part 3 Controller Data Structure
1.10 Axis Specification
Axes can be specified based on axis number or axis pattern.
(1) Axis numbers and how axes are stated
Each of multiple axes is stated as follows:
Axis number
How axis is stated
1 Axis
1
2 Axis
2
3 Axis
3
4 Axis
4
5 Axis
5
6 Axis
6
The axis numbers stated above can also be expressed using symbols.
Use axis number if you wish to specify only one of multiple axes.
Commands that use axis specification based on axis number
BASE, PPUT, PGET, ACHZ, AXST, PASE, PCHZ, ACHZ, PARG
127
Содержание X-SEL PX
Страница 1: ...Operation ManualSeventh Edition X SEL Controller PX QX Type Tenth Edition ...
Страница 2: ......
Страница 8: ......
Страница 14: ......
Страница 39: ...15 Part 1 Installation Reference Circuit Diagram Surge absorber Solenoid valve Controller 0 V 15 ...
Страница 410: ...383 Appendix 386 ...
Страница 452: ...425 Appendix 5 428 ...
Страница 559: ......