1 master/slave function, 2 setting procedure, Usable reading modes and protocols – KEYENCE SR-750 Series User Manual
Page 92: Advanced setting, Master/slave function, Setting procedure
92
E SR-750 UM
10-1
Master/Slave function
The Master/Slave function has two types of modes: Multi drop link mode and Multi
head mode. This section describes the overview of each mode.
Multi drop link mode
With this mode, one Master unit collects the read data of multiple units (up to 32
units) of SR-D100 and SR-750 Series operating with different purposes and sends
the data to the host.
Because the host only has to communicate with the SR designated as Master, the
host does not need to consider the communication control for multiple units. Thus,
the system load is reduced with the simple program. Also for PLC, only one
communication unit is necessary to control multiple units. This enables the simple
device configuration.
Multi head mode
Use this mode when you do not know the position of a code in one reading target
workpiece or when the workpiece is larger than the field of view and the entire
workpiece cannot fit within the field of view using one unit.
Because multiple units (up to 8 units) of SR-D100 and SR-750 Series can be
handled as one device, the host does not need to consider the control for multiple
units, and the program becomes simple.
HUB
PC
Master unit
Slave unit
Slave unit
Host
PLC
TEST
TUNE
SR-625
POW
ERR
NET
IN
STB
OK
/NG/
TEST
TUNE
SR-625
POW
ERR
NET
IN
STB
OK
/NG/
TEST
TUN
E
SR
-6
25
PO
W
ERR
NET
IN
STB
OK/NG/
Master unit sends data of Slave units to the host.
HUB
PC
Slave unit
Slave unit
Master unit
Host
PLC
TEST
TUNE
SR-625
POW
ERR
NET
IN
STB
OK/NG/
TEST
TUNE
SR-625
POW
ERR
NET
IN
STB
OK/NG/
SR-625
TEST
TUNE
POW
ERR
NET
IN
STB
OK/NG/
Master unit controls Slave units.
10-2
Setting procedure
Make the setting according to the following procedure.
Important
With the Master/Slave function, the following communication
methods cannot be set.
• EtherNet/IP
• PROFINET
• Multi 1 read mode
• Multi 2 read mode
• Burst read mode (Only for the Multi head mode)
For the following items, the Slave unit settings will not be
reflected. They depend on the Master unit settings.
• Header • Terminator • Data length • Checksum
Communication protocol: UDP
Communicates via Directed Broadcast.
When using the Master/Slave function, both Ethernet and RS-232C
can be selected for data output from Master. However, connection
between master and Slave must be made with Ethernet.
Usable reading modes and protocols
Usable reading modes
Usable protocols with data port 1 and 2
Advanced setting
When creating multiple Master/Slave groups within the same network
With the Master/Slave function, communication with other units in the same group
is made. In this case, by making different group names, multiple Master/Slave
groups can be made in the same network.
(1) Ethernet setting for each code reader
Change each reader's IP address avoiding duplication of IP address.
Make the same setting for Subnet mask.
(2) Operation setting, group name and unit ID setting
Target mode : Select either the Multi drop mode or the Multi head mode.
Group name : Set the same group name for all units. (Up to 1-byte
16 characters)
If there is no problem with the default setting, no need
to change.
Unit ID
: Set Master ID and Slave IDs.
Set different IDs for all units.
(3) Append data setting
Set append data for each unit. If read data is only necessary, this
setting is not required.
Edit data function can also be set for each unit.
(4) Multi-code reading setting *Only in the Multi head mode
Set the number of codes to be read. (Number of read data: 1 to 8)
(5) Communication method selection
Decide which communication method the Master unit will use.
[Communication 2] setting
• Master unit
Command port
: Select a desired communication method.
Data port 1 and 2 : Select a desired communication method.
• Slave unit
Command port
: Not used
Data port 1 and 2 : Not used
(6) Header, terminator, etc. setting
Set the header, terminator, data length and checksum on the Master unit.
(7) Data transmission timing setting *Only in the Multi head mode
Set the data transmission timing.
Reading mode
Multi drop link
Multi head
Single
○
○
Multi 1
-
-
Multi 2
-
-
Burst
○
-
Protocol
Multi drop link
Multi head
Non-procedure
○
○
TCP
○
○
MC protocol
○
○
SYSWAY
○
○
KV STUDIO
○
○
EtherNet/IP
-
-
PROFINET
-
-
Master unit/Slave unit settings
Master unit settings