
COOLMAY EX3G PLC/HMI All in one Programming manual
30
In the above figure, when M0 is closed, the value -100 is transmitted to the correction register
R23960, and now you can see that the value of the actual measured temperature D20 is close to the
actual temperature which is 37.9
°
C.
2.7 Analog output
Analog output range 0~4000, precision is 12 bit. Support TO instruction or register assignment operation
directly.
Adopts TO K0 K0 D500 K8, 8 channels 0~10V or 0~20mA analog output.
Register assignment operation directly: D8050~D8057.
When the analog output is current, the bit of D8058 needs to be set:
When the default D8058.0~D8058.7=0, it means 0~20mA; when D8058.0~D8058.7=1, it means
4~20mA.
Example
:
Below shows the 0-10V voltage analog output.
At this point, use a multimeter to check the voltage of the DA0 terminal, that is, the multimeter's
red pen is connected to the DA0 terminal, and the black pen is connected to the GND terminal. The multimeter
is displaying 5V voltage value.
2.8 PID instruction
Detailed information please refer to <Mitsubishi FX3G Programming Manual>
The self-tuning method in the PID instruction has only a step response mode. The step value is S0+22.
2.9.Application of high speed counter
2.9.1Assignment table of built-in high speed counter
Counter type
No.
Input assignment
Single phase single
counter input
X000 X001 X002 X003 X004
X005 X006
X007
C235
U/D
C236
U/D
DA register
Range
Output type
DA0
D8050
0-4000
When
D8058.0~D8058.7=0
Means 0~20mA
;
When
D8058.0~D8058.7=1
Means 4~20mA
。
DA1
D8051
0-4000
DA2
D8052
0-4000
DA3
D8053
0-4000
DA4
D8054
0-4000
DA5
D8055
0-4000
DA6
D8056
0-4000
DA7
D8057
0-4000