4
Using
Tool
FZ4 User's Manual
Using Custom Command
297
'Set data in 'writeData()
Dim writeData&(100)
'Set 12.56 (real number type data) in the top of writeData().
SetPlcData "SerialPlcLink", writeData&(), 0, 8, 12.56
"Write in data at PLC
WritePlcMemory "SerialPlcLink", 130, 10, 1, writeData&()
Gets the exclusive disjunction (exclusive-OR) of 2 expressions.
<Expression 1> Xor <Expression 2>
Parameters
<Expression 1>
The expression that requests the exclusive disjunction (integer type).
<Expression 2>
The expression that requests the exclusive disjunction (integer type).
Return Value
Returns the value of the integer.
The content of the value is the requested exclusive disjunction.
Description
Each of the values of <Expression 1> and <Expression 1> will be given as a 32-digit binary number and
each bit will be given the exclusive disjunction.
Values from -2147483648 to 2147483647 can be specified for <Expression 1> and <Expression 2>.
When the values of <Expression 1> and <Expression 2> are double-precision type, the fractional part is
handled as a rounded value.
Example
Get the exclusive disjunction (exclusive-OR) of 12 and 31.
DATA1&=12
DATA2&=31
DATA3&=DATA1& Xor DATA2&
The result is as follows:
DATA3&=19
List of system data
Table: Data identification name 0
CameraControl
Camera delay setting
UdpNormal
Communication - Ethernet setting
SerialNormal
Communication - Serial setting
Acesst 1.0 6251194
Summary of Contents for FZ4 Series
Page 1: ...User s Manual Cat No Z318 E1 02B Vision Sensor FZ4 Series...
Page 38: ...1 Before Operation 36 Setting Operation Mode FZ4 User s Manual 1 CPU 2 CPUs FZ4 11 H11 only...
Page 330: ...4 Using Tool 328 Remotely Operating the Controller Remote Operation FZ4 User s Manual...
Page 566: ......
Page 648: ...8 Appendixes 646 Manual Revision History FZ4 User s Manual...
Page 654: ...652 FZ4 User s Manual...
Page 655: ......