REXYGEN Community Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Login
    1. Home
    2. contactform
    3. Posts
    C
    • Profile
    • Following 0
    • Followers 0
    • Topics 19
    • Posts 21
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by contactform

    • Display alarms in HMI

      Hi there, is it possible to create an alarm banner in the HMI program to display active & previous alarms?
      Phil

      posted in REXYGEN HMI Designer
      C
      contactform
    • Communication with USBRLY82

      Hi,
      I am trying to connect to a USBRLY82 (RobotElectronics) board over serial port (ttyACM0).

      I have no problem sending commands to the board and action relays on it. Where I am facing issues is reading the DI status from the board and that is because to read the state of those DI’s I need to first Write() to the board and the board will send back the status once it receives the command. The value returned by the board is the value that I am trying to get. I can not get it through Read() since the Write() is non-blocking and by the time it get’s executed, the data sent by the USBRLY82 board as an answer, is not there anymore.

      Is there anything that can help me with this? The read and write commands in REXLANG C-like are non-blocking. Can you please let me know if there is anything that I can do about it?

      Best regards,
      George

      posted in Communication (RS232 serial rexlang
      C
      contactform
    • Integer Overflow

      What does the Count function block do when the 32 bit Integer count is exceeded?

      Larry

      posted in General discussion
      C
      contactform
    • How to choose string using HMI?

      If you use the SELSOCT block you can choose which string you want to use by using the isw input. But how can you change the isw input with several buttons in the hmi page?

      posted in REXYGEN HMI Designer hmi designer string combobox
      C
      contactform
    • Multiscreen application

      How can a multiscreen application be made?

      With Multiscreen I refer to several screens to visualize data or statistics. For example, a speed statistic on one screen and on another screen the Start, stop, counters, etc. buttons to control a motor.

      In short, a single touch monitor and several application screens to visualize data and perform maneuvers.

      I hope I have explained.

      Thank you so much

      Saludos
      Juan

      posted in REXYGEN HMI Designer
      C
      contactform
    • Counting minutes in REXYGEN

      Hello,
      is there any way that I can count how many minutes an input is high? On a Unipi with REXYGEN on it.

      Thanks!

      posted in REXYGEN Studio
      C
      contactform
    • Putting source files into target device

      Hello,
      is there a way to put the "source code" into the target device, so if I want to use REXYGEN Studio on another dev station I can load the project files from the device?

      posted in REXYGEN Studio
      C
      contactform
    • Switch to different HMI webpage in case of Alarm

      Hi,
      can I remotely change the webpage of the HMI, for instance in case of alarm, i'll switch to the concern webpage?

      Thanks
      Regards

      Emmanuel

      posted in REXYGEN HMI Designer hmi designer multiple pages
      C
      contactform
    • HMI with multiple pages

      Hello,

      How can i make multiple hmi pages?

      And how to navigate to those pages form the home page?

      Met vriendelijke groet / With regards,
      Michel Croes

      posted in REXYGEN HMI Designer hmi designer multiple pages
      C
      contactform
    • Help with function blocks

      Hi there,

      I was wondering if could get some help with choosing the correct block/s for the below process?

      1. Use a boolean input to capture/get/display a point in time. i.e. pressing a pushbutton, captures/displays the the time “17:30:02”.

      2. Use a different boolean to reset the above time to “00:00:00”.

      I was thinking about using the “DATETIME” block but there doesn’t appear to be a method of resetting it to zero/nothing?

      Many thanks,
      Phil

      posted in REXYGEN Studio
      C
      contactform
    • Read Raspberry Pi System Information

      Hi,
      is it possible within REXYGEN to read system variables from the Raspberry Pi , such as System temperature, processor load, cpu / memory usage etc?

      Best Regards

      James.

      posted in General rest api python
      C
      contactform
    • How to force DbDrv to write the data every 5 minutes (xx:00,xx:05,xx:10, ...)?

      Hi,
      I have our controllers writing values every 5 minutes to a database server. It starts pushing 5 minutes from upload to target. Would it be possible to have it to do it on the minute every 5 minutes(5:00,5:05,5:10)? This makes it easier for analytics.

      Regards,
      George

      posted in Database (MySQL
      C
      contactform
    • Looping 3 LEDs on 3 different pins

      Hi,
      I'm trying to loop 3 LEDs in a way such that the 1st LED (green) will run for 45 sec, then the 2nd one (orange) for 15 sec and then the 3rd one (red) for 5 sec and then the Green one again. None of them run together.

      Thank you for your help!

      Sid

      posted in REXYGEN Studio
      C
      contactform
    • Measuring water flow with UniPi

      Hello,
      I need advice which REXYGEN system function block to use for water flow measurement. The sensor is connected to my UniPi v1.1 and gives me input 200-400Hz (according to the flow). I need to measure the flow every second. I tried using the COUNT block, but no success. Illustrative image is attached.
      0_1554841301410_water-flow-unipi-rexygen.jpg
      Thank you in advance for your help.
      Karel

      posted in REXYGEN Studio
      C
      contactform
    • Arduino Mega - analog inputs

      Hello,
      I run REXYGEN version 2.50.8 on RPI with Arduino Mega - REXduino. I'd like to use analog input pins. On pins I want to bring the output from the ampmeter up to 1V. I suppose I will be able to read and process this voltage.

      I don't understand, but the output of analog pins. In the setup, I turned on Pins A0, A1, A2 and A12, A13, A14 for the test. Other Pins are off and I have nothing connected to any analog pins yet. However, some values ​​are displayed on some pin which are not enabled. I'm using Arduino Mega clone. See the attachment for pin settings and displayed values.

      I will be glad for your opinion or advice.

      Martin

      0_1553585495210_Arduino_MEGA_Analog_vstup.JPG

      0_1553585502110_Arduino_MEGA_Analog_vstup_nastaveni.JPG

      posted in General
      C
      contactform
    • Interfacing SX1509 pin expander

      Hello.
      I am really impressed with Rexygen.

      I have a question about I2C support on Raspberry Pi. I have SX1509 pin expanders that I would like to interface with. Is this possible?

      Thanks
      Chris

      posted in Communication (RS232
      C
      contactform
    • RE: Raspberry Pi and Click PLC, Modbus TCP

      Hi again,
      I’ve attached the System log and the REXYGEN project as you requested.

      I did some additional checking and now believe it is a communication timeout issue. I tried playing with the modbus timeout numbers without much success.

      However, it is now clear that the system will always read the first two registers in the Configure list. Sometimes it will read the first 3, never all 4.

      The log file confirms the time out issue. You can see where DS23 was timing out, then I stopped and changed the register order, then DS23 was OK and DS22 was timing out.

      I’ve included the CLICK project. It is only a few rungs long and is a bench test of this modbus communication system.

      Regards,
      Tom

      posted in Modbus TCP
      C
      contactform
    • Delay function in REXLANG

      Is there any time delay function in C file including in REXLANG?

      Thanks
      Tobby Lin

      posted in REXYGEN Studio
      C
      contactform
    • Raspberry Pi and Click PLC, Modbus TCP

      Good day,
      I have been using the trial version of Rexygen with a Raspberry Pi 3B+. I use Studio on a Win10 machine.
      I have successfully tried several examples with inputs/Outputs on the RPi.
      I have run into a problem in getting the RPi to talk to a remote plc over Modbus TCP. The plc is an Automation Direct Click.
      I designed the project on the Studio and downloaded to the RPi. Initially, I was reading two registers on the plc without a problem using the Watch.
      Then, I went into Studio, and added two more registers to read. I downloaded to RPi and Watched. The original two registers read properly, but the two new ones show “0” on red banner.
      If I go to Configure and change the register addresses, the original two tags will read correctly, but the other two show the red error banner.
      Is there a limitation on the number of registers to read? I have attached screen captures in the hopes you can give me some other things to check.

      0_1553248024098_rexyCapture.PNG
      0_1553248043404_rexy2Capture.PNG

      Thank you!
      Tom

      posted in Modbus TCP
      C
      contactform
    • RE: SPI communication in REXLANG

      Thanks ! It worked !
      other problems:

      1. How to assign a value to spi_bufTx[0] if I need SPI_MODE0 = 0 and MSBFIRST?
        ( spi_bufTx[0] = ___ ; //SPI data mode (0-3 mode, | 4=CS_HIGH | 8=LSB_FIRST | 16=3WIRE | 32=LOOP | 64=NO_CS | 128=READY) )
      2. Is there any time delay function in C file including in REXLANG?
      3. Can I decide the value of CS0 (GPIO8 of raspberry pi) by setting up CS0 =1 or 0 in C file?

      Best Regards,
      Tobby Lin

      posted in Communication (RS232
      C
      contactform