KEYENCE CV-X User Manual

High-speed, High-capacity Machine Vision System
CV-X Series
Easy Setup Guide
369GB
Control/Communication I/O
(for all models)
Contents
Easy Setup Guide: Control/Communication I/O (for all PLC models)
3
1. Outputting the Total Status
10
14
2. Outputting the individual status of each tool (parallel I/O)
3. Terminal command control
19
4. I/O terminal control (PW: Change Programs)
5. I/O terminal control (EXW: Write execute condition)
20
21
6. I/O terminal control (SS: Save Settings)
7. I/O terminal control (BS: Register Image)
22
Page
Page
Page
Page
Page
Page
Page
KEYENCE CORPORATION. Vision System Division

Outputting the Total Status

1. Wiring
Perform the following wiring to output the total status of inspections. This section explains how to wire the terminal block "OUT22:STO" "OUT23:OR" to a PLC or relay. (The terminal block is attached to the main unit)
Controller terminal block (OUT connector)
No.
1 2 3 4
Terminal name *1
OUT22 (STO) OUT23 (OR) F_OUT2 (ERR) F_OUT3 (RUN) COMOUT1 (COMOUT)5 F_OUT0 (FLS1)6
78F_OUT1 (FLS2)
COMOUT_F+ (COM1F+) COMOUT_F (COM1F‐)9
Suitable wire: AWG 16 to 28 Terminal block screw torque: 0.25 Nm or less *1 The characters in brackets in the terminal name are the characters written on the supplied terminal blocks when shipped.
Output circuit diagram (NPN output type)
Maximum applied voltage: 30 V
(No. 1, 2)
(No. 5)
Maximum sink current: 50 mA
Leakage current: 0.1 mA or less
Residual voltage:
1.4 V or less (50 mA)
1.0 V or less (20 mA)
Output circuit diagram (PNP output type, controllers with a "P" at the end of the part number)
Maximum applied voltage: 30 V
(No. 5)
(No. 1, 2)
KEYENCE CORPORATION. Vision System Division
Maximum sink current: 50 mA
Leakage current: 0.1 mA or less
Residual voltage:
1.4 V or less (50 mA)
1.0 V or less (20 mA)
3 www.keyence.com
369GB
Example of connections (NPN output)
When connecting an NPN output from the controller to a PLC with a positive common
PLC input circuit positive common
Output circuit on controller
When connecting an NPN output from the controller to a relay
Output circuit on controller Relay
Example of connections (PNP output type, controllers with a "P" at the end of the part number)
When connecting a PNP output from the controller to a PLC with a negative common
PLC input circuit negative common
When connecting a PNP output from the controller to a relay
KEYENCE CORPORATION. Vision System Division
Output circuit on controller
Output circuit on controller Relay
2. Checking the connection status of the external terminal (I/O Monitor)
The wiring connection of the external terminal of the CV‐X100 Series can be checked.
Cl
ick the button at the top right of the screen to switch to Setup Mode.
Select "Utility" > "I/O Monitor" to open the I/O Monitor.
Check the "Manual Output" box to forcefully turn selected output terminals ON, in order to confirm the signal on the target. Check the "OUT22 (STO)" and "OUT23 (OR)" boxes, and confirm that the ON/OFF status of the signal can be detected on the target (PLC, relay, etc.). Check the box to set to ON (short circuit), and uncheck it to set to OFF (open).
Manual Output can only be used in Setup Mode.
Check the box to set to ON (short circuit), and
uncheck it to set to OFF (open).
If proper ON/OFF status in conjunction with checking/unchecking the box cannot be confirmed, check the wiring again.
KEYENCE CORPORATION. Vision System Division
3. Setting the tools to be included in total status
Tools to include in the Total Status can be selected. This is useful when you wish to perform an overall judgment
using only the judgment results of specified tools.
Click the button at the top right of the screen to switch to Setup Mode.
Click "Output".
Select "Judgment Settings" > "CAM Judgment".
In the "Select Candidate List", confirm that the boxes for the tools to be included in total status are checked (when using
multiple cameras, confirm the settings for each camera tab).
KEYENCE CORPORATION. Vision System Division
www.keyence.com‐ 6 ‐
4. Setting the OR Terminal Output Mode
Select the terminal output mode for outputting Total Status from the OR Terminal.
Select "OR Terminal", and then set the "OR Terminal Output Mode" and "OR Terminal Output Timing".
OR Terminal Output Mode
•Update Every Judge: The terminal output state of the OR terminal is updated every time judgment is performed,
and is in accordance to the judgment result. It is synchronized with the leading edge of STO that is output every
time a judgment is finalized, and reads.
•Hold Status: When an NG Status is output, the NG status is retained, regardless of further judgment results.
•One Shot Output: The OR terminal turns on for the amount of time specified in "One Shot Time" and then turns
off.
OR Terminal Output Timing
•Output on NG Status
•Output on OK Status
Refer to the timing charts for each output mode on the following pages.
KEYENCE CORPORATION. Vision System Division
5. Timing Charts
This section includes a time chart for each OR Terminal Output Mode
•Update Every Judge
Image processing
NG Status
Image processing
NG Status
Image processing
OK Status
OR
STO
A B
C
When judgment is finalized, STO (OUT22) rises and the ON/OFF status of OR (OUT23) is checked simultaneously.
Adjust the output time for STO (A/B/C in the time chart) in global settings so that there is time for the target PLC to
detect the status.
A: Output rise time (1 to 999 ms)
B: Output time (1 to 999 ms)
C: Output change time (2 to 1000 ms)
However, ensure that "A + B C".
Changing the STO output time
Select "Global" > "Communications & I/O" > "External Terminal".
Adjust A: Output rise time (1 to 999 ms), B: Output time (1 to 999 ms) and C: Output change time (2 to 1000 ms) so that there is time for the target PLC to detect the status. However, ensure that "A + B ≦ C".
KEYENCE CORPORATION. Vision System Division
Loading...
+ 16 hidden pages