Omron FZ4 Series User Manual page 169

Vision sensor
Table of Contents

Advertisement

Variable Name
The first character of variable is english character, not digital. Others of digital part are also be
discerned. It can not use special symbol. To sum up as follow:
First position:must be letter('A' to 'Z', 'a' to 'z')
Middle:letter/numeral('0' to '9')
Last:'&'/'&&'/'#'/'##'/'$'/'$$'
(Example)NUMBER&, CHARA$, POS##
Note
Variable name can't begin with numeral. It can't use special symbol in the variable name.
We can't use the same variable name with reservedword, it can contain reservedword.
Lowcase is the same with uppercase in character treatment.
(Example) Variable A& and variable a&...is the same. Both of them are considered as uppercase.
Variable Type
It can be divided into integral variable, double variable and string variable.
After variable name, please add all kind of identifications. The same variable name with different
type is different.
It must be defined only when use array variable.
Integer Variable
We can use integer from -2147483648 to 2147483647.
Add "&" or "&&" after variable name.
"&" can't be neglected.
(Example)
  A&=1
  B1&&=-123
  CX&=12E2
Double Variable
We can use real number from -1.0E30 to 1.0E30.
Add "#" or "##" after variable name.
"#" can't be neglected.
(Example)
  A#=12.34
  BB##=-.987
  C3#=-12.3E12
Character Variable
We can use " " to enclose string.
Add "$" or "$$" after variable name.
The most length of string is 255 characters.
"$® can't be neglect.
(Example)
FZ4 User's Manual
Using Custom Command
4
167

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fz4 series

Table of Contents