Menu

How to write values to Siemens logo 0ba8

Help
2016-04-11
2016-04-26
  • Christian Greif-Kettmann

    Hi

    I started to get experiences with pascalscada using siemens Logo.
    Till now I can read values from the Logo, but I still have no success to write to the Logo.

    The examples in

    http://pascalscada.sourceforge.net/wiki/index.php/FAQ

    did not work to me.
    Maybe it is not possible to write to Logo.
    Does anyone can give me a hint?

    Christian

     
  • Christian Greif-Kettmann

    Moin
    Thanks for the link. It gave me a deeper impression into the system.
    However the example does not write a value into the Logo 8. The Value is written into the component VW2 but not into Logo8.

    Circumstances:
    - The value shall be written to an adress which is in paralell written by another Logo8. So I am sure that it is possible to write to it. I expected a short change.
    - In the example I added a Component THMIEdit to write a Value.
    - In the example property PLCStation of ISOTCPDriver was 0 and different to the property of VW2. I set them to 2.

    Are there more hints available?

    Christian

     
  • Fabio Luis Girardi

    Whats the address that you want to write?

     
  • Christian Greif-Kettmann

    MemAddress = 4
    This ist a NAI which sends its Value to AM. The value is shown on the web-interface of the LOGO. So I can independantly see the value inside the LOGO.
    .-.-.
    Stop. I identified an error in my construction. I will analyse an report.

     

    Last edit: Christian Greif-Kettmann 2016-04-14
  • Fabio Luis Girardi

    Hi Christian!

    Please take a screenshot your logo program with the variables that you want read

     
  • Christian Greif-Kettmann

    Moin
    here is my report:
    while searching for a solution I did a lot of mistakes.
    The most important mistake was to write to a variable of my LOGO which is
    also been written by another LOGO. So there where two writers!
    The input should be an impulse which triggers a flipflop. So i thought that it should not be important where an impulse comes from.
    That was wrong!

    The impulse from pascalscada did not reach the flipflop.

    There should be an inputvariable for my writing by plascalscada.

    My proof of concept now has the LOGO:

    if I write a value into VW3 (MemAdress=3) I can read the value from AM4 (MemAdress=1124).

    both have

    MemFile_DB=1
    MemReadFunction = 4
    SwapBytes=true

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.