193
17.3.5 Operation in numeral input
If inputted value in keypad is Vin, Vdev inputted value in device is as below.
Vdev = (Factor 2*(Vin-Offset))/Factor 1
The operation is only for a positive number, division operation only takes a quotient.
The display value for numeral input tap is as below.
(Factor 1*Vdev)/Factor 2 + Offset
Example 1. Factor 1 = 10, Factor 2=1, Offset =0
Input 12 in keypad and ENT.
Inputted value in device = (Factor 2*(Vin-Offset))/Factor 1
= (1*(12-0))/10 = 12/10 = 1
Displayed value in tag
(Factor 1*Vdev)/Factor 2 + Offset = (10*1)/1 + 0 = 10
Example 2. Factor 1 = 1, Factor 2=10, Offset=0
Input 12 in keypad and ENT.
Inputted value in device = (Factor 2*(Vin-Offset))/Factor 1
= (10*(12-0))/1 = 120
Displayed value in tag
(Factor 1*Vdev)/Factor 2 + Offset = (1*120)/10 + 0 = 12
Example 3. Factor 1 = 1, Factor 2=1, Offset=10
Input 12 in keypad and ENT.
Inputted value in device = (Factor 2*(Vin-Offset))/Factor 1
= (1*(12-10))/1 = 2
Displayed value in tag
(Factor 1*Vdev)/Factor 2 + Offset = (1*2)/1 + 10 = 12
Example 4. Factor 1 = 10, Factor 2=1, Offset =5
Input 12 in keypad and ENT..
Inputted value in device = (1*(12-5))/10 = 7/10 = 0
Displayed value in tag
(Factor 1*Vdev)/Factor 2 + Offset = (10*0)/1 + 5 = 5