I/o terminal control (pw: change programs) – KEYENCE CV-X Series User Manual
Page 19
KEYENCE CORPORATION. Vision System Division
‐ 19 ‐
www.keyence.com
1
0
0
1
0
1
0
0
IN4
IN3
IN12 IN11 IN10 IN9
IN8
IN7
IN2
IN1
IN0
1
0
0
1
1
IN6
IN5
1
0
1
0
1
0
0
CST
CMD_CODE
CMD_PARAM
0
IN4
IN7
IN6
IN3
IN2
IN4
IN7
IN6
0
0
0
1
1
IN12 IN11
CST
CMD_CODE
CMD_PARAM
Program Setting No. to change to (0 to 255)
IN1
IN0
IN5
IN10 IN9
IN8
1
CST
CMD_CODE
CMD_PARAM
IN12 IN11 IN10 IN9
IN8
IN5
0
0
1
0
0
1
IN1
IN0
IN1
IN0
IN3
IN2
IN4
IN3
IN12 IN11 IN10 IN9
CST
CMD_CODE
CMD_PARAM
0
Program Setting No. to change to (0 to 255)
IN7
IN6
IN5
IN2
IN8
I/O terminal control (PW: Change Programs)
Closes all open dialog boxes and changes the program setting to the No. specified.
The CMD_CODE to specify differs according to whether the program setting to change to is in SD1 or SD2.
PW command: Change Programs
Change Programs (SD Card 1)
Change Programs (SD Card 2)
Sample PW command execution procedure: Changing to setting 088 of SD Card 2
1. Turn IN8 and IN9 ON, and enter "88" in binary into CMD_PARAM (IN7 to 0).
2. Set CST (IN12) to ON.
3. CMD_READY (OUT3) turns OFF, and the setting change starts.
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.
* To specify Program Setting No. 256 to 999, use the "Specify parameter in upper 8 bits" command and specify 15 to 8 bits.
1: ON (short circuit), 0: OFF (open)
1: ON (short circuit), 0: OFF (open)
1: ON (short circuit), 0: OFF (open)
1: ON (short circuit), 0: OFF (open)