Hello, Everyone.
I'm testing various methods of calculation.
First.
Inserting calculation expressions into numeric expressions of value display object.
Second.
Using the Cicode device, insert the expression into the address of the variable.
Device | Tag Name | Type (Address) |
Disk_PLC | PE | REAL / R200 |
Disk_PLC | PE_Giga | REAL / R300 |
Cicode | ACC_C | REAL / (PE + PE_Giga*1000000) |
I wrote the value including the decimal point in the 'PE' tag.
Question 1)
A value other than the actual written value is entered.
Why are the values I am writing and the actual display values different?
When I write 324567.450 for 'PE' Tag, displayed data is 234567.453
When I write 234567.100 for 'PE' Tag, displayed data is 234567.094
Question 2)
There is a difference between the two values.
Why are two values different using the same calculation?
I am testing data consistency
Because of these results, I am now facing a big problem with the consistency test.