beautypg.com

3 multi drop link mode, Control methods of multi drop link mode, 4 multi head mode – KEYENCE SR-750 Series User Manual

Page 93: Read data format, Control methods of multi head mode, Multi drop link mode, Multi head mode, Usable commands in the multi drop link mode, Usable commands in the multi head mode

background image

93

E SR-750 UM

10-3

Multi drop link mode

With the Multi drop link mode, reading operations of each SR-D100 or SR-750
Series are controlled by each unit. However, transmission of timing commands and
sending read data are collected and controlled by the Master unit.

Control methods of Multi drop link mode

The Multi drop link mode has the following 3 control methods.
• Control for reading by inputting the timing signal to each SR-D100 and SR-750

Series

• Control for reading by sending commands to each SR-D100 and SR-750 Series

via Master unit

• Control for reading by making the PLC link communication to each SR-D100 and

SR-750 Series via Master unit
(For memory map, etc., refer to Chapter 10 PLC Link.)

Important

Only read data is sent to the Master unit.
Other data including test mode, preset registration results, etc. are
not output.

Usable commands in the Multi drop link mode

„

Timing ON command

Send command

%Tmm–LON

mm: Master/Slave ID (00 to 31)

%Tmm–LON,bb

bb: Bank No. (01 to 16)
* For SR-750, bb: 01 to 10 are valid.

With mm≠00, if bb: 11 to 16 are
assigned, no response is returned.

Response

%Tmm–OK,LON
%Tmm–OK,LON,bb

„

Timing OFF command

Send command

%Tmm–LOFF

mm: Master/Slave ID (00 to 31)

Response

%Tmm–OK,LOFF

„

Command to obtain model code and main unit version

Send command %Tmm–KEYENCE

mm: Master/Slave ID (00 to 31)

„

CANCEL command (Cancels operations of the Master unit
and Slave Units.)

Send command

%Tmm–CANCEL

mm: Master/Slave ID (00 to 31)

* Master unit ID and Slave unit IDs are shown below.

• Master unit ID: 00
• Slave unit ID: 01 to 31

10-4

Multi head mode

With the Multi head mode, while the Master unit and Slave units are synchronized,
one reading operation is performed simultaneously and controlled. The timing input
instruction is made to the Master unit.

Read data format

In the Multi head mode, the data format differs depending on the data transmission
timing.

Number of read data: 2, Data transmission timing: Send
after reading

„

Timing chart

Read data of each ID are sent to the upper level via the Master unit.

ERROR

Timing input

Master (ID0)
operation

Data
communication

Slave (ID1)
operation

Communication between Master unit and Slave unit

• Reading success

• Reading error

Reading OK

Reading OK

Number of read data: 2, Data transmission timing: Send
after timing OFF

If there are multiple read data and transmission is made after timing OFF, the data
is output from the smaller ID number regardless of the order of reading.

„

Data format

Control methods of Multi head mode

The Multi head mode has the following 3 control methods.
• Control for reading by inputting the timing signal to Master SR-D100 or SR-750

Series

• Control for reading by sending the timing ON command to Master SR-D100 or

SR-750 Series

• Control for reading by making the PLC link communication to Master SR-D100 or

SR-750 Series
(For memory map, etc., refer to Chapter 9 PLC Link.)

Important

• Only read data is sent to the Master unit.

Other data including test mode, preset registration results, etc.
are not output.

• Data transmission timing setting is made on the Master unit.

Set "Send after read" for all Slave units.

• Set the number of codes to be read to the total number of

connected Master/Slave units or less. If the number of codes to
be read is more than the total number of units, reading cannot be
completed.

Usable commands in the Multi head mode

„

Timing ON command

Send command

LON

Response

OK,LON

„

Timing OFF command

Send command

LOFF

Response

OK,LOFF

„

Command to obtain model code and main unit version

Send command

%Tmm–KEYENCE

mm: Master/Slave ID (00 to 31)

„

CANCEL command (Cancels operations of the Master unit
and Slave Units.)

Send command

CANCEL

Important

Multi head mode: On the SR-750 set as the Master unit, you cannot
configure the following settings under Saving Images.
• OK image
• Comparison NG
• Unstable image

Header

ID0 (Master)

read data

Inter-

delimiter

ID1 (Slave)

read data

Inter-

delimiter

Terminator

ERROR

[ID0 data]
[ID1 data]

Timing input

Master (ID0)
operation

Data
communication

Slave (ID1)
operation

• Reading success

• Reading error

Reading OK

Reading OK