beautypg.com

Command status bits address 2 to 3, Handshake control/status/error result -23 – KEYENCE IV Series User Manual

Page 81

background image

5-23

- IV Series User’s Manual (Field Network) -

Data allocations in the data I/O communication

z

„

Command Status Bits Address 2 to 3: Handshake control/status/error result

The Bits at Address 2 to 3 of the Command Status Bits have the following functions:

Address

Bit

Item

Content

Data content

2

0

Result available

This bit is output when the

status result can be acquired.

0 : The status result

cannot be acquired.

1 : The status result

can be acquired.

1

Result update complete

This bit switches the ON/OFF

statuses when the status result

is updated.

0 <=> 1:

The statuses will

be switched when

the status result is

updated.

2

BUSY

This bit is output when the unit

is unable to accept new trigger

inputs, such as while performing

imaging, processing a judgment,

registering an external master

image, switching programs, etc.

0 : The unit is not in

busy status.

1 : The unit is in busy

status.

3

Imaging

This bit is output while the unit

is performing imaging operation.

0 : The unit is not

performing imaging

operation.

1 : The unit is

performing imaging.

4

RUN

This bit is output when the unit

is “RUN” and no system errors

have occurred.

0 : The unit is not in

operation.

1 : The unit is

operating normally.

5

Ready

This bit is output when the

start-up sequence of this unit

completes after power-on.

0 : The start-up has

not completed yet.

1 : The start-up has

completed.

6 to 7 Reserved by system

---

---

3

0 to 4 Reserved by system

---

---

5

Buffer overrun status

If handshake control is [Enabled],

this bit is output when an overrun

of the status result has occurred.

0 : No buffer overrun

has occurred.

1 : The buffer is in

overrun status.

6

Warning status

This bit outputs the warning

status of the unit.

0 : The unit is not in

warning status.

1 : The unit is in

warning status.

7

Error status

This bit outputs the error status

of the unit.

0 : The unit is not in

error status.

1 : The unit is in error

status.

5

Data I/O communication