由 HMIx AI 生成器创建
此资源由 ai.hmix.tech 上的 AI 创建。描述您的需求,几分钟内即可免费生成您自己的 HMI 控件。
Custom Web Control
About Inventory Stock List
Inventory Stock List is a Custom Web Control for WinCC Unified and WinCC V8 that presents stock as a clear, operator-friendly list. Each row shows a tag, the item name, a level bar, the current quantity and its unit. Operators register stock movements directly on the panel with plus and minus buttons, and the updated list is written back as JSON text to the items property.
Key Features
- Level bars per item: Quantity is drawn against each item's minimum and maximum, so stock position is visible at a glance.
- Automatic warnings: Rows below minimum turn amber with a warning label, and rows at zero turn red with an empty label.
- One-touch stock movements: The plus and minus buttons add or remove the stepSize quantity for each item.
- Event on every movement: The StockMovement event returns the item id, the signed quantity change and the resulting quantity for logging or further logic.
Customization
All texts and colors are set in the engineering tool. Use backgroundColor, title and headerTag for the header area, itemColumnHeader, levelColumnHeader and quantityColumnHeader for column titles, and belowMinLabel and emptyLabel for row warnings. belowMinChipSuffix, emptyListText, stepFooterText and itemCountFooterText control header chip and footer messages, while addButtonTooltip and removeButtonTooltip define accessible button labels. The items property can be bound to a WString tag.
Use Cases
Ideal for spare parts cabinets, raw material buffers, consumables at packaging lines and tool cribs, where operators record withdrawals and deliveries directly at the HMI.
Compatibility
Runs on WinCC Unified (TIA Portal) and WinCC V8. Bind the items property and any other properties you want to change to HMI tags, and make sure the tags written by the control are writable in the HMI tag configuration.
AI-Generated: This custom web control was generated with AI. Test and validate it thoroughly before using it in production environments.
⚠️ AI-Generated: This custom web control was automatically generated using AI technology. It may contain errors or unexpected behavior. Users are responsible for testing and validating before using in production environments.