Announcement

REXYGEN forum has been moved. This one is closed.
Head over to the new REXYGEN Community Forum at https://forum.rexygen.com.

Looking forward to meeting you there!
 

#1 2016-12-19 20:09:31

et0
Member
Registered: 2016-12-19
Posts: 7

New user, getting started

Hi all,
I am attempting the "getting started with Rex and Raspberry Pi" tutorial but am having some problems.
The core seems to be installed OK and I can download the tutorial code.

But then when watching it execute, it doesn't behave as the document says.

1) I have the Y output from the AND_ block connected to the U input of a TIMER_. When monitoring both, I can see that the Y output is on but the U input is off.

2) If I connect the U input of the TIMER_ directly to a cnb_switch, I can indeed turn it on.  But, the timer still doesn't work - rt stays at 0 and Q also.  (The timer is set up as delayed on and pt=5).

What am I doing wrong, can someone advise please?

Capture9.png

Last edited by et0 (2016-12-19 20:13:45)

Offline

#2 2016-12-20 10:36:55

tomáš čechura
Administrator
Registered: 2016-02-22
Posts: 371

Re: New user, getting started

Hi,

it seems that the TIMER_ block is not executed.
The reason can be that you accidentally checked "HALT" checkbox in TIMER_ block properties - see screenshot:

halt_checkbox.png

If your issue persists, please, let me know.
Good luck with your project!

Regards, Tomas

Offline

#3 2016-12-20 11:41:36

et0
Member
Registered: 2016-12-19
Posts: 7

Re: New user, getting started

Hey Tomas, thanks for the quick assistance.

Yes that was it!  Simple but very confusing mistake smile

Great, now I proceed and hope to demonstrate that REX is the right tool for the job - a heating system with various controls including MODBUS, need for local and remote HMI and some data logging.

Best regards
Evan

Offline

#4 2016-12-20 12:42:53

tomáš čechura
Administrator
Registered: 2016-02-22
Posts: 371

Re: New user, getting started

Hi Evan,

I'm glad I could help. We are aware that online monitoring doesn't display any info about HALTED function blocks - it is already on our future feature list.

REX should be able to fulfill all requirements of your project - according to your brief description. Let us know about your progress.

Regards, Tomas

Offline

#5 2016-12-21 01:26:27

et0
Member
Registered: 2016-12-19
Posts: 7

Re: New user, getting started

Hi again,
I carried on with the tutorial for Raspberry Pi, and found one other thing which tripped me up:

"in the folder with the project files, create a hmisrc subfolder. Inside this folder, create
a file named index.html.js and edit it with your favorite text editor". 

This doesn't work. Later in the text it refers to index.hmi.js - that does work! 

Regards
Evan

Offline

#6 2016-12-21 08:13:44

jaroslav_sobota
Administrator
Registered: 2015-10-27
Posts: 535

Re: New user, getting started

Hi Evan,
you are right, that is a typo in the documentation. The source file must be named index.hmi.js. I have updated the documentation:
https://www.rexcontrols.com/media/2.50. … Pi_ENG.pdf

Sorry for your troubles and thanks for reporting this!

Kind regards
Jaroslav

Offline

Board footer

Powered by FluxBB