beautypg.com

Plc instruction area (q address), Error code, Bit area – KEYENCE SR-750 Series User Manual

Page 111: Word area and byte area, E sr-750 um

background image

111

E SR-750 UM

PLC instruction area (Q address)

The PLC instruction area is divided into areas as follows.

Bit area

In the following areas, information is divided by bit.
Information is represented with 0 or 1.

Slot

Size

Module

name

Bit

address

Name

Description

Data contents

Remarks

10 1 byte

Latch and
Error Clear
Control Bits

0 (Reserved)

Reserved area

1 Result Data Latch

Result data update
permitted

0

→1: Writing to

result data
device
permitted

1

→0: -

This functions only
when handshake is
enabled.

2 (Reserved)

Reserved area

3 (Reserved)

Reserved area

4 (Reserved)

Reserved area

5 (Reserved)

Reserved area

6 (Reserved)

Reserved area

7 Error Clear

Error clear

0

→1: Error clear

1

→0: -

The following error
statuses and data are
cleared.
• Buffer Overflow

Error

• General error
• Result data

acquisition count

• Result data update

count

• Result data stored

in the transmission
buffer

11 1 byte

Operation
instruction
Control Bits

0 Read Request

Reading start request

0

→1: Start reading

1

→0: Stop reading

When specifying the
bank, specify to Bank
Number module.

1 Preset Request

Preset reading start
request

0

→1: Preset read

start

1

→0: Preset read

stop

Reading not possible
in the specified bank

2

Register Preset
Data Request

Preset data
registration request

0

→1: Preset data

registration

1

→0: -

Specify to User Data
Size/User Data
Module.
When deleting preset
data, set the user
data size to 1, set the
user data to 0xFF and
register preset data.

3 Tune Request

Tuning start request

0

→1: Start tuning

1

→0: Stop tuning

Specify the tuning
target bank number
to Bank Number
module.

4 (Reserved)

Reserved area

5 (Reserved)

Reserved area

6 (Reserved)

Reserved area

7 (Reserved)

Reserved area

12 1 byte

Completion
Clear Control
Bits

0

Read Complete
Clear

Reading complete
clear

0

→1: Complete clear

1

→0: -

Read completion
notification and read
failure notification
clear

1

Preset Complete
Clear

Preset reading
complete clear

0

→1: Complete clear

1

→0: -

Preset read
completion
notification and
preset read failure
notification clear

2

Register Preset
Data Complete
Clear

Preset data
registration complete
clear

0

→1: Complete clear

1

→0: -

Preset data
registration
completion
notification and
preset data
registration failure
notification clear

3

Tune Complete
Clear

Tuning complete
clear

0

→1: Complete clear

1

→0: -

Tuning completion
Notification and
tuning failure
notification clear

4 (Reserved)

Reserved area

5 (Reserved)

Reserved area

6 (Reserved)

Reserved area

7

EXT. Request
Complete Clear

External instruction
operation complete
clear

0

→1: Complete clear

1

→0: -

External instruction
operation completion
and external
instruction operation
failure notification
clear

Word area and byte area

In the following areas, information is represented with the following units.
• Word areas : Areas where 0 to 65535 is represented as a 2-byte unsigned

integer

• Byte area

: Areas where a character code such as ASCII code is represented

Error code

Slot

Size

Module

name

Bit

address

Name

Description

Data contents

Remarks

13 2 byte

Parameter
Bank
Number

Word

Bank Number

Bank Number

1 to 16

Bank Number
• For reading start

request

1 to 16:

Bank setting read

Other than 1 to 16:

Alternate read

• For tuning start

request

1 to 16:

Tuning result
storage bank

Other than 1 to 16:

Error

14

2 +
(user
data
size)
byte

• User Data

32byte

• User Data

64byte

• User Data

128byte

• User Data

252byte

* Select one

of them.

Word

User Data Size

Preset data size

Specify preset data
size.

Bytes
(preset
data
size)

User Data

Preset data

Specify preset data.
(Terminator is not
necessary.)

Error

Error code

Meaning

No error

0 Reading success/operation success

Reading error

201 Reading error

Comparison error

202 The read code does not match the preset data.

Tuning failure
(Symbol unclear)

210

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

Tuning failure
(Aborted)

213 Tuning was aborted midway.

Control instruction reception
error

120

Another operation instruction was received
during operation. (Operation instruction is not
performed.)

Bank No. error

102

The bank number specification is invalid (other
than 1 to 16).

Preset data error

220

Preset data specification is invalid.
(Specified size is outside the range.)

PROFINET data update error

230

Shortage of specified size (Result data and
present data size is beyond the limit.)