Fortune Telling Collection - Fortune-telling birth date - How to convert decimal into hexadecimal in Omron PLC?
How to convert decimal into hexadecimal in Omron PLC?
If you want to convert 50 BCD into 16, first use MOV command MOV #50 D 1 so that the value of D 1 is 50 in hexadecimal, and then use D2 BIN command BIN D 1 BIN command to convert d 1 into & 50, and the hexadecimal number is 30.
BCD is to convert 16 into 10.
Note the difference between @MOV and MOV. When the MOV is connected, it is switched once every cycle. @MOV is only converted once when @MOV is connected.
- Related articles
- Brief introduction of Wei San
- Study what books to read for fortune telling _ study what books to read for fortune telling.
- Honghe industrial and commercial registration: How to write the name and business scope of the dry goods registration company?
- What is missing in eight-character fortune telling _ How to calculate what is missing in eight-character fortune telling?
- I dreamed that I had hundreds of millions.
- The fortune teller said that the top of the skull was opened.
- Fortune-telling scissors
- Fortune teller in Xue Jiawan, Hebei _ Who is the fortune teller in Xue Jiawan, Hebei?
- There are magpies chirping when fortune telling _ Are there magpies chirping when fortune telling?
- Shaanxi men won a lottery ticket of100000 yuan, which was redeemed by the owner's cousin. What was the final result after the appeal?