Detailed description of device assignment function, Assignment of data region functions, Assigning read timing area – KEYENCE SR-750 Series User Manual

Page 88: Level trigger operation procedure, One-shot trigger operation procedure

Advertising
background image

88

E SR-750 UM

Assignment of Data Region Functions

When the data region address D is specified, functions are assigned in order as
shown below starting with the specified beginning address.

*

1 When the next data reaches at the count of 65535, the value of count returns to 1.

*

2 When the output data length is an odd number, [NUL] (0x00) is written in the

"Output data length + 1".

*3 The order in which data of each PLC is stored is as follows:

MELSEC : Low order byte

→ High order byte

SYSMAC : High order byte

→ Low order byte

KV

: High order byte → Low order byte

*

4 The data length output from the SR-750 Series depends on the data output

length set in the SR-750 Series. (Default: 64 digits)

*5 Used only when Master/Slave function is set.

*

0-byte data is output as data with a length of 0.

Point

If output data cannot fit in the output data region, data after that
length will be discarded.
However, for the length of D+02, the data length output by the SR-
750 Series is written.

Address

Description

Data description

SR-750

Write

PLC Write

D+00

Specify reading bank

0: Do not specify bank
(Alternate)
1 to 16: Specify bank n
• SR-750: 1 to 10
• SR-D100: 1 to 16

*5

×

D+01

Specify ID

*5

Specify the Master/Slave ID for
timing input when the Multi drop
is set.
0 to 31: Unit ID

×

D+02

Output data length

Length of data (read data +
append data) output from the
SR-750 Series
* Length of data most recently

output when using the
Master/Slave function.

×

D+03

Data writing process
count

Read data writing count from
the SR-750 Series to PLC is
displayed.

×

D+04

1st and 2nd digits of
output data

ASCII code 2 characters

*2*3*4

Data of Master ID: 0 is
displayed when using the
Master/Slave function.

×

D+05

3rd and 4th digits of
output data

ASCII code 2 characters

*2*3*4

Data of Master ID: 0 is
displayed when using the
Master/Slave function.

×

D+53

99th and 100th digits of
output data

ASCII code 2 characters

*2*3*4

Data of Master ID: 0 is
displayed when using the
Master/Slave function.

×

D+54

Data writing ID

*5

ID of Master/Slave unit to which
most recent data is written is
displayed.

×

D+55

Timing input count for
Master

*5

Timing input count for Master is
displayed.

×

D+56 to
D+59

Reserved area

Ч

Ч

D+60 to
D+109

Output data 1 to 100
digits

*5

Data of Slave ID: 1 is displayed
when using the Master/Slave
function.

×

D+110 to
D+159

Output data 1 to 100
digits

*5

Data of Slave ID: 2 is displayed
when using the Master/Slave
function.

×

D+1560 to
D+1609

Output data 1 to 100
digits

*5

Data of Slave ID: 31 is
displayed when using the
Master/Slave function.

×

Detailed Description of Device Assignment Function

Read timing area (A00, B00)

This function is used when "PLC link timing input" is set to "Enable".
The usage varies depending on the measurement method.

„

Assigning read timing area

• When the A00 switches to ON (1), the SR-750 Series starts reading.
• The B00 address is an area used to verify if the SR-750 has recognized A00

correctly.
When the SR-750 recognizes A00 correctly (=LED emits light), B00 switches to
ON (1).

„

Level trigger operation procedure

1

Set the A00 and B00 addresses to OFF (0).

2

To start the SR-750 Series reading (turn on timing), set the A00
address to ON (1).

3

When the SR-750 Series recognizes the A00 address, the B00
address switches to ON (1), and reading starts.

If the B00 does not switch to ON (1), do not perform the following operations
because the SR-750 Series has not recognized the A00 address.

4

Once the code has been read, new data is written into D+04 to D+53.

5

To turn off the timing, set the A00 address to OFF (0).

6

When the SR-750 Series recognizes the A00 address, the B00
address switches to OFF (0), and the timing turns OFF.

7

When a read error occurs, an error code is written into D+04 to D+53.

Point

When the timing of the SR-750 Series is turned ON/OFF at high
speed with the A00 address, the SR-750 Series may miss the A00
address, causing an error such as failure to turn ON/OFF triggger
input. In such a case, program to allow checking with the B00
address to see if the SR-750 Series recognized the A00 address.

„

One-shot trigger operation procedure

1

Set the A00 and B00 addresses to OFF (0).

2

To start the SR-750 Series reading (turn on timing), set the A00
address to ON (1).

3

When the SR-750 Series recognizes the A00 address, the B00
address switches to ON (1), and reading starts.

If the B00 does not switch to ON (1), do not perform the following operation,
because the SR-750 Series has not recognized the A00 address.

4

Read operation is carried out for "one-shot trigger duration"
configured for the SR-750 Series.

5

Once the code has been read, new data is written into D+04 to D+53.
When a read error occurs, an error code is written into D+04 to D+53.

6

When the A00 address is set to OFF (0), the B00 address switches to
OFF (0).

Address

Description

Data description

A00

PLC timing area

0: Instruction for timing OFF
1: Instruction for timing ON

B00

PLC timing input response area

0: Timing OFF
1: Instruction for timing ON

Advertising