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.
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.
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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).
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
Do you have downloaded this example:
https://sourceforge.net/p/pascalscada/code/HEAD/tree/trunk/examples/demo_logo8/
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
Whats the address that you want to write?
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
Hi Christian!
Please take a screenshot your logo program with the variables that you want read
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