beautypg.com

Operating procedure of the data i/o communication, When a trigger is successful, Operating procedure of – KEYENCE IV Series User Manual

Page 90: The data i/o communication -32, Reading out the overall status result of, The iv series, Handshake control [disabled]) -32, When a trigger is successful -32

background image

5-32

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

Operating procedure of the data I/O communication

Operating procedure of the data I/O communication

This section explains the method for communicating from the PLC to the IV series using data I/O
communication.

Reading out the overall status result of the IV series (Handshake control

[Disabled])

z

„

When a trigger is successful

Trigger request

Result of A

A

B

A

B

A

B

A

A

B

A

B

B

Result of B

Trigger response

BUSY

Imaging status

Result update complete

Result available

Result No.

Overall judgment

(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 and [Overall judgment] will be updated.

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 available] will switch from 0 to 1 at the timing when the first judgment process has been
confirmed; and the new value will be retained thereafter.

y

[Result available] will be reset in the following conditions:

y

If handshake control is set to [Disabled]

- When the program is switched
- When the unit’s status is switched from “Setting” to “RUN”
- When a buffer clear request is issued

y

If handshake control is set to [Enabled]

- When a buffer clear request is issued

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 data I/O cycle
setting.

y

[BUSY] and [Imaging] may be skipped in some data I/O cycle settings. It is therefore necessary to take
the imaging condition into consideration when setting the data I/O cycle.

5

Data I/O communication