Search found 7 matches

by yushengzhou
27 Nov 2018, 03:13
Forum: RevPiModIO
Topic: An unexpected result
Replies: 3
Views: 8653

Re: An unexpected result


I can not see the pictures unfortunately :( Maybe you can update them?

If you run two programs on the same process image (same device) with the same instantiation it will not work!

Why?

RevPiModIO runs, with normal instantiation, in the exclusive mode on the process image. Only at the start of ...
by yushengzhou
23 Nov 2018, 07:49
Forum: RevPiModIO
Topic: An unexpected result
Replies: 3
Views: 8653

An unexpected result

http://118.184.218.107:8089/mike1.png http://118.184.218.107:8089/mike2.png


As shown in the figure above, I has written "code A" and "code B" ,I turned on two terminals and ran them separately.
as you see, I Change the potential of O_2 every five seconds in code A, and then read the potential of ...
by yushengzhou
21 Nov 2018, 07:01
Forum: logi.cals
Topic: How do I stop the logi.rst control code
Replies: 2
Views: 22333

How do I stop the logi.rst control code

Dear all:
I can now control my RevPi O_1 with the logiCAD3 software to let the LED flash, But when I clicked "disconnect to PLC", the LED was still working.
How can I get him to stop working?
Now I find a way : log on to the web and Disable "Enable/Disable logic.rts" in services, But when I enabled ...
by yushengzhou
26 Oct 2018, 08:27
Forum: RevPiModIO
Topic: How to drive step motor use revpimodio2?
Replies: 0
Views: 8216

How to drive step motor use revpimodio2?

dear all:
I have a RevPI and a step motor, now how to drive step motor user python revpimodio2 lib?
can you gei me an example? Thank you!
by yushengzhou
26 Oct 2018, 04:45
Forum: Hardware
Topic: Why is the stepper motor running so slowly(almost did not move)?
Replies: 1
Views: 5593

Why is the stepper motor running so slowly(almost did not move)?

I have a RasPI and a Revpi, Now I want to have a revpi controlled motor, but failed.
My code look like this:

LinearActuatorDir_x =40
LinearActuatorStepPin_x = 38
def Forward_x():
GPIO.output(LinearActuatorDir_x, 0)
GPIO.output(LinearActuatorStepPin_x, 0)
time.sleep(0.0003)
GPIO.output ...
by yushengzhou
18 Oct 2018, 10:43
Forum: RevPiModIO
Topic: What's the difference between different types of IO type?
Replies: 2
Views: 8026

What's the difference between different types of IO type?

hello veryone
What's the difference between different types of IO type(200=INP, 301=OUT, 302=MEM)?
Why can I use "revpi.io.I_1.value = 1" to set the value of "I_1" but not "revpi.io. OutputPWMActive.value = 30" to set the value of "OutputPWMActive"?


I love you all :) :) :) :)
by yushengzhou
18 Oct 2018, 09:27
Forum: RevPiModIO
Topic: change OutputPWMActive use revpimodio2
Replies: 2
Views: 7109

change OutputPWMActive use revpimodio2

hello everyone
can I change OutputPWMActive use revpimodio2 ?