![background image](http://html1.mh-extra.com/html/omron/fz4-series/fz4-series_user-manual_1633222161.webp)
4
Using
Tool
FZ4 User's Manual
Using Custom Command
159
Common rules for Macro
Grammar of program approximately conform basic BASIC grammar, it also contains part contents that
Macro program specially has.
Please see each item for details.
Reference:
Calculation
Calculation can be divided into arithmetic calculation, relative calculation and logic calculation.
Arithmetic calculation includes four fundamental calculation, index calculation and getting-remainder
calculation. Following is various kinds of calculation.
Arithmetic
Calculation
Calculation Content
Example
Mathematics Expression
+
Addition Calculation
A+B
A+B
-
Subtraction Calculation
A-B
A-B
*
Multiplication Calculation
A*B
A
×
B or AB
/
Division Calculation
A/B
A
÷
B or A/B
^
Exponent Calculation
A^B
A
B
Mod
Mod Calculation
A mod B
A-[A/B]
×
B
[]is Gauss symbol
Division 0 calculation will be wrong.
Do addition calculation, subtraction calculation and multiplication calculation. If result overstep -1.0e30
to 1.0e30, then it will be wrong.
Relative calculation is comparatively calculation of two numerical data or two character data. If
comparatively result is true, return -1, else return 0.
Following is all kinds of relative calculation.
Relative Calculation
Content
Example
=
Equal
A=B
<>, ><
Not Equal
A<>B, A><B
<
Less Than
A<B
>
More Than
A>B
<=, =<
Less Than or Equal
A<=B, A=<B
>=, =>
More Than or Equal
A>=B, A=>B
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: ......