Basic sequence, Status byte – KEYENCE LS-3100/3100W Series User Manual

Page 80

Advertising
background image

74

Status Byte

When the LS controller receives serial polling signal from the controller, the
LS controller transmits a status byte.
The content of the status byte is as shown below.

CHAPTER 6 Optional Interface Boards

Basic Sequence

When Selecting and Setting
Function

When 2 or more commands are transmitted, loop 1 is executed repeatedly.

When Reading Output Data

DI01

DI02

DI03

DI04

DI05

DI06

DI07

DI08

0

0

0

0

0

0

RQS bit

Bit DI01 is set to "1"

when syntax error

occures

(MSB)

(LSB)

Controller

(computer, etc.)

LS

Transmitting command

Analyzing command

Checking command

for error

No.

Yes.

Setting data to be

transmitted

Clearing device

Polling

Setting RQS bit to "1"to

indicate that error occurs

1

Controller

(computer, etc.)

LS

Transmitting command

Analyzing command

Checking command

for error

No.

Yes.

Setting data to be

transmitted

Clearing device

Polling

Setting RQS bit to "1"to

indicate that error occurs

1

Reading data

2

Data cannot be read into the LS controller in the talk only mode.

When 2 or more commands are transmitted, loop 1 is executed repeatedly.
When the command to continuously output measured values (such as "X1")
is transmitted, operation 2 is executed repeatedly.

08.10.1, 10:57 AM

74

Advertising