beautypg.com

Input assemblies (address 21 or above) read data – KEYENCE SR-750 Series User Manual

Page 98

background image

98

E SR-750 UM

Input Assemblies (Address 1, Bit 8 to Bit 15) Error status

* If any of the above errors occurs, the error code is output to "Failure cause status

(Input Assemblies address 8 to 16)".

Input Assemblies (Address 2, Bit 0 to Bit 6) Terminal status

* The above chart shows the contents when the input polarity setting of the SR-750

is Norm. open (normally open).
For Norm. closed (normally closed), the data is reversed as 0: ON 1: OFF.

* For assigning functions to terminals, refer to "3-6 Multi-I/O Function".

Input Assemblies (Address 2, Bit 8 to Bit 12) Judgment result
status for matching level and code quality verification function

* Use this status when the code quality verification function of SR-750 is enabled.

For the code quality verification function settings, refer to "3-11 Code quality
verification function"
.

Address Bit 15 Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9 Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

1

Address Bit

Name

Description

Data contents

1

8

Reading Error

This turns ON when reading error
or comparison NG occurs.

0 : -
1 : Reading error,

Comparison NG

*

1

9

Preset
Reading Failure

This turns ON when preset reading
fails.

0 : -
1 : Preset reading failure

*

1

10

Preset
Data
Registration
Failure

This turns ON when preset data
registration fails.

0 : -
1 : Preset data

registration failure

*

1

11

Tuning
Failure

This turns ON when tuning fails.

0 : -
1 : Tuning failure

*

1

15

External
Instruction
Operation
Failure

This turns ON when "Reading",
"Preset reading" or "Tuning" is
performed with the IN terminal or
command and the operation fails.

0 : -
1 : External instruction

operation failure

*

Address Bit 15 Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9 Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

2

Address Bit

Name

Description

Data contents

2

0

IN1 Status

This represents IN1 terminal
status.

0 : OFF
1 : ON

2

1

IN2 Status

This represents IN2 terminal
status.

0 : OFF
1 : ON

2

4

OUT1 Status

This represents OUT1 terminal
status.

0 : OFF
1 : ON

2

5

OUT2 Status

This represents OUT2 terminal
status.

0 : OFF
1 : ON

2

6

OUT3 Status

This represents OUT3 terminal
status.

0 : OFF
1 : ON

Address Bit 15 Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9 Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

2

Address Bit

Name

Description

Data contents

2

8

Unstable

This Bit turns ON when any of the
following Unstable Bits (9 to 12) is
ON.

0 : Stable
1 : Unstable

2

9

Matching Level
Unstable

Matching level judgment result

0 : Stable
1 : Unstable

2

10

ISO/IEC15415
Unstable

ISO/IEC15415 verification
judgment result

0 : Stable
1 : Unstable

2

11

AIM DPM
Unstable

ISO/IEC TR 29158 (AIM DPM-1-
2006) verification judgment result

0 : Stable
1 : Unstable

2

12

SAE AS9132
Unstable

SAE AS9132 Unstable verification
judgment result

0 : Stable
1 : Unstable

Input Assemblies (Address 4 to 6) Total evaluation grade
for matching level and code quality verification function

* Use this status when the code quality verification function of SR-750 is enabled.

For the code quality verification function settings, refer to "3-11 Code quality verification function".

Input Assemblies (Address 8 to 16) Failure cause status

For error codes, refer to List of error codes (Page 111).

Input Assemblies (Address 18 to 19) Read data status

* When the count number reaches 65535 and the next data arrives, the count number returns to 0.

Input Assemblies (Address 21 or above) Read data

* When the header, terminator and append data are set to the read data of SR-750, the header,

terminator, append data and inter-delimiter are also output. [CR] has been set to the
terminator as the default setting. Accordingly, [CR] is appended after the read data for output.

* If the silent mode is set for SR-750, read data is not output.
* [NUL]0x00 is appended to the end of result data.

Address Bit 15 Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9 Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

4

5

6

Address Bit

Name

Description

Data

contents

Data type

4

Matching Level

Matching Level
* If multiple codes are read, the

minimum value is output.

0 to 100

UINT

5

ISO/IEC15415
Grade

Total evaluation grade for ISO/
IEC15415 verification

4 : A
3 : B
2 : C
1 : D
0 : F

UINT

6

AIM DPM
Grade

Total evaluation grade for ISO/IEC
TR 29158 (AIM DPM-1-2006)

4 : A
3 : B
2 : C
1 : D
0 : F

UINT

Address Bit 15 Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9 Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

8

9

10

11

15

16

Address Bit

Name

Description

Data

contents

Data type

8

Reading Error
Cause

When any of the error statuses
(Input Assemblies Address 1, Bit 8
to Bit 15) turns on, the error code
is output to the applicable location.

Error code

*

UINT

9

Preset Reading
Failure Cause

UINT

10

Preset Data
Registration
Failure Cause

UINT

11

Tuning
Failure Cause

UINT

15

External Instruction
Operation
Error Cause

UINT

16

General Error
Cause

UINT

Address Bit 15 Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9 Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

18

19

Address Bit

Name

Description

Data

contents

Data type

18

Read Data
Ready Count

Read Data Ready Count

0 to 65535

*

UINT

19

Read Data
Update Count

Read Data Update Count

0 to 65535

*

UINT

Address Bit 15 Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9 Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

21

22

Address Bit

Name

Description

Data

contents

Data type

21

Read Data Size Read data length

0 and above

*

UINT

22 and

above

Read Data

Read Data

Read data

*

BYTE[]