IPCConnectedFactoryExchange / CFX

Apache License 2.0
75 stars 69 forks source link

How is the process interlock with barcode scanner done with CFX #52

Open mistermaek opened 4 years ago

mistermaek commented 4 years ago

Hi, i have a question regarding the process interlock via barcode scanner with CFX. As soon as the barcode is read by the scanner, which CFX message should be used for sending this to the broker? Furthermore is there a response with the program to load or is the program load done separately by the broker with a load program call? If yes what is the name of the CFX request from the host to the equipment? Thanks in advance for your answers.

Regards

johnjwalls commented 4 years ago

If your device is internally capable of reading the barcode/identifier of a production unit (via a barcode scanner or RFID reader), then prior to processing, you would 1) Read the unit barode. 2) Send a CFX request to an upper level software system (like MES) using CFX.InformationSystem.UnitValidation.ValidateUnits 3) Receive back the response. If ok, continue to process the unit as usual. If not ok, prevent processing and allow operator to correct then try again.

If your device cannot read a barcode, you can acquire the barcode either from Hermes, or from a CFX compliant barcode reader by subscribing to the CFX.Sensor.Identification.IdentifiersRead. message or by making an IdentifyUnitsRequest/Response call to the CFX scanner. Then you would make the ValidateUnits message as described above.