Parameters
Parameters described here are additions or modifications to the standard Parameters. They can be used in production when working with a multi-model recipe.
Parameter |
Type 1 |
Additional value |
Valid value |
Default value |
---|---|---|---|---|
R/W |
string |
int |
0 |
|
RO |
string |
int |
0 |
- 1
RO: Read Only; R/W: Read and Write
model_n_parts_prepared
It returns the number of parts currently prepared for the given model (1
, 2
…etc).
This parameter takes a mandatory additional value corresponding to the part model (1
, 2
…etc).
get_parameter model_n_parts_prepared 1
200 4
get_parameter model_n_parts_prepared 2
200 3
model_quantity
It is the number of parts of a specific model requested by prepare_part and get_part each time it takes an image. If this number of parts is not found during image acquisition, then the get_part or prepare_part will start again (vibration + image acquisition) until this number of parts is found or the timeout is reached.
This parameter takes a mandatory additional value corresponding to the part model (1
, 2
…etc), and the
corresponding number to be found (set to 0 if not specified).
Note
Refer to get_part to see how model_quantity can be combined with different part types.
get_parameter model_quantity 1
200 0
set_parameter model_quantity 2 4
200
get_parameter model_quantity 2
200 4