Search found 7 matches

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

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 the ...
by yushengzhou
23 Nov 2018, 07:49
Forum: RevPiModIO
Topic: An unexpected result
Replies: 3
Views: 5155

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...
by yushengzhou
21 Nov 2018, 07:01
Forum: logi.cals
Topic: How do I stop the logi.rst control code
Replies: 2
Views: 8677

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,...
by yushengzhou
26 Oct 2018, 08:27
Forum: RevPiModIO
Topic: How to drive step motor use revpimodio2?
Replies: 0
Views: 5907

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: 3663

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(LinearActuator...
by yushengzhou
18 Oct 2018, 10:43
Forum: RevPiModIO
Topic: What's the difference between different types of IO type?
Replies: 2
Views: 4932

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...
by yushengzhou
18 Oct 2018, 09:27
Forum: RevPiModIO
Topic: change OutputPWMActive use revpimodio2
Replies: 2
Views: 4185

change OutputPWMActive use revpimodio2

hello everyone
can I change OutputPWMActive use revpimodio2 ?