IF_Product - General Information
Type: |
Interface |
Available as of: |
V1.0.0.0 |
Inherits from: |
- |
Versions: |
Current version |
Interface for accessing the values and functions of a product of the FB_Infeed POU
The products are detected by the belts of the FB_Infeed or can be generated by the user via the IF_ProductManager interface.
Name |
Data type |
Accessing |
Description |
---|---|---|---|
udiId |
UDINT |
Read |
The unique identification number of the product is allocated when creating the product. |
udiBeltId |
UDINT |
Read |
The number of the belt on which the product is currently located |
lrleadEdge |
LREAL |
Read |
The distance of the front edge of the product to the end of the belt on which the product is currently located |
lrTrailEdge |
LREAL |
Read |
The distance of the rear edge of the product to the end of the belt on which the product is currently located |
lrLength |
LREAL |
Read |
Length of the product |
lrLeadEdgeToTargetBeltStart |
LREAL |
Read |
The distance of the front edge of the product at the beginning of the last belt |
lrTrailEdgeToTargetBeltStart |
LREAL |
Read |
The distance of the rear edge of the product to the beginning of the last belt |
xValid |
BOOL |
Read |
TRUE: The interface refers to a valid product. FALSE: The interface does not refer to a valid product. Standard values are returned for the properties. |
ifTarget |
Read/Write |
The user can allocate a target to the product, for instance to ensure in the algorithm that the product is moved always to the same target. |
|
radiUserInfo |
REFERENCE TO ARRAY[1..Gc_udiMaxNumberOfUserInfo] OF DINT |
Read/Write |
Application-specific data can be allocated to a product. These data remain in the product until it is deleted. |
ralrUserInfo |
REFERENCE TO ARRAY[1..Gc_udiMaxNumberOfUserInfo] OF LREAL |
Read/Write |
Application-specific data can be allocated to a product. These data remain in the product until it is deleted. |