{"payload":{"meta":{"Graph":{"@Type":"81297157","@Value":{"Guid":"(Guid)6897da1d-7ce2-467c-bbec-a86f3ea2e0ec","ParentGuid":"(Guid)06de3360-6eb7-495c-8a1d-e3e8eabed0e6","Name":"(string)simulation","Properties":{"@Type":"2c41fa04:IDictionary","@Value":{}},"TypeGuid":"(Guid)f8a58466-d7f6-439f-bbb8-d4600e41d099","EmbeddedTypeGuids":{"@Type":"[Guid]","@Value":["(Guid)a9ed5b7e-75c5-4651-af16-d2c27e98cb94","(Guid)3b83b776-fb25-43b8-99f2-3c507c9143fc"]}}},"TypeInfos":{"2c41fa04":"{2c41fa04-1834-41c1-816e-303c7aa2c05b}","81297157":"{81297157-7ec9-45ce-845e-84cab2b88ade}","Guid":"System.Guid","string":"System.String"}},"object":{"Graph":{"@Type":"f8a58466","@Value":{"Implementation":{"@Type":"3b83b776","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextBlobForSerialisation":"(string)// ===== Simulator =====\n\n//If ingredient demand then add to scale\nub := UPPER_BOUND(in_ingredients,1);\nFOR i := 0 TO ub DO\n\tzSimFillDebounce[i](in_raw := in_ingredients[i].runCtl.out, in_delOff := T#1S, in_delOn := T#1S);\n\tIF zSimFillDebounce[i].out_val THEN\n\t\tloadCell.in_simIn := loadCell.in_simIn + 0.02; \n\tEND_IF\nEND_FOR\n\n//If dump energized then transfter weight from weigher to weigher hopper\nIF in_dumpCtl.out THEN\n\tzSimDumpWht := 0.1;\n\tIF loadCell.in_simIn < 0.1 THEN\n\t\tzSimDumpWht := loadCell.in_simIn;\n\tEND_IF\n\tloadCell.in_simIn := loadCell.in_simIn - zSimDumpWht;\n\tzSimWeighHopperWht := zSimWeighHopperWht + zSimDumpWht;\nEND_IF\n\n//Simulate continuous unloading of weigh hopper by cross auger into barn\nIF zsimWeighHopperWht > 0 THEN\n\tzSimWeighHopperWht := zSimWeighHopperWht - 0.010;\nEND_IF\n\n//IF atGVL.simEn THEN\n////Simulate proxy at the bottom of the weigh hopper\n//weighHopEmpty := zSimWeighHopperWht < 0.5;\n//END_IF","LineInfoPersistence":"(string)6897da1d-7ce2-467c-bbec-a86f3ea2e0ec_Impl_LineIds"}}}},"Interface":{"@Type":"a9ed5b7e","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextBlobForSerialisation":"(string)METHOD PRIVATE simulation\nVAR\n\ti: DINT; //Loop variable\n\tub: DINT; //Array uppder bound\t\nEND_VAR\nVAR_IN_OUT\n\tloadCell: atLoadCell; \n\tweighHopEmpty: BOOL;  //Weigh hopper empty input \nEND_VAR\n","LineInfoPersistence":"(string)6897da1d-7ce2-467c-bbec-a86f3ea2e0ec_Decl_LineIds"}}}}}},"TypeInfos":{"3b83b776":"{3b83b776-fb25-43b8-99f2-3c507c9143fc}","a9ed5b7e":"{a9ed5b7e-75c5-4651-af16-d2c27e98cb94}","f3878285":"{f3878285-8e4f-490b-bb1b-9acbb7eb04db}","f8a58466":"{f8a58466-d7f6-439f-bbb8-d4600e41d099}","string":"System.String"}}},"FormatVersion":"1.0"}