Search found 12 matches

by Ibrahim Stracey
07 Oct 2020, 17:34
Forum: Hardware
Topic: RevPi Connect Dead Ports
Replies: 1
Views: 3343

RevPi Connect Dead Ports

Hi everyone, I'm experiencing some issues with my RevPi Connect. I plugged in a USB hub which seemed to cause a short-circuit. I immediately disconnected everything. I turned it back on and the status lights (PWR,WD, and REL) all go green, but all the ports are dead. Would the status lights still co...
by Ibrahim Stracey
17 Dec 2019, 09:16
Forum: Software
Topic: Modbus RTU Master "Modbus_Master_Status"
Replies: 3
Views: 5459

Re: Modbus RTU Master "Modbus_Master_Status"

Thanks Dirk for confirming that I'm on the right track. But the strange issue still persists. The Modbus_Master_Status and Modbus_Action_Status only change when I perform a full driver reset (piTest -x). For example, If I check the Modbus_Master_Status it will show 0, but when I unplug the Arduino i...
by Ibrahim Stracey
13 Dec 2019, 14:39
Forum: Software
Topic: Modbus RTU Master "Modbus_Master_Status"
Replies: 3
Views: 5459

Modbus RTU Master "Modbus_Master_Status"

Hi everyone, I seem to be having quite a strange problem. From reading the documentation about the Modbus RTU Master, it seems to me that the "Modbus_Master_Status" variable should change based on if an error occurs (eg, if a slave device is disconnected). What I'm trying to do is use the ...
by Ibrahim Stracey
12 Dec 2019, 13:48
Forum: RevPiModIO
Topic: Modbus RTU Master "device_path"
Replies: 2
Views: 8175

Modbus RTU Master "device_path"

Hi Sven, Is the "variable" in the Virtual ModbusRTU Master called "device path" (where the tty* address of the connected device is written as a string) accessible through .io.[variable name].value? I'm attempting to write a script which updates these values in PiCtory based on wh...
by Ibrahim Stracey
10 Oct 2019, 14:33
Forum: Software
Topic: Use EtherCAT DWORDS instead of Bytes
Replies: 2
Views: 4106

Re: Use EtherCAT DWORDS instead of Bytes

Hi Dirk,

I'll try that. I assume that means changes to the PDO mapping on my PLC side? I'll have a go at it and see if I can get it to work. Thank you!

Ibrahim
by Ibrahim Stracey
07 Oct 2019, 10:42
Forum: Software
Topic: Use EtherCAT DWORDS instead of Bytes
Replies: 2
Views: 4106

Use EtherCAT DWORDS instead of Bytes

Good Morning, I managed to get my EtherCAT gateway up and running with my PLC, but the issue I seem to be having is that I can't change the TX/RX on Pictory to use DWORDS instead of Bytes. I'm clearly missing something simple but I can't seem to figure it out. Any help would be very appreciated. Tha...
by Ibrahim Stracey
02 Oct 2019, 17:01
Forum: Software
Topic: revpi-duino driver
Replies: 1
Views: 5758

revpi-duino driver

Hi everyone, I'm currently trying to connect an arduino leonardo to my RevPi Connect via USB. I read on one of the blog posts that there is a "revpi-duino driver" which should let me access the arduino through Pictory. Is there any documentation on how to do this? https://revolution.kunbus...
by Ibrahim Stracey
18 Sep 2019, 12:22
Forum: RevPiModIO
Topic: import revpimodio2 error
Replies: 7
Views: 14603

Re: import revpimodio2 error

Hi Sven,

I managed to get it to work by disabling the Autorefresh, although I know this is bad practice. I have another question regarding EtherCAT but I'll open that as a separate post. Thanks again for the help and all the work you've done with the RevPiModIO!

Ibrahim
by Ibrahim Stracey
18 Sep 2019, 11:28
Forum: RevPiModIO
Topic: import revpimodio2 error
Replies: 7
Views: 14603

Re: import revpimodio2 error

Hi Sven, Thank you for your help! I had neglected to change the Execute build command in Geany from Python to Python 3. It is now working! I have one more issue though. I seem to be getting a runtime error that looks like this: ru/usr/lib/python3/dist-packages/revpimodio2/helper.py:539: RuntimeWarni...
by Ibrahim Stracey
17 Sep 2019, 11:37
Forum: RevPiModIO
Topic: import revpimodio2 error
Replies: 7
Views: 14603

import revpimodio2 error

Hi everyone, I'm having a strange issue installing the revpimodio2 module. It seems to not be able to "find" it when running any code. I get the "import error: no module named revpimodio2" error. I have a Stretch image RevPi Connect, not a RevPi Core. is the library not compatibl...