Zugriff auf Process

Für Themen rund um das Prozessabbild des RevPi Core
Post Reply
nfhofmann
Posts: 4
Joined: 23 May 2017, 14:57

Zugriff auf Process

Post by nfhofmann »

Hallo Support,

folgende Konfiguration:
1 x RevPi V1.2 (Statusled: grün)
1 xDIO (Statusled IN/OUT: grün)

an I_2 liegen 24,4 Volt an, und sollte beim lesen 1 sein

Was ist falsch ?

pi@RevPi2131:~/demo $ piTest -d
Found 2 devices:

Address: 0 module type: 95 (0x5f) RevPi Core V1.2
Module is present
input offset: 0 length: 6
output offset: 6 length: 5

Address: 32 module type: 96 (0x60) RevPi DIO V1.0
Module is present
input offset: 11 length: 70
output offset: 81 length: 18

pi@RevPi2131:~/demo $ piTest -v I_2
variable name: I_2
offset: 11
length: 1
bit: 1
pi@RevPi2131:~/demo $ piTest -r I_2
Bit value: 0
Bit value: 0
User avatar
Mathias
Posts: 130
Joined: 29 Nov 2016, 10:46

Re: Zugriff auf Process

Post by Mathias »

Hallo,

kannst du mal 'piTest -r 11,2,b' aufrufen, um sicher zu sein, dass du nicht den falschen Input Pin ansteuerst.
Kannst du mir außerdem die Datei /var/www/pictory/Projects/_config.rsc schicken?

Gruß
Mathias
nfhofmann
Posts: 4
Joined: 23 May 2017, 14:57

Re: Zugriff auf Process

Post by nfhofmann »

Hallo Mathias,
pi@RevPi2131:~/demo $ piTest -r 11,2,b
00000000 00000000
00000000 00000000
00000000 00000000
00000000 00000000
00000000 00000000
00000000 00000000
00000000 00000000
00000000 00000000

habe die Datei leider nicht senden können: Fehler war ungültige Dateierweiterung

{"App":{"name": "RevolutionPi Configurator", "version": "1.2","saveTS": "20170620144342","language": "de","layout": {"north":{"size":70,"initClosed":false,"initHidden":false},"south":{"size":320,"initClosed":false,"initHidden":false,"children":{"layout1":{"east":{"size":500,"initClosed":false,"initHidden":false}}}},"east":{"size":70,"initClosed":true,"initHidden":false,"children":{}},"west":{"size":200,"initClosed":false,"initHidden":false,"children":{"layout1":{}}}}},"Summary":{"inpTotal": 76,"outTotal": 23},"Devices":[{"catalogNr": "RevPiCore","GUID": "65d20106-edef-0f21-cdff-5c2d2266b679","id": "device_RevPiCore_20170404_1_2_001","type": "BASE","productType": "95","position": "0","name": "RevPi Core V1.2","bmk": "RevPi Core V1.2","inpVariant": 0,"outVariant": 0,"comment": "This is a RevPiCore Device","offset": 0,"inp": {"0": ["RevPiStatus","0","8","0",true,"0000", "",""],"1": ["RevPiIOCycle","0","8","1",true,"0001", "",""],"2": ["RS485ErrorCnt","0","16","2",false,"0002", "",""],"3": ["Core_Temperatur","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": {}},{"catalogNr": "RevPiDIO","GUID": "058e74fe-4ed9-1f07-66b9-596543434329","id": "device_RevPiDIO_20160818_1_0_001","type": "LEFT_RIGHT","productType": "96","position": "32","name": "RevPi DIO","bmk": "RevPi DIO","inpVariant": 0,"outVariant": 0,"comment": "","offset": 11,"inp": {"0": ["MS_Trester","0","1","0",true,"0000", "","0"],"1": ["Notaus","0","1","0",true,"0001", "","1"],"2": ["MS_Hydraulik","0","1","0",true,"0002", "","2"],"3": ["MS_Muehle","0","1","0",true,"0003", "","3"],"4": ["MS_Ruettel","0","1","0",true,"0004", "","4"],"5": ["MS_Siebreinigung","0","1","0",true,"0005", "","5"],"6": ["MS_Buersten","0","1","0",true,"0006", "","6"],"7": ["MS_Elevator","0","1","0",true,"0007", "","7"],"8": ["Maische_1","0","1","0",true,"0008", "","8"],"9": ["MS_Wasserpumpe","0","1","0",true,"0009", "","9"],"10": ["Maische_2","0","1","0",true,"0010", "","10"],"11": ["MS_Maischepumpe","0","1","0",true,"0011", "","11"],"12": ["Maische_3","0","1","0",true,"0012", "","12"],"13": ["MS_Presse","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": ["O_1","0","1","70",true,"0034", "","0"],"1": ["O_2","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": {}}],"Connections":[]}
User avatar
Mathias
Posts: 130
Joined: 29 Nov 2016, 10:46

Re: Zugriff auf Process

Post by Mathias »

Das hilft mir leider nicht weiter. Schicke mir bitte die Logdatei. Meine eMail-Adresse habe ich dir als private Nachricht geschickt.
User avatar
volker
Posts: 1046
Joined: 09 Nov 2016, 15:41

Re: Zugriff auf Process

Post by volker »

Hallo,
nu so zur Sicherheit: Hast Du definitiv alles so verkabelt, wie es Dirk im Video vormacht? die 24 V am Eingang müssen sich auf die "-" Klemme an X2 beziehen. Also an X2 müssen zwingend auch GND und Versorgung angelegt sein, sonst geht gar nichts...
Gruß,
Volker.
Unser RevPi Motto: Don't just claim it - make it!
nfhofmann
Posts: 4
Joined: 23 May 2017, 14:57

Re: Zugriff auf Process

Post by nfhofmann »

Hallo Volker, es ist alles richtig angeschlossen
Hallo Mathias, habe deine MAddr nicht bekommen, habe das Logfile in meine letzte Antwort kopiert

Gruß Norbert
User avatar
volker
Posts: 1046
Joined: 09 Nov 2016, 15:41

Re: Zugriff auf Process

Post by volker »

Hallo Norbert,
konntest Du inzwischen die Dinge über PM klären? Wennn ja, was war das Problem?
Unser RevPi Motto: Don't just claim it - make it!
User avatar
volker
Posts: 1046
Joined: 09 Nov 2016, 15:41

Re: Zugriff auf Process

Post by volker »

Wie ich eben erfahren habe,
hat Norbert telefonisch mitgeteilt, dass sein Problem gelöst ist: Es handelte sich offenbar um eine Verwechslung von Pins an den DIO Anschlüssen...
Hallo Norbert, wenn Du das liest: Ich würde mich freuen, wenn Du der Community mal Dein Projekt unter "mein Projekt" vorstellst:
Maische, Rüttelsiebe, Presse... hört sich spannend an :-)
Unser RevPi Motto: Don't just claim it - make it!
Post Reply