DATA AHEAD toolkit support Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

SP7: Protection of Write/Read Operations

Solved!
Go to solution

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

0 Kudos
Message 1 of 3
(4,613 Views)
Solution
Accepted by topic author UliB

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

0 Kudos
Message 2 of 3
(3,851 Views)

Hello Hajo,

thank you for your answer.

Uli

0 Kudos
Message 3 of 3
(3,851 Views)