test PLC code with CoDesys

Anonymous
2012-08-18
2012-09-05
  • Anonymous - 2012-08-18

    Originally created by: 4b448

    I generate PLC code by Matlab and then input the whole PLC code into CoDesys to test them.

    But I do not know how to run my Plc code and see the result of the test?

    thank you for anybody who could help me

     
  • shooter - 2012-08-20

    in Codesys you will need to set some testing vars and in online mode set the simulation flag.

    btw i am very interested in how you convert from matlab to codesys, so please if you would like to send a small program in matlab together with the conversion i would love to check if it is going correct.

     
  • Anonymous - 2012-08-24

    Originally created by: 4b448

    shooter hat geschrieben:
    in Codesys you will need to set some testing vars and in online mode set the simulation flag.
    btw i am very interested in how you convert from matlab to codesys, so please if you would like to send a small program in matlab together with the conversion i would love to check if it is going correct.

    I send you a mail to e shooter@home.nl e

    hope you could help me

     
  • sarathbabu - 2012-09-05

    Hi

       Can you tell me how you are converting matlab code to plc code am interested to see it as I use matlab for system analysis
    

    Thanks

     
  • shooter - 2012-09-05

    I have seen both matlab and codesys programs, however there is not any comment and i have no idea what you can do with the matlab file.
    so break it in pieces and give me a clue what the function is.
    I am not that good in matlab, but it looks like the conversion gives some results.
    Try to make the matlab not too complicated as the exp file will have cases in cases and that is hard to read.

    I do not understand your subsystem1 (which you converted) but the codesys software is doing its job.
    i made a small project for it.

    matlab.pro [32.47 KiB]

     

Log in to post a comment.