
4
Using
Tool
162
Using Custom Command
FZ4 User's Manual
by arithmetic calculation and logic calculation.
Composition of mathematic expressions is contained by brackets. Two mathematic expressions
combine a relative expression by relative calculation sign.
Character constant, character variable and function of return string compose the mathematic expression
by plus sign.
It can be the composition of many mathematic expression by brackets. Numerical constant, numerical
variable and function of return value compose the mathematic expression by arithmetic calculation and
logic calculation.
Character constant, character variable and function of return string compose the mathematic expression
by relative calculation. Logic expression that is composed with logic calculation sign by a few relative
expression.
Using logic calculation to compose a few relative expressions. It can be used to operate bit, calculate
binary and determine compound condition.
Logic expression can be applicable to any place because its result is mathematic expression of
numerical.
If logic expression is false, return 0, otherwise return -1.
Logic expression use "not" calculation, logic "or", logic "and" and "xor" calculation to calculate logically.
To designated value(parameter), repeat to define calculation, let the result to return, this kind of code is
called as function.
Function is used as the style of expression. It is different with calculation's mathematic expression,
character expression, relative expression and logic expression. Function can save result itself.
Label
Label name need make a descriptive record of following format.
●
It must begin with asterisk(*).
●
The second character must be English letter.
●
The third character and next is letter, numerical and period(.).
Label name must begin with asterisk(*). It is a string that its length less than 25 characters.
Using goto <label>command and gosub <label>command to go to the position of label.
Line Number
Line number is added automatically when control device load Macro program.
Not make a descriptive record of line number as Macro program.
Line
It is composed by line number and written language.
Macro program may only be composed by empty line and annotation.
A line can make a descriptive record of a few sentences. We can use colon to separate sentences.
Reserved Word
Reserved word is a kind of string that be defined in the systems of command, function and calculation.
User can not use this strings to be variable name.
Acesst 1.0 6251194
Содержание FZ4 Series
Страница 1: ...User s Manual Cat No Z318 E1 02B Vision Sensor FZ4 Series...
Страница 12: ...1 Before Operation 10 Operation Flow FZ4 User s Manual Operation Flow Here describes the operation flow...
Страница 38: ...1 Before Operation 36 Setting Operation Mode FZ4 User s Manual 1 CPU 2 CPUs FZ4 11 H11 only...
Страница 112: ...3 Performing Test Measurement Starting Operation 110 Useful Functions for Operation FZ4 User s Manual...
Страница 326: ...4 Using Tool 324 Remotely Operating the Controller Remote Operation FZ4 User s Manual Enter the IP address...
Страница 330: ...4 Using Tool 328 Remotely Operating the Controller Remote Operation FZ4 User s Manual...
Страница 351: ...6 Changing the System Environment FZ4 User s Manual Setting the System Operation Environment 349 Communication...
Страница 566: ......
Страница 648: ...8 Appendixes 646 Manual Revision History FZ4 User s Manual...
Страница 654: ...652 FZ4 User s Manual...
Страница 655: ......