07-14-2015 09:31 AM
Hello,
I have a question according the writeDB and readDB operations.
With the programmer of the PLC I implemented a handshake to protect write and read operations. E.g. if I want to write to a DB, I first set M1.1, which means 'I want to write'. Then I wait for the PLC to set M2.1, which means 'You are allowed to write'. After writing to the DB I unset M1.1, the PLC unset M2.1. As long as M2.1 is set the PLC does not read from the DB, so the PLC is working with consistent data all the time.
Now my question. Does your API some kind of protection for write/read operations internally and I can write and read without my own handshake?
Uli
Solved! Go to Solution.
07-15-2015 10:24 AM
Hello UliB,
i don´t know if i understand your question correctly but the API has no kind of protection of write/read operations as you explained.
You can read/write the DB without the "access-handshake" but for consistent reasons i would recommend it.
Greetings,
Hajo
07-17-2015 03:42 AM
Hello Hajo,
thank you for your answer.
Uli