NOTE: anything in parenthesis is an example value, replace with a value needed for your project.
- Define a variable in your IEC program. A floating point (SP), not retained, Input.
- Create (if not already) an IO channel, Float, Input (i.e., #1)
- Modify the Parameters of the selected Input(#1) of the channel to 255.253.1 i.e., Indirect
- Map the IO channel to the IEC variable (SP)
- Set the global variable NUMREGISTERS to (1).
| Variable | Name | Value | Parameter |
| ISaGRAF Variable | SP | 13.57 | User:9012 |
| IO channel | tx.y | SP | 255.253.1 |
| Totalflow Register | 91.9.18 | 13.57 | |
| Indirect | 91.253.1 | 7.4.1 | |
| IO/AI1 | 7.4.1 | 13.57 |