diff --git a/config.rsc b/config.rsc index 4079f66..801a760 100644 --- a/config.rsc +++ b/config.rsc @@ -1 +1 @@ -{"App":{"name": "PiCtory", "version": "1.4.2","saveTS": "20190928113540","language": "en","layout": {"north":{"size":70,"initClosed":false,"initHidden":false},"south":{"size":345,"initClosed":false,"initHidden":false,"children":{"layout1":{"east":{"size":500,"initClosed":false,"initHidden":false}}}},"east":{"size":70,"initClosed":true,"initHidden":false,"children":{}},"west":{"size":352,"initClosed":false,"initHidden":false,"children":{"layout1":{}}}}},"Summary":{"inpTotal": 620,"outTotal": 567},"Devices":[{"GUID": "16c3d38c-e01a-546b-53cb-7d3b485c70e6","id": "device_RevPiGateProfinet_20160916_1_0_001","type": "EDGE","productType": "79","position": "30","name": "pn01","bmk": "Gateway Profinet IRT","inpVariant": 0,"outVariant": 0,"comment": "","offset": 0,"inp": {"0": ["b_position1","0","8","0",false,"0000", "",""],"1": ["b_position2","0","8","1",false,"0001", "",""],"2": ["Input_3","0","8","2",false,"0002", "",""],"3": ["Input_4","0","8","3",false,"0003", "",""],"4": ["Input_5","0","8","4",false,"0004", "",""],"5": ["Input_6","0","8","5",false,"0005", "",""],"6": ["Input_7","0","8","6",false,"0006", "",""],"7": ["Input_8","0","8","7",false,"0007", "",""],"8": ["Input_9","0","8","8",false,"0008", "",""],"9": ["Input_10","0","8","9",false,"0009", "",""],"10": ["Input_11","0","8","10",false,"0010", "",""],"11": ["Input_12","0","8","11",false,"0011", "",""],"12": ["Input_13","0","8","12",false,"0012", "",""],"13": ["Input_14","0","8","13",false,"0013", "",""],"14": ["Input_15","0","8","14",false,"0014", "",""],"15": ["Input_16","0","8","15",false,"0015", "",""],"16": ["Input_17","0","8","16",false,"0016", "",""],"17": ["Input_18","0","8","17",false,"0017", "",""],"18": ["Input_19","0","8","18",false,"0018", "",""],"19": ["Input_20","0","8","19",false,"0019", "",""],"20": ["Dummy_in","not used","3936","20",false,"0040", "",""]},"out": {"0": ["Output_1","0","8","512",false,"0020", "",""],"1": ["Output_2","0","8","513",false,"0021", "",""],"2": ["Output_3","0","8","514",false,"0022", "",""],"3": ["Output_4","0","8","515",false,"0023", "",""],"4": ["Output_5","0","8","516",false,"0024", "",""],"5": ["Output_6","0","8","517",false,"0025", "",""],"6": ["Output_7","0","8","518",false,"0026", "",""],"7": ["Output_8","0","8","519",false,"0027", "",""],"8": ["Output_9","0","8","520",false,"0028", "",""],"9": ["Output_10","0","8","521",false,"0029", "",""],"10": ["Output_11","0","8","522",false,"0030", "",""],"11": ["Output_12","0","8","523",false,"0031", "",""],"12": ["Output_13","0","8","524",false,"0032", "",""],"13": ["Output_14","0","8","525",false,"0033", "",""],"14": ["Output_15","0","8","526",false,"0034", "",""],"15": ["Output_16","0","8","527",false,"0035", "",""],"16": ["Output_17","0","8","528",false,"0036", "",""],"17": ["Output_18","0","8","529",false,"0037", "",""],"18": ["Output_19","0","8","530",false,"0038", "",""],"19": ["Output_20","0","8","531",false,"0039", "",""],"20": ["Dummy_out","not used","3936","532",false,"0041", "",""]},"mem": {},"extend": {}},{"GUID": "40827b8e-e8da-4f35-8123-89103244a995","id": "device_RevPiDIO_20160818_1_0_001","type": "LEFT_RIGHT","productType": "96","position": "31","name": "dio01","bmk": "RevPi DIO","inpVariant": 0,"outVariant": 0,"comment": "","offset": 1024,"inp": {"0": ["t_forklift","0","1","0",true,"0000", "","0"],"1": ["I_2","0","1","0",true,"0001", "","1"],"2": ["I_3","0","1","0",true,"0002", "","2"],"3": ["I_4","0","1","0",true,"0003", "","3"],"4": ["I_5","0","1","0",true,"0004", "","4"],"5": ["I_6","0","1","0",true,"0005", "","5"],"6": ["I_7","0","1","0",true,"0006", "","6"],"7": ["I_8","0","1","0",true,"0007", "","7"],"8": ["I_9","0","1","0",true,"0008", "","8"],"9": ["I_10","0","1","0",true,"0009", "","9"],"10": ["I_11","0","1","0",true,"0010", "","10"],"11": ["I_12","0","1","0",true,"0011", "","11"],"12": ["I_13","0","1","0",true,"0012", "","12"],"13": ["I_14","0","1","0",true,"0013", "","13"],"14": ["I_15","0","1","0",true,"0014", "","14"],"15": ["I_16","0","1","0",true,"0015", "","15"],"16": ["Output_Status","0","16","2",false,"0016", "",""],"17": ["Status","0","16","4",false,"0017", "",""],"18": ["Counter_1","0","32","6",false,"0018", "",""],"19": ["Counter_2","0","32","10",false,"0019", "",""],"20": ["Counter_3","0","32","14",false,"0020", "",""],"21": ["Counter_4","0","32","18",false,"0021", "",""],"22": ["Counter_5","0","32","22",false,"0022", "",""],"23": ["Counter_6","0","32","26",false,"0023", "",""],"24": ["Counter_7","0","32","30",false,"0024", "",""],"25": ["Counter_8","0","32","34",false,"0025", "",""],"26": ["Counter_9","0","32","38",false,"0026", "",""],"27": ["Counter_10","0","32","42",false,"0027", "",""],"28": ["Counter_11","0","32","46",false,"0028", "",""],"29": ["Counter_12","0","32","50",false,"0029", "",""],"30": ["Counter_13","0","32","54",false,"0030", "",""],"31": ["Counter_14","0","32","58",false,"0031", "",""],"32": ["Counter_15","0","32","62",false,"0032", "",""],"33": ["Counter_16","0","32","66",false,"0033", "",""]},"out": {"0": ["h_red","0","1","70",true,"0034", "","0"],"1": ["h_green","0","1","70",true,"0035", "","1"],"2": ["O_3","0","1","70",true,"0036", "","2"],"3": ["O_4","0","1","70",true,"0037", "","3"],"4": ["O_5","0","1","70",true,"0038", "","4"],"5": ["O_6","0","1","70",true,"0039", "","5"],"6": ["O_7","0","1","70",true,"0040", "","6"],"7": ["O_8","0","1","70",true,"0041", "","7"],"8": ["O_9","0","1","70",true,"0042", "","8"],"9": ["O_10","0","1","70",true,"0043", "","9"],"10": ["O_11","0","1","70",true,"0044", "","10"],"11": ["O_12","0","1","70",true,"0045", "","11"],"12": ["O_13","0","1","70",true,"0046", "","12"],"13": ["O_14","0","1","70",true,"0047", "","13"],"14": ["O_15","0","1","70",true,"0048", "","14"],"15": ["O_16","0","1","70",true,"0049", "","15"],"16": ["PWM_1","0","8","72",false,"0050", "",""],"17": ["PWM_2","0","8","73",false,"0051", "",""],"18": ["PWM_3","0","8","74",false,"0052", "",""],"19": ["PWM_4","0","8","75",false,"0053", "",""],"20": ["PWM_5","0","8","76",false,"0054", "",""],"21": ["PWM_6","0","8","77",false,"0055", "",""],"22": ["PWM_7","0","8","78",false,"0056", "",""],"23": ["PWM_8","0","8","79",false,"0057", "",""],"24": ["PWM_9","0","8","80",false,"0058", "",""],"25": ["PWM_10","0","8","81",false,"0059", "",""],"26": ["PWM_11","0","8","82",false,"0060", "",""],"27": ["PWM_12","0","8","83",false,"0061", "",""],"28": ["PWM_13","0","8","84",false,"0062", "",""],"29": ["PWM_14","0","8","85",false,"0063", "",""],"30": ["PWM_15","0","8","86",false,"0064", "",""],"31": ["PWM_16","0","8","87",false,"0065", "",""]},"mem": {"0": ["InputMode_1","0","8","88",false,"0066", "",""],"1": ["InputMode_2","0","8","89",false,"0067", "",""],"2": ["InputMode_3","0","8","90",false,"0068", "",""],"3": ["InputMode_4","0","8","91",false,"0069", "",""],"4": ["InputMode_5","0","8","92",false,"0070", "",""],"5": ["InputMode_6","0","8","93",false,"0071", "",""],"6": ["InputMode_7","0","8","94",false,"0072", "",""],"7": ["InputMode_8","0","8","95",false,"0073", "",""],"8": ["InputMode_9","0","8","96",false,"0074", "",""],"9": ["InputMode_10","0","8","97",false,"0075", "",""],"10": ["InputMode_11","0","8","98",false,"0076", "",""],"11": ["InputMode_12","0","8","99",false,"0077", "",""],"12": ["InputMode_13","0","8","100",false,"0078", "",""],"13": ["InputMode_14","0","8","101",false,"0079", "",""],"14": ["InputMode_15","0","8","102",false,"0080", "",""],"15": ["InputMode_16","0","8","103",false,"0081", "",""],"16": ["InputDebounce","0","16","104",false,"0082", "",""],"17": ["OutputPushPull","0","16","106",false,"0083", "",""],"18": ["OutputOpenLoadDetect","0","16","108",false,"0084", "",""],"19": ["OutputPWMActive","0","16","110",false,"0085", "",""],"20": ["OutputPWMFrequency","1","8","112",false,"0086", "",""]},"extend": {}},{"GUID": "0ae4454e-e75e-cf81-c8cb-d48732c1c14b","id": "device_RevPiCore_20170404_1_2_001","type": "BASE","productType": "95","position": "0","name": "core01","bmk": "RevPi Core/3/3+","inpVariant": 0,"outVariant": 0,"comment": "This is a RevPiCore Device","offset": 1137,"inp": {"0": ["RevPiStatus","0","8","0",true,"0000", "",""],"1": ["RevPiIOCycle","0","8","1",true,"0001", "",""],"2": ["RS485ErrorCnt","0","16","2",false,"0002", "",""],"3": ["Core_Temperature","0","8","4",false,"0003", "",""],"4": ["Core_Frequency","0","8","5",false,"0004", "",""]},"out": {"0": ["RevPiLED","0","8","6",true,"0005", "",""],"1": ["RS485ErrorLimit1","10","16","7",false,"0006", "",""],"2": ["RS485ErrorLimit2","1000","16","9",false,"0007", "",""]},"mem": {},"extend": {}},{"GUID": "4019d6d7-c8a0-20fa-1dfa-2d6165136f13","id": "device_Virtual01_20160818_1_0_001","type": "VIRTUAL","productType": "32768","position": "64","name": "panel01","bmk": "Virtual Device 32 Byte","inpVariant": 0,"outVariant": 0,"comment": "Virtual Device to reserve space in process image for user applications","offset": 1148,"inp": {"0": ["p_byte1","0","8","0",false,"0000", "",""],"1": ["p_byte2","0","8","1",false,"0001", "",""],"2": ["p_position1","0","8","2",false,"0002", "",""],"3": ["p_position2","0","8","3",false,"0003", "",""],"4": ["Input_5_i04","0","8","4",false,"0004", "",""],"5": ["Input_6_i04","0","8","5",false,"0005", "",""],"6": ["Input_7_i04","0","8","6",false,"0006", "",""],"7": ["Input_8_i04","0","8","7",false,"0007", "",""],"8": ["Input_9_i04","0","8","8",false,"0008", "",""],"9": ["Input_10_i04","0","8","9",false,"0009", "",""],"10": ["Input_11_i04","0","8","10",false,"0010", "",""],"11": ["Input_12_i04","0","8","11",false,"0011", "",""],"12": ["Input_13_i04","0","8","12",false,"0012", "",""],"13": ["Input_14_i04","0","8","13",false,"0013", "",""],"14": ["Input_15_i04","0","8","14",false,"0014", "",""],"15": ["Input_16_i04","0","8","15",false,"0015", "",""],"16": ["Input_17_i04","0","8","16",false,"0016", "",""],"17": ["Input_18_i04","0","8","17",false,"0017", "",""],"18": ["Input_19_i04","0","8","18",false,"0018", "",""],"19": ["Input_20_i04","0","8","19",false,"0019", "",""],"20": ["Input_21","0","8","20",false,"0020", "",""],"21": ["Input_22","0","8","21",false,"0021", "",""],"22": ["Input_23","0","8","22",false,"0022", "",""],"23": ["Input_24","0","8","23",false,"0023", "",""],"24": ["Input_25","0","8","24",false,"0024", "",""],"25": ["Input_26","0","8","25",false,"0025", "",""],"26": ["Input_27","0","8","26",false,"0026", "",""],"27": ["Input_28","0","8","27",false,"0027", "",""],"28": ["Input_29","0","8","28",false,"0028", "",""],"29": ["Input_30","0","8","29",false,"0029", "",""],"30": ["Input_31","0","8","30",false,"0030", "",""],"31": ["Input_32","0","8","31",false,"0031", "",""]},"out": {"0": ["r_byte1","0","8","32",false,"0032", "",""],"1": ["r_byte2","0","8","33",false,"0033", "",""],"2": ["r_position1","0","8","34",false,"0034", "",""],"3": ["r_position2","0","8","35",false,"0035", "",""],"4": ["Output_5_i04","0","8","36",false,"0036", "",""],"5": ["Output_6_i04","0","8","37",false,"0037", "",""],"6": ["Output_7_i04","0","8","38",false,"0038", "",""],"7": ["Output_8_i04","0","8","39",false,"0039", "",""],"8": ["Output_9_i04","0","8","40",false,"0040", "",""],"9": ["Output_10_i04","0","8","41",false,"0041", "",""],"10": ["Output_11_i04","0","8","42",false,"0042", "",""],"11": ["Output_12_i04","0","8","43",false,"0043", "",""],"12": ["Output_13_i04","0","8","44",false,"0044", "",""],"13": ["Output_14_i04","0","8","45",false,"0045", "",""],"14": ["Output_15_i04","0","8","46",false,"0046", "",""],"15": ["Output_16_i04","0","8","47",false,"0047", "",""],"16": ["Output_17_i04","0","8","48",false,"0048", "",""],"17": ["Output_18_i04","0","8","49",false,"0049", "",""],"18": ["Output_19_i04","0","8","50",false,"0050", "",""],"19": ["Output_20_i04","0","8","51",false,"0051", "",""],"20": ["Output_21","0","8","52",false,"0052", "",""],"21": ["Output_22","0","8","53",false,"0053", "",""],"22": ["Output_23","0","8","54",false,"0054", "",""],"23": ["Output_24","0","8","55",false,"0055", "",""],"24": ["Output_25","0","8","56",false,"0056", "",""],"25": ["Output_26","0","8","57",false,"0057", "",""],"26": ["Output_27","0","8","58",false,"0058", "",""],"27": ["Output_28","0","8","59",false,"0059", "",""],"28": ["Output_29","0","8","60",false,"0060", "",""],"29": ["Output_30","0","8","61",false,"0061", "",""],"30": ["Output_31","0","8","62",false,"0062", "",""],"31": ["Output_32","0","8","63",false,"0063", "",""]},"mem": {},"extend": {}}],"Connections":[]} \ No newline at end of file +{"App":{"name": "PiCtory", "version": "1.4.2","saveTS": "20190929212400","language": "en","layout": {"north":{"size":70,"initClosed":false,"initHidden":false},"south":{"size":345,"initClosed":false,"initHidden":false,"children":{"layout1":{"east":{"size":500,"initClosed":false,"initHidden":false}}}},"east":{"size":70,"initClosed":true,"initHidden":false,"children":{}},"west":{"size":352,"initClosed":false,"initHidden":false,"children":{"layout1":{}}}}},"Summary":{"inpTotal": 128,"outTotal": 59},"Devices":[{"GUID": "7b4c4e57-d0e9-1057-1a34-eaf3db5d2148","id": "device_RevPiAIO_20170301_1_0_001","type": "LEFT_RIGHT","productType": "103","position": "30","name": "aio01","bmk": "RevPi AIO","inpVariant": 0,"outVariant": 0,"comment": "","offset": 0,"inp": {"0": ["InputValue_1","0","16","0",false,"0000", "",""],"1": ["position","0","16","2",false,"0001", "",""],"2": ["InputValue_3","0","16","4",false,"0002", "",""],"3": ["InputValue_4","0","16","6",false,"0003", "",""],"4": ["InputStatus_1","0","8","8",false,"0004", "",""],"5": ["InputStatus_2","0","8","9",false,"0005", "",""],"6": ["InputStatus_3","0","8","10",false,"0006", "",""],"7": ["InputStatus_4","0","8","11",false,"0007", "",""],"8": ["RTDValue_1","0","16","12",false,"0008", "",""],"9": ["RTDValue_2","0","16","14",false,"0009", "",""],"10": ["RTDStatus_1","0","8","16",false,"0010", "",""],"11": ["RTDStatus_2","0","8","17",false,"0011", "",""],"12": ["OutputStatus_1","0","8","18",false,"0012", "",""],"13": ["OutputStatus_2","0","8","19",false,"0013", "",""]},"out": {"0": ["OutputValue_1","0","16","20",false,"0014", "",""],"1": ["OutputValue_2","0","16","22",false,"0015", "",""]},"mem": {"0": ["Input1Range","2","8","24",false,"0016", "You must use wire bridges for current measurement!",""],"1": ["Input1Multiplier","1","16","25",false,"0017", "",""],"2": ["Input1Divisor","1","16","27",false,"0018", "",""],"3": ["Input1Offset","0","16","29",false,"0019", "",""],"4": ["Input2Range","2","8","31",false,"0020", "You must use wire bridges for current measurement!",""],"5": ["Input2Multiplier","1","16","32",false,"0021", "",""],"6": ["Input2Divisor","1","16","34",false,"0022", "",""],"7": ["Input2Offset","0","16","36",false,"0023", "",""],"8": ["Input3Range","1","8","38",false,"0024", "You must use wire bridges for current measurement!",""],"9": ["Input3Multiplier","1","16","39",false,"0025", "",""],"10": ["Input3Divisor","1","16","41",false,"0026", "",""],"11": ["Input3Offset","0","16","43",false,"0027", "",""],"12": ["Input4Range","1","8","45",false,"0028", "You must use wire bridges for current measurement!",""],"13": ["Input4Multiplier","1","16","46",false,"0029", "",""],"14": ["Input4Divisor","1","16","48",false,"0030", "",""],"15": ["Input4Offset","0","16","50",false,"0031", "",""],"16": ["ADC_DataRate","4","8","52",false,"0032", "Use lowest value for highest precision and a maximum 50 Hz suppression",""],"17": ["RTD1Type","0","8","53",false,"0033", "",""],"18": ["RTD1Wiring","0","8","54",false,"0034", "You must use wire bridges for 2-wire sensors!",""],"19": ["RTD1Multiplier","1","16","55",false,"0035", "",""],"20": ["RTD1Divisor","1","16","57",false,"0036", "",""],"21": ["RTD1Offset","0","16","59",false,"0037", "",""],"22": ["RTD2Type","0","8","61",false,"0038", "",""],"23": ["RTD2Wiring","0","8","62",false,"0039", "You must use wire bridges for 2-wire sensors!",""],"24": ["RTD2Multiplier","1","16","63",false,"0040", "",""],"25": ["RTD2Divisor","1","16","65",false,"0041", "",""],"26": ["RTD2Offset","0","16","67",false,"0042", "",""],"27": ["Output1Range","0","8","69",false,"0043", "",""],"28": ["Output1EnableSlew","0","8","70",false,"0044", "Enable slew rate deceleration",""],"29": ["Output1SlewStepSize","0","8","71",false,"0045", "Slew rate step size",""],"30": ["Output1SlewClock","0","8","72",false,"0046", "lock rate of slew rate deceleration in kHz",""],"31": ["Output1Multiplier","1","16","73",false,"0047", "",""],"32": ["Output1Divisor","1","16","75",false,"0048", "",""],"33": ["Output1Offset","0","16","77",false,"0049", "",""],"34": ["Output2Range","0","8","79",false,"0050", "",""],"35": ["Output2EnableSlew","0","8","80",false,"0051", "Enable slew rate deceleration",""],"36": ["Output2SlewStepSize","0","8","81",false,"0052", "Slew rate step size",""],"37": ["Output2SlewClock","0","8","82",false,"0053", "lock rate of slew rate deceleration in kHz",""],"38": ["Output2Multiplier","1","16","83",false,"0054", "",""],"39": ["Output2Divisor","1","16","85",false,"0055", "",""],"40": ["Output2Offset","0","16","87",false,"0056", "",""]},"extend": {}},{"GUID": "40827b8e-e8da-4f35-8123-89103244a995","id": "device_RevPiDIO_20160818_1_0_001","type": "LEFT_RIGHT","productType": "96","position": "31","name": "dio01","bmk": "RevPi DIO","inpVariant": 0,"outVariant": 0,"comment": "","offset": 89,"inp": {"0": ["t_forklift","0","1","0",true,"0000", "","0"],"1": ["I_2","0","1","0",true,"0001", "","1"],"2": ["I_3","0","1","0",true,"0002", "","2"],"3": ["I_4","0","1","0",true,"0003", "","3"],"4": ["I_5","0","1","0",true,"0004", "","4"],"5": ["I_6","0","1","0",true,"0005", "","5"],"6": ["I_7","0","1","0",true,"0006", "","6"],"7": ["I_8","0","1","0",true,"0007", "","7"],"8": ["I_9","0","1","0",true,"0008", "","8"],"9": ["I_10","0","1","0",true,"0009", "","9"],"10": ["I_11","0","1","0",true,"0010", "","10"],"11": ["I_12","0","1","0",true,"0011", "","11"],"12": ["I_13","0","1","0",true,"0012", "","12"],"13": ["I_14","0","1","0",true,"0013", "","13"],"14": ["I_15","0","1","0",true,"0014", "","14"],"15": ["I_16","0","1","0",true,"0015", "","15"],"16": ["Output_Status","0","16","2",false,"0016", "",""],"17": ["Status","0","16","4",false,"0017", "",""],"18": ["Counter_1","0","32","6",false,"0018", "",""],"19": ["Counter_2","0","32","10",false,"0019", "",""],"20": ["Counter_3","0","32","14",false,"0020", "",""],"21": ["Counter_4","0","32","18",false,"0021", "",""],"22": ["Counter_5","0","32","22",false,"0022", "",""],"23": ["Counter_6","0","32","26",false,"0023", "",""],"24": ["Counter_7","0","32","30",false,"0024", "",""],"25": ["Counter_8","0","32","34",false,"0025", "",""],"26": ["Counter_9","0","32","38",false,"0026", "",""],"27": ["Counter_10","0","32","42",false,"0027", "",""],"28": ["Counter_11","0","32","46",false,"0028", "",""],"29": ["Counter_12","0","32","50",false,"0029", "",""],"30": ["Counter_13","0","32","54",false,"0030", "",""],"31": ["Counter_14","0","32","58",false,"0031", "",""],"32": ["Counter_15","0","32","62",false,"0032", "",""],"33": ["Counter_16","0","32","66",false,"0033", "",""]},"out": {"0": ["h_red","0","1","70",true,"0034", "","0"],"1": ["h_green","0","1","70",true,"0035", "","1"],"2": ["O_3","0","1","70",true,"0036", "","2"],"3": ["O_4","0","1","70",true,"0037", "","3"],"4": ["O_5","0","1","70",true,"0038", "","4"],"5": ["O_6","0","1","70",true,"0039", "","5"],"6": ["O_7","0","1","70",true,"0040", "","6"],"7": ["O_8","0","1","70",true,"0041", "","7"],"8": ["O_9","0","1","70",true,"0042", "","8"],"9": ["O_10","0","1","70",true,"0043", "","9"],"10": ["O_11","0","1","70",true,"0044", "","10"],"11": ["O_12","0","1","70",true,"0045", "","11"],"12": ["O_13","0","1","70",true,"0046", "","12"],"13": ["O_14","0","1","70",true,"0047", "","13"],"14": ["O_15","0","1","70",true,"0048", "","14"],"15": ["O_16","0","1","70",true,"0049", "","15"],"16": ["PWM_1","0","8","72",false,"0050", "",""],"17": ["PWM_2","0","8","73",false,"0051", "",""],"18": ["PWM_3","0","8","74",false,"0052", "",""],"19": ["PWM_4","0","8","75",false,"0053", "",""],"20": ["PWM_5","0","8","76",false,"0054", "",""],"21": ["PWM_6","0","8","77",false,"0055", "",""],"22": ["PWM_7","0","8","78",false,"0056", "",""],"23": ["PWM_8","0","8","79",false,"0057", "",""],"24": ["PWM_9","0","8","80",false,"0058", "",""],"25": ["PWM_10","0","8","81",false,"0059", "",""],"26": ["PWM_11","0","8","82",false,"0060", "",""],"27": ["PWM_12","0","8","83",false,"0061", "",""],"28": ["PWM_13","0","8","84",false,"0062", "",""],"29": ["PWM_14","0","8","85",false,"0063", "",""],"30": ["PWM_15","0","8","86",false,"0064", "",""],"31": ["PWM_16","0","8","87",false,"0065", "",""]},"mem": {"0": ["InputMode_1","0","8","88",false,"0066", "",""],"1": ["InputMode_2","0","8","89",false,"0067", "",""],"2": ["InputMode_3","0","8","90",false,"0068", "",""],"3": ["InputMode_4","0","8","91",false,"0069", "",""],"4": ["InputMode_5","0","8","92",false,"0070", "",""],"5": ["InputMode_6","0","8","93",false,"0071", "",""],"6": ["InputMode_7","0","8","94",false,"0072", "",""],"7": ["InputMode_8","0","8","95",false,"0073", "",""],"8": ["InputMode_9","0","8","96",false,"0074", "",""],"9": ["InputMode_10","0","8","97",false,"0075", "",""],"10": ["InputMode_11","0","8","98",false,"0076", "",""],"11": ["InputMode_12","0","8","99",false,"0077", "",""],"12": ["InputMode_13","0","8","100",false,"0078", "",""],"13": ["InputMode_14","0","8","101",false,"0079", "",""],"14": ["InputMode_15","0","8","102",false,"0080", "",""],"15": ["InputMode_16","0","8","103",false,"0081", "",""],"16": ["InputDebounce","0","16","104",false,"0082", "",""],"17": ["OutputPushPull","0","16","106",false,"0083", "",""],"18": ["OutputOpenLoadDetect","0","16","108",false,"0084", "",""],"19": ["OutputPWMActive","0","16","110",false,"0085", "",""],"20": ["OutputPWMFrequency","1","8","112",false,"0086", "",""]},"extend": {}},{"GUID": "0ae4454e-e75e-cf81-c8cb-d48732c1c14b","id": "device_RevPiCore_20170404_1_2_001","type": "BASE","productType": "95","position": "0","name": "core01","bmk": "RevPi Core/3/3+","inpVariant": 0,"outVariant": 0,"comment": "This is a RevPiCore Device","offset": 202,"inp": {"0": ["RevPiStatus","0","8","0",true,"0000", "",""],"1": ["RevPiIOCycle","0","8","1",true,"0001", "",""],"2": ["RS485ErrorCnt","0","16","2",false,"0002", "",""],"3": ["Core_Temperature","0","8","4",false,"0003", "",""],"4": ["Core_Frequency","0","8","5",false,"0004", "",""]},"out": {"0": ["RevPiLED","0","8","6",true,"0005", "",""],"1": ["RS485ErrorLimit1","10","16","7",false,"0006", "",""],"2": ["RS485ErrorLimit2","1000","16","9",false,"0007", "",""]},"mem": {},"extend": {}},{"GUID": "4019d6d7-c8a0-20fa-1dfa-2d6165136f13","id": "device_Virtual01_20160818_1_0_001","type": "VIRTUAL","productType": "32768","position": "64","name": "panel01","bmk": "Virtual Device 32 Byte","inpVariant": 0,"outVariant": 0,"comment": "Virtual Device to reserve space in process image for user applications","offset": 213,"inp": {"0": ["p_byte1","0","8","0",false,"0000", "",""],"1": ["p_byte2","0","8","1",false,"0001", "",""],"2": ["p_position1","0","8","2",false,"0002", "",""],"3": ["p_position2","0","8","3",false,"0003", "",""],"4": ["Input_5_i04","0","8","4",false,"0004", "",""],"5": ["Input_6_i04","0","8","5",false,"0005", "",""],"6": ["Input_7_i04","0","8","6",false,"0006", "",""],"7": ["Input_8_i04","0","8","7",false,"0007", "",""],"8": ["Input_9_i04","0","8","8",false,"0008", "",""],"9": ["Input_10_i04","0","8","9",false,"0009", "",""],"10": ["Input_11_i04","0","8","10",false,"0010", "",""],"11": ["Input_12_i04","0","8","11",false,"0011", "",""],"12": ["Input_13_i04","0","8","12",false,"0012", "",""],"13": ["Input_14_i04","0","8","13",false,"0013", "",""],"14": ["Input_15_i04","0","8","14",false,"0014", "",""],"15": ["Input_16_i04","0","8","15",false,"0015", "",""],"16": ["Input_17_i04","0","8","16",false,"0016", "",""],"17": ["Input_18_i04","0","8","17",false,"0017", "",""],"18": ["Input_19_i04","0","8","18",false,"0018", "",""],"19": ["Input_20_i04","0","8","19",false,"0019", "",""],"20": ["Input_21","0","8","20",false,"0020", "",""],"21": ["Input_22","0","8","21",false,"0021", "",""],"22": ["Input_23","0","8","22",false,"0022", "",""],"23": ["Input_24","0","8","23",false,"0023", "",""],"24": ["Input_25","0","8","24",false,"0024", "",""],"25": ["Input_26","0","8","25",false,"0025", "",""],"26": ["Input_27","0","8","26",false,"0026", "",""],"27": ["Input_28","0","8","27",false,"0027", "",""],"28": ["Input_29","0","8","28",false,"0028", "",""],"29": ["Input_30","0","8","29",false,"0029", "",""],"30": ["Input_31","0","8","30",false,"0030", "",""],"31": ["Input_32","0","8","31",false,"0031", "",""]},"out": {"0": ["r_byte1","0","8","32",false,"0032", "",""],"1": ["r_byte2","0","8","33",false,"0033", "",""],"2": ["r_position1","0","8","34",false,"0034", "",""],"3": ["r_position2","0","8","35",false,"0035", "",""],"4": ["Output_5_i04","0","8","36",false,"0036", "",""],"5": ["Output_6_i04","0","8","37",false,"0037", "",""],"6": ["Output_7_i04","0","8","38",false,"0038", "",""],"7": ["Output_8_i04","0","8","39",false,"0039", "",""],"8": ["Output_9_i04","0","8","40",false,"0040", "",""],"9": ["Output_10_i04","0","8","41",false,"0041", "",""],"10": ["Output_11_i04","0","8","42",false,"0042", "",""],"11": ["Output_12_i04","0","8","43",false,"0043", "",""],"12": ["Output_13_i04","0","8","44",false,"0044", "",""],"13": ["Output_14_i04","0","8","45",false,"0045", "",""],"14": ["Output_15_i04","0","8","46",false,"0046", "",""],"15": ["Output_16_i04","0","8","47",false,"0047", "",""],"16": ["Output_17_i04","0","8","48",false,"0048", "",""],"17": ["Output_18_i04","0","8","49",false,"0049", "",""],"18": ["Output_19_i04","0","8","50",false,"0050", "",""],"19": ["Output_20_i04","0","8","51",false,"0051", "",""],"20": ["Output_21","0","8","52",false,"0052", "",""],"21": ["Output_22","0","8","53",false,"0053", "",""],"22": ["Output_23","0","8","54",false,"0054", "",""],"23": ["Output_24","0","8","55",false,"0055", "",""],"24": ["Output_25","0","8","56",false,"0056", "",""],"25": ["Output_26","0","8","57",false,"0057", "",""],"26": ["Output_27","0","8","58",false,"0058", "",""],"27": ["Output_28","0","8","59",false,"0059", "",""],"28": ["Output_29","0","8","60",false,"0060", "",""],"29": ["Output_30","0","8","61",false,"0061", "",""],"30": ["Output_31","0","8","62",false,"0062", "",""],"31": ["Output_32","0","8","63",false,"0063", "",""]},"mem": {},"extend": {}}],"Connections":[]} \ No newline at end of file diff --git a/praezipos/praezipos_gui.py b/praezipos/praezipos_gui.py index 5778ab4..68e0032 100644 --- a/praezipos/praezipos_gui.py +++ b/praezipos/praezipos_gui.py @@ -17,6 +17,8 @@ class PraeziPos(QtWidgets.QMainWindow, Ui_frm_main): super(PraeziPos, self).__init__() self.setupUi(self) + self.adj_load = 75 + # Setup start positions take_back = 550 self.wid_fork.move(self.wid_fork.x(), self.wid_fork.y() + take_back) @@ -79,7 +81,7 @@ class PraeziPos(QtWidgets.QMainWindow, Ui_frm_main): # Forklift is coming self.wid_lift.move( - self.wid_lift_geo.x() + int(self.rm.rpi.io.load_pos.value / 100), + self.wid_lift_geo.x() + int(self.rm.rpi.io.load_pos.value / self.adj_load), self.wid_lift.y() ) @@ -117,11 +119,11 @@ class PraeziPos(QtWidgets.QMainWindow, Ui_frm_main): # Move load and fork self.wid_fork.move( - self.wid_fork_geo.x() + int(position / 100), + self.wid_fork_geo.x() + int(position / self.adj_load), self.wid_fork.y() ) self.wid_load.move( - self.wid_load_geo.x() + int(position / 100), + self.wid_load_geo.x() + int(position / self.adj_load), self.wid_load.y() ) diff --git a/praezipos/praezipos_revpi.py b/praezipos/praezipos_revpi.py index 0e82c9e..1cf4a4e 100644 --- a/praezipos/praezipos_revpi.py +++ b/praezipos/praezipos_revpi.py @@ -61,9 +61,6 @@ def cleanup(): # One global RevPiModIO instance for all modules and classes rpi = revpimodio2.RevPiModIO(autorefresh=True) -# Configure IO of profinet device -rpi.io.b_position1.replace_io("position", "H", byteorder="big") - # Configure IO of panel device rpi.io.p_byte1.replace_io("p_online", "?", bit=0) diff --git a/proc.img b/proc.img index c03c2f6..f7c154a 100644 Binary files a/proc.img and b/proc.img differ