Questions CJ1H-CPU67H as CJ1H-CPU67H the following picture in the red box:
After the NEG command is used, the source word S assignment D243=1000 displays the result word "D D428=64356"
Could you tell me why the displayed result word is not D428=-1000?
Attachment: Q_NEG.bmp
Re: Time: 9/20/2017 9:01:00 PM
You're usnsigned OMRON CJ1H-CPU67H decimal OMRON CJ1H-CPU67H numbers to monitor, and it's OK to have signed decimal numbers to monitor
The decimal 1000 is 03E8 in the sixteen, and the inverse is FC18
But if you don't have signed decimal numbers to monitor, you'll turn FC18 directly into 64536
Select the "10" in the attached diagram with the positive and negative sign in the middle"
Attachment: unnamed.Jpg
Re:Re: Time: 9/20/2017 11:25:00 PM
Original by OMRON CJ1H-CPU67H benhujun OMRON CJ1H-CPU67H 2013-04-10 published:
You're using unsigned decimal numbers to monitor, and it's OK to have signed decimal numbers to monitor
The decimal 1000 is 03E8 in the sixteen, and the inverse is FC18
But if you don't have signed decimal numbers to monitor, you'll turn FC18 directly into 64536
Select the "10" in the attached diagram with the positive and negative sign in the middle"