This page is not fully translated, yet. Please help completing the translation.
(remove this paragraph once the translation is finished)
Variant "Write" a) MES generates the product code
| Variable | Data type | Description | Direction | |
|---|---|---|---|---|
| Write* | BOOL | If new product data is available, the variable is set to TRUE by the PLC. After successful saving, the PLC sets the variable back to FALSE. | From PLC to MES | |
| Written* | BOOL | This variable writes TRUE by MES when the data has been stored in the database. MES resets it to FALSE | From MES to PLC | |
| ProductName* | STRING | The PLC can use this variable to specify a product; e.g. the recipe name (can be static) | From PLC to MES | |
| ProductCode* | STRING | The product code generated by the MES is made available to the PLC. This code is applied to the product. | From MES to PLC | |
| ProductGUID* | STRING | The database GUID generated by the MES is made available to the PLC. It is an internal unique ID. | From MES to PLC | |
| Template | STRING | This variable can be used to specify the pattern for the creation of the product code by the PLC. | From PLC to MES | |
| Addition | STRING | The content of this variable is written to a placeholder within the product code (Template). | From PLC to MES |
- Section 1:
- {Product} is set by PLC at least 300ms before {Write}
- {PLCPattern} is optionally set by PLC
- {Addition} is optionally set by PLC.
- Section 2:
- {Write} is set by PLC.
- Section 3:
- {product code} is set by MES
- {product ID} is set by MES
- Section 4:
- {Written} is set by MES.
- Section 5:
- {Write} is reset by PLC (Reason: rising edge {Write}).
- {Product} is reset by PLC (Reason: rising edge {Written})
- {PLCPattern} is reset by PLC (Reason: rising edge {Written})
- {Addition} is reset by the PLC (Reason: rising edge {Written})
- Section 6:
- {Written} is reset by MES (Reason: falling edge of {Written}).
- {Product code} is reset by MES (Reason: falling edge of {Write})
- {Product ID} is reset by MES (Reason: falling edge of {Write})
