289
XDM program:
Sometimes the data of user communication is stored in multiple registers in the form of
ASCII code. Users need to take this value out, store it in a register and display it on the HMI.
Customers often consider using HEX (ASCII to hexadecimal) instructions to achieve it. But
HEX instructions are difficult to use and understand. Often, we will not use this instruction to
complete it. The relationship between values can be found by ASCII code comparison table.
ASCII code table:
Example 3: A pressure controller communicates with PLC in free communication mode to
realize data acquisition. The value displayed on the pressure controller is -0.7814 MPa. The
tudonghoatoancau.com