1. Data format
1. Data format
In the monitoring list, different data types are specified, and there will be different ways to represent values.
In the following example, D0=40000,D2=2200000000, In fact, storing the dual characters of D2 will occupy both D2 and D3 software components simultaneously.
图1 Watchlist
1.1. Decimal numerical representation
Use numbers from 0 to 9 to represent negative numbers, which will be preceded by a '-' symbol as the negative sign.
BCD code is actually converted into decimal digits for display.
1.2. Hexadecimal numerical representation
Use numbers from 0 to 9 to represent the range from 0 to 9, and letters from A to F to represent the range from 10 to 15. There will be no negative sign.