Condition:
The transmitter output signal is 0-10V, corresponding to a pressure of 0-400MPa; CP1H analog input range is set to 0-10V, resolution selection 6000.
Objective: Use the SCL instruction converts the analog data obtained 0-6000 (BIN) to the corresponding scaling 0-400MPa (BCD) display output.
Results: after the program execution can be achieved 0-6000 (BIN) to convert 0-400 (BCD) of the pressure value.
Note: Because the BCD number is in hexadecimal to decimal represent the data, and therefore the corresponding pressure value should be hexadecimal mode to monitor. For example: When the data is 200CH & 3000 (ie, 5V input voltage), then the monitoring data in hexadecimal D200 should show # 200.
& Symbol to represent decimal numbers; # represents a hexadecimal number

