beautypg.com

KEYENCE CV-X Series User Manual

Page 12

background image

‐ 12 ‐

www.keyence.com

KEYENCE CORPORATION. Vision System Division

Command Execution Procedure Example Save Settings (SS Command)

1

Check the SS (Save Settings) command operation.

1. Enter "12", the SS command No., in the data memory
corresponding to the PLC Command Address (D100 in this
example).
* The address to use is 1 word.

2. Enter 1 in the data memory corresponding to the PLC
Command Execution Address (bit)
(D002 in this
example).
* The address to use is 1 word.

3. The command is executed.

4. Check if the values of the data memory corresponding
to the PLC Command Complete Address (bit) and
Command Result Address
(D003 and D200 respectively
in this example) have changed.

When the command is successful: CV‐X writes "1" into Command
Complete Address (bit), and "0" into Command Result Address.

When the command fails: CV‐X writes "1" into Command Complete
Address (bit), and an error code into Command Result Address.

Here is an example of a representative command execution procedure. This section explains an example of executing the SS
(Save Settings) command, which does not use a command parameter, with Command Execute Event set to "Polling". The
screens with

blue frames

show when the "Registration monitor" function of GX Developer is used for confirmation.