Imagine two clients (A & B) using the AdsLib to write to a TwinCat server. Both use AdsSyncReadWriteReqEx2 with index ADSIGRP_SUMUP_WRITE to their sets of variables VarsA and VarsB. VarsA includes a subset of variables of VarsB - lets call this subset VarsAB
Both clients issue AdsSyncReadWriteReqEx2 at the same time and the TCP requests arrive at the TwinCat instance between Task cycles in the order Req(VarsA) then Req(VarsB).
During the next cycle, will the Task see VarsAB from Req(VarsB) (overwriting Req(VarsA)) or will it be handled in two cycles, so that the Task first sees VarsAB from Req(VarsA) and in the next cycle VarsAB from Req(VarsB)?
Hi, I am not sure if this is the right place ask.
Imagine two clients (
A
&B
) using the AdsLib to write to a TwinCat server. Both useAdsSyncReadWriteReqEx2
with indexADSIGRP_SUMUP_WRITE
to their sets of variablesVarsA
andVarsB
.VarsA
includes a subset of variables ofVarsB
- lets call this subsetVarsAB
Both clients issueAdsSyncReadWriteReqEx2
at the same time and the TCP requests arrive at the TwinCat instance between Task cycles in the orderReq(VarsA)
thenReq(VarsB)
. During the next cycle, will the Task seeVarsAB
fromReq(VarsB)
(overwritingReq(VarsA)
) or will it be handled in two cycles, so that the Task first seesVarsAB
fromReq(VarsA)
and in the next cycleVarsAB
fromReq(VarsB)
?Thx