
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 40 -
• ADDRESS: where to save the value of the variable
In the example here below, it is possible to understand how to define the variables.
There are some important information that have to be taken in consideration when:
the TYPE of the variable is REAL; use this kind of variable only if strictly necessary
(for operation with Log, Exp, Cos,…).
An example is for the temperature: if the value is 25.4°C instead of to work with
REAL variables, we can consider the temperature as DINT so we can work with 254
as decimal.
the RETAIN is Yes; don’t change the value frequently because every memory has a
maximum number of writing and the application can damage the flash memory.
The minimum period suggested is 30 minutes.
Comentarios a estos manuales