Set target values
- Last UpdatedNov 26, 2024
- 2 minute read
If the TargetRateFromDB property is set to True, the TargetRate, ProductionUnitOfMeasure, and BatchSize properties are set by getting the values from the MES database and the TargetQuantity property is calculated from the TargetRate. These values can not be set at design-time or run time in this case. If the TargetRateFromDB property is False, either the TargetQuantity property or the TargetRate property must be set at design time or run time to get the production target. To set the values at design time, the user opens the form for editing in System Platform and clicks on the Production Progress Control and goes to the Properties section on the right side of the window. A value can be entered for the TargetQuantity or TargetRate property as well as other properties of the Progress Production Control if the defaults are not to be used. To set the values at run time, the user must hook a System Platform tag to the properties. When the value of the System Platform tag is changed during run time, the property hooked to it will be updated with the new value. To do this, the user opens the form in System Platform and double clicks on the Production Progress Control. This will open an Edit Animations dialog. Click Data Binding in the Configuration list on the left side of the dialog box. On the right side, a list will appear containing the properties of the Production Progress Control. A tag can be filled into the Reference column on the row of the property want to hook to the tag. The tag can be typed in directly, or browsed for by clicking the browse button at the end of the reference field. Clicking OK will then hook this tag to the property. Script can also be used to set the target property values at run time.