04-21-2022 10:39 AM
Hello together
NexeedSensor V 1.0.24.0
Is it possible to get the formula, how the calculation of the value has been done at the command Get Stand?
Sometimes we get the error message that the value wasn't stable in the maximum time, but when we trace the value, we cannot see an error, because at the end of the measurement we are in tolerance for a long time.
The tolerance we set is 0.5µm and the value varies within 0.1µm.
Thanks in advance
05-04-2022 05:43 PM - edited 05-05-2022 09:10 AM
Does the problem still exist?
Check these parameters:
The condition to finish the command is (with _sampleVal as the first value which is updated everytime OutImm.Samples[1] restarts with 1):
IF( _sampleVal <= "CurrentValue" + ParCmd.StandTolerance ) AND
( _sampleVal >= "CurrentValue" - ParCmd.StandTolerance ) AND
( NOT ParCfg.iSensor.State.Overrange ) AND
( NOT ParCfg.iSensor.State.Underrange ) AND
( "Duration" > ParCmd.MinStandTime ) AND
( _sampleCount >= ParCmd.StandCount )
THEN
05-09-2022 04:11 PM
Hello
So now it seems to be working. My process engineer was looking for a settable sampling rate. In opcon classic there was a parameter he said.
We increased the MinStandTime and now it works fine. The process engineer was a littbe disappointed, because now we always have a min time of the measurement, in combination with the stand count value. If this doesn't match, you can come into this failure, especially if the cycle time oft the station changes.
He was asking for a sampling rate, in which the stand count gets his values. In the old system this was the "standard".
Just as a hint.
Thanks
05-10-2022 01:50 PM
You are right that a sampling rate could make sense. I am also not sure about the current behaviour if the input value is not updated every PLC cycle due to communication/hardware limitations (e.g. TCP/IP or CoE access).
There are no activities ongoing for this feature. If you need the sampling rate parameter contact our helpdesk for further steps.