Search found 7 matches

by livesource
28 Jun 2021, 08:19
Forum: Software
Topic: issue reading Process Image byte variables
Replies: 4
Views: 2057

Re: issue reading Process Image byte variables

Additional issue: Modbus_Actions_Status errors not resetting The example below is for an action configured as follows Action #2 | 95 | READ_HOLDING_REGISTERS | 40004 |1 | 1000 | Input_Word_7 1. piTest -q -r Modbus_Action_Status_2 This returns "2" I understand 2 = ILLEGAL DATA ADDRESS 2. I ...
by livesource
28 Jun 2021, 06:26
Forum: Hardware
Topic: RevPi Compact + RUT950 Router issue
Replies: 2
Views: 1588

Re: RevPi Compact + RUT950 Router issue

Hi Nicolai,

Thanks for your response. It's now looking like the issue is not related to the revPi. I will continue investigating and post back here if anything comes back to revPi :)
by livesource
28 Jun 2021, 05:39
Forum: Software
Topic: issue reading Process Image byte variables
Replies: 4
Views: 2057

issue reading Process Image byte variables

Hi, I am having an issue reading any of the Process Image byte variables ... ie. DIn_Status, DOut_Status, RevPiLED all return 00000000 regardless of the actual state. Example piTest -w DOutBit_1,1 Success - Activates OUT 0 LED on the unit piTest -1 -q -r DOutBit_1 Success - Returns "1" piT...
by livesource
22 Jun 2021, 01:33
Forum: Hardware
Topic: RevPi Compact + RUT950 Router issue
Replies: 2
Views: 1588

RevPi Compact + RUT950 Router issue

Hi after returning my first RUT950 which was a dud, I've now got a working one. Hooray! One slight issue however - when I boot up the router while it is connect to the RevPi ethernet port, the wifi access point doesn't show up. If I disconnect it from the RevPi and then boot it up, the access point ...
by livesource
22 Jun 2021, 01:26
Forum: Software
Topic: Best/easiest way to read/write IO with Javascript (RevPi Compact)
Replies: 3
Views: 2201

Re: Best/easiest way to read/write IO with Javascript (RevPi Compact)

Thanks for your reply Boris, sorry I didn't actually see that earlier. Great to hear that a JS SDK is something that's being looked into. I could look at packaging up and contributing my js wrapper in the mean time if that's useful. It's working well however one thing I am having an issue with is re...
by livesource
13 Jun 2021, 23:26
Forum: Software
Topic: Best/easiest way to read/write IO with Javascript (RevPi Compact)
Replies: 3
Views: 2201

Re: Best/easiest way to read/write IO with Javascript (RevPi Compact)

OK I worked out how to use piTest. I needed to save the configuration in pictory to set the variable names. I think piTest will be the simplest way for me to interact with IO using javascript.
by livesource
11 Jun 2021, 07:14
Forum: Software
Topic: Best/easiest way to read/write IO with Javascript (RevPi Compact)
Replies: 3
Views: 2201

Best/easiest way to read/write IO with Javascript (RevPi Compact)

Hello from New Zealand :) I just received my first RevPi Compact. I am planning to write my control program in nodejs/javascript. But I have not been able to find an example how to read, write, listen to changes of the IOs with Javascript. What would you recommend to be the best approach and is ther...