Sorry for not replying sooner.
I already got the driver included, but I wanted to test if it is really talking.
And it is. :-)
I found another bug in the document. The document mentions a poll rate in the subscription syntax.
SubscriptionID = EthernetIPforCLXCom1.Subscribe(PLCAddress,NumberOfConsectutiveElements,
PollRateInMilliseconds,
AddressOf CallBackSubroutineNameForDataReceived)
But in fact, there is no pollrate to be set.
My code lokks like this:
Subscription_ID(0) = EthernetIPforCLXCom1.Subscribe("C_Out.Alive_Bit", 1, AddressOf CLX_Alive_Bit_Comm)
I saw that there are some functions like Beginwrite and BeginReadMultiple in the driver.
Are they working, and only not yet documented (so I can try to use them), or is that not recommended?
A function like write multiple would be nice.
Putting the tags and values to write into an output buffer, and then write them at once, using a kind of flush function.
Or is the driver combinig writes anyway to save bandwidth?
Thanks again,
Thomas