56
1 FUNCTIONS
1.10 Difference Conversion Function
1.10 Difference Conversion Function
This function subtracts a difference conversion reference value from a digital operation value and stores the acquired value in
the buffer memory area.
The digital operation value at the start of this function is treated as 0 (reference value). Thereafter, values that increased or
decreased from the reference value are stored in the buffer memory.
Operation
The digital operation value at the start of the difference conversion (the data stored inside the A/D converter module before
the difference conversion starts) is determined as a difference conversion reference value. The value acquired by subtracting
the difference conversion reference value from the digital operation value is stored in 'CH1 Digital operation value' (Un\G402).
At the start of this function, the digital operation value is 0 (because the digital operation value and the difference conversion
reference value have the same value at the start).
• Digital operation value after difference conversion = Digital operation value - Difference conversion reference value
■Starting the difference conversion
1. Change 'CH1 Difference conversion trigger' (Un\G470) from No request (0) to Trigger request (1).
The rise of No request (0) Trigger request (1) is detected as a trigger. When the trigger is detected, the digital operation
value at the start is output to the difference conversion reference value. The value acquired by subtracting the difference
conversion reference value from the digital operation value is stored in 'CH1 Digital operation value' (Un\G402). After the
value is stored, 'CH1 Difference conversion status flag' (Un\G408) turns to Converting difference (1).
■Stopping the difference conversion
1. Change 'CH1 Difference conversion trigger' (Un\G470) from Trigger request (1) to No request (0).
The fall of Trigger request (1) No request (0) is detected as a trigger. When the trigger is detected, the difference conversion
stops, and 'CH1 Difference conversion status flag' (Un\G408) turns to Not converted (0). Thereafter, the digital operation value
is stored as it is in 'CH1 Digital operation value' (Un\G402).
…
…
…
…
10000
7500
5000
2500
0
6000 7500 10000 10000 75007500
6000 0 2500 2500 75007500
0 7500
-2500
No request (0) No request (0)Trigger request (1)
Not converted (0)
Not converted (0)
Converting difference (1)
Time
'CH1 Digital operation value' (Un\G402)
CH1 Digital operation value
before difference conversion
'CH1 Difference conversion
reference value' (Un\G432)
'CH1 Difference conversion
status flag' (Un\G408)
'CH1 Digital operation value'
(Un\G402)
'CH1 Difference conversion
trigger' (Un\G470)
Digital operation value