7
M
eth
od
s
fo
rC
on
ne
ctin
g
an
d
C
om
m
un
ica
tin
g
w
ith
E
xte
rn
al
D
ev
ice
s
FZ4 User's Manual
Communicating through Serial Communication (PLC Link)
381
Model re-registration
Reregisters a model using the current model.
Command (PLC to controller)
Command
area
top channel
Command
code
Bit
Description
15-12
11-8
7-4
3-0
+2
4010
0100
0000
0001
0000
Sets command codes.
+3
0010
0000
0000
0001
0000
+4
―
0000
0000
0000
0000
Specifies the unit No.
+5
―
0000
0000
0000
0000
+6
―
0000
0000
0000
0000
Specifies the model
number.
+7
―
0000
0000
0000
0000
+8
―
0000
0000
0000
0000
Specifies the target data.
When the setting value is
expressed in binary, if the
1st bit is 1, the model is
re-registered.
When the setting value is
expressed in binary, if the
2nd bit is 1, the reference
position is updated.
When the setting value is
expressed in binary, if the
3rd bit is 1, the detection
position is updated.
Example)
- When only re-registering
the model: 1 x 1 + 2 x 0 +
4 x 0 = 1 (setting value)
- When only updating the
reference position: 1 x 0 +
2 x 1 + 4 x 0 = 2 (setting
value)
- When updating or
re-registering everything:
1 x 1 + 2 x 1 + 4 x 1 = 7
(setting value)
+9
―
0000
0000
0000
0000
Response (Controller to PLC)
Response
area
top channel
Bit
Description
15-12
11-8
7-4
3-0
+2
0100
0000
0001
0000
Command code
Store response target command codes.
+3
0000
0000
0001
0000
+4
0000
0000
0000
0000
Response code
Command execution result
OK: 0 (0000 0000)
NG: -1 (FFFF FFFF)
+5
0000
0000
0000
0000
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: ......