5 rcc log, 6 frame and field delimiters, 5 rcc log 8.7.6 frame and field delimiters – Banner PresencePLUS P4 COLOR Series User Manual

Page 326

Advertising
background image

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:

• 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.

8.7.6 Frame and Field Delimiters

The PresencePLUS GUI includes a drop-down list of Frame delimiters as follows:

<none> for no delimiter
\r for carriage return (<CR>)
\n for line feed (LF)
\r\n for carriage return followed by a line feed (CR-LF)
\n\r for line feed followed by a carriage return (LF-CR)

In addition to the above field delimiters, you can enter other delimiter types keeping in mind the following:

• ASCII hex format can be used as a delimiter

• a NULL character can be used as a delimiter (specified in ASCII hex format)

• Frame delimiters can be multi-character sequences up to 20 characters long

The PresencePLUS GUI includes a drop-down list of Field delimiters as follows:

Banner Engineering Corp.

Minneapolis, MN USA

326

2/2010

Communication Tool Setup

Advertising
This manual is related to the following products: