• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. Matt
    3. Posts
    M
    • Profile
    • Following 0
    • Followers 0
    • Topics 14
    • Posts 33
    • Best 2
    • Controversial 0
    • Groups 0

    Posts made by Matt

    • https redirect

      Hi,

      I'm using IDEv2.5.0 with an Axon M505. I want to disable http access to the HMI and redirect http to https, so I've set the Networking configuration as shown. Neither seems to work. I'm still able to access the PLC over http despite uploading the configuration and deploying the solution with a cold restart. Is there something else I need to do or do these options just not work?

      3ed2f186-04bc-4858-8a3c-f612e562dfb8-image.png

      Thanks

      posted in Mervis
      M
      Matt
    • RE: Attach PLC via UDP broadcast not finding Axon M525 (after other problems)

      FYI, it looks like OS 2.2 just doesn't have mDNS/avahi enabled. I've tried it on the M525 and an M505. I was on a different network so I was trying to find the IP address with avahi, and then resorted straight to flashing it when I couldn't find it.

      It looks like IDE 2.1.3 doesn't support the M525. I've got a solution with two existing M505s I wanted to add it to but it doesn't even show up as an option in the manual device list. Do I have to upgrade my solution to IDE 2.2.0 to add the M525? It looks like this will require me to upgrade the OS on the M505s (from 1.9), correct?

      posted in Axon series
      M
      Matt
    • Attach PLC via UDP broadcast not finding Axon M525 (after other problems)

      I've been having problems with a new Axon M525. It initially wasn't showing up in mDNS/avahi/Bonjour, so I tried flashing it via the web service interface. That failed and the web interface stopped working, so I flashed it with a USB drive, which succeeded. It now shows up in mDNS and I can access the HMI, but Mervis does not find it when using the Attach PLC - UDP broadcast. I can find the two M505s I have on the same network.

      I have tried attaching with both Mervis 2.1.3 and 2.2.0. I believe the USB drive I flashed with had v1.9 on it.

      posted in Axon series
      M
      Matt
    • RE: Debug mode not showing variable values in program and function blocks

      The controller was not selected. It's working now. Thank you for pointing that out.

      posted in Mervis
      M
      Matt
    • RE: Debug mode not showing variable values in program and function blocks

      Additional info: I'm using a different user account on the same computer where this has previously worked. I see that "Show debug values in ST editor" is an option in the settings. Is it possible that the settings are not being read correctly? I've tried cycling the value of that option and restarting the IDE.

      posted in Mervis
      M
      Matt
    • Debug mode not showing variable values in program and function blocks

      When I go into debug mode I can no longer see the variable values in the fbd or st file viewers. The variables do show in the Variable Browser. Any ideas?

      posted in Mervis
      M
      Matt
    • RE: Version control for Mervis projects

      Here's what I'm using in my .gitignore:

      *.bin
      bin
      *.exs
      *.zip
      */HmiResources
      */HMI-*
      
      posted in Mervis
      M
      Matt
    • RE: How to change the analog transformation on xS50?

      Thanks. Not sure how I missed that.

      posted in Mervis
      M
      Matt
    • RE: How to change the analog transformation on xS50?

      Thank you, Martin. It is working properly now. Is there documentation on this or the transformation parameters anywhere? I spent a late night trying to debug this, and even with your instructions it took a couple tries to figure out that the linear scaling factor needed to be the inverse of what I expected it should be.

      posted in Mervis
      M
      Matt
    • How to change the analog transformation on xS50?

      Hi,

      I would like to convert an input of 0-100 into an analog out of 0-10V. I have attempted changing the values for the LinearByTwoPoints transform method as well as the Linear method and am unable to get the behavior of the output to change. The LinearByTwoPoints seems stuck at 0-10 -> 0-10V and the Linear method does not output a voltage. Is there a known problem with the transform parameters? I have deployed the project and configured the modules multiple times. The extensions I have appear to be on FW 5.60 and I am running IDE 2.1.3.

      posted in Mervis
      M
      Matt
    • RE: io.getportstatus returns 53?

      Hi @Martin-Kudláček, any ideas on this? I implemented a workaround with a Raspberry Pi talking to the device and sending the readout to the UniPi over Modbus, but it'd be nice to figure this out.

      posted in Mervis
      M
      Matt
    • RE: io.getportstatus returns 53?

      Thanks @martin-kudláček. Here's the dmesg output:

      [237619.915800] usb 2-1: new full-speed USB device number 2 using ohci-platform
      [237620.166155] usbcore: registered new interface driver usbserial
      [237620.166234] usbcore: registered new interface driver usbserial_generic
      [237620.166296] usbserial: USB Serial support registered for generic
      [237620.171302] usbcore: registered new interface driver cp210x
      [237620.171386] usbserial: USB Serial support registered for cp210x
      [237620.181473] cp210x 2-1:1.0: cp210x converter detected
      [237620.191236] usb 2-1: cp210x converter now attached to ttyUSB0
      

      I had to compile the cp210x module to get this device to work, but I can now talk to it Python script so the driver seems to be working fine.

      posted in Mervis
      M
      Matt
    • io.getportstatus returns 53?

      Hi,

      I'm trying to use the serial port /dev/ttyUSB0 on an Axon M505, but I'm getting a port status code of 53 after attempting to open the port. According to the table shown at https://forum.unipi.technology/topic/763/undefined-code-from-io-getportstatus-handle/3 this corresponds to "FileNotFound". I'm supplying the string 'serial:10:115200,8,N,1' to io.openport.

      Any ideas?

      posted in Mervis
      M
      Matt
    • Files to include for version control

      Hi,

      I'm moving my projects into Git. Which files should be stored to the repo? Which can be ignored?

      posted in Mervis
      M
      Matt
    • RE: Weird PID Behavior

      I've also been frustrated with the built-in PID logic, both with the D-term and how the min and max are implemented. I'm planning to just write my own so that it behaves as I'd expect it to.

      posted in Mervis
      M
      Matt
    • P term cutoff in PID controller

      Hi,

      The PID controller appears to not allow for the P term to be negative. I'm using cooling mode and if the temperature drops below the setpoint the PFactor of the controller just stays at zero rather than becoming negative. This contributes to a large overshoot in the system since it take a long time for the I term to compensate. Is there a way to allow for the P term to be negative?

      Thanks,
      Matt

      posted in Mervis
      M
      Matt
    • HMI password?

      Is there a way to put a password on the HMI?

      posted in Mervis
      M
      Matt
    • RE: NaNs in HMI chart

      @martin-kudláček Okay, thanks. After posting yesterday I managed to figure out the communication errors I was getting, so preventing the NaNs from messing up the chart is less of an issue now.

      posted in Mervis
      M
      Matt
    • RE: String to number?

      Just thought I'd check for updates on this. Thanks.

      posted in Mervis
      M
      Matt
    • RE: NaNs in HMI chart

      Just thought I'd check for updates on this. Thanks.

      posted in Mervis
      M
      Matt