beautypg.com

Input assembly address 8 to 23, Error/status/status result information -16 – KEYENCE IV Series User Manual

Page 38

background image

3-16

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

Data allocation in the cyclic communication

z

„

Input Assembly Address 8 to 23: Error/status/status result information

The Bits at Address 8 to 23 of the Input Assembly have the following functions:

Address

Data

type*

Item

Content

Data content

8 to 9

UINT

Error code

Displays the currently occurring

error code.

0 to 128

10 to 11

UINT

Warning code

Displays the currently occurring

warning code.

0 to 128

12 to 13

UINT

Number of remaining

buffers

Displays the number of status

results that can be buffered, if

handshake control is [Enabled].

0 to 10

14 to 15

UINT

Checksum

Displays the current sensor

setting status using an arbitrary

5-digit integer.

0 to 65535

16 to 17

UINT

Current program No.

Displays the current program

No.

0 to 31

18 to 19

UINT

Program No. during

judgment

Displays the program No. of the

latest judgment process.

0 to 31

20 to 21

UINT

Result No.

Displays the judgment process

counts.

0 to 32767

22 to 23

UINT

Processing time

Displays the processing time of

the latest judgment process.

0 to 10000

* UINT : Unsigned 16-bit integer

UDINT : 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 3-22)

y

The first occurred warning code will be displayed.

“Warning code list” (Page 3-23)

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 3-28).

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 cyclic
frequency setting.

3

Cyclic communication