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
Control/Output through EtherNet/IP
539
ClassID: 100(64Hex) Vision Sensor Object
You can exchange character string data with a format equivalent to non-procedure commands with
objects specific to FZ4. This makes possible, for example, output of character strings not supported in
tag data links.
Instance
Setting item
Setting
value
Description
Instance
0
For normal control and for line 0 in the 2-line random trigger mode
1
For line 1 in the 2-line random trigger mode
Attribute
AttributeID
Access
Name
Data type
Description
0x01
Set
Data
BYTE
arrangement
Sets the command character string sent to FZ4.
The commands that can be used are equivalent to
non-procedure commands.
Reference:
Controlling/Outputting through Serial
Communication (Non-procedure) - Command List (p.443)
Service
Service code
Name
Details
0x32
SetAttribute
Sets a value for the attribute.
Attribute command character string setting method
●
For PLC -> FZ4 send data, set a command character string equivalent to a non-procedure
command. Attach 0x00 (null) at the end of the character string. No line feed code etc. is required.
The size of the send data includes the 0x00 at the end of the character string.
●
As FZ4 -> PLC reception data, character string data equivalent to the non-procedure command
reception character string is returned.
0x00 (null) is inserted in the reception character string delimiter section.
The size of the reception data includes the final 0x00.
(Example: Acquiring the number (0) of the scene currently being used)
(Send data) 0x53('S') 0x00 2 bytes
↓
(Receive data) 0x30('0') 0x00 0x4f('O') 0x4b('K') 0x00 5 bytes
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: ......