beautypg.com

Reading out the overall status result of, The iv series, Handshake control [enabled]) -28 – KEYENCE IV Series User Manual

Page 50

background image

3-28

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

Operating procedure of the cyclic communication

Reading out the overall status result of the IV series

(Handshake control [Enabled])

The following describes the operating procedure when the data handshake control is set to [Enabled].
You can acquire all status results without fail by setting the data handshake control to [Enabled].

Trigger request

A

B

C

A

B

C

A

B

C

A

A

A

B

C

C

B

C

A

A

Result of A

10

9

8

9

10

9

B

Result of B

C

Result of C

B

Trigger response

Trigger failed

BUSY

Imaging status

Result update

complete

Result available

Result acquisition

complete notification

Overall judgment

Result No.

Number of

remaining buffers

(1) Execute a [Trigger request]. (0 → 1)
(2) If the trigger is valid, [Trigger response] will change from 0 to 1.
(3) [BUSY] will change from 0 to 1 when a trigger is input.
(4) [BUSY] will change from 1 to 0 when the judgment process ends.

At this time, the [Result update complete] BIT will be switched, [Result available] will change from 0 to
1, and [Overall judgment] will be updated.

(5) [Number of remaining buffers] will be decremented by 1 when the status result is updated.
(6) Executes [Result acquisition complete notice] (0 → 1). [Number of remaining buffers] will be

incremented by 1.

y

[Result update complete] will switch to “1” if its value was “0” after the previous judgment update (or

from “0” to “1” if the previous value was “1”).

y

[Result No.] will be counted up each time the status result is updated. The upper limit value is 32767. If

the maximum value is exceeded, it will go back to 0 and start counting up again.

y

[Result No.] will also count the judgment process counts that were skipped due to the cyclic frequency

setting.

y

[Busy] and [Imaging] may be skipped in some cyclic frequency settings. It is therefore necessary to take

the imaging condition into consideration when setting the cyclic frequency.

y

[Number of trigger errors] will be counted up at the timing when the [Result updated] BIT is switched.

y

If handshake control has been set to [Enabled], the status result will not be updated until [Result

acquisition complete notice] is set ON/OFF (0 → 1 → 0), even if the next trigger has been input and a

judgment process has been executed.

y

If a new trigger is input when [Number of remaining buffers] is “0”, [Buffer overrun] will switch from “0” to

“1”. The status result from the new trigger will be ignored.

y

[Buffer overrun] can be cleared using [Warning clear].

3

Cyclic communication