I/o terminal control (bs: register image) – KEYENCE CV-X Series User Manual
Page 22
KEYENCE CORPORATION. Vision System Division
‐ 22 ‐
www.keyence.com
1
IN3
0
0
0
1
0
IN4
1
0
1
0
0
0
1
IN10
IN9
CMD_CODE
CMD_PARAM
IN12 IN11
0
0
1
0
0
0
1
0
1
0
IN0
IN2
IN1
0
1
0
0
IN7 to 6: Camera number (specified with 0 to 3)
IN5 to 0: Destination number
IN1
IN0
IN8
IN7
CST
CMD_CODE
CMD_PARAM
IN12 IN11 IN10
IN9
IN8
0
0
IN6
IN5
1
CST
IN3
IN2
IN7
IN6
IN2
IN7
IN6
IN5
IN4
IN5
IN4
IN3
CST
CMD_CODE
CMD_PARAM
IN12 IN11 IN10
IN9
IN1
IN0
IN8
I/O terminal control (BS: Register Image)
The Current Image is saved as Reference Image of the specified number, and the saved Reference Image is used to
calculate the Reference Value.
BS command: Register Image
Register Image
Sample BS command execution procedure: Registering CAM 2 Reference Image 005 (2-005)
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)
2. Set CST (IN12) to ON.
3. CMD_READY (OUT3) turns OFF, and the image is registered.
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.
1: ON (short circuit), 0: OFF (open)
1: ON (short circuit), 0: OFF (open)
1: ON (short circuit), 0: OFF (open)