11/5/2015 4:43 PM | |
Posts: 1 Rating:
|
Hi, A determined function is responsible to increment a variable in a DB. I don't know why this variable is being displayed in hexa (DW#16#7F800000) - Take a look at the attachment. When I simulated this software, this variable was incremented in decimal, with no problem. Could you help me to identify the possible reasons of a value has been displayed in Hexadecimal? ------------------------------------------------------------------------------------------ |
Last edited by: The Helping Hand at: 11/6/2015 9:48:26 AMNew subject after splitting |
|
11/6/2015 5:17 AM | |
Joined: 1/28/2009 Last visit: 9/2/2024 Posts: 6846 Rating:
|
Hello ,
The only reason for that would be values such as "DW#16#7F800000" are not valid floating-point variables and it may lead from using wrong calculation instructions that is hidden in S7-PLCSIM(Read more HERE).It is known that S7-PLCSIM have major different with a real CPU and for your case, I suggest checking your program step-by-step again . I hope this helps, hdhosseini |
Follow us on