KEYENCE CV-X Series User Manual
Page 20
KEYENCE CORPORATION. Vision System Division
‐ 20 ‐
www.keyence.com
0
1
0
1
IN0
1
0
1
1
1
IN6
IN5
IN4
IN3
1
0
0
0
0
1
0
IN2
IN1
1
0
0
1
1
0
0
1
0
1
CST
CMD_CODE
CMD_PARAM
IN12 IN11 IN10 IN9
IN8
IN7
CMD_CODE
CMD_PARAM
IN12 IN11 IN10 IN9
IN8
IN5
IN4
IN2
IN7
IN6
0
1
1
1
Execute No. to rewrite to (0 to 99)
CST
IN9
IN1
IN0
IN8
IN1
IN0
IN3
IN2
IN7
IN6
IN5
IN4
IN3
CST
CMD_CODE
CMD_PARAM
IN12 IN11 IN10
I/O terminal control (EXW: Write execute condition)
Sets the Currently Valid Execute No. to the specified execute No.
EXW command: Write execute condition
Write execute condition
Sample EXW command execution procedure: Writing 7 in Execute No.
1. Turn IN8, IN9 and IN10 ON, and enter "7" in binary into CMD_PARAM (IN7 to 0).
2. Set CST (IN12) to ON.
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.
1: ON (short circuit), 0: OFF (open)
1: ON (short circuit), 0: OFF (open)
1: ON (short circuit), 0: OFF (open)