1 FUNCTIONS
1.8 Shift Function
53
1
When the following values are used for the A/D converter module with the input range of 0 to 5V
• 'CH1 Scaling enable/disable setting' (Un\G504): Enable (0)
• 'CH1 Scaling upper limit value' (Un\G506): 12000
• 'CH1 Scaling lower limit value' (Un\G508): 2000
• 'CH1 Conversion value shift amount' (Un\G472): 2000
*1 These values are also applied to the case of digital output values (32 bits).
When the shift function is used with the digital clipping function and scaling function, shift-and-add is
performed on the value obtained after digital clipping and scale conversion. Therefore, the range of the digital
operation value is determined as -32768 to 32767.
For a setting example of when the digital clipping function, scaling function, and shift function are used
together, refer to the following.
Page 55 Setting example
(1) 'CH1 Digital output value' (Un\G400)
Scaling
0 to 32000
2000 to 12000
(2) Value after scaling
'CH1 Conversion value shift amount' (Un\G472) "+2000"
(3) 'CH1 Digital operation value' (Un\G402)
Voltage input Digital output value
*1
Value after scaling Digital operation value
0 0 2000 4000
1 6400 4000 6000
2 12800 6000 8000
3 19200 8000 10000
4 25600 10000 12000
5 32000 12000 14000
32000
14000
12000
2000
4000
0
5
0
(3)
(1)
(2)
Analog input voltage (V)