beautypg.com

4 command processing, 5 rcc log, 4 command processing 8.7.5 rcc log – Banner PresencePLUS P4 EDGE 1.3 Series User Manual

Page 198

background image

RCC to send the current frame number as the command acceptance code. This will allow users to track when
each command was issued, and which frame it applies to.

For EXEC TRIGGER command, returned number will be the frame number at the completion of the inspection
execution.

For EXEC TRIGGER command, returned number will be the frame number at the completion of the inspection
execution.

For all other commands, the returned number is the current frame number.

8.7.4 Command Processing

RCC commands are interpreted in the context of the running PPVS system. Due to the constantly changing
system state caused either by external action or by previous RCC commands, certain rules are imposed on
RCC command acceptance and processing. Please note that command acceptance does not constitute
successful completion of the command.

1. EXEC TRIGGER command can be successfully accepted under the following conditions:

• Inspection is Executing and is Ready

2. EXEC PRODCHANGE command can be successfully accepted under the following conditions:

• Sensor is idle (inspection is not loaded), and the GUI is not connected
• Inspection is Executing and is Ready
• Sensor was previously product changed to an invalid slot

3. EXEC RESET command can be successfully accepted under the following conditions:

• Sensor is idle (inspection is not loaded)
• Inspection is Executing and is Ready

4. SET GAIN or SET EXPOSURE commands can be successfully accepted under the following

conditions:

• Inspection is Executing and is Ready

5. GET status, counter or flag commands can be accepted at any time. If issued when inspection is

Executing but is not Ready, these values may change as the inspection is executing.

6. GET COMMTOOL command can be successfully accepted if the inspection has been loaded.

However, RCC may not have valid data until the inspection has been triggered (executed) at least
once.

Commands with timeouts, such as EXEC TRIGGER and EXEC PRODCHANGE, will block processing of
additional commands while they are executing if they are invoked without the NOWAIT option. Additional
commands that are issued while processing is blocked will be queued, and will be processed in the order that
they were received when the blocking command finishes its execution.

When blocking commands, such as EXEC TRIGGER and EXEC PRODCHANGE, are invoked with the NOWAIT
option, GET commands that retrieve flags and status are accepted for processing. All other commands are
rejected with an appropriate error code.

8.7.5 RCC Log

RCC Log allows users to monitor and troubleshoot communication inputs and outputs.

Log consists of a circular buffer with up to 400 entries. These entries can be one of three types:

P/N 000000

Banner Engineering Corp. - Minneapolis, MN USA - www.bannerengineering.com

Tel: 763.544.3164

198

7/2009

Communication Tool Setup

This manual is related to the following products: