FIXME **This page is not fully translated, yet. Please help completing the translation.**\\ //(remove this paragraph once the translation is finished)// {{indexmenu_n>5}} ====== Variant "Write" e) Save measured value additionally to product ID and change product code ====== |<70% 20% 10% 45% 15%>| |^Variable ^Data type ^Description ^Direction| |Written* |BOOL |This variable sets PLC when new data is available and PLC sets it back to FALSE |From PLC to MES| |Written* |BOOL |This variable writes TRUE to MES when the data has been stored in the database. MES resets it to FALSE |From MES to PLC| |Product ID* |STRING |The generated database GUID is passed from PLC to MES, so that the measured values can be assigned faster |From PLC to MES| |Product Code* |STRING |The generated product code is set by PLC for MES |From PLC to MES| |Measured value 1..N* |miscellaneous |The measured values or states of the produced part can be specified here in various data formats |From PLC to MES| {{:de:mes-schnittstellen:mes-datacollector:pde:schreiben-e:pasted:20220520-115537.png}} * Section 1: * //{Product ID}// is set by PLC at least 300ms before //{Write}//. * //{Product code}// set by PLC at least 300ms before //{write}// * //{Measured values 1..N}// is set by PLC at least 300ms before //{write}// * Section 2: * //{Write}// is set by PLC. * Section 3: * //{Write}// is set by MES. * Section 4: * //{Write}// is reset by PLC (**Reason**: rising edge //{Write}//). * //{Product ID}// is reset by PLC (**Reason**: rising edge //{Written}//) * //{Measured values 1..N}// is reset by PLC (**Reason**: rising edge //{Written}//) * Section 5: * //{Written}// is reset by MES (**Reason**: falling edge of //{Written}//).