Professional Documents
Culture Documents
Control/Communication I/O
(for all PLC models) (CV-X400)
1. Wiring
Perform the following wiring to output the total status of inspections.
This section explains how to wire the terminal block "OUT22:STO" "UT23:OR" to a PLC or relay.
(The terminal block is attached to the main unit)
3
This manual has been written for the CV-X400.
When wiring the CV-X100 Series or CV-X200 Series, see their respective manuals.
COMOUT1
Use this example of connections as a reference when the input device supports NPN open collector output.
4
This manual has been written for the CV-X400.
When wiring the CV-X100 Series or CV-X200 Series, see their respective manuals.
Use this example of connections as a reference when the input device supports NPN open collector output.
5
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.
Click the button at the top right of the screen to switch to Setup Mode.
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).
6
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".
7
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".
•Hold Status:
When an NG Status is output, the NG status is retained, regardless of further judgment results.
•Output on NG Status
•Output on OK Status
Refer to the timing charts for each output mode on the following pages.
8
5. Timing Charts
This section includes a time chart for each OR Terminal Output Mode
OR
STO
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.
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".
9
• Hold Status
OR
TEST
The status condition is normally updated for each trigger. However, if the status is NG, the condition is
unchanged until input such as TEST is executed.
If one NG is detected, the OR output status remains NG from that point, regardless of the actual judgment results.
When the TEST input is turned on/off, the hold status is canceled and all terminals are reset to the normal state.
The OR output condition will be updated when the result for the next OR output is output.
OR
The OR output holds the NG state for the specified period of time, and then resets the NG state.
If image processing is continuously performed with One Shot Output enabled, the previous NG state may still be
remaining at the time the image processing judgment result is finalized by the STO.
10
Outputting the individual status of each tool (parallel I/O)
1. Wiring
Perform the following wiring to output the individual status of tools from the I/O terminal (parallel I/O interface).
This section describes the necessary terminal (outputs: OUT6 to 21 (OUT_DATA0 to 15), COMOUT2) wiring for
outputting the individual status of tools from the I/O terminal. (The parallel I/O cable, OP-51657, is sold separately)
…
36 OUT18(OUT_DATA12) Blue
37 OUT19(OUT_DATA13) Purple
38 OUT20(OUT_DATA14) Gray
Suitable wire: AWG 16 to 28
39 OUT21(OUT_DATA15) White
Terminal block screw torque: 0.25 Nm or less
40 COMOUT2 Black
11
This manual has been written for the CV-X400.
When wiring the CV-X100 Series or CV-X200 Series, see their respective manuals.
Use this example of connections as a reference when the input device supports NPN open collector output.
12
This manual has been written for the CV-X400.
When wiring the CV-X100 Series or CV-X200 Series, see their respective manuals.
Use this example of connections as a reference when the input device supports PNP open collector output.
13
2. Checking the connection status of the external terminal (I/O Monitor)
The wiring connection of the external terminal of the CV-X400 Series can be checked.
Click the button at the top right of the screen to switch to Setup Mode.
Check the "Manual Output" box to forcefully turn selected output terminals ON, in order to confirm the signal
on the target. Manual Output can only be used in Setup Mode.
If proper ON/OFF status in conjunction with checking/unchecking the box cannot be confirmed,
check the wiring again.
14
3. Setting the items to output for the individual tool status
Click the button at the top right of the screen to switch to Setup Mode.
Click "Output".
As necessary, assign a Tool Judgment to an OUT terminal between OUT6 and 21.
15
4. Outputting the camera execution status (when setting random triggers)
When setting random triggers, which can be used to process multiple cameras with individual timing,
set "CAM Execute Status", which is used to check from which camera the individual status result was
processed and output, to be output together with the individual status.
Click "Output".
* If you have not selected "Camera Settings" - "Random Trigger from Applied Settings",
you will not be able to select the camera execution status item.
16
Terminal command control
17
This manual has been written for the CV-X400.
When wiring the CV-X100 Series or CV-X200 Series, see their respective manuals.
(No.2 to 14)
IN
Example of connections
18
This manual has been written for the CV-X400.
When wiring the CV-X100 Series or CV-X200 Series, see their respective manuals.
The output of this controller can be connected to either NPN input or PNP input.
Use this example of connections as a reference when the input device supports NPN open collector output.
19
This manual has been written for the CV-X400.
When wiring the CV-X100 Series or CV-X200 Series, see their respective manuals.
Use this example of connections as a reference when the input device supports PNP open collector output.
20
2. Checking the connection status of the I/O terminal (I/O Monitor)
The wiring connection of the I/O terminal of the CV-X400 Series can be checked.
Click the button at the top right of the screen to switch to Setup Mode.
[Input terminal]
Turn ON the terminals corresponding to "IN0 to 7 (CMD_PARAM0 to 7)", "IN8 to 11 (CMD_CODE0 to 3)"
and "IN12 (CST)" from the connected PLC. When the boxes for the terminals that were turned ON become checked,
it can be confirmed that the wiring is correct.
[Output Terminal]
Check the "Manual Output" box to forcefully turn selected output terminals ON.
Check the "OUT0 (ACK)", "OUT1 (NACK)" and "OUT3 (CMD_READY)" boxes,
and confirm that the ON/OFF status of the signal can be detected on the target PLC.
If proper ON/OFF status in conjunction with checking/unchecking the box cannot be confirmed,
check the wiring again.
21
3. Command input timing
Basic flow when controlling via command input from the I/O terminal.
CMD_CODE
CMD_PARAM
CST
D A
CMD_READY
C C
ACK
execution
successful B
NACK
execution
failed B
A: 1 msec or more B: Same as the STO output time C: Within 500 μsec D: 500 μsec or more
The command is executed when the CMD_CODE and CMD_PARAM of the command you wish to execute
(some commands do not use CMD_PARAM) are input,and then the CST input is
turned ON (leading edge is detected).
After the command is executed, ACK (execution successful) or NACK (execution failed) turns ON.
CST input when CMD_READY is OFF is ignored. In this case, neither ACK nor NACK is returned for CST.
22
I/O terminal control (PW: Change Programs)
4. When the setting has been changed, ACK (OUT0) turns ON for the specified amount of time
(set in "Global" > "Communications & I/O" > "External Terminal").
When ACK turns off, CMD_READY (OUT3) turns ON.
* If the command execution fails, NACK (OUT1) turns on for the specified amount of time instead of ACK.
Ensure that the wiring and CMD_CODE/CMD_PARAM specifications are correct. When NACK turns ON
(the setting will not change) despite correct wiring etc.,
check whether the program setting to change to exists or not.
23
I/O terminal control (EXW: Write execute condition)
3. CMD_READY (OUT3) turns OFF, and the Currently Valid Execute No. changes to the specified No.
4. When the Execute No. has been written, ACK (OUT0) turns ON for the specified amount of time
(set in "Global" > "Communications & I/O" > "External Terminal").
When ACK turns off, CMD_READY (OUT3) turns ON.
* If the command execution fails, NACK (OUT1) turns on for the specified amount of time instead of ACK.
Ensure that the wiring and CMD_CODE/CMD_PARAM specifications are correct.
24
I/O terminal control (SS: Save Settings)
Save Settings
CST CMD_CODE CMD_PARAM
IN12 IN11 IN10 IN9 IN8 IN7 IN6 IN5 IN4 IN3 IN2 IN1 IN0
0 0 0 0 None
4. When the settings are saved, ACK (OUT0) turns ON for the specified amount of time
(set in "Global" > "Communications & I/O" > "External Terminal").
When ACK turns off, CMD_READY (OUT3) turns ON.
* If the command execution fails, NACK (OUT1) turns on for the specified amount of time instead of ACK.
Ensure that the wiring and CMD_CODE/CMD_PARAM specifications are correct.
25
I/O terminal control (BS: Register Image)
1. Turn IN10 ON. Then enter "1" in binary into CMD_PARAM (IN7 to 6) and "5" in binary into (IN5 to 0).
(0: CAM 1, 1: CAM 2, 2: CAM 3, 4: CAM 4)
4. When the reference image has been registered, ACK (OUT0) turns ON for the specified amount of time
(set in "Global" > "Communications & I/O" > "External Terminal").
When ACK turns off, CMD_READY (OUT3) turns ON.
* If the command execution fails, NACK (OUT1) turns on for the specified amount of time instead of ACK.
Ensure that the wiring and CMD_CODE/CMD_PARAM specifications are correct.
26