Hello, Im using profinet s7net com to conect my pc with labview and a plc cpu.
Im requesting the contents of a certain DB and reading it from the plc memory in to labview.
When using a s7 300 cpu the comunication works fine.
When using a s7 1500 cpu the comunication also works but with some difference.
If I set a bool variable at the start of the plc cycle to false, and at the end to true (its false while the plc code is executing) i would expect my comunication not to be able to see the value false, as the data memory should be read when the plc code is not executing. This was the case with s7 300 cpu but not with a s7 1500. Its seems as if the read request are capable of reading the db at any point of the code execution and i see the bool variable as true or false depending on when i read (the comunication is constantly asking for the contents of the db).
Is there any configuration in the plc that would force the profinet controller to read the db memory in between plc cycles? The plc should recibe the read request from the pc and execute the read once the code is done executing. (note that no configuration of the connection is needed in the plc side, just conect the pc ethernet card to the cpu profinet port and send the correct request message using the profinet s7net driver and the plc answers).
Is there any configuration or settings or function in the s7net com driver that could tell the plc that the reading request should be execute in between plc cycles?
Ty
Im requesting the contents of a certain DB and reading it from the plc memory in to labview.
When using a s7 300 cpu the comunication works fine.
When using a s7 1500 cpu the comunication also works but with some difference.
If I set a bool variable at the start of the plc cycle to false, and at the end to true (its false while the plc code is executing) i would expect my comunication not to be able to see the value false, as the data memory should be read when the plc code is not executing. This was the case with s7 300 cpu but not with a s7 1500. Its seems as if the read request are capable of reading the db at any point of the code execution and i see the bool variable as true or false depending on when i read (the comunication is constantly asking for the contents of the db).
Is there any configuration in the plc that would force the profinet controller to read the db memory in between plc cycles? The plc should recibe the read request from the pc and execute the read once the code is done executing. (note that no configuration of the connection is needed in the plc side, just conect the pc ethernet card to the cpu profinet port and send the correct request message using the profinet s7net driver and the plc answers).
Is there any configuration or settings or function in the s7net com driver that could tell the plc that the reading request should be execute in between plc cycles?
Ty