FIXME **This page is not fully translated, yet. Please help completing the translation.**\\ //(remove this paragraph once the translation is finished)// {{indexmenu_n>2}} ====== Variant "Read" b) Read product data (base product + product code) ====== |<70% 20% 10% 45% 15%>| |^Variable ^Data type ^Description ^Direction| |Read* |BOOL |This variable sets PLC when new data is available and PLC sets it back to FALSE |From PLC to MES| |Read* |BOOL |This variable describes MES with TRUE, if the data was stored in the database. MES resets it to FALSE |From MES to PLC| |Product ID* |STRING |The generated database GUID is passed from MES to PLC, so that the measured values can be assigned faster |From MES to PLC| |Product Code* |STRING |The generated product code is set by PLC for MES |From PLC to MES| |Product* |STRING |The product 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 evaluated by the PLC in various data formats |From MES to PLC| {{:de:mes-schnittstellen:mes-datacollector:pde:lesen:lesen-b:pasted:20220520-121725.png}} * Section 1: * //{Product}// is set by PLC at least 300ms before //{Read}//. * //{product code}// is set by PLC at least 300ms before //{read}// * Section 2: * //{Read}// is set by PLC * Section 3: * //{Product ID}// is set by MES * //{measured values 1..N}// are optionally set by MES * Section 4: * //{Read}// is set by MES. * Section 5: * //{Read}// is reset by PLC (**Reason**: rising edge //{Read}//). * //{Product}// is reset by PLC (**Reason**: rising edge //{Read}//) * //{Product code}// is reset by PLC (**Reason**: rising edge //{Read}//) * Section 6: * //{Read}// is reset by MES (**Reason**: falling edge of //{Read}//) * //{Product ID}// is reset by MES (**Reason**: falling edge of //{Read}//) * //{Measured values 1..N}// are reset by MES (**Reason**: falling edge of //{Read}//)