Rcc log, Frame and field delimiters – Banner PresencePLUS P4 COLOR Series User Manual
Page 60

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.
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:
• IN – characters received in the input stream
• CMD – commands that were extracted after the frame start and frame end delimiters have been received
• OUT – formatted command output, with frame delimiters already included.
Log entries are time stamped with system time and sorted in the order they were received.
Non-displayable ASCII characters are shown in the ASCII Hex string form. The ASCII Hex strings are preceded by
character sequence “\x” (backslash-lower-case-x). The ASCII Hex string will always be two characters long. For
example, NULL will be converted to “\x00”, and carriage return will be converted to “\x0D”. To represent ASCII Hex
digits, only upper case letters, A-F, are used.
Sample RCC log is given below:
0000000118.116 IN e
0000000118.116 IN x
0000000118.116 IN e
0000000118.116 IN c
0000000118.116 IN
0000000118.116 IN t
0000000118.116 IN r
0000000118.116 IN i
0000000118.116 IN g
0000000118.116 IN g
0000000118.116 IN e
0000000118.116 IN r
0000000118.116 IN \x0D
0000000118.116 IN \x0A
0000000118.116 CMD exec trigger
0000000118.483 OUT 0\x0D\x0A
In this example, command exec trigger was sent to RCC interface. The interface was configured to use no start frame
delimiter, and carriage return (\x0D) and line feed (\x0A) as frame delimiters. As soon as valid frame delimiters were
received, the command exec trigger was sent for processing, and the command response was sent back after inspection
finished executing.
Frame and Field Delimiters
The PresencePLUS GUI includes a drop-down list of Frame delimiters as follows:
•
Banner Engineering Corp.
Minneapolis, MN USA
60
2/2010
System Setup Dialog