R
I have a server platform running: Wonderware InSQL, SQL2005, TwinCAT SoftPLC, W2K3 R2, SP1.
We are in the nuclear industry and have to log info at very high speed: 3 to 5 miliseconds.
In my C# application:
Local variables for the 17 digitals (discretes) and 24 reals (floating points). Then I have a timer that ticks every 3MS (definable) to read the info out of the PLC and then calls the storit function (standard from the InSQL SDK) to store the info into InSQL. InSQL however stores the info anything from 13 to 17MS, even if I take the timer value up to 20MS. I know for a fact that the PLC comms cannot slow this down due to the speed the PLC's API delivers, it has to be on the InSQL side.
Also, I get the info from the PLC as a binary stream, but am forced, due to SDK restrictions, to store the values variable at a time to InSQL.
Has anybody done this before and wouldn't mind to share?
Kind Regards,
Rayno
[email protected]
We are in the nuclear industry and have to log info at very high speed: 3 to 5 miliseconds.
In my C# application:
Local variables for the 17 digitals (discretes) and 24 reals (floating points). Then I have a timer that ticks every 3MS (definable) to read the info out of the PLC and then calls the storit function (standard from the InSQL SDK) to store the info into InSQL. InSQL however stores the info anything from 13 to 17MS, even if I take the timer value up to 20MS. I know for a fact that the PLC comms cannot slow this down due to the speed the PLC's API delivers, it has to be on the InSQL side.
Also, I get the info from the PLC as a binary stream, but am forced, due to SDK restrictions, to store the values variable at a time to InSQL.
Has anybody done this before and wouldn't mind to share?
Kind Regards,
Rayno
[email protected]