Giter Club home page Giter Club logo

logic-prover-support's Issues

Cannot install on Debian

Hi,
I wanted to try using it on my spare computer with Debian 9 and had an issue. When I double clicked the downloaded file plc-logic-prover-linux-0.1.8.AppImage it opens "Open With" dialog.
How can I install it?

Thanks,
Shane

Error: WS1: There is no parent to save this Action Unit.

To replicate the error:

  • Click Duplicate Action Unit
  • In the same Action Unit click Move to
  • Change Name
  • Click Save button

Result:

  • No changes saved on Save button click

Expectation:

  • No error and change saved on Save button click

Workaround:
After Duplicate and Move To click on another Action Unit. Come back to the duplicated Action Unit and Save it after changes.

Moving Project to Open Source?

I have been using your application for some testing and would like to make some changes to how the application works. Could you provide the application files as open source?

I plan to use this for a CODESYS project for testing.

Feature Request

Any actions that check for the value of a tag are looking for an exact value from the read or the test fails. I am especially interested in the case of a Unit test when I can only test for a exact value to be reached in an exact amount of time. As the test exists now, I don't believe I can test a PID loop easily to ensure that it is correctly configured for normal or reverse acting. When I am testing or training operators I have a PIDE simulator that just allows me to tell it the EU range and whether it should simulate direct or reverse acting control. It then uses 2nd or filtering to move a simulated PV toward the SP. I don't want to change the actual PID constants in the loop so I just take a stab at deadtime and 2nd order filter time in my simulator to ensure I capture whether or not the loop is responding in the correct direction
If I could could configure a test that says:

reaches a value of xx.xx or greater (rather than an exact value) within x seconds (rather than getting to the value in a precise amount of time) I could then test to see that the PID loop is configured correctly or not.
2022-12-19_14-12-33

User defined/Macro variables (Feature Request)

It would be beneficial if there can be provision of defining macro variables. It would help in similar tests but with a different tag name. For example if I have 50 temperature sensors, each having a value, warning setpoint, interlock setpoint, warning status, interlock status, interlock latch, interlock bypass, then creating 50 separate unit tests is some work. Instead if I can define $Sensor in a unit tests, then I can copy 50 instances of those unit test and just change $Sensor.

Test runs successfully on PC but failing on VM

App version: 0.1.10
Occurrence: Constant presence on VMs with Windows 7 and Windows 10. However no issues on a computer with Windows 10 and on MacOS 10.15.4.

Description:
When running the test on VM it fails randomly with TIMEOUT errors and sometimes shows negative values on action duration. Running the same Project on a computer passes all the actions and tests.

Post execution of Unit Test doesn't reset input action values

To replicate the issues:

  • Create PLC rung as below
    Screen Shot 2020-05-21 at 4 28 59 pm
  • In Unit Test set Define input actions to DI_PUMP1_TOL_OK = 0
  • Expected output change to LS1_o_Healthy expect 0 after 0.05 second
  • In Post execution parameters add DI_Reset_RQ toggle to 1 for 1 sec

Screen Shot 2020-05-21 at 4 39 30 pm

The unit test will PASS but doesn't reset to initial state.

Suggestion:

  • Define input actions need to be reset to initial state prior executing Post execution code

Workaround:

  • Add Set Tag Value and Reset Tag Value after the Unit Test where set DI_PUMP1_TOL_OK to 1 and toggle DI_Reset_RQ, respectively.
  • Cons: it becomes too messy.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.