I am using FX2N-5A Mitsubishi analog module. My application is to read the vacuum pressure level with the help of transducer sensor and by analog card to shows the reading in HMI. The displayed value should be 0-760 Torr,,,with the sensor i can read the value as 32767 but by my below calculation in plc i am getting 753. if i increase my constant K value means i will get 786,,how can i get exact 760 torr in display...... how can i use the decimal value,or how to modify the cal part or scaling function...,,,please give me ur thoughts,,,,,,,,,,,,,,,,,,,,,,,,,Kindly help,,,,,
My program is,,,,,
--M8000--------[FROM H0 K7 D20 K1]
| (32767)
|
| --- [ MUL D20 K23 D24 ]
| (32767) (753641)
|
|---[DMOV D24 D50 ]
| (753641) (753641)
|
|--[DDIV D50 K1000 D92]
| (753641) (753)
|
|--[MOV D92 D100 ]
( 753) (753)
My program is,,,,,
--M8000--------[FROM H0 K7 D20 K1]
| (32767)
|
| --- [ MUL D20 K23 D24 ]
| (32767) (753641)
|
|---[DMOV D24 D50 ]
| (753641) (753641)
|
|--[DDIV D50 K1000 D92]
| (753641) (753)
|
|--[MOV D92 D100 ]
( 753) (753)