beautypg.com

Command execution procedure example – KEYENCE CV-X Series User Manual

Page 11

background image

KEYENCE CORPORATION. Vision System Division

‐ 11 ‐

www.keyence.com

Command Execution Procedure Example

Save Settings (SS)

Here is an example of a command execution procedure. This section shows an example of executing the SS (Save Settings)

command which does not use a command parameter. The screens with

blue frames

show when the "Registration monitor"

function of KV STUDIO is used for confirmation.

Check the SS (Save Settings) command operation.

1. Enter "12", the SS command No., in the device

corresponding to the PLC Command Number (W0F4

in this example).

2. Enter "1" in the device corresponding to the PLC

Command request flag (B060 in this example).

3. The command is executed.

4.Check if the values of the devices corresponding to

the PLC Command complete flag and Command

result (B00 and W04 respectively in this example)

have changed.

When the command is successful: CV‐X writes "1" into Command complete
flag, and "0" into Command result.

When the command fails: CV‐X writes "1" into Command complete flag, and
an error code into Command result.