
adccommunitymod (AutomationDirect) asked a question.
Created Date: September 03,2011
Created By: Texasknightwind
**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****
We make telephone cable and we have an application that has a traverse that moves side to side while it guides the cable onto a reel. We have a "zero " point on the flange and the operator can change this up and down from the C-more in order to shorten or widen the distance to fit the cable on the reel. The problem is we need to start at "zero " and either count up (positive number) or count down(negative) number from the zero point. The PLC and C-more will not display a zero. It shows some weird number like 189EGO3456. Like is is trying to display it in Hexidecimal or something wierd. Example: Start at zero position and increase the setting, 0.000 0.100 0.200 0.300 ect... When we count down to zero we get this: 0.300 0.200 0.100 165ERFA23..... ( this is not the exact charactors it shows because it changes everytime we go back to zero) If we count down (negative) and then back up to zero we get the same junk display. We used the increment button in the C-more and had a V memory location to display the value. Didn't display correctly. SO we did it the hard way and wrote the code in the Directsoft PLC program line by line and wrote the results to the C-more and it simply will not display a zero, Any other number is fine. We can monitor the program in the Directsoft and force a zero to that location and it will show a zero. But when we change it ( either up or down)and go back to zero it will be jibberish. On the C-More when we had was useing the increment buttons we had it display a Real number in Floating Point 32 format. Sorry for such a long message but this problem is bugging me. lol :confused: Don
Created Date: September 03,2011
Created by: bcarlton
Floating point will try to display the value as closely as it can. It is rarely absolutely zero. It is most often very small but not quite zero. It is trying to display that using exponential notation. Under 'Function Tab ' - 'setup ' - 'Panel Manager ' check the 'disable Exponent Notation ' check box and re-download.
Created Date: September 03,2011
Created by: Steve Bailey
From your description it sounds a little like the C_More is displaying values very close to zero in scientific notation.
Edit:
Bernie's faster
Created Date: September 04,2011
Created by: Texasknightwind
Floating point will try to display the value as closely as it can. It is rarely absolutely zero. It is most often very small but not quite zero. It is trying to display that using exponential notation. Under 'Function Tab ' - 'setup ' - 'Panel Manager ' check the 'disable Exponent Notation ' check box and re-download.
Thanks, will try this next week after the holiday break and will re-post with and let everyone know what happened.....
:)
Created Date: September 07,2011
Created by: Texasknightwind
Problem solved
Floating point will try to display the value as closely as it can. It is rarely absolutely zero. It is most often very small but not quite zero. It is trying to display that using exponential notation. Under 'Function Tab ' - 'setup ' - 'Panel Manager ' check the 'disable Exponent Notation ' check box and re-download.
Your solution fixed the problem. Thanks!:)
Created Date: September 03,2016
Created by: AZRoger
Floating point will try to display the value as closely as it can. It is rarely absolutely zero. It is most often very small but not quite zero. It is trying to display that using exponential notation. Under 'Function Tab ' - 'setup ' - 'Panel Manager ' check the 'disable Exponent Notation ' check box and re-download.
Bernie,
You are the man. You had just the answer I needed exactly 5 years before I asked. Thank you very much.
Roger
Created Date: September 03,2016
Created by: bcarlton
Roger, glad I could help. I knew you would need it 5 years ago. Now that I'm retired I'm looking for a position as a 'precog ' ('minority Report ')
Created Date: September 03,2011
Created by: Texasknightwind
We make telephone cable and we have an application that has a traverse that moves side to side while it guides the cable onto a reel.
We have a "zero " point on the flange and the operator can change this up and down from the C-more in order to shorten or widen the distance to fit the cable on the reel.
The problem is we need to start at "zero " and either count up (positive number) or count down(negative) number from the zero point.
The PLC and C-more will not display a zero. It shows some weird number like 189EGO3456.
Like is is trying to display it in Hexidecimal or something wierd.
Example: Start at zero position and increase the setting,
0.000
0.100
0.200
0.300 ect...
When we count down to zero we get this:
0.300
0.200
0.100
165ERFA23.....
( this is not the exact charactors it shows because it changes everytime we go back to zero)
If we count down (negative) and then back up to zero we get the same junk display.
We used the increment button in the C-more and had a V memory location to display the value. Didn't display correctly.
SO we did it the hard way and wrote the code in the Directsoft PLC program line by line and wrote the results to the C-more and it simply will not display a zero,
Any other number is fine.
We can monitor the program in the Directsoft and force a zero to that location and it will show a zero. But when we change it ( either up or down)and go back to zero it will be jibberish.
On the C-More when we had was useing the increment buttons we had it display a Real number in Floating Point 32 format.
Sorry for such a long message but this problem is bugging me. lol :confused:
Don