beautypg.com

Device status words, Address 0 to 15, Error/status/status result information -26 – KEYENCE IV Series User Manual

Page 84

background image

5-26

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

Data allocations in the data I/O communication

z

„

Device Status Words Address 0 to 15: Error/status/status result information

The Bits at Address 0 to 15 of the Device Status Words have the following functions:

Address

Data

type*

Item

Content

Data content

0 to 1

WORD

Error code

Displays the currently occurring

error code.

0 to 128

2 to 3

WORD

Warning code

Displays the currently occurring

warning code.

0 to 128

4 to 5

WORD

Number of remaining

buffers

Displays the number of status

results that can be buffered, if

handshake control is [Enabled].

0 to 10

6 to 7

WORD

Checksum

Displays the current sensor

setting status using an arbitrary

5-digit integer.

0 to 65535

8 to 9

WORD

Current program No.

Displays the current program

No.

0 to 31

10 to 11

WORD

Program No. during

judgment

Displays the program No. of the

latest judgment process.

0 to 31

12 to 13

WORD

Result No.

Displays the judgment process

counts.

0 to 32767

14 to 15

WORD

Processing time

Displays the processing time of

the latest judgment process.

0 to 10000

* WORD :

Unsigned 16-bit integer

DWORD : Unsigned 32-bit integer

y

The unit of processing time is msec.

y

If two or more errors are occurring at the same time, the error code of the highest priority error will be
displayed.

“Error code list” (Page 5-29)

y

The first occurred warning code will be displayed.

“Warning code list” (Page 5-30)

y

A checksum can be used to monitor whether the sensor settings have been modified by a third party.

y

The checksum will remain unchanged even if you switch programs.

y

The checksum will remain unchanged even if you change the IP address, subnet mask, default gateway
or port number of the IV series.

y

For the number of remaining buffers, refer to “Reading out the overall status result of the IV series
(Handshake control [Enabled])” (Page 5-34).

y

The upper limit value of the result No. is 32767. If the maximum value is exceeded, it will go back to 0
and start counting up again.

y

The result No. will also count the judgment process counts that were skipped due to the real-time
communication cycle setting.

5

Data I/O communication