• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. HPC
    3. Posts
    H
    • Profile
    • Following 0
    • Followers 0
    • Topics 6
    • Posts 8
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by HPC

    • Password for Mervis programs

      Hi all,

      Is there a way to set a password on Mervis programs?
      I know that there is login pass for controller but the user can still open the program and see the code. I need to make the code invisible for unauthorized people.

      posted in Mervis
      H
      HPC
    • RE: EXPT -0.05^0.78 produces NaN (Exception InvalidOperands)

      (-0.05)^(0.75) is equal to the "4th root of (-0.05)^3"=2th root of (2th root of (-0.000125))=2rd root of (0.011*i) where "i" is a complex number operand. The 2th root for a complex number is not defined in mathematics and as such, not in Mervis. That's why you get NAN.

      posted in Mervis
      H
      HPC
    • Buffer size

      Hi everyone,

      I am using Cloudbow (very similar to Mervis) to talk via TCP with a Moxa port which is communicating over a serial RS232 with some devices via a dedicated protocol.
      I am trying to read the data from Moxa but I can not read more than 128 bytes each time. Is there a way we can increase the buffer size in the software?

      posted in Mervis
      H
      HPC
    • Sending strings over TCP

      Hi all,

      I have problems in sending strings over TCP in Mervis. The string here is a command which need to be sent to a TCP to RS232 converter and from there to a Microturbine.
      I have generated the String in Mervis (as the output of a function block) but not sure how to transfer it.
      I also think there might be an issue with my TCP channel created in Mervis either in Channel properties, Group definition, or data point parameters setting. In particular I want to know:
      1- Is it possible to send the string directly to a TCP variable defined as data point? How?
      2- If it is not possible to directly send a string to a variable, how we can send it as bytes? I tried using String-To-Bytes but it says "can't implicitly case from Bytearray to byte".

      Any help is appreciated.

      posted in Mervis
      H
      HPC
    • RE: Putting a set of real numbers in an array

      @Martin-Kudláček Thank you.

      posted in Mervis
      H
      HPC
    • Putting a set of real numbers in an array

      Hi,

      I am using Mervis for PLC programming in ST.
      How can I put a set of real numbers in an array?

      Then how can I use the elements of this array individually in my ST program?

      posted in Mervis
      H
      HPC