![background image](http://html1.mh-extra.com/html/omron/fz4-series/fz4-series_user-manual_1633222185.webp)
4
Using
Tool
FZ4 User's Manual
Using Custom Command
183
Description
It is possible to specify an integer type or double-precision type as the storage destination for the return
value.
When an integet type has been specified, a rounded integer value is stored.
Example
Gets the difference between each coordinate of 2 points (X1,Y1)(X2,Y2).
X1#=100
Y1#=200
X2#=200
Y2#=100
DX#=Abs(X1#-X2#)
DY#=Abs(Y1#-Y2#)
The results are as follows:
DX#=100
DY#=100
Adds global data
AddGlobalData <dataIdent>, <data>
Parameters
<dataIdent>
Data ident that is to be add
<data>
Data to be add
Return Value
None.
Description
Adds global data.
Difference with system data addition.
・
GlobalData : It must be initialized when being start next time.(The value would not be saved.)
・
SystemData : If "Data save" is done, the value when "Data save" was done is set when being start
next time.
Example
information of "GsetData, 10" to global data.
AddGlobalData "GsetData", 10
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: ......