beautypg.com

List of error codes, Cyclic communication operation procedures, Output assemblies (address 2) bank number – KEYENCE SR-750 Series User Manual

Page 99

background image

99

E SR-750 UM

Parameter details of control data (Output Assemblies)

Output Assemblies (Address 0, Bit 1 to Bit 7)
Handshake/Clear bit

Output Assemblies (Address 0, Bit 8 to Bit 11) Reading
start request/Each operation instruction

*1 When specifying a bank, specify "Address 2 Bank number"
*2 Preset data can be deleted by setting "1" for Address 5, setting "0xFF" for

Address 6 and then registering the preset data.

*3 Before starting tuning, specify "Address 2 Bank number".

If the bank number is illegal, a tuning error occurs.

Point

Exclusive control of reading Start/each operation instruction
For reading Start/each operation instruction, priority is given to
the operation performed first. An error will occur if another
operation is performed during operation.

Output Assemblies (Address 1, Bit 0 to Bit 7) Completion
bit clear

* When Complete Bits are cleared, Error/Failure Bits of each operation are also

cleared.

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

0

Address Bit

Name

Description

Data contents

0

1

Read Data
Update
Permitted

This Bit is used when using
handshake.
This displays whether read data
exists or not.

0

→1: Writing read data is

permitted.

1

→0: -

0

7

Error Clear
Transmission
Buffer Clear

The following Bits of Input
Assemblies are cleared.
• Buffer Overflow Error
• General Error
• Read Result Ready Count
• Result Data Update Count
• Read data stored in the

transmission buffer of the SR-
750 Series

0 : No read data
1 : Read data available

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

0

Address Bit

Name

Description

Data contents

0

8

Reading Start
Request

The SR-750 Series starts reading.

*1

0

→1: Reading start

1

→0: Reading stop

0

9

Preset Reading
Start Request

Preset reading starts.

0

→1: Preset reading start

1

→0: Preset reading stop

0

10

Preset Data
Registration
Start Request

Specified preset data is registered
to Address 5, 6 and above.

*2

0

→1: Preset data

registration start

1

→0: -

0

11

Tuning Start
Request

Tuning starts.

*3

0

→1: Tuning start

1

→0: Tuning stop

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

0

Reading
Complete
Clear

"Reading Complete" Bit of Input
Assemblies is cleared.

*

0

→1: Bit clear

1

1

Preset Reading
Complete Clear

"Preset Reading Complete" Bit of
Input Assemblies is cleared.

*

0

→1: Bit clear

1

2

Preset Data
Registration
Complete Clear

"Preset Data Registration
Complete" Bit of Input Assemblies
is cleared.

*

0

→1: Bit clear

1

3

Tuning
Complete Clear

"Tuning Complete" Bit of Input
Assemblies is cleared.

*

0

→1: Bit clear

1

7

External
Instruction
Operation
Complete Clear

"External Instruction Operation
Complete" Bit of Input Assemblies
is cleared.

*

0

→1: Bit clear

Output Assemblies (Address 2) Bank number

* If inputting a parameter bank number other than 1 to 10 to start reading, then the

alternate reading is performed.

* If inputting a parameter bank number other than 1 to 10 to start tuning, then an

error occurs.

Output Assemblies (Address 5 and above) Preset data

List of error codes

Cyclic communication operation procedures

The SR-750 Series offers two trigger input measurement methods: "Level trigger"
and "One-shot trigger".
Refer to

"4-2 Timing Mode (Page 26)"

This section describes the SR-750 Series cyclic communication operation
procedures for each trigger input measurement method.
The following timing chart and operation descriptions use Output Assemblies
"Read Start Request" (Address 0 Bit 8) for read start instruction of the SR-750
Series. The procedure without handshake is used for description.

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

Data type

2

Bank Number

Input a bank number here and
start reading. Then, reading is
performed with the parameter
bank specified.
Input a bank number here and
start tuning. Then, the tuning result
is stored to the specified
parameter bank.

Parameter
bank
number:
1 to 10

*

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

5

6

Address Bit

Name

Description

Data

contents

Data type

5

Preset Data
Size

Preset data length

0 and above UINT

6 and

above

Preset Data

Preset data is specified.
(Terminator is not necessary.)

Preset data

BYTE[]

Error code

Type of error

Error description

0

No error

-

100 to 199

Command error

Values with 100 added to the "Command communication
response error code" (page 9-4) are applicable.

201

Reading error

Reading failed.

202

Comparison error The read data did not match the preset data.

210

Tuning failure

The code could not be found within the field of view while
tuning.

213

Tuning failure

Tuning was aborted.

120

Operation

instruction error

Another operation instruction was received during
operation. In this case, the incoming instruction is not
performed.

102

Bank number error

The parameter bank number specification is invalid.
Example: A number other than 01 to 16 is specified in

tuning operation.

220

Preset data error

The preset data specification is invalid.
Example: The specified preset data size is invalid when

preset data is registered.

230

EIP data update

error

Read data larger than the specified size in the cyclic
communication was received.