PET-AR400 User Manual
V1.0.0
P.65
Appendix
A.
Analog Input Type and Data Format
Type Code
Input Range
Data Format
+F.S
-F.S
00
-10 ~ +10V
Engineering Unit
+10000000
-10000000
2’s comp HEX
7FFFFFFFh
80000000h
Engineering Unit:
The value gets from the software is 10000000 times of the real value.
Example
:
Read data is 20000000 (Dec.) or 0 x 1312D00h (Hex.), it means the value is 2V.
Read data is 51860000 (Dec.) or 0 x 3175220h (Hex.) , it means the value is 5.186V.
2’s Complement (Hex)
:
The value is usually displayed on the file or software in hexadecimal format. For example,
"1460h" or "E000h" ("h" refers to hexadecimal). The values obtained from the software can be
converted to actual values using the following formula.
Example
:
Read data is 1526830688(Dec.) or 0x5B019660h(Hex.), it means the value is 7.1098V.
Read data is -1610576692(Dec.) or 0xA0008CCCh(Hex.) , which means the real value is -7.4998V.
𝑌1
10
=
1526830688
2147483647
Value Conversion:
𝑌1
= 7.1098V
𝑌2
−10
=
−1610576692
−2147483648
Value Conversion:
𝑌2
= -7.4998V
𝑌1
=
20000000
10000000
Value Conversion:
𝑌1
= 2V
𝑌2
=
51860000
10000000
Value Conversion:
𝑌2
= 5.186V