beautypg.com

Level trigger operation procedure, One-shot trigger operation procedure, Timing chart – KEYENCE SR-750 Series User Manual

Page 100: When reading is successful, When reading fails

background image

100

E SR-750 UM

Level trigger operation procedure

This section describes the example when the trigger input measurement method of
the SR-750 Series is set to the level trigger.

„

Timing chart

The attributes (signal directions) are described using the following directions.

*1 Operations of OUT1 status and OUT2 status are described using the default

settings of the SR-750 Series operation and multi I/O.

*2 The read data ready count value and read data update count value may differ

depending on the operation status and communication frequency.
For example, when a code is read and then the next reading is complete before
updating the PLC data is complete, the result data load count value will have
one more count value.

„

When reading is successful

1

When "Read Request" of PLC turns OFF (0)

ON (1), the SR-750

Series starts reading operation and turns "TRG BUSY" ON (1).

2

The SR-750 Series operates as follows when reading a code.

• It turns "TRG BUSY" OFF(0) and "Read Complete" ON (1), and then writes

the reading error cause to "Reading Result".

• It writes the output data and number of characters of output data to "Read

Data" and "Read Data Size".

* When reading is successful, the reading error cause is "0" (No error).

3

When "Read Complete" of the SR-750 Series is ON (1), turn "Read
Complete Clear" of PLC ON (1).

4

When "Read Complete Clear" of PLC turns ON (1), the SR-750 Series
turns "Read Complete" OFF (0). When "Read Complete" OFF (0) is
confirmed, turn "Read Complete Clear" of PLC OFF (0).

„

When reading fails

1

When "Read Request" of PLC turns OFF (0)

ON (1), the SR-750

Series starts reading operation and turns "TRG BUSY" ON (1).

2

When "Read Request" of PLC turns OFF (0) before the SR-750 Series
read the code, the SR-750 Series operates as follows.

• It turns "TRG BUSY" OFF (0) and "Read Complete" and "Reading Error" ON

(1), and then writes the "Reading Error Cause".

• It writes the output data and number of characters of output data to "Read

Data" and "Read Data Size".

* When reading error occurs, "201" is written to "Reading Error Cause".

3

When "Read Complete" of the SR-750 Series is ON (1), turn "Read
Complete Clear" of PLC ON (1).

4

When "Read Complete Clear" of PLC turns ON (1), the SR-750 Series
turns "Read Complete" and "Reading Error" OFF (0).
When "Read Complete" OFF (0) is confirmed, turn "Read Complete
Clear" of PLC OFF (0).

NOTICE

When [Read Request] is turned ON/OFF at high speed while the
EtherNet/IP cyclic cycle (RPI) is slow, the change of rising/falling
of [Read Request] may not be transmitted to the SR-750 Series.

m+1

m

m+1

m

m+1

m

m+1

m

Output

Iutput

: PLC

←SR-750

: PLC

→SR-750

Attribute

Output

Iutput

Iutput

Output

Iutput

Iutput

Iutput

Iutput

Iutput

Iutput

Iutput

Signal name

Read Request

TRG BUSY

Barcode/2D code
Read Complete

Read Complete

Read Complete Clear

Reading Error

Reading Error Cause

OUT1 Status (OK)

*1

OUT2 Status (ERROR NG)

*1

Read Data Ready Count

*2

Read Data Update Count

*2

Read Data and Data Size

When reading successful

0

201

Read data

ERROR

When reading fails

One-shot trigger operation procedure

This section describes the example when the trigger input measurement method of
the SR-750 Series is set to the one-shot trigger.

„

Timing chart

*1 Operations of OUT1 status and OUT2 status are described using the default

settings of the SR-750 Series operation and multi I/O.

*2 The read data ready count value and read data update count value may differ

depending on the operation status and communication frequency.
For example, when a code is read and then the next reading is complete before
updating the PLC data is complete, the result data ready count value will have
one more count value.

„

When reading is successful

1

When "Read Request" of PLC turns OFF (0)

ON (1), the SR-750

Series starts reading operation and turns "TRG BUSY" ON (1).

2

The SR-750 Series operates as follows when reading a code within
the specified one-shot time.

• It turns "TRG BUSY" OFF(0) and "Read Complete" ON (1), and then writes

the read operation result code to "Read Result Code".

• It writes the output data and number of characters of output data to "Result

Data" and "Result Data Size".

* When reading is successful, the reading error cause is "0" (No error).

3

When "Read Complete" of the SR-750 Series is ON (1), turn "Read
Complete Clear" of PLC ON (1).

4

When "Read Complete Clear" of PLC turns ON (1), the SR-750 Series
turns "Read Complete" OFF (0).
When "Read Complete" OFF (0) is confirmed, turn "Read Complete
Clear" of PLC OFF (0).

„

When reading fails

1

When "Read Request" of PLC turns OFF (0)

ON (1), the SR-750

Series starts reading operation and turns "TRG BUSY" ON (1).

2

When the one-shot time elapses before the SR-750 Series read the
code, the SR-750 Series operates as follows.

• It turns "TRG BUSY" OFF (0) and "Read Complete" and "Reading Error" ON

(1), and then writes the "Reading Error Cause".

• It writes the output data and number of characters of output data to "Read

Data" and "Read Data Size".

* When reading error occurs, "201" is written to "Reading Error Cause".

3

When "Read Complete" of the SR-750 Series is ON (1), turn "Read
Complete Clear" of PLC ON (1).

4

When "Read Complete Clear" of PLC turns ON (1), the SR-750 Series
turns "Read Complete" and "Reading Error" OFF (0).
When "Read Complete" OFF (0) is confirmed, turn "Read Complete
Clear" of PLC OFF (0).

m+1

m

m+1

m

m+1

m

m+1

m

Attribute

Output

Iutput

Iutput

Output

Iutput

Iutput

Iutput

Iutput

Iutput

Iutput

Iutput

Signal name

Read Request

TRG BUSY

Barcode/2D code
Read Complete

Read Complete

Read Complete Clear

Reading Error

Reading Error Cause

OUT1 Status (OK)

*1

OUT2 Status (ERROR NG)

*1

Read Data Ready Count

*2

Read Data Update Count

*2

Read Data and Data Size

When reading successful

0

One-shot trigger
duration

201

Read data

ERROR

When reading fails

One-shot trigger
duration