Product Data

Valid Product Data Protocol:

Designation

Content

Description

Start sign of product data

P

Indicates the beginning of product data.

Object type value

O

The object type has to be located at the beginning of product data.

Value Id

See table Allowed Value Ids.

Character that defines the type of product data.

Value

#.#

Value to be transmitted. Depending on the value Id INT, UDINT, or LREAL is possible.

There is no restriction regarding the length of a number.

Further value Ids and values

End sign of product data

!

Indicates the end of the product data.

Allowed Value Ids

Value Ids

Description

Format of value / example

O

Object type. If several different objects have to be detected, there is a separate number for each object.

O1: Object type 1

O2: Object type 2

I

Object index. Reflects the number of the detected product.

I1: Object number 1

I2: Object number 2

X

X-value (row) of the object position.

X#.#

Y

Y-value (column) of the object position.

Y#.#

Z

Z-value of the object position.

Z#.#

R

Rotation/orientation/angle of the object.

R#.#

S

Scaling of the detected object.

S#.#

Q

Hit/quality of detection.

Q#.#

U

User-specific string that can be evaluated separately.

See table User-Specific String.

User-Specific String

The user-specific string must be located at the end of product data.

Designation

Content

Description

Value Id

U

Indicates a user-specific string.

String length

80*

Size/length of the user-specific string.

Range: 00...80

Content

#

String to be transmitted.

* U00: No data in user-specific string

Example

PO1I1X100.5Y305.25R180.0Q98.5U10ABCDefgh12!

Object type:

1

Index:

1

Position (X/Y):

100.5/305.25

Rotation:

180.0

Quality:

98.5

User string:

String length = 10

Content = ABCDefgh12

NOTE: For floating point values, the number of digits before and after the delimiter is not limited.