Ocv tool and the remote command channel, Rcc return values – Banner PresencePLUS P4 EDGE 1.3 Series User Manual
Page 61
![background image](/manuals/587183/61/background.png)
Description
Syntax
Sets the specified tool operand, if it is a
constant. Value should be a quoted string (see
set stringtool tool_name|tool_number operand_1|operand_2
Character Strings 6.2.2.6.1 Character Strings
on page 200).
Gets the value of the specified tool operand, if
it is a constant.
get stringtool tool_name|tool_number operand_1|operand_2
OCV Tool and the Remote Command Channel
Commands
Description
Syntax
Sets the expected string, if it is a constant. The
Value should be a quoted string containing
set ocvtool tool_name|tool_number exp_string value|
printable ASCII characters (see
Strings 6.2.2.6.1 Character Strings
on page
200).
Gets the value of the exptected string.
get ocvtool tool_name|tool_number exp_string
RCC Return Values
RCC return values are numeric, and are listed below:
• 0 - command accepted. This return code is generated when a valid SET, GET, and EXEC command
has been completely handled by the sensor. It may be followed by a command-specific return value
or a completion code.
If the frame tag is enabled, the current frame number will be returned instead of 0 as command acceptance
indicator.
• -100 - Invalid command entered by the user.
• Trigger and Product Change error codes:
• -201 - Product change command attempted in the middle of the inspection
• -202 – Trigger command attempted in the middle of product change
• -203 – Trigger command is attempted when the inspection is not executing (sensor is idle)
• -204 – Specified inspection slot is out of range
• -205 – Trigger command attempted in the middle of the inspection
• -206 – Product change command attempted in the middle of a product change
• -207 – Product change command attempted while the sensor is in the Teach mode
• -208 – Product change attempted when the GUI is connected, and the inspection is not executing
• Comm tool error codes
• -301 – get/set tool command attempted while the inspection is not executing
• -302 – get command issued before inspection is triggered for the first time – tool results unavailable
• -303 – get/set tool command attempted in the middle of the inspection
• -304 – get/set tool command attempted in the middle of the product change
• -305 – Tool specified in get/set command not found in the inspection
61
Banner Engineering Corp. - Minneapolis, MN USA - www.bannerengineering.com
Tel: 763.544.3164
P/N 000000
System Setup Window Overview
7/2009